module ApproxBayes

using Distributions
using ProgressMeter
using StatsBase
using Compat
using DataFrames
using Colors
using Plots
#using PyPlot
using Distances

import Base.show

export
  # types
  ABCtype,
  Prior,
  Particle,
  abctype,
  ParticleRejection,
  SimData,
  ABCRejection,
  ABCSMC,
  ABCRejectionModel,
  ABCSMCModel,

  #functions
  ksdist,
  runabc,
  plotresults,
  plotparameterposterior,
  plotmodelposterior,
  writeoutput

### source files
include("types.jl")
include("ABCalgorithm.jl")
include("sampling.jl")
include("util.jl")
include("plots.jl")

end
