Anonymous user
Topological sort: Difference between revisions
m
→FORTRAN 77
(adding fortran 77) |
m (→FORTRAN 77) |
||
Line 656:
''Output'' : IORD(1:NO) is the compile order, and IORD(NO+1:NL) contains unordered libraries.
This implementation is not optimal: for each ''level'' of dependency (for example A -> B -> C counts
<lang fortran> SUBROUTINE TSORT(NL,ND,IDEP,IORD,IPOS,NO)
IMPLICIT NONE
|