Changeset 15504 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Moves/GQAPNMoveGenerator.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/Moves/GQAPNMoveGenerator.cs
r7505 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. … … 58 58 int counter = 0; 59 59 string name = MoveParameter.TranslatedName; 60 foreach (var move in GenerateMoves(AssignmentParameter.ActualValue, NParameter.ActualValue.Value )) {60 foreach (var move in GenerateMoves(AssignmentParameter.ActualValue, NParameter.ActualValue.Value, ProblemInstanceParameter.ActualValue)) { 61 61 scopes.Add(new Scope(counter.ToString())); 62 62 scopes.Last().Variables.Add(new Variable(name, move)); … … 67 67 } 68 68 69 public abstract IEnumerable<NMove> GenerateMoves(IntegerVector assignment, int n );69 public abstract IEnumerable<NMove> GenerateMoves(IntegerVector assignment, int n, GQAPInstance problemInstance); 70 70 } 71 71 }
Note: See TracChangeset
for help on using the changeset viewer.