Last change
on this file since 15866 was
8520,
checked in by spimming, 12 years ago
|
#1894:
- extended datasource interface to get routing graph for a specific vehicle type
- use ICostCalculator to calculate edge weights
- moved common enums in own file
- removed method to estimate cost from graph; use ICostCalculator
|
File size:
405 bytes
|
Rev | Line | |
---|
[8516] | 1 |
|
---|
[8520] | 2 | using HeuristicLab.Problems.RoutePlanning.Data.Core;
|
---|
[8516] | 3 | using HeuristicLab.Problems.RoutePlanning.RoutingGraph;
|
---|
| 4 | namespace HeuristicLab.Problems.RoutePlanning.Interfaces {
|
---|
| 5 | public interface ICostCalculator {
|
---|
| 6 | float Costs(Edge<Vertex> edge);
|
---|
[8520] | 7 | float CalculateCosts(Vertex source, Vertex destination, HighwayType category);
|
---|
[8516] | 8 | float EstimatedCosts(Vertex source, Vertex destination);
|
---|
| 9 | }
|
---|
| 10 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.