packages feed

rp-tree-0.3: rp-tree.cabal

name:                rp-tree
version:             0.3
synopsis:            Random projection trees
description:         Random projection trees for approximate nearest neighbor search in high-dimensional vector spaces
homepage:            https://github.com/ocramz/rp-tree
license:             BSD3
license-file:        LICENSE
author:              Marco Zocca
maintainer:          ocramz
copyright:           2021 Marco Zocca
category:            Data Mining, Data Structures, Machine Learning, Data
build-type:          Simple
extra-source-files:  README.md
                     Changelog.md
cabal-version:       >=1.10
tested-with:         GHC == 8.10.4

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Data.RPTree
                       Data.RPTree.Internal.Testing
  other-modules:       Data.RPTree.Internal
                       Data.RPTree.Gen
                       Data.RPTree.Draw
                       Data.RPTree.Conduit
  build-depends:       base >= 4.7 && < 5
                     , boxes
                     , bytestring
                     , conduit >= 1.3.4.1
                     , containers >= 0.6.2.1
                     , deepseq >= 1.4.4.0
                     , exceptions
                     , microlens
                     , microlens-th
                     , mtl
                     -- , psqueues
                     , serialise >= 0.2.3.0
                     , splitmix >= 0.1.0.3
                     , splitmix-distributions >= 0.8
                     , transformers >= 0.5.6.2
                     -- , ulid
                     , vector >= 0.12.1.2
                     , vector-algorithms >= 0.8.0.4
                     -- -- -- DEBUG
                     -- , benchpress
                     -- , hspec
                     -- , mnist-idx-conduit
                     

test-suite spec
  default-language:    Haskell2010
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , rp-tree
                     , conduit
                     , hspec
                     , QuickCheck
                     , splitmix-distributions

benchmark bench-time
  default-language:    Haskell2010
  ghc-options:         -threaded -O2
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench/time
  main-is:             Main.hs
  build-depends:       base
                     , benchpress
                     , conduit
                     , deepseq >= 1.4.4.0
                     , exceptions
                     , mnist-idx-conduit
                     , mtl
                     , rp-tree
                     , splitmix >= 0.1.0.3
                     , splitmix-distributions
                     , transformers
                     , vector

executable rp-tree
  default-language:    Haskell2010
  ghc-options:         -threaded -O2
  hs-source-dirs:      app
  main-is:             Main.hs
  build-depends:       base
                     , conduit
                     , containers
                     , exceptions
                     , mnist-idx-conduit
                     , rp-tree
                     , splitmix
                     , splitmix-distributions
                     , transformers
                     , vector

source-repository head
  type:     git
  location: https://github.com/ocramz/rp-tree