next up previous contents
Next: Bibliography Up: No Title Previous: Software User Documentation

     
Source code file listing

In the interest of saving paper, a full source code listing in not included with this report. Access to source code, executables, libraries, datalogger recordings and DBN reference networks are provided separately through electronic means.

The C++ source code files were separated into 5 directories related to their purpose in the overall software implementation. These were:

(root)
Global configuration headers, command-line interface source code, macro definitions and error-handling classes.

dbn
Source code for DBN engine, DBN control interface, configuration parsing and implementation and interface to Netica API.

filter
Feature/evidence extraction system source code. Includes feature and evidence extraction filter implementations, and definition of raw data formats.

input
Data interface code and configuration parsing tools.

win32
Windows 95/98/NT graphical user interface (WinDBN - see Section A.3) source code and resource files.

The following list describes the directory, name and purpose of each of the source code files used to produce the project's software.


 
Table B.1: Source tree root file listing
Filenames Description
process.cc Command-line interface source code (see Section A.2)
config.H Global configuration options, definitions and constants.
error.H Exception error handling base class.
macros.H Global macros.
templinst.H Instantiations for templated classes.
dne2latex.cc Utility used to extract CPTs from reference networks for display in the report.
 


 
Table B.2: dbn directory file listing
Filenames Description
dbn.H  
dbn.cc DBN Engine subsystem, incorporating network expansion/contraction, entering of evidence and extraction of beliefs.

dbnctrl.H,

 
dbnctrl.cc Control interface for DBN engine, including loading of reference network, parsing and implementing configuration commands, loading raw samples from data source into channel buffers, main data processing loop and DBN update notification.

dbnerror.H

C++ exception class for DBN error handling.

neticabase.H,

 
neticabase.cc Contains environment and error detection/handling for the Netica API.

probvec.H,

 
probvec.cc Probability vector class, used by DBN engine during network contraction.
simplq.H,  
simplq.cc Simple templated static queue implementation, used by DBN engine to maintain history and prediction slices and node lists.
 


 
Table B.3: filter directory file listing
Filenames Description
efilters.H Definition of classes used for evidence extraction.

filterbase.H,

 
filterbase.cc Definition of pure virtual feature extraction network base class and network building functions.

filters.H,

 
filters.cc Definition and implementation of all feature extraction network functions.

nocase.H

Case-insensitive comparison operator class.
 


 
Table B.4: input directory file listing
Filenames Description
channel.H,  
channel.cc Data input channel class implementing channel data splitting and buffering (Section 7.2.1).

data.H

Definition of basic sample/data packet object passed between nodes in feature extraction network. Contains original (integer) sample value, (floating-point) equivalent signal value, sample's number and time.

source.H

Base abstract data source class, providing interface for data collection.

sourcefile.H

File source input class (derived from source class).

eventhandler.H,

 
eventhandler.cc DBN update event notification handler base class.

logevthndlr.H

Logging event notification handler.

expression.H,

 
expression.cc Infix expression parsing and evaluation class, used to evaluate CPT expressions.

simplstk.H,

 
simplstk.cc Simple templated dynamic stack implementation, used in evaluation of infix expressions.

DelimitedReceptor.H,

 
LiteralReceptor.H,  
Receptor.H,  
UntilReceptor.H,  
WhileReceptor.H `Receptor' input classes used in configuration parsing [64].

tools.H,

 
tools.cc Parsing and general-purpose functions.
 


 
Table B.5: win32 directory file listing
Filenames Description
windbn.H,  
windbn.cc Main source of `WinDBN' graphical user interface implementation (see Section A.3).

windbn.rh,

 
windbnr.rc WinDBN resources script and definitions (dialog boxes).

windbn.ico,

 
windbnsm.ico Application icons (small and large versions).

windbnthread.H,

 
windbnthread.cc WinDBN processing thread class.

winevthndlr.H

Windows DBN update event handler.

winsource.H

File source input class for Windows file system, implementing file polling.
 


next up previous contents
Next: Bibliography Up: No Title Previous: Software User Documentation
Daniel J Willis
2000-10-23