code cosmetics
[aco.git] / aco / strategy / acs / ACSTauZeroStrategy.java
blob1970a013f2a163501b6651570f66fe973a26978b
1 package aco.strategy.acs;
3 import aco.strategy.*;
4 import aco.mediator.*;
6 public class ACSTauZeroStrategy extends TauZeroStrategy {
8 public ACSTauZeroStrategy(ACOMediator acom) {
9 super(acom);
12 public void computeTauZero() {
13 acom.setTauZero(
14 1.0 /
15 ((double)(acom.getNumOfCities()*acom.nearestNeighbourHeuristicRandomStart())) );