Uses of Class
net.sf.tweety.logics.commons.syntax.RelationalFormula
-
-
-
Uses of RelationalFormula in net.sf.tweety.arg.delp.syntax
Subclasses of RelationalFormula in net.sf.tweety.arg.delp.syntax Modifier and Type Class Description classDefeasibleRuleThis class models a defeasible rule in defeasible logic programming.classDelpFactThis class implements a fact in defeasible logic programming which encapsulates a literal.classDelpRuleThis method is the superclass for both a strict rule and a defeasible rule in defeasible logic programming and captures their common attributes and methods.classStrictRuleThis class models a strict rule in defeasible logic programming.Methods in net.sf.tweety.arg.delp.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaDefeasibleRule. clone()RelationalFormulaStrictRule. clone()RelationalFormulaDelpRule. complement()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 RelationalFormula in net.sf.tweety.logics.commons.syntax
Classes in net.sf.tweety.logics.commons.syntax with type parameters of type RelationalFormula Modifier and Type Class Description classQuantifiedFormulaSupport<T extends RelationalFormula>This class provides common functionalities for quantified formulas, i.e.Methods in net.sf.tweety.logics.commons.syntax that return RelationalFormula Modifier and Type Method Description abstract RelationalFormulaRelationalFormula. clone()abstract RelationalFormulaRelationalFormula. complement()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.RelationalFormulaRelationalFormula. getFormula()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.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 net.sf.tweety.logics.commons.syntax that return types with arguments of type RelationalFormula Modifier and Type Method Description java.util.Set<RelationalFormula>RelationalFormula. allGroundInstances(java.util.Set<Constant> constants)Computes all ground instances of this relational formula wrt. -
Uses of RelationalFormula in net.sf.tweety.logics.fol.syntax
Subclasses of RelationalFormula in net.sf.tweety.logics.fol.syntax Modifier and Type Class Description classAssociativeFolFormulaThis class captures the common functionalities first order associative formulas like conjunction, disjunction, etc.classConjunctionThe classical conjunction of first-order logic.classContradictionA contradictory formula.classDisjunctionThe classical disjunction of first-order logic.classEquivalenceThe equivalence of first-order logic.classExclusiveDisjunctionThe exclusive disjunction (XOR) in first-order logic.classExistsQuantifiedFormulaExists-quantified first-order logic formula.classFolAtomAn atom in first-order logic, i.e.classFolFormulaThe common abstract class for formulas of first-order logic.classForallQuantifiedFormulaFor-All-quantified first-order logic formula.classImplicationThe implication of first-order logic.classNegationThe classical negation of first-order logic.classSpecialFormulaThis class captures the common functionalities of the special formulas tautology and contradiction.classTautologyA tautological formula.Methods in net.sf.tweety.logics.fol.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaConjunction. collapseAssociativeFormulas()RelationalFormulaDisjunction. collapseAssociativeFormulas()RelationalFormulaEquivalence. collapseAssociativeFormulas()RelationalFormulaExclusiveDisjunction. collapseAssociativeFormulas()abstract RelationalFormulaFolFormula. collapseAssociativeFormulas()This method collapses all associative operations appearing in this term, e.g.RelationalFormulaImplication. collapseAssociativeFormulas()RelationalFormulaFolFormula. complement()RelationalFormulaAssociativeFolFormula. get(int index)RelationalFormulaAssociativeFolFormula. remove(int index)RelationalFormulaAssociativeFolFormula. set(int index, RelationalFormula element)Methods in net.sf.tweety.logics.fol.syntax that return types with arguments of type RelationalFormula Modifier and Type Method Description java.util.List<RelationalFormula>AssociativeFolFormula. getFormulas()Pair<RelationalFormula,RelationalFormula>Equivalence. getFormulas()Returns the formulas of the equivalence.Pair<RelationalFormula,RelationalFormula>Equivalence. getFormulas()Returns the formulas of the equivalence.Pair<RelationalFormula,RelationalFormula>Implication. getFormulas()Returns the formulas of the implication.Pair<RelationalFormula,RelationalFormula>Implication. getFormulas()Returns the formulas of the implication.java.util.Iterator<RelationalFormula>AssociativeFolFormula. iterator()java.util.ListIterator<RelationalFormula>AssociativeFolFormula. listIterator()java.util.ListIterator<RelationalFormula>AssociativeFolFormula. listIterator(int index)java.util.List<RelationalFormula>AssociativeFolFormula. subList(int fromIndex, int toIndex)Methods in net.sf.tweety.logics.fol.syntax with parameters of type RelationalFormula Modifier and Type Method Description voidAssociativeFolFormula. add(int index, RelationalFormula element)booleanAssociativeFolFormula. add(RelationalFormula e)RelationalFormulaAssociativeFolFormula. set(int index, RelationalFormula element)voidEquivalence. setFormulas(RelationalFormula formula1, RelationalFormula formula2)Sets the formulas of the equivalence.voidImplication. setFormulas(RelationalFormula left, RelationalFormula right)Sets the formulas of the implication.Method parameters in net.sf.tweety.logics.fol.syntax with type arguments of type RelationalFormula Modifier and Type Method Description booleanAssociativeFolFormula. addAll(int index, java.util.Collection<? extends RelationalFormula> c)booleanAssociativeFolFormula. addAll(java.util.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 net.sf.tweety.logics.fol.syntax with parameters of type RelationalFormula Constructor Description AssociativeFolFormula(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 formulaeEquivalence(RelationalFormula a, RelationalFormula b)Creates a new equivalence with the given two formulasExclusiveDisjunction(RelationalFormula first, RelationalFormula second)Creates a new exclusive disjunction with the two given formulaeExistsQuantifiedFormula(RelationalFormula folFormula, java.util.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, java.util.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.Implication(RelationalFormula a, RelationalFormula b)Creates a new implication a=>b with the two given formulasNegation(RelationalFormula formula)Constructor parameters in net.sf.tweety.logics.fol.syntax with type arguments of type RelationalFormula Constructor Description AssociativeFolFormula(java.util.Collection<? extends RelationalFormula> formulas)Creates a new associative formula with the given inner formulas.Conjunction(java.util.Collection<? extends RelationalFormula> formulas)Creates a new conjunction with the given inner formulas.Disjunction(java.util.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(java.util.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 net.sf.tweety.logics.fol.writer
Methods in net.sf.tweety.logics.fol.writer with parameters of type RelationalFormula Modifier and Type Method Description voidSPASSWriter. 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 net.sf.tweety.logics.ml.parser
Methods in net.sf.tweety.logics.ml.parser that return RelationalFormula Modifier and Type Method Description RelationalFormulaMlParser. parseFormula(java.io.Reader reader) -
Uses of RelationalFormula in net.sf.tweety.logics.ml.syntax
Subclasses of RelationalFormula in net.sf.tweety.logics.ml.syntax Modifier and Type Class Description classMlFormulaThis class models a modal formula, i.e.classNecessityThis class models the necessity modality.classPossibilityThis class models the possibility modality.Methods in net.sf.tweety.logics.ml.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaNecessity. collapseAssociativeFormulas()RelationalFormulaPossibility. collapseAssociativeFormulas()RelationalFormulaMlFormula. complement()RelationalFormulaMlFormula. getFormula()Returns the inner formula of this modal formula.Constructors in net.sf.tweety.logics.ml.syntax with parameters of type RelationalFormula Constructor Description MlFormula(RelationalFormula 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 formulaConstructor parameters in net.sf.tweety.logics.ml.syntax with type arguments of type RelationalFormula Constructor Description MlBeliefSet(java.util.Set<RelationalFormula> formulas)Creates a new modal knowledge base with the given set of formulas. -
Uses of RelationalFormula in net.sf.tweety.logics.ml.writer
Methods in net.sf.tweety.logics.ml.writer with parameters of type RelationalFormula Modifier and Type Method Description voidSPASSWriter. 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 net.sf.tweety.logics.ml.writer with parameters of type RelationalFormula Constructor Description MlWriter(RelationalFormula formula) -
Uses of RelationalFormula in net.sf.tweety.logics.mln.syntax
Subclasses of RelationalFormula in net.sf.tweety.logics.mln.syntax Modifier and Type Class Description classMlnFormulaInstances of this class represent first-order formulas with a weight.Methods in net.sf.tweety.logics.mln.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaMlnFormula. clone()RelationalFormulaMlnFormula. complement()RelationalFormulaMlnFormula. substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in net.sf.tweety.logics.rcl.syntax
Subclasses of RelationalFormula in net.sf.tweety.logics.rcl.syntax Modifier and Type Class Description classRelationalConditionalInstances of this class represent relational conditionals.Methods in net.sf.tweety.logics.rcl.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaRelationalConditional. complement()RelationalFormulaRelationalConditional. substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in net.sf.tweety.logics.rdl.syntax
Subclasses of RelationalFormula in net.sf.tweety.logics.rdl.syntax Modifier and Type Class Description classDefaultRuleModels a default rule in Reiter's default logic, see [R.Methods in net.sf.tweety.logics.rdl.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaDefaultRule. clone()RelationalFormulaDefaultRule. complement()RelationalFormulaDefaultRule. substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in net.sf.tweety.logics.rpcl.syntax
Subclasses of RelationalFormula in net.sf.tweety.logics.rpcl.syntax Modifier and Type Class Description classRelationalProbabilisticConditionalThis class represents a relational probabilistic conditional, i.e.Methods in net.sf.tweety.logics.rpcl.syntax that return RelationalFormula Modifier and Type Method Description RelationalFormulaRelationalProbabilisticConditional. substitute(Term<?> v, Term<?> t) -
Uses of RelationalFormula in net.sf.tweety.lp.nlp.syntax
Subclasses of RelationalFormula in net.sf.tweety.lp.nlp.syntax Modifier and Type Class Description classNLPNotA default negation of a first order formula, nested logic programs only allow not quantified formulas.
-