Class PlParserFactory
java.lang.Object
org.tweetyproject.logics.pl.parser.PlParserFactory
Manages and creates different parsers for propositional logic.
- Author:
- Matthias Thimm
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enumeration of all available knowledge base formats. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Parser
<PlBeliefSet, PlFormula> Retrieves an appropriate parser for the given format.
-
Constructor Details
-
PlParserFactory
public PlParserFactory()Default Constructor
-
-
Method Details
-
getParserForFormat
Retrieves an appropriate parser for the given format.- Parameters:
f
- some format- Returns:
- a parser
-