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

Detailed Description

Definition at line 1676 of file routing.h.

#include <routing.h>

Public Member Functions

bool operator== (const NodeNeighborsParameters &other) const

Public Attributes

int num_neighbors
bool add_vehicle_starts_to_neighbors = true
bool add_vehicle_ends_to_neighbors = false
bool only_sort_neighbors_for_partial_neighborhoods = true

Friends

template<typename H>
AbslHashValue (H h, const NodeNeighborsParameters &params)

Member Function Documentation

◆ operator==()

bool operations_research::RoutingModel::NodeNeighborsParameters::operator== ( const NodeNeighborsParameters & other) const
inline

Definition at line 1687 of file routing.h.

◆ AbslHashValue

template<typename H>
H AbslHashValue ( H h,
const NodeNeighborsParameters & params )
friend

Definition at line 1697 of file routing.h.

Member Data Documentation

◆ add_vehicle_ends_to_neighbors

bool operations_research::RoutingModel::NodeNeighborsParameters::add_vehicle_ends_to_neighbors = false

Definition at line 1679 of file routing.h.

◆ add_vehicle_starts_to_neighbors

bool operations_research::RoutingModel::NodeNeighborsParameters::add_vehicle_starts_to_neighbors = true

Definition at line 1678 of file routing.h.

◆ num_neighbors

int operations_research::RoutingModel::NodeNeighborsParameters::num_neighbors

Definition at line 1677 of file routing.h.

◆ only_sort_neighbors_for_partial_neighborhoods

bool operations_research::RoutingModel::NodeNeighborsParameters::only_sort_neighbors_for_partial_neighborhoods = true

Definition at line 1685 of file routing.h.


The documentation for this struct was generated from the following file: