Class AspFolTranslator
- java.lang.Object
- 
- net.sf.tweety.logics.translators.Translator
- 
- net.sf.tweety.logics.translators.aspfol.AspFolTranslator
 
 
- 
- Direct Known Subclasses:
- AspNlpTranslator
 
 public class AspFolTranslator extends Translator This Translator can translate between FOL and ASP literals (without default negated literals).- Author:
- Tim Janus
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intTT_NEGATION- 
Fields inherited from class net.sf.tweety.logics.translators.TranslatorTT_ASSOC, TT_ATOM, TT_PREDICATE, TT_RULE
 
- 
 - 
Constructor SummaryConstructors Constructor Description AspFolTranslator()Default-Ctor
 - 
Method SummaryModifier and Type Method Description ASPHeadtoASP(Disjunction source)ASPAtomtoASP(FolAtom source)ASPLiteraltoASP(FolFormula source)StrictNegationtoASP(Negation source)FolAtomtoFOL(ASPAtom source)DisjunctiontoFOL(ASPHead source)FolFormulatoFOL(ASPLiteral source)NegationtoFOL(StrictNegation source)SimpleLogicalFormulatranslateUsingMap(SimpleLogicalFormula source)- 
Methods inherited from class net.sf.tweety.logics.translators.TranslatortranslateAssociative, translateAtom, translatePredicate, translateRule
 
- 
 
- 
- 
- 
Field Detail- 
TT_NEGATIONpublic static final int TT_NEGATION - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
toASPpublic ASPLiteral toASP(FolFormula source) 
 - 
toFOLpublic Negation toFOL(StrictNegation source) 
 - 
toASPpublic StrictNegation toASP(Negation source) 
 - 
toFOLpublic FolFormula toFOL(ASPLiteral source) 
 - 
toFOLpublic Disjunction toFOL(ASPHead source) 
 - 
toASPpublic ASPHead toASP(Disjunction source) 
 - 
translateUsingMappublic SimpleLogicalFormula translateUsingMap(SimpleLogicalFormula source) - Overrides:
- translateUsingMapin class- Translator
 
 
- 
 
-