packages feed

clustering-0.1.0: clustering.cabal

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

name:                clustering
version:             0.1.0
synopsis:            fast clustering algorithms
description:         O(N^2) implementations for a wide range of hierarchical
                     clustering schemes, including complete linkage, single linkage,
                     average linkage, weighted linkage, and Ward's method.
license:             MIT
license-file:        LICENSE
author:              Kai Zhang
maintainer:          kai@kzhang.org
copyright:           (c) 2015 Kai Zhang
category:            Math
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

library
  exposed-modules:     
    AI.Clustering.Hierarchical
    AI.Clustering.Hierarchical.Types

  other-modules:       
    AI.Clustering.Hierarchical.Internal

  build-depends:
      base >=4.0 && <5.0
    , vector
    , containers

  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: test.hs
  other-modules:
    Test.Hierarchical

  default-language:    Haskell2010
  build-depends: 
      base
    , mwc-random
    , vector
    , tasty
    , tasty-hunit
    , clustering
    , hierarchical-clustering

benchmark bench
  type: exitcode-stdio-1.0
  hs-source-dirs: benchmarks
  main-is: bench.hs

  default-language:    Haskell2010
  build-depends: 
      base
    , criterion
    , mwc-random
    , vector
    , clustering
    , hierarchical-clustering

source-repository  head
  type: git
  location: https://github.com/kaizhang/clustering.git