packages feed

kmeans-par-1.3.0: kmeans-par.cabal

name:                kmeans-par
version:             1.3.0
synopsis:            Sequential and parallel implementations of Lloyd's algorithm.
license:             MIT
license-file:        LICENSE
author:              vi
maintainer:          me@vikramverma.com
category:            Algorithm
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:     Algorithms.Lloyd.Sequential,
                       Algorithms.Lloyd.Strategies
  other-modules:       Data.Functor.Extras
  other-extensions:    ViewPatterns 
  build-depends:       base == 4.*, vector, semigroups, parallel, split, metric
  hs-source-dirs:      src
  ghc-options:         -threaded -O2 -with-rtsopts=-N -rtsopts
  default-language:    Haskell2010

benchmark kmeans-benchmark
  type:             exitcode-stdio-1.0
  main-is:          Main.lhs
  hs-source-dirs:   benchmark
  build-depends:    base == 4.*, random, criterion, normaldistribution, kmeans-par, deepseq, vector, metric
  ghc-options:      -threaded -O2 -with-rtsopts=-N -rtsopts
  default-language: Haskell2010