Trees | Indices | Help |
---|
|
class NidMapper implements a mapping between "external" and "internal" node ID values. The internal node ID values are associated with owners, which are typically Protocol instances. IMPLEMENTATION: The current implementation is silly -- it gives each owner an address space of a given number of bits (default 8). External node ID values consist of owner ID bits followed by node ID bits
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Add a new node owner INPUT: owner -- hashable -- "owner" of a node range; must be hashable oid -- int -- owner ID to use, or None to have one generated If an owner ID is re-used, an exception will be raised |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jan 4 16:46:17 2018 | http://epydoc.sourceforge.net |