edu::tum::cs::srl::bayesnets::BLOGModel Class Reference

Inheritance diagram for edu::tum::cs::srl::bayesnets::BLOGModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BLOGModel (String xmlbifFile) throws Exception
 BLOGModel (String blogFile, String networkFile) throws Exception
 BLOGModel (String[] blogFiles, String networkFile) throws Exception
BeliefNetworkEx getGroundBN () throws Exception
void write (PrintStream out) throws Exception

Protected Member Functions

void getCPD (Vector< String > lists, CPF cpf, Discrete[] domains, int[] addr, int i)
Vector< String[]> groundParams (Signature sig) throws Exception
void groundParams (String[] domNames, String[] setting, int idx, Vector< String[]> ret) throws Exception
String readBlogContent (String[] files) throws FileNotFoundException, IOException
boolean readDeclaration (String line) throws Exception
void writeDeclarations (PrintStream out)

Detailed Description

Definition at line 23 of file BLOGModel.java.


Constructor & Destructor Documentation

edu::tum::cs::srl::bayesnets::BLOGModel::BLOGModel ( String[]  blogFiles,
String  networkFile 
) throws Exception [inline]

constructs a BLOG model by obtaining the node data from a fragment network and declarations from one or more BLOG files.

Parameters:
blogFiles 
networkFile a Bayesian network file
Exceptions:
Exception 

Definition at line 34 of file BLOGModel.java.

edu::tum::cs::srl::bayesnets::BLOGModel::BLOGModel ( String  blogFile,
String  networkFile 
) throws Exception [inline]

constructs a BLOG model by obtaining the node data from a Bayesian network template and function signatures from a BLOG file.

Parameters:
blogFile 
xmlbifFile 
Exceptions:
Exception 

Definition at line 124 of file BLOGModel.java.

edu::tum::cs::srl::bayesnets::BLOGModel::BLOGModel ( String  xmlbifFile  )  throws Exception [inline]

constructs a BLOG model from a Bayesian network template. The function signatures are derived from node/parameter names.

Parameters:
xmlbifFile 
Exceptions:
Exception 

Definition at line 135 of file BLOGModel.java.


Member Function Documentation

void edu::tum::cs::srl::bayesnets::BLOGModel::getCPD ( Vector< String >  lists,
CPF  cpf,
Discrete[]  domains,
int[]  addr,
int  i 
) [inline, protected]

Definition at line 351 of file BLOGModel.java.

BeliefNetworkEx edu::tum::cs::srl::bayesnets::BLOGModel::getGroundBN (  )  throws Exception [inline]

generates the ground Bayesian network for the template network that this model represents, instantiating it with the guaranteed domain elements

Returns:
Exceptions:
Exception 

Definition at line 147 of file BLOGModel.java.

Vector<String[]> edu::tum::cs::srl::bayesnets::BLOGModel::groundParams ( Signature  sig  )  throws Exception [inline, protected]

Definition at line 235 of file BLOGModel.java.

void edu::tum::cs::srl::bayesnets::BLOGModel::groundParams ( String[]  domNames,
String[]  setting,
int  idx,
Vector< String[]>  ret 
) throws Exception [inline, protected]

gets a list of lists of constants representing all possible combinations of elements of the given domains (domNames)

Parameters:
domNames a list of domain names
setting the current setting (initially empty) - same length as domNames
idx the index of the domain from which to choose next
ret the vector in which all settings shall be stored
Exceptions:
Exception 

Definition at line 218 of file BLOGModel.java.

String edu::tum::cs::srl::bayesnets::BLOGModel::readBlogContent ( String[]  files  )  throws FileNotFoundException, IOException [inline, protected]

read the contents of one or more (BLOG) files into a single string

Parameters:
files 
Returns:
Exceptions:
FileNotFoundException 
IOException 

Definition at line 105 of file BLOGModel.java.

boolean edu::tum::cs::srl::bayesnets::BLOGModel::readDeclaration ( String  line  )  throws Exception [inline, protected]

Reimplemented in edu::tum::cs::srl::bayesnets::ABL.

Definition at line 61 of file BLOGModel.java.

void edu::tum::cs::srl::bayesnets::BLOGModel::write ( PrintStream  out  )  throws Exception [inline]

Reimplemented in edu::tum::cs::srl::bayesnets::ABL.

Definition at line 241 of file BLOGModel.java.

void edu::tum::cs::srl::bayesnets::BLOGModel::writeDeclarations ( PrintStream  out  )  [inline, protected]

Reimplemented in edu::tum::cs::srl::bayesnets::ABL.

Definition at line 286 of file BLOGModel.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:43 2013