Public Member Functions | |
BeliefNetworkEx | getGroundBN () |
GroundBLN (BayesianLogicNetworkPy bln, Database db) throws Exception | |
GroundBLN (BayesianLogicNetworkPy bln, String databaseFile) throws Exception | |
void | groundFormulaicNodes () throws Exception |
Static Public Member Functions | |
static void | main (String[] args) |
Protected Member Functions | |
void | fillFormulaCPF (GroundFormula gf, CPF cpf, Vector< String > parentGAs, int iDomProd, int[] addr) throws Exception |
void | fillFormulaCPF (GroundFormula gf, CPF cpf, Vector< String > parentGAs) throws Exception |
void | onAddGroundAtomNode (RelationalNode relNode, String[] params, BeliefNode instance) |
Protected Attributes | |
Database | db |
BeliefNetworkEx | groundBN |
Vector< String > | hardFormulaNodes |
Definition at line 20 of file py/GroundBLN.java.
edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::GroundBLN | ( | BayesianLogicNetworkPy | bln, | |
String | databaseFile | |||
) | throws Exception [inline] |
Definition at line 25 of file py/GroundBLN.java.
edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::GroundBLN | ( | BayesianLogicNetworkPy | bln, | |
Database | db | |||
) | throws Exception [inline] |
Definition at line 29 of file py/GroundBLN.java.
void edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::fillFormulaCPF | ( | GroundFormula | gf, | |
CPF | cpf, | |||
Vector< String > | parentGAs, | |||
int | iDomProd, | |||
int[] | addr | |||
) | throws Exception [inline, protected] |
Definition at line 77 of file py/GroundBLN.java.
void edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::fillFormulaCPF | ( | GroundFormula | gf, | |
CPF | cpf, | |||
Vector< String > | parentGAs | |||
) | throws Exception [inline, protected] |
fills the CPF of a formulaic node
gf | the ground formula to evaluate for all possible settings | |
cpf | the CPF of the formulaic node to fill | |
parents | the parents of the formulaic node | |
parentGAs | the ground atom string names of the parents (in case the node names do not match them) |
Exception |
Definition at line 71 of file py/GroundBLN.java.
BeliefNetworkEx edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::getGroundBN | ( | ) | [inline] |
void edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::groundFormulaicNodes | ( | ) | throws Exception [inline, virtual] |
Implements edu::tum::cs::srl::bayesnets::bln::AbstractGroundBLN.
Definition at line 34 of file py/GroundBLN.java.
static void edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::main | ( | String[] | args | ) | [inline, static] |
Definition at line 136 of file py/GroundBLN.java.
void edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::onAddGroundAtomNode | ( | RelationalNode | relNode, | |
String[] | params, | |||
BeliefNode | instance | |||
) | [inline, protected, virtual] |
Implements edu::tum::cs::srl::bayesnets::bln::AbstractGroundBLN.
Definition at line 166 of file py/GroundBLN.java.
the database for which the ground model was instantiated
Reimplemented from edu::tum::cs::srl::bayesnets::bln::AbstractGroundBLN.
Definition at line 23 of file py/GroundBLN.java.
the ground Bayesian network (or ground auxiliary Bayesian network)
Reimplemented from edu::tum::cs::srl::bayesnets::bln::AbstractGroundBLN.
Definition at line 21 of file py/GroundBLN.java.
Vector<String> edu::tum::cs::srl::bayesnets::bln::py::GroundBLN::hardFormulaNodes [protected] |
list of auxiliary nodes contained in the ground Bayesian network (null if the network is not an auxiliary network)
Reimplemented from edu::tum::cs::srl::bayesnets::bln::AbstractGroundBLN.
Definition at line 22 of file py/GroundBLN.java.