- Timestamp:
- 11/05/14 11:56:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/training/WekaLocalTraining2.java
r20 r21 271 271 dist = new EuclideanDistance(traindata2); 272 272 if( !this.ctraindata.containsKey(found_cnumber) ) { 273 double min_distance = 99999999;273 double min_distance = Double.MAX_VALUE; 274 274 clusternumber = ctraindata.keySet().iterator(); 275 275 while ( clusternumber.hasNext() ) { … … 353 353 // we need these for the sizes of the quadrants 354 354 double[] big = {0,0}; 355 double[] small = { 9999999,99999999};355 double[] small = {Double.MAX_VALUE,Double.MAX_VALUE}; 356 356 357 357 // set quadtree payload values and get max and min x and y values for size … … 581 581 */ 582 582 private int findFarthest(int index) { 583 double furthest = -1000000;583 double furthest = Double.MIN_VALUE; 584 584 int ret = 0; 585 585
Note: See TracChangeset
for help on using the changeset viewer.