|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateSpaceIndex
Interface for state space indexes. State spaces indexes are used to store states and to quickly find states based on models.
Method Summary | |
---|---|
void |
clearCache()
Clear all caches of the state space index. |
Model |
getCachedModel(State state)
Get the cached model that corresponds to a state. |
Model |
getModel(State state)
Get the model that corresponds to a state. |
State |
getState(Model model)
Get the state that corresponds to the argument model. |
StateSpace |
getStateSpace()
Get the indexed state space. |
Method Detail |
---|
StateSpace getStateSpace()
State getState(Model model) throws StateSpaceException
model
- State model.
null
if none was found.
StateSpaceException
- If the state space contains errors.Model getCachedModel(State state) throws StateSpaceException
state
- State in the state space.
NullPointerException
if the model is not cached.
StateSpaceException
- If the state space contains errors.Model getModel(State state) throws StateSpaceException
state
- State in the state space.
StateSpaceException
- If the state space contains errors.void clearCache()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |