- Timestamp:
- 08/08/12 16:57:31 (12 years ago)
- Location:
- branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Graph
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Graph/Edge.cs
r8300 r8438 12 12 } 13 13 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) { 15 26 this.source = source; 16 27 this.target = target; 28 this.category = category; 17 29 } 18 30 -
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Graph/Vertex.cs
r8434 r8438 22 22 public Vertex(long id) { 23 23 this.id = id; 24 } 25 26 public Vertex(long id, double longitude, double latitude) { 27 this.id = id; 28 this.longitude = longitude; 29 this.latitude = latitude; 24 30 } 25 31
Note: See TracChangeset
for help on using the changeset viewer.