users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

function hash for prolog terms?


From: Daniel Jiménez Gentil
Subject: function hash for prolog terms?
Date: Tue, 10 Feb 2004 11:18:24 +0000

Hello,

I am working using the interface of GNU-Prolog for C.

I need a function that returns me an unique number for each prolog term. Up to now I am using the following one

int hash(PlTerm termino_prolog) {

 return abs (Rd_Code (termino_prolog));

}

But there are cases in those that it stops oneself prolog term it returns me different values.

Thank you for your help.

_________________________________________________________________
Deja tu CV y recibe ofertas personalizadas de trabajo en tu buzón. http://www.msn.es/Empleo/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]