public class GroundingTools extends Object
| Constructor and Description |
|---|
GroundingTools() |
| Modifier and Type | Method and Description |
|---|---|
static Set<Map<net.sf.tweety.logics.commons.syntax.Variable,net.sf.tweety.logics.commons.syntax.Constant>> |
getAllSubstitutions(Set<net.sf.tweety.logics.commons.syntax.Variable> variables)
Calculates all possible substitutions in the given set of variables using
all possible constants of the same sort.
|
static Set<Map<net.sf.tweety.logics.commons.syntax.Variable,net.sf.tweety.logics.commons.syntax.Constant>> |
getAllSubstitutions(Set<net.sf.tweety.logics.commons.syntax.Variable> variables,
Set<net.sf.tweety.logics.commons.syntax.Constant> constants)
Calculates all possible substitutions of variables for a given set of
constants
|
static boolean |
isValidGroundingApplication(Map<net.sf.tweety.logics.commons.syntax.Variable,net.sf.tweety.logics.commons.syntax.Constant> map,
Set<GroundingRequirement> requirements)
Checks a grounding application for compliance with the grounding
requirements.
|
public static boolean isValidGroundingApplication(Map<net.sf.tweety.logics.commons.syntax.Variable,net.sf.tweety.logics.commons.syntax.Constant> map, Set<GroundingRequirement> requirements)
map - public static Set<Map<net.sf.tweety.logics.commons.syntax.Variable,net.sf.tweety.logics.commons.syntax.Constant>> getAllSubstitutions(Set<net.sf.tweety.logics.commons.syntax.Variable> variables, Set<net.sf.tweety.logics.commons.syntax.Constant> constants)
variables - The set of variables to be substituted.constants - The set of constants to be used as substitution for
variables.public static Set<Map<net.sf.tweety.logics.commons.syntax.Variable,net.sf.tweety.logics.commons.syntax.Constant>> getAllSubstitutions(Set<net.sf.tweety.logics.commons.syntax.Variable> variables)
variables - The set of variables to be substituted.Copyright © 2018. All rights reserved.