public class RLGlueState extends java.lang.Object implements State
State for RLGLue Observation objects. Each instance contains the inner RLGlue Observation
 You can set and get the Observation with standard methods, thereby allowing serialization. The BURLAP
 variable keys are specified with the RLGlueState.RLGlueVarKey, which indicates indices for character, integer, and double
 values that RLGlue supports. You can also get variable values using String keys of the form "cn", "in", "dn" for character
 integer, and double variables respectively, where n is the index into that vector.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
RLGlueState.RLGlueVarKey  | 
| Modifier and Type | Field and Description | 
|---|---|
protected org.rlcommunity.rlglue.codec.types.Observation | 
obs  | 
| Constructor and Description | 
|---|
RLGlueState()  | 
RLGlueState(org.rlcommunity.rlglue.codec.types.Observation obs)  | 
| Modifier and Type | Method and Description | 
|---|---|
State | 
copy()
Returns a copy of this state suitable for creating state transitions. 
 | 
java.lang.Object | 
get(java.lang.Object variableKey)
Returns the value for the given variable key. 
 | 
org.rlcommunity.rlglue.codec.types.Observation | 
getObs()  | 
void | 
setObs(org.rlcommunity.rlglue.codec.types.Observation obs)  | 
java.util.List<java.lang.Object> | 
variableKeys()
Returns the list of state variable keys. 
 | 
public RLGlueState()
public RLGlueState(org.rlcommunity.rlglue.codec.types.Observation obs)
public java.util.List<java.lang.Object> variableKeys()
StatevariableKeys in interface Statepublic java.lang.Object get(java.lang.Object variableKey)
Statepublic State copy()
StateDeepCopyState or ShallowCopyState annotations. If it is a shallow copy, you should not *directly*
 modify any fields of a copied state without copying the fields first, or it could contaminate the state from
 which the copy was made. Alternatively, use the MutableState.set(Object, Object) method to modify
 ShallowCopyState copied states,
 which for ShallowCopyState instances should perform a safe copy-on-write operation.public org.rlcommunity.rlglue.codec.types.Observation getObs()
public void setObs(org.rlcommunity.rlglue.codec.types.Observation obs)