Re^4: Performance problem with Clone Methodby BrowserUk (Pope)
|on Jul 27, 2011 at 23:53 UTC||Need Help??|
there are so many ways to skin this cat I'm surprised people worry about the issue of column/row operations in PDL.
The problem is not "can it be done with PDL", more "do you gain anything by using PDL to do it"? Ie. Is it more efficient?
This iterates through all the row and column permutations of a 10x10 matrix in 82 seconds:
The OP mentioned matrices of "hundreds x hundreds".
As I understand the brute force algorithm for the Subgraph Isomorphism Problem, it requires performing all the row permutations for all the column permutations of the smaller of the two adjacency matrix graphs for every equal sized subgraph of the larger adjacency matrix. Ullmann trims the tree somewhat, but essentially still requires many of the iterations and all the transformations to be performed.
I've no doubts that this can be done with PDL; I just wonder if you gain much performance?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.