cc.mallet.grmm.inference
Class TRP.DefaultConvergenceTerminator

java.lang.Object
  extended by cc.mallet.grmm.inference.TRP.DefaultConvergenceTerminator
All Implemented Interfaces:
TRP.TerminationCondition, java.io.Serializable, java.lang.Cloneable
Enclosing class:
TRP

public static class TRP.DefaultConvergenceTerminator
extends java.lang.Object
implements TRP.TerminationCondition

See Also:
Serialized Form

Constructor Summary
TRP.DefaultConvergenceTerminator()
           
TRP.DefaultConvergenceTerminator(double delta, int maxIter)
           
 
Method Summary
 java.lang.Object clone()
           
 void reset()
           
 boolean shouldContinue(TRP trp)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRP.DefaultConvergenceTerminator

public TRP.DefaultConvergenceTerminator()

TRP.DefaultConvergenceTerminator

public TRP.DefaultConvergenceTerminator(double delta,
                                        int maxIter)
Method Detail

reset

public void reset()
Specified by:
reset in interface TRP.TerminationCondition

shouldContinue

public boolean shouldContinue(TRP trp)
Specified by:
shouldContinue in interface TRP.TerminationCondition

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface TRP.TerminationCondition
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException