# Load the shared object
useDynLib(tgp)

# Exports
export(blm, btlm, bcart, bgp, bgpllm, btgp, btgpllm,
       default.itemps, dopt.gp, exp2d.Z, exp2d.rand,
       friedman.1.data, fried.bool, interp.loess, 
       itemps.barplot, hist2bar, lhs, mapT, optim.step.tgp,
       optim.ptgpf, partition, sens, tgp.default.params,
       tgp.design, tgp.trees, mean0.range1)

# Import all packages listed as Imports or Depends
importFrom(maptree, draw.tree)

# S3
S3method(print, tgp)
S3method(plot, tgp)
S3method(predict, tgp)
S3method(print, tgptraces)
