- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- Location:
- branches/ParallelEngine/HeuristicLab.Encodings.IntegerVectorEncoding/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Crossovers/MultiIntegerVectorCrossover.cs
r4722 r5177 90 90 } 91 91 92 public override IOperation Apply( ) {92 public override IOperation Apply(IExecutionContext context) { 93 93 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one integer vector crossover to choose from."); 94 return base.Apply( );94 return base.Apply(context); 95 95 } 96 96 } -
branches/ParallelEngine/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCreator.cs
r4722 r5177 66 66 } 67 67 68 public sealed override IOperation Apply( ) {68 public sealed override IOperation Apply(IExecutionContext context) { 69 69 IntegerVectorParameter.ActualValue = Create(RandomParameter.ActualValue, LengthParameter.ActualValue, MinimumParameter.ActualValue, MaximumParameter.ActualValue); 70 return base.Apply( );70 return base.Apply(context); 71 71 } 72 72 -
branches/ParallelEngine/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorCrossover.cs
r4722 r5177 59 59 } 60 60 61 public sealed override IOperation Apply( ) {61 public sealed override IOperation Apply(IExecutionContext context) { 62 62 ChildParameter.ActualValue = Cross(RandomParameter.ActualValue, ParentsParameter.ActualValue); 63 return base.Apply( );63 return base.Apply(context); 64 64 } 65 65 -
branches/ParallelEngine/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/IntegerVectorManipulator.cs
r4722 r5177 53 53 } 54 54 55 public sealed override IOperation Apply( ) {55 public sealed override IOperation Apply(IExecutionContext context) { 56 56 Manipulate(RandomParameter.ActualValue, IntegerVectorParameter.ActualValue); 57 return base.Apply( );57 return base.Apply(context); 58 58 } 59 59
Note: See TracChangeset
for help on using the changeset viewer.