jchrest.architecture
Class Perceiver

java.lang.Object
  extended by jchrest.architecture.Perceiver

public class Perceiver
extends java.lang.Object

Perceiver class manages the model's interaction with an external, two-dimensional scene.


Constructor Summary
protected Perceiver(Chrest model)
           
 
Method Summary
 void clearFixations()
           
 int getFieldOfView()
           
 java.util.List<Fixation> getFixations()
           
 int getFixationsX(int index)
           
 int getFixationsY(int index)
           
 int getNumberFixations()
           
 java.util.List<Node> getRecognisedNodes()
           
 void moveEye()
          Find the next fixation point using one of the available heuristics, and simply move the eye to that point.
 void moveEyeAndLearn()
          Find the next fixation point using one of the available heuristics, and then learn from the new pattern.
 void setFieldOfView(int fov)
           
 void setScene(Scene scene)
           
 void start(int targetNumberFixations)
          Initial fixation point - the centre of the scene.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Perceiver

protected Perceiver(Chrest model)
Method Detail

getFieldOfView

public int getFieldOfView()

setFieldOfView

public void setFieldOfView(int fov)

setScene

public void setScene(Scene scene)

start

public void start(int targetNumberFixations)
Initial fixation point - the centre of the scene.


moveEyeAndLearn

public void moveEyeAndLearn()
Find the next fixation point using one of the available heuristics, and then learn from the new pattern.


moveEye

public void moveEye()
Find the next fixation point using one of the available heuristics, and simply move the eye to that point.


clearFixations

public void clearFixations()

getFixations

public java.util.List<Fixation> getFixations()

getNumberFixations

public int getNumberFixations()

getFixationsX

public int getFixationsX(int index)

getFixationsY

public int getFixationsY(int index)

getRecognisedNodes

public java.util.List<Node> getRecognisedNodes()