- Timestamp:
- 01/17/18 13:30:33 (7 years ago)
- Location:
- branches/ContextAlgorithms
- Files:
-
- 15 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ContextAlgorithms/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/HeuristicLab.Algorithms.GeneticAlgorithm-3.3.csproj
r11623 r15625 115 115 </ItemGroup> 116 116 <ItemGroup> 117 <Compile Include="Model2\SolutionScope.cs" /> 118 <Compile Include="Model2\GeneticAlgorithm.cs" /> 117 119 <Compile Include="GeneticAlgorithm.cs" /> 118 120 <Compile Include="GeneticAlgorithmMainLoop.cs" /> -
branches/ContextAlgorithms/HeuristicLab.Core/3.3/Scope.cs
r15583 r15625 31 31 [Item("Scope", "A scope which contains variables and sub-scopes.")] 32 32 [StorableClass] 33 public sealedclass Scope : NamedItem, IScope {33 public class Scope : NamedItem, IScope { 34 34 public static new Image StaticItemImage { 35 35 get { return HeuristicLab.Common.Resources.VSImageLibrary.OrgChart; } … … 60 60 61 61 [StorableConstructor] 62 pr ivateScope(bool deserializing) : base(deserializing) { }63 pr ivateScope(Scope original, Cloner cloner)62 protected Scope(bool deserializing) : base(deserializing) { } 63 protected Scope(Scope original, Cloner cloner) 64 64 : base(original, cloner) { 65 65 if (original.variables.Count > 0) variables = cloner.Clone(original.variables); … … 118 118 119 119 #region SubScopes Events 120 pr ivatevoid RegisterSubScopesEvents() {120 protected virtual void RegisterSubScopesEvents() { 121 121 if (subScopes != null) { 122 122 subScopes.ItemsAdded += new CollectionItemsChangedEventHandler<IndexedItem<IScope>>(SubScopes_ItemsAdded); … … 126 126 } 127 127 } 128 pr ivatevoid SubScopes_ItemsAdded(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) {128 protected virtual void SubScopes_ItemsAdded(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) { 129 129 foreach (IndexedItem<IScope> item in e.Items) 130 130 item.Value.Parent = this; 131 131 } 132 pr ivatevoid SubScopes_ItemsRemoved(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) {132 protected virtual void SubScopes_ItemsRemoved(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) { 133 133 foreach (IndexedItem<IScope> item in e.Items) 134 134 item.Value.Parent = null; 135 135 } 136 pr ivatevoid SubScopes_ItemsReplaced(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) {136 protected virtual void SubScopes_ItemsReplaced(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) { 137 137 foreach (IndexedItem<IScope> oldItem in e.OldItems) 138 138 oldItem.Value.Parent = null; … … 140 140 item.Value.Parent = this; 141 141 } 142 pr ivatevoid SubScopes_CollectionReset(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) {142 protected virtual void SubScopes_CollectionReset(object sender, CollectionItemsChangedEventArgs<IndexedItem<IScope>> e) { 143 143 foreach (IndexedItem<IScope> oldItem in e.OldItems) 144 144 oldItem.Value.Parent = null; -
branches/ContextAlgorithms/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r15091 r15625 156 156 <Compile Include="Interfaces\ILocalImprovementAlgorithmOperator.cs" /> 157 157 <Compile Include="Interfaces\IMultiObjectiveOperator.cs" /> 158 <Compile Include="Model2\Algorithms\ContextAlgorithm.cs" /> 159 <Compile Include="Model2\Algorithms\StochasticAlgorithm.cs" /> 160 <Compile Include="Model2\Contexts\BasicContext.cs" /> 161 <Compile Include="Model2\Contexts\PopulationContext.cs" /> 162 <Compile Include="Model2\Contexts\SingleSolutionContext.cs" /> 163 <Compile Include="Model2\Contexts\StochasticContext.cs" /> 164 <Compile Include="Model2\Interfaces.cs" /> 165 <Compile Include="Model2\SingleObjectiveSolutionScope.cs" /> 158 166 <Compile Include="MultiObjective\DominationCalculator.cs" /> 159 167 <Compile Include="Results\IResultParameter.cs" /> … … 312 320 <Private>False</Private> 313 321 </ProjectReference> 322 <ProjectReference Include="..\..\HeuristicLab.Random\3.3\HeuristicLab.Random-3.3.csproj"> 323 <Project>{F4539FB6-4708-40C9-BE64-0A1390AEA197}</Project> 324 <Name>HeuristicLab.Random-3.3</Name> 325 <Private>False</Private> 326 </ProjectReference> 314 327 </ItemGroup> 315 328 <ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.