Trees | Indices | Help |
|
---|
|
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
__doc__ = """This class generates a map from inputs to intege
(Inherited from gmisclib.nice_hash.simple)
|
Properties | |
Inherited from |
Method Details |
This adds the rmap method to the simple class.
|
Returns an integer which is shared among all x in the equivalence class, but different from all other x. If the trimmer function raises the DontHashThis exception, it will ignore the input and return None. Note that if you add an item twice, it will appear twice in rmap().
|
Similar to add, except it returns None if the equivalence class has already appeared. The list of classes seen (self.seen) then contains only the first item
that was added in each class, so rmap()
will produce a dictionary containing single-item lists:
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:09 2011 | http://epydoc.sourceforge.net |