Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sRGBBounded :: (Ord b, Floating b, Integral a, Bounded a) => a -> a -> a -> Colour bansi-terminal-game Terminal.Game Construct a colour from an sRGB specification. Input components are expected to be in the range [0..maxBound].
blockBounded :: Nat w => Size w -> Position -> T w -> T wbattleship-combinatorics Combinatorics.Battleship.Count.Frontier Inserts at positions outside of the bounds are ignored. You may overwrite Free or Blocked fields, but not Vertical ones.
countBounded :: Nat w => (Size w, Int) -> T -> Countbattleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.
countBoundedFleetsFromMap :: CountMap w -> Map T Integerbattleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.
countBoundedFleetsFromMap_ :: CountMap w -> Map T Integerbattleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.
countBoundedFromMap :: (C a, Storable a) => T -> T w a -> abattleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.
nextFrontierBounded :: Nat w => Size w -> T -> CountMap w -> CountMap wbattleship-combinatorics Combinatorics.Battleship.Count.ShortenShip Here we save memory and speed up the computation in the following way: We stop searching deeper if
- the fleet becomes larger than the requested fleet ("larger" means, that for at least one ship size the number of ships is larger than in the requested fleet)
- the cumulated fleet becomes larger than the cumulated requested fleet This is necessary, since we do not know the final length of the vertical ships at the frontier.
nextFrontierBoundedExternal :: Nat w => Size w -> T -> CountMapPath w -> CountMap w -> IO ()battleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.
-
battleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.
transitionFrontierBounded :: Nat w => Size w -> T -> T w -> T -> [(T w, T)]battleship-combinatorics Combinatorics.Battleship.Count.ShortenShip No documentation available.