TTK
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
ttk::ftr::Tasks Class Reference

TTK FTRGraph tasks management tools. More...

#include <FTRTasks.h>

Static Public Member Functions

static std::tuple< idVertex, idPropagationgetChunk (const TaskChunk &params)
 
static idVertex getBegin (const idPropagation chunkId, const idVertex grainSize, const idVertex offset=0)
 
static idVertex getEnd (const idPropagation chunkId, const idVertex grainSize, const idVertex maxEnd=nullVertex)
 

Detailed Description

TTK FTRGraph tasks management tools.

Author
Gueunet Charles charl.nosp@m.es.g.nosp@m.ueune.nosp@m.t+tt.nosp@m.k@gma.nosp@m.il.c.nosp@m.om
Date
2018-01-26

This class is a little toolset for tasks management

See also
ttk::FTRGraph

Definition at line 37 of file FTRTasks.h.

Member Function Documentation

◆ getBegin()

static idVertex ttk::ftr::Tasks::getBegin ( const idPropagation  chunkId,
const idVertex  grainSize,
const idVertex  offset = 0 
)
inlinestatic

Definition at line 68 of file FTRTasks.h.

◆ getChunk()

static std::tuple< idVertex, idPropagation > ttk::ftr::Tasks::getChunk ( const TaskChunk params)
inlinestatic

This function gives the size of a chunk and the number of chunk to divide the number of element (nbElemt) in chunk of grainSize elements OR in nbTasks chunks

Precondition
nbElemt is the number of element to visit and ONLY ONE of nbTasks or grainSize should be set.

Definition at line 45 of file FTRTasks.h.

◆ getEnd()

static idVertex ttk::ftr::Tasks::getEnd ( const idPropagation  chunkId,
const idVertex  grainSize,
const idVertex  maxEnd = nullVertex 
)
inlinestatic

Definition at line 74 of file FTRTasks.h.


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