jchrest.lib
Class GenericDomain

java.lang.Object
  extended by jchrest.lib.GenericDomain
All Implemented Interfaces:
DomainSpecifics

public class GenericDomain
extends java.lang.Object
implements DomainSpecifics

The GenericDomain is used when no domain-specific methods have been created.


Constructor Summary
GenericDomain()
           
 
Method Summary
 ListPattern normalise(ListPattern pattern)
          No change to pattern, as no definition of normalise.
 java.util.List<Square> proposeMovementFixations(Scene scene, Square square)
          No possible movement fixations, so return empty list of proposals.
 java.util.Set<Square> proposeSalientSquareFixations(Scene scene, Chrest model)
          Return a random square on scene.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDomain

public GenericDomain()
Method Detail

normalise

public ListPattern normalise(ListPattern pattern)
No change to pattern, as no definition of normalise.

Specified by:
normalise in interface DomainSpecifics

proposeSalientSquareFixations

public java.util.Set<Square> proposeSalientSquareFixations(Scene scene,
                                                           Chrest model)
Return a random square on scene.

Specified by:
proposeSalientSquareFixations in interface DomainSpecifics

proposeMovementFixations

public java.util.List<Square> proposeMovementFixations(Scene scene,
                                                       Square square)
No possible movement fixations, so return empty list of proposals.

Specified by:
proposeMovementFixations in interface DomainSpecifics