Constructor Match3Sensor
Match3Sensor(AbstractBoard, GridValueProvider, int, Match3ObservationType, string)
Create a sensor for the GridValueProvider with the specified observation type.
Declaration
public Match3Sensor(AbstractBoard board, GridValueProvider gvp, int oneHotSize, Match3ObservationType obsType, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| AbstractBoard | board | The abstract board. |
| GridValueProvider | gvp | The GridValueProvider, should be either board.GetCellType or board.GetSpecialType. |
| int | oneHotSize | The number of possible values that the GridValueProvider can return. |
| Match3ObservationType | obsType | Whether to produce vector or visual observations |
| string | name | Name of the sensor. |
Remarks
Use Match3Sensor.CellTypeSensor() or Match3Sensor.SpecialTypeSensor() instead of calling the constructor directly.