return Math.sqrt(Math.pow(p1x - p2x, 2.0) + Math.pow(p1y - p2y, 2.0));
}
protected List singleCity(Object cityObjOne, Object cityObjTwo, List cities, AntAlgorithmSettings antAlgorithmSettings) {
City city1 = (City)cityObjOne;
City city2 = (City)cityObjTwo;
List<Integer> line = new ArrayList();
line.add(cities.indexOf(cityObjOne) + 1);
line.add(cities.indexOf(cityObjTwo) + 1);
line.add(this.length(city1.getPositionX(), city1.getPositionY(), city2.getPositionX(), city2.getPositionY()).intValue());
line.add(antAlgorithmSettings.getInitialPheromoneAmount());
return line;
}