UCR

Computer Science and Engineering



R-LAIR: Riverside Lab for Artificial Intelligence Research

Continuous Time Bayesian Network Reasoning and Learning Engine (CTBN-RLE)

v1.0.1: Install Instructions

How to compile:
===============

This code has been tested under Unix with the Gnu tools and Windows
with Visual C++.

UNIX:

The Makefile in src/ will make ctbn.a (a library of all of the object files).  
"make" in demo/ will make the demos (including making the objects in src/
if necessary), and "make" tst/ will make all of the unit/regression tests.
Running the python script tst/unit_test.py will run each of the test
scripts to confirm that the calculations are being performed correctly.

Windows:

Under Visual C++, you must create your own project.  Add all of the source
files in src/ and all of the header files in hdr/.  Adding one "main" file
(from tst/ or demo/) should allow the entire project to compile.  You may
have a number of compile warnings about conversions from "size_t" to "int."
These may be safely ignored.


Structure:
==========

The base directory is split into multiple directorys:

demo/  This contains example programs on how to use the libraries.  They
	are often useful on their own (e.g. sample from a CTBN, learn a CTBN
	from samples, etc).  The README.txt file also has information on 
	the file extensions used for data files.

doc/   This directory contains information on how to read the code and 
	use it, literature to read, and funding sources that made this code
	base possible.

src/   This directory contains all of the non-header files.

hdr/   This directory contains all of the header files.  This, plus the ctbn.a
	created in /src are all that is necessary to link a new program to
	the libraries here

tst/   This directory contains regression tests that are used to verify that
	the code is working





More Information

Address

University of California, Riverside
Multidisciplinary Research Building (MRB), 4th floor
Riverside, CA 92521

 


External Links