jq.qsim.globalfilter
Class CycleFilter

java.lang.Object
  extended byjq.util.NamableObject
      extended byjq.qsim.globalfilter.CycleFilter
All Implemented Interfaces:
GlobalFilter, Namable

public class CycleFilter
extends NamableObject
implements GlobalFilter


Constructor Summary
CycleFilter()
           
 
Method Summary
 boolean passesFilter(QDEState candidateState, QDEState previousState)
          CHECK FOR CYCLE: If the candidate state is at a time point and it has no new landmarks and it has a predecessor (i.e., it is not the starting state), then check through its predecessors (at time points only) for an identical state.
 
Methods inherited from class jq.util.NamableObject
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jq.util.Namable
getName
 

Constructor Detail

CycleFilter

public CycleFilter()
Method Detail

passesFilter

public boolean passesFilter(QDEState candidateState,
                            QDEState previousState)
CHECK FOR CYCLE: If the candidate state is at a time point and it has no new landmarks and it has a predecessor (i.e., it is not the starting state), then check through its predecessors (at time points only) for an identical state. If found, update predecessor and successor lists to show that a cycle has occurred (and discard the candidate state).

Specified by:
passesFilter in interface GlobalFilter