remove some logic from the constructor since this is contra productive if some values...
[aco.git] / aco / strategy / TauZeroStrategy.java
blob834812b85c0055db477ada97022a466458d464fb
1 package aco.strategy;
3 import aco.mediator.*;
5 public class TauZeroStrategy {
7 protected ACOMediator acom;
9 public TauZeroStrategy(ACOMediator acom) {
10 this.acom = acom;
13 public void computeTauZero() {
14 acom.setTauZero(
15 (double)(acom.getNumOfCities()) /
16 acom.nearestNeighbourHeuristicRandomStart() );