- Timestamp:
- 01/14/22 15:11:36 (3 years ago)
- Location:
- branches/3136_Structural_GP/HeuristicLab.Encodings.RealVectorEncoding/3.3
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Encodings.RealVectorEncoding/3.3/Crossovers/MultiRealVectorCrossover.cs
r17180 r18198 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Collections; 25 26 using HeuristicLab.Common; … … 29 30 using HeuristicLab.Optimization; 30 31 using HeuristicLab.Parameters; 31 using HEAL.Attic;32 32 using HeuristicLab.PluginInfrastructure; 33 33 … … 67 67 68 68 foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(IRealVectorCrossover))) { 69 if (!typeof(MultiOperator<IRealVectorCrossover>).IsAssignableFrom(type)) 70 Operators.Add((IRealVectorCrossover)Activator.CreateInstance(type), true); 69 if (typeof(MultiOperator<IRealVectorCrossover>).IsAssignableFrom(type)) continue; 70 if (typeof(CopyCrossover).IsAssignableFrom(type)) continue; 71 72 Operators.Add((IRealVectorCrossover)Activator.CreateInstance(type), true); 71 73 } 72 74 -
branches/3136_Structural_GP/HeuristicLab.Encodings.RealVectorEncoding/3.3/HeuristicLab.Encodings.RealVectorEncoding-3.3.csproj
r16658 r18198 115 115 <ItemGroup> 116 116 <Compile Include="Creators\NormalDistributedRealVectorCreator.cs" /> 117 <Compile Include="Crossovers\CopyCrossover.cs" /> 117 118 <Compile Include="Interfaces\IRealVectorMultiNeighborhoodShakingOperator.cs" /> 118 119 <Compile Include="ParticleOperators\RealVectorNeighborhoodParticleUpdater.cs" />
Note: See TracChangeset
for help on using the changeset viewer.