## Namespace for kappalab

import("methods")
importFrom("lpSolve", "lp")
importFrom("quadprog", "solve.QP")

importClassesFrom("kernlab","ipop")
importMethodsFrom("kernlab", "ipop")

## Generics and functions defined in this package
export(
       "set.func",
       "game",
       "capacity",
       "card.set.func",
       "Mobius.card.set.func",
       "card.game",
       "card.capacity",
       "lower.capacity",
       "upper.capacity",
       "uniform.capacity",
       "Mobius.set.func",
       "Mobius.game",
       "Mobius.capacity",
       "additive.capacity",
       "entropy.capa.ident",
       "mini.var.capa.ident",
       "mini.dist.capa.ident",
       "lin.prog.capa.ident",
       "least.squares.capa.ident",
       "ls.sorting.capa.ident",
       "ls.sorting.treatment",
       "ls.ranking.capa.ident",
       "heuristic.ls.capa.ident"
       )

exportMethods(
              "as.set.func",
              "as.game",
              "as.capacity",
              "as.card.set.func",
              "as.card.game",
              "as.card.capacity",
              "as.Mobius.set.func",
              "as.Mobius.game",
              "as.Mobius.capacity",
              "as.Mobius.card.set.func",
              "Mobius",
              "zeta",
              "conjugate",
              "k.truncate.Mobius",
              "normalize",
              "Shapley.value",
              "interaction.indices",
              "show",
              "summary",
              "rnd",
              "is.cardinal",
              "is.monotone",
              "is.kadditive",
              "is.normalized",
              "Choquet.integral",
              "Sugeno.integral",
              "Sipos.integral",
              "cdf.Choquet.unif",
              "pdf.Choquet.unif",
              #"pdf.Choquet.exp",
              "expect.Choquet.unif",
              "sd.Choquet.unif",
              "expect.Choquet.norm",
              "sd.Choquet.norm",
              "veto",
              "favor",
              "orness",
              "variance",
              "entropy",
              "to.data.frame"            
              )

exportClasses(
              "superclass.set.func",
              "superclass.capacity",
              "set.func",
              "game",
              "capacity",
              "card.set.func",
              "Mobius.card.set.func",
              "card.game",
              "card.capacity",
              "Mobius.set.func",
              "Mobius.game",
              "Mobius.capacity",
              "summary.superclass.set.func",
              "summary.superclass.capacity"
              )

useDynLib("kappalab")
