org.eyelanguage.rl.reading
Class ReadingStateRelative
java.lang.Object
net.pakl.rl.State
org.eyelanguage.rl.reading.ReadingState
org.eyelanguage.rl.reading.ReadingStateRelative
- All Implemented Interfaces:
- java.io.Serializable, HasVectorRepresentation, SubdivisionIdentification
- Direct Known Subclasses:
- ReadingStateParallelRelative
public class ReadingStateRelative
- extends ReadingState
- implements HasVectorRepresentation, SubdivisionIdentification
Inherits from ReadingState, but several methods have been altered so that the model
of the environment is word-centric instead of absolute in the sentence (this allows for
generalization to new circumstances).
- See Also:
- Serialized Form
| Fields inherited from class org.eyelanguage.rl.reading.ReadingState |
attendedWordID, attendedWordLen, attendedWordPredictability, distanceFromAttendCenter, eyePosition, fixatedWordID, identified, nextWordLen, previousWordLen, programmingSaccade, saccadeRequestDistance, timeAttending, timeInProgrammingSaccade |
| Methods inherited from class org.eyelanguage.rl.reading.ReadingState |
clear, copyFrom, getAttendedWordID, getAttendedWordLen, getAttendedWordPredictability, getDistanceFromAttendCenter, getEyePosition, getFixatedWordID, getNextNextWordLen, getNextNextWordPredictability, getNextWordLen, getNextWordPredictability, getPreviousWordLen, getPreviousWordPredictability, getSaccadeRequestDistance, getTimeAttending, getTimeInProgrammingSaccade, isIdentified, isProgrammingSaccade, setAttendedWordID, setAttendedWordLen, setAttendedWordPredictability, setDistanceFromAttendCenter, setEyePosition, setFixatedWordID, setIdentified, setNextNextWordLen, setNextNextWordPredictability, setNextWordLen, setNextWordPredictability, setPreviousWordLen, setPreviousWordPredictability, setProgrammingSaccade, setSaccadeRequestDistance, setTimeAttending, setTimeInProgrammingSaccade, uniqueCode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ReadingStateRelative
public ReadingStateRelative(ReadingStateRelative rs)
ReadingStateRelative
public ReadingStateRelative()
hashCode
public int hashCode()
- Any two objects which are equal must have equal HashCodes, but not necessarily the other way around.
- Overrides:
hashCode in class ReadingState
equals
public boolean equals(java.lang.Object otherObject)
- Overrides:
equals in class ReadingState
doubleRepresentation
public double[] doubleRepresentation()
- Specified by:
doubleRepresentation in interface HasVectorRepresentation- Overrides:
doubleRepresentation in class ReadingState
binaryRepresentationIndices
public java.util.List binaryRepresentationIndices()
binaryRepresentation
public int[] binaryRepresentation()
- Specified by:
binaryRepresentation in interface HasVectorRepresentation- Overrides:
binaryRepresentation in class ReadingState
toString
public java.lang.String toString()
- Overrides:
toString in class ReadingState
parseString
public void parseString(java.lang.String s)
intValue
protected int intValue(java.lang.String s)
doubleValue
protected double doubleValue(java.lang.String s)
boolValue
protected boolean boolValue(java.lang.String s)
test
public boolean test()
main
public static void main(java.lang.String[] args)
getPatchName
public java.lang.String getPatchName()
- Description copied from interface:
SubdivisionIdentification
- Returns the name of the patch in which the agent should look for the
value of this state.
- Specified by:
getPatchName in interface SubdivisionIdentification- Overrides:
getPatchName in class State