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 |
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using HeuristicLab.Problems.RoutePlanning.Graph;
|
---|
4 | namespace 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.