Exemplo n.º 1
0
 private static PathSegment CreateSegment(Record currentRecord)
 {
     return(PathSegment.Create(currentRecord.PreviousVertex, currentRecord.Vertex,
                               currentRecord.PreviousVertex.Links.Single(link => link.Destination == currentRecord.Vertex).Weight));
 }