#include <parallel_batch.h>

Public Member Functions | |
| virtual int | batch (const int *pairList, const int numPairs, const int numBodies, BatchVector &bodyRepetitionCount0, BatchVector &bodyRepetitionCount1, BatchVector &maxBodyRepetitionCountInBatch, BatchVector &constraintIndices, BatchVector &batchIndices, BatchVector &batchSizes) |
| A rough attempt at an approximate edge coloring of the constraints. Very slow. | |
| ColoringBatchStrategy (int maxBatches=ParallelOptions::MAXBATCHES) | |
| Creates an instance of the coloring strategy. | |
An approximate approach to coloring edges for constraint batch assignment.
Definition at line 162 of file parallel_batch.h.
| parallel_ode::ColoringBatchStrategy::ColoringBatchStrategy | ( | int | maxBatches = ParallelOptions::MAXBATCHES | ) | [inline] |
Creates an instance of the coloring strategy.
| maxBatches | The maximum number of batches |
Definition at line 172 of file parallel_batch.h.
| int parallel_ode::ColoringBatchStrategy::batch | ( | const int * | pairList, |
| const int | numPairs, | ||
| const int | numBodies, | ||
| BatchVector & | bodyRepetitionCount0, | ||
| BatchVector & | bodyRepetitionCount1, | ||
| BatchVector & | maxBodyRepetitionCountInBatch, | ||
| BatchVector & | constraintIndices, | ||
| BatchVector & | batchIndices, | ||
| BatchVector & | batchSizes | ||
| ) | [virtual] |
A rough attempt at an approximate edge coloring of the constraints. Very slow.
Reimplemented from parallel_ode::BatchStrategy.
Definition at line 165 of file parallel_batch.cpp.