packages feed

hbayes-0.5: 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.5

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

-- A longer description of the package.
Description:  Algorithms for Bayesian Networks.  
 It is a very preliminary version. It has only been tested on very simple
 examples where it worked. It should be considered as experimental and not used
 in any production work.

-- 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 

Stability: experimental      

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.Factor.CPT
    Bayes.Factor.MaxCPT
    Bayes.ImportExport.HuginNet
    Bayes.VariableElimination
    Bayes.FactorElimination
    Bayes.Test
    Bayes.Test.CompareEliminations
    Bayes.Examples
    Bayes.Examples.Tutorial
    Bayes.Test.ReferencePatterns
    Bayes.Test.InfluencePatterns
    Bayes.ImportExport
    Bayes.BayesianNetwork
    Bayes.InfluenceDiagram
    Bayes.VariableElimination.Buckets
    Bayes.Examples.Influence
    Bayes.Sampling
    Bayes.Examples.Sampling
    Bayes.EM
    Bayes.Examples.EMTest
    Bayes.Continuous
    Bayes.Examples.ContinuousSampling
  other-modules:
    Paths_hbayes
    Bayes.ImportExport.HuginNet.Splitting
    Bayes.PrivateTypes
    Bayes.FactorElimination.JTree
    Bayes.Tools
    Bayes.Factor.PrivateCPT
    Bayes.Network

  GHC-Options: -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,
    binary >= 0.5,
    test-framework-quickcheck2,
    test-framework,
    test-framework-hunit,
    HUnit,
    mwc-random >= 0.12,
    statistics >= 0.10.1,
    gamma >= 0.9