Uses of Class
org.tweetyproject.lp.asp.syntax.ASPLiteral
Packages that use ASPLiteral
Package
Description
-
Uses of ASPLiteral in org.tweetyproject.arg.lp.reasoner
Methods in org.tweetyproject.arg.lp.reasoner with parameters of type ASPLiteralModifier and TypeMethodDescriptionbooleanLiteralReasoner.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.LiteralReasoner.query(ArgumentationKnowledgeBase kb, ASPLiteral query) -
Uses of ASPLiteral in org.tweetyproject.arg.lp.syntax
Methods in org.tweetyproject.arg.lp.syntax that return types with arguments of type ASPLiteralModifier and TypeMethodDescriptionArgument.getAssumptions()Returns the set of assumptions, i.e.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 org.tweetyproject.logics.translators.aspfol
Methods in org.tweetyproject.logics.translators.aspfol that return ASPLiteralMethods in org.tweetyproject.logics.translators.aspfol with parameters of type ASPLiteral -
Uses of ASPLiteral in org.tweetyproject.lp.asp.parser
Methods in org.tweetyproject.lp.asp.parser that return ASPLiteralMethods in org.tweetyproject.lp.asp.parser that return types with arguments of type ASPLiteralModifier and TypeMethodDescriptionInstantiateVisitor.visit(ASTHeadElementsList node, Object data) -
Uses of ASPLiteral in org.tweetyproject.lp.asp.reasoner
Methods in org.tweetyproject.lp.asp.reasoner with parameters of type ASPLiteralModifier and TypeMethodDescriptionabstract BooleanASPSolver.query(Program beliefbase, ASPLiteral formula)ClingoSolver.query(Program beliefbase, ASPLiteral formula)ClingoSolver.query(Program beliefbase, ASPLiteral formula, InferenceMode inferenceMode)DLVSolver.query(Program beliefbase, ASPLiteral formula)DLVSolver.query(Program beliefbase, ASPLiteral formula, InferenceMode inferenceMode) -
Uses of ASPLiteral in org.tweetyproject.lp.asp.semantics
Methods in org.tweetyproject.lp.asp.semantics that return types with arguments of type ASPLiteralModifier and TypeMethodDescriptionAnswerSet.getLiteralsWithName(String name)Returns all literals of a given name in the AnswerSet.Constructor parameters in org.tweetyproject.lp.asp.semantics with type arguments of type ASPLiteralModifierConstructorDescriptionAnswerSet(Collection<ASPLiteral> lits, int level, int weight)Creates a new empty AnswerSet with the given level and weight. -
Uses of ASPLiteral in org.tweetyproject.lp.asp.syntax
Subclasses of ASPLiteral in org.tweetyproject.lp.asp.syntaxModifier and TypeClassDescriptionclassThis class models an atom, which is a basic structure for building literals and rules for logic programs.classThis class models the strict negation of an atom (as opposed to a default negation:DefaultNegation).Methods in org.tweetyproject.lp.asp.syntax that return ASPLiteralModifier and TypeMethodDescriptionabstract ASPLiteralASPLiteral.cloneWithAddedTerm(Term<?> term)Creates a copy of the literal and adds the given term as argument to the end of the argument list.StrictNegation.cloneWithAddedTerm(Term<?> term)ASPAtom.complement()abstract ASPLiteralASPLiteral.complement()StrictNegation.complement()ClassicalHead.get(int index)Program.getQuery()Returns the query of the program, if there is one.ClassicalHead.remove(int index)ClassicalHead.set(int index, ASPLiteral element)Methods in org.tweetyproject.lp.asp.syntax that return types with arguments of type ASPLiteralModifier and TypeMethodDescriptionClassicalHead.getFormulas()AggregateAtom.getLiterals()AggregateElement.getLiterals()Collection<? extends ASPLiteral>AggregateHead.getLiterals()ASPAtom.getLiterals()abstract SortedSet<ASPLiteral>ASPBodyElement.getLiterals()Returns all literals in this element in form of a SortedSet.abstract Collection<? extends ASPLiteral>ASPHead.getLiterals()Returns all literals in this element in form of a SortedSet.Collection<? extends ASPLiteral>ASPRule.getLiterals()ChoiceElement.getLiterals()ChoiceHead.getLiterals()ClassicalHead.getLiterals()Returns all literals in this element in form of a SortedSet.ComparativeAtom.getLiterals()DefaultNegation.getLiterals()OptimizationElement.getLiterals()OptimizationStatement.getLiterals()StrictNegation.getLiterals()ClassicalHead.iterator()ClassicalHead.listIterator()ClassicalHead.listIterator(int index)ClassicalHead.subList(int fromIndex, int toIndex)Methods in org.tweetyproject.lp.asp.syntax with parameters of type ASPLiteralModifier and TypeMethodDescriptionvoidClassicalHead.add(int index, ASPLiteral element)booleanClassicalHead.add(ASPLiteral e)booleanClassicalHead.add(ASPLiteral... formulas)Adds the specified elements to the end of this collection (optional operation).voidProgram.addFact(ASPLiteral fact)Adds a fact to this program.voidASPRule.addToHead(ASPLiteral literal)Add the given literal to the head of the rule.intASPAtom.compareTo(ASPLiteral o)intStrictNegation.compareTo(ASPLiteral o)ClassicalHead.set(int index, ASPLiteral element)voidASPRule.setConclusion(ASPLiteral head)Set the conclusion of this rule.voidASPRule.setHead(ASPLiteral head)Set the head of this rule.voidProgram.setQuery(ASPLiteral query)Sets the query of the program.Method parameters in org.tweetyproject.lp.asp.syntax with type arguments of type ASPLiteralModifier and TypeMethodDescriptionbooleanClassicalHead.addAll(int index, Collection<? extends ASPLiteral> c)booleanClassicalHead.addAll(Collection<? extends ASPLiteral> c)Program.getReduct(Set<ASPLiteral> state)Returns the reduct of this program wrt.Constructors in org.tweetyproject.lp.asp.syntax with parameters of type ASPLiteralModifierConstructorDescriptionASPRule(ASPLiteral literal)Creates a fact with the given literal.ASPRule(ASPLiteral head, 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.ChoiceElement(ASPLiteral atom)Create a new choice element with the given atom.ChoiceElement(ASPLiteral atom, List<ASPBodyElement> elements)Create a new choice element with the given atom and list of literals.ClassicalHead(ASPLiteral head)Creates a new head with a single element.Program(ASPLiteral query, Set<ASPRule> rules)Creates a new program with the given query and rules.Constructor parameters in org.tweetyproject.lp.asp.syntax with type arguments of type ASPLiteralModifierConstructorDescriptionClassicalHead(List<ASPLiteral> headElements)Creates a new head with the given elements.