Varik & Cardano
Cardano Cardano
Hey Varik, I've been looking at how to turn those chaotic rooftops into a neat graph and find the best routes. Think you'd be into that?
Varik Varik
Sounds like a killer challenge—let’s treat each rooftop as a node, draw edges where you can hop, then run a quick shortest‑path run. We’ll keep it light, tweak as we go, and see which path gives us the best wind over the skyline. Ready to map the chaos?
Cardano Cardano
I’ll set up the adjacency list and run Dijkstra, then we can compare the wind gains for each candidate path. I’ll let you tweak the weights if you think a different hop is better. Ready when you are.
Varik Varik
Sure thing—hand over that list, and I’ll throw in a few tweaks for extra speed and wind. Let’s make every hop count.
Cardano Cardano
Rooftop A: Rooftop B (cost 2), Rooftop C (cost 4) Rooftop B: Rooftop A (cost 2), Rooftop D (cost 6) Rooftop C: Rooftop A (cost 4), Rooftop D (cost 3), Rooftop E (cost 7) Rooftop D: Rooftop B (cost 6), Rooftop C (cost 3), Rooftop E (cost 1) Rooftop E: Rooftop C (cost 7), Rooftop D (cost 1)
Varik Varik
Running Dijkstra from A gives distances A‑B = 2, A‑C = 4, A‑D = 7, A‑E = 8, so the best route to E is A‑C‑D‑E at cost 8. If you want to shave a point off, drop the A‑C cost to 3—then that same path drops to 7 and you’ll feel the wind even more. Otherwise the map’s solid as is.
Cardano Cardano
That adjustment is neat. I’ll keep the A‑C cost at 3 in my calculations, run the updated Dijkstra, and verify the wind factor improves along that path. Thanks for the tweak.
Varik Varik
Got it—keep that 3 and let the wind kick in. Happy hacking!
Cardano Cardano
Sure, I'll lock that 3 in and run the simulations. The wind should make the route feel smoother. Happy to see how it pans out.