public class RpclParser extends Parser<RpclBeliefSet>
Modifier and Type | Field and Description |
---|---|
private FolParser |
folParser
For parsing FOL fragments.
|
Constructor and Description |
---|
RpclParser()
Creates a new RPCL Parser
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
getSignature()
Returns the signature of this parser.
|
RpclBeliefSet |
parseBeliefBase(java.io.Reader reader)
Parses the given reader into a belief base of the given type.
|
RelationalProbabilisticConditional |
parseFormula(java.io.Reader reader)
Parses the given reader into a formula of the given type.
|
isNumeric, parseBeliefBase, parseBeliefBaseFromFile, parseFormula, parseFormulaFromFile
private FolParser folParser
public RpclBeliefSet parseBeliefBase(java.io.Reader reader) throws java.io.IOException, ParserException
Parser
parseBeliefBase
in class Parser<RpclBeliefSet>
reader
- a readerjava.io.IOException
ParserException
public RelationalProbabilisticConditional parseFormula(java.io.Reader reader) throws java.io.IOException, ParserException
Parser
parseFormula
in class Parser<RpclBeliefSet>
reader
- a readerjava.io.IOException
ParserException
public FolSignature getSignature()