NAME

Meta::Graph::Directed - enhance Graph::Directed.

COPYRIGHT

Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

MANIFEST: Directed.pm
PROJECT: meta
VERSION: 0.01

SYNOPSIS

package foo;
use Meta::Graph::Directed qw();
my($object)=Meta::Graph::Directed->new();
my($result)=$object->method();

DESCRIPTION

This class is here to provide a place to add method to the Graph::Directed module available from CPAN. I know that Graph::Directed looks pretty nice but still if I need any convenience methods or maybe a small algorithm or two it will be nice to add them at the graph level.

FUNCTIONS

new($)
vertices_num($)
edges_num($)
TEST($)

FUNCTION DOCUMENTATION

new($)

Constructor for the Meta::Graph::Directed object. This method is needed since if it absent then objected created with this package will be blessed into the Meta::Graph package.

vertices_num($)

This method returns the number of vertices in the graph. It's true that the method vertices in Graph returns this number if called in a scalar context but I hate having methods behave differently in different contexes.

edges_num($)

This method returns the number of edges in the graph.

TEST($)

Test suite for this module.

SUPER CLASSES

Graph::Directed(3)

BUGS

None.

AUTHOR

Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER

HISTORY

0.00 MV web site automation
0.01 MV SEE ALSO section fix

SEE ALSO

Graph::Directed(3), strict(3)

TODO

Nothing.