#include <tpl_graph_utils.H>
Public Member Functions | |
| Total_Cost (Distance __dist=Distance(), SA __sa=SA()) | |
| Distance::Distance_Type | total_cost (GT &g) |
| Compute the total cost. | |
| Distance::Distance_Type | operator() (GT &g) |
| bool | operator() (typename GT::Arc *a) |
Functor for computing the total cost of arcs
Generally used for computing cost of spanning trees.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.