ppotentials
Class PP_Parser
java.lang.Object
nenok.parser.XmlParser
ppotentials.PP_Parser
- All Implemented Interfaces:
- JT_Parser, KB_Parser, Parser
public class PP_Parser
- extends XmlParser
This class provides a XML parser implementation for probability potentials.
- Version:
- 1.1
- Author:
- Marc Pouly
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PP_Parser
public PP_Parser()
parseVariable
public Variable parseVariable(String name,
List<org.jdom.Element> content)
throws ParserException
- Specified by:
parseVariable
in class XmlParser
- Throws:
ParserException
- See Also:
XmlParser.parseVariable(java.lang.String, java.util.List)
parseValuation
public Valuation parseValuation(List<org.jdom.Element> content,
Hashtable<String,Variable> variables)
throws ParserException
- Specified by:
parseValuation
in class XmlParser
- Throws:
ParserException
- See Also:
XmlParser.parseValuation(java.util.List, java.util.Hashtable)