edu.ucla.belief.io.xmlbif
Class RunReadBIF
Object
RunReadNetwork
RunReadBIF
- All Implemented Interfaces:
- Runnable
public class RunReadBIF
- extends RunReadNetwork
Support for reading the XML BIF format.
You can use this class threaded by calling start(),
or in the current thread by calling beliefNetwork().
Currently the parse class edu.ucla.belief.io.xmlbif.XmlbifParser
relies on Java 5.
beliefNetwork() will throw a RuntimeException
caused by a UnsupportedClassVersionError if you try to
run using JRE v 4 or earlier.
- Since:
- 20060524
- Author:
- keith cascio
STR_CLASSNAME_PARSER_ORIG
public static final String STR_CLASSNAME_PARSER_ORIG
- See Also:
- Constant Field Values
STR_CLASSNAME_UAI06PARSER
public static final String STR_CLASSNAME_UAI06PARSER
- See Also:
- Constant Field Values
STR_CLASSNAME_PARSER
public static final String STR_CLASSNAME_PARSER
- See Also:
- Constant Field Values
STR_CLASSNAME_ESTIMATOR
public static final String STR_CLASSNAME_ESTIMATOR
- See Also:
- Constant Field Values
RunReadBIF
public RunReadBIF(File f,
NetworkIO.BeliefNetworkIOListener bnil)
getSyntaxErrors
public String[] getSyntaxErrors()
- Overrides:
getSyntaxErrors
in class RunReadNetwork
getFile
public File getFile()
- Specified by:
getFile
in class RunReadNetwork
getFileType
public FileType getFileType()
- Specified by:
getFileType
in class RunReadNetwork
getEstimator
public Estimate getEstimator()
- Specified by:
getEstimator
in class RunReadNetwork
getReadTask
public ProgressMonitorable getReadTask()
- Specified by:
getReadTask
in class RunReadNetwork
beliefNetwork
public BeliefNetwork beliefNetwork()
throws Exception
- Specified by:
beliefNetwork
in class RunReadNetwork
- Throws:
Exception
finishedReading
public void finishedReading()
- Specified by:
finishedReading
in class RunReadNetwork
errorMessage
public String errorMessage(Throwable throwable)
throws Throwable
- Specified by:
errorMessage
in class RunReadNetwork
- Throws:
Throwable
getParser
public RunReadBIF.MonitorableReusableParser getParser()
Copyright 2010 UCLA Automated Reasoning Group