Changeset 11307


Ignore:
Timestamp:
08/26/14 16:32:44 (5 years ago)
Author:
pfleck
Message:

#2208

  • Added missing PluginDependencies.
  • Sealed some classes.
Location:
branches/HeuristicLab.Problems.Orienteering
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Instances.Orienteering/3.3/Plugin.cs.frame

    r11258 r11307  
    2222using HeuristicLab.PluginInfrastructure;
    2323
    24 namespace HeuristicLab.Problems.Orienteering {
    25   /// <summary>
    26   /// Plugin class for HeuristicLab.Problems.Orienteering.
    27   /// </summary>
     24namespace HeuristicLab.Problems.Instances.Orienteering {
    2825  [Plugin("HeuristicLab.Problems.Instances.Orienteering", "3.3.10.$WCREV$")]
    2926  [PluginFile("HeuristicLab.Problems.Instances.Orienteering-3.3.dll", PluginFileType.Assembly)]
    30   [PluginDependency("HeuristicLab.Common", "3.3")]
    31   [PluginDependency("HeuristicLab.Core", "3.3")]
     27  [PluginDependency("HeuristicLab.Problems.Instances", "3.3")]
    3228  public class HeuristicLabProblemsInstancesOrienteeringPlugin : PluginBase {    }
    3329}
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering.Views/3.3/Plugin.cs.frame

    r11188 r11307  
    3030  [PluginDependency("HeuristicLab.Common", "3.3")]
    3131  [PluginDependency("HeuristicLab.Core", "3.3")]
    32   [PluginDependency("HeuristicLab.Random", "3.3")]
     32  [PluginDependency("HeuristicLab.Core.Views", "3.3")]
     33  [PluginDependency("HeuristicLab.Data", "3.3")]
     34  [PluginDependency("HeuristicLab.Encodings.IntegerVectorEncoding", "3.3")]
     35  [PluginDependency("HeuristicLab.MainForm", "3.3")]
     36  [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")]
     37  [PluginDependency("HeuristicLab.Optimization", "3.3")]
     38  [PluginDependency("HeuristicLab.Optimization.Views", "3.3")]
     39  [PluginDependency("HeuristicLab.Parameters", "3.3")]
    3340  [PluginDependency("HeuristicLab.Problems.Orienteering", "3.3")]
    3441  public class HeuristicLabProblemsOrienteeringViewsPlugin : PluginBase {    }
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Analyzers/BestOrienteeringSolutionAnalyser.cs

    r11265 r11307  
    3131
    3232namespace HeuristicLab.Problems.Orienteering {
    33   public class BestOrienteeringSolutionAnalyser : SingleSuccessorOperator, IAnalyzer {
    34     public virtual bool EnabledByDefault {
     33  public sealed class BestOrienteeringSolutionAnalyser : SingleSuccessorOperator, IAnalyzer {
     34    public bool EnabledByDefault {
    3535      get { return true; }
    3636    }
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Creators/GreedyOrienteeringTourCreator.cs

    r11228 r11307  
    3636points from this list at the first position in which they can feasibly be inserted. (Schilde et. al. 2009)")]
    3737  [StorableClass]
    38   public class GreedyOrienteeringTourCreator : IntegerVectorCreator {
     38  public sealed class GreedyOrienteeringTourCreator : IntegerVectorCreator {
    3939    public override bool CanChangeName { get { return false; } }
    4040
     
    6161
    6262    [StorableConstructor]
    63     protected GreedyOrienteeringTourCreator(bool deserializing)
     63    private GreedyOrienteeringTourCreator(bool deserializing)
    6464      : base(deserializing) { }
    65     protected GreedyOrienteeringTourCreator(GreedyOrienteeringTourCreator original, Cloner cloner)
     65    private GreedyOrienteeringTourCreator(GreedyOrienteeringTourCreator original, Cloner cloner)
    6666      : base(original, cloner) { }
    6767
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Improvers/OrienteeringLocalImprovementOperator.cs

    r11303 r11307  
    3737minimize the cost of the tour. As shortening operator a 2-opt is applied. (Schilde et. al. 2009)")]
    3838  [StorableClass]
    39   public class OrienteeringLocalImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator {
     39  public sealed class OrienteeringLocalImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator {
    4040
    4141    #region Parameter Properties
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/OrienteeringProblem.cs

    r11303 r11307  
    3838  [Creatable("Problems")]
    3939  [StorableClass]
    40   public class OrienteeringProblem
     40  public sealed class OrienteeringProblem
    4141    : SingleObjectiveHeuristicOptimizationProblem<IOrienteeringEvaluator, IIntegerVectorCreator>,
    4242    IStorableContent, IProblemInstanceConsumer<OPData>, IProblemInstanceConsumer<TSPData>, IProblemInstanceConsumer<CVRPData> {
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/OrienteeringSolution.cs

    r11265 r11307  
    1010  [Item("OrienteeringSolution", "Represents a Orienteering solution which can be visualized in the GUI.")]
    1111  [StorableClass]
    12   public class OrienteeringSolution : Item {
     12  public sealed class OrienteeringSolution : Item {
    1313    public static new Image StaticItemImage {
    1414      get { return HeuristicLab.Common.Resources.VSImageLibrary.Image; }
     
    9595
    9696    [StorableConstructor]
    97     private OrienteeringSolution(bool deserializing) : base(deserializing) { }
     97    private OrienteeringSolution(bool deserializing)
     98      : base(deserializing) { }
    9899    private OrienteeringSolution(OrienteeringSolution original, Cloner cloner)
    99100      : base(original, cloner) {
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Plugin.cs.frame

    r11188 r11307  
    2828  [Plugin("HeuristicLab.Problems.Orienteering", "3.3.10.$WCREV$")]
    2929  [PluginFile("HeuristicLab.Problems.Orienteering-3.3.dll", PluginFileType.Assembly)]
     30  [PluginDependency("HeuristicLab.Analysis", "3.3")]
     31  [PluginDependency("HeuristicLab.Collections", "3.3")]
    3032  [PluginDependency("HeuristicLab.Common", "3.3")]
     33  [PluginDependency("HeuristicLab.Common.Resources", "3.3")]
    3134  [PluginDependency("HeuristicLab.Core", "3.3")]
     35  [PluginDependency("HeuristicLab.Data", "3.3")]
     36  [PluginDependency("HeuristicLab.Encodings.IntegerVectorEncoding", "3.3")]
     37  [PluginDependency("HeuristicLab.Operators", "3.3")]
     38  [PluginDependency("HeuristicLab.Optimization", "3.3")]
     39  [PluginDependency("HeuristicLab.Parameters", "3.3")]
     40  [PluginDependency("HeuristicLab.Persistence", "3.3")]
     41  [PluginDependency("HeuristicLab.Problems.Instances", "3.3")]
    3242  [PluginDependency("HeuristicLab.Random", "3.3")]
    3343  [PluginDependency("HeuristicLab.Scripting", "3.3")]
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering/3.3/Shakers/OrienteeringShakingOperator.cs

    r11293 r11307  
    4646(Schilde et. al. 2009)")]
    4747  [StorableClass]
    48   public class OrienteeringShakingOperator : SingleSuccessorOperator, IMultiNeighborhoodShakingOperator, IStochasticOperator {
     48  public sealed class OrienteeringShakingOperator : SingleSuccessorOperator, IMultiNeighborhoodShakingOperator, IStochasticOperator {
    4949
    5050    #region Shaking Parameter Properties
Note: See TracChangeset for help on using the changeset viewer.