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. | 
| java.lang.String | getBIFFile()Get name of network in BIF file to read structure from | 
| java.lang.String[] | getOptions()Gets the current settings of the search algorithm. | 
| java.lang.String | getRevision()Returns the revision string. | 
| java.lang.String | globalInfo()Returns a string describing this object | 
| java.util.Enumeration | listOptions()Returns an enumeration describing the available options. | 
| void | setBIFFile(java.lang.String sBIFFile)Set name of network in BIF file to read structure from | 
| void | setOptions(java.lang.String[] options)Parses a given list of options. | 
initAsNaiveBayesTipText, maxNrOfParentsTipText, toStringpublic java.lang.String globalInfo()
public void buildStructure(BayesNet bayesNet, Instances instances) throws java.lang.Exception
SearchAlgorithmbuildStructure in class SearchAlgorithmbayesNet - instances - the instances to work withjava.lang.Exception - if attribute from BIF file could not be foundpublic void setBIFFile(java.lang.String sBIFFile)
sBIFFile - the name of the BIF filepublic java.lang.String getBIFFile()
public java.util.Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class SearchAlgorithmpublic void setOptions(java.lang.String[] options)
                throws java.lang.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 stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class SearchAlgorithmpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class SearchAlgorithm