@author Roberto Perdisci (roberto.perdisci@gmail.com) @version 0.1
CFNode
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| size | 1 | |
| mapToClosestSubcluster | 1 | Retrieves the subcluster id of the closest leaf entry to e |
| insertEntry | 1 | Inserts a new entry to the CFTree |
| splitEntry | 1 | |
| redistributeEntries | 3 | Called when splitting is necessary |
| findClosestEntry | 1 | |
| replaceClosestPairWithNewEntries | 1 | Used during merging refinement |
| replaceClosestPairWithNewMergedEntry | 1 | Used during merging refinement |
| mergingRefinement | 1 | |
| replaceEntries | 1 | Substitutes the entries in this node with the entries of the parameter node |
| applyMergingRefinement | 1 | |
| ToString | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Dummy | 1 | |
| MaxNodeEntries | 1 | |
| DistThreshold | 1 | |
| DistFunction | 1 | |
| Leaf | 1 |
04 Members
the number of CFEntries in the node
Retrieves the subcluster id of the closest leaf entry to e
| Name | Type | Description |
|---|---|---|
e | CFEntry | the entry to be mapped |
a positive integer, if the leaf entries were enumerated after data insertion is finished, otherwise -1
Inserts a new entry to the CFTree
| Name | Type | Description |
|---|---|---|
e | CFEntry | the entry to be inserted |
TRUE if the new entry could be inserted without problems, otherwise we need to split the node
| Name | Type | Description |
|---|---|---|
closest | CFEntry | the entry to be split |
the new entries derived from splitting
Called when splitting is necessary
| Name | Type | Description |
|---|---|---|
oldEntries | List(Of CFEntry) | - |
farEntries | CFEntryPair | - |
newE1 | CFEntry | - |
newE2 | CFEntry | - |
Called when "merging refinement" is attempted but no actual merging can be applied
| Name | Type | Description |
|---|---|---|
oldEntries1 | List(Of CFEntry) | - |
oldEntries2 | List(Of CFEntry) | - |
Called when "merging refinement" is attempted and two entries are actually merged
| Name | Type | Description |
|---|---|---|
oldEntries1 | List(Of CFEntry) | - |
oldEntries2 | List(Of CFEntry) | - |
| Name | Type | Description |
|---|---|---|
e | CFEntry | a CFEntry |
the entry in this node that is closest to e
Used during merging refinement
| Name | Type | Description |
|---|---|---|
p | CFEntryPair | - |
newE1 | CFEntry | - |
newE2 | CFEntry | - |
Used during merging refinement
| Name | Type | Description |
|---|---|---|
p | CFEntryPair | - |
newE | CFEntry | - |
| Name | Type | Description |
|---|---|---|
splitEntries | CFEntryPair | the entry that got split |
Substitutes the entries in this node with the entries of the parameter node
| Name | Type | Description |
|---|---|---|
n | CFNode | the node from which entries are copied |
true if merging refinement is enabled
true if this is only a place-holder node for maintaining correct pointers in the list of leaves
the max number of entries the node can host (parameter B)
the distance threshold used to decide whether a CFEntry can absorb a new entry