GitHub
4 年前
当前提交
d1f0fc4c
共有 15 个文件被更改,包括 225 次插入 和 27 次删除
-
12com.unity.ml-agents.extensions/Runtime/Input/InputActionActuator.cs
-
9com.unity.ml-agents.extensions/Runtime/Match3/Match3Actuator.cs
-
8com.unity.ml-agents/Runtime/Actuators/VectorActuator.cs
-
21com.unity.ml-agents/Runtime/Agent.cs
-
31com.unity.ml-agents/Runtime/Analytics/Events.cs
-
18com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs
-
17com.unity.ml-agents/Runtime/Analytics/TrainingAnalytics.cs
-
10com.unity.ml-agents/Runtime/Policies/BarracudaPolicy.cs
-
6com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs
-
10com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs
-
2com.unity.ml-agents/Runtime/Sensors/IBuiltInSensor.cs
-
18com.unity.ml-agents/Tests/Editor/Analytics/InferenceAnalyticsTests.cs
-
38com.unity.ml-agents/Tests/Editor/Analytics/TrainingAnalyticsTest.cs
-
49com.unity.ml-agents/Runtime/Actuators/IBuiltInActuator.cs
-
3com.unity.ml-agents/Runtime/Actuators/IBuiltInActuator.cs.meta
|
|||
namespace Unity.MLAgents.Actuators |
|||
{ |
|||
/// <summary>
|
|||
/// Identifiers for "built in" actuator types.
|
|||
/// These are only used for analytics, and should not be used for any runtime decisions.
|
|||
///
|
|||
/// NOTE: Do not renumber these, since the values are used for analytics. Renaming is allowed though.
|
|||
/// </summary>
|
|||
public enum BuiltInActuatorType |
|||
{ |
|||
/// <summary>
|
|||
/// Default Sensor type if it cannot be determined.
|
|||
/// </summary>
|
|||
Unknown = 0, |
|||
|
|||
/// <summary>
|
|||
/// VectorActuator used by the Agent
|
|||
/// </summary>
|
|||
AgentVectorActuator = 1, |
|||
|
|||
/// <summary>
|
|||
/// Corresponds to <see cref="VectorActuator"/>
|
|||
/// </summary>
|
|||
VectorActuator = 2, |
|||
|
|||
/// <summary>
|
|||
/// Corresponds to the Match3Actuator in com.unity.ml-agents.extensions.
|
|||
/// </summary>
|
|||
Match3Actuator = 3, |
|||
|
|||
/// <summary>
|
|||
/// Corresponds to the InputActionActuator in com.unity.ml-agents.extensions.
|
|||
/// </summary>
|
|||
InputActionActuator = 4, |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Interface for actuators that are provided as part of ML-Agents.
|
|||
/// User-implemented actuators don't need to use this interface.
|
|||
/// </summary>
|
|||
internal interface IBuiltInActuator |
|||
{ |
|||
/// <summary>
|
|||
/// Return the corresponding BuiltInActuatorType for the actuator.
|
|||
/// </summary>
|
|||
/// <returns>A BuiltInActuatorType corresponding to the actuator.</returns>
|
|||
BuiltInActuatorType GetBuiltInActuatorType(); |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: e3d7ef9a9a5043549cc5c0bbee520810 |
|||
timeCreated: 1613514041 |
撰写
预览
正在加载...
取消
保存
Reference in new issue