Public Member Functions | |
void | beginSession (Map< String, Object > params) throws Exception |
BLNModel (String modelName, String blogFile, String networkFile, String logicFile) throws IOException, ParseException, Exception | |
Vector< String[]> | getDomains () |
Vector< String[]> | getPredicates () |
void | instantiate () throws Exception |
String | toString () |
Protected Member Functions | |
String | _getConstantType (String constant) |
Vector< InferenceResult > | _infer (Iterable< String > queries) throws Exception |
void | _setEvidence (Iterable< String[]> evidence) throws Exception |
Protected Attributes | |
BayesianLogicNetwork | bln |
Database | db |
String | filenames |
GroundBLN | gbln |
Definition at line 21 of file BLNModel.java.
edu::tum::cs::probcog::BLNModel::BLNModel | ( | String | modelName, | |
String | blogFile, | |||
String | networkFile, | |||
String | logicFile | |||
) | throws IOException, ParseException, Exception [inline] |
Definition at line 28 of file BLNModel.java.
String edu::tum::cs::probcog::BLNModel::_getConstantType | ( | String | constant | ) | [inline, protected, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 131 of file BLNModel.java.
Vector<InferenceResult> edu::tum::cs::probcog::BLNModel::_infer | ( | Iterable< String > | queries | ) | throws Exception [inline, protected, virtual] |
runs the actual inference method, without mapping constants
queries |
Exception |
Implements edu::tum::cs::probcog::Model.
Definition at line 49 of file BLNModel.java.
void edu::tum::cs::probcog::BLNModel::_setEvidence | ( | Iterable< String[]> | evidence | ) | throws Exception [inline, protected, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 82 of file BLNModel.java.
void edu::tum::cs::probcog::BLNModel::beginSession | ( | Map< String, Object > | params | ) | throws Exception [inline] |
Reimplemented from edu::tum::cs::probcog::Model.
Definition at line 42 of file BLNModel.java.
Vector<String[]> edu::tum::cs::probcog::BLNModel::getDomains | ( | ) | [inline, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 113 of file BLNModel.java.
Vector<String[]> edu::tum::cs::probcog::BLNModel::getPredicates | ( | ) | [inline, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 109 of file BLNModel.java.
void edu::tum::cs::probcog::BLNModel::instantiate | ( | ) | throws Exception [inline, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 35 of file BLNModel.java.
String edu::tum::cs::probcog::BLNModel::toString | ( | ) | [inline] |
Definition at line 136 of file BLNModel.java.
Definition at line 23 of file BLNModel.java.
Database edu::tum::cs::probcog::BLNModel::db [protected] |
Definition at line 25 of file BLNModel.java.
String edu::tum::cs::probcog::BLNModel::filenames [protected] |
Definition at line 26 of file BLNModel.java.
GroundBLN edu::tum::cs::probcog::BLNModel::gbln [protected] |
Definition at line 24 of file BLNModel.java.