useDynLib(VLMC,
	  draw_p, vlmc_p, vlmc_sim, predict_vlmc_p,
	  getvlmc, vlmc_entropy, vlmc_entropy2)
## TODO:  .registration = TRUE

importFrom('stats', as.dendrogram, simulate)
importFrom('utils', str, packageDescription)
importFrom('MASS', rational, fractions)

export ("alpha2int", "alphabet", "alphabet.vlmc", "char2int"
	, "draw"
	, "entropy", "entropy2"
	, "id2ctxt", "int2alpha", "int2char", "is.vlmc"
	, "prt.vvec"
	, "RCplot"
	, "simulate.vlmc"
	, "vlmc", "vlmctree"
	, "vlmc.version"
	)

S3method(alphabet, vlmc)
S3method(as.dendrogram, vlmc)
S3method(deviance, vlmc)
S3method(draw, vlmc)
S3method(fitted, vlmc)
S3method(predict, vlmc)
S3method(simulate, vlmc)
S3method(summary, vlmc)
S3method(residuals, vlmc)
S3method(logLik, vlmc)
##> have advertized simulate.vlmc() for years; *deprecation* in Oct.2014
##> S3method(simulate, vlmc)
S3method(str, vtree)# <- vlmctree()

S3method(print, vlmc)
S3method(print, predict.vlmc)
S3method(print, summary.vlmc)
S3method(print, simulate.vlmc)


