|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.TreeMap | +--MACS.ExploMemory
The ExploMemory class implements a memory of all actions performed in all known situation. It is organized as a Map whose key is a Perception and whose value is an ActionTable.
Field Summary | |
---|---|
static boolean |
traceFlag
|
Fields inherited from class java.util.TreeMap |
---|
|
Fields inherited from class java.util.AbstractMap |
---|
|
Constructor Summary | |
---|---|
ExploMemory()
|
Method Summary | |
---|---|
void |
add(Classifier.Perception p,
int nbActions)
|
void |
addAction(Classifier.Perception p,
Classifier.Action ac)
|
MACS.ActionTable |
getActionTable(Classifier.Perception p)
|
int |
getBooleanImmediateValue(Classifier.Perception p)
|
int |
getPreciseImmediateValue(Classifier.Perception p)
|
Methods inherited from class java.util.TreeMap |
---|
clear, clone, comparator, containsKey, containsValue, entrySet, firstKey, get, headMap, keySet, lastKey, put, putAll, remove, size, subMap, tailMap, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, isEmpty, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode, isEmpty |
Field Detail |
public static boolean traceFlag
Constructor Detail |
public ExploMemory()
Method Detail |
public MACS.ActionTable getActionTable(Classifier.Perception p)
p
-
public void add(Classifier.Perception p, int nbActions)
p
- nbActions
- public void addAction(Classifier.Perception p, Classifier.Action ac)
p
- public int getBooleanImmediateValue(Classifier.Perception p)
p
-
public int getPreciseImmediateValue(Classifier.Perception p)
p
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |