📄 clusterconfig.java
字号:
package cluster;
public class ClusterConfig {
public static int densityThreshold = 20 ; //密度阈值,聚类中每个单元含有点的最小数目
public static double densityRatioThreshold = 0.6;//新单元与簇的密度比最小值
public static double xmin = 0.0;
public static double xmax = 30.0;
public static double ymin = 0.0;
public static double ymax = 30.0;
public static String filePath = "D:\\myproject\\MyEclipse6\\JavaStudy\\mycode\\sample.txt";
//filePath为样本文件路径
public static int cellColumn = 60;
public static int cellRow = 60;
public static double intervalx = (xmax - xmin) / cellColumn;
public static double intervaly = (ymax - ymin) / cellRow;
public static String outPath = "D:\\myproject\\MyEclipse6\\JavaStudy\\mycode\\result.txt";
//outPath为输出结果文件路径
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -