Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/15 16:59:32 (9 years ago)
Author:
mkommend
Message:

#2320: Adapted all dependent plugins to the new design of the symbolic expression tree interfaces.

Location:
branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4
Files:
2 edited

Legend:

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

    r12316 r12341  
    2929  //This class should not be used anymore. Use HeuristicLab.Random.RandomEnumberable instead
    3030  //This could not be fixed right now, because the algorithm behavior would be modified => version increment
    31   internal static class EnumerableExtensions {
    32     internal static T SelectRandom<T>(this IEnumerable<T> xs, IRandom random) {
     31  public static class EnumerableExtensions {
     32    public static T SelectRandom<T>(this IEnumerable<T> xs, IRandom random) {
    3333      var list = xs as IList<T>;
    3434      if (list != null) {
     
    3939      }
    4040    }
    41     internal static T SelectRandom<T>(this IEnumerable<T> xs, IEnumerable<double> weights, IRandom random) {
     41    public static T SelectRandom<T>(this IEnumerable<T> xs, IEnumerable<double> weights, IRandom random) {
    4242      var list = xs as IList<T>;
    4343      var weightsList = weights as IList<double>;
  • branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj

    r12319 r12341  
    142142    <Reference Include="HeuristicLab.PluginInfrastructure-3.3">
    143143      <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath>
     144      <Private>False</Private>
     145    </Reference>
     146    <Reference Include="HeuristicLab.Random-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     147      <SpecificVersion>False</SpecificVersion>
     148      <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Random-3.3.dll</HintPath>
    144149      <Private>False</Private>
    145150    </Reference>
Note: See TracChangeset for help on using the changeset viewer.