PianaGraphEdgeTypes
index
../../../../piana/code/Graph/PianaGraph/PianaGraphEdgeTypes.py

 File       : PianaGraphEdgeTypes.py
 Author     : R. Aragues
 Creation   : 2003
 Contents   : classes PianaGraphEdgeTypes
 Called from: 
 
=======================================================================================================
 
This file implements classes  ExtendedEdge and  PropagatedEdge
 
classes used to describe characteristics of edges that have been extended or propagated by
an expansion process

 
Classes
       
ExtendedEdge
PropagatedEdge

 
class ExtendedEdge
    This class is used to describe the expansion_extension that originated an edge. It is used by PianaGraphEdgeAttribute to keep a list
of characteristics of a given edge
 
  Methods defined here:
__init__(self, expansion_type=None, extended_from_node=None)
__str__(self)
get_source_node(self)
returns the node that originated the extension of the edge

 
class PropagatedEdge
    This class is used to describe the expansion_propagation that originated an edge. It is used by PianaGraphEdgeAttribute to keep a list
of characteristics of a given edge
 
These two variables identify the origin of the new edge:
    propagated_from_db_edge_id is an interactionPiana identifier
    propagated_from_edge_id is the internal graph edge identifier (composed by the two node identifiers)
 
  Methods defined here:
__init__(self, expansion_type=None, propagated_from_node=None, propagated_from_edge_id=None, propagated_from_db_edge_id=None)
__str__(self)
get_source_edge_db_id(self)
returns the graph edge id  that originated the propagation of this edge
get_source_node_id(self)
returns the node id that originated the propagation of this edge

 
Data
        verbose = 0