MACS
Class ActionTable
java.lang.Object
|
+--MACS.ActionTable
- class ActionTable
- extends java.lang.Object
The ActionTable class is in charge of storing the number of instances of actions
performed for each action for each known perception
- Author:
- Olivier Sigaud and Pierre Gérard.
Field Summary |
private int[] |
memory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
memory
private int[] memory
ActionTable
public ActionTable(int nbActions)
getNbActions
public int getNbActions(int index)
addAction
public void addAction(byte index)
getBooleanReward
public int getBooleanReward()
getPreciseReward
public int getPreciseReward()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object