gpalta.ops
Class TreeBuilder

java.lang.Object
  extended by gpalta.ops.TreeBuilder

public class TreeBuilder
extends java.lang.Object

Implements ramped half and half Tree creation


Constructor Summary
TreeBuilder(Config config, NodeFactory nodeFactory)
          Creates a new instance of TreeBuilder
 
Method Summary
<T extends Tree>
void
build(java.util.List<T> treeList)
          Build a population of Trees, using the ramped half and half method
 NodeSet treeRoot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeBuilder

public TreeBuilder(Config config,
                   NodeFactory nodeFactory)
Creates a new instance of TreeBuilder

Method Detail

build

public <T extends Tree> void build(java.util.List<T> treeList)
Build a population of Trees, using the ramped half and half method


treeRoot

public NodeSet treeRoot()