Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::internal::UnderlyingContainerAdapter< Container > Class Template Reference

#include <k_shortest_paths.h>

Public Types

typedef Container::container_type container_type
 

Public Member Functions

const container_typecontainer () const
 

Detailed Description

template<class Container>
class operations_research::internal::UnderlyingContainerAdapter< Container >

Container adapter to be used with STL container adapters such as std::priority_queue. It gives access to the underlying container, which is a protected member in a standard STL container adapter.

Definition at line 216 of file k_shortest_paths.h.

Member Typedef Documentation

◆ container_type

template<class Container >
Container::container_type operations_research::internal::UnderlyingContainerAdapter< Container >::container_type

Definition at line 218 of file k_shortest_paths.h.

Member Function Documentation

◆ container()

template<class Container >
const container_type & operations_research::internal::UnderlyingContainerAdapter< Container >::container ( ) const
inlinenodiscard

No mutable version of container, so that the user cannot change the data within the container: they might destroy the container's invariants.

Definition at line 221 of file k_shortest_paths.h.


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