IOLink Python 1.11.0
Loading...
Searching...
No Matches
iolink.iolink.DependencyGraph Class Reference
Inheritance diagram for iolink.iolink.DependencyGraph:

Public Member Functions

 has_common_ancestor (view1, view2)
 
 __init__ (self)
 

Static Protected Member Functions

 _has_common_ancestor (view1, view2)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

Algorithms on the dependency graph.

Member Function Documentation

◆ _has_common_ancestor()

iolink.iolink.DependencyGraph._has_common_ancestor (   view1,
  view2 
)
staticprotected
    Indicates if two views share a common ancestor.

    :type view1: :py:class:`View`
    :param view1: First view to take into account
    :type view2: :py:class:`View`
    :param view2: Second view to take into account

    :rtype: int
    :return: SHARE_ANCESTOR if the two given views share at least one common ancestor.
    :rtype: int
    :return: SHARE_NO_ANCESTOR if the two given views don't share any ancestor.
    :rtype: int
    :return: UNDETERMINED if the information could not be determined (dependency graph is not complete).

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