reverted to old version due to a wrong commit
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2124 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
b55a9bd8f9
commit
2e289a8317
@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
:- use_module(library(clpbn)).
|
:- use_module(library(clpbn)).
|
||||||
|
|
||||||
cg(P,P1):-cg(s,1,P),cg(f,1,P1).
|
|
||||||
|
|
||||||
cg(X,1,C):-
|
cg(X,1,C):-
|
||||||
father(Y,X),
|
father(Y,X),
|
||||||
cg(Y,1,C1),cg(Y,2,C2),
|
cg(Y,1,C1),cg(Y,2,C2),
|
||||||
|
@ -57,9 +57,9 @@ init_bnt :-
|
|||||||
matlab_on, !.
|
matlab_on, !.
|
||||||
init_bnt :-
|
init_bnt :-
|
||||||
getcwd(D),
|
getcwd(D),
|
||||||
% cd('~/Yap/CLPBN/FullBNT/BNT'),
|
cd('~/Yap/CLPBN/FullBNT/BNT'),
|
||||||
start_matlab('matlab -nojvm -nosplash'),
|
start_matlab('matlab -nojvm -nosplash'),
|
||||||
% matlab_eval_string("add_BNT_to_path",_),
|
matlab_eval_string("add_BNT_to_path",_),
|
||||||
cd(D).
|
cd(D).
|
||||||
|
|
||||||
mk2s(0, []) :- !.
|
mk2s(0, []) :- !.
|
||||||
@ -73,7 +73,6 @@ mkdag(N,Els) :-
|
|||||||
add_els(Els,N,Dag),
|
add_els(Els,N,Dag),
|
||||||
Dag=..[_|L],
|
Dag=..[_|L],
|
||||||
addzeros(L),
|
addzeros(L),
|
||||||
format("priova",[]),
|
|
||||||
matlab_matrix(N,N,L,dag).
|
matlab_matrix(N,N,L,dag).
|
||||||
|
|
||||||
add_els([],_,_).
|
add_els([],_,_).
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
#include "YapInterface.h"
|
#include "YapInterface.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#if defined(__MINGW32__) || _MSC_VER
|
#if defined(__MINGW32__) || _MSC_VER
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user