Public Member Functions | |
ForAll (Collection< String > vars, Formula f) | |
void | getVariables (Database db, Map< String, String > ret) throws Exception |
Formula | ground (Map< String, String > binding, WorldVariables worldVars, Database db) throws Exception |
Formula | toCNF () |
Formula | toNNF () |
String | toString () |
Package Attributes | |
Formula | f |
Map< String, String > | var2domName |
Collection< String > | vars |
Definition at line 11 of file ForAll.java.
edu::tum::cs::logic::ForAll::ForAll | ( | Collection< String > | vars, | |
Formula | f | |||
) | [inline] |
Definition at line 19 of file ForAll.java.
void edu::tum::cs::logic::ForAll::getVariables | ( | Database | db, | |
Map< String, String > | ret | |||
) | throws Exception [inline, virtual] |
gets a mapping from names of meta-variables appearing in the formula to the types/domains they apply to
db | ||
ret | mapping in which to store the result |
Exception |
Implements edu::tum::cs::logic::Formula.
Definition at line 30 of file ForAll.java.
Formula edu::tum::cs::logic::ForAll::ground | ( | Map< String, String > | binding, | |
WorldVariables | worldVars, | |||
Database | db | |||
) | throws Exception [inline, virtual] |
grounds this formula for a particular binding of its variables
binding | the variable binding | |
worldVars | the set of ground atoms (which is needed to return the ground versions of atoms) | |
db | a database containing a set of constants for each type that can be used to ground quantified formulas (can be null if the formula does not contain any quantified variables) |
Exception |
Implements edu::tum::cs::logic::Formula.
Definition at line 38 of file ForAll.java.
Formula edu::tum::cs::logic::ForAll::toCNF | ( | ) | [inline, virtual] |
Implements edu::tum::cs::logic::Formula.
Definition at line 50 of file ForAll.java.
Formula edu::tum::cs::logic::ForAll::toNNF | ( | ) | [inline, virtual] |
Implements edu::tum::cs::logic::Formula.
Definition at line 55 of file ForAll.java.
String edu::tum::cs::logic::ForAll::toString | ( | ) | [inline] |
Definition at line 25 of file ForAll.java.
Formula edu::tum::cs::logic::ForAll::f [package] |
Definition at line 12 of file ForAll.java.
Map<String, String> edu::tum::cs::logic::ForAll::var2domName [package] |
maps the quantified variables to their domain names
Definition at line 17 of file ForAll.java.
Collection<String> edu::tum::cs::logic::ForAll::vars [package] |
Definition at line 13 of file ForAll.java.