Uses of Class
net.sf.tweety.lp.asp.syntax.ASPLiteral
-
-
Uses of ASPLiteral in net.sf.tweety.arg.lp.reasoner
Methods in net.sf.tweety.arg.lp.reasoner with parameters of type ASPLiteral Modifier and Type Method Description booleanLiteralReasoner. isJustified(ArgumentationKnowledgeBase kb, ASPLiteral arg)A literal is called x/y-justified, if a x/y-justified argument with conclusion arg can be constructed from p.booleanLiteralReasoner. isOverruled(ArgumentationKnowledgeBase kb, ASPLiteral arg)A literal is called x/y-overruled, iff it is not x/y-justified.java.lang.BooleanLiteralReasoner. query(ArgumentationKnowledgeBase kb, ASPLiteral query) -
Uses of ASPLiteral in net.sf.tweety.arg.lp.syntax
Methods in net.sf.tweety.arg.lp.syntax that return types with arguments of type ASPLiteral Modifier and Type Method Description java.util.Set<ASPLiteral>Argument. getAssumptions()Returns the set of assumptions, i.e.java.util.Set<ASPLiteral>Argument. getConclusions()Returns the set of conclusions of this argument, which is made up of the heads of all rules contained in this argument. -
Uses of ASPLiteral in net.sf.tweety.logics.translators.aspfol
Methods in net.sf.tweety.logics.translators.aspfol that return ASPLiteral Modifier and Type Method Description ASPLiteralAspFolTranslator. toASP(FolFormula source)Methods in net.sf.tweety.logics.translators.aspfol with parameters of type ASPLiteral Modifier and Type Method Description FolFormulaAspFolTranslator. toFOL(ASPLiteral source) -
Uses of ASPLiteral in net.sf.tweety.lp.asp.parser
Methods in net.sf.tweety.lp.asp.parser that return ASPLiteral Modifier and Type Method Description ASPLiteralInstantiateVisitor. visit(ASTLiteral node, java.lang.Object data)ASPLiteralInstantiateVisitor. visit(ASTQuery node, java.lang.Object data)Methods in net.sf.tweety.lp.asp.parser that return types with arguments of type ASPLiteral Modifier and Type Method Description java.util.List<ASPLiteral>InstantiateVisitor. visit(ASTHeadElementsList node, java.lang.Object data) -
Uses of ASPLiteral in net.sf.tweety.lp.asp.reasoner
Methods in net.sf.tweety.lp.asp.reasoner with parameters of type ASPLiteral Modifier and Type Method Description abstract java.lang.BooleanASPSolver. query(Program beliefbase, ASPLiteral formula)java.lang.BooleanClingoSolver. query(Program beliefbase, ASPLiteral formula)java.lang.BooleanClingoSolver. query(Program beliefbase, ASPLiteral formula, InferenceMode inferenceMode)java.lang.BooleanDLVSolver. query(Program beliefbase, ASPLiteral formula)java.lang.BooleanDLVSolver. query(Program beliefbase, ASPLiteral formula, InferenceMode inferenceMode) -
Uses of ASPLiteral in net.sf.tweety.lp.asp.semantics
Methods in net.sf.tweety.lp.asp.semantics that return types with arguments of type ASPLiteral Modifier and Type Method Description java.util.Set<ASPLiteral>AnswerSet. getLiteralsWithName(java.lang.String name)Returns all literals of a given name in the AnswerSet.Constructor parameters in net.sf.tweety.lp.asp.semantics with type arguments of type ASPLiteral Constructor Description AnswerSet(java.util.Collection<ASPLiteral> lits, int level, int weight)Creates a new empty AnswerSet with the given level and weight. -
Uses of ASPLiteral in net.sf.tweety.lp.asp.syntax
Subclasses of ASPLiteral in net.sf.tweety.lp.asp.syntax Modifier and Type Class Description classASPAtomThis class models an atom, which is a basic structure for building literals and rules for logic programs.classStrictNegationThis class models the strict negation of an atom (as apposed to a NAF negation:DefaultNegation).Methods in net.sf.tweety.lp.asp.syntax that return ASPLiteral Modifier and Type Method Description abstract ASPLiteralASPLiteral. cloneWithAddedTerm(Term<?> term)Creates a copy of the literal and adds the given term as argument to the end of the argument list.ASPLiteralStrictNegation. cloneWithAddedTerm(Term<?> term)ASPLiteralASPAtom. complement()abstract ASPLiteralASPLiteral. complement()ASPLiteralStrictNegation. complement()ASPLiteralASPHead. get(int index)ASPLiteralProgram. getQuery()Returns the query of the program, if there is one.ASPLiteralASPHead. remove(int index)ASPLiteralASPHead. set(int index, ASPLiteral element)Methods in net.sf.tweety.lp.asp.syntax that return types with arguments of type ASPLiteral Modifier and Type Method Description java.util.List<ASPLiteral>ASPHead. getFormulas()java.util.SortedSet<ASPLiteral>AggregateAtom. getLiterals()java.util.SortedSet<ASPLiteral>AggregateElement. getLiterals()java.util.SortedSet<ASPLiteral>ASPAtom. getLiterals()abstract java.util.SortedSet<ASPLiteral>ASPBodyElement. getLiterals()Returns all literals in this element in form of a SortedSet.java.util.SortedSet<ASPLiteral>ASPHead. getLiterals()Returns all literals in this element in form of a SortedSet.java.util.Collection<? extends ASPLiteral>ASPRule. getLiterals()java.util.SortedSet<ASPLiteral>ComparativeAtom. getLiterals()java.util.SortedSet<ASPLiteral>DefaultNegation. getLiterals()java.util.SortedSet<ASPLiteral>StrictNegation. getLiterals()java.util.Iterator<ASPLiteral>ASPHead. iterator()java.util.ListIterator<ASPLiteral>ASPHead. listIterator()java.util.ListIterator<ASPLiteral>ASPHead. listIterator(int index)java.util.List<ASPLiteral>ASPHead. subList(int fromIndex, int toIndex)Methods in net.sf.tweety.lp.asp.syntax with parameters of type ASPLiteral Modifier and Type Method Description voidASPHead. add(int index, ASPLiteral element)booleanASPHead. add(ASPLiteral e)booleanASPHead. add(ASPLiteral... formulas)Adds the specified elements to the end of this collection (optional operation).voidProgram. addFact(ASPLiteral fact)voidASPRule. addToHead(ASPLiteral h)intASPAtom. compareTo(ASPLiteral o)intStrictNegation. compareTo(ASPLiteral o)ASPLiteralASPHead. set(int index, ASPLiteral element)voidASPRule. setConclusion(ASPLiteral head)voidProgram. setQuery(ASPLiteral query)Sets the query of the program.Method parameters in net.sf.tweety.lp.asp.syntax with type arguments of type ASPLiteral Modifier and Type Method Description booleanASPHead. addAll(int index, java.util.Collection<? extends ASPLiteral> c)booleanASPHead. addAll(java.util.Collection<? extends ASPLiteral> c)ProgramProgram. reduct(java.util.Set<ASPLiteral> state)Returns the reduct of this program wrt.Constructors in net.sf.tweety.lp.asp.syntax with parameters of type ASPLiteral Constructor Description ASPHead(ASPLiteral head)Creates a new head with a single element.ASPRule(ASPLiteral literal)Creates a fact with the given literal.ASPRule(ASPLiteral head, java.util.List<ASPBodyElement> body)Creates a rule with the given head and body.ASPRule(ASPLiteral head, ASPBodyElement b)Creates a rule with the given head and a single-element body.Program(ASPLiteral query, java.util.Set<ASPRule> rules)Creates a new program with the given query and rules.Constructor parameters in net.sf.tweety.lp.asp.syntax with type arguments of type ASPLiteral Constructor Description ASPHead(java.util.List<ASPLiteral> head_elements)Creates a new head with the given elements.
-