Changeset 11939 for trunk/sources/HeuristicLab.Random/3.3
- Timestamp:
- 02/06/15 13:28:55 (10 years ago)
- Location:
- trunk/sources/HeuristicLab.Random/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Random/3.3/HeuristicLab.Random-3.3.csproj
r11623 r11939 118 118 <ItemGroup> 119 119 <None Include="Plugin.cs.frame" /> 120 <Compile Include="ListExtensions.cs" /> 120 121 <Compile Include="UniformDistributedRandom.cs" /> 121 122 <Compile Include="FastRandom.cs" /> -
trunk/sources/HeuristicLab.Random/3.3/ListExtensions.cs
r11935 r11939 1 using System; 1 #region License Information 2 3 /* HeuristicLab 4 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 5 * 6 * This file is part of HeuristicLab. 7 * 8 * HeuristicLab is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * (at your option) any later version. 12 * 13 * HeuristicLab is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 20 */ 21 22 #endregion 23 2 24 using System.Collections.Generic; 3 using System.Linq;4 using System.Text;5 using System.Threading.Tasks;6 25 using HeuristicLab.Core; 7 26 8 namespace HeuristicLab. Algorithms.ParameterlessPopulationPyramid{27 namespace HeuristicLab.Random { 9 28 public static class ListExtensions { 10 29 public static IList<T> Swap<T>(this IList<T> list, int indexA, int indexB) {
Note: See TracChangeset
for help on using the changeset viewer.