Changeset 15091 for trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/TopologyInitializer.cs
- Timestamp:
- 06/29/17 15:26:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/TopologyInitializer.cs
r14185 r15091 40 40 get { return (IScopeTreeLookupParameter<IntArray>)Parameters["Neighbors"]; } 41 41 } 42 43 42 public ILookupParameter<IntValue> SwarmSizeParameter { 44 43 get { return (ILookupParameter<IntValue>)Parameters["SwarmSize"]; } 45 }46 47 #endregion48 49 #region Parameter Values50 protected ItemArray<IntArray> Neighbors {51 get { return NeighborsParameter.ActualValue; }52 set { NeighborsParameter.ActualValue = value; }53 }54 protected int SwarmSize {55 get { return SwarmSizeParameter.ActualValue.Value; }56 44 } 57 45 #endregion
Note: See TracChangeset
for help on using the changeset viewer.