Interface IHeuristicProvider
Interface that allows objects to fill out an ActionBuffers data structure for controlling behavior of Agents or Actuators.
Namespace: Unity.MLAgents.Actuators
Syntax
public interface IHeuristicProvider
Methods
Heuristic(in ActionBuffers)
Method called on objects which are expected to fill out the ActionBuffers data structure. Object that implement this interface should be careful to be consistent in the placement of their actions in the ActionBuffers data structure.
Declaration
void Heuristic(in ActionBuffers actionBuffersOut)
Parameters
Type | Name | Description |
---|---|---|
ActionBuffers | actionBuffersOut | The ActionBuffers data structure to be filled by the object implementing this interface. |