- Timestamp:
- 07/26/12 11:26:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearch.cs
r8319 r8332 58 58 get { return (IValueParameter<MultiAnalyzer>)Parameters["Analyzer"]; } 59 59 } 60 public ConstrainedValueParameter<ICrossover> CrossoverParameter {61 get { return ( ConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; }60 public IConstrainedValueParameter<ICrossover> CrossoverParameter { 61 get { return (IConstrainedValueParameter<ICrossover>)Parameters["Crossover"]; } 62 62 } 63 63 public IValueParameter<BoolValue> ExecutePathRelinkingParameter { 64 64 get { return (IValueLookupParameter<BoolValue>)Parameters["ExecutePathRelinking"]; } 65 65 } 66 public ConstrainedValueParameter<IImprovementOperator> ImproverParameter {67 get { return ( ConstrainedValueParameter<IImprovementOperator>)Parameters["Improver"]; }66 public IConstrainedValueParameter<IImprovementOperator> ImproverParameter { 67 get { return (IConstrainedValueParameter<IImprovementOperator>)Parameters["Improver"]; } 68 68 } 69 69 public IValueParameter<IntValue> MaximumIterationsParameter { … … 73 73 get { return (IValueParameter<IntValue>)Parameters["NumberOfHighQualitySolutions"]; } 74 74 } 75 public ConstrainedValueParameter<IPathRelinker> PathRelinkerParameter {76 get { return ( ConstrainedValueParameter<IPathRelinker>)Parameters["PathRelinker"]; }75 public IConstrainedValueParameter<IPathRelinker> PathRelinkerParameter { 76 get { return (IConstrainedValueParameter<IPathRelinker>)Parameters["PathRelinker"]; } 77 77 } 78 78 public IValueParameter<IntValue> PopulationSizeParameter { … … 88 88 get { return (IValueParameter<BoolValue>)Parameters["SetSeedRandomly"]; } 89 89 } 90 public ConstrainedValueParameter<ISolutionSimilarityCalculator> SimilarityCalculatorParameter {91 get { return ( ConstrainedValueParameter<ISolutionSimilarityCalculator>)Parameters["SimilarityCalculator"]; }90 public IConstrainedValueParameter<ISolutionSimilarityCalculator> SimilarityCalculatorParameter { 91 get { return (IConstrainedValueParameter<ISolutionSimilarityCalculator>)Parameters["SimilarityCalculator"]; } 92 92 } 93 93 #endregion 94 94 95 95 #region Properties 96 p rivateMultiAnalyzer Analyzer {96 public MultiAnalyzer Analyzer { 97 97 get { return AnalyzerParameter.Value; } 98 98 set { AnalyzerParameter.Value = value; } 99 99 } 100 p rivateICrossover Crossover {100 public ICrossover Crossover { 101 101 get { return CrossoverParameter.Value; } 102 102 set { CrossoverParameter.Value = value; } 103 103 } 104 p rivateBoolValue ExecutePathRelinking {104 public BoolValue ExecutePathRelinking { 105 105 get { return ExecutePathRelinkingParameter.Value; } 106 106 set { ExecutePathRelinkingParameter.Value = value; } 107 107 } 108 p rivateIImprovementOperator Improver {108 public IImprovementOperator Improver { 109 109 get { return ImproverParameter.Value; } 110 110 set { ImproverParameter.Value = value; } 111 111 } 112 p rivateIntValue MaximumIterations {112 public IntValue MaximumIterations { 113 113 get { return MaximumIterationsParameter.Value; } 114 114 set { MaximumIterationsParameter.Value = value; } 115 115 } 116 p rivateIntValue NumberOfHighQualitySolutions {116 public IntValue NumberOfHighQualitySolutions { 117 117 get { return NumberOfHighQualitySolutionsParameter.Value; } 118 118 set { NumberOfHighQualitySolutionsParameter.Value = value; } 119 119 } 120 p rivateIPathRelinker PathRelinker {120 public IPathRelinker PathRelinker { 121 121 get { return PathRelinkerParameter.Value; } 122 122 set { PathRelinkerParameter.Value = value; } 123 123 } 124 p rivateIntValue PopulationSize {124 public IntValue PopulationSize { 125 125 get { return PopulationSizeParameter.Value; } 126 126 set { PopulationSizeParameter.Value = value; } 127 127 } 128 p rivateIntValue ReferenceSetSize {128 public IntValue ReferenceSetSize { 129 129 get { return ReferenceSetSizeParameter.Value; } 130 130 set { ReferenceSetSizeParameter.Value = value; } 131 131 } 132 p rivateIntValue Seed {132 public IntValue Seed { 133 133 get { return SeedParameter.Value; } 134 134 set { SeedParameter.Value = value; } 135 135 } 136 p rivateBoolValue SetSeedRandomly {136 public BoolValue SetSeedRandomly { 137 137 get { return SetSeedRandomlyParameter.Value; } 138 138 set { SetSeedRandomlyParameter.Value = value; } 139 139 } 140 p rivateISolutionSimilarityCalculator SimilarityCalculator {140 public ISolutionSimilarityCalculator SimilarityCalculator { 141 141 get { return SimilarityCalculatorParameter.Value; } 142 142 set { SimilarityCalculatorParameter.Value = value; }
Note: See TracChangeset
for help on using the changeset viewer.