Changeset 4068 for trunk/sources/HeuristicLab.Core
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemCollection.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 24 using System.Linq; 26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; 28 using HeuristicLab.Common.Resources;29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 28 -
trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemList.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 23 24 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 25 using HeuristicLab.Collections; 26 using HeuristicLab.Common; 29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.Common;31 using HeuristicLab.Common.Resources;32 using HeuristicLab.Collections;33 28 34 29 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs
r3602 r4068 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemArray.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Collections; 30 27 using HeuristicLab.Common; 31 28 using HeuristicLab.Common.Resources; 32 using HeuristicLab. Collections;29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 30 34 31 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs
r3822 r4068 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; … … 32 31 [StorableClass] 33 32 [Item("ItemDictionary", "Represents a dictionary of items.")] 34 public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> where TKey : class, IItem where TValue : class, IItem { 33 public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> 34 where TKey : class, IItem 35 where TValue : class, IItem { 35 36 private string filename; 36 37 public string Filename { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemList.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Collections; 30 27 using HeuristicLab.Common; 31 28 using HeuristicLab.Common.Resources; 32 using HeuristicLab. Collections;29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 30 34 31 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemSet.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic; 24 using System.Drawing; 23 25 using System.Linq; 24 using System.Collections; 25 using System.Collections.Generic; 26 using System.Collections.ObjectModel; 27 using System.Text; 28 using System.Drawing; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Collections; 30 27 using HeuristicLab.Common; 31 28 using HeuristicLab.Common.Resources; 32 using HeuristicLab. Collections;29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 30 34 31 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs
r3822 r4068 23 23 using System.Collections.Generic; 24 24 using System.Drawing; 25 using System.Linq;26 25 using HeuristicLab.Collections; 27 26 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/NamedItemCollection.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 using System.Linq;26 using HeuristicLab.Collections;27 24 using HeuristicLab.Common; 28 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 34 31 public NamedItemCollection() : base() { } 35 32 public NamedItemCollection(int capacity) : base(capacity) { } 36 public NamedItemCollection(IEnumerable<T> collection) : base(collection) { 33 public NamedItemCollection(IEnumerable<T> collection) 34 : base(collection) { 37 35 Initialize(); 38 36 } -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs
r3390 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorList.cs
r3390 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorSet.cs
r3390 r4068 20 20 #endregion 21 21 22 using System;23 using System.Collections;24 22 using System.Collections.Generic; 25 using System.Collections.ObjectModel;26 using System.Text;27 using System.Drawing;28 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 24 -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemCollection.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 using System.Linq;26 24 using HeuristicLab.Collections; 27 using HeuristicLab.Common;28 using HeuristicLab.Common.Resources;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 36 32 get { return (CheckedItemCollection<T>)base.collection; } 37 33 } 38 34 39 35 public ReadOnlyCheckedItemCollection() : base(new CheckedItemCollection<T>()) { } 40 36 public ReadOnlyCheckedItemCollection(ICheckedItemCollection<T> collection) … … 53 49 handler(this, e); 54 50 } 55 51 56 52 public IEnumerable<T> CheckedItems { 57 53 get { return CheckedItemCollection.CheckedItems; } -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemList.cs
r3822 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Drawing;25 using System.Linq;26 24 using HeuristicLab.Collections; 27 using HeuristicLab.Common;28 using HeuristicLab.Common.Resources;29 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 26 … … 36 32 get { return (CheckedItemList<T>)base.list; } 37 33 } 38 34 39 35 public ReadOnlyCheckedItemList() : base(new CheckedItemList<T>()) { } 40 public ReadOnlyCheckedItemList(ICheckedItemList<T> list) : base(list) { 36 public ReadOnlyCheckedItemList(ICheckedItemList<T> list) 37 : base(list) { 41 38 list.CheckedItemsChanged += new CollectionItemsChangedEventHandler<IndexedItem<T>>(list_CheckedItemsChanged); 42 39 } … … 52 49 handler(this, e); 53 50 } 54 51 55 52 public IEnumerable<IndexedItem<T>> CheckedItems { 56 53 get { return CheckedItemList.CheckedItems; } -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; … … 32 30 [StorableClass] 33 31 [Item("ReadOnlyItemDictionary", "Represents a read-only dictionary of items.")] 34 public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> where TKey : class, IItem where TValue : class, IItem { 32 public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> 33 where TKey : class, IItem 34 where TValue : class, IItem { 35 35 private string filename; 36 36 public string Filename { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
r3822 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Drawing; 25 using System.Linq;26 24 using HeuristicLab.Collections; 27 25 using HeuristicLab.Common; -
trunk/sources/HeuristicLab.Core/3.3/Collections/VariableCollection.cs
r3431 r4068 21 21 22 22 using System.Collections.Generic; 23 using System.Linq;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Core/3.3/Constraints/ComparisonConstraint.cs
r3630 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 25 -
trunk/sources/HeuristicLab.Core/3.3/Constraints/Constraint.cs
r3613 r4068 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using HeuristicLab.Common; 27 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Core/3.3/Constraints/ConstraintOperation.cs
r3630 r4068 20 20 #endregion 21 21 22 using System.Collections.Generic;23 22 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 23 namespace HeuristicLab.Core { … … 61 60 } 62 61 public static bool operator ==(ConstraintOperation co1, ConstraintOperation co2) { 63 if (object.ReferenceEquals(co1,co2))62 if (object.ReferenceEquals(co1, co2)) 64 63 return true; 65 66 if ((object)co1 == null || (object)co2 == null)64 65 if ((object)co1 == null || (object)co2 == null) 67 66 return false; 68 67 -
trunk/sources/HeuristicLab.Core/3.3/Constraints/EqualityConstraint.cs
r3605 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Common;28 25 29 26 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Constraints/IConstraint.cs
r3613 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 24 27 25 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Constraints/TypeCompatibilityConstraint.cs
r3605 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 25 -
trunk/sources/HeuristicLab.Core/3.3/ExecutionContext.cs
r3393 r4068 21 21 22 22 using System; 23 using HeuristicLab.Collections;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/ICheckedItemCollection.cs
r3567 r4068 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 using HeuristicLab.Collections; 23 using System.Collections.Generic;24 24 25 25 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/ICheckedItemList.cs
r3567 r4068 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 using HeuristicLab.Collections; 23 using System.Collections.Generic;24 24 25 25 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IExecutionContext.cs
r3393 r4068 20 20 #endregion 21 21 22 using HeuristicLab.Collections;23 22 using HeuristicLab.Common; 24 23 -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IItemDictionary.cs
r3390 r4068 20 20 #endregion 21 21 22 using System.Collections.Generic;23 22 using HeuristicLab.Collections; 24 23 25 24 namespace HeuristicLab.Core { 26 public interface IItemDictionary<TKey, TValue> : IObservableDictionary<TKey, TValue>, IItem where TKey : class, IItem where TValue : class, IItem { } 25 public interface IItemDictionary<TKey, TValue> : IObservableDictionary<TKey, TValue>, IItem 26 where TKey : class, IItem 27 where TValue : class, IItem { } 27 28 } -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IParameterizedItem.cs
r3393 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Collections;24 23 25 24 namespace HeuristicLab.Core { -
trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs
r3729 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 using System.Xml;26 23 using System.Linq; 24 using HeuristicLab.Collections; 25 using HeuristicLab.Common; 27 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Common;29 using HeuristicLab.Collections;30 27 31 28 namespace HeuristicLab.Core { … … 95 92 private void OnOperatorGraphDeserializationFinished() { 96 93 EventHandler handler = DeserializationFinished; 97 if (handler != null)98 handler(this, EventArgs.Empty);94 if (handler != null) 95 handler(this, EventArgs.Empty); 99 96 } 100 97 [StorableHook(HookType.AfterDeserialization)] -
trunk/sources/HeuristicLab.Core/3.3/ParameterizedNamedItem.cs
r3393 r4068 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HeuristicLab.Collections;25 24 using HeuristicLab.Common; 26 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Core/3.3/PersistenceContentManager.cs
r3483 r4068 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Common; 24 23 using HeuristicLab.Persistence.Default.Xml;
Note: See TracChangeset
for help on using the changeset viewer.