<div dir="ltr"><div>Hi,</div><div>I am trying to write a function returning a 32 bit integer hash code for a PPL Semantic Geometric Descriptor. The hash function should be compatible with equality: if two PPL objects are the same according to the == operator, they must have the same hash code.<br></div><div><br></div><div>Unfortunately, I could not find anything particularly useful in the library. My current attempt is to get the string representation of the object and compute an hash value from the latter. However, this works only if equal objects always have equal string representation.</div><div><br></div><div>May I assume this holds, even for complex domains such as polyhedra  ? Are there better ways to get an hash code ?</div><div><br></div><div>Thanks in advance for any help you can provide.</div><div><br></div><div>--gianluca amato<br></div><div><br></div></div>