linux backport
file exists system predicate $source_file -> $user source hide and make system preds fix check_head_and_body user_expansion never fails goal expansion is controlled b dynamic procedure add must_be_of_type predicate_indicator fix neat_call, debug flag is user controlled use simplecudd, not ptoblogbdd compile all of myddas fx junk in file_name fix warnings use common file opening struct and funds avoid pairs module fix db queues
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
@x0
|
||||
0.286554426939
|
||||
@x1
|
||||
0.517024484197
|
||||
@x2
|
||||
0.425979613559
|
@@ -730,8 +730,8 @@ update_query(QueryID,Symbol,What_To_Update) :-
|
||||
problog_flag(sigmoid_slope,Slope),
|
||||
problog_dir(PD),
|
||||
((What_To_Update=all;query_is_similar(_,QueryID)) -> Method='g' ; Method='l'),
|
||||
convert_filename_to_problog_path('problogbdd', ProblogBDD),
|
||||
atomic_concat([ProblogBDD,
|
||||
convert_filename_to_problog_path('simplecudd', Simplecudd),
|
||||
atomic_concat([Simplecudd,
|
||||
' -i "', Probabilities_File, '"',
|
||||
' -l "', Query_Directory,'/query_',QueryID, '"',
|
||||
' -m ', Method,
|
||||
|
@@ -410,14 +410,14 @@ init_learning :-
|
||||
learning_initialized,
|
||||
!.
|
||||
init_learning :-
|
||||
convert_filename_to_problog_path('problogbdd_lfi', Path),
|
||||
convert_filename_to_problog_path('simplecudd_lfi', Path),
|
||||
(
|
||||
file_exists(Path)
|
||||
->
|
||||
true;
|
||||
(
|
||||
problog_path(PD),
|
||||
format(user_error, 'WARNING: Can not find file: problogbdd_lfi. Please place file in problog path: ~q~n',[PD]),
|
||||
format(user_error, 'WARNING: Can not find file: simplecudd_lfi. Please place file in problog path: ~q~n',[PD]),
|
||||
fail
|
||||
)
|
||||
),
|
||||
@@ -885,7 +885,7 @@ update_query(QueryID,ClusterID ,Method,Command,PID,Output_File_Name) :-
|
||||
create_bdd_output_file_name(QueryID,ClusterID,Iteration,Output_File_Name),
|
||||
create_bdd_file_name(QueryID,ClusterID,BDD_File_Name),
|
||||
|
||||
convert_filename_to_problog_path('problogbdd_lfi',Absolute_Name),
|
||||
convert_filename_to_problog_path('simplecudd_lfi',Absolute_Name),
|
||||
|
||||
atomic_concat([Absolute_Name,
|
||||
' -i "', Input_File_Name, '"',
|
||||
|
Reference in New Issue
Block a user