![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: decomposing binary matricesby hv (Parson) |
on Feb 16, 2007 at 22:56 UTC ( #600539=note: print w/replies, xml ) | Need Help?? |
I think that approach has possibilities, though it might need some modification - there is no guarantee that the row with fewest bits is separable. Consider, say: .. from which {B, C, D} is a separable submatrix. I'd have to think further whether I can easily construct an example that defeats the approach on both rows and columns simultaneously - it'd certainly need a larger matrix (at least 7x7 I think), but I think the same general idea could throw up a proper counterexample. At the risk of wasting your time ... Not a waste by any means - many of the suggestions so far could maybe be adaptable to a full solution. It's just a question of whether the adapted version would end up any quicker than going brute force in the first place. :) Hugo
In Section
Seekers of Perl Wisdom
|
|