Changeset 11241 for trunk/sources/HeuristicLab.Core/3.3/Interfaces
- Timestamp:
- 07/30/14 15:02:27 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph
- Files:
-
- 1 added
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph/IArc.cs
r11239 r11241 21 21 22 22 using System; 23 using HeuristicLab.Co re;23 using HeuristicLab.Common; 24 24 25 namespace HeuristicLab. Problems.DataAnalysis.Symbolic{25 namespace HeuristicLab.Core { 26 26 public interface IArc : IItem { 27 event EventHandler Changed; // generic event for when the label, weight or data were changed28 27 IVertex Source { get; } 29 28 IVertex Target { get; } 30 29 string Label { get; set; } 31 30 double Weight { get; set; } 32 object Data { get; set; } 31 IDeepCloneable Data { get; set; } 32 33 event EventHandler Changed; // generic event for when the label, weight or data were changed 33 34 } 34 35 -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph/IDirectedGraph.cs
r11239 r11241 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 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 HeuristicLab.Core;25 24 26 namespace HeuristicLab. Problems.DataAnalysis.Symbolic{25 namespace HeuristicLab.Core { 27 26 public interface IDirectedGraph : IItem { 28 27 void Clear(); -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph/IVertex.cs
r11239 r11241 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Collections.Generic; 24 24 using HeuristicLab.Common; 25 using HeuristicLab.Core;26 25 27 namespace HeuristicLab. Problems.DataAnalysis.Symbolic{26 namespace HeuristicLab.Core { 28 27 public interface IVertex : IItem { 29 event EventHandler Changed; // generic event for when the content, label or weight have changed30 event EventHandler<EventArgs<IArc>> ArcAdded;31 event EventHandler<EventArgs<IArc>> ArcRemoved;32 33 28 IEnumerable<IArc> InArcs { get; } 34 29 IEnumerable<IArc> OutArcs { get; } … … 41 36 double Weight { get; set; } 42 37 43 object Content{ get; set; }38 IDeepCloneable Data { get; set; } 44 39 45 40 void AddArc(IArc arc); 46 41 void RemoveArc(IArc arc); 42 43 event EventHandler Changed; // generic event for when the content, label or weight have changed 44 event EventHandler<EventArgs<IArc>> ArcAdded; 45 event EventHandler<EventArgs<IArc>> ArcRemoved; 47 46 } 48 47 49 48 public interface IVertex<T> : IVertex 50 49 where T : class { 51 new T Content{ get; set; }50 new T Data { get; set; } 52 51 } 53 52 }
Note: See TracChangeset
for help on using the changeset viewer.