- Timestamp:
- 04/03/19 16:33:04 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCreator.cs
r16723 r16753 29 29 [Item("MultiEncodingCreator", "Contains solution creators that together create a multi-encoding.")] 30 30 [StorableType("E261B506-6F74-4BC4-8164-5ACE20FBC319")] 31 publicsealed class MultiEncodingCreator : MultiEncodingOperator<ISolutionCreator>, ISolutionCreator<CombinedSolution> {31 internal sealed class MultiEncodingCreator : MultiEncodingOperator<ISolutionCreator>, ISolutionCreator<CombinedSolution> { 32 32 33 33 [StorableConstructor] -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingCrossover.cs
r16723 r16753 27 27 [Item("MultiEncoding Crossover", "Applies different crossovers to cross a multi-encoding.")] 28 28 [StorableType("BB0A04E2-899D-460C-82A2-5E4CEEDE8996")] 29 publicsealed class MultiEncodingCrossover : MultiEncodingOperator<ICrossover>, ICrossover {29 internal sealed class MultiEncodingCrossover : MultiEncodingOperator<ICrossover>, ICrossover { 30 30 31 31 [StorableConstructor] -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingManipulator.cs
r16723 r16753 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HEAL.Attic;25 25 26 26 namespace HeuristicLab.Optimization { 27 27 [Item("MultiEncoding Manipulator", "Applies different manipulators to change a multi-encoding.")] 28 28 [StorableType("574D0530-47E8-4FD9-8AC8-B8EA2DE3C203")] 29 publicsealed class MultiEncodingManipulator : MultiEncodingOperator<IManipulator>, IManipulator {29 internal sealed class MultiEncodingManipulator : MultiEncodingOperator<IManipulator>, IManipulator { 30 30 [StorableConstructor] 31 31 private MultiEncodingManipulator(StorableConstructorFlag _) : base(_) { } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiEncodingOperator.cs
r16724 r16753 30 30 namespace HeuristicLab.Optimization { 31 31 [StorableType("43619638-9D00-4951-8138-8CCD0786E784")] 32 publicabstract class MultiEncodingOperator<T> : InstrumentedOperator, IEncodingOperator<CombinedSolution>, IMultiEncodingOperator where T : class, IOperator {32 internal abstract class MultiEncodingOperator<T> : InstrumentedOperator, IEncodingOperator<CombinedSolution>, IMultiEncodingOperator where T : class, IOperator { 33 33 public ILookupParameter<CombinedSolution> SolutionParameter { 34 34 get { return (ILookupParameter<CombinedSolution>)Parameters["Solution"]; } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveAnalyzer.cs
r16751 r16753 33 33 [Item("Multi-objective Analyzer", "Calls the Analyze method of the problem definition.")] 34 34 [StorableType("903FE3D1-3179-4EA5-A7E1-63DE26239F9B")] 35 publicclass MultiObjectiveAnalyzer<TEncodedSolution> : SingleSuccessorOperator, IMultiObjectiveAnalysisOperator<TEncodedSolution>, IStochasticOperator35 internal sealed class MultiObjectiveAnalyzer<TEncodedSolution> : SingleSuccessorOperator, IMultiObjectiveAnalysisOperator<TEncodedSolution>, IStochasticOperator 36 36 where TEncodedSolution : class, IEncodedSolution { 37 37 public bool EnabledByDefault { get { return true; } } … … 56 56 57 57 [StorableConstructor] 58 pr otectedMultiObjectiveAnalyzer(StorableConstructorFlag _) : base(_) { }59 pr otectedMultiObjectiveAnalyzer(MultiObjectiveAnalyzer<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { }58 private MultiObjectiveAnalyzer(StorableConstructorFlag _) : base(_) { } 59 private MultiObjectiveAnalyzer(MultiObjectiveAnalyzer<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { } 60 60 public MultiObjectiveAnalyzer() { 61 61 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use.")); -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.cs
r16751 r16753 31 31 [Item("Multi-objective Evaluator", "Calls the Evaluate method of the problem definition and writes the return value into the scope.")] 32 32 [StorableType("C5605ED8-0ED2-4C7B-97A1-E7EB68A4FDBF")] 33 public class MultiObjectiveEvaluator<TEncodedSolution> : InstrumentedOperator, IMultiObjectiveEvaluationOperator<TEncodedSolution>, IStochasticOperator33 public sealed class MultiObjectiveEvaluator<TEncodedSolution> : InstrumentedOperator, IMultiObjectiveEvaluationOperator<TEncodedSolution>, IStochasticOperator 34 34 where TEncodedSolution : class, IEncodedSolution { 35 35 … … 49 49 50 50 [StorableConstructor] 51 pr otectedMultiObjectiveEvaluator(StorableConstructorFlag _) : base(_) { }52 pr otectedMultiObjectiveEvaluator(MultiObjectiveEvaluator<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { }51 private MultiObjectiveEvaluator(StorableConstructorFlag _) : base(_) { } 52 private MultiObjectiveEvaluator(MultiObjectiveEvaluator<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { } 53 53 public MultiObjectiveEvaluator() { 54 54 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use.")); -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveAnalyzer.cs
r16751 r16753 33 33 [Item("Single-objective Analyzer", "Calls the script's Analyze method to be able to write into the results collection.")] 34 34 [StorableType("3D20F8E2-CE11-4021-A05B-CFCB02C0FD6F")] 35 publicsealed class SingleObjectiveAnalyzer<TEncodedSolution> : SingleSuccessorOperator, ISingleObjectiveAnalysisOperator<TEncodedSolution>, IAnalyzer, IStochasticOperator35 internal sealed class SingleObjectiveAnalyzer<TEncodedSolution> : SingleSuccessorOperator, ISingleObjectiveAnalysisOperator<TEncodedSolution>, IAnalyzer, IStochasticOperator 36 36 where TEncodedSolution : class, IEncodedSolution { 37 37 public bool EnabledByDefault { get { return true; } } -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveEvaluator.cs
r16751 r16753 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 26 27 using HeuristicLab.Operators; 27 28 using HeuristicLab.Parameters; 28 using HEAL.Attic;29 29 30 30 namespace HeuristicLab.Optimization { -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveImprover.cs
r16751 r16753 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Operators; 29 30 using HeuristicLab.Parameters; 30 using HEAL.Attic;31 31 32 32 namespace HeuristicLab.Optimization { 33 33 [Item("Single-objective Improver", "Improves a solution by calling GetNeighbors and Evaluate of the corresponding problem definition.")] 34 34 [StorableType("7A917E09-920C-4B47-9599-67371101B35F")] 35 publicsealed class SingleObjectiveImprover<TEncodedSolution> : SingleSuccessorOperator, INeighborBasedOperator<TEncodedSolution>, IImprovementOperator, ISingleObjectiveEvaluationOperator<TEncodedSolution>, IStochasticOperator35 internal sealed class SingleObjectiveImprover<TEncodedSolution> : SingleSuccessorOperator, INeighborBasedOperator<TEncodedSolution>, IImprovementOperator, ISingleObjectiveEvaluationOperator<TEncodedSolution>, IStochasticOperator 36 36 where TEncodedSolution : class, IEncodedSolution { 37 37 public ILookupParameter<IRandom> RandomParameter { -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveEvaluator.cs
r16751 r16753 31 31 [Item("Single-objective MoveEvaluator", "Evaluates a parameter vector that results from a move.")] 32 32 [StorableType("EE4B1EBA-50BF-40C7-B338-F4A9D9CC554E")] 33 publicclass SingleObjectiveMoveEvaluator<TEncodedSolution> : SingleSuccessorOperator, ISingleObjectiveEvaluationOperator<TEncodedSolution>, ISingleObjectiveMoveEvaluator, IStochasticOperator, ISingleObjectiveMoveOperator33 internal sealed class SingleObjectiveMoveEvaluator<TEncodedSolution> : SingleSuccessorOperator, ISingleObjectiveEvaluationOperator<TEncodedSolution>, ISingleObjectiveMoveEvaluator, IStochasticOperator, ISingleObjectiveMoveOperator 34 34 where TEncodedSolution : class, IEncodedSolution { 35 35 … … 53 53 54 54 [StorableConstructor] 55 pr otectedSingleObjectiveMoveEvaluator(StorableConstructorFlag _) : base(_) { }56 pr otectedSingleObjectiveMoveEvaluator(SingleObjectiveMoveEvaluator<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { }55 private SingleObjectiveMoveEvaluator(StorableConstructorFlag _) : base(_) { } 56 private SingleObjectiveMoveEvaluator(SingleObjectiveMoveEvaluator<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { } 57 57 public SingleObjectiveMoveEvaluator() { 58 58 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use.")); -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveGenerator.cs
r16751 r16753 24 24 using System.Globalization; 25 25 using System.Linq; 26 using HEAL.Attic; 26 27 using HeuristicLab.Common; 27 28 using HeuristicLab.Core; … … 29 30 using HeuristicLab.Operators; 30 31 using HeuristicLab.Parameters; 31 using HEAL.Attic;32 32 33 33 namespace HeuristicLab.Optimization { 34 34 [Item("Single-objective MoveGenerator", "Calls the GetNeighbors method of the problem definition to obtain the moves.")] 35 35 [StorableType("CB37E7D8-EAC3-4061-9D39-20538CD1064D")] 36 publicclass SingleObjectiveMoveGenerator<TEncodedSolution> : SingleSuccessorOperator, INeighborBasedOperator<TEncodedSolution>, IMultiMoveGenerator, IStochasticOperator, ISingleObjectiveMoveOperator36 internal sealed class SingleObjectiveMoveGenerator<TEncodedSolution> : SingleSuccessorOperator, INeighborBasedOperator<TEncodedSolution>, IMultiMoveGenerator, IStochasticOperator, ISingleObjectiveMoveOperator 37 37 where TEncodedSolution : class, IEncodedSolution { 38 38 public ILookupParameter<IRandom> RandomParameter { … … 51 51 52 52 [StorableConstructor] 53 pr otectedSingleObjectiveMoveGenerator(StorableConstructorFlag _) : base(_) { }54 pr otectedSingleObjectiveMoveGenerator(SingleObjectiveMoveGenerator<TEncodedSolution> original, Cloner cloner)53 private SingleObjectiveMoveGenerator(StorableConstructorFlag _) : base(_) { } 54 private SingleObjectiveMoveGenerator(SingleObjectiveMoveGenerator<TEncodedSolution> original, Cloner cloner) 55 55 : base(original, cloner) { } 56 56 public SingleObjectiveMoveGenerator() { -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveMoveMaker.cs
r16751 r16753 31 31 [Item("Single-objective MoveMaker", "Applies a move.")] 32 32 [StorableType("C0ABF392-C825-4B98-8FB9-5749A9091FD6")] 33 publicclass SingleObjectiveMoveMaker<TEncodedSolution> : InstrumentedOperator, IMoveMaker, ISingleObjectiveMoveOperator33 internal sealed class SingleObjectiveMoveMaker<TEncodedSolution> : InstrumentedOperator, IMoveMaker, ISingleObjectiveMoveOperator 34 34 where TEncodedSolution : class, IEncodedSolution { 35 35 public ILookupParameter<IEncoding<TEncodedSolution>> EncodingParameter { … … 46 46 47 47 [StorableConstructor] 48 pr otectedSingleObjectiveMoveMaker(StorableConstructorFlag _) : base(_) { }49 pr otectedSingleObjectiveMoveMaker(SingleObjectiveMoveMaker<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { }48 private SingleObjectiveMoveMaker(StorableConstructorFlag _) : base(_) { } 49 private SingleObjectiveMoveMaker(SingleObjectiveMoveMaker<TEncodedSolution> original, Cloner cloner) : base(original, cloner) { } 50 50 public SingleObjectiveMoveMaker() { 51 51 Parameters.Add(new LookupParameter<IEncoding<TEncodedSolution>>("Encoding", "An item that holds the problem's encoding."));
Note: See TracChangeset
for help on using the changeset viewer.