Name:             battleship-combinatorics
Version:          0.0.1
License:          BSD3
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         https://hub.darcs.net/thielema/battleship-combinatorics/
Category:         Math
Synopsis:         Compute number of possible arrangements in the battleship game
Description:
  Compute number of possible arrangements in the battleship game
  with different methods.
  .
  <https://en.wikipedia.org/wiki/Battleship_(game)>
Tested-With:      GHC==7.4.2, GHC==7.8.4
Cabal-Version:    1.14
Build-Type:       Simple

Source-Repository this
  Tag:         0.0.1
  Type:        darcs
  Location:    https://hub.darcs.net/thielema/battleship-combinatorics/

Source-Repository head
  Type:        darcs
  Location:    https://hub.darcs.net/thielema/battleship-combinatorics/

Library
  Build-Depends:
    QuickCheck >=2.5 && <3.0,
    pooled-io >=0.0.2 && <0.1,
    combinatorial >=0.0 && <0.2,
    set-cover >=0.1 && <0.2,
    temporary >=1.1 && <1.4,
    directory >=1.1 && <1.4,
    filepath >=1.3 && <1.5,
    random >=1.0 && <1.3,
    storable-record >=0.0.3 && <0.1,
    storablevector >=0.2.11 && <0.3,
    containers >=0.4.2 && <0.7,
    deepseq >=1.3 && <1.5,
    non-empty >=0.2.1 && <0.4,
    semigroups >=0.1 && <1.0,
    transformers >=0.3 && <0.7,
    utility-ht >=0.0.8 && <0.1,
    prelude-compat >=0.0 && <0.0.1,
    base >=4.5 && <5

  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Default-Language: Haskell98
  Exposed-Modules:
    Combinatorics.Battleship
    Combinatorics.Battleship.Fleet
    Combinatorics.Battleship.Size
    Combinatorics.Battleship.Count.Counter
    Combinatorics.Battleship.Count.CountMap
    Combinatorics.Battleship.Count.Frontier
    Combinatorics.Battleship.Count.ShortenShip
    Combinatorics.Battleship.Count.ShortenShip.Distribution
    Combinatorics.Battleship.Count.Estimate
    Combinatorics.Battleship.SetCover
    Combinatorics.Battleship.Enumeration
  Other-Modules:
    Combinatorics.Battleship.Allocation
    -- experimental
    Combinatorics.Battleship.Count.DiagonalFrontier
    Combinatorics.Battleship.Count.InclusionExclusion
    Combinatorics.Battleship.Count.SquareBySquare
    Combinatorics.Battleship.Count.Cumulative

Executable battleship-combinatorics
  Build-Depends:
    battleship-combinatorics,
    containers,
    base
  Main-Is: main/Main.hs
  GHC-Options:      -Wall -rtsopts -threaded
  GHC-Prof-Options: -fprof-auto -rtsopts
  Default-Language: Haskell98

Test-Suite battleship-combinatorics-test
  Type: exitcode-stdio-1.0
  Build-Depends:
    battleship-combinatorics,
    QuickCheck,
    base
  Main-Is: test/Test.hs
  GHC-Options:      -Wall
  Default-Language: Haskell98