Graph:...mplete(3pm)
π Graph::Maker::Complete π
okay bestie, gather round β this is the Perl manual page for Graph::Maker::Complete, living in the User Contributed Perl Documentation section (that's the (3pm) vibe, iykyk). β¨
πΈ NAME πΈ
Graph::Maker::Complete β creates complete (fully-connected) graphs π
π VERSION π
Version 0.01 β baby's first release, and she's iconic for it π«Ά
β¨ SYNOPSIS β¨
So basically? It creates the complete graph with however many nodes you want. And a complete graph is exactly what it sounds like β there are edges between every single pair of nodes. No node left behind, no cap. π₯
Now here's the tea β: if the graph is directed, then edges get added in both directions, which makes it an undirected graph. Yes literally both ways. She contains multitudes. π«
use strict;
use warnings;
use Graph;
use Graph::Maker;
use Graph::Maker::Complete;
my $g = new Graph::Maker('complete', N => 4, undirected => 1);
# work with the graph
π FUNCTIONS π
new %params
Creates the complete graph with the number of nodes you asked for (N). π
The recognized parameters are N, and graph_maker β and any others get passed straight onto Graph's constructor, no questions asked. π«‘
- If
Nisn't given, it defaults to0. (Empty graph era, we respect it π) - If
graph_makeris specified, it will be called to create theGraphclass however you want it β like if you've got a subclass ofGraph, bestie, go off. If you don't specify it, the default is to create aGraphwith the parameters you specified. Simple as. β¨
π AUTHOR π
Matt Spear, <batman900+cpan at gmail.com> π¦
π BUGS π
None at the moment... (a flawless queen, we love to see it) β¨
But fr fr, if you do find something, please report any bugs or feature requests to bug-graph-maker-complete at rt.cpan.org, or slide through the web interface at:
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Graph-Maker
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. Group chat updates, basically. π
π COPYRIGHT & LICENSE π
Copyright 2008 Matt Spear, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
no gatekeeping here β it's free software, share the love π«Ά
and that's the whole page bestie!! this one shipped as perl v5.32.1, dated 2021-08-27, from the Graph:...mplete(3pm) corner of the manual universe. mwah πβ¨
π¦ where this page comes from
- debian bookworm: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraph-maker-perl 0.02-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms