Changeset 9114 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/RandomSolutionCreator.cs
- Timestamp:
- 01/06/13 12:42:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/RandomSolutionCreator.cs
r7593 r9114 41 41 42 42 public static IntegerVector CreateSolution(IRandom random, DoubleArray demands, DoubleArray capacities) { 43 return UniformRandomIntegerVectorCreator.Apply(random, demands.Length, 0, capacities.Length);43 return UniformRandomIntegerVectorCreator.Apply(random, demands.Length, new IntMatrix(new int[,] { { 0 , capacities.Length }})); 44 44 } 45 45
Note: See TracChangeset
for help on using the changeset viewer.