public static class PrimsMinimumSpanningTree.Array2DAdapter extends Object implements PrimsMinimumSpanningTree.Adapter<double[][]>
Modifier | Constructor and Description |
---|---|
private |
PrimsMinimumSpanningTree.Array2DAdapter()
Constructor.
|
private PrimsMinimumSpanningTree.Array2DAdapter()
public double distance(double[][] data, int i, int j)
PrimsMinimumSpanningTree.Adapter
distance
in interface PrimsMinimumSpanningTree.Adapter<double[][]>
data
- Data seti
- First indexj
- Second indexpublic int size(double[][] data)
PrimsMinimumSpanningTree.Adapter
size
in interface PrimsMinimumSpanningTree.Adapter<double[][]>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.