![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
A range of indices, that can be iterated over. Useful if used in a range-for loop or as an IterableContainer.
Definition at line 144 of file routing_filter_committables.h.
#include <routing_filter_committables.h>
Public Types | |
| using | iterator = IndexRangeIterator<Index> |
| using | const_iterator = IndexRangeIterator<Index> |
| using | value_type = Index |
Public Member Functions | |
| int | Size () const |
| bool | operator== (const IndexRange &other) const |
| IndexRange (Index start, Index end) | |
| IndexRange (Index end) | |
| Index | get_start () const |
| Index | get_end () const |
| iterator | begin () |
| For range-for loops. | |
| iterator | end () |
| const_iterator | begin () const |
| For const range-for loops. | |
| const_iterator | end () const |
Public Attributes | |
| size_t | begin = 0 |
| size_t | end = 0 |
| using operations_research::IndexRange< Index >::const_iterator = IndexRangeIterator<Index> |
Definition at line 281 of file base_types.h.
| using operations_research::IndexRange< Index >::iterator = IndexRangeIterator<Index> |
Definition at line 280 of file base_types.h.
| using operations_research::IndexRange< Index >::value_type = Index |
Definition at line 282 of file base_types.h.
|
inline |
Definition at line 284 of file base_types.h.
|
inlineexplicit |
Definition at line 286 of file base_types.h.
|
inline |
For range-for loops.
Definition at line 292 of file base_types.h.
|
inline |
For const range-for loops.
Definition at line 296 of file base_types.h.
|
inline |
Definition at line 293 of file base_types.h.
|
inline |
Definition at line 297 of file base_types.h.
|
inline |
Definition at line 289 of file base_types.h.
|
inline |
Definition at line 288 of file base_types.h.
|
inline |
Definition at line 148 of file routing_filter_committables.h.
|
inline |
Definition at line 147 of file routing_filter_committables.h.
| size_t operations_research::IndexRange< Index >::begin = 0 |
Definition at line 145 of file routing_filter_committables.h.
| size_t operations_research::IndexRange< Index >::end = 0 |
Definition at line 146 of file routing_filter_committables.h.