public class SearchAlgorithm extends Object implements OptionHandler, 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.
|
String[] |
getOptions()
Gets the current settings of the Classifier.
|
String |
getRevision()
Returns the revision string.
|
String |
initAsNaiveBayesTipText() |
Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
String |
maxNrOfParentsTipText() |
void |
setOptions(String[] options)
Parses a given list of options.
|
String |
toString()
a string representation of the algorithm
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
makeCopy
public Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsException
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
public String toString()
public void buildStructure(BayesNet bayesNet, Instances instances) throws Exception
bayesNet
- the networkinstances
- the data to useException
- if something goes wrongpublic String maxNrOfParentsTipText()
public String initAsNaiveBayesTipText()
public String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2019 University of Waikato, Hamilton, NZ. All rights reserved.