|
|
|
|
|
|
/// of the environment extracts its current observation, sends them to its
|
|
|
|
/// policy and in return receives an action. In practice,
|
|
|
|
/// however, an agent need not send its observation at every step since very
|
|
|
|
/// little may have changed between successive steps.
|
|
|
|
/// little may have changed between successive steps.
|
|
|
|
///
|
|
|
|
/// At any step, an agent may be considered <see cref="m_Done"/>.
|
|
|
|
/// This could occur due to a variety of reasons:
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Updates the Model for the agent. Any model currently assigned to the
|
|
|
|
/// agent will be replaced with the provided one. If the arguments are
|
|
|
|
/// agent will be replaced with the provided one. If the arguments are
|
|
|
|
/// remain unchanged.
|
|
|
|
/// remain unchanged.
|
|
|
|
/// <param name="behaviorName"> The identifier of the behavior. This
|
|
|
|
/// will categorize the agent when training.
|
|
|
|
/// <param name="behaviorName"> The identifier of the behavior. This
|
|
|
|
/// will categorize the agent when training.
|
|
|
|
/// <param name = "inferenceDevide"> Define on what device the model
|
|
|
|
/// <param name = "inferenceDevide"> Define on what device the model
|
|
|
|
/// will be run.</param>
|
|
|
|
public void GiveModel( |
|
|
|
string behaviorName, |
|
|
|