![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
#include <views.h>
Classes | |
struct | FilterIndicesViewIterator |
Public Member Functions | |
FilterIndexRangeView (const EnableVectorT *is_active) | |
FilterIndicesViewIterator | begin () const |
FilterIndicesViewIterator | end () const |
View exposing only the indices of a container that are marked as active. Looping over this view is equivalent to:
for (IntT index; index < IntT<is_active_->size()); ++index) { if (is_active[index]) { your_code(index); } }
|
inline |
|
inline |
|
inline |