repo.or.cz
/
aco.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update of statistic information needs to be done before update of pheromone information
[aco.git]
/
CoordinatePair.java
blob
dd801ca609e6635cd9cfbf9b682721d1ea532dc7
1
class
CoordinatePair
<
F
,
S
> {
2
private final
F first
;
3
private final
S second
;
4
5
CoordinatePair
(
F first
,
S second
) {
6
this
.
first
=
first
;
7
this
.
second
=
second
;
8
}
9
10
public
F
getFirst
() {
11
return this
.
first
;
12
}
13
14
public
S
getSecond
() {
15
return this
.
second
;
16
}
17
18
}