fsmvis.engine
Class EndCriteria

java.lang.Object
  |
  +--fsmvis.engine.EndCriteria

public class EndCriteria
extends java.lang.Object


Field Summary
protected  int actualItsToStop
           
protected  int conIts
           
protected  int criteria
           
protected  int its
           
protected  int N
           
protected  boolean nonStop
           
protected  double vel
           
 
Constructor Summary
EndCriteria(int crit, int i, double v, int ci, int size)
           
 
Method Summary
 int getCrit()
           
 int getMaxIterations()
           
 double getMinVelocity()
           
 boolean isThisEnd(int iterationsDone, double currentVel)
           
 void setN(int n1)
           
 void turnOff()
          Option to disregard end criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

criteria

protected int criteria

its

protected int its

vel

protected double vel

conIts

protected int conIts

N

protected int N

actualItsToStop

protected int actualItsToStop

nonStop

protected boolean nonStop
Constructor Detail

EndCriteria

public EndCriteria(int crit,
                   int i,
                   double v,
                   int ci,
                   int size)
Method Detail

getCrit

public int getCrit()

setN

public void setN(int n1)

isThisEnd

public boolean isThisEnd(int iterationsDone,
                         double currentVel)

turnOff

public void turnOff()
Option to disregard end criteria.

getMaxIterations

public int getMaxIterations()

getMinVelocity

public double getMinVelocity()