Continuous Time Bayesian Network Reasoning and Learning Engine (CTBN-RLE)
v1.0.2: Demo directory README
The excutables in this folder give examples of how to use the
CTBN-RLE libraries. CTBN models are usually loaded from files
in the excutables. The following is a quick description of the
file formats and their extensions
File Ext Description
.ctbn A CTBN model saved by method Save()
.ctbnptr A CTBN model saved by method SavePtr()
.ctbndyn A CTBNDyn model saved by method Save()
.ctbndynptr A pointer of CTBNDyn model saved by method SavePtr()
.traj A single trajectory saved by method Save()
The example files drug.ctbn, drug.ctnbptr, and queryinput.data are
created by the Makefile. This is because, for this version of the code,
the file formats depend on the RTTI information supplied by the compiler,
which differs across compilers.
Demo executables
================
Constructing a network
----------------------
makedrug: use as "makedrug [options] > "
Creates the drug network as used in Nodelman et al. 2002 and
saves it to stdout. See makedrug.cc for details on optional
parameters.
makechain: use as "makechain [option] > "
Creates a chain structured network and saves it to stdout. See
makechain.cc for details on optional parameters.
Generating trajectories
-------------------------
gen_fulldata: use as "gen_fulldata <.ctbn file>