Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
assignsShip :: [ShipSize] -> (Int, Int) -> [AssignShip] Source #
assignsSquare :: (Int, Int) -> [Assign (Maybe ShipSize, Map (Int, Int) Bool) (Set (Int, Int))] Source #
assigns :: [ShipSize] -> (Int, Int) -> [Assign (Maybe ShipSize, Map (Int, Int) Bool) (Set (Int, Int))] Source #
standardBoardSize :: (Int, Int) Source #
standardFleetList :: [(ShipSize, NumberOfShips)] Source #
enumerateFirst :: IO () Source #
enumerateMixed :: IO () Source #
enumerateGen :: Monad m => ([AssignShipBitSet] -> m AssignShipBitSet) -> (Int, Int) -> [(ShipSize, Int)] -> m (Map (Int, Int) Bool) Source #
enumerateShip :: IO () Source #
enumerateRandom :: IO () Source #
estimateDistribution :: IO () Source #
exactDistribution :: IO () Source #