Haskell, Genetic Algorithm, Graph Theory, Programming.
hasPath "Well" "Spring" g then 1.0 else 0.0, if hasPath "Well" "Lair" g then 1.0 else 0.0, if hasPath "Well" "Orchard" g then 1.0 else 0.0, if hasPath "Well" "Exit" g then 1.0 else 0.0, if hasPath "Spring" "Lair" g then 1.0 else 0.0, if hasPath "Spring" "Orchard" g then 1.0 else 0.0, if hasPath