Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/19/17 12:55:58 (7 years ago)
Author:
pkimmesw
Message:

#2665 Started Plush Encoding, Added Zero Error Individual Count Analyzer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problems.ProgramSynthesis.Base/Erc/ErcOptionConvertible.cs

    r14952 r15273  
    77  using HeuristicLab.Core;
    88  using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    9   using HeuristicLab.Problems.ProgramSynthesis.Base.Weighted;
     9  using HeuristicLab.Problems.ProgramSynthesis.Base.Extensions;
    1010
    1111  [StorableClass]
     
    9393      var ercValueItem = list
    9494        .Where(item => item.IsEnabled)
    95         .RandomWeightedOrDefault(random);
     95        .RandomWeightedOrDefault(random, x => x.Weight);
    9696
    9797      return ercValueItem == null
Note: See TracChangeset for help on using the changeset viewer.