|
|||||||||||
| 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.Anticipator
The AnticipatedSituationMap class is used to store temporarily the list of anticipated situations computed from each perception through the model of transitions.
| Field Summary | |
|---|---|
static boolean |
DEBUG
|
protected MACS.ClassifierSystem |
modelOfTransitions
|
| Fields inherited from class java.util.TreeMap |
|---|
|
| Fields inherited from class java.util.AbstractMap |
|---|
|
| Constructor Summary | |
|---|---|
protected |
Anticipator(MACS.ClassifierSystem modTrans)
|
| Method Summary | |
|---|---|
void |
buildPossibilityTables(Classifier.Perception currentPerception)
|
java.util.Vector[] |
getPossibilityTables(Classifier.Perception currentPerception)
This methods computes for each possible action the list of anticipated situations and the associated information gains, and it fills tables with it: - retour[0] = actions (contains the list of possible actions) - retour[1] = anticipationSet (contains the list of anticipations from classifiers) - retour[2] = infoGains (contains the list of infogains corresponding to each classifier) If the value has already been computed, it does not compute it again. |
private java.util.Vector[] |
getTables(Classifier.Perception currentPerception)
|
| 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 DEBUG
protected MACS.ClassifierSystem modelOfTransitions
| Constructor Detail |
protected Anticipator(MACS.ClassifierSystem modTrans)
modTrans - | Method Detail |
public java.util.Vector[] getPossibilityTables(Classifier.Perception currentPerception)
currentPerception -
public void buildPossibilityTables(Classifier.Perception currentPerception)
private java.util.Vector[] getTables(Classifier.Perception currentPerception)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||