- All Superinterfaces:
- All Known Implementing Classes:
- TRP.AlmostRandomTreeFactory, TRP.TreeListFactory
- Enclosing class:
public static interface TRP.TreeFactory
- extends java.io.Serializable
Interface for tree-generation strategies for TRP.
TRP works by repeatedly doing exact inference over spanning tree
of the original graph. But the trees can be chosen arbitrarily.
In fact, they don't need to be spanning trees; any acyclic
substructure will do. Users of TRP can tell it which strategy
to use by passing in an implementation of TreeFactory.
Tree nextTree(FactorGraph mdl)