Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/proc/thread-self/root/usr/share/perl5/vendor_perl/Graph/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/thread-self/root/usr/share/perl5/vendor_perl/Graph/Undirected.pm
package Graph::Undirected;

use Graph;
use base 'Graph';
use strict;

=pod

=head1 NAME

Graph::Undirected - undirected graphs

=head1 SYNOPSIS

    use Graph::Undirected;
    my $g = Graph::Undirected->new;

    # Or alternatively:

    use Graph;
    my $g = Graph->new(undirected => 1);
    my $g = Graph->new(directed => 0);

=head1 DESCRIPTION

Graph::Undirected allows you to create undirected graphs.

For the available methods, see L<Graph>.

=head1 SEE ALSO

L<Graph>, L<Graph::Directed>

=head1 AUTHOR AND COPYRIGHT

Jarkko Hietaniemi F<jhi@iki.fi>

=head1 LICENSE

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

=cut

sub new {
    my $class = shift;
    bless Graph->new(undirected => 1, @_), ref $class || $class;
}

1;

Hry