Public Member Functions | |
DecisionNode (RelationalBeliefNetwork rbn, edu.ksu.cis.bnj.ver3.core.BeliefNode node) throws ParseException | |
boolean | isTrue (String[] paramNames, String[] actualParams, Database db, boolean closedWorld) throws Exception |
boolean | isTrue (Map< String, String > varBinding, IPossibleWorld w, WorldVariables worldVars, Database db) throws Exception |
String | toString () |
Protected Types | |
enum | Operator { Negation } |
Protected Attributes | |
Formula | formula |
boolean | isOperator |
Operator | operator |
Definition at line 16 of file DecisionNode.java.
enum edu::tum::cs::srl::bayesnets::DecisionNode::Operator [protected] |
Definition at line 18 of file DecisionNode.java.
edu::tum::cs::srl::bayesnets::DecisionNode::DecisionNode | ( | RelationalBeliefNetwork | rbn, | |
edu.ksu.cis.bnj.ver3.core.BeliefNode | node | |||
) | throws ParseException [inline] |
Definition at line 24 of file DecisionNode.java.
boolean edu::tum::cs::srl::bayesnets::DecisionNode::isTrue | ( | String[] | paramNames, | |
String[] | actualParams, | |||
Database | db, | |||
boolean | closedWorld | |||
) | throws Exception [inline] |
a wrapper for the other implementation of isTrue that uses the possible world implied by the database to determine the truth values of ground atoms
paramNames | variables that are bound | |
actualParams | values the variables are bound to | |
db | the database that provides the truth values for all ground atoms (closed-world assumption) | |
closedWorld | whether to make the closed-world assumption (i.e. that atoms not specified in the database are false) |
Exception |
Definition at line 78 of file DecisionNode.java.
boolean edu::tum::cs::srl::bayesnets::DecisionNode::isTrue | ( | Map< String, String > | varBinding, | |
IPossibleWorld | w, | |||
WorldVariables | worldVars, | |||
Database | db | |||
) | throws Exception [inline] |
returns the truth value of the formula that corresponds to this decision node
varBinding | variable binding that applies (as given by the actual parameters of this decision node's child/descendant) | |
w | a possible world specifying truth values for all variables (ground atoms) | |
worldVars | a set of world variables to take ground atom instances from (for grounding the formula) | |
db | a database to take objects from for existential quantification |
Exception |
Definition at line 46 of file DecisionNode.java.
String edu::tum::cs::srl::bayesnets::DecisionNode::toString | ( | ) | [inline] |
Definition at line 95 of file DecisionNode.java.
Definition at line 22 of file DecisionNode.java.
boolean edu::tum::cs::srl::bayesnets::DecisionNode::isOperator [protected] |
Definition at line 17 of file DecisionNode.java.
Definition at line 20 of file DecisionNode.java.