update of statistic information needs to be done before update of pheromone information
[aco.git] / CoordinatePair.java
blobdd801ca609e6635cd9cfbf9b682721d1ea532dc7
1 class CoordinatePair<F, S> {
2 private final F first;
3 private final S second;
5 CoordinatePair(F first, S second) {
6 this.first = first;
7 this.second = second;
10 public F getFirst() {
11 return this.first;
14 public S getSecond() {
15 return this.second;