compht(1)

NAME
compht - from adjacency vectors to head-tail vectors

CALLING SEQUENCE
[he,ta] = compht(la,lp,ls,dir)

PARAMETERS

he,ta
    : head and tail arc arrays

la,lp,ls
    : vectors of the adjacency description, la is the arc array, lp is
      the pointer array and ls is the node array

dir : integer flag, 1 if the graph is directed, 0 if the graph is
      undirected

DESCRIPTION
compht computes the head-tail vectors from the adjacency vectors.