Uses of Class
org.tweetyproject.logics.commons.syntax.RelationalFormula
Packages that use RelationalFormula
Package
Description
-
Uses of RelationalFormula in org.tweetyproject.arg.delp.syntax
Subclasses of RelationalFormula in org.tweetyproject.arg.delp.syntaxModifier and TypeClassDescriptionclassThis class models a defeasible rule in defeasible logic programming.final classThis class implements a fact in defeasible logic programming which encapsulates a literal.classThis method is the superclass for both a strict rule and a defeasible rule in defeasible logic programming and captures their common attributes and methods.classThis class models a strict rule in defeasible logic programming.Methods in org.tweetyproject.arg.delp.syntax that return RelationalFormulaModifier and TypeMethodDescriptionDefeasibleRule.clone()StrictRule.clone()DelpRule.complement()DefeasibleRule.substitute(Term<?> v, Term<?> t) DelpFact.substitute(Term<?> v, Term<?> t) abstract RelationalFormulaDelpRule.substitute(Term<?> v, Term<?> t) StrictRule.substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in org.tweetyproject.logics.commons.syntax
Classes in org.tweetyproject.logics.commons.syntax with type parameters of type RelationalFormulaModifier and TypeClassDescriptionclassQuantifiedFormulaSupport<T extends RelationalFormula>This class provides common functionalities for quantified formulas, i.e.Methods in org.tweetyproject.logics.commons.syntax that return RelationalFormulaModifier and TypeMethodDescriptionabstract RelationalFormulaRelationalFormula.clone()abstract RelationalFormulaRelationalFormula.complement()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.RelationalFormula.getFormula()RelationalFormula.substitute(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.abstract RelationalFormulaRelationalFormula.substitute(Term<?> v, Term<?> t) Substitutes all occurrences of term "v" in this formula by term "t" and returns the new formula.Methods in org.tweetyproject.logics.commons.syntax that return types with arguments of type RelationalFormulaModifier and TypeMethodDescriptionRelationalFormula.allGroundInstances(Set<Constant> constants) Computes all ground instances of this relational formula wrt. -
Uses of RelationalFormula in org.tweetyproject.logics.fol.syntax
Subclasses of RelationalFormula in org.tweetyproject.logics.fol.syntaxModifier and TypeClassDescriptionclassThis class captures the common functionalities first order associative formulas like conjunction, disjunction, etc.classThe classical conjunction of first-order logic.classA contradictory formula.classThe classical disjunction of first-order logic.classThe equivalence of first-order logic.classThe exclusive disjunction (XOR) in first-order logic.classExists-quantified first-order logic formula.classAn atom in first-order logic, i.e.classThe common abstract class for formulas of first-order logic.classFor-All-quantified first-order logic formula.classThe implication of first-order logic.classThe classical negation of first-order logic.classThis class captures the common functionalities of the special formulas tautology and contradiction.classA tautological formula.Classes in org.tweetyproject.logics.fol.syntax that implement interfaces with type arguments of type RelationalFormulaModifier and TypeClassDescriptionclassThis class captures the common functionalities first order associative formulas like conjunction, disjunction, etc.Methods in org.tweetyproject.logics.fol.syntax that return RelationalFormulaModifier and TypeMethodDescriptionConjunction.collapseAssociativeFormulas()Disjunction.collapseAssociativeFormulas()Equivalence.collapseAssociativeFormulas()ExclusiveDisjunction.collapseAssociativeFormulas()abstract RelationalFormulaFolFormula.collapseAssociativeFormulas()This method collapses all associative operations appearing in this term, e.g.Implication.collapseAssociativeFormulas()FolFormula.complement()AssociativeFolFormula.get(int index) Implication.getFirstFormula()Get the left side formula of the implication left => right.Implication.getSecondFormula()Get the right side formula of the implication left => rightAssociativeFolFormula.remove(int index) AssociativeFolFormula.set(int index, RelationalFormula element) Methods in org.tweetyproject.logics.fol.syntax that return types with arguments of type RelationalFormulaModifier and TypeMethodDescriptionAssociativeFolFormula.getFormulas()Equivalence.getFormulas()Returns the formulas of the equivalence.Equivalence.getFormulas()Returns the formulas of the equivalence.Implication.getFormulas()Returns the formulas of the implication.Implication.getFormulas()Returns the formulas of the implication.AssociativeFolFormula.iterator()AssociativeFolFormula.listIterator()AssociativeFolFormula.listIterator(int index) AssociativeFolFormula.subList(int fromIndex, int toIndex) Methods in org.tweetyproject.logics.fol.syntax with parameters of type RelationalFormulaModifier and TypeMethodDescriptionvoidAssociativeFolFormula.add(int index, RelationalFormula element) booleanAssociativeFolFormula.add(RelationalFormula e) AssociativeFolFormula.set(int index, RelationalFormula element) voidImplication.setFirstFormula(RelationalFormula left) Sets the left side formula of the implication left => rightvoidEquivalence.setFormulas(RelationalFormula formula1, RelationalFormula formula2) Sets the formulas of the equivalence.voidImplication.setFormulas(RelationalFormula left, RelationalFormula right) Sets the formulas of the implication.voidImplication.setSecondFormula(RelationalFormula right) Sets the right side formula of the implication left => rightMethod parameters in org.tweetyproject.logics.fol.syntax with type arguments of type RelationalFormulaModifier and TypeMethodDescriptionbooleanAssociativeFolFormula.addAll(int index, Collection<? extends RelationalFormula> c) booleanAssociativeFolFormula.addAll(Collection<? extends RelationalFormula> c) voidEquivalence.setFormulas(Pair<RelationalFormula, RelationalFormula> formulas) Sets the formulas of the equivalence.voidEquivalence.setFormulas(Pair<RelationalFormula, RelationalFormula> formulas) Sets the formulas of the equivalence.voidImplication.setFormulas(Pair<RelationalFormula, RelationalFormula> formulas) Sets the formulas of the implication.voidImplication.setFormulas(Pair<RelationalFormula, RelationalFormula> formulas) Sets the formulas of the implication.Constructors in org.tweetyproject.logics.fol.syntax with parameters of type RelationalFormulaModifierConstructorDescriptionAssociativeFolFormula(RelationalFormula first, RelationalFormula second) Creates a new associative formula with the two given formulaeConjunction(RelationalFormula first, RelationalFormula second) Creates a new conjunction with the two given formulaeDisjunction(RelationalFormula first, RelationalFormula second) Creates a new disjunction with the two given formulaeCreates a new equivalence with the given two formulasExclusiveDisjunction(RelationalFormula first, RelationalFormula second) Creates a new exclusive disjunction with the two given formulaeExistsQuantifiedFormula(RelationalFormula folFormula, Set<Variable> variables) Creates a new quantified folFormula with the given folFormula and variables.ExistsQuantifiedFormula(RelationalFormula folFormula, Variable variable) Creates a new quantified folFormula with the given folFormula and variable.ForallQuantifiedFormula(RelationalFormula folFormula, Set<Variable> variables) Creates a new quantified folFormula with the given folFormula and variables.ForallQuantifiedFormula(RelationalFormula folFormula, Variable variable) Creates a new quantified folFormula with the given folFormula and variable.Creates a new implication a=>b with the two given formulasNegation(RelationalFormula formula) Relational formula to be negated.Constructor parameters in org.tweetyproject.logics.fol.syntax with type arguments of type RelationalFormulaModifierConstructorDescriptionAssociativeFolFormula(Collection<? extends RelationalFormula> formulas) Creates a new associative formula with the given inner formulas.Conjunction(Collection<? extends RelationalFormula> formulas) Creates a new conjunction with the given inner formulas.Disjunction(Collection<? extends RelationalFormula> formulas) Creates a new disjunction with the given inner formulas.Equivalence(Pair<RelationalFormula, RelationalFormula> formulas) Creates a new equivalence with the given pair of formulasEquivalence(Pair<RelationalFormula, RelationalFormula> formulas) Creates a new equivalence with the given pair of formulasExclusiveDisjunction(Collection<? extends RelationalFormula> formulas) Creates a new exclusive disjunction with the given inner formulas.Implication(Pair<RelationalFormula, RelationalFormula> formulas) Creates a new implication with the given pair of formulasImplication(Pair<RelationalFormula, RelationalFormula> formulas) Creates a new implication with the given pair of formulas -
Uses of RelationalFormula in org.tweetyproject.logics.fol.writer
Methods in org.tweetyproject.logics.fol.writer with parameters of type RelationalFormulaModifier and TypeMethodDescriptionvoidSPASSWriter.printProblem(FolBeliefSet kb, RelationalFormula formula) Prints the contents of a SPASS problem file for a given knowledge base and a formula. -
Uses of RelationalFormula in org.tweetyproject.logics.ml.parser
Subclasses with type arguments of type RelationalFormula in org.tweetyproject.logics.ml.parserMethods in org.tweetyproject.logics.ml.parser that return RelationalFormula -
Uses of RelationalFormula in org.tweetyproject.logics.ml.syntax
Subclasses of RelationalFormula in org.tweetyproject.logics.ml.syntaxModifier and TypeClassDescriptionclassThis class models a modal formula, i.e.classThis class models the necessity modality.classThis class models the possibility modality.Subclasses with type arguments of type RelationalFormula in org.tweetyproject.logics.ml.syntaxModifier and TypeClassDescriptionclassThis class models a modal knowledge base, i.e.Methods in org.tweetyproject.logics.ml.syntax that return RelationalFormulaModifier and TypeMethodDescriptionNecessity.collapseAssociativeFormulas()Possibility.collapseAssociativeFormulas()MlFormula.complement()MlFormula.getFormula()Constructors in org.tweetyproject.logics.ml.syntax with parameters of type RelationalFormulaModifierConstructorDescriptionMlFormula(RelationalFormula formula) Creates a new modal formula with the given inner formula.Necessity(RelationalFormula formula) Creates a new necessity formula with the given inner formulaPossibility(RelationalFormula formula) Creates a new possibility formula with the given inner formula.Constructor parameters in org.tweetyproject.logics.ml.syntax with type arguments of type RelationalFormulaModifierConstructorDescriptionMlBeliefSet(Set<RelationalFormula> formulas) Creates a new modal knowledge base with the given set of formulas. -
Uses of RelationalFormula in org.tweetyproject.logics.ml.writer
Methods in org.tweetyproject.logics.ml.writer with parameters of type RelationalFormulaModifier and TypeMethodDescriptionvoidSPASSWriter.printProblem(MlBeliefSet kb, RelationalFormula formula) Prints the contents of a SPASS problem file for a given knowledge base and a formula.voidMleanCoPWriter.printQuery(RelationalFormula f) Prints the query.Constructors in org.tweetyproject.logics.ml.writer with parameters of type RelationalFormulaModifierConstructorDescriptionMlWriter(RelationalFormula formula) Initializes a new `MlWriter` instance. -
Uses of RelationalFormula in org.tweetyproject.logics.mln.syntax
Subclasses of RelationalFormula in org.tweetyproject.logics.mln.syntaxModifier and TypeClassDescriptionclassInstances of this class represent first-order formulas with a weight.Methods in org.tweetyproject.logics.mln.syntax that return RelationalFormulaModifier and TypeMethodDescriptionMlnFormula.clone()MlnFormula.complement()MlnFormula.substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in org.tweetyproject.logics.rcl.syntax
Subclasses of RelationalFormula in org.tweetyproject.logics.rcl.syntaxModifier and TypeClassDescriptionclassInstances of this class represent relational conditionals.Methods in org.tweetyproject.logics.rcl.syntax that return RelationalFormulaModifier and TypeMethodDescriptionRelationalConditional.complement()RelationalConditional.substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in org.tweetyproject.logics.rdl.syntax
Subclasses of RelationalFormula in org.tweetyproject.logics.rdl.syntaxModifier and TypeClassDescriptionclassModels a default rule in Reiter's default logic, see [R.Methods in org.tweetyproject.logics.rdl.syntax that return RelationalFormulaModifier and TypeMethodDescriptionDefaultRule.clone()DefaultRule.complement()DefaultRule.substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in org.tweetyproject.logics.rpcl.syntax
Subclasses of RelationalFormula in org.tweetyproject.logics.rpcl.syntaxModifier and TypeClassDescriptionclassThis class represents a relational probabilistic conditional, i.e.Methods in org.tweetyproject.logics.rpcl.syntax that return RelationalFormulaModifier and TypeMethodDescriptionRelationalProbabilisticConditional.substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in org.tweetyproject.lp.nlp.syntax
Subclasses of RelationalFormula in org.tweetyproject.lp.nlp.syntaxModifier and TypeClassDescriptionclassA default negation of a first order formula, nested logic programs only allow not quantified formulas.