- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Tests/ChangeNodeTypeManipulationTest.cs
r4189 r4722 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ArchitectureManipulators;26 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Creators; 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Manipulators; 27 27 using HeuristicLab.Random; 28 28 using Microsoft.VisualStudio.TestTools.UnitTesting; 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Manipulators;30 29 31 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding_3._3.Tests { -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Tests/Grammars.cs
r4106 r4722 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 24 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols; … … 26 27 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding_3._3.Tests { 27 28 public static class Grammars { 28 private class Addition : Symbol { public Addition() : base("Addition", "") { } } 29 private class Subtraction : Symbol { public Subtraction() : base("Subtraction", "") { } } 30 private class Multiplication : Symbol { public Multiplication() : base("Multiplication", "") { } } 31 private class Division : Symbol { public Division() : base("Division", "") { } } 32 private class Terminal : Symbol { public Terminal() : base("Terminal", "") { } } 29 private class Addition : Symbol { 30 protected Addition(Addition original, Cloner cloner) : base(original, cloner) { } 31 public Addition() : base("Addition", "") { } 32 public override IDeepCloneable Clone(Cloner cloner) { 33 return new Addition(this, cloner); 34 } 35 } 36 private class Subtraction : Symbol { 37 protected Subtraction(Subtraction original, Cloner cloner) : base(original, cloner) { } 38 public Subtraction() : base("Subtraction", "") { } 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new Subtraction(this, cloner); 41 } 42 } 43 private class Multiplication : Symbol { 44 protected Multiplication(Multiplication original, Cloner cloner) : base(original, cloner) { } 45 public Multiplication() : base("Multiplication", "") { } 46 public override IDeepCloneable Clone(Cloner cloner) { 47 return new Multiplication(this, cloner); 48 } 49 } 50 private class Division : Symbol { 51 protected Division(Division original, Cloner cloner) : base(original, cloner) { } 52 public Division() : base("Division", "") { } 53 public override IDeepCloneable Clone(Cloner cloner) { 54 return new Division(this, cloner); 55 } 56 } 57 private class Terminal : Symbol { 58 protected Terminal(Terminal original, Cloner cloner) : base(original, cloner) { } 59 public Terminal() : base("Terminal", "") { } 60 public override IDeepCloneable Clone(Cloner cloner) { 61 return new Terminal(this, cloner); 62 } 63 } 33 64 34 65 private class SimpleArithmeticGrammar : DefaultSymbolicExpressionGrammar { 66 protected SimpleArithmeticGrammar(SimpleArithmeticGrammar original, Cloner cloner) : base(original, cloner) { } 35 67 public SimpleArithmeticGrammar() 36 68 : base() { 37 69 Initialize(); 70 } 71 72 public override IDeepCloneable Clone(Cloner cloner) { 73 return new SimpleArithmeticGrammar(this, cloner); 38 74 } 39 75 -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Tests/ReplaceBranchManipulationTest.cs
r4189 r4722 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.ArchitectureManipulators;26 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Creators; 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Manipulators; 27 27 using HeuristicLab.Random; 28 28 using Microsoft.VisualStudio.TestTools.UnitTesting; 29 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Manipulators;30 29 31 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding_3._3.Tests { -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Tests/Util.cs
r4524 r4722 25 25 using System.Text; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols; 27 28 using Microsoft.VisualStudio.TestTools.UnitTesting; 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;29 29 30 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding_3._3.Tests {
Note: See TracChangeset
for help on using the changeset viewer.