Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <routing_filters.h>
Public Member Functions | |
PathEnergyCostChecker (const PathState *path_state, std::vector< int > force_class, std::vector< const std::function< int64_t(int64_t)> * > force_per_class, std::vector< int > distance_class, std::vector< const std::function< int64_t(int64_t, int64_t)> * > distance_per_class, std::vector< int64_t > path_unit_costs, std::vector< bool > path_has_cost_when_empty) | |
bool | Check () |
void | Commit () |
int64_t | CommittedCost () const |
int64_t | AcceptedCost () const |
Definition at line 87 of file routing_filters.h.
operations_research::PathEnergyCostChecker::PathEnergyCostChecker | ( | const PathState * | path_state, |
std::vector< int > | force_class, | ||
std::vector< const std::function< int64_t(int64_t)> * > | force_per_class, | ||
std::vector< int > | distance_class, | ||
std::vector< const std::function< int64_t(int64_t, int64_t)> * > | distance_per_class, | ||
std::vector< int64_t > | path_unit_costs, | ||
std::vector< bool > | path_has_cost_when_empty ) |
Definition at line 3095 of file routing_filters.cc.
|
inline |
Definition at line 100 of file routing_filters.h.
bool operations_research::PathEnergyCostChecker::Check | ( | ) |
Definition at line 3121 of file routing_filters.cc.
void operations_research::PathEnergyCostChecker::Commit | ( | ) |
Definition at line 3133 of file routing_filters.cc.
|
inline |
Definition at line 99 of file routing_filters.h.