Changeset 12694 for branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation
- Timestamp:
- 07/09/15 13:07:30 (9 years ago)
- Location:
- branches/HeuristicLab.Problems.Orienteering
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.Orienteering
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
-
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyAlgorithm.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyEvaluator.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyMultiObjectiveEvaluator.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyMultiObjectiveProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptyProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptySingleObjectiveEvaluator.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptySingleObjectiveProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/EmptySolutionCreator.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/ItemWrapper.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/MissingClientRegistrationException.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/MultiObjectiveOKBProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { 29 [Item(" Multi-Objective OKB Problem", "Represents a multi-objective problem which is stored in the OKB.")]30 [Creatable( "Optimization Knowledge Base (OKB)")]29 [Item("OKB Problem (multi-objective)", "Represents a multi-objective problem which is stored in the OKB.")] 30 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 120)] 31 31 [StorableClass] 32 32 public sealed class MultiObjectiveOKBProblem : OKBProblem, IMultiObjectiveHeuristicOptimizationProblem, IStorableContent { -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/NamedItemWrapper.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBAlgorithm.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 35 35 namespace HeuristicLab.Clients.OKB.RunCreation { 36 36 [Item("OKB Algorithm", "An algorithm which is stored in the OKB.")] 37 [Creatable( "Optimization Knowledge Base (OKB)")]37 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 100)] 38 38 [StorableClass] 39 39 public sealed class OKBAlgorithm : Item, IAlgorithm, IStorableContent { -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 111 111 } 112 112 113 public IEnumerable<IParameterizedItem> ExecutionContextItems { get { return new[] { this }; } } 114 113 115 #region Persistence Properties 114 116 [Storable(Name = "ProblemId")] -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.ComponentModel; 24 25 using System.Drawing; 25 26 using System.IO; 26 27 using HeuristicLab.Clients.Access; 28 using HeuristicLab.Collections; 27 29 using HeuristicLab.Common; 28 30 using HeuristicLab.Core; … … 51 53 if (value != stored) { 52 54 stored = value; 53 On StoredChanged();55 OnPropertyChanged("Stored"); 54 56 OnItemImageChanged(); 55 57 } … … 60 62 get { return WrappedItem.Algorithm; } 61 63 } 62 public I Dictionary<string, IItem> Parameters {64 public IObservableDictionary<string, IItem> Parameters { 63 65 get { return WrappedItem.Parameters; } 64 66 } 65 public I Dictionary<string, IItem> Results {67 public IObservableDictionary<string, IItem> Results { 66 68 get { return WrappedItem.Results; } 67 69 } … … 162 164 163 165 #region Events 164 public event EventHandler Changed; 165 private void OnChanged() { 166 var handler = Changed; 167 if (handler != null) handler(this, EventArgs.Empty); 168 } 169 public event EventHandler StoredChanged; 170 private void OnStoredChanged() { 171 var handler = StoredChanged; 172 if (handler != null) handler(this, EventArgs.Empty); 166 public event PropertyChangedEventHandler PropertyChanged; 167 private void OnPropertyChanged(string property) { 168 var handler = PropertyChanged; 169 if (handler != null) handler(this, new PropertyChangedEventArgs(property)); 173 170 } 174 171 175 172 protected override void RegisterWrappedItemEvents() { 176 173 base.RegisterWrappedItemEvents(); 177 WrappedItem. Changed += new EventHandler(WrappedItem_Changed);174 WrappedItem.PropertyChanged += WrappedItem_PropertyChanged; 178 175 } 179 176 protected override void DeregisterWrappedItemEvents() { 180 WrappedItem. Changed -= new EventHandler(WrappedItem_Changed);177 WrappedItem.PropertyChanged -= WrappedItem_PropertyChanged; 181 178 base.DeregisterWrappedItemEvents(); 182 179 } 183 180 184 private void WrappedItem_ Changed(object sender,EventArgs e) {185 On Changed();181 private void WrappedItem_PropertyChanged(object sender, PropertyChangedEventArgs e) { 182 OnPropertyChanged(e.PropertyName); 186 183 } 187 184 #endregion -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/RunCreationClient.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/Algorithm.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/Problem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Clients.OKB/3.3/RunCreation/SingleObjectiveOKBProblem.cs
r11185 r12694 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { 29 [Item(" Single-Objective OKB Problem", "Represents a single-objective problem which is stored in the OKB.")]30 [Creatable( "Optimization Knowledge Base (OKB)")]29 [Item("OKB Problem (single-objective)", "Represents a single-objective problem which is stored in the OKB.")] 30 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 110)] 31 31 [StorableClass] 32 32 public sealed class SingleObjectiveOKBProblem : OKBProblem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent {
Note: See TracChangeset
for help on using the changeset viewer.