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

#include <set_cover_views.h>

Public Member Functions

 StrongModelView ()=default
 StrongModelView (const SetCoverModel *model)
BaseInt num_subsets () const
BaseInt num_elements () const
auto subset_costs () const -> util_intops::TransformView< Cost, FullSubsetIndex >
auto columns () const -> util_intops::TransformView< SparseColumn, FullSubsetIndex, SparseColTransform >
auto rows () const -> util_intops::TransformView< SparseRow, FullElementIndex, SparseRowTransform >
auto SubsetRange () const -> util_intops::StrongIntRange< FullSubsetIndex >
auto ElementRange () const -> util_intops::StrongIntRange< FullElementIndex >
const SetCoverModelbase () const

Detailed Description

Definition at line 81 of file set_cover_views.h.

Constructor & Destructor Documentation

◆ StrongModelView() [1/2]

operations_research::StrongModelView::StrongModelView ( )
default

◆ StrongModelView() [2/2]

operations_research::StrongModelView::StrongModelView ( const SetCoverModel * model)
inline

Definition at line 104 of file set_cover_views.h.

Member Function Documentation

◆ base()

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

Definition at line 128 of file set_cover_views.h.

◆ columns()

auto operations_research::StrongModelView::columns ( ) const -> util_intops::TransformView<SparseColumn, FullSubsetIndex, SparseColTransform>
inline

Definition at line 113 of file set_cover_views.h.

◆ ElementRange()

auto operations_research::StrongModelView::ElementRange ( ) const -> util_intops::StrongIntRange<FullElementIndex>
inline

Definition at line 125 of file set_cover_views.h.

◆ num_elements()

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

Definition at line 107 of file set_cover_views.h.

◆ num_subsets()

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

Definition at line 106 of file set_cover_views.h.

◆ rows()

auto operations_research::StrongModelView::rows ( ) const -> util_intops::TransformView<SparseRow, FullElementIndex, SparseRowTransform>
inline

Definition at line 118 of file set_cover_views.h.

◆ subset_costs()

auto operations_research::StrongModelView::subset_costs ( ) const -> util_intops::TransformView<Cost, FullSubsetIndex>
inline

Definition at line 109 of file set_cover_views.h.

◆ SubsetRange()

auto operations_research::StrongModelView::SubsetRange ( ) const -> util_intops::StrongIntRange<FullSubsetIndex>
inline

Definition at line 122 of file set_cover_views.h.


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