packages feed

hbayes-0.2: hbayes.cabal

-- hbayes.cabal auto-generated by cabal init. For additional options,
-- see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                hbayes

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.2

-- A short (one-line) description of the package.
Synopsis:            Inference with Discrete Bayesian Networks

-- A longer description of the package.
Description:  Algorithms for inference with Discrete Bayesian Networks.  
 It is a very preliminary version. It has only been tested on very simple
 examples where it worked. This 0.2 version is using new faster and cleaner algorithms.

-- URL for the project homepage or repository.
Homepage:            http://www.alpheccar.org

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              alpheccar

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          misc@alpheccar.org

-- A copyright notice.
Copyright: Copyright (c) 2012, alpheccar       

Category:            Math

Build-type:          Simple
tested-with: GHC==7.4.1 

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.8

data-files: cancer.net

Flag local {
  Description: Enable local tests by the author. They can only be run with some test patterns not distributed with this package.
  Default:     False
}

Flag profile {
  Description: Build profiling version of the library too.
  Default:     False
}

Library
  -- Modules exported by the library.
  Exposed-modules:
    Bayes
    Bayes.Factor
    Bayes.ImportExport.HuginNet
    Bayes.VariableElimination
    Bayes.FactorElimination
    Bayes.Test
    Bayes.Test.CompareEliminations
    Bayes.Examples
    Bayes.Examples.Tutorial
    Bayes.Test.ReferencePatterns
  other-modules:
    Paths_hbayes
    Bayes.ImportExport.HuginNet.Splitting
    Bayes.PrivateTypes
    Bayes.FactorElimination.JTree

  GHC-Options: -O2 -funbox-strict-fields
  Extensions: CPP
  if flag(local)
    cpp-options: -DLOCAL
  if flag(profile)
    ghc-options: -auto-all

  
  -- Packages needed in order to build this package.
  Build-depends:       
    base < 5,
    mtl == 2.0.1.0,
    containers == 0.4.2.1,
    array == 0.4.0.0,
    QuickCheck == 2.4.2,
    pretty == 1.1.1.0,
    boxes,
    vector,
    random,
    split,
    parsec,
    filepath,
    directory,
    test-framework-quickcheck2,
    test-framework,
    test-framework-hunit,
    HUnit