Autopsy
4.13.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Iterable< T >.
Classes | |
class | EuclideanComparator |
class | KdNode |
class | XYZPoint |
Public Member Functions | |
KdTree () | |
KdTree (List< XYZPoint > list) | |
KdTree (List< XYZPoint > list, int k) | |
boolean | add (T value) |
boolean | contains (T value) |
Iterator< T > | iterator () |
Collection< T > | nearestNeighbourSearch (int K, T value) |
boolean | remove (T value) |
Iterator< T > | reverse_iterator () |
Static Protected Attributes | |
static final int | X_AXIS = 0 |
static final int | Y_AXIS = 1 |
static final int | Z_AXIS = 2 |
Static Private Member Functions | |
static KdNode | createNode (List< XYZPoint > list, int k, int depth) |
static final< T extends KdTree.XYZPoint > KdNode | getNode (KdTree< T > tree, T value) |
static final List< XYZPoint > | getTree (KdNode root) |
static< TextendsXYZPoint > void | search (final KdNode node, final Deque< T > results) |
static final< T extends KdTree.XYZPoint > void | searchNode (T value, KdNode node, int K, TreeSet< KdNode > results, Set< KdNode > examined) |
Private Attributes | |
int | k = 3 |
KdNode | root = null |
Static Private Attributes | |
static final Comparator< XYZPoint > | X_COMPARATOR |
static final Comparator< XYZPoint > | Y_COMPARATOR |
static final Comparator< XYZPoint > | Z_COMPARATOR |
A k-d tree (short for k-dimensional tree) is a space-partitioning data structure for organizing points in a k-dimensional space. k-d trees are a useful data structure for several applications, such as searches involving a multidimensional search key (e.g. range searches and nearest neighbor searches). k-d trees are a special case of binary space partitioning trees.
Original other was JustinWetherell phish. man3 579@g mail .com
Definition at line 52 of file KdTree.java.
org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.KdTree | ( | ) |
Default constructor.
Definition at line 106 of file KdTree.java.
org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.KdTree | ( | List< XYZPoint > | list | ) |
Constructor for creating a more balanced tree. It uses the "median of points" algorithm.
list | of XYZPoints. |
Definition at line 115 of file KdTree.java.
org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.KdTree | ( | List< XYZPoint > | list, |
int | k | ||
) |
Constructor for creating a more balanced tree. It uses the "median of points" algorithm.
list | of XYZPoints. |
k | of the tree. |
Definition at line 129 of file KdTree.java.
boolean org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.add | ( | T | value | ) |
Adds value to the tree. Tree can contain multiple equal values.
value | T to add to the tree. |
Definition at line 197 of file KdTree.java.
boolean org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.contains | ( | T | value | ) |
Does the tree contain the value.
value | T to locate in the tree. |
Definition at line 239 of file KdTree.java.
|
staticprivate |
Creates node from list of XYZPoints.
list | of XYZPoints. |
k | of the tree. |
depth | depth of the node. |
Definition at line 145 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.createNode(), org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.KdTree(), and org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.remove().
|
staticprivate |
Locates T in the tree.
tree | to search. |
value | to search for. |
Definition at line 256 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.contains(), and org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.remove().
|
staticprivate |
Gets the (sub) tree rooted at root.
root | of tree to get nodes for. |
Definition at line 337 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.getTree(), and org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.remove().
Iterator<T> org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.iterator | ( | ) |
Searches all entries from the first to the last entry.
Definition at line 526 of file KdTree.java.
Collection<T> org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.nearestNeighbourSearch | ( | int | K, |
T | value | ||
) |
Searches the K nearest neighbor.
K | Number of neighbors to retrieve. Can return more than K, if last nodes are equal distances. |
value | to find neighbors of. |
Definition at line 365 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.findClosestWaypoint().
boolean org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.remove | ( | T | value | ) |
Removes first occurrence of value in the tree.
value | T to remove from the tree. |
Definition at line 287 of file KdTree.java.
Iterator<T> org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.reverse_iterator | ( | ) |
Searches all entries from the last to the first entry.
Definition at line 538 of file KdTree.java.
|
staticprivate |
Adds, in a specified queue, a given node and its related nodes (lesser, greater).
node | Node to check. May be null. |
results | Queue containing all found entries. Must not be null. |
Definition at line 489 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.iterator(), org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.reverse_iterator(), and org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.search().
|
staticprivate |
Definition at line 408 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.nearestNeighbourSearch(), and org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.searchNode().
|
private |
Definition at line 54 of file KdTree.java.
Referenced by org.sleuthkit.autopsy.geolocation.KdTree< MapWaypoint >.createNode().
|
private |
|
staticprotected |
Definition at line 99 of file KdTree.java.
|
staticprivate |
Definition at line 57 of file KdTree.java.
|
staticprotected |
Definition at line 100 of file KdTree.java.
|
staticprivate |
Definition at line 71 of file KdTree.java.
|
staticprotected |
Definition at line 101 of file KdTree.java.
|
staticprivate |
Definition at line 85 of file KdTree.java.
Copyright © 2012-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.