in reply to decomposing binary matrices (2)
Now, checking a graph for a maximum matching can be done efficiently (see for example http://www.maths.lse.ac.uk/Courses/MA314/matching.pdf). Well, at least much more efficiently than how you have been doing it by trying all possible solutions. Overall, this process for clean would be something like cubic time in the size of your matrix.
I'm away from a perl interpreter at the moment, but can maybe offer something a little more concrete later. Unfortunately, Graph doesn't have any pre-packaged thingy for finding matchings.
blokhead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: decomposing binary matrices (2)
by hv (Prior) on Feb 27, 2007 at 21:01 UTC | |
|
Re^2: decomposing binary matrices (2)
by hv (Prior) on Feb 28, 2007 at 09:22 UTC |