Hello, I wanted to ask a question regarding data types in eclipse clp. I am using the following code and i want to change it so that it handles double values for the cost. I was able to make it handle floating point values by adding float(Result, Cost). How can i refine it to handle double values? search_min(List,Dists,Cost) :- Result $= sum(Dists), float(Result,Cost), minimize(labeling(List),Cost). -- Best Regards, Hadeer DiwanReceived on Sun May 19 2013 - 11:16:34 CEST
This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST