Fréchet View  1.6.0
A Tool for Exploring Fréchet Distance Algorithms
frechet::reach::MergeTask Class Reference

Detailed Description

a sub-taks, performing the merging of two reachability structures

Definition at line 612 of file structure.h.

#include <structure.h>

Inherits frechet::reach::StructureTask.

Public Member Functions

 MergeTask (Structure *owner, frechet::Rect r, tbb::flow::graph &graph, int concurrency)
 default constructor More...
 
virtual ~MergeTask ()
 destructor; releases memory More...
 
virtual void start () override
 perform the merging More...
 
- Public Member Functions inherited from frechet::reach::StructureTask
 StructureTask (Structure *owner)
 constructor with Structure More...
 
virtual ~StructureTask ()
 destructor More...
 

Private Attributes

Structure buddy
 structure to merge with More...
 
StructureTaskchild1
 prerquisite task; only after child1 and child2 are finished, start the merging task More...
 
StructureTaskchild2
 prerquisite task; only after child1 and child2 are finished, start the merging task More...
 

Additional Inherited Members

- Public Types inherited from frechet::reach::StructureTask
typedef tbb::flow::continue_msg msg_t
 used to connect nodes in the dependency graph More...
 
typedef tbb::flow::continue_node< msg_tnode_t
 a node in the dependency graph More...
 
- Static Public Member Functions inherited from frechet::reach::StructureTask
static StructureTaskcreateTask (Structure *owner, const frechet::Rect &r, tbb::flow::graph &graph, int concurrency)
 static constructor More...
 
- Public Attributes inherited from frechet::reach::StructureTask
Structureowner
 the underlying reachability structure More...
 
node_tnode
 a node in the dependency graph More...
 

Constructor & Destructor Documentation

◆ MergeTask()

MergeTask::MergeTask ( Structure owner,
frechet::Rect  r,
tbb::flow::graph &  graph,
int  concurrency 
)

default constructor

Parameters
ownerthe underlying reachability structure
rbounding region (columns and rows in free-space)
graphtbb flow-graph modeling tasks and dependencies
concurrencynumber of threads to use

Definition at line 327 of file structure.cpp.

◆ ~MergeTask()

MergeTask::~MergeTask ( )
virtual

destructor; releases memory

Definition at line 365 of file structure.cpp.

Member Function Documentation

◆ start()

void MergeTask::start ( )
overridevirtual

perform the merging

Implements frechet::reach::StructureTask.

Definition at line 359 of file structure.cpp.

Member Data Documentation

◆ buddy

Structure frechet::reach::MergeTask::buddy
private

structure to merge with

Definition at line 615 of file structure.h.

◆ child1

StructureTask* frechet::reach::MergeTask::child1
private

prerquisite task; only after child1 and child2 are finished, start the merging task

Definition at line 617 of file structure.h.

◆ child2

StructureTask* frechet::reach::MergeTask::child2
private

prerquisite task; only after child1 and child2 are finished, start the merging task

Definition at line 619 of file structure.h.


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