set-cover-0.1: Solve exact set cover problems like Sudoku, 8 Queens, Soma Cube, Tetris Cube
Math.SetCover.BitPosition
class C bits => C bits Source #
Minimal complete definition
bit, bitPositionPlain, unpack
Defined in Math.SetCover.BitPosition
Methods
bit :: Int -> Integer
bitPositionPlain :: Integer -> Int
unpack :: Set Integer -> [Int] Source #
bit :: Int -> Word8
bitPositionPlain :: Word8 -> Int
unpack :: Set Word8 -> [Int] Source #
bit :: Int -> Word16
bitPositionPlain :: Word16 -> Int
unpack :: Set Word16 -> [Int] Source #
bit :: Int -> Word32
bitPositionPlain :: Word32 -> Int
unpack :: Set Word32 -> [Int] Source #
bit :: Int -> Word64
bitPositionPlain :: Word64 -> Int
unpack :: Set Word64 -> [Int] Source #
bit :: Int -> IntSet
bitPositionPlain :: IntSet -> Int
unpack :: Set IntSet -> [Int] Source #
bit :: Int -> Sum a b
bitPositionPlain :: Sum a b -> Int
unpack :: Set (Sum a b) -> [Int] Source #
class C bits => Sized bits Source #
size
size :: Size Word8
size :: Size Word16
size :: Size Word32
size :: Size Word64
unpack :: C bits => Set bits -> [Int] Source #
singleton :: C bits => Int -> Set bits Source #
bitPosition :: C bits => Set bits -> Int Source #