Javadoc
buildStructure determines the network structure/graph of the network. The
default behavior is creating a network where all nodes have the first node
as its parent (i.e., a BayesNet that behaves like a naive Bayes
classifier). This method can be overridden by derived classes to restrict
the class of network structures that are acceptable.