# transport NAMESPACE file
#

# Import from standard packages
#
importFrom("grDevices", "grey", "hcl.colors", "heat.colors", "png", "dev.off")
importFrom("graphics", "arrows", "hist", "image", "lines", "matplot", "par", "plot",
             "points", "polygon", "segments", "title")
importFrom("methods", "is")
importFrom("stats", "aggregate", "dist", "na.omit", "optim", "rmultinom", "runif")


# Import from some non-standard packages
#
importFrom(Rcpp, evalCpp)
importFrom(data.table, rbindlist)


# Entry points into compiled code
useDynLib(transport, .registration = TRUE)


# The following list was generated by manual deletion of native symbols
# from cat(sort(getNamespaceExports("transport")), sep=",\n")
# Internal functions were commented out

#_transport_SolveHierarchicalTransport,
export(aha,
#aha_compute_transport,
#aha_dphi,
#aha_free,
#aha_get_transport,
#aha_init,
#aha_phi,
#aha_wasserstein,
all.equal.pgrid,
all.equal.pp,
all.equal.wpp,
#auction,
#auctionbf,
#cgal_present,
compatible,
compatible.pgrid,
compatible.pp,
compatible.wpp,
#cplex_present,
#create_diagram,
#compute_power_diagram,
#costp2,
#decompose_c,
dedegenerate,
#findblocks,
#fudge,
#get_power_diagram,
#gif.generate,
#image2,
#image3,
matimage,
northwestcorner,
#openmp_present,
pgrid,
plot_apollonius,
#plot_pgrid_wpp,
plot.pgrid,
plot.power_diagram,
plot.pp,
plot.wpp,
plot.ut_pgrid,
plot.ut_wpp,
power_diagram,
pp,
#primaldual,
#print.pgrid,
#print.pp,
#print.wpp,
#refinesol,
#refinesol2,
#res2matrix,
ret_message,
#revsimplex,
russell,
#scalestart,
semidiscrete,
#semidiscrete_p1,
semidiscrete1,
shielding,
#shortsimplex,
#SolveHierarchicalTransport,
subwasserstein,
#summary.pgrid,
#summary.pp,
#summary.wpp,
transport,
transport_apply,
transport_error,
transport_track,
transport.default,
transport.pgrid,
transport.pp,
transport.wpp,
trcontrol,
#triangulate,
unbalanced,
unbalanced.pgrid,
unbalanced.wpp,
wasserstein,
wasserstein1d,
wpp)



# Registering S3 methods
S3method("plot", "pgrid")
S3method("plot", "power_diagram")
S3method("plot", "pp")
S3method("plot", "wpp")
S3method("plot", "ut_pgrid")
S3method("plot", "ut_wpp")
S3method("print", "pgrid")
S3method("print", "pp")
S3method("print", "wpp")
S3method("summary", "pgrid")
S3method("summary", "pp")
S3method("summary", "wpp")
S3method("all.equal", "pgrid")
S3method("all.equal", "pp")
S3method("all.equal", "wpp")
S3method("compatible", "pgrid")
S3method("compatible", "pp")
S3method("compatible", "wpp")
S3method("transport", "pgrid")
S3method("transport", "pp")
S3method("transport", "wpp")
S3method("transport", "default")
S3method("unbalanced", "pgrid")
S3method("unbalanced", "wpp")
