packages feed

ShortestPathProblems-0.0.0.1: ShortestPathProblems.cabal

Name:           ShortestPathProblems
Version:        0.0.0.1
License:        BSD3
License-file:   LICENSE
Maintainer:     choener@bioinf.uni-leipzig.de
author:         Christian Hoener zu Siederdissen, 2016
copyright:      Christian Hoener zu Siederdissen, 2016
homepage:       https://github.com/choener/ShortestPathProblems
bug-reports:    https://github.com/choener/ShortestPathProblems/issues
Stability:      Experimental
Category:       Data
Build-type:     Simple
Cabal-version:  >=1.10.0
tested-with:    GHC == 7.10.3, GHC == 8.0.1
Synopsis:       grammars for TSP and SHP
Description:
                Grammars and default implementations for the shortest
                Hamiltonian path and Travelling Salesman problems.
                .



extra-source-files:
  README.md
  changelog.md



flag debug
  description:  Enable bounds checking and various other debug operations at the cost of a significant performance penalty.
  default:      False
  manual:       True

flag debugoutput
  description:  Enable debug output, which spams the screen full of index information
  default:      False
  manual:       True



Library
  Exposed-modules:
    -- here are just the grammars
    ShortestPath.SHP.Grammar.EdgeProb
    ShortestPath.SHP.Grammar.EdgeProbIO
    ShortestPath.SHP.Grammar.MinDist
    -- we also have implementations for when the scores are based on the edge alone
    ShortestPath.SHP.Edge.MinDist
    -- TODO implementations based on edgesets
    -- ShortestPath.SHP.EdgeSet
  build-depends: base             >= 4.7    &&  < 5.0
               , vector           >= 0.10
               , log-domain       >= 0.11
               , text             >= 1.0
               --
               , ADPfusion        == 0.5.2.*
               , ADPfusionSet     == 0.0.0.*
               , FormalGrammars   == 0.3.1.*
               , PrimitiveArray   == 0.8.0.*
  default-extensions: BangPatterns
                    , CPP
                    , FlexibleContexts
                    , MultiParamTypeClasses
                    , QuasiQuotes
                    , ScopedTypeVariables
                    , TemplateHaskell
                    , TypeFamilies
                    , TypeOperators
  default-language:
    Haskell2010
  ghc-options:
    -O2
    -funbox-strict-fields
  if flag(debug)
    cpp-options: -DADPFUSION_CHECKS
    ghc-options: -fno-ignore-asserts
  if flag(debugoutput)
    cpp-options: -DADPFUSION_DEBUGOUTPUT




test-suite properties
  type:
    exitcode-stdio-1.0
  main-is:
    properties.hs
  ghc-options:
    -O2 -threaded -rtsopts -with-rtsopts=-N
  hs-source-dirs:
    tests
  default-language:
    Haskell2010
  default-extensions: CPP
                    , TemplateHaskell
  build-depends: base
               , QuickCheck
               , tasty                >= 0.11
               , tasty-quickcheck     >= 0.8
               , tasty-th             >= 0.1
               , vector
               --
               , ShortestPathProblems



source-repository head
  type: git
  location: git://github.com/choener/ShortestPathProblems