org.eyelanguage.rl.reading
Class ReadingPolicy

java.lang.Object
  extended by net.pakl.rl.ActionSet
      extended by org.eyelanguage.rl.reading.ReadingPolicy
Direct Known Subclasses:
ReadingPolicyParallel

public class ReadingPolicy
extends ActionSet


Constructor Summary
ReadingPolicy()
           
ReadingPolicy(SentenceWorld sWorld)
          Creates a new instance of ReadingPolicy
 
Method Summary
 void allowSaccadeActions(int eyePosition, int charsBack, int charsForward)
           
 java.util.List getAllPossibleActions(State state)
          This method returns a list of all possible actions an agent could take given a State.
protected  boolean isBetween(int x, int lowerBound, int upperBound)
           
 void setALLOW_SIMULTANEOUS_ATTNEXT_AND_IDENT(boolean newValue)
           
 void setALLOW_SIMULTANEOUS_SACREQ_AND_ATTNEXT(boolean newValue)
           
 void setMaxSaccadeIntendedDistance(int x)
           
 java.lang.String toString()
           
 
Methods inherited from class net.pakl.rl.ActionSet
allowAction, getRandomAllowedAction, removeAction, toText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadingPolicy

public ReadingPolicy(SentenceWorld sWorld)
Creates a new instance of ReadingPolicy


ReadingPolicy

public ReadingPolicy()
Method Detail

setALLOW_SIMULTANEOUS_SACREQ_AND_ATTNEXT

public void setALLOW_SIMULTANEOUS_SACREQ_AND_ATTNEXT(boolean newValue)

setALLOW_SIMULTANEOUS_ATTNEXT_AND_IDENT

public void setALLOW_SIMULTANEOUS_ATTNEXT_AND_IDENT(boolean newValue)

allowSaccadeActions

public void allowSaccadeActions(int eyePosition,
                                int charsBack,
                                int charsForward)

setMaxSaccadeIntendedDistance

public void setMaxSaccadeIntendedDistance(int x)

getAllPossibleActions

public java.util.List getAllPossibleActions(State state)
Description copied from class: ActionSet
This method returns a list of all possible actions an agent could take given a State. If there are no actions, this function returns an empty list (rather than returning a null).

Overrides:
getAllPossibleActions in class ActionSet

isBetween

protected boolean isBetween(int x,
                            int lowerBound,
                            int upperBound)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object