MACS
Class FinalStateModel

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.TreeMap
              |
              +--MACS.FinalStateModel
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable, java.util.SortedMap

final class FinalStateModel
extends java.util.TreeMap

This class stores informations about which states are final in the problem.

Author:
Olivier Sigaud and Pierre Gérard.

Field Summary
 
Fields inherited from class java.util.TreeMap
 
Fields inherited from class java.util.AbstractMap
 
Constructor Summary
(package private) FinalStateModel()
           
 
Method Summary
 boolean get(Classifier.Perception p)
           
 void put(Classifier.Perception p, boolean b)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

FinalStateModel

FinalStateModel()
Method Detail

put

public void put(Classifier.Perception p,
                boolean b)
Parameters:
p -
b -

get

public boolean get(Classifier.Perception p)
Parameters:
p -
Returns:
boolean

toString

public final java.lang.String toString()
Overrides:
toString in class java.util.AbstractMap
Returns:
String