
public static class AbstractHDBSCAN.HeapMSTCollector extends Object implements PrimsMinimumSpanningTree.Collector
| Modifier and Type | Field and Description |
|---|---|
private DoubleLongHeap |
heap
Output heap.
|
private Logging |
log
Logger, for progress logging.
|
private FiniteProgress |
prog
Progress, for progress logging.
|
| Constructor and Description |
|---|
HeapMSTCollector(DoubleLongHeap heap,
FiniteProgress prog,
Logging log)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(double length,
int i,
int j)
Add a new edge to the output.
|
private DoubleLongHeap heap
private FiniteProgress prog
private Logging log
public HeapMSTCollector(DoubleLongHeap heap, FiniteProgress prog, Logging log)
heap - Output heap.prog - Progress for logging. May be null.log - Logger for logging. May be null.public void addEdge(double length,
int i,
int j)
PrimsMinimumSpanningTree.CollectoraddEdge in interface PrimsMinimumSpanningTree.Collectorlength - Length of edgei - Source nodej - Destination nodeCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.