Query: graph::matrix
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Graph::Matrix(3pm) User Contributed Perl Documentation Graph::Matrix(3pm)NAMEGraph::Matrix - create and manipulate a V x V matrix of graph GSYNOPSISuse 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)DESCRIPTIONThis 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 COPYRIGHTJarkko Hietaniemi jhi@iki.fiLICENSEThis module is licensed under the same terms as Perl itself. perl v5.10.0 2007-07-19 Graph::Matrix(3pm)