Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cc.mallet.grmm.inference
Class TRP.TreeListFactory

    java.lang.Object
      cc.mallet.grmm.inference.TRP.TreeListFactory

All Implemented Interfaces:
  TRP.TreeFactory, java.io.Serializable

Enclosing class:
  TRP

    public static class TRP.TreeListFactory

extends java.lang.Object
implements TRP.TreeFactory

Generates spanning trees cyclically from a predefined collection.

See Also:
  Serialized Form

Constructor Summary
`TRP.TreeListFactory(java.util.List l)`
`TRP.TreeListFactory(Tree[] arr)`

Method Summary
`static TRP.TreeListFactory` | `makeFromReaders(FactorGraph fg, java.util.List readerList)`
`Tree` | `nextTree(FactorGraph mdl)`
`static TRP.TreeListFactory` | `readFromFiles(FactorGraph fg, java.util.List fileList)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TRP.TreeListFactory

    public TRP.TreeListFactory(java.util.List l)

### TRP.TreeListFactory

    public TRP.TreeListFactory(Tree[] arr)

Method Detail

### makeFromReaders

    public static TRP.TreeListFactory makeFromReaders(FactorGraph fg,
                                                      java.util.List readerList)

### readFromFiles

    public static TRP.TreeListFactory readFromFiles(FactorGraph fg,
                                                    java.util.List fileList)

  Parameters:
    `fileList` - List of File objects. Each file should be an XML document describing a tree.

### nextTree

    public Tree nextTree(FactorGraph mdl)

  Specified by:
    `nextTree` in interface `TRP.TreeFactory`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD