Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3/Interfaces/IHeap.cs @ 9651

Last change on this file since 9651 was 8527, checked in by spimming, 12 years ago

#1894:

  • introduced heap interface
  • various heap implementation used as priority queues
  • very simple logger added
  • various versions of Astar algorithm
File size: 341 bytes
Line 
1
2using System.Collections.Generic;
3namespace HeuristicLab.Algorithms.GraphRouting.Interfaces {
4  public interface IHeap<K, V> {
5    int Size { get; }
6    KeyValuePair<K, V> PeekMin();
7    K PeekMinKey();
8    V PeekMinValue();
9    void Insert(K key, V value);
10    void DecreaseKey(K key, V value);
11    void RemoveMin();
12  }
13}
Note: See TracBrowser for help on using the repository browser.