Definition at line 58 of file set_cover_model.h.
#include <set_cover_model.h>
◆ SetCoverModel()
| operations_research::SetCoverModel::SetCoverModel |
( |
const absl::string_view | name = "SetCoverModel" | ) |
|
|
inlineexplicit |
◆ AddElementToLastSubset() [1/2]
| void operations_research::SetCoverModel::AddElementToLastSubset |
( |
BaseInt | element | ) |
|
◆ AddElementToLastSubset() [2/2]
| void operations_research::SetCoverModel::AddElementToLastSubset |
( |
ElementIndex | element | ) |
|
◆ AddElementToSubset() [1/2]
| void operations_research::SetCoverModel::AddElementToSubset |
( |
BaseInt | element, |
|
|
BaseInt | subset ) |
◆ AddElementToSubset() [2/2]
| void operations_research::SetCoverModel::AddElementToSubset |
( |
ElementIndex | element, |
|
|
SubsetIndex | subset ) |
◆ AddEmptySubset()
| void operations_research::SetCoverModel::AddEmptySubset |
( |
Cost | cost | ) |
|
◆ all_subsets()
| std::vector< SubsetIndex > operations_research::SetCoverModel::all_subsets |
( |
| ) |
const |
|
inline |
◆ columns()
◆ compute_sparse_row_view_using_slices_duration()
| absl::Duration operations_research::SetCoverModel::compute_sparse_row_view_using_slices_duration |
( |
| ) |
const |
|
inline |
◆ ComputeColumnDeciles()
| std::vector< int64_t > operations_research::SetCoverModel::ComputeColumnDeciles |
( |
| ) |
const |
◆ ComputeColumnDeltaSizeStats()
◆ ComputeColumnStats()
◆ ComputeCostStats()
◆ ComputeFeasibility()
| bool operations_research::SetCoverModel::ComputeFeasibility |
( |
| ) |
|
◆ ComputeNumSingletonColumns()
| BaseInt operations_research::SetCoverModel::ComputeNumSingletonColumns |
( |
| ) |
const |
|
inline |
◆ ComputeNumSingletonRows()
| BaseInt operations_research::SetCoverModel::ComputeNumSingletonRows |
( |
| ) |
const |
|
inline |
◆ ComputeRowDeciles()
| std::vector< int64_t > operations_research::SetCoverModel::ComputeRowDeciles |
( |
| ) |
const |
◆ ComputeRowDeltaSizeStats()
◆ ComputeRowStats()
◆ ComputeSliceIndices()
| std::vector< SubsetIndex > operations_research::SetCoverModel::ComputeSliceIndices |
( |
int | num_partitions | ) |
|
◆ ComputeSparseRowViewSlice()
| SparseRowView operations_research::SetCoverModel::ComputeSparseRowViewSlice |
( |
SubsetIndex | begin_subset, |
|
|
SubsetIndex | end_subset ) |
◆ ComputeSparseRowViewUsingSlices()
| SparseRowView operations_research::SetCoverModel::ComputeSparseRowViewUsingSlices |
( |
| ) |
|
◆ create_sparse_row_view_duration()
| absl::Duration operations_research::SetCoverModel::create_sparse_row_view_duration |
( |
| ) |
const |
|
inline |
◆ CreateSparseRowView()
| void operations_research::SetCoverModel::CreateSparseRowView |
( |
| ) |
|
◆ CutSparseRowViewInSlices()
| std::vector< SparseRowView > operations_research::SetCoverModel::CutSparseRowViewInSlices |
( |
absl::Span< const SubsetIndex > | partition_points | ) |
|
◆ ElementRange()
| util_intops::StrongIntRange< ElementIndex > operations_research::SetCoverModel::ElementRange |
( |
| ) |
const |
|
inline |
◆ ExportModelAsProto()
| SetCoverProto operations_research::SetCoverModel::ExportModelAsProto |
( |
| ) |
const |
◆ FillRate()
| double operations_research::SetCoverModel::FillRate |
( |
| ) |
const |
|
inline |
◆ GenerateRandomModelFrom()
| SetCoverModel operations_research::SetCoverModel::GenerateRandomModelFrom |
( |
const SetCoverModel & | seed_model, |
|
|
BaseInt | num_elements, |
|
|
BaseInt | num_subsets, |
|
|
double | row_scale, |
|
|
double | column_scale, |
|
|
double | cost_scale ) |
|
static |
◆ generation_duration()
| absl::Duration operations_research::SetCoverModel::generation_duration |
( |
| ) |
const |
|
inline |
◆ ImportModelFromProto()
| void operations_research::SetCoverModel::ImportModelFromProto |
( |
const SetCoverProto & | message | ) |
|
◆ is_unicost()
| bool operations_research::SetCoverModel::is_unicost |
( |
| ) |
|
|
inline |
◆ IsEmpty()
| bool operations_research::SetCoverModel::IsEmpty |
( |
| ) |
const |
|
inline |
◆ name()
| std::string operations_research::SetCoverModel::name |
( |
| ) |
const |
|
inline |
◆ num_elements()
| BaseInt operations_research::SetCoverModel::num_elements |
( |
| ) |
const |
|
inline |
◆ num_nonzeros()
| int64_t operations_research::SetCoverModel::num_nonzeros |
( |
| ) |
const |
|
inline |
◆ num_subsets()
| BaseInt operations_research::SetCoverModel::num_subsets |
( |
| ) |
const |
|
inline |
◆ ReduceSparseRowViewSlices()
◆ ReserveNumElementsInSubset()
| void operations_research::SetCoverModel::ReserveNumElementsInSubset |
( |
BaseInt | num_elements, |
|
|
BaseInt | subset ) |
◆ ResizeNumSubsets() [1/2]
| void operations_research::SetCoverModel::ResizeNumSubsets |
( |
BaseInt | num_subsets | ) |
|
◆ ResizeNumSubsets() [2/2]
| void operations_research::SetCoverModel::ResizeNumSubsets |
( |
SubsetIndex | num_subsets | ) |
|
◆ row_view_is_valid()
| bool operations_research::SetCoverModel::row_view_is_valid |
( |
| ) |
const |
|
inline |
◆ rows()
| const SparseRowView & operations_research::SetCoverModel::rows |
( |
| ) |
const |
|
inline |
◆ SetName()
| void operations_research::SetCoverModel::SetName |
( |
const absl::string_view | name | ) |
|
|
inline |
◆ SetSubsetCost() [1/2]
| void operations_research::SetCoverModel::SetSubsetCost |
( |
BaseInt | subset, |
|
|
Cost | cost ) |
◆ SetSubsetCost() [2/2]
| void operations_research::SetCoverModel::SetSubsetCost |
( |
SubsetIndex | subset, |
|
|
Cost | cost ) |
◆ SortElementsInSubsets()
| void operations_research::SetCoverModel::SortElementsInSubsets |
( |
| ) |
|
◆ subset_costs()
| const SubsetCostVector & operations_research::SetCoverModel::subset_costs |
( |
| ) |
const |
|
inline |
◆ SubsetRange()
| util_intops::StrongIntRange< SubsetIndex > operations_research::SetCoverModel::SubsetRange |
( |
| ) |
const |
|
inline |
◆ ToString()
| std::string operations_research::SetCoverModel::ToString |
( |
absl::string_view | sep | ) |
const |
◆ ToVerboseString()
| std::string operations_research::SetCoverModel::ToVerboseString |
( |
absl::string_view | sep | ) |
const |
The documentation for this class was generated from the following files: