bolero.representation
.Behavior¶bolero.representation.
Behavior
[source]¶Behavior interface.
A behavior maps input (e.g. state) to output (e.g. next state or action).
__init__
()¶x.__init__(…) initializes x; see help(type(x)) for signature
can_step
()[source]¶Returns if step() can be called again.
Returns: |
|
---|
get_args
()¶Get parameters for this estimator.
Returns: |
|
---|
get_outputs
(outputs)[source]¶Get outputs of the last step.
If the output vector consists of positions and derivatives of these, by convention all positions and all derivatives should be stored contiguously.
Parameters: |
|
---|
init
(n_inputs, n_outputs)[source]¶Initialize the behavior.
Parameters: |
|
---|
set_inputs
(inputs)[source]¶Set input for the next step.
If the input vector consists of positions and derivatives of these, by convention all positions and all derivatives should be stored contiguously.
Parameters: |
|
---|