⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 undirected.pm

📁 nasm早期的源代码,比较简单是学习汇编和编译原理的好例子
💻 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;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -