double function ( City arg0 ) { return Math . sqrt ( Math . pow ( xCoordinate - arg0 . xCoordinate , 2 ) + Math . pow ( yCoordinate - arg0 . yCoordinate , 2 ) ) ; }
calculates the distance to other city concode_field_sep boolean[][] excluded concode_elem_sep double[][] costMatrix concode_elem_sep int[] parent concode_elem_sep double xCoordinate concode_elem_sep double[][] costMatrixWithPi concode_elem_sep double yCoordinate concode_elem_sep int nCities concode_elem_sep int[] degree concode_elem_sep double[] pi concode_elem_sep Node finalNode concode_elem_sep double lowerBound concode_field_sep int compare concode_elem_sep void computeOneTree concode_elem_sep void createDistancesMatrixArrayFromCities concode_elem_sep List<City> loadCitiesArrayFromFile concode_elem_sep void main concode_elem_sep Node exclude concode_elem_sep double processTSP concode_elem_sep void computeHeldKarp concode_elem_sep void addEdge