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.2.0 : Mon May 20 2013 - 06:13:34 CEST