Flowlessly  0.1
Minimum cost maximum cost solver
 All Classes Functions Pages
successive_shortest.h
1 // The Flowlessly project
2 // Copyright (c) 2013-2016 Ionel Gog <ionel.gog@cl.cam.ac.uk>
3 
4 #ifndef FLOWLESSLY_SUCCESSIVE_SHORTEST_H
5 #define FLOWLESSLY_SUCCESSIVE_SHORTEST_H
6 
7 #include "solvers/solver.h"
8 
9 #include <vector>
10 
11 #include "graphs/adjacency_map_graph.h"
12 #include "misc/statistics.h"
13 
14 namespace flowlessly {
15 
19 class SuccessiveShortest : public Solver {
20  public:
23 
24  void PrepareState();
25  bool Run();
26 
27  private:
33  void SuccessiveShortestBellman();
34 
40  void SuccessiveShortestDijkstra();
41 
42  AdjacencyMapGraph* graph_;
43 };
44 
45 } // namespace flowlessly
46 #endif // FLOWLESSLY_SUCCESSIVE_SHORTEST_H
Definition: statistics.h:19
Definition: solver.h:14
bool Run()
Definition: successive_shortest.cc:30
Definition: successive_shortest.h:19
Definition: adjacency_map_graph.h:22