summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2008-12-14 17:52:49 -0500
committerdoy <doy@tozt.net>2008-12-14 17:52:49 -0500
commit4da95a651d8d2bf4682ef992f990ec6205122409 (patch)
treefe6178e53098b02b7de2347da71e3d23dee96286
parent844fe2c576b1ba53b0fc88c8a2a1c3c1bf868dc9 (diff)
downloadgraph-implicit-4da95a651d8d2bf4682ef992f990ec6205122409.tar.gz
graph-implicit-4da95a651d8d2bf4682ef992f990ec6205122409.zip
todo comment
-rw-r--r--lib/Graph/Implicit.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Graph/Implicit.pm b/lib/Graph/Implicit.pm
index 239bf75..78537f0 100644
--- a/lib/Graph/Implicit.pm
+++ b/lib/Graph/Implicit.pm
@@ -35,6 +35,8 @@ sub neighbors {
# traversal
+# XXX: if we can generalize @bag to allow for a heap, and store edges rather
+# than vertices in the bag, then we can implement prim with this too
sub _traversal {
my $self = shift;
my ($start, $code, $insert, $remove) = @_;