Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/30/14 15:02:27 (10 years ago)
Author:
mkommend
Message:

#2223: Copied directed graph implented in bottom up tree distance branch into the trunk.

Location:
trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/DirectedGraph/IVertex.cs

    r11239 r11241  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2323using System.Collections.Generic;
    2424using HeuristicLab.Common;
    25 using HeuristicLab.Core;
    2625
    27 namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
     26namespace HeuristicLab.Core {
    2827  public interface IVertex : IItem {
    29     event EventHandler Changed; // generic event for when the content, label or weight have changed
    30     event EventHandler<EventArgs<IArc>> ArcAdded;
    31     event EventHandler<EventArgs<IArc>> ArcRemoved;
    32 
    3328    IEnumerable<IArc> InArcs { get; }
    3429    IEnumerable<IArc> OutArcs { get; }
     
    4136    double Weight { get; set; }
    4237
    43     object Content { get; set; }
     38    IDeepCloneable Data { get; set; }
    4439
    4540    void AddArc(IArc arc);
    4641    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;
    4746  }
    4847
    4948  public interface IVertex<T> : IVertex
    5049  where T : class {
    51     new T Content { get; set; }
     50    new T Data { get; set; }
    5251  }
    5352}
Note: See TracChangeset for help on using the changeset viewer.