Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (8 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r13173 r13656  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    2524using System.Linq;
    2625using HeuristicLab.Common;
     
    4342    public string Filename { get; set; }
    4443
    45     public static new Image StaticItemImage {
    46       get { return HeuristicLab.Common.Resources.VSImageLibrary.Type; }
    47     }
     44
    4845
    4946    #region Parameter Properties
    50     public IValueParameter<ItemSet<Permutation>> BestKnownSolutionsParameter {
     47    public IValueParameter<ItemSet<Permutation>> BestKnownSolutionsParameter
     48    {
    5149      get { return (IValueParameter<ItemSet<Permutation>>)Parameters["BestKnownSolutions"]; }
    5250    }
    53     public IValueParameter<Permutation> BestKnownSolutionParameter {
     51    public IValueParameter<Permutation> BestKnownSolutionParameter
     52    {
    5453      get { return (IValueParameter<Permutation>)Parameters["BestKnownSolution"]; }
    5554    }
    56     public IValueParameter<DoubleMatrix> WeightsParameter {
     55    public IValueParameter<DoubleMatrix> WeightsParameter
     56    {
    5757      get { return (IValueParameter<DoubleMatrix>)Parameters["Weights"]; }
    5858    }
    59     public IValueParameter<DoubleMatrix> DistancesParameter {
     59    public IValueParameter<DoubleMatrix> DistancesParameter
     60    {
    6061      get { return (IValueParameter<DoubleMatrix>)Parameters["Distances"]; }
    6162    }
    62     public IValueParameter<DoubleValue> LowerBoundParameter {
     63    public IValueParameter<DoubleValue> LowerBoundParameter
     64    {
    6365      get { return (IValueParameter<DoubleValue>)Parameters["LowerBound"]; }
    6466    }
    65     public IValueParameter<DoubleValue> AverageQualityParameter {
     67    public IValueParameter<DoubleValue> AverageQualityParameter
     68    {
    6669      get { return (IValueParameter<DoubleValue>)Parameters["AverageQuality"]; }
    6770    }
     
    6972
    7073    #region Properties
    71     public ItemSet<Permutation> BestKnownSolutions {
     74    public ItemSet<Permutation> BestKnownSolutions
     75    {
    7276      get { return BestKnownSolutionsParameter.Value; }
    7377      set { BestKnownSolutionsParameter.Value = value; }
    7478    }
    75     public Permutation BestKnownSolution {
     79    public Permutation BestKnownSolution
     80    {
    7681      get { return BestKnownSolutionParameter.Value; }
    7782      set { BestKnownSolutionParameter.Value = value; }
    7883    }
    79     public DoubleMatrix Weights {
     84    public DoubleMatrix Weights
     85    {
    8086      get { return WeightsParameter.Value; }
    8187      set { WeightsParameter.Value = value; }
    8288    }
    83     public DoubleMatrix Distances {
     89    public DoubleMatrix Distances
     90    {
    8491      get { return DistancesParameter.Value; }
    8592      set { DistancesParameter.Value = value; }
    8693    }
    87     public DoubleValue LowerBound {
     94    public DoubleValue LowerBound
     95    {
    8896      get { return LowerBoundParameter.Value; }
    8997      set { LowerBoundParameter.Value = value; }
    9098    }
    91     public DoubleValue AverageQuality {
     99    public DoubleValue AverageQuality
     100    {
    92101      get { return AverageQualityParameter.Value; }
    93102      set { AverageQualityParameter.Value = value; }
    94103    }
    95104
    96     private BestQAPSolutionAnalyzer BestQAPSolutionAnalyzer {
     105    private BestQAPSolutionAnalyzer BestQAPSolutionAnalyzer
     106    {
    97107      get { return Operators.OfType<BestQAPSolutionAnalyzer>().FirstOrDefault(); }
    98108    }
    99109
    100     private QAPAlleleFrequencyAnalyzer QAPAlleleFrequencyAnalyzer {
     110    private QAPAlleleFrequencyAnalyzer QAPAlleleFrequencyAnalyzer
     111    {
    101112      get { return Operators.OfType<QAPAlleleFrequencyAnalyzer>().FirstOrDefault(); }
    102113    }
    103114
    104     private QAPPopulationDiversityAnalyzer QAPPopulationDiversityAnalyzer {
     115    private QAPPopulationDiversityAnalyzer QAPPopulationDiversityAnalyzer
     116    {
    105117      get { return Operators.OfType<QAPPopulationDiversityAnalyzer>().FirstOrDefault(); }
    106118    }
Note: See TracChangeset for help on using the changeset viewer.