Definition at line 34 of file sharder.h.
#include <sharder.h>
|
| | Sharder (int64_t num_elements, int num_shards, Scheduler *scheduler, const std::function< int64_t(int64_t)> &element_mass) |
| | Sharder (int64_t num_elements, int num_shards, Scheduler *scheduler) |
| | Sharder (const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix, int num_shards, Scheduler *scheduler) |
| | Sharder (const Sharder &other_sharder, int64_t num_elements) |
| | Sharder (const Sharder &other)=delete |
| Sharder & | operator= (const Sharder &other)=delete |
| | Sharder (Sharder &&other)=default |
| Sharder & | operator= (Sharder &&other)=default |
| int | NumShards () const |
| int64_t | NumElements () const |
| int64_t | ShardSize (int shard) const |
| int64_t | ShardStart (int shard) const |
| int64_t | ShardMass (int shard) const |
| void | ParallelForEachShard (const std::function< void(const Shard &)> &func) const |
| double | ParallelSumOverShards (const std::function< double(const Shard &)> &func) const |
| bool | ParallelTrueForAllShards (const std::function< bool(const Shard &)> &func) const |
| const std::vector< int64_t > & | ShardStartsForTesting () const |
◆ ConstSparseColumnBlock
Initial value: ::Eigen::Block<
const Eigen::SparseMatrix<double, Eigen::ColMajor, int64_t>,
Eigen::Dynamic, Eigen::Dynamic,
true>
Definition at line 38 of file sharder.h.
◆ SparseColumnBlock
Initial value:
::Eigen::Block<Eigen::SparseMatrix<double, Eigen::ColMajor, int64_t>,
Eigen::Dynamic, Eigen::Dynamic,
true>
Definition at line 42 of file sharder.h.
◆ Sharder() [1/6]
| operations_research::pdlp::Sharder::Sharder |
( |
int64_t | num_elements, |
|
|
int | num_shards, |
|
|
Scheduler * | scheduler, |
|
|
const std::function< int64_t(int64_t)> & | element_mass ) |
◆ Sharder() [2/6]
| operations_research::pdlp::Sharder::Sharder |
( |
int64_t | num_elements, |
|
|
int | num_shards, |
|
|
Scheduler * | scheduler ) |
◆ Sharder() [3/6]
| operations_research::pdlp::Sharder::Sharder |
( |
const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > & | matrix, |
|
|
int | num_shards, |
|
|
Scheduler * | scheduler ) |
|
inline |
◆ Sharder() [4/6]
| operations_research::pdlp::Sharder::Sharder |
( |
const Sharder & | other_sharder, |
|
|
int64_t | num_elements ) |
◆ Sharder() [5/6]
| operations_research::pdlp::Sharder::Sharder |
( |
const Sharder & | other | ) |
|
|
delete |
◆ Sharder() [6/6]
| operations_research::pdlp::Sharder::Sharder |
( |
Sharder && | other | ) |
|
|
default |
◆ NumElements()
| int64_t operations_research::pdlp::Sharder::NumElements |
( |
| ) |
const |
|
inline |
◆ NumShards()
| int operations_research::pdlp::Sharder::NumShards |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
| Sharder & operations_research::pdlp::Sharder::operator= |
( |
const Sharder & | other | ) |
|
|
delete |
◆ operator=() [2/2]
| Sharder & operations_research::pdlp::Sharder::operator= |
( |
Sharder && | other | ) |
|
|
default |
◆ ParallelForEachShard()
| void operations_research::pdlp::Sharder::ParallelForEachShard |
( |
const std::function< void(const Shard &)> & | func | ) |
const |
◆ ParallelSumOverShards()
| double operations_research::pdlp::Sharder::ParallelSumOverShards |
( |
const std::function< double(const Shard &)> & | func | ) |
const |
◆ ParallelTrueForAllShards()
| bool operations_research::pdlp::Sharder::ParallelTrueForAllShards |
( |
const std::function< bool(const Shard &)> & | func | ) |
const |
◆ ShardMass()
| int64_t operations_research::pdlp::Sharder::ShardMass |
( |
int | shard | ) |
const |
|
inline |
◆ ShardSize()
| int64_t operations_research::pdlp::Sharder::ShardSize |
( |
int | shard | ) |
const |
|
inline |
◆ ShardStart()
| int64_t operations_research::pdlp::Sharder::ShardStart |
( |
int | shard | ) |
const |
|
inline |
◆ ShardStartsForTesting()
| const std::vector< int64_t > & operations_research::pdlp::Sharder::ShardStartsForTesting |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: