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<Option> |
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
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
makeCopy
public java.util.Enumeration<Option> 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