Uses of Interface
org.tweetyproject.logics.commons.syntax.interfaces.Term
-
-
-
Uses of Term in org.tweetyproject.action.query.syntax
Method parameters in org.tweetyproject.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 org.tweetyproject.action.signature
Method parameters in org.tweetyproject.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 org.tweetyproject.arg.aba.syntax
Methods in org.tweetyproject.arg.aba.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
booleanAbaElement. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>Assumption. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>InferenceRule. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>Negation. getTerms(java.lang.Class<C> cls)Methods in org.tweetyproject.arg.aba.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<java.util.Map<Variable,Term<?>>>AbaElement. allSubstitutions(java.util.Collection<? extends Term<?>> terms)Computes all possible substitutions, i.e.java.util.Set<Term<?>>Assumption. getTerms()java.util.Set<Term<?>>InferenceRule. getTerms()java.util.Set<Term<?>>Negation. getTerms()Methods in org.tweetyproject.arg.aba.syntax with parameters of type Term Modifier and Type Method Description AbaElement<T>AbaElement. exchange(Term<?> v, Term<?> t)abstract AbaElement<T>AbaElement. substitute(Term<?> v, Term<?> t)Assumption<T>Assumption. substitute(Term<?> v, Term<?> t)AbaElement<T>InferenceRule. substitute(Term<?> v, Term<?> t)Negation<T>Negation. substitute(Term<?> v, Term<?> t)Method parameters in org.tweetyproject.arg.aba.syntax with type arguments of type Term Modifier and Type Method Description java.util.Set<java.util.Map<Variable,Term<?>>>AbaElement. allSubstitutions(java.util.Collection<? extends Term<?>> terms)Computes all possible substitutions, i.e.AbaElement<T>AbaElement. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)AbaElement<T>AbaElement. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map) -
Uses of Term in org.tweetyproject.arg.aspic.syntax
Methods in org.tweetyproject.arg.aspic.syntax with type parameters of type Term Modifier and Type Method Description <C extends Term<?>>
booleanInferenceRule. containsTermsOfType(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>InferenceRule. getTerms(java.lang.Class<C> cls)Methods in org.tweetyproject.arg.aspic.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<java.util.Map<Variable,Term<?>>>InferenceRule. allSubstitutions(java.util.Collection<? extends Term<?>> terms)Computes all possible substitutions, i.e.java.util.Set<Term<?>>InferenceRule. getTerms()Methods in org.tweetyproject.arg.aspic.syntax with parameters of type Term Modifier and Type Method Description InferenceRule<T>InferenceRule. exchange(Term<?> v, Term<?> t)DefeasibleInferenceRule<T>DefeasibleInferenceRule. substitute(Term<?> v, Term<?> t)abstract InferenceRule<T>InferenceRule. substitute(Term<?> v, Term<?> t)StrictInferenceRule<T>StrictInferenceRule. substitute(Term<?> v, Term<?> t)Method parameters in org.tweetyproject.arg.aspic.syntax with type arguments of type Term Modifier and Type Method Description java.util.Set<java.util.Map<Variable,Term<?>>>InferenceRule. allSubstitutions(java.util.Collection<? extends Term<?>> terms)Computes all possible substitutions, i.e.InferenceRule<T>InferenceRule. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)InferenceRule<T>InferenceRule. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map) -
Uses of Term in org.tweetyproject.arg.delp.parser
Methods in org.tweetyproject.arg.delp.parser that return Term Modifier and Type Method Description TermDelpParser. Term(DefeasibleLogicProgram delp, FolSignature signature) -
Uses of Term in org.tweetyproject.arg.delp.syntax
Methods in org.tweetyproject.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 org.tweetyproject.arg.delp.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>DelpRule. getTerms()Methods in org.tweetyproject.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 org.tweetyproject.arg.dung.ldo.syntax
Methods in org.tweetyproject.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 org.tweetyproject.arg.dung.ldo.syntax with parameters of type Term Modifier and Type Method Description voidLdoArgument. addArgument(Term<?> arg) -
Uses of Term in org.tweetyproject.logics.commons.syntax
Classes in org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.logics.commons.syntax with parameters of type Term Constructor Description FunctionalTerm(Functor functor, Term<?>... terms)Constructor parameters in org.tweetyproject.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 org.tweetyproject.logics.commons.syntax.interfaces
Methods in org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.logics.dl.syntax
Classes in org.tweetyproject.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 org.tweetyproject.logics.fol.semantics
Methods in org.tweetyproject.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 org.tweetyproject.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 interpretation -
Uses of Term in org.tweetyproject.logics.fol.syntax
Methods in org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.logics.fol.syntax with parameters of type Term Constructor Description FolAtom(Predicate predicate, Term<?>... terms)Constructor parameters in org.tweetyproject.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 org.tweetyproject.logics.ml.semantics
Methods in org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.logics.ml.syntax
Methods in org.tweetyproject.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 org.tweetyproject.logics.ml.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>MlFormula. getTerms()Methods in org.tweetyproject.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 org.tweetyproject.logics.mln.syntax
Methods in org.tweetyproject.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 org.tweetyproject.logics.mln.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>MlnFormula. getTerms()Methods in org.tweetyproject.logics.mln.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaMlnFormula. substitute(Term<?> v, Term<?> t) -
Uses of Term in org.tweetyproject.logics.pl.syntax
Methods in org.tweetyproject.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 org.tweetyproject.logics.pl.syntax with parameters of type Term Modifier and Type Method Description voidProposition. addArgument(Term<?> arg) -
Uses of Term in org.tweetyproject.logics.rcl.syntax
Methods in org.tweetyproject.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 org.tweetyproject.logics.rcl.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>RelationalConditional. getTerms()Methods in org.tweetyproject.logics.rcl.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaRelationalConditional. substitute(Term<?> v, Term<?> t) -
Uses of Term in org.tweetyproject.logics.rdl.syntax
Methods in org.tweetyproject.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 org.tweetyproject.logics.rdl.syntax that return types with arguments of type Term Modifier and Type Method Description java.util.Set<Term<?>>DefaultRule. getTerms()Methods in org.tweetyproject.logics.rdl.syntax with parameters of type Term Modifier and Type Method Description RelationalFormulaDefaultRule. substitute(Term<?> v, Term<?> t) -
Uses of Term in org.tweetyproject.logics.rpcl.syntax
Methods in org.tweetyproject.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 org.tweetyproject.lp.asp.parser
Methods in org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.lp.asp.syntax
Classes in org.tweetyproject.lp.asp.syntax that implement Term Modifier and Type Class Description classArithmeticTermThis class represents an arithmetic term in the ASP-Core-2 format.Methods in org.tweetyproject.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<?>>
booleanClassicalHead. 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>AggregateHead. 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>ASPRule. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>ClassicalHead. 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>OptimizationElement. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>OptimizationStatement. getTerms(java.lang.Class<C> cls)<C extends Term<?>>
java.util.Set<C>StrictNegation. getTerms(java.lang.Class<C> cls)Methods in org.tweetyproject.lp.asp.syntax that return Term Modifier and Type Method Description Term<?>ArithmeticTerm. getLeft()Term<?>ComparativeAtom. getLeft()Term<?>AggregateAtom. getLeftGuard()Get the left relation term (right guard).Term<?>ASPRule. getLevel()Term<?>OptimizationElement. getLevel()Term<?>ArithmeticTerm. getRight()Term<?>ComparativeAtom. getRight()Term<?>AggregateAtom. getRightGuard()Term<?>ASPAtom. getTerm(int i)Term<?>ASPRule. getWeight()Term<?>OptimizationElement. getWeight()Methods in org.tweetyproject.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()java.util.List<Term<?>>OptimizationElement. getOptTerms()java.util.Set<Term<?>>AggregateAtom. getTerms()java.util.Set<Term<?>>AggregateElement. getTerms()java.util.Set<Term<?>>AggregateHead. getTerms()java.util.Set<Term<?>>ASPAtom. getTerms()java.util.Set<Term<?>>ASPRule. getTerms()java.util.Set<Term<?>>ClassicalHead. getTerms()java.util.Set<Term<?>>ComparativeAtom. getTerms()java.util.Set<Term<?>>DefaultNegation. getTerms()java.util.Set<Term<?>>OptimizationElement. getTerms()java.util.Set<Term<?>>OptimizationStatement. getTerms()java.util.Set<Term<?>>StrictNegation. getTerms()Methods in org.tweetyproject.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)ASPRuleASPRule. exchange(Term<?> v, Term<?> t)ClassicalHeadClassicalHead. exchange(Term<?> v, Term<?> t)ProgramProgram. exchange(Term<?> v, Term<?> t)voidAggregateAtom. setLeft(Term<?> term, ASPOperator.BinaryOperator op)Set the left relation term and operator.voidAggregateAtom. setLeftGuard(Term<?> relationTerm)Set the left relation term (right guard).voidASPRule. setLevel(Term<?> level)Set the level attribute of this constraint.voidOptimizationElement. setLevel(Term<?> l)Sets the level (priority) of this optimization statement.voidAggregateAtom. setRight(Term<?> term, ASPOperator.BinaryOperator op)Set the right relation term and operator.voidAggregateAtom. setRightGuard(Term<?> relationTerm)Set the right relation term (right guard).voidASPRule. setWeight(Term<?> weight)Set the weight attribute of this constraint.voidOptimizationElement. setWeight(Term<?> w)Sets the weight of this optimization statement.AggregateAtomAggregateAtom. substitute(Term<?> t, Term<?> v)AggregateElementAggregateElement. substitute(Term<?> t, Term<?> v)ASPElementAggregateHead. 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)ASPRuleASPRule. substitute(Term<?> v, Term<?> t)ClassicalHeadClassicalHead. substitute(Term<?> t, Term<?> v)ComparativeAtomComparativeAtom. substitute(Term<?> t, Term<?> v)ASPBodyElementDefaultNegation. substitute(Term<?> t, Term<?> v)OptimizationElementOptimizationElement. substitute(Term<?> t, Term<?> v)OptimizationStatementOptimizationStatement. substitute(Term<?> t, Term<?> v)ProgramProgram. substitute(Term<?> v, Term<?> t)StrictNegationStrictNegation. substitute(Term<?> v, Term<?> t)Method parameters in org.tweetyproject.lp.asp.syntax with type arguments of type Term Modifier and Type Method Description voidAggregateElement. setLeft(java.util.List<Term<?>> terms)Sets the term tuple of the aggregate element.voidOptimizationElement. setOptTerms(java.util.List<Term<?>> terms)Set the term tuple of this optimization element.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)ClassicalHeadClassicalHead. substitute(java.util.Map<? extends Term<?>,? extends Term<?>> map)ClassicalHeadClassicalHead. 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 org.tweetyproject.lp.asp.syntax with parameters of type Term Constructor Description AggregateAtom(ASPOperator.AggregateFunction function, java.util.List<AggregateElement> elements, ASPOperator.BinaryOperator rightRelation, Term<?> rightBound)Creates a new Aggregate of the form "#func { elements } op rightBound" with the given aggregate function #func, the given aggregate elements, the given aggregate relation op and the given rightBound.AggregateAtom(ASPOperator.AggregateFunction function, java.util.List<AggregateElement> elements, ASPOperator.BinaryOperator leftRelation, Term<?> leftBound, ASPOperator.BinaryOperator rightRelation, Term<?> rightBound)Creates a new Aggregate of the form "leftBound leftOp #func { elements } rightOp rightBound" with the given aggregate function, the given aggregate elements, and the given left and right aggregate relations and bounds.AggregateElement(Term<?> term, java.util.List<ASPBodyElement> literals)Creates a new Aggregate Element with the given single term and the given list of naf literals.AggregateElement(Term<?> term, ASPBodyElement literal)Creates a new Aggregate Element with the given single term and the given single literal.AggregateElement(Term<?> term, ASPBodyElement... literals)Creates a new Aggregate Element with the given single term and the given naf literals.ArithmeticTerm(Term<?> t)Creates an arithmetic term of the form '-(t)'ArithmeticTerm(ASPOperator.ArithmeticOperator op, Term<?> t)Creates an arithmetic term of the form '-(t)'ArithmeticTerm(ASPOperator.ArithmeticOperator op, Term<?> left, Term<?> right)Create a new arithmetic term with the given operator and left and right term.ASPAtom(java.lang.String symbol, Term<?>... terms)Creates an atom with the given predicate as name and the given terms as argumentASPAtom(Predicate p, Term<?>... terms)Creates a new atom with the given predicate and terms.ASPRule(java.util.List<ASPBodyElement> nafliterals, Term<?> weight, java.util.List<Term<?>> terms)Creates a weak constraint with the given weight and terms.ASPRule(java.util.List<ASPBodyElement> body, Term<?> weight, Term<?> level, java.util.List<Term<?>> terms)Creates a weak constraint with the given weight, level (priority) and terms.ComparativeAtom(ASPOperator.BinaryOperator op, Term<?> left, Term<?> right)Create a new comparative atom with the given operator and left and right term.OptimizationElement(Term<?> weight, int priority, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Create a new optimization statement with the given weight, priority, terms and literals.OptimizationElement(Term<?> weight, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Create a new optimization statement with the given weight, terms and literals.OptimizationElement(Term<?> weight, Term<?> priority, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Create a new optimization statement with the given weight, priority, terms and literals.OptimizationElement(Term<?> weight, Term<?> term, ASPBodyElement literal)Create a new optimization statement with the given single weight, term and literal.OptimizationStatement(ASPOperator.OptimizeFunction function, Term<?> weight, int priority, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Creates a new OptimizatonStatement with the given function, weight, priority and single term-literal tuple.OptimizationStatement(ASPOperator.OptimizeFunction function, Term<?> weight, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Creates a new OptimizatonStatement with the given function, weight and single term-literal tuple.Constructor parameters in org.tweetyproject.lp.asp.syntax with type arguments of type Term Constructor Description AggregateElement(java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)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)Create a new arithmetic term based on the given triple of an arithmetic operator and two terms.ArithmeticTerm(Triple<ASPOperator.ArithmeticOperator,Term<?>,Term<?>> triple)Create a new arithmetic term based on the given triple of an arithmetic operator and two terms.ASPAtom(Predicate p, java.util.List<Term<?>> terms)Creates a new atom with the given predicate and terms.OptimizationElement(Term<?> weight, int priority, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Create a new optimization statement with the given weight, priority, terms and literals.OptimizationElement(Term<?> weight, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Create a new optimization statement with the given weight, terms and literals.OptimizationElement(Term<?> weight, Term<?> priority, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Create a new optimization statement with the given weight, priority, terms and literals.OptimizationStatement(ASPOperator.OptimizeFunction function, Term<?> weight, int priority, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Creates a new OptimizatonStatement with the given function, weight, priority and single term-literal tuple.OptimizationStatement(ASPOperator.OptimizeFunction function, Term<?> weight, java.util.List<Term<?>> terms, java.util.List<ASPBodyElement> literals)Creates a new OptimizatonStatement with the given function, weight and single term-literal tuple.StrictNegation(Predicate p, java.util.List<Term<?>> terms)Creates a new negation with the given predicate and terms. -
Uses of Term in org.tweetyproject.lp.nlp.syntax
Methods in org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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 org.tweetyproject.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)
-