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
remove some logic from the constructor since this is contra productive if some values...
[aco.git]
/
aco
/
strategy
/
TauZeroStrategy.java
blob
834812b85c0055db477ada97022a466458d464fb
1
package
aco
.
strategy
;
2
3
import
aco
.
mediator
.*;
4
5
public class
TauZeroStrategy
{
6
7
protected
ACOMediator acom
;
8
9
public
TauZeroStrategy
(
ACOMediator acom
) {
10
this
.
acom
=
acom
;
11
}
12
13
public void
computeTauZero
() {
14
acom
.
setTauZero
(
15
(
double
)(
acom
.
getNumOfCities
()) /
16
acom
.
nearestNeighbourHeuristicRandomStart
() );
17
}
18
19
}