|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lnsc.page.AbstractStateRepresentation
Optional basis for class implementing StateRepresentation
interface.
Derived classes constructor must fill the protected variables and implement
StateRepresentation.getRepresentation(lnsc.page.State)
.
State representations are assumed serializable! Episode state information should be transient (only information about how to generate the representation)!
Constructor Summary | |
AbstractStateRepresentation()
|
Method Summary | |
int |
getOutputCount()
Indicates the number of values in the state representation. |
boolean |
isStateless()
Indicates whether or not the function output depends solely of the current state (and not of the previous state is has processed). |
void |
reset()
Reset internal transient state for non stateless functions. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lnsc.page.StateRepresentation |
getRepresentation |
Constructor Detail |
public AbstractStateRepresentation()
Method Detail |
public int getOutputCount()
StateRepresentation
getOutputCount
in interface StateRepresentation
public boolean isStateless()
StateRepresentation
isStateless
in interface StateRepresentation
true
if output depends solely on current input
false
otherwise.public void reset()
StateRepresentation
reset
in interface StateRepresentation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |