GRAFPACK
Graph Computations


GRAFPACK is a FORTRAN90 library, using double precision arithmetic, which performs common calculations involving (abstract mathematical) graphs.

This includes such tasks as a breadth-first-search, the computation of a minimum spanning tree, an Euler or Hamilton circuit, blocks, chromatic polynomial, or transitive closure. Some algorithms are general, while others apply only to directed graphs or trees.

Some of the routine names begin with a prefix that indicates the type of object it is associated with:

Related Data and Programs:

CITIES is a FORTRAN90 library which handles various problems associated with a set of "cities" on a map.

CITIES is a dataset directory which contains a number of city distance datasets.

CODEPACK is a FORTRAN90 library which computes "codes" that can determine if two graphs are isomorphic.

GRF is a data directory which contains a description of the GRF format and some examples.

GRF_IO is a FORTRAN90 library of routines for reading and writing GRF files.

GRF_TO_EPS is a FORTRAN90 library which can make an encapsulated PostScript image of a GRF file.

SUBSET is a FORTRAN90 library which generates, ranks and unranks various combinatorial objects.

TABLE_GRAPH_CODE is a FORTRAN90 program which reads a TABLE file describing a graph, and computes its graph code.

XGED is a C program which can edit graphs visually; it uses the X Window library to display the graph, and to detect the user's input.

Reference:

  1. Alan Gibbons,
    Algorithmic Graph Theory,
    Cambridge University Press, 1985,
    ISBN: 0-5212-8881-9,
    LC: QA166.G53.
  2. Hang Tong Lau,
    Combinatorial Heuristic Algorithms with FORTRAN,
    Springer, 1986,
    ISBN: 3540171614,
    LC: QA402.5.L37.
  3. Albert Nijenhuis, Herbert Wilf,
    Combinatorial Algorithms for Computers and Calculators,
    Second Edition,
    Academic Press, 1978,
    ISBN: 0-12-519260-6,
    LC: QA164.N54.
  4. Robert Sedgewick,
    Algorithms in C,
    Addison-Wesley, 1990,
    ISBN: 0-201-51425-7,
    LC: QA76.73.C15S43.
  5. Dennis Stanton, Dennis White,
    Constructive Combinatorics,
    Springer, 1986,
    ISBN: 0387963472,
    LC: QA164.S79.
  6. Krishnaiyan Thulasiraman, M Swamy,
    Graphs: Theory and Algorithms,
    John Wiley, 1992,
    ISBN: 0471513563,
    LC: QA166.T58.

Source Code:

Examples and Tests:

KNIGHTSTOUR is a GRF file created to illustrate a Knight's tour of the chess board.

FISH is a set of data defining a 3D model of fish. Various routines manipulate this data.

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 12 November 2006.