/* LPAD and CP-Logic reasoning suite Copyright (c) 2007, Fabrizio Riguzzi Test file for lpadsld.pl, case where the body is grounded Use :-t. to execute the test */ :-source. :-use_module(library(lpadsld)). epsilon(0.000001). close_to(V,T):- epsilon(E), TLow is T-E, THigh is T+E, TLow=PL-1e-7,P==PL-1e-10,P=