Uses of Class
org.tweetyproject.logics.commons.syntax.Variable
Packages that use Variable
Package
Description
-
Uses of Variable in org.tweetyproject.action.grounding
Methods in org.tweetyproject.action.grounding that return types with arguments of type VariableModifier and TypeMethodDescriptionGroundingTools.getAllSubstitutions
(Set<Variable> variables) Calculates all possible substitutions in the given set of variables using all possible constants of the same sort.GroundingTools.getAllSubstitutions
(Set<Variable> variables, Set<Constant> constants) Calculates all possible substitutions of variables for a given set of constantsMethod parameters in org.tweetyproject.action.grounding with type arguments of type VariableModifier and TypeMethodDescriptionGroundingTools.getAllSubstitutions
(Set<Variable> variables) Calculates all possible substitutions in the given set of variables using all possible constants of the same sort.GroundingTools.getAllSubstitutions
(Set<Variable> variables, Set<Constant> constants) Calculates all possible substitutions of variables for a given set of constantsboolean
This method checks if an assignment of constants to variables satisfies a given grounding condition.boolean
boolean
static boolean
GroundingTools.isValidGroundingApplication
(Map<Variable, Constant> map, Set<GroundingRequirement> requirements) Checks a grounding application for compliance with the grounding requirements.Constructors in org.tweetyproject.action.grounding with parameters of type VariableModifierConstructorDescriptionVarConstNeqRequirement
(Variable variable, Constant constant) Creates a new grounding requirement expressing, that the variable given may not be set to the specific constant.VarsNeqRequirement
(Variable first, Variable second) Creates a new grounding requirement for the two given variables that are not allowed to be set to the same constant in one ground instance. -
Uses of Variable in org.tweetyproject.action.grounding.parser
Method parameters in org.tweetyproject.action.grounding.parser with type arguments of type VariableModifier and TypeMethodDescriptionGroundingRequirementsParser.parseRequirement
(String s, Set<Variable> variables) Parses a string of the following form: (VARIABLENAME "<>" VARIABLENAME | VARIABLENAME "<>" CONSTANTNAME) where the constant CONSTANTNAME has to be of the same sort as the variable VARIABLENAME.GroundingRequirementsParser.parseRequirements
(String s, Set<Variable> variables) Parses a string of the following form: REQUIREMENT ("," REQUIREMENT)* -
Uses of Variable in org.tweetyproject.action.query.syntax
Methods in org.tweetyproject.action.query.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionSActionQuery.getInnerVariables()
Retrieves all inner variables that occur in state formulas and actions within this action query.AlwaysQuery.getVariables()
HoldsQuery.getVariables()
NecessarilyQuery.getVariables()
QueryProposition.getVariables()
Returns all variables occurring in the inner formulas and actions of this query proposition. -
Uses of Variable in org.tweetyproject.arg.aba.syntax
Methods in org.tweetyproject.arg.aba.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionAbaElement.allSubstitutions
(Collection<? extends Term<?>> terms) Computes all possible substitutions, i.e.AbaElement.getUnboundVariables()
Return unbound variables -
Uses of Variable in org.tweetyproject.arg.aspic.syntax
Methods in org.tweetyproject.arg.aspic.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionInferenceRule.allSubstitutions
(Collection<? extends Term<?>> terms) Computes all possible substitutions, i.e.InferenceRule.getUnboundVariables()
-
Uses of Variable in org.tweetyproject.arg.delp.syntax
Methods in org.tweetyproject.arg.delp.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionDelpRule.getQuantifierVariables()
DelpRule.getUnboundVariables()
Method parameters in org.tweetyproject.arg.delp.syntax with type arguments of type Variable -
Uses of Variable in org.tweetyproject.logics.commons.syntax
Methods in org.tweetyproject.logics.commons.syntax that return VariableMethods in org.tweetyproject.logics.commons.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionRelationalFormula.allSubstitutions
(Collection<? extends Term<?>> terms) Computes all possible substitutions, i.e.QuantifiedFormulaSupport.getQuantifierVariables()
Returns the set of variables that are quantified within this formula.QuantifiedFormulaSupport.getUnboundVariables()
Returns the set of unbound variables in the inner formula, excluding the quantified variables.Method parameters in org.tweetyproject.logics.commons.syntax with type arguments of type VariableModifier and TypeMethodDescriptionboolean
Checks whether the formula is closed when considering an additional set of bound variables.boolean
QuantifiedFormulaSupport.isWellBound
(Set<Variable> boundVariables) Checks whether the formula is well-bound when considering an additional set of bound variables.void
QuantifiedFormulaSupport.setQuantifierVariables
(Set<Variable> variables) Sets the set of variables that are quantified within this formula.Constructors in org.tweetyproject.logics.commons.syntax with parameters of type VariableModifierConstructorDescriptionCopy-Ctor: Creates a deep copy of the given VariableConstructor parameters in org.tweetyproject.logics.commons.syntax with type arguments of type VariableModifierConstructorDescriptionQuantifiedFormulaSupport
(T formula, Set<Variable> variables) Constructs a newQuantifiedFormulaSupport
instance with the specified formula and quantifier variables. -
Uses of Variable in org.tweetyproject.logics.commons.syntax.interfaces
Methods in org.tweetyproject.logics.commons.syntax.interfaces that return types with arguments of type VariableModifier and TypeMethodDescriptionQuantifiedFormula.getQuantifierVariables()
QuantifiedFormula.getUnboundVariables()
Method parameters in org.tweetyproject.logics.commons.syntax.interfaces with type arguments of type Variable -
Uses of Variable in org.tweetyproject.logics.fol.parser
Methods in org.tweetyproject.logics.fol.parser that return types with arguments of type VariableMethod parameters in org.tweetyproject.logics.fol.parser with type arguments of type VariableModifier and TypeMethodDescriptionvoid
FolParser.setVariables
(Map<String, Variable> variables) sets variables -
Uses of Variable in org.tweetyproject.logics.fol.syntax
Methods in org.tweetyproject.logics.fol.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionAssociativeFolFormula.getQuantifierVariables()
ExistsQuantifiedFormula.getQuantifierVariables()
returns all variablesFolFormula.getQuantifierVariables()
ForallQuantifiedFormula.getQuantifierVariables()
returns variablesAssociativeFolFormula.getUnboundVariables()
Equivalence.getUnboundVariables()
ExistsQuantifiedFormula.getUnboundVariables()
FolAtom.getUnboundVariables()
ForallQuantifiedFormula.getUnboundVariables()
Implication.getUnboundVariables()
Negation.getUnboundVariables()
SpecialFormula.getUnboundVariables()
LogicStructure.getVariables()
Return all variables that appear in this structure.Method parameters in org.tweetyproject.logics.fol.syntax with type arguments of type VariableModifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
AssociativeFolFormula.isWellBound
(Set<Variable> boundVariables) boolean
Equivalence.isWellBound
(Set<Variable> boundVariables) boolean
ExistsQuantifiedFormula.isWellBound
(Set<Variable> boundVariables) boolean
FolAtom.isWellBound
(Set<Variable> boundVariables) boolean
ForallQuantifiedFormula.isWellBound
(Set<Variable> boundVariables) boolean
Implication.isWellBound
(Set<Variable> boundVariables) boolean
Negation.isWellBound
(Set<Variable> boundVariables) boolean
SpecialFormula.isWellBound
(Set<Variable> boundVariables) void
ExistsQuantifiedFormula.setQuantifierVariables
(Set<Variable> variables) sets variablesvoid
ForallQuantifiedFormula.setQuantifierVariables
(Set<Variable> variables) sets vairablesConstructors in org.tweetyproject.logics.fol.syntax with parameters of type VariableModifierConstructorDescriptionExistsQuantifiedFormula
(RelationalFormula folFormula, Variable variable) Creates a new quantified folFormula with the given folFormula and variable.ForallQuantifiedFormula
(RelationalFormula folFormula, Variable variable) Creates a new quantified folFormula with the given folFormula and variable.Constructor parameters in org.tweetyproject.logics.fol.syntax with type arguments of type VariableModifierConstructorDescriptionExistsQuantifiedFormula
(RelationalFormula folFormula, Set<Variable> variables) Creates a new quantified folFormula with the given folFormula and variables.ForallQuantifiedFormula
(RelationalFormula folFormula, Set<Variable> variables) Creates a new quantified folFormula with the given folFormula and variables. -
Uses of Variable in org.tweetyproject.logics.ml.syntax
Methods in org.tweetyproject.logics.ml.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionMlFormula.getQuantifierVariables()
MlFormula.getUnboundVariables()
Method parameters in org.tweetyproject.logics.ml.syntax with type arguments of type Variable -
Uses of Variable in org.tweetyproject.logics.mln.syntax
Methods in org.tweetyproject.logics.mln.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionMlnFormula.getQuantifierVariables()
MlnFormula.getUnboundVariables()
Method parameters in org.tweetyproject.logics.mln.syntax with type arguments of type Variable -
Uses of Variable in org.tweetyproject.logics.rcl.syntax
Methods in org.tweetyproject.logics.rcl.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionRelationalConditional.getQuantifierVariables()
RelationalConditional.getUnboundVariables()
Method parameters in org.tweetyproject.logics.rcl.syntax with type arguments of type Variable -
Uses of Variable in org.tweetyproject.logics.rdl.syntax
Methods in org.tweetyproject.logics.rdl.syntax that return types with arguments of type VariableModifier and TypeMethodDescriptionDefaultRule.getQuantifierVariables()
DefaultRule.getUnboundVariables()
Method parameters in org.tweetyproject.logics.rdl.syntax with type arguments of type Variable -
Uses of Variable in org.tweetyproject.lp.nlp.syntax
Methods in org.tweetyproject.lp.nlp.syntax that return types with arguments of type VariableMethod parameters in org.tweetyproject.lp.nlp.syntax with type arguments of type Variable