Changeset 12341 for branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
- Timestamp:
- 04/23/15 16:59:32 (10 years ago)
- 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 29 29 //This class should not be used anymore. Use HeuristicLab.Random.RandomEnumberable instead 30 30 //This could not be fixed right now, because the algorithm behavior would be modified => version increment 31 internalstatic class EnumerableExtensions {32 internalstatic 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) { 33 33 var list = xs as IList<T>; 34 34 if (list != null) { … … 39 39 } 40 40 } 41 internalstatic 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) { 42 42 var list = xs as IList<T>; 43 43 var weightsList = weights as IList<double>; -
branches/SymbolicExpressionTreeEncoding/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj
r12319 r12341 142 142 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 143 143 <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> 144 149 <Private>False</Private> 145 150 </Reference>
Note: See TracChangeset
for help on using the changeset viewer.