Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/20/13 10:10:41 (11 years ago)
Author:
bburlacu
Message:

#1772: Removed unnecessary subproject (not included in solution). Merged changes from tree layout branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/GeneticExchange.cs

    r9835 r9996  
    2828  [StorableClass]
    2929  public class GeneticExchange : Item {
    30     public IFragment FragmentIn { get; set; }
    31     public IFragment FragmentOut { get; set; }
     30    [Storable]
     31    private IFragment inFragment;
     32    public IFragment FragmentIn {
     33      get { return inFragment; }
     34      set { inFragment = value; }
     35    }
     36    [Storable]
     37    private IFragment outFragment;
     38    public IFragment FragmentOut {
     39      get { return outFragment; }
     40      set { outFragment = value; }
     41    }
    3242
    3343    [StorableConstructor]
    3444    private GeneticExchange(bool serializing) : base(serializing) { }
    35     private GeneticExchange(GeneticExchange original, Cloner cloner) : base(original, cloner) { }
     45
     46    private GeneticExchange(GeneticExchange original, Cloner cloner)
     47      : base(original, cloner) {
     48      inFragment = (IFragment)original.inFragment.Clone();
     49      outFragment = (IFragment)original.outFragment.Clone();
     50    }
    3651    public GeneticExchange() { }
    3752
Note: See TracChangeset for help on using the changeset viewer.