|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iastate.jrelm.core.SimpleState<O>
O
- - the type of object being use to represent a course of state
of the world.public class SimpleState<O>
Simple class that implements the State interface. Acts as a wrapper around a given object containing information about relavant, accessible, and salient features in an agent's environment. In other words, the object is a full or partial representation of a world state and SimpleState acts as a wrapper to make it compatible with other JReLM components.
Constructor Summary | |
---|---|
SimpleState(java.lang.Integer id,
O worldInfo)
Make a SimpleState with the given world state and an ID. |
Method Summary | |
---|---|
java.lang.Integer |
getID()
Retrieve the ID for this action |
O |
getWorldInfo()
Retrieve the object this is an State wrapper for. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleState(java.lang.Integer id, O worldInfo)
id
- - identifier for this statewolrdInfo
- - object containing information about relavant, accessible,
and salient features in an agent's environmentMethod Detail |
---|
public O getWorldInfo()
public java.lang.Integer getID()
getID
in interface State<java.lang.Integer>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |