-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathNAMESPACE
146 lines (130 loc) · 4.67 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
import(methods)
import(utils)
importFrom("utils","getFromNamespace")
importFrom("grDevices", "col2rgb")
importFrom("stats", "runif","pnorm","punif")
importFrom("R.utils","tempvar")
importFrom("CPTtools","is.CPA","as.CPA","is.CPF","as.CPF", "normalize",
"fcKappa","gkLambda")
## importFrom("futile.logger","flog.fatal","flog.error","flog.warn",
## "flog.info","flog.debug","flog.trace")
export(NeticaSession, NeticaCondition, flogErrors)
exportClasses(NeticaSession)
exportMethods(is.active,startSession,stopSession)
S3method(print,NeticaCondition)
export(StartNetica, StopNetica, NeticaVersion,
ReportErrors, ClearAllErrors,
logErrors, flogErrors, printErrors,
getDefaultSession,startSession,stopSession,
CreateNetwork, DeleteNetwork,
is.active, is.IDname, as.IDname, is.NeticaBN,
GetNthNetwork, GetNamedNetworks, CheckNamedNetworks,
CopyNetworks)
exportClasses(NeticaBN)
exportMethods(print,Compare,toString,as.character,is.element)
export(WriteNetworks, ReadNetworks,
GetNetworkFileName,
NetworkName, "NetworkName<-",
NetworkTitle, "NetworkTitle<-",
NetworkComment, "NetworkComment<-",
GetNetworkAutoUpdate, SetNetworkAutoUpdate, WithoutAutoUpdate,
NetworkUserField, "NetworkUserField<-",
NetworkUserObj, "NetworkUserObj<-",
NetworkAllUserFields, NetworkSession,
dputToString, dgetFromString
# NetworkUndo, NetworkRedo # These don't do anything sensible.
)
exportClasses(NeticaNode)
export(
NewDiscreteNode, NewContinuousNode, DeleteNodes,
CopyNodes,
NodeNet, NodeName, "NodeName<-",
is.NeticaNode,
is.discrete, is.continuous,
NetworkAllNodes, NetworkFindNode,
NodeTitle, "NodeTitle<-",
NodeDescription, "NodeDescription<-",
NodeUserField, "NodeUserField<-", NodeAllUserFields,
NodeUserObj, "NodeUserObj<-",
NodeKind, "NodeKind<-",
NodeVisStyle, "NodeVisStyle<-",
NodeVisPos, "NodeVisPos<-"
)
export(
NodeStates, NodeNumStates, "NodeStates<-",
NodeStateTitles, "NodeStateTitles<-",
NodeStateComments, "NodeStateComments<-",
NodeLevels, "NodeLevels<-", ParentStates, ParentNames
)
S3method(str,NeticaNode)
exportClasses(CliqueNode)
exportMethods("[","[[","[<-","[[<-")
export(
AddLink, DeleteLink, ReverseLink,
NodeParents, "NodeParents<-", NodeChildren,
AbsorbNodes, MakeCliqueNode, is.CliqueNode,
GetClique,
is.NodeRelated, GetRelatedNodes,
NodeInputNames, "NodeInputNames<-",
AdjoinNetwork, NetworkFootprint
)
export(
NodeProbs, "NodeProbs<-", EVERY_STATE,
IsNodeDeterministic, HasNodeTable,
DeleteNodeTable
)
export(
CompileNetwork, UncompileNetwork, is.NetworkCompiled,
EliminationOrder, "EliminationOrder<-",
NetworkCompiledSize, JunctionTreeReport,
NodeFinding, "NodeFinding<-", EnterNegativeFinding,
RetractNetFindings, RetractNodeFinding, EnterFindings,
NodeBeliefs, IsBeliefUpdated, NodeMode,
NodeLikelihood, "NodeLikelihood<-",
JointProbability, FindingsProbability, MostProbableConfig
)
export (
NodeSets, "NodeSets<-",
AddNodeToSets, RemoveNodeFromSets,
NetworkNodeSets, NetworkSetPriority,
NetworkNodesInSet, "NetworkNodesInSet<-",
NetworkNodeSetColor
)
exportClasses(CaseStream,FileCaseStream,MemoryCaseStream)
export(CaseFileDelimiter,CaseFileMissingCode,
OpenCaseStream, CloseCaseStream,
WithOpenCaseStream,
is.NeticaCaseStream, isCaseStreamOpen,
CaseMemoryStream, CaseFileStream,
is.MemoryCaseStream, is.CaseFileStream,
getCaseStreamPath,getCaseStreamLastId,
getCaseStreamPos,getCaseStreamLastFreq,
getCaseStreamDataFrameName,
MemoryStreamContents,"MemoryStreamContents<-",
read.CaseFile,write.CaseFile,orderVars,
WriteFindings,ReadFindings,
NodeExperience, "NodeExperience<-",
FadeCPT, LearnFindings,
LearnCases, LearnCPTs
)
export(NodeValue, "NodeValue<-",
EnterGaussianFinding, EnterIntervalFinding,
NodeExpectedValue, NodeExpectedUtils,
CalcNodeState, CalcNodeValue,
MutualInfo, VarianceOfReal,
NodeEquation, "NodeEquation<-",EquationToTable,
woe, ewoe
)
exportClasses(NeticaRNG)
export(GenerateRandomCase, NetworkSetRNG, WithRNG, isNeticaRNGActive,
is.NeticaRNG, FreeNeticaRNG, NewNeticaRNG)
exportClasses(NetworkTester)
export(testerNet, testerTarget, testerIgnore,
testerErrorRate, testerLogLoss, testerQuadraticLoss,
testerConfusion, testerKappa, testerLambda,
testNetwork)
S3method(summary,NetworkTester)
export(SetupDefaultSession,local_create_nets,local_load_nets,
local_copy_nets,local_RNetica_net)
## Now called from .onLoad so we can explicitly load it.
##useDynLib(RNetica)