useDynLib(BiTrinA, .registration = TRUE)

export(
    binarize.BASC,
    binarize.kMeans,
    binarizeMatrix,
    trinarizeMatrix,
    TASC,
    trinarize.kMeans
)

import(methods)

importFrom("graphics", "plot", "par", "axis", "legend")
importFrom("stats", "runif", "kmeans", "p.adjust")

importFrom(
    diptest,
    dip.test
)

exportClasses(
    BinarizationResult,
    BASCResult,
    TrinarizationResult,
    TASCResult
)

exportMethods(
    show,
    print,
    plot,
    plotStepFunctions
    #,
    #initialize
)
