Class Match3Actuator
Actuator for a Match3 game. It translates valid moves (defined by AbstractBoard.IsMoveValid()) in action masks, and applies the action to the board via AbstractBoard.MakeMove().
Inherited Members
Namespace: Unity.MLAgents.Integrations.Match3
Assembly: solution.dll
Syntax
public class Match3Actuator : IActuator, IActionReceiver, IHeuristicProvider
Constructors
| Name | Description |
|---|---|
| Match3Actuator(AbstractBoard, bool, int, string) | Create a Match3Actuator. |
Properties
| Name | Description |
|---|---|
| ActionSpec | The specification of the actions for this IActuator. |
| Name | Gets the name of this IActuator which will be used to sort it. |
Methods
| Name | Description |
|---|---|
| EvalMovePoints(Move) | Method to be overridden when evaluating how many points a specific move will generate. |
| GetBuiltInActuatorType() | Return the corresponding BuiltInActuatorType for the actuator. |
| 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. |
| OnActionReceived(ActionBuffers) | Method called in order too allow object to execute actions based on the ActionBuffers contents. The structure of the contents in the ActionBuffers are defined by the ActionSpec. |
| ResetData() | Resets the internal state of the actuator. This is called at the end of an Agent's episode. Most implementations can leave this empty. |
| WriteDiscreteActionMask(IDiscreteActionMask) | Implement |