Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Graph::Matrix(3)      User Contributed Perl Documentation     Graph::Matrix(3)

NAME
       Graph::Matrix - create and manipulate a V x V matrix of graph G

SYNOPSIS
	   use Graph::Matrix;
	   use Graph::Directed;
	   my $g  = Graph::Directed->new;
	   $g->add_...(); # build $g
	   my $m = Graph::Matrix->new($g);
	   $m->get($u, $v)
	   $s->get($u, $v, $val)

DESCRIPTION
       This module is meant for	internal use by	the Graph module.

   Class Methods
       new($g)
	   Construct a new Matrix from the Graph $g.

   Object Methods
       get($u, $v)
	   Return the value at the edge	from $u	to $v.

       set($u, $v, $val)
	   Set the edge	from $u	to $v to value $val.

AUTHOR AND COPYRIGHT
       Jarkko Hietaniemi jhi@iki.fi

LICENSE
       This module is licensed under the same terms as Perl itself.

perl v5.24.1			  2007-07-19		      Graph::Matrix(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR AND COPYRIGHT | LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Graph::Matrix&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help