Interface TRP.TreeFactory

All Superinterfaces:
All Known Implementing Classes:
TRP.AlmostRandomTreeFactory, TRP.TreeListFactory
Enclosing class:

public static interface TRP.TreeFactory

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.

Method Summary
 Tree nextTree(FactorGraph mdl)

Method Detail


Tree nextTree(FactorGraph mdl)