unbbayes.prs.builder
Interface INodeBuilder

All Known Implementing Classes:
ClassInstantiationPluginNodeBuilder, DefaultContinuousNodeBuilder, DefaultDecisionNodeBuilder, DefaultProbabilisticNodeBuilder, DefaultUtilityNodeBuilder, PluginNodeBuilder

public interface INodeBuilder

A builder for Nodes, used by the I/O classes and/or Network builders in order to generate a new Node. This is useful in order to re-use I/O classes to load specific subclasses of Nodes, instead of hard-coding Node types.

Author:
Shou Matsumoto

Method Summary
 Node buildNode()
          Builds a new instance of Node
 Class getNodeClass()
          Obtains the class of the node going to be build by the next call of buildNode()
 

Method Detail

buildNode

Node buildNode()
Builds a new instance of Node

Returns:
instance of Node

getNodeClass

Class getNodeClass()
Obtains the class of the node going to be build by the next call of buildNode()

Returns:


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.