algorithms.selectors
Class SelectRandomly

java.lang.Object
  extended by algorithms.selectors.SelectRandomly
All Implemented Interfaces:
SolutionSelector

public class SelectRandomly
extends java.lang.Object
implements SolutionSelector


Constructor Summary
SelectRandomly()
           
 
Method Summary
static SelectRandomly getInstance()
           
 VehicleRoutingProblemSolution selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions)
           
 void setRandom(java.util.Random random)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectRandomly

public SelectRandomly()
Method Detail

getInstance

public static SelectRandomly getInstance()

selectSolution

public VehicleRoutingProblemSolution selectSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions)
Specified by:
selectSolution in interface SolutionSelector

setRandom

public void setRandom(java.util.Random random)