Free cookie consent management tool by TermsFeed Policy Generator

Changeset 321 for trunk


Ignore:
Timestamp:
06/18/08 11:30:28 (16 years ago)
Author:
gkronber
Message:
  • changed Instr from struct to class for a big performance improvement
  • BakedTreeEvaluator is never serialized so it doesn't need to extend StorableBase anymore. (related to changes in #168)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Functions/BakedTreeEvaluator.cs

    r319 r321  
    2929
    3030namespace HeuristicLab.Functions {
    31   internal class BakedTreeEvaluator : StorableBase {
    32     private struct Instr {
     31  internal class BakedTreeEvaluator {
     32    private class Instr {
    3333      public double d_arg0;
    3434      public int i_arg0;
     
    4242    private Dataset dataset;
    4343    private int sampleIndex;
    44 
    45     // for persistence mechanism only
    46     public BakedTreeEvaluator() {
    47     }
    4844
    4945    public BakedTreeEvaluator(List<LightWeightFunction> linearRepresentation) {
     
    230226      }
    231227    }
    232 
    233     public override object Clone(IDictionary<Guid, object> clonedObjects) {
    234       throw new NotImplementedException();
    235     }
    236228  }
    237229}
Note: See TracChangeset for help on using the changeset viewer.