Uses of Interface
org.tweetyproject.action.grounding.GroundingRequirement
Package
Description
-
Uses of GroundingRequirement in org.tweetyproject.action.description.syntax
Modifier and TypeMethodDescriptionvoid
Adds a grounding requirement to this CLaw.ModifierConstructorDescriptionCLaw
(FolFormula headFormula, Set<GroundingRequirement> requirements) Creates a causal law of the form "caused headFormula if True requires requirements"CLaw
(FolFormula headFormula, FolFormula ifFormula, Set<GroundingRequirement> requirements) Creates a causal law of the form "caused headFormula if ifFormula requires requirements"DynamicLaw
(FolFormula headFormula, FolFormula afterFormula, Set<GroundingRequirement> requirements) Creates a new dynamic law of the form "caused headFormula after afterFormula" requires requirementsDynamicLaw
(FolFormula headFormula, FolFormula ifFormula, FolFormula afterFormula, Set<GroundingRequirement> requirements) Creates a new dynamic law of the form: "caused headFormula if ifFormula after afterFormula requires requirements"StaticLaw
(FolFormula headFormula, Set<GroundingRequirement> requirements) Creates an empty static law of the form "caused headFormula if True requires requirements"StaticLaw
(FolFormula headFormula, FolFormula ifFormula, Set<GroundingRequirement> requirements) Creates an empty static law of the form "caused headFormula if ifFormula" requires requirements -
Uses of GroundingRequirement in org.tweetyproject.action.grounding
Modifier and TypeClassDescriptionclass
This class represents a single grounding requirement stating that a variable is not allowed to be substituted by a specific constant.class
This class represents a single grounding requirement stating that two variables are not allowed to be substituted by the same constant.Modifier and TypeMethodDescriptionstatic boolean
GroundingTools.isValidGroundingApplication
(Map<Variable, Constant> map, Set<GroundingRequirement> requirements) Checks a grounding application for compliance with the grounding requirements. -
Uses of GroundingRequirement in org.tweetyproject.action.grounding.parser
Modifier 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.Modifier and TypeMethodDescriptionGroundingRequirementsParser.parseRequirements
(String s, Set<Variable> variables) Parses a string of the following form: REQUIREMENT ("," REQUIREMENT)* -
Uses of GroundingRequirement in org.tweetyproject.action.query.syntax
Modifier and TypeMethodDescriptionSActionQuery.getGroundingRequirements()
Returns all grounding requirements, that have to be met, when this action query is grounded.ModifierConstructorDescriptionSActionQuery
(PlFormula formula, Set<GroundingRequirement> requirements) Creates a new action query with the given propositional formula and grounding requirements.