copulas/multivariate/tree.py
def _check_contraint(self, edge1, edge2):
        """Check if two edges satisfy vine constraint.

        Args:
            :param edge1: edge object representing edge1
            :param edge2: edge object representing edge2
            :type edge1: Edge object
            :type edge2: Edge object

        Returns:
            Boolean True if the two edges satisfy vine constraints
        """
        full_node = set([edge1.L, edge1.R, edge2.L, edge2.R])
        full_node.update(edge1.D)
        full_node.update(edge2.D)
        return len(full_node) == (self.level + 1)
Check if two edges satisfy vine constraint.

        Args:
            :param edge1: edge object representing edge1
            :param edge2: edge object representing edge2
            :type edge1: Edge object
            :type edge2: Edge object

        Returns:
            Boolean True if the two edges satisfy vine constraints
        
Check if two edges satisfy vine constraint.
Check if two edges satisfy vine constraint .
def _check_contraint(self, edge1, edge2):
        full_node = set([edge1.L, edge1.R, edge2.L, edge2.R])
        full_node.update(edge1.D)
        full_node.update(edge2.D)
        return len(full_node) == (self.level + 1)
def _check_contraint ( self , edge1 , edge2 ) : full_node = set ( [ edge1 . L , edge1 . R , edge2 . L , edge2 . R ] ) full_node . update ( edge1 . D ) full_node . update ( edge2 . D ) return len ( full_node ) == ( self . level + 1 )
Check if two edges satisfy vine constraint.
Check if two edges satisfy vine constraint .
"""Check if two edges satisfy vine constraint.

        Args:
            :param edge1: edge object representing edge1
            :param edge2: edge object representing edge2
            :type edge1: Edge object
            :type edge2: Edge object

        Returns:
            Boolean True if the two edges satisfy vine constraints
        """
Boolean True if the two edges satisfy vine constraints
Boolean True if the two edges satisfy vine constraints
self
edge1
edge2
type edge2: Edge object
type edge2 : Edge object