Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::PathEnergyCostChecker Class Reference

Detailed Description

Definition at line 884 of file routing_filters.h.

#include <routing_filters.h>

Classes

struct  EnergyCost

Public Member Functions

 PathEnergyCostChecker (const PathState *path_state, std::vector< int64_t > force_start_min, std::vector< int64_t > force_end_min, 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< EnergyCost > path_energy_cost, std::vector< bool > path_has_cost_when_empty)
bool Check ()
void Commit ()
int64_t CommittedCost () const
int64_t AcceptedCost () const

Constructor & Destructor Documentation

◆ PathEnergyCostChecker()

operations_research::PathEnergyCostChecker::PathEnergyCostChecker ( const PathState * path_state,
std::vector< int64_t > force_start_min,
std::vector< int64_t > force_end_min,
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< EnergyCost > path_energy_cost,
std::vector< bool > path_has_cost_when_empty )

Definition at line 4930 of file routing_filters.cc.

Member Function Documentation

◆ AcceptedCost()

int64_t operations_research::PathEnergyCostChecker::AcceptedCost ( ) const
inline

Definition at line 907 of file routing_filters.h.

◆ Check()

bool operations_research::PathEnergyCostChecker::Check ( )

Definition at line 4965 of file routing_filters.cc.

◆ Commit()

void operations_research::PathEnergyCostChecker::Commit ( )

Definition at line 5024 of file routing_filters.cc.

◆ CommittedCost()

int64_t operations_research::PathEnergyCostChecker::CommittedCost ( ) const
inline

Definition at line 906 of file routing_filters.h.


The documentation for this class was generated from the following files: