public class Clustering extends Object
| 构造器 | 说明 |
|---|---|
Clustering() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static void |
calculate(String inFile,
String outFile,
int N,
int M,
int LN,
DistanceType disType) |
Clustering calculation
|
static void |
calculate(List<VectorLayer> trajLayers,
String outFile,
int N,
int M,
int LN,
int interval,
DistanceType disType) |
Clustering calculation
|
static int[][] |
calculation(double[][] DATA,
int LN,
DistanceType disType) |
Clustering calculation
|
static void |
calculation(double[][] DATA,
String outFile,
int LN,
DistanceType disType) |
Clustering calculation
|
public static void calculate(String inFile, String outFile, int N, int M, int LN, DistanceType disType) throws FileNotFoundException, IOException
inFile - Input fileoutFile - Output fileN - Row numberM - Column numberLN - Level numberdisType - Distant define type: Euclidean or AngleFileNotFoundExceptionIOExceptionpublic static void calculate(List<VectorLayer> trajLayers, String outFile, int N, int M, int LN, int interval, DistanceType disType) throws IOException
trajLayers - Trajectory layersoutFile - Output fileN - Row number - trajectory numberM - Column number - 2 times of point numberLN - Level numberinterval - Point intervaldisType - Distant define type: Euclidean or AngleIOExceptionpublic static void calculation(double[][] DATA,
String outFile,
int LN,
DistanceType disType)
throws IOException
DATA - Input data arrayoutFile - Output fileLN - Level numberdisType - Distant define type: Euclidean or AngleIOExceptionpublic static int[][] calculation(double[][] DATA,
int LN,
DistanceType disType)
DATA - Input data arrayLN - Level numberdisType - Distant define type: Euclidean or AngleCopyright © 2019. All rights reserved.