Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Osm/IDataSource.cs @ 8471

Last change on this file since 8471 was 8462, checked in by spimming, 12 years ago

#1894:

  • calculate distance in kilometers for two locations
  • generate IGraph from a datasource
  • adapted test program
File size: 384 bytes
Line 
1
2using System.Collections.Generic;
3using HeuristicLab.Problems.RoutePlanning.Graph;
4namespace HeuristicLab.Problems.RoutePlanning.Osm {
5  public interface IDataSource {
6    //string Name { get; }
7    Node GetNode(long nodeId);
8    Way GetWay(long wayId);
9    List<Way> GetWays(Node node);
10    Relation GetRelation(long relationId);
11    IGraph GetRoutingGraph();
12  }
13}
Note: See TracBrowser for help on using the repository browser.