Is the EM solver that we want

This commit is contained in:
Tiago Gomes 2012-12-17 18:50:36 +00:00
parent 3eb6b76ddd
commit 9861f4aadb

View File

@ -613,7 +613,7 @@ clpbn_finalize_solver(_State).
% %
pfl_init_solver(QueryKeys, AllKeys, Factors, Evidence, State) :- pfl_init_solver(QueryKeys, AllKeys, Factors, Evidence, State) :-
solver(Solver), em_solver(Solver),
pfl_init_solver(QueryKeys, AllKeys, Factors, Evidence, State, Solver). pfl_init_solver(QueryKeys, AllKeys, Factors, Evidence, State, Solver).
pfl_init_solver(QueryKeys, AllKeys, Factors, Evidence, State, ve) :- !, pfl_init_solver(QueryKeys, AllKeys, Factors, Evidence, State, ve) :- !,
@ -640,7 +640,7 @@ pfl_init_solver(_, _, _, _, _, Solver) :-
write('\' cannot be used for learning'). write('\' cannot be used for learning').
pfl_run_solver(LVs, LPs, State) :- pfl_run_solver(LVs, LPs, State) :-
solver(Solver), em_solver(Solver),
pfl_run_solver(LVs, LPs, State, Solver). pfl_run_solver(LVs, LPs, State, Solver).
pfl_run_solver(LVs, LPs, State, ve) :- !, pfl_run_solver(LVs, LPs, State, ve) :- !,