my $g = Graph::Directed->new;
$g->add_...(); # build $g
my $m = Graph::Matrix->new($g);
$s->get($u, $v, $val)
DESCRIPTIONThis module is meant for internal use by the Graph module.
- Construct a new Matrix from the Graph $g.
- 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 [email protected]
LICENSEThis module is licensed under the same terms as Perl itself.