1 |
sashby |
1.1.2.1 |
package Graph;
|
2 |
|
|
|
3 |
|
|
use strict;
|
4 |
|
|
local $^W = 1;
|
5 |
|
|
|
6 |
|
|
use Graph::Base;
|
7 |
|
|
use Graph::Directed;
|
8 |
|
|
|
9 |
|
|
use vars qw($VERSION @ISA);
|
10 |
|
|
|
11 |
|
|
$VERSION = 0.2;
|
12 |
|
|
|
13 |
|
|
@ISA = qw(Graph::Directed Graph::Base);
|
14 |
|
|
|
15 |
|
|
=head1 NAME
|
16 |
|
|
|
17 |
|
|
Graph - graph operations
|
18 |
|
|
|
19 |
|
|
=head1 SYNOPSIS
|
20 |
|
|
|
21 |
|
|
use Graph;
|
22 |
|
|
|
23 |
|
|
$g = new Graph;
|
24 |
|
|
|
25 |
|
|
=head1 DESCRIPTION
|
26 |
|
|
|
27 |
|
|
This is just a front-end class for Graph::Directed and Graph::Base.
|
28 |
|
|
|
29 |
|
|
Instantiated Graph objects (like $g in the the above description)
|
30 |
|
|
are in fact Graph::Base objects in disguise, look there for the
|
31 |
|
|
methods available. If you want undirected graphs, create Graph::Undirected
|
32 |
|
|
objects.
|
33 |
|
|
|
34 |
|
|
=head1 COPYRIGHT
|
35 |
|
|
|
36 |
|
|
Copyright 1999, O'Reilly & Associates.
|
37 |
|
|
|
38 |
|
|
This code is distributed under the same copyright terms as Perl itself.
|
39 |
|
|
|
40 |
|
|
=cut
|
41 |
|
|
|
42 |
|
|
1;
|
43 |
|
|
|