Uses of Interface
net.sf.tweety.logics.commons.syntax.interfaces.Term
-
-
-
Uses of Term in net.sf.tweety.action.query.syntax
Method parameters in net.sf.tweety.action.query.syntax with type arguments of type Term Modifier and Type Method Description QueryPropositionAlwaysQuery. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)QueryPropositionAlwaysQuery. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)QueryPropositionHoldsQuery. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)QueryPropositionHoldsQuery. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)QueryPropositionNecessarilyQuery. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)QueryPropositionNecessarilyQuery. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)abstract QueryPropositionQueryProposition. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Returns a new query proposition of the same type, in which all variables in inner formulas and actions are replaced according to the given map.abstract QueryPropositionQueryProposition. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Returns a new query proposition of the same type, in which all variables in inner formulas and actions are replaced according to the given map. -
Uses of Term in net.sf.tweety.action.signature
Method parameters in net.sf.tweety.action.signature with type arguments of type Term Modifier and Type Method Description FolActionFolAction. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes terms in all non-zero-arity atoms in this action according to the given map.FolActionFolAction. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes terms in all non-zero-arity atoms in this action according to the given map. -
Uses of Term in net.sf.tweety.arg.delp
Fields in net.sf.tweety.arg.delp with type parameters of type Term Modifier and Type Field Description private static java.util.List<Term<?>>TestArguments. TINA -
Uses of Term in net.sf.tweety.arg.delp.parser
Methods in net.sf.tweety.arg.delp.parser that return Term Modifier and Type Method Description TermDelpParser. Term(DefeasibleLogicProgram delp, FolSignature signature) -
Uses of Term in net.sf.tweety.arg.delp.syntax
Methods in net.sf.tweety.arg.delp.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>DelpRule. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.arg.delp.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>DelpRule. getTerms()Methods in net.sf.tweety.arg.delp.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaDefeasibleRule. substitute(Term<?> v, Term<?> t)RelationalFormulaDelpFact. substitute(Term<?> v, Term<?> t)abstract RelationalFormulaDelpRule. substitute(Term<?> v, Term<?> t)RelationalFormulaStrictRule. substitute(Term<?> v, Term<?> t) -
Uses of Term in net.sf.tweety.arg.dung.ldo.syntax
Methods in net.sf.tweety.arg.dung.ldo.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.List<? extends Term<?>>LdoArgument. getArguments()Methods in net.sf.tweety.arg.dung.ldo.syntax with parameters of type Term Modifier and Type Method Description voidLdoArgument. addArgument(Term<?> arg) -
Uses of Term in net.sf.tweety.logics.commons.syntax
Classes in net.sf.tweety.logics.commons.syntax that implement Term Modifier and Type Class Description classConstantA Constant represents an constant object in the world of a logical language.classFunctionalTermA functional term in a logic language, i.e.classNumberTermThis is a term representing an integer number it is used to distinguish between objects like an auto a which is modeled as constant and integral numbers like 42.classStringTermThis class represents terms which are objects identified by a string.classTermAdapter<T>Abstract base class implementing the substitute(), getSort(), getTerms(), and containsTermsOfType() methods in a way it is useful for terms.classVariableA Variable is a placeholder for Constants in a generic formula of a logic language.Methods in net.sf.tweety.logics.commons.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
booleanComplexLogicalFormulaAdapter. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
booleanRelationalFormula. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
booleanSort. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
booleanTermAdapter. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>AssociativeFormulaSupport. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ComplexLogicalFormulaAdapter. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>FunctionalTerm. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>QuantifiedFormulaSupport. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>Sort. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>TermAdapter. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.logics.commons.syntax that return Term Modifier and Type Method Description Term<?>FunctionalTerm. substitute(Term<?> v, Term<?> t)Term<?>TermAdapter. substitute(Term<?> v, Term<?> t)Methods in net.sf.tweety.logics.commons.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<java.util.Map<Variable,Term<?>>>RelationalFormula. allSubstitutions(java.util.Collection<? extends Term<?>> terms)Computes all possible substitutions, i.e.java.util.List<Term<?>>FunctionalTerm. getArguments()java.util.Set<Term<?>>AssociativeFormulaSupport. getTerms()java.util.Set<Term<?>>FunctionalTerm. getTerms()java.util.Set<Term<?>>QuantifiedFormulaSupport. getTerms()java.util.Set<Term<?>>Sort. getTerms()java.util.Set<Term<?>>TermAdapter. getTerms()static java.util.Map<Sort,java.util.Set<Term<?>>>Sort. sortTerms(java.util.Collection<? extends Term<?>> terms)Sorts the set of given terms by their sorts, i.e.Methods in net.sf.tweety.logics.commons.syntax with parameters of type Term Modifier and Type Method Description voidSort. add(Term<?> term)Adds the given term to this sort.FunctionalTermFunctionalTerm. addArgument(Term<?> term)Appends the given argument to this term's arguments and returns itself.ComplexLogicalFormulaComplexLogicalFormulaAdapter. exchange(Term<?> v, Term<?> t)RelationalFormulaRelationalFormula. exchange(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this formula by term "t" and at the same time replaces all occurrences of term "t" by term "v" and eventually returns the new formula.booleanSort. remove(Term<?> term)Removes the given term from this sort.ComplexLogicalFormulaAssociativeFormulaSupport. substitute(Term<?> v, Term<?> t)Term<?>FunctionalTerm. substitute(Term<?> v, Term<?> t)abstract RelationalFormulaRelationalFormula. substitute(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this formula by term "t" and returns the new formula.Term<?>TermAdapter. substitute(Term<?> v, Term<?> t)Method parameters in net.sf.tweety.logics.commons.syntax with type arguments of type Term Modifier and Type Method Description java.util.Set<java.util.Map<Variable,Term<?>>>RelationalFormula. allSubstitutions(java.util.Collection<? extends Term<?>> terms)Computes all possible substitutions, i.e.static java.util.Map<Sort,java.util.Set<Term<?>>>Sort. sortTerms(java.util.Collection<? extends Term<?>> terms)Sorts the set of given terms by their sorts, i.e.ComplexLogicalFormulaComplexLogicalFormulaAdapter. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ComplexLogicalFormulaComplexLogicalFormulaAdapter. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)RelationalFormulaRelationalFormula. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes all occurrences of all terms "v" in map.keyset() in this formula by map.get(v) and returns the new formula.
NOTE: variables bound to quantifiers are not substituted in their inner formulas even if they appear in the map.RelationalFormulaRelationalFormula. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes all occurrences of all terms "v" in map.keyset() in this formula by map.get(v) and returns the new formula.
NOTE: variables bound to quantifiers are not substituted in their inner formulas even if they appear in the map.Constructors in net.sf.tweety.logics.commons.syntax with parameters of type Term Constructor Description FunctionalTerm(Functor functor, Term<?>... terms)Constructor parameters in net.sf.tweety.logics.commons.syntax with type arguments of type Term Constructor Description FunctionalTerm(Functor functor, java.util.List<Term<?>> arguments)Creates a new functional term with the given functor and the given list of arguments. -
Uses of Term in net.sf.tweety.logics.commons.syntax.interfaces
Methods in net.sf.tweety.logics.commons.syntax.interfaces with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
booleanLogicStructure. containsTermsOfType(java.lang.Class<C> cls)Checks if this logical structure contains at least one term of type C.<C extends Term<?>>
java.util.Set<C>LogicStructure. getTerms(java.lang.Class<C> cls)Processes the set containing all terms of type C.Methods in net.sf.tweety.logics.commons.syntax.interfaces that return Term Modifier and Type Method Description Term<?>Term. clone()Creates a deep copy of the termTerm<?>Term. substitute(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this term by term "t" and returns the new term.Methods in net.sf.tweety.logics.commons.syntax.interfaces that return types with arguments of type Term Modifier and Type Method Description java.util.List<? extends Term<?>>Atom. getArguments()java.util.Set<Term<?>>LogicStructure. getTerms()Methods in net.sf.tweety.logics.commons.syntax.interfaces with parameters of type Term Modifier and Type Method Description voidAtom. addArgument(Term<?> arg)Adds an argument to the atom's argument listComplexLogicalFormulaComplexLogicalFormula. exchange(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this formula by term "t" and at the same time replaces all occurrences of term "t" by term "v" and eventually returns the new formula.LogicProgram<?,?,?>LogicProgram. exchange(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this formula by term "t" and at the same time replaces all occurrences of term "t" by term "v" and eventually returns the new formula.ComplexLogicalFormulaComplexLogicalFormula. substitute(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this formula by term "t" and returns the new formula.LogicProgram<?,?,?>LogicProgram. substitute(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this formula by term "t" and returns the new formula.Term<?>Term. substitute(Term<?> v, Term<?> t)Substitutes all occurrences of term "v" in this term by term "t" and returns the new term.Method parameters in net.sf.tweety.logics.commons.syntax.interfaces with type arguments of type Term Modifier and Type Method Description static Atom.RETURN_SET_PREDICATEAtom.AtomImpl. implSetPredicate(Predicate old, Predicate newer, java.util.List<Term<?>> arguments)ComplexLogicalFormulaComplexLogicalFormula. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes all occurrences of all terms "v" in map.keyset() in this formula by map.get(v) and returns the new formula.ComplexLogicalFormulaComplexLogicalFormula. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes all occurrences of all terms "v" in map.keyset() in this formula by map.get(v) and returns the new formula.LogicProgram<?,?,?>LogicProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes all occurrences of all terms "v" in map.keyset() in this formula by map.get(v) and returns the new formula.LogicProgram<?,?,?>LogicProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Substitutes all occurrences of all terms "v" in map.keyset() in this formula by map.get(v) and returns the new formula. -
Uses of Term in net.sf.tweety.logics.dl.syntax
Classes in net.sf.tweety.logics.dl.syntax that implement Term Modifier and Type Class Description classIndividualThis class models an individual in description logic, also known as an object. -
Uses of Term in net.sf.tweety.logics.fol.parser
Methods in net.sf.tweety.logics.fol.parser that return types with arguments of type Term Modifier and Type Method Description private java.util.List<Term<?>>FolParser. parseTermlist(java.util.List<java.lang.Object> l)Parses a term list as a list of String tokens or terms into a list of terms.private java.util.List<Term<?>>TPTPParser. parseTermlist(java.util.List<java.lang.Object> l)Parses a term list as a list of String tokens or terms into a list of terms. -
Uses of Term in net.sf.tweety.logics.fol.semantics
Methods in net.sf.tweety.logics.fol.semantics with parameters of type Term Modifier and Type Method Description HerbrandInterpretationHerbrandInterpretation. exchange(Term<?> t1, Term<?> t2)Substitutes every occurrence of "t1" by "t2" and vice versa and returns the new interpretation.Method parameters in net.sf.tweety.logics.fol.semantics with type arguments of type Term Modifier and Type Method Description HerbrandInterpretationHerbrandInterpretation. exchange(java.util.Map<Term<?>,Term<?>> mapping)For every mapping t1 -> t2, this method substitutes every occurrence of "t1" by "t2" and vice versa and returns the new interpretationHerbrandInterpretationHerbrandInterpretation. exchange(java.util.Map<Term<?>,Term<?>> mapping)For every mapping t1 -> t2, this method substitutes every occurrence of "t1" by "t2" and vice versa and returns the new interpretationprivate java.util.Set<FolAtom>HerbrandBase. getAllInstantiations(FolSignature sig, Predicate p, java.util.List<Term<?>> arguments)Computes all instantiations of the predicate "p" relative to the signature "sig" where "arguments" defines the first arguments of the atoms. -
Uses of Term in net.sf.tweety.logics.fol.syntax
Fields in net.sf.tweety.logics.fol.syntax with type parameters of type Term Modifier and Type Field Description private java.util.List<Term<?>>FolAtom. argumentsThe arguments of the atomMethods in net.sf.tweety.logics.fol.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>AssociativeFolFormula. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>Equivalence. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ExistsQuantifiedFormula. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>FolAtom. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ForallQuantifiedFormula. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>Implication. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>Negation. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>SpecialFormula. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.logics.fol.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.List<Term<?>>FolAtom. getArguments()java.util.Set<Term<?>>AssociativeFolFormula. getTerms()java.util.Set<Term<?>>Equivalence. getTerms()java.util.Set<Term<?>>ExistsQuantifiedFormula. getTerms()java.util.Set<Term<?>>FolAtom. getTerms()java.util.Set<Term<?>>ForallQuantifiedFormula. getTerms()java.util.Set<Term<?>>Implication. getTerms()java.util.Set<Term<?>>Negation. getTerms()java.util.Set<Term<?>>SpecialFormula. getTerms()Methods in net.sf.tweety.logics.fol.syntax with parameters of type Term Modifier and Type Method Description voidFolAtom. addArgument(Term<?> term)Appends the given argument to this atom's arguments and returns itself.AssociativeFolFormulaAssociativeFolFormula. substitute(Term<?> v, Term<?> t)ConjunctionConjunction. substitute(Term<?> v, Term<?> t)FolFormulaEquivalence. substitute(Term<?> v, Term<?> t)ExistsQuantifiedFormulaExistsQuantifiedFormula. substitute(Term<?> v, Term<?> t)FolAtomFolAtom. substitute(Term<?> v, Term<?> t)abstract FolFormulaFolFormula. substitute(Term<?> v, Term<?> t)ForallQuantifiedFormulaForallQuantifiedFormula. substitute(Term<?> v, Term<?> t)FolFormulaImplication. substitute(Term<?> v, Term<?> t)NegationNegation. substitute(Term<?> v, Term<?> t)FolFormulaSpecialFormula. substitute(Term<?> v, Term<?> t)Method parameters in net.sf.tweety.logics.fol.syntax with type arguments of type Term Modifier and Type Method Description AssociativeFolFormulaAssociativeFolFormula. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> termMap)AssociativeFolFormulaAssociativeFolFormula. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> termMap)Constructors in net.sf.tweety.logics.fol.syntax with parameters of type Term Constructor Description FolAtom(Predicate predicate, Term<?>... terms)Constructor parameters in net.sf.tweety.logics.fol.syntax with type arguments of type Term Constructor Description FolAtom(Predicate predicate, java.util.List<? extends Term<?>> arguments)Creates a new atom with the given predicate and list of terms -
Uses of Term in net.sf.tweety.logics.ml.parser
Methods in net.sf.tweety.logics.ml.parser that return types with arguments of type Term Modifier and Type Method Description private java.util.List<Term<?>>MlParser. parseTermlist(java.util.List<java.lang.Object> l)Parses a term list as a list of String tokens or terms into a list of terms. -
Uses of Term in net.sf.tweety.logics.ml.semantics
Methods in net.sf.tweety.logics.ml.semantics with parameters of type Term Modifier and Type Method Description MlHerbrandInterpretationMlHerbrandInterpretation. exchange(Term<?> t1, Term<?> t2)Substitutes every occurrence of "t1" by "t2" and vice versa and returns the new interpretation.Method parameters in net.sf.tweety.logics.ml.semantics with type arguments of type Term Modifier and Type Method Description MlHerbrandInterpretationMlHerbrandInterpretation. exchange(java.util.Map<Term<?>,Term<?>> mapping)For every mapping t1 -> t2, this method substitutes every occurrence of "t1" by "t2" and vice versa and returns the new interpretationMlHerbrandInterpretationMlHerbrandInterpretation. exchange(java.util.Map<Term<?>,Term<?>> mapping)For every mapping t1 -> t2, this method substitutes every occurrence of "t1" by "t2" and vice versa and returns the new interpretation -
Uses of Term in net.sf.tweety.logics.ml.syntax
Methods in net.sf.tweety.logics.ml.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>MlFormula. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.logics.ml.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>MlFormula. getTerms()Methods in net.sf.tweety.logics.ml.syntax with parameters of type Term Modifier and Type Method Description FolFormulaNecessity. substitute(Term<?> v, Term<?> t)FolFormulaPossibility. substitute(Term<?> v, Term<?> t) -
Uses of Term in net.sf.tweety.logics.mln.reasoner
Methods in net.sf.tweety.logics.mln.reasoner with parameters of type Term Modifier and Type Method Description private java.lang.StringAlchemyMlnReasoner. alchemyStringForTerm(Term<?> t)Returns the string in Alchemy syntax representing the given term. -
Uses of Term in net.sf.tweety.logics.mln.syntax
Methods in net.sf.tweety.logics.mln.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>MlnFormula. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.logics.mln.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>MlnFormula. getTerms()Methods in net.sf.tweety.logics.mln.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaMlnFormula. substitute(Term<?> v, Term<?> t) -
Uses of Term in net.sf.tweety.logics.pl.syntax
Methods in net.sf.tweety.logics.pl.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.List<? extends Term<?>>Proposition. getArguments()Methods in net.sf.tweety.logics.pl.syntax with parameters of type Term Modifier and Type Method Description voidProposition. addArgument(Term<?> arg) -
Uses of Term in net.sf.tweety.logics.rcl.syntax
Methods in net.sf.tweety.logics.rcl.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>RelationalConditional. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.logics.rcl.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>RelationalConditional. getTerms()Methods in net.sf.tweety.logics.rcl.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaRelationalConditional. substitute(Term<?> v, Term<?> t) -
Uses of Term in net.sf.tweety.logics.rdl.syntax
Methods in net.sf.tweety.logics.rdl.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>DefaultRule. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.logics.rdl.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>DefaultRule. getTerms()Methods in net.sf.tweety.logics.rdl.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaDefaultRule. substitute(Term<?> v, Term<?> t) -
Uses of Term in net.sf.tweety.logics.rpcl.syntax
Methods in net.sf.tweety.logics.rpcl.syntax with parameters of type Term Modifier and Type Method Description RpclBeliefSetRpclBeliefSet. exchange(Term<?> a, Term<?> b)Exchanges every occurence of "a" by "b" and vice versa.RelationalFormulaRelationalProbabilisticConditional. substitute(Term<?> v, Term<?> t) -
Uses of Term in net.sf.tweety.lp.asp.parser
Methods in net.sf.tweety.lp.asp.parser that return Term Modifier and Type Method Description Term<?>InstantiateVisitor. visit(ASTAriTerm node, java.lang.Object data)Term<?>InstantiateVisitor. visit(ASTTerm node, java.lang.Object data)Methods in net.sf.tweety.lp.asp.parser that return types with arguments of type Term Modifier and Type Method Description java.util.List<Term<?>>InstantiateVisitor. visit(ASTTermList node, java.lang.Object data)java.util.List<Term<?>>InstantiateVisitor. visit(ASTWeight node, java.lang.Object data) -
Uses of Term in net.sf.tweety.lp.asp.syntax
Classes in net.sf.tweety.lp.asp.syntax that implement Term Modifier and Type Class Description classArithmeticTermThis class represents an arithmetic term in the ASP-Core-2 format.Fields in net.sf.tweety.lp.asp.syntax declared as Term Modifier and Type Field Description private Term<?>ComparativeAtom. leftThe left term of the comparative atom.private Term<?>AggregateAtom. leftGuardA term that the aggregate's resulting value will be compared to using the comparative operator.private Term<?>ASPRule. levelprivate Term<?>ComparativeAtom. rightThe right term of the comparative atom.private Term<?>AggregateAtom. rightGuardA term that the aggregate's resulting value will be compared to using the comparative operator.private Term<?>ASPRule. weightAdditional attributes that can be used for weak constraints (rules with empty heads).Fields in net.sf.tweety.lp.asp.syntax with type parameters of type Term Modifier and Type Field Description protected java.util.List<Term<?>>ASPAtom. argumentsA list of arguments of the atomprivate java.util.List<Term<?>>ASPRule. constraint_termsprivate java.util.List<Term<?>>AggregateElement. leftThe term tuple of the aggregate element.Methods in net.sf.tweety.lp.asp.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
booleanASPElement. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
booleanASPHead. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>AggregateAtom. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>AggregateElement. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ASPAtom. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ASPHead. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ASPRule. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ComparativeAtom. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>DefaultNegation. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>StrictNegation. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.lp.asp.syntax that return Term Modifier and Type Method Description Term<?>ArithmeticTerm. getLeft()Returns the left subterm of this arithmetic term.Term<?>ComparativeAtom. getLeft()Returns the left (first) term of the comparative atom.Term<?>AggregateAtom. getLeftGuard()Get the left relation term (right guard).Term<?>ASPRule. getLevel()Term<?>ArithmeticTerm. getRight()Returns the right subterm of this arithmetic term.Term<?>ComparativeAtom. getRight()Returns the right (second) term of the comparative atom.Term<?>AggregateAtom. getRightGuard()Returns the right relation term (right guard).Term<?>ASPAtom. getTerm(int i)Term<?>ASPRule. getWeight()Methods in net.sf.tweety.lp.asp.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.List<? extends Term<?>>ASPAtom. getArguments()java.util.List<? extends Term<?>>StrictNegation. getArguments()java.util.List<Term<?>>ASPRule. getConstraintTerms()java.util.List<Term<?>>AggregateElement. getLeft()Returns the left part of the Aggregate element.java.util.Set<Term<?>>AggregateAtom. getTerms()java.util.Set<Term<?>>AggregateElement. getTerms()java.util.Set<Term<?>>ASPAtom. getTerms()java.util.Set<Term<?>>ASPHead. getTerms()java.util.Set<Term<?>>ASPRule. getTerms()java.util.Set<Term<?>>ComparativeAtom. getTerms()java.util.Set<Term<?>>DefaultNegation. getTerms()java.util.Set<Term<?>>StrictNegation. getTerms()Methods in net.sf.tweety.lp.asp.syntax with parameters of type Term Modifier and Type Method Description voidASPAtom. addArgument(Term<?> arg)voidStrictNegation. addArgument(Term<?> arg)ASPAtomASPAtom. cloneWithAddedTerm(Term<?> term)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)AggregateElementAggregateElement. exchange(Term<?> v, Term<?> t)ASPElementASPElement. exchange(Term<?> v, Term<?> t)ASPHeadASPHead. exchange(Term<?> v, Term<?> t)ASPRuleASPRule. exchange(Term<?> v, Term<?> t)ProgramProgram. exchange(Term<?> v, Term<?> t)voidAggregateAtom. setLeftGuard(Term<?> relationTerm)Set the left relation term (right guard).voidASPRule. setLevel(Term<?> level)voidAggregateAtom. setRightGuard(Term<?> relationTerm)Set the right relation term (right guard).voidASPRule. setWeight(Term<?> weight)AggregateAtomAggregateAtom. substitute(Term<?> t, Term<?> v)AggregateElementAggregateElement. substitute(Term<?> t, Term<?> v)ASPAtomASPAtom. substitute(Term<?> v, Term<?> t)abstract ASPBodyElementASPBodyElement. substitute(Term<?> t, Term<?> v)abstract ASPElementASPElement. substitute(Term<?> t, Term<?> v)ASPHeadASPHead. substitute(Term<?> t, Term<?> v)ASPRuleASPRule. substitute(Term<?> v, Term<?> t)ComparativeAtomComparativeAtom. substitute(Term<?> t, Term<?> v)ASPBodyElementDefaultNegation. substitute(Term<?> t, Term<?> v)ProgramProgram. substitute(Term<?> v, Term<?> t)StrictNegationStrictNegation. substitute(Term<?> v, Term<?> t)Method parameters in net.sf.tweety.lp.asp.syntax with type arguments of type Term Modifier and Type Method Description AggregateElementAggregateElement. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)AggregateElementAggregateElement. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ASPElementASPElement. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ASPElementASPElement. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ASPHeadASPHead. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ASPHeadASPHead. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ProgramProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ProgramProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)Constructors in net.sf.tweety.lp.asp.syntax with parameters of type Term Constructor Description AggregateAtom(ASPOperator.AggregateFunction func, java.util.List<AggregateElement> elements, ASPOperator.BinaryOperator relation, Term<?> t)Creates a new Aggregate with the given aggregate function, the given aggregate elements, and the given aggregate relation.AggregateAtom(ASPOperator.AggregateFunction func, java.util.List<AggregateElement> elements, ASPOperator.BinaryOperator relation, Term<?> t, ASPOperator.BinaryOperator relation2, Term<?> t2)Creates a new Aggregate with the given aggregate function, the given aggregate elements, and the given left and right aggregate relations.ArithmeticTerm(ASPOperator.ArithmeticOperator op, Term<?> t)Creates an arithmetic term of the form -(t)ArithmeticTerm(ASPOperator.ArithmeticOperator op, Term<?> left, Term<?> right)ASPAtom(java.lang.String symbol, Term<?>... terms)Creates an atom with the given predicate as name and the given terms as argumentASPRule(java.util.List<ASPBodyElement> nafliterals, Term<?> weight, java.util.List<Term<?>> terms)Creates a constraint with the given weight and terms.ASPRule(java.util.List<ASPBodyElement> body, Term<?> weight, Term<?> level, java.util.List<Term<?>> terms)Creates a constraint with the given weight, level and terms.ComparativeAtom(ASPOperator.BinaryOperator op, Term<?> left, Term<?> right)Constructor parameters in net.sf.tweety.lp.asp.syntax with type arguments of type Term Constructor Description AggregateElement(java.util.List<Term<?>> l, java.util.List<ASPBodyElement> r)Creates a new Aggregate Element with the given list of terms and the given list of naf literals.ArithmeticTerm(Triple<ASPOperator.ArithmeticOperator,Term<?>,Term<?>> triple)ArithmeticTerm(Triple<ASPOperator.ArithmeticOperator,Term<?>,Term<?>> triple)ASPAtom(Predicate p, java.util.List<Term<?>> terms)Creates a new atom with the given predicate and terms.StrictNegation(Predicate p, java.util.List<Term<?>> terms)Creates a new negation with the given predicate and terms. -
Uses of Term in net.sf.tweety.lp.nlp.syntax
Methods in net.sf.tweety.lp.nlp.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
java.util.Set<C>NLPNot. getTerms(java.lang.Class<C> cls)Methods in net.sf.tweety.lp.nlp.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>NLPNot. getTerms()java.util.Set<Term<?>>NLPRule. getTerms()Methods in net.sf.tweety.lp.nlp.syntax with parameters of type Term Modifier and Type Method Description NLPProgramNLPProgram. exchange(Term<?> v, Term<?> t)NLPNotNLPNot. substitute(Term<?> v, Term<?> t)NLPProgramNLPProgram. substitute(Term<?> t, Term<?> v)NLPRuleNLPRule. substitute(Term<?> v, Term<?> t)Method parameters in net.sf.tweety.lp.nlp.syntax with type arguments of type Term Modifier and Type Method Description NLPProgramNLPProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)NLPProgramNLPProgram. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)
-