edu::tum::cs::srl::bayesnets::ParentGrounder Class Reference
List of all members.
Classes |
class | FunctionalLookup |
Public Member Functions |
HashMap< String, String > | generateParameterBindings (String[] actualParameters, Database db) throws Exception |
Map< Integer, String[]> | generateParameterSets (String[] actualParameters, Database db) throws Exception |
Vector< Map< Integer, String[]> > | getGroundings (String[] actualParameters, Database db) throws Exception |
| ParentGrounder (RelationalBeliefNetwork bn, RelationalNode child) throws Exception |
String | toString () |
Protected Member Functions |
void | getCompleteGroundings (String[] mainNodeParams, Database db, HashMap< String, String > paramBindings, int idx, Vector< Map< Integer, String[]>> ret) throws Exception |
Protected Attributes |
Vector< FunctionalLookup > | functionalLookups |
RelationalNode | mainNode |
Collection< RelationalNode > | parents |
String[] | ungroundedParamDomains |
String[] | ungroundedParams |
Detailed Description
generates groundings of all nodes relevant to a given node N for particular bindings of N's parameters; the relevant nodes being N and its parents
- Author:
- jain
Definition at line 20 of file ParentGrounder.java.
Constructor & Destructor Documentation
Member Function Documentation
HashMap<String, String> edu::tum::cs::srl::bayesnets::ParentGrounder::generateParameterBindings |
( |
String[] |
actualParameters, |
|
|
Database |
db | |
|
) |
| | throws Exception [inline] |
generates, for a particular binding of the main node's parameters, the complete binding of all relevant variables (which includes all variables/parameters of parents) using the functional lookups that were determined at construction time
- Parameters:
-
- Returns:
- Exceptions:
-
Definition at line 289 of file ParentGrounder.java.
Map<Integer, String[]> edu::tum::cs::srl::bayesnets::ParentGrounder::generateParameterSets |
( |
String[] |
actualParameters, |
|
|
Database |
db | |
|
) |
| | throws Exception [inline] |
generates a grounding of all parent nodes (and the main node itself), i.e. a list of actual parameters for each node, given a vector of actual parameters for this object's main node
- Parameters:
-
| actualParameters | actual parameters of the man node for which this parameter grounding should be performed |
- Returns:
- mapping of node indices to lists of corresponding actual parameters or null
- Exceptions:
-
- Deprecated:
- this method is apparently not required; it is not referenced anywhere
Definition at line 208 of file ParentGrounder.java.
void edu::tum::cs::srl::bayesnets::ParentGrounder::getCompleteGroundings |
( |
String[] |
mainNodeParams, |
|
|
Database |
db, |
|
|
HashMap< String, String > |
paramBindings, |
|
|
int |
idx, |
|
|
Vector< Map< Integer, String[]>> |
ret | |
|
) |
| | throws Exception [inline, protected] |
completes a (yet incomplete) grounding by considering all possibilities of grounding the ungrounded variables
- Parameters:
-
| mainNodeParams | |
| db | |
| paramBindings | |
| idx | |
| ret | |
- Exceptions:
-
Definition at line 253 of file ParentGrounder.java.
Vector<Map<Integer, String[]> > edu::tum::cs::srl::bayesnets::ParentGrounder::getGroundings |
( |
String[] |
actualParameters, |
|
|
Database |
db | |
|
) |
| | throws Exception [inline] |
generates all possible groundings of all parent nodes (and the main node itself), where a grounding is a list of actual parameters for each node, given a vector of actual parameters for this object's main node
- Parameters:
-
| actualParameters | actual parameters of the main node for which this parameter grounding should be performed |
- Returns:
- vector of mappings of node indices to lists of corresponding actual parameters or null if there is no valid binding for the given actual parameters of the main node
- Exceptions:
-
Definition at line 233 of file ParentGrounder.java.
String edu::tum::cs::srl::bayesnets::ParentGrounder::toString |
( |
|
) |
[inline] |
Member Data Documentation
parameters that cannot be uniquely determined, i.e. parameters for which we consider all possible bindings
Definition at line 80 of file ParentGrounder.java.
The documentation for this class was generated from the following file: