euler-0.1.0.0

Safe HaskellSafe
LanguageHaskell2010

Euler.Util.FrontierSearch

Documentation

data Conf node value Source #

Constructors

Conf 

Fields

  • next :: node -> [node]

    When node n is visited, the nodes next n are added to the frontier. The new nodes must have a higher nodeValue than the node they came from.

  • nodeValue :: node -> value
     
  • start :: [node]
     

searchValues :: (Ord node, Ord value) => Conf node value -> [value] Source #

searchNodes :: (Ord node, Ord value) => Conf node value -> [node] Source #