public class FromFile extends SearchAlgorithm
-B <BIF File> Name of file containing network structure in BIF format
| Constructor and Description |
|---|
FromFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildStructure(BayesNet bayesNet,
Instances instances)
buildStructure determines the network structure/graph of the network.
|
String |
getBIFFile()
Get name of network in BIF file to read structure from
|
String[] |
getOptions()
Gets the current settings of the search algorithm.
|
String |
getRevision()
Returns the revision string.
|
String |
globalInfo()
Returns a string describing this object
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
void |
setBIFFile(String sBIFFile)
Set name of network in BIF file to read structure from
|
void |
setOptions(String[] options)
Parses a given list of options.
|
initAsNaiveBayesTipText, maxNrOfParentsTipText, toStringpublic String globalInfo()
public void buildStructure(BayesNet bayesNet, Instances instances) throws Exception
SearchAlgorithmbuildStructure in class SearchAlgorithmbayesNet - instances - the instances to work withException - if attribute from BIF file could not be foundpublic void setBIFFile(String sBIFFile)
sBIFFile - the name of the BIF filepublic String getBIFFile()
public Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class SearchAlgorithmpublic void setOptions(String[] options) throws Exception
-B <BIF File> Name of file containing network structure in BIF format
setOptions in interface OptionHandlersetOptions in class SearchAlgorithmoptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class SearchAlgorithmpublic String getRevision()
getRevision in interface RevisionHandlergetRevision in class SearchAlgorithmCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.