updated starting data
這個提交存在於:
父節點
025860fc8f
當前提交
fd37388339
共有 1 個檔案被更改,包括 3 行新增 和 3 行删除
|
|
@ -180,8 +180,8 @@ delete(N,X,[Y|L], [Y|R]) :-
|
|||
%*************
|
||||
|
||||
heuristique(U,H) :-
|
||||
heuristique1(U, H). % au debut on utilise l'heuristique 1
|
||||
% heuristique2(U, H). % ensuite utilisez plutot l'heuristique 2
|
||||
% heuristique1(U, H). % au debut on utilise l'heuristique 1
|
||||
heuristique2(U, H). % ensuite utilisez plutot l'heuristique 2
|
||||
|
||||
|
||||
%****************
|
||||
|
|
@ -207,7 +207,7 @@ diff(_,_) :- true.
|
|||
|
||||
heuristique1(U,H) :-
|
||||
findall(X,
|
||||
(final_state(Fin), coordonnees([L,C], U, X)
|
||||
(final_state(Fin), coordonnees([L,C], U, X),
|
||||
coordonnees([L,C], Fin, Y), diff(X,Y)),
|
||||
Count),
|
||||
length(Count, H).
|
||||
|
|
|
|||
載入中…
新增問題並參考