Changeset 2865 for trunk/sources/HeuristicLab.Permutation
- Timestamp:
- 02/25/10 06:35:43 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Permutation/3.3
- Files:
-
- 2 added
- 9 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Permutation/3.3/AbsolutePositionTopologicalCrossover.cs
r2854 r2865 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 23 using HeuristicLab.Core; 26 using HeuristicLab.Data;27 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 25 -
trunk/sources/HeuristicLab.Permutation/3.3/CosaCrossover.cs
r2856 r2865 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 23 using HeuristicLab.Core; 26 using HeuristicLab.Data;27 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 25 -
trunk/sources/HeuristicLab.Permutation/3.3/EdgeRecombinationCrossover.cs
r2854 r2865 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 23 using HeuristicLab.Core; 26 using HeuristicLab.Data;27 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 25 -
trunk/sources/HeuristicLab.Permutation/3.3/HeuristicLab.Permutation-3.3.csproj
r2857 r2865 83 83 <None Include="HeuristicLabPermutationPlugin.cs.frame" /> 84 84 <Compile Include="AbsolutePositionTopologicalCrossover.cs" /> 85 <Compile Include="IPermutationCreator.cs" /> 86 <Compile Include="IPermutationOperator.cs" /> 85 87 <Compile Include="CosaCrossover.cs" /> 86 88 <Compile Include="CyclicCrossover.cs" /> … … 90 92 <SubType>Code</SubType> 91 93 </Compile> 92 <Compile Include="IPermutationCrossover Operator.cs" />93 <Compile Include="IPermutationManipulat ionOperator.cs" />94 <Compile Include="IPermutationCrossover.cs" /> 95 <Compile Include="IPermutationManipulator.cs" /> 94 96 <Compile Include="MaximalPreservativeCrossover.cs" /> 95 97 <Compile Include="OrderBasedCrossover.cs" /> -
trunk/sources/HeuristicLab.Permutation/3.3/IPermutationCrossover.cs
r2862 r2865 21 21 22 22 using HeuristicLab.Core; 23 using HeuristicLab.Data;24 23 using HeuristicLab.Optimization; 25 24 … … 28 27 /// An interface which represents an operator for crossing permutations. 29 28 /// </summary> 30 public interface IPermutationCrossoverOperator : ICrossoverOperator { } 29 public interface IPermutationCrossover : IPermutationOperator, ICrossover { 30 ILookupParameter<ItemArray<Permutation>> ParentsParameter { get; } 31 ILookupParameter<Permutation> ChildParameter { get; } 32 } 31 33 } -
trunk/sources/HeuristicLab.Permutation/3.3/IPermutationManipulator.cs
r2862 r2865 21 21 22 22 using HeuristicLab.Core; 23 using HeuristicLab.Data;24 23 using HeuristicLab.Optimization; 25 24 … … 28 27 /// An interface which represents an operator for manipulating solutions. 29 28 /// </summary> 30 public interface IPermutationManipulationOperator : IManipulationOperator { } 29 public interface IPermutationManipulator : IPermutationOperator, IManipulator { 30 ILookupParameter<Permutation> PermutationParameter { get; } 31 } 31 32 } -
trunk/sources/HeuristicLab.Permutation/3.3/InsertionManipulator.cs
r2854 r2865 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Text;25 22 using HeuristicLab.Core; 26 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Permutation/3.3/OrderBasedCrossover.cs
r2854 r2865 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 23 using HeuristicLab.Core; 26 using HeuristicLab.Data;27 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 25 -
trunk/sources/HeuristicLab.Permutation/3.3/PermutationCrossover.cs
r2857 r2865 32 32 [Item("PermutationCrossover", "A base class for permutation crossover operators.")] 33 33 [EmptyStorableClass] 34 public abstract class PermutationCrossover : SingleSuccessorOperator, IPermutationCrossover Operator {34 public abstract class PermutationCrossover : SingleSuccessorOperator, IPermutationCrossover, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { 36 36 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 37 37 } 38 public SubScopesLookupParameter<Permutation> ParentsParameter {38 public ILookupParameter<ItemArray<Permutation>> ParentsParameter { 39 39 get { return (SubScopesLookupParameter<Permutation>)Parameters["Parents"]; } 40 40 } 41 public LookupParameter<Permutation> ChildParameter {42 get { return ( LookupParameter<Permutation>)Parameters["Child"]; }41 public ILookupParameter<Permutation> ChildParameter { 42 get { return (ILookupParameter<Permutation>)Parameters["Child"]; } 43 43 } 44 44 -
trunk/sources/HeuristicLab.Permutation/3.3/PermutationManipulator.cs
r2857 r2865 32 32 [Item("PermutationManipulator", "A base class for permutation manipulation operators.")] 33 33 [EmptyStorableClass] 34 public abstract class PermutationManipulator : SingleSuccessorOperator, IPermutationManipulat ionOperator {34 public abstract class PermutationManipulator : SingleSuccessorOperator, IPermutationManipulator, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { 36 36 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 37 37 } 38 public LookupParameter<Permutation> PermutationParameter {39 get { return ( LookupParameter<Permutation>)Parameters["Permutation"]; }38 public ILookupParameter<Permutation> PermutationParameter { 39 get { return (ILookupParameter<Permutation>)Parameters["Permutation"]; } 40 40 } 41 41 -
trunk/sources/HeuristicLab.Permutation/3.3/RandomPermutationCreator.cs
r2852 r2865 34 34 [EmptyStorableClass] 35 35 [Creatable("Test")] 36 public sealed class RandomPermutationCreator : SingleSuccessorOperator, I SolutionCreator {36 public sealed class RandomPermutationCreator : SingleSuccessorOperator, IPermutationCreator, IStochasticOperator { 37 37 public ILookupParameter<IRandom> RandomParameter { 38 38 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 39 39 } 40 public ValueLookupParameter<IntData> LengthParameter {41 get { return ( ValueLookupParameter<IntData>)Parameters["Length"]; }40 public IValueLookupParameter<IntData> LengthParameter { 41 get { return (IValueLookupParameter<IntData>)Parameters["Length"]; } 42 42 } 43 public LookupParameter<Permutation> PermutationParameter {44 get { return ( LookupParameter<Permutation>)Parameters["Permutation"]; }43 public ILookupParameter<Permutation> PermutationParameter { 44 get { return (ILookupParameter<Permutation>)Parameters["Permutation"]; } 45 45 } 46 46
Note: See TracChangeset
for help on using the changeset viewer.