Public Member Functions
parallel_ode::ColoringBatchStrategy Class Reference

#include <parallel_batch.h>

Inheritance diagram for parallel_ode::ColoringBatchStrategy:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

An approximate approach to coloring edges for constraint batch assignment.

Definition at line 162 of file parallel_batch.h.


Constructor & Destructor Documentation

Creates an instance of the coloring strategy.

Parameters:
maxBatchesThe maximum number of batches

Definition at line 172 of file parallel_batch.h.


Member Function Documentation

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.


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


parallel_quickstep
Author(s): Jared Duke
autogenerated on Fri Jan 3 2014 11:36:56