|
| GridSearchJob (const drwnPixelSegModel &model, const string &baseName, const vector< double > &pairwiseContrastValues, const vector< double > &robustPottsValues, const vector< double > &longRangeValues, map< drwnTriplet< double >, double > &scores) |
|
void | operator() () |
| thread functor called by drwnThreadPool with the appropriate threadId
|
|
|
const drwnPixelSegModel & | _model |
|
const string | _baseName |
|
const vector< double > | _pairwiseContrastValues |
|
const vector< double > | _robustPottsValues |
|
const vector< double > | _longRangeValues |
|
map< drwnTriplet< double >
, double > & | _scores |
|
|
unsigned | threadId () |
| obtain the id for the thread running (or that ran) this job. The return value is guaranteed to be between 0 and numThreads . Useful for accessing a global resource without colliding with other jobs.
|
|
void | lock () |
| acquire a lock (on all jobs in the same thread pool)
|
|
void | unlock () |
| release the lock (on all jobs in the same thread pool)
|
|
The documentation for this class was generated from the following file: