public class SearchAlgorithm extends java.lang.Object implements OptionHandler, java.io.Serializable, RevisionHandler
Constructor and Description |
---|
SearchAlgorithm()
c'tor
|
Modifier and Type | Method and Description |
---|---|
void |
buildStructure(BayesNet bayesNet,
Instances instances)
buildStructure determines the network structure/graph of the network.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
initAsNaiveBayesTipText() |
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
java.lang.String |
maxNrOfParentsTipText() |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
java.lang.String |
toString()
a string representation of the algorithm
|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public java.lang.String toString()
toString
in class java.lang.Object
public void buildStructure(BayesNet bayesNet, Instances instances) throws java.lang.Exception
bayesNet
- the networkinstances
- the data to usejava.lang.Exception
- if something goes wrongpublic java.lang.String maxNrOfParentsTipText()
public java.lang.String initAsNaiveBayesTipText()
public java.lang.String getRevision()
getRevision
in interface RevisionHandler