Esempio n. 1
0
 def __init__(self):
     self.structures = digraph(
     )  # graph describing the relations between individual structures
     self.search_trees = [
     ]  # list of substructure instances that for a tree
     self.rings = {}
     self.fill_data()
Esempio n. 2
0
 def create_CIP_digraph(self, center):
     """creates a digraph according to rules described in CIP paper."""
     assert center in self.vertices
     from graph.digraph import digraph
     dg = digraph()
     dg.add_vertex(center.copy())
     return dg
Esempio n. 3
0
 def create_CIP_digraph( self, center):
   """creates a digraph according to rules described in CIP paper."""
   assert center in self.vertices
   from graph.digraph import digraph
   dg = digraph()
   dg.add_vertex( center.copy())
   return dg
Esempio n. 4
0
 def __init__( self):
   self.structures = digraph()  # graph describing the relations between individual structures
   self.search_trees = []  # list of substructure instances that for a tree
   self.rings = {}
   self.fill_data()