[eclipse-clp-users] How to handle double values in eclipse clp?

From: Hadeer Diwan <hadeer.diwan_at_gmail.com>
Date: Sun, 19 May 2013 13:16:07 +0200
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),
Best Regards,
Hadeer Diwan
Received 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