Changeset 15504 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/GQAPStochasticSolutionCreator.cs
- Timestamp:
- 12/10/17 22:11:10 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/SolutionCreators/GQAPStochasticSolutionCreator.cs
r7523 r15504 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Data;25 24 using HeuristicLab.Encodings.IntegerVectorEncoding; 26 25 using HeuristicLab.Optimization; … … 46 45 } 47 46 48 protected sealed override IntegerVector CreateSolution( DoubleArray demands, DoubleArray capacities) {49 return CreateRandomSolution(RandomParameter.ActualValue, demands, capacities);47 protected sealed override IntegerVector CreateSolution(GQAPInstance problemInstance) { 48 return CreateRandomSolution(RandomParameter.ActualValue, problemInstance); 50 49 } 51 50 52 protected abstract IntegerVector CreateRandomSolution(IRandom random, DoubleArray demands, DoubleArray capacities);51 protected abstract IntegerVector CreateRandomSolution(IRandom random, GQAPInstance problemInstance); 53 52 } 54 53 }
Note: See TracChangeset
for help on using the changeset viewer.