|
The number of sub-graphs is exponential in the number of nodes. You probably need to rethink what you are doing a little bit to specify some definition of all interesting sub-graphs.
-t
-----Original Message-----
I have represented a chemical molecular formula through graphs (using matrices), but I need to obtain all the subgraphs (submatrices) in each formula. Does anyone know how to do it? Does anyone know the algorithm?
Thanks a lot. |