Changeset 11505
- Timestamp:
- 10/27/14 17:03:27 (10 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment.Algorithms/3.3/GRASPWithPathRelinking.cs
r7833 r11505 228 228 Analyzer.Operators.SetItemCheckedState(a, a.EnabledByDefault); 229 229 } 230 InitializeFromInstallation(LocalImprovementParameter, x => x.ProblemType.IsAssignableFrom(Problem.GetType())); 230 InitializeFromInstallation(LocalImprovementParameter, x => x is ILocalImprovementAlgorithmOperator 231 && ((ILocalImprovementAlgorithmOperator)x).ProblemType.IsInstanceOfType(Problem)); 231 232 InitializeFromProblem(PathRelinkingParameter); 232 233 InitializeFromProblem(EliteSetReducerParameter); … … 251 252 analyzer.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName; 252 253 253 if (LocalImprovementParameter.Value != null) 254 LocalImprovementParameter.Value.Problem = Problem; 254 if (LocalImprovementParameter.Value != null) { 255 if (LocalImprovementParameter.Value is ILocalImprovementAlgorithmOperator) 256 ((ILocalImprovementAlgorithmOperator)LocalImprovementParameter.Value).Problem = Problem; 257 } 255 258 } 256 259 foreach (var localImprovement in LocalImprovementParameter.ValidValues) { -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/HeuristicLab.Problems.GeneralizedQuadraticAssignment-3.3.csproj.user
r7319 r11505 3 3 <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'"> 4 4 <StartAction>Program</StartAction> 5 <StartProgram>..\..\trunk\sources\bin\HeuristicLab 3.3.exe</StartProgram> 5 <StartProgram>C:\Users\P40311\Work\HL3\trunk\sources\bin\HeuristicLab 3.3.exe</StartProgram> 6 <StartArguments>/hideStarter /start:Optimizer</StartArguments> 6 7 </PropertyGroup> 7 8 <PropertyGroup> -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Interfaces/IGQAPLocalImprovementOperator.cs
r7419 r11505 25 25 26 26 namespace HeuristicLab.Problems.GeneralizedQuadraticAssignment { 27 public interface IGQAPLocalImprovementOperator : ILocalImprovement Operator {27 public interface IGQAPLocalImprovementOperator : ILocalImprovementAlgorithmOperator { 28 28 IValueLookupParameter<IntValue> MaximumCandidateListSizeParameter { get; } 29 29 } -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Operators/Crossovers/MultiGQAPCrossover.cs
r7523 r11505 86 86 } 87 87 88 public override IOperation Apply() {88 public override IOperation InstrumentedApply() { 89 89 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one crossover to choose from."); 90 90 return base.Apply(); -
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Operators/Manipulators/MultiGQAPManipulator.cs
r7523 r11505 79 79 } 80 80 81 public override IOperation Apply() {81 public override IOperation InstrumentedApply() { 82 82 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one manipulator to choose from."); 83 83 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.