

export("addarrow",
       "addarrows",
       "addrandomarrow",
       "as.network",
       "autosearch",
       "banlist",
       "banlist<-",              
       "cond.node",
       "conditional",           
       "conditional.cont",
       "conditional.disc",      
       "cycletest",
       "deleterandomarrow",
       "drawnetwork",           
       "elementin",             
       "findex",
       "findleaf",              
       "genlatex",              
       "genpicfile",
       "getnetwork",            
       "gettable",
       "gettrylist",            
       "heuristic",
       "insert",                
       "inspectprob",
       "jointcont",             
       "jointdisc",
       "jointprior",            
       "learn",
       "learnnode",             
       "localmaster",
       "localposterior",        
       "localprior",
       "localprob",             
       "localprob<-",
       "makenw",                
       "makesimprob",
       "maketrylist",           
       "modelstring",           
       "network",               
       "networkfamily",
       "node",
       "nodes",                 
       "nodes<-",
       "numbermixed",           
       "nwequal",
       "nwfsort",               
       "perturb",
       "plot.network",          
       "plot.networkfamily",
       "plot.node",             
       "post",
       "post0",                 
       "postc",
       "postc0c",               
       "postcc",
       "postdist",              
       "postdist.node",
       "print.network",
       "print.networkfamily",   
       "print.node",
       "printline",             
       "prob",
       "prob.network",          
       "prob.node",
       "readnet",               
       "removearrow",           
       "remover",
       "rnetwork",              
       "savenet",
       "score",                 
       "score.network",
       "score.node",            
       "size",
       "turnarrow",
       "turnrandomarrow",       
       "udisclik",
       "unique.networkfamily")   

useDynLib(deal)

importFrom("grDevices", "dev.off", "pictex")
importFrom("graphics", "arrows", "identify", "locator", "par", "plot",
           "points", "symbols", "text", "title")
importFrom("stats", "coef", "lsfit", "mahalanobis", "resid", "rgamma",
           "rnorm", "runif", "var")
importFrom("utils", "write.table")

S3method(plot,network)
S3method(plot,networkfamily)
S3method(plot,node)
S3method(print,network)
S3method(print,networkfamily)
S3method(print,node)
S3method(prob,network)
S3method(prob,node)
S3method(score,node)
S3method(score,network)
S3method(unique,networkfamily)


#export(       "newCoCoTestObject",
#              "label", "width",
#              "testEdge", "subModifyModel", "modifyModel", "dynamic.Graph")
#exportClasses("CoCoTestClass")
#exportMethods("label", "width",
#              "testEdge", "subModifyModel", "modifyModel", "dynamic.Graph",
#              "setGraphComponents", "graphComponents", "vertexEdges")

#import(methods)
#import(dynamicGraph)

#S3method(terms,hllm)
#S3method(terms,hllmloglm)

#S3method(deviance,hllm)
#S3method(deviance,hllmloglm)

#S3method(extractAIC,hllm)
#S3method(extractAIC,hllmloglm)
#S3method(resid,hllmloglm)
#S3method(fitted,hllmloglm)

#export(#".Load.gRbase", 
       #".Load.gRbase.hllm",
       #".Load.gRbase.hllmfit",
       #".Load.gRbase.hllmodify",
       #".Load.dynamicgraph",
       #".Load.gRbase.general",
#       "LabelAllEdges",
#       "dynamic.gR.Graph",
#       "gREdges",
#       "gRVariableDescription",
#       "UserMenus",
#       "all.subsets",
#       "selectOrder",
#       "extract.power",
#       "process.formula",
#       "subsetof",
#       "showg",
#       "readg",
#       "showf",
#       "readf",
#       "varset",
#       "in.list",
#       "is.cont",
#       "contains",
#       "remove.redundant",
#       "dual.rep",
#       "delete.edge",
#       "add.edge",
#       "is.graphical",
#       "validVarTypes"
#       )


#exportClasses("gmData",
#              "dataOrNULL",
#              "gModel",
#              "hllm",
#              "hllmTestClass",
#              "hllmengine",
#              "hllmloglin",
#              "hllmloglm"
#              )

              
#exportMethods("description",
#              "description<-",
#              "varTypes",
#              "varTypes<-",
#              "varNames",
#              "varNames<-",
#              "numberLevels",
#              "numberLevels<-",
#              "latent",
 #             "latent<-",
 #             "valueLabels",
 #             "valueLabels<-",
 #             "observations",
 #             "observations<-",
 #             "Formula",
 #             "Formula<-",
 #             "dropEdge",
 #             "addEdge",
 #             "dropVertex",
 #             "addVertex",
 #             "getFit",
 #             "summary",
 #             "fit",
 #             "modifyModel",
 #             "testEdge",
 #             "label",
 #             "width",
 #             "dynamic.Graph",
 #             "initialize",
 #             "coerce",
 #             "gmData"
 #             )

