Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/22/12 19:14:33 (12 years ago)
Author:
spimming
Message:

#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:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Interfaces/ICostCalculator.cs

    r8516 r8520  
    11
     2using HeuristicLab.Problems.RoutePlanning.Data.Core;
    23using HeuristicLab.Problems.RoutePlanning.RoutingGraph;
    34namespace HeuristicLab.Problems.RoutePlanning.Interfaces {
    45  public interface ICostCalculator {
    56    float Costs(Edge<Vertex> edge);
     7    float CalculateCosts(Vertex source, Vertex destination, HighwayType category);
    68    float EstimatedCosts(Vertex source, Vertex destination);
    79  }
Note: See TracChangeset for help on using the changeset viewer.