ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/TSPExchangerTest.java
(Generate patch)

Comparing jsr166/src/test/loops/TSPExchangerTest.java (file contents):
Revision 1.10 by jsr166, Tue Nov 3 01:04:02 2009 UTC vs.
Revision 1.11 by jsr166, Sat Oct 16 16:22:57 2010 UTC

# Line 672 | Line 672 | public class TSPExchangerTest {
672          }
673  
674          /**
675 <         *  Returns the cached distance between a pair of cities
675 >         * Returns the cached distance between a pair of cities.
676           */
677          int distanceBetween(int i, int j) {
678              return distances[i][j];
# Line 682 | Line 682 | public class TSPExchangerTest {
682          static final double PSCALE = (double) 0x80000000L;
683  
684          /**
685 <         * Return distance for points scaled in [0,1). This simplifies
685 >         * Returns distance for points scaled in [0,1). This simplifies
686           * checking results.  The expected optimal TSP for random
687           * points is believed to be around 0.76 * sqrt(N). For papers
688           * discussing this, see

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines