IOLink IOL_v1.8.0_release
Loading...
Searching...
No Matches
iolink::DependencyGraph Class Reference

Algorithms on the dependency graph. More...

#include <iolink/tool/DependencyGraph.h>

Static Public Member Functions

static CommonAncestorStatus hasCommonAncestor (std::shared_ptr< View > view1, std::shared_ptr< View > view2)
 Indicates if two views share a common ancestor.
 

Detailed Description

Algorithms on the dependency graph.

Member Function Documentation

◆ hasCommonAncestor()

static CommonAncestorStatus iolink::DependencyGraph::hasCommonAncestor ( std::shared_ptr< View view1,
std::shared_ptr< View view2 
)
static

Indicates if two views share a common ancestor.

Parameters
view1First view to take into account
view2Second view to take into account
Returns
SHARE_ANCESTOR if the two given views share at least one common ancestor.
SHARE_NO_ANCESTOR if the two given views don't share any ancestor.
UNDETERMINED if the information could not be determined (dependency graph is not complete).

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