Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/08/12 16:57:31 (12 years ago)
Author:
spimming
Message:

#1894 graph interface and implementation initial commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Graph/Edge.cs

    r8300 r8438  
    1212    }
    1313
    14     public Edge(Vertex source, Vertex target) {
     14    private short category;
     15    public short Category {
     16      get { return category; }
     17      set { category = value; }
     18    }
     19
     20    public Edge(Vertex source, Vertex target)
     21      : this(source, target, 0) {
     22
     23    }
     24
     25    public Edge(Vertex source, Vertex target, short category) {
    1526      this.source = source;
    1627      this.target = target;
     28      this.category = category;
    1729    }
    1830
Note: See TracChangeset for help on using the changeset viewer.