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 |
---|
AbstractHDBSCAN.HeapMSTCollector(DoubleLongHeap heap,
FiniteProgress prog,
Logging log)
Constructor.
|
private DoubleLongHeap heap
private FiniteProgress prog
private Logging log
public AbstractHDBSCAN.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.Collector
addEdge
in interface PrimsMinimumSpanningTree.Collector
length
- 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.