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, parseFormulaFromFileprivate FolParser folParser
public RpclBeliefSet parseBeliefBase(java.io.Reader reader) throws java.io.IOException, ParserException
ParserparseBeliefBase in class Parser<RpclBeliefSet>reader - a readerjava.io.IOExceptionParserExceptionpublic RelationalProbabilisticConditional parseFormula(java.io.Reader reader) throws java.io.IOException, ParserException
ParserparseFormula in class Parser<RpclBeliefSet>reader - a readerjava.io.IOExceptionParserExceptionpublic FolSignature getSignature()