packages feed

mdp-0.1.1.0: mdp.cabal

-- Initial mdp.cabal generated by cabal init.  For further documentation, 
-- see http://haskell.org/cabal/users-guide/

name:                mdp
version:             0.1.1.0
synopsis:            Tools for solving Markov Decision Processes.
description:         
  A library for formulating and solving Markov decision problems.

  We currently only solve infinite horizon problems. We handle
  discounted and undiscounted problems, and can solve continuous- and
  discrete-time problems.

license:             MIT
license-file:        LICENSE
author:              Patrick Steele
maintainer:          prs233@cornell.edu
 copyright:          Copyright (c) 2015-2016 Patrick Steele
category:            Algorithms, Math
build-type:          Simple
cabal-version:       >=1.8

-- We have to help cabal sdist find imported test files
extra-source-files:
  testsuite/tests/Algorithms/MDP/Ex_3_1_Test.hs
  testsuite/tests/Algorithms/MDP/Ex_3_1_RelativeTest.hs
  testsuite/tests/Algorithms/MDP/Ex_3_2_Test.hs
  testsuite/tests/Algorithms/MDP/Ex_MM1_Test.hs

Library
  Build-Depends:       base       >= 4.8     && < 4.10
                     , containers >= 0.5.8.1 && < 0.6
                     , vector     >= 0.11    && < 0.12
  Exposed-modules:     Algorithms.MDP
                     , Algorithms.MDP.ValueIteration,
                       Algorithms.MDP.CTMDP
                     , Algorithms.MDP.Examples.Ex_3_1
                     , Algorithms.MDP.Examples.Ex_3_2
                     , Algorithms.MDP.Examples.MM1
                     , Algorithms.MDP.Examples
  ghc-options:         -Wall -fforce-recomp
  hs-source-dirs:      src

executable ex-3-1
  main-is:             run-ex-3-1.hs
  build-depends:       mdp
                     , base   >= 4.8  && < 4.10
                     , vector >= 0.11 && < 0.12
  hs-source-dirs:      src
  ghc-options:         -Wall

executable ex-3-1-relative
  main-is:             run-ex-3-1-relative.hs
  build-depends:       mdp
                     , base   >= 4.8  && < 4.10
                     , vector >= 0.11 && < 0.12
  hs-source-dirs:      src
  ghc-options:         -Wall

executable ex-3-2
  main-is:             run-ex-3-2.hs
  build-depends:       mdp
                     , base   >= 4.8  && < 4.10
                     , vector >= 0.11 && < 0.12
  hs-source-dirs:      src
  ghc-options:         -Wall

executable mm1
  main-is:             run-mm1.hs
  build-depends:       mdp
                     , base   >= 4.8  && < 4.10
                     , vector >= 0.11 && < 0.12
  hs-source-dirs:      src
  ghc-options:         -Wall

test-suite TestMain
  hs-source-dirs:     testsuite/tests/, src/
  main-is:            TestMain.hs
  type:               exitcode-stdio-1.0
  ghc-options:        -Wall
  build-depends:      mdp
                    , base       >= 4.8      && < 4.10
                    , vector     >= 0.11     && < 0.12
                    , HTF        >= 0.13.1.0 && < 0.14
                    , QuickCheck >= 2.8.1    && < 2.9
                    , HUnit      >= 1.5      && < 1.6

source-repository head
  type:     git
  location: https://github.com/prsteele/mdp.git