edu::tum::cs::logic::ForAll Class Reference

Inheritance diagram for edu::tum::cs::logic::ForAll:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 11 of file ForAll.java.


Constructor & Destructor Documentation

edu::tum::cs::logic::ForAll::ForAll ( Collection< String >  vars,
Formula  f 
) [inline]

Definition at line 19 of file ForAll.java.


Member Function Documentation

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

Parameters:
db 
ret mapping in which to store the result
Exceptions:
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

Parameters:
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)
Returns:
Exceptions:
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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:41 2013