opam-version: "2.0"
maintainer: "Valentin Reis <fre@freux.fr>"
authors: ["Valentin Reis <fre@freux.fr>"]
homepage: "http://freux.fr/oss/obandit.html"
doc: "http://freux.fr/oss/obandit/documentation/index.html"
license: "ISC"
dev-repo: "git+https://github.com/freuk/obandit.git"
bug-reports: "https://github.com/freuk/obandit/issues"
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "topkg" {build}
  "cmdliner"
  "batteries"
]
build: [
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%"]
  ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
    {with-test}
  ["ocaml" "pkg/pkg.ml" "test"] {with-test}
]
synopsis: "Ocaml Multi-Armed Bandits"
description: """
![release](https://img.shields.io/github/release/freuk/obandit.svg)
![downloads](https://img.shields.io/github/downloads/freuk/obandit/latest/total.svg)
![web](https://img.shields.io/website-up-down-green-red/http/freux.fr.svg)

Obandit is an OCaml module for basic multi-armed bandits. It supports the
EXP3, UCB1 and Epsilon-greedy algorithms.

Obandit is distributed under the ISC license."""
url {
  src:
    "https://github.com/freuk/obandit/releases/download/v0.3.4/obandit-0.3.4.tbz"
  checksum: "md5=f5aa2c86eb25d4fad308d3de0dbc9288"
}
