Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/01/12 00:14:00 (13 years ago)
Author:
abeham
Message:

#1614

  • Allowed to view the solution of a certain point in the pareto chart
  • Added multi crossovers and manipulators
  • Added population diversity analyzer
  • Fixed a few bugs
Location:
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3
Files:
4 added
6 edited

Legend:

Unmodified
Added
Removed
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers/BestGQAPSolutionAnalyzer.cs

    r7432 r7437  
    165165      GQAPAssignment assignment = BestSolutionParameter.ActualValue;
    166166      if (assignment == null) {
    167         assignment = new GQAPAssignment((IntegerVector)assignments[bestIndex].Clone(), (DoubleValue)qualities[bestIndex].Clone(), flowDistanceQualities[bestIndex], overbookedCapacities[bestIndex], installationQualities[bestIndex], equipmentNames, locationNames, distances, weights, installationCosts, demands, capacities, transportationCosts, overbookedCapacityPenalty);
     167        assignment = new GQAPAssignment((IntegerVector)assignments[bestIndex].Clone(), (DoubleValue)qualities[bestIndex].Clone(), flowDistanceQualities[bestIndex], installationQualities[bestIndex], overbookedCapacities[bestIndex], equipmentNames, locationNames, distances, weights, installationCosts, demands, capacities, transportationCosts, overbookedCapacityPenalty);
    168168        assignment.Distances = distances;
    169169        BestSolutionParameter.ActualValue = assignment;
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers/GQAPSolutionArchiveAnalyzer.cs

    r7423 r7437  
    178178            && front[i].InstallationQuality.Value > front[j].InstallationQuality.Value) {
    179179            front.RemoveAt(i);
    180             j = i + 1;
     180            j = i;
    181181          }
    182182        }
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/GQAPAssignment.cs

    r7432 r7437  
    160160      this.solution = new GQAPSolution(assignment, quality, flowDistanceQuality, installationQuality, overbookedCapacity);
    161161    }
    162     public GQAPAssignment(IntegerVector assignment, DoubleValue quality, DoubleValue flowDistanceQuality, DoubleValue overbookedCapacity, DoubleValue installationQuality, StringArray equipmentNames, StringArray locationNames, DoubleMatrix distances, DoubleMatrix weights, DoubleMatrix installationCosts, DoubleArray demands, DoubleArray capacities, DoubleValue transportationCosts, DoubleValue overbookedCapacityPenalty)
     162    public GQAPAssignment(IntegerVector assignment, DoubleValue quality, DoubleValue flowDistanceQuality, DoubleValue installationQuality, DoubleValue overbookedCapacity, StringArray equipmentNames, StringArray locationNames, DoubleMatrix distances, DoubleMatrix weights, DoubleMatrix installationCosts, DoubleArray demands, DoubleArray capacities, DoubleValue transportationCosts, DoubleValue overbookedCapacityPenalty)
    163163      : this(assignment, quality, flowDistanceQuality, installationQuality, overbookedCapacity) {
     164      this.equipmentNames = equipmentNames;
     165      this.locationNames = locationNames;
    164166      this.distances = distances;
    165167      this.weights = weights;
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/GeneralizedQuadraticAssignmentProblem.cs

    r7432 r7437  
    229229
    230230    private void InitializeOperators() {
     231      Operators.Clear();
    231232      Operators.Add(new BestGQAPSolutionAnalyzer());
    232233      Operators.Add(new GQAPSolutionArchiveAnalyzer());
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/HeuristicLab.Problems.GeneralizedQuadraticAssignment-3.3.csproj

    r7432 r7437  
    3838  </PropertyGroup>
    3939  <ItemGroup>
     40    <Reference Include="HeuristicLab.Analysis-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86">
     41      <SpecificVersion>False</SpecificVersion>
     42      <Private>False</Private>
     43    </Reference>
    4044    <Reference Include="HeuristicLab.Collections-3.3">
    4145      <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath>
     
    9094  <ItemGroup>
    9195    <Compile Include="Analyzers\BestGQAPSolutionAnalyzer.cs" />
     96    <Compile Include="Analyzers\GQAPPopulationDiversityAnalyzer.cs" />
    9297    <Compile Include="Analyzers\GQAPSolutionArchiveAnalyzer.cs" />
    9398    <Compile Include="Evaluators\GQAPNMoveEvaluator.cs" />
     
    98103    <Compile Include="GQAPAssignmentArchive.cs" />
    99104    <Compile Include="GQAPSolution.cs" />
     105    <Compile Include="Interfaces\IGQAPManipulator.cs" />
    100106    <Compile Include="Interfaces\IQualitiesAwareGQAPOperator.cs" />
    101107    <Compile Include="Interfaces\IAssignmentsAwareGQAPOperator.cs" />
     
    130136    <Compile Include="Moves\StochasticNMoveSingleMoveGenerator.cs" />
    131137    <Compile Include="Operators\ApproximateLocalSearch.cs" />
     138    <Compile Include="Operators\MultiGQAPCrossover.cs" />
    132139    <Compile Include="Operators\GQAPPathRelinking.cs" />
    133140    <Compile Include="Operators\GQAPStochasticSolutionCreator.cs" />
     
    137144    <Compile Include="Operators\GQAPSolutionCreator.cs" />
    138145    <Compile Include="Operators\GreedyRandomizedSolutionCreator.cs" />
     146    <Compile Include="Operators\MultiGQAPManipulator.cs" />
    139147    <Compile Include="Operators\NMoveShakingOperator.cs" />
    140148    <Compile Include="Operators\QualitySimilarityMerger.cs" />
  • branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Operators/GQAPManipulator.cs

    r7419 r7437  
    3131  [Item("GQAPManipulator", "A base class for operators that manipulate assignment vectors of the GeneralizedQuadraticAssignment problems.")]
    3232  [StorableClass]
    33   public abstract class GQAPManipulator : SingleSuccessorOperator, IAssignmentAwareGQAPOperator, IManipulator, IStochasticOperator {
     33  public abstract class GQAPManipulator : SingleSuccessorOperator, IGQAPManipulator, IAssignmentAwareGQAPOperator, IStochasticOperator {
    3434    public override bool CanChangeName {
    3535      get { return false; }
Note: See TracChangeset for help on using the changeset viewer.