Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Undirected Weighted Graphs

by OverlordQ (Hermit)
on Apr 07, 2009 at 22:05 UTC ( [id://756161] : note . print w/replies, xml ) Need Help??


in reply to Re: Undirected Weighted Graphs
in thread Undirected Weighted Graphs

That sounds almost exactly what I'm looking at. Each zone has a series of jumpgates in 3D space that link to another jumpgate in another zone. On first glance you'd think that you'd just represent each zone as a node in the graph but then you'd come to realize there's no way to calculate the non-zero distance between gates in the same zone.

You doing yours for a game of sorts or something completely different.

Replies are listed 'Best First'.
Re^3: Undirected Weighted Graphs
by Corion (Patriarch) on Apr 08, 2009 at 06:37 UTC

    Well, it's a "game", except that it's a game framework that I've implemented in several incarnations already. This time it is to familiarize myself with Moose. As I know how I've implemented the graph in the past, I know that the differences/problems I encounter this time are most likely caused by Moose or my lack of understanding of Moose.