public static class SerializableLunarLanderStateFactory.SerializableLunarLanderState extends SerializableState
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
stringRep |
| Constructor and Description |
|---|
SerializableLunarLanderStateFactory.SerializableLunarLanderState() |
SerializableLunarLanderStateFactory.SerializableLunarLanderState(State s) |
| Modifier and Type | Method and Description |
|---|---|
State |
deserialize(Domain domain)
Unpacks this
SerializableState into an actual State
in which the ObjectClass, Attribute and other Domain
information refers to the provided Domain. |
void |
serialize(State s)
Causes this object to be a serializable representation of the input
State |
deserializeStatespublic SerializableLunarLanderStateFactory.SerializableLunarLanderState()
public SerializableLunarLanderStateFactory.SerializableLunarLanderState(State s)
public void serialize(State s)
SerializableStateStateserialize in class SerializableStates - the State to be represented by this object.public State deserialize(Domain domain)
SerializableStateSerializableState into an actual State
in which the ObjectClass, Attribute and other Domain
information refers to the provided Domain.deserialize in class SerializableStatedomain - The Domain specifying ObjectClass and Attribute information.State corresponding to this SerializableState