drasys.or.graph.vrp
Interface RandomizableI

All Known Implementing Classes:
ClarkeWrightBase, GillettMillerBase

public interface RandomizableI

The interface used to access the randomization features of randomized algorithms.


Method Summary
 RandomI getRandom()
          Gets the random number generator.
 void setRandom(RandomI random)
          Sets the random number generator.
 void setStrength(int strength)
          Sets the value of the randomization strength.
 

Method Detail

setRandom

public void setRandom(RandomI random)
Sets the random number generator.

getRandom

public RandomI getRandom()
Gets the random number generator.

setStrength

public void setStrength(int strength)
Sets the value of the randomization strength. The strength value defaults to '0' which means no randomization and the randomization level increases as the strength value increases. Each algorithm has a unique interpretation of the strength value.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com