good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Sorting, given only comparisionsby Zaxo (Archbishop) |
on Sep 08, 2001 at 11:28 UTC ( [id://111140]=note: print w/replies, xml ) | Need Help?? |
This is mostly a topological sort. If you substitute a7 for a8 it is entirely a topological sort. The question becomes whether cycles exist to refute the ordering. System tsort will handle this. So will the Graph module. Wolf Book pp304-307 does, too. After Compline,
In Section
Seekers of Perl Wisdom
|
|