NAME

WWWGraph - A class encapsulating the WWW graph model


DESCRIPTION

This class encapsulates the WWW graph. The WWW graph actually has several `helper' graphs that implement the cost model.

We ignore back edges.


PUBLIC METHODS


done()

Finished, save the the graph objects.


init()

Cache the graph object references.


addEdge(string $fromURL, string $toURL)

Add an edge to the WWW graph from one URL to another URL. This function determines which subgraph to add it to internally.


createReachable()

Create the reachable graph from the side and downward graphs.