Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::DynamicPartition::IterablePart Struct Reference

#include <dynamic_partition.h>

Public Types

typedef int value_type
 These typedefs allow this iterator to be used within testing::ElementsAre.
 
typedef std::vector< int >::const_iterator const_iterator
 

Public Member Functions

std::vector< int >::const_iterator begin () const
 
std::vector< int >::const_iterator end () const
 
int size () const
 
 IterablePart ()=default
 
 IterablePart (const std::vector< int >::const_iterator &b, const std::vector< int >::const_iterator &e)
 

Public Attributes

std::vector< int >::const_iterator begin_
 
std::vector< int >::const_iterator end_
 

Detailed Description

Definition at line 179 of file dynamic_partition.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 194 of file dynamic_partition.h.

◆ value_type

These typedefs allow this iterator to be used within testing::ElementsAre.

Definition at line 193 of file dynamic_partition.h.

Constructor & Destructor Documentation

◆ IterablePart() [1/2]

operations_research::DynamicPartition::IterablePart::IterablePart ( )
default

◆ IterablePart() [2/2]

operations_research::DynamicPartition::IterablePart::IterablePart ( const std::vector< int >::const_iterator & b,
const std::vector< int >::const_iterator & e )
inline

Definition at line 188 of file dynamic_partition.h.

Member Function Documentation

◆ begin()

std::vector< int >::const_iterator operations_research::DynamicPartition::IterablePart::begin ( ) const
inline

Definition at line 180 of file dynamic_partition.h.

◆ end()

std::vector< int >::const_iterator operations_research::DynamicPartition::IterablePart::end ( ) const
inline

Definition at line 181 of file dynamic_partition.h.

◆ size()

int operations_research::DynamicPartition::IterablePart::size ( ) const
inline

Definition at line 185 of file dynamic_partition.h.

Member Data Documentation

◆ begin_

std::vector<int>::const_iterator operations_research::DynamicPartition::IterablePart::begin_

Definition at line 182 of file dynamic_partition.h.

◆ end_

std::vector<int>::const_iterator operations_research::DynamicPartition::IterablePart::end_

Definition at line 183 of file dynamic_partition.h.


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