Lines Matching defs:new
10 my $m = Graph::AdjacencyMatrix->new($g, %$opt);
25 $pm = Graph::Matrix->new($g);
213 sub new {
250 die "Graph::TransitiveClosure::Matrix::new: Unknown options: @{[map { qq['$_' => $opt{$_}]} keys %opt]}"
278 __PACKAGE__->new($_[0], is_transitive => 1); # Scary.
331 my $g = Graph::Directed->new;
335 my $tcm = Graph::TransitiveClosure::Matrix->new($g);
339 my $tcm = Graph::TransitiveClosure::Matrix->new($g, reflexive => 1);
349 my $tcm = Graph::TransitiveClosure::Matrix->new($g, path_length => 1);
352 my $tcm = Graph::TransitiveClosure::Matrix->new($g, path_vertices => 1);
356 Graph::TransitiveClosure::Matrix->new($g,
380 =item new($g)
384 =item new($g, options)
395 attribute to the new() constructor.