upgrade to more recent version of ProbLog.

This commit is contained in:
Vítor Manuel de Morais Santos Costa
2010-01-14 15:46:46 +00:00
parent 0343a1da5a
commit 69caa6d5df
17 changed files with 1740 additions and 1426 deletions

View File

@@ -2,17 +2,18 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% $Date: 2009-06-29 17:10:57 +0200 (Mon, 29 Jun 2009) $
% $Revision: 1782 $
% $Date: 2009-06-17 22:22:00 +0200 (Mi, 17 Jun 2009) $
% $Revision: 1550 $
%
% This file is part of ProbLog
% http://dtai.cs.kuleuven.be/problog
%
% ProbLog was developed at Katholieke Universiteit Leuven
%
% Copyright 2009
% Angelika Kimmig, Vitor Santos Costa, Bernd Gutmann
%
% Copyright 2009 Katholieke Universiteit Leuven
%
% Authors: Luc De Raedt, Bernd Gutmann, Angelika Kimmig,
% Vitor Santos Costa
%
%
% Main authors of this file:
% Angelika Kimmig, Vitor Santos Costa, Bernd Gutmann
%
@@ -272,7 +273,9 @@ init_ptree(ID) :-
delete_ptree(ID) :-
sym(ID,Sym),
nb_getval(Sym, Trie), !,
trie_close(Trie).
trie_close(Trie),
trie_open(NewTrie),
nb_setval(Sym, NewTrie).
delete_ptree(_).
rename_ptree(OldID,NewID) :-