public class CParser extends Parser<CActionDescription>
| Modifier and Type | Field and Description |
|---|---|
protected ActionSignature |
signature |
| Constructor and Description |
|---|
CParser() |
| Modifier and Type | Method and Description |
|---|---|
ActionSignature |
getSignature() |
CActionDescription |
parseBeliefBase(java.io.Reader reader)
Parses the given reader into a belief base of the given type.
|
Formula |
parseFormula(java.io.Reader reader)
Parses the given reader into a formula of the given type.
|
Formula |
parseFormula(java.lang.String formula)
Parses the given text into a formula of the given type.
|
void |
setSignature(ActionSignature signature) |
isNumeric, parseBeliefBase, parseBeliefBaseFromFile, parseFormulaFromFileprotected ActionSignature signature
public CActionDescription parseBeliefBase(java.io.Reader reader) throws java.io.IOException, ParserException
ParserparseBeliefBase in class Parser<CActionDescription>reader - a readerjava.io.IOExceptionParserExceptionpublic Formula parseFormula(java.io.Reader reader) throws java.io.IOException, ParserException
ParserparseFormula in class Parser<CActionDescription>reader - a readerjava.io.IOExceptionParserExceptionpublic Formula parseFormula(java.lang.String formula) throws ParserException, java.io.IOException
ParserparseFormula in class Parser<CActionDescription>formula - a stringParserExceptionjava.io.IOExceptionpublic void setSignature(ActionSignature signature)
public ActionSignature getSignature()