| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
FastBKTree
Simpler version of BKTree. The tree's content is kept in nested
dictionaries where a "node"'s value is simply stored at key -1 and
its children are stored using their distance to the value as the
key. Example:
self.root = { -1: 'ABC',
0: { -1: 'ABC' }
1: { -1: 'ABCD',
1: { -1: 'ABCE' }
}
2: { -1: 'A',
1: { -1: 'B',
1: { -1: 'C' }
}
}
}
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Sep 16 22:48:39 2012 | http://epydoc.sourceforge.net |