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
           
 
Constructor Summary
ActionTable(int nbActions)
           
 
Method Summary
 void addAction(byte index)
           
 int getBooleanReward()
           
 int getNbActions(int index)
           
 int getPreciseReward()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

memory

private int[] memory
Constructor Detail

ActionTable

public ActionTable(int nbActions)
Method Detail

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