Changeset 11694 for branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking
- Timestamp:
- 12/17/14 18:52:37 (10 years ago)
- Location:
- branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionAfterCrossoverOperator.cs
r11350 r11694 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; 26 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 28 using HeuristicLab.EvolutionTracking; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 30 29 31 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 30 32 public class SymbolicDataAnalysisExpressionAfterCrossoverOperator : AfterCrossoverOperator<ISymbolicExpressionTree> { 33 public SymbolicDataAnalysisExpressionAfterCrossoverOperator() { } 34 35 protected SymbolicDataAnalysisExpressionAfterCrossoverOperator(SymbolicDataAnalysisExpressionAfterCrossoverOperator original, Cloner cloner) 36 : base(original, cloner) { 37 } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new SymbolicDataAnalysisExpressionAfterCrossoverOperator(this, cloner); 41 } 42 43 [StorableConstructor] 44 protected SymbolicDataAnalysisExpressionAfterCrossoverOperator(bool deserializing) : base(deserializing) { } 45 31 46 public override IOperation Apply() { 32 var childVertex = (IGenealogyGraphNode<ISymbolicExpressionTree>)GenealogyGraph.GetByContent(ChildParameter.ActualValue);47 var childVertex = GenealogyGraph.GetByContent(ChildParameter.ActualValue); 33 48 var arcs = childVertex.InArcs.ToList(); 34 49 var nodes0 = (List<ISymbolicExpressionTreeNode>)arcs[0].Data; -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionAfterManipulatorOperator.cs
r11387 r11694 21 21 22 22 using System.Linq; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 26 using HeuristicLab.EvolutionTracking; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 28 27 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 28 30 public class SymbolicDataAnalysisExpressionAfterManipulatorOperator : AfterManipulatorOperator<ISymbolicExpressionTree> { 31 public SymbolicDataAnalysisExpressionAfterManipulatorOperator() { } 32 33 protected SymbolicDataAnalysisExpressionAfterManipulatorOperator(SymbolicDataAnalysisExpressionAfterManipulatorOperator original, Cloner cloner) 34 : base(original, cloner) { 35 } 36 37 public override IDeepCloneable Clone(Cloner cloner) { 38 return new SymbolicDataAnalysisExpressionAfterManipulatorOperator(this, cloner); 39 } 40 41 [StorableConstructor] 42 protected SymbolicDataAnalysisExpressionAfterManipulatorOperator(bool deserializing) : base(deserializing) { } 43 29 44 public override IOperation Apply() { 30 45 var child = ChildParameter.ActualValue; -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionBeforeCrossoverOperator.cs
r11233 r11694 21 21 22 22 using System.Linq; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 26 using HeuristicLab.EvolutionTracking; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 28 27 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 28 30 public class SymbolicDataAnalysisExpressionBeforeCrossoverOperator : BeforeCrossoverOperator<ISymbolicExpressionTree> { 31 public SymbolicDataAnalysisExpressionBeforeCrossoverOperator() { } 32 33 protected SymbolicDataAnalysisExpressionBeforeCrossoverOperator(SymbolicDataAnalysisExpressionBeforeCrossoverOperator original, Cloner cloner) 34 : base(original, cloner) { 35 } 36 37 public override IDeepCloneable Clone(Cloner cloner) { 38 return new SymbolicDataAnalysisExpressionBeforeCrossoverOperator(this, cloner); 39 } 40 41 [StorableConstructor] 42 protected SymbolicDataAnalysisExpressionBeforeCrossoverOperator(bool deserializing) : base(deserializing) { } 43 29 44 public override IOperation Apply() { 30 45 var result = base.Apply(); // the base operator will add the child to the graph before the actual crossover operation takes place -
branches/HeuristicLab.EvolutionTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Tracking/SymbolicDataAnalysisExpressionBeforeManipulatorOperator.cs
r11387 r11694 21 21 22 22 using System.Linq; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 26 using HeuristicLab.EvolutionTracking; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 28 27 29 namespace HeuristicLab.Problems.DataAnalysis.Symbolic { 28 30 public class SymbolicDataAnalysisExpressionBeforeManipulatorOperator : BeforeManipulatorOperator<ISymbolicExpressionTree> { 31 public SymbolicDataAnalysisExpressionBeforeManipulatorOperator() { } 32 33 protected SymbolicDataAnalysisExpressionBeforeManipulatorOperator(SymbolicDataAnalysisExpressionBeforeManipulatorOperator original, Cloner cloner) 34 : base(original, cloner) { 35 } 36 37 public override IDeepCloneable Clone(Cloner cloner) { 38 return new SymbolicDataAnalysisExpressionBeforeManipulatorOperator(this, cloner); 39 } 40 41 [StorableConstructor] 42 protected SymbolicDataAnalysisExpressionBeforeManipulatorOperator(bool deserializing) : base(deserializing) { } 43 29 44 public override IOperation Apply() { 30 45 // the call below does the following things:
Note: See TracChangeset
for help on using the changeset viewer.