|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Functor wrapper for find_min_path. More...
#include <mat_path.H>
Public Member Functions | |
| void | operator() (Mat &p, typename Mat::Node *src_node, typename Mat::Node *tgt_node, Path< typename Mat::Graph_Type > &path) const |
| Reconstruct path using node pointers. | |
| void | operator() (Mat &p, long src_index, long tgt_index, Path< typename Mat::Graph_Type > &path) const |
| Reconstruct path using matrix indices. | |
Functor wrapper for find_min_path.
Provides a callable object interface for path reconstruction, useful for generic algorithms and functional programming patterns.
| Mat | Matrix type from Map_Matrix_Graph |
| Compare | Comparison of the weights of the arcs, as in find_min_path() (default: std::less<>) |
Definition at line 255 of file mat_path.H.
|
inline |
Reconstruct path using matrix indices.
Definition at line 272 of file mat_path.H.
|
inline |
Reconstruct path using node pointers.
Definition at line 261 of file mat_path.H.