s = strcat(pwd, '/BNT/');
global BNTroot
BNTroot = s;

eval(['addpath ' s 'bnet']);
eval(['addpath ' s 'dbn']);
eval(['addpath ' s 'examples']);
eval(['addpath ' s 'examples/Zoubin/mfa']);
eval(['addpath ' s 'general']);
eval(['addpath ' s 'general/C']);
eval(['addpath ' s 'graph']);
eval(['addpath ' s 'graphics']);
eval(['addpath ' s 'learn']);
eval(['addpath ' s 'node']);
eval(['addpath ' s 'bnode']);
eval(['addpath ' s 'bnode/adder_node']);
eval(['addpath ' s 'bnode/input_node']);
eval(['addpath ' s 'bnode/gaussian_node']);
eval(['addpath ' s 'bnode/logistic_node']);
eval(['addpath ' s 'bnode/mux_node']);
eval(['addpath ' s 'bnode/mux2_node']);
eval(['addpath ' s 'bnode/noisyfn_node']);
eval(['addpath ' s 'bnode/noisyor_node']);
eval(['addpath ' s 'bnode/softmax_node']);
eval(['addpath ' s 'bnode/tabular_node']);
eval(['addpath ' s 'potential']);
eval(['addpath ' s 'potential/cg']);
eval(['addpath ' s 'potential/tables']);
eval(['addpath ' s 'potential/max_tables']);
eval(['addpath ' s 'potential/gaussian']);
eval(['addpath ' s 'user']);
