Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::IndexListModelView Class Reference

Detailed Description

Definition at line 134 of file set_cover_views.h.

#include <set_cover_views.h>

Inheritance diagram for operations_research::IndexListModelView:
operations_research::scp::SubModelView

Public Member Functions

 IndexListModelView ()=default
 IndexListModelView (const SetCoverModel *model, const SubsetToIntVector *cols_sizes, const ElementToIntVector *rows_sizes, const std::vector< SubsetIndex > *cols_focus, const std::vector< ElementIndex > *rows_focus)
BaseInt num_subsets () const
BaseInt num_elements () const
BaseInt num_focus_subsets () const
BaseInt num_focus_elements () const
auto subset_costs () const -> util_intops::IndexListView< Cost, SubsetIndex >
auto columns () const -> util_intops::TwoLevelsView< util_intops::IndexListView< SparseColumn, SubsetIndex >, ElementToIntVector >
auto rows () const -> util_intops::TwoLevelsView< util_intops::IndexListView< SparseRow, ElementIndex >, SubsetToIntVector >
const std::vector< SubsetIndex > & SubsetRange () const
const std::vector< ElementIndex > & ElementRange () const
FullElementIndex MapCoreToFullElementIndex (ElementIndex core_i) const
ElementIndex MapFullToCoreElementIndex (FullElementIndex full_i) const
FullSubsetIndex MapCoreToFullSubsetIndex (SubsetIndex core_j) const
BaseInt column_size (SubsetIndex j) const
BaseInt row_size (ElementIndex i) const
const SetCoverModelbase () const

Constructor & Destructor Documentation

◆ IndexListModelView() [1/2]

operations_research::IndexListModelView::IndexListModelView ( )
default

◆ IndexListModelView() [2/2]

operations_research::IndexListModelView::IndexListModelView ( const SetCoverModel * model,
const SubsetToIntVector * cols_sizes,
const ElementToIntVector * rows_sizes,
const std::vector< SubsetIndex > * cols_focus,
const std::vector< ElementIndex > * rows_focus )
inline

Definition at line 137 of file set_cover_views.h.

Member Function Documentation

◆ base()

const SetCoverModel & operations_research::IndexListModelView::base ( ) const
inline

Definition at line 188 of file set_cover_views.h.

◆ column_size()

BaseInt operations_research::IndexListModelView::column_size ( SubsetIndex j) const
inline

Definition at line 180 of file set_cover_views.h.

◆ columns()

auto operations_research::IndexListModelView::columns ( ) const -> util_intops::TwoLevelsView< util_intops::IndexListView<SparseColumn, SubsetIndex>, ElementToIntVector>
inline

Definition at line 156 of file set_cover_views.h.

◆ ElementRange()

const std::vector< ElementIndex > & operations_research::IndexListModelView::ElementRange ( ) const
inline

Definition at line 166 of file set_cover_views.h.

◆ MapCoreToFullElementIndex()

FullElementIndex operations_research::IndexListModelView::MapCoreToFullElementIndex ( ElementIndex core_i) const
inline

Definition at line 167 of file set_cover_views.h.

◆ MapCoreToFullSubsetIndex()

FullSubsetIndex operations_research::IndexListModelView::MapCoreToFullSubsetIndex ( SubsetIndex core_j) const
inline

Definition at line 176 of file set_cover_views.h.

◆ MapFullToCoreElementIndex()

ElementIndex operations_research::IndexListModelView::MapFullToCoreElementIndex ( FullElementIndex full_i) const
inline

Definition at line 171 of file set_cover_views.h.

◆ num_elements()

BaseInt operations_research::IndexListModelView::num_elements ( ) const
inline

Definition at line 149 of file set_cover_views.h.

◆ num_focus_elements()

BaseInt operations_research::IndexListModelView::num_focus_elements ( ) const
inline

Definition at line 151 of file set_cover_views.h.

◆ num_focus_subsets()

BaseInt operations_research::IndexListModelView::num_focus_subsets ( ) const
inline

Definition at line 150 of file set_cover_views.h.

◆ num_subsets()

BaseInt operations_research::IndexListModelView::num_subsets ( ) const
inline

Definition at line 148 of file set_cover_views.h.

◆ row_size()

BaseInt operations_research::IndexListModelView::row_size ( ElementIndex i) const
inline

Definition at line 184 of file set_cover_views.h.

◆ rows()

auto operations_research::IndexListModelView::rows ( ) const -> util_intops::TwoLevelsView< util_intops::IndexListView<SparseRow, ElementIndex>, SubsetToIntVector>
inline

Definition at line 161 of file set_cover_views.h.

◆ subset_costs()

auto operations_research::IndexListModelView::subset_costs ( ) const -> util_intops::IndexListView<Cost, SubsetIndex>
inline

Definition at line 153 of file set_cover_views.h.

◆ SubsetRange()

const std::vector< SubsetIndex > & operations_research::IndexListModelView::SubsetRange ( ) const
inline

Definition at line 165 of file set_cover_views.h.


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