|
Darwin
1.10(beta)
|
threading exhaustive functor More...
Public Member Functions | |
| drwnNNGraphThreadedExhaustiveJob (const set< drwnNNGraphNodeIndex > &nodeIndxes, drwnNNGraph &g, const DistanceMetric &M) | |
| void | operator() () |
| thread functor called by drwnThreadPool with the appropriate threadId | |
Protected Attributes | |
| const DistanceMetric & | _M |
| distance metric to use during moves | |
| set< drwnNNGraphNodeIndex > | _nodeIndxes |
| indexes of nodes for this job | |
| drwnNNGraph & | _graph |
| graph for updating (includes features) | |
Additional Inherited Members | |
Protected Member Functions inherited from drwnThreadJob | |
| 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) | |
threading exhaustive functor
1.8.6