cc.mallet.grmm.inference
Class TRP.ConvergenceTerminator

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

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

See Also:
Serialized Form

Constructor Summary
TRP.ConvergenceTerminator()
           
TRP.ConvergenceTerminator(double delta)
           
 
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.ConvergenceTerminator

public TRP.ConvergenceTerminator()

TRP.ConvergenceTerminator

public TRP.ConvergenceTerminator(double delta)
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