Public Member Functions | |
void | beginSession (Map< String, Object > params) throws Exception |
Vector< String[]> | getDomains () |
Vector< String[]> | getPredicates () |
void | instantiate () throws Exception |
MLNModel (String name, String mln) throws Exception | |
Protected Member Functions | |
String | _getConstantType (String constant) |
Vector< InferenceResult > | _infer (Iterable< String > queries) throws Exception |
void | _setEvidence (Iterable< String[]> evidence) throws Exception |
Protected Attributes | |
Database | db |
MarkovLogicNetwork | mln |
MarkovRandomField | mrf |
Definition at line 19 of file MLNModel.java.
edu::tum::cs::probcog::MLNModel::MLNModel | ( | String | name, | |
String | mln | |||
) | throws Exception [inline] |
Definition at line 25 of file MLNModel.java.
String edu::tum::cs::probcog::MLNModel::_getConstantType | ( | String | constant | ) | [inline, protected, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 31 of file MLNModel.java.
Vector<InferenceResult> edu::tum::cs::probcog::MLNModel::_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 42 of file MLNModel.java.
void edu::tum::cs::probcog::MLNModel::_setEvidence | ( | Iterable< String[]> | evidence | ) | throws Exception [inline, protected, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 55 of file MLNModel.java.
void edu::tum::cs::probcog::MLNModel::beginSession | ( | Map< String, Object > | params | ) | throws Exception [inline] |
Reimplemented from edu::tum::cs::probcog::Model.
Definition at line 36 of file MLNModel.java.
Vector<String[]> edu::tum::cs::probcog::MLNModel::getDomains | ( | ) | [inline, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 80 of file MLNModel.java.
Vector<String[]> edu::tum::cs::probcog::MLNModel::getPredicates | ( | ) | [inline, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 85 of file MLNModel.java.
void edu::tum::cs::probcog::MLNModel::instantiate | ( | ) | throws Exception [inline, virtual] |
Implements edu::tum::cs::probcog::Model.
Definition at line 90 of file MLNModel.java.
Database edu::tum::cs::probcog::MLNModel::db [protected] |
Definition at line 22 of file MLNModel.java.
Definition at line 21 of file MLNModel.java.
Definition at line 23 of file MLNModel.java.