|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateDomain<I,S extends State>
Representation of an agent's state space. That is, the collection of world states that an agent may encounter in an environment. The type of State as well as state identifier may be paramertized. These are similar to the Key/Value types that may be parameterized for Hasthtable.
Hashtable
,
Action
Method Summary | |
---|---|
boolean |
containsState(S stateToCheck)
Determines if the given Action is in this domain. |
java.util.ArrayList<I> |
getIDList()
Retrieve a list of the identifiers for all States in this domain. |
S |
getState(I id)
Retrieves the State indicated by the id object. |
int |
size()
Reports the number of States in this domain. |
Method Detail |
---|
boolean containsState(S stateToCheck)
S getState(I id)
id
- - identifier indicating the desired State
java.util.ArrayList<I> getIDList()
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |