cc.mallet.grmm.inference
Class TRP.AlmostRandomTreeFactory

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

public class TRP.AlmostRandomTreeFactory
extends java.lang.Object
implements TRP.TreeFactory

Always adds edges that have not been touched, after that adds random edges.

See Also:
Serialized Form

Constructor Summary
TRP.AlmostRandomTreeFactory()
           
 
Method Summary
 Tree nextTree(FactorGraph fullGraph)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TRP.AlmostRandomTreeFactory

public TRP.AlmostRandomTreeFactory()
Method Detail

nextTree

public Tree nextTree(FactorGraph fullGraph)
Specified by:
nextTree in interface TRP.TreeFactory