|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionDomain<I,A extends Action>
Representation of the space of possible operations an agent can perform in a particular environment. The type of Action as well as action identifier may be paramertized. These are similar to the Key/Value types that may be parameterized for Hasthtable.
Hashtable
,
Action
Method Summary | |
---|---|
boolean |
containsAction(A actionToCheck)
Determines if the given Action is in this domain. |
A |
getAction(I id)
Retrieves the Action indicated by the id object. |
java.util.ArrayList<I> |
getIDList()
Retrieve a list of the identifiers for all Actions in this domain. |
int |
size()
Reports the number of Actions in this domain. |
Method Detail |
---|
boolean containsAction(A actionToCheck)
A getAction(I id)
id
- - identifier indicating the desired Action
java.util.ArrayList<I> getIDList()
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |