Help for this page

Select Code to Download


  1. or download this
    use Graph::Directed;
    use warnings;
    ...
        }
        print "\n";
    }
    
  2. or download this
    GRAPH (3 vertices):
    E1-E2,E2-E2,E2-E3,E3-E1,E3-E2,E3-E3
    ...
    E1      0       1       2
    E2      2       0       1
    E3      1       1       0
    
  3. or download this
    DISTANCE MATRIX:
            E1      E2      E3
    E1      3       1       2
    E2      2       1       1
    E3      1       1       1