📄 art_doc.txt
字号:
Syntax:
int GetArtWinner(netPTR net, int component)
-------------------------------------------------------------------------
GetBaseVigil
Given a pointer to an ArtMap network, and a pointer to a
float, sets the float pointer value to the base vigilence
level of the ArtA netowrk.
Arguments:
net - A pointer to an initialized network of type netTYPE
vigil - A pointer to float
Return Values:
0 - When successful:
1 - Network not initialized or NULL
2 - Network not of type ARTMAP
Syntax:
int GetBaseVigil(netPTR net, float *vigil)
-------------------------------------------------------------------------
GetMap
Given a pointer to a network of type ARTMAP, and a pointer
to a list of floats, set the values in the list to the
current mapfield activations.
Arguments:
net - A pointer to an initialized network of type netTYPE
list - A pointer to a list of floats of size GetMapSize
Return Values:
0 - When successful:
1 - Network not initialized of NULL
2 - Network not of type ARTMAP
Syntax:
int GetMap(netPTR net, float *list)
-------------------------------------------------------------------------
GetMapMismatch
Given a pointer to a network of type ARTMAP, returns the
number of mapfield mismatches during the last training
epoch.
Arguments:
net - A pointer to an initialized network of type netTYPE
Return Value:
When successful:
The number of MapField Resets
When network is not of type ARTMAP, uninitialized or NULL
-1
Syntax:
int GetMapMismatch(netPTR net)
-------------------------------------------------------------------------
GetMapSize
Given a pointer to a network of type ARTMAP, returns the
current number of mapfield nodes.
Arguments:
net - A pointer to an initialized network of type netTYPE
Return Values:
When successful:
The number of MapField Nodes
When network is not of type ARTMAP, uninitialized or NULL
-1
Syntax:
int GetMapSize(netPTR net)
-------------------------------------------------------------------------
GetMapVigil
Given a pointer to an ArtMap network, and a pointer to a
float, sets the value of the pointer to the vigilence level of the
mapfield.
Arguments:
net - A pointer to an initialized network of type netTYPE
vigil - A pointer to a float
Return Values:
0 - When successful
1 - When network NULL or not initialized
2 - When netowrk not of type ARTMAP
Syntax:
int GetMapVigil(netPTR net, float *vigil)
-------------------------------------------------------------------------
GetNetDone
Given a pointer to a network, returns the status of network
training.
Arguments:
net - A pointer to an initialized network of type netTYPE
Return Value:
TRUE - If the last training session has been completed
FALSE - If the last training sessions was incomplete
-1 - When the network not initialized or NULL
Syntax:
int GetNetDone(netPTR net)
--------------------------------------------------------------------------
GetNetInit
Given a pointer to a network, returns its initialization state.
Arguments:
net - A pointer to an initialized netowrk of type netTYPE
Return Value:
TRUE - If initialized
FALSE - If not initialized or NULL
Syntax:
int GetNetInit(netPTR net)
--------------------------------------------------------------------------
GetNetInSize
Given a pointer to a network, returns the size of network
input nodes.
Arguments:
net - A pointer to an initialized network of type netTYPE
Return Value:
When successful:
The number of network inputs
When the network is not initialized or NULL
-1
Syntax:
int GetNetInSize(netPTR net)
--------------------------------------------------------------------------
GetNetOutSize
Given a pointer to a network, returns the size of network
output nodes.
Arguments:
net - A pointer to an initialized network of type netTYPE
Return Value:
When successful:
The number of network outputs
When the network is not initialized or NULL
-1
Syntax:
int GetNetOutSize(netPTR net)
--------------------------------------------------------------------------
GetNetType
Given a pointer to a network, returns the network type.
Arguments:
net - A pointer to an initialized network of type netTYPE
Return Value:
ART - When the network is of type ART
ARTMAP - When the network is of type ARTMAP
-1 - When the network has not been initialized or NULL
Syntax:
int GetNetType(netPTR net)
-------------------------------------------------------------------------
GetNumPatterns
Given a pointer to a pattern set, returns the number of
patterns in the set.
Arguments:
set - A pointer to a set of patterns of type setTYPE
Return Value:
When successful:
The number of patterns in the set
When the set is not initialized or NULL
-1
Syntax:
int GetNumPatterns(setPTR set)
-------------------------------------------------------------------------
GetSetInit
Given a pointer to a pattern set, returns its initialization state.
Arguments:
set - A pointer to a set of patterns of type setTYPE
Return Value:
TRUE - If initialized
FALSE - If not initialized or NULL
Syntax:
int GetSetInit(setPTR set)
--------------------------------------------------------------------------
GetSetInput
Given a pointer to a pattern set, a pattern number, and a
pointer to a list of floats of size GetSetInSize, sets the
values of the list to the inputs of the given pattern.
Arguments:
set - A pointer to a set of patterns of type setTYPE
pat_num - A pattern number (integer)
list - A pointer to a list of floats of size GetSetInSize
Return Values:
0 - When successful:
1 - Set not initialized or NULL
2 - Pattern number out of bounds
Syntax:
int GetSetInput(setPTR set, int pat_num, float *list)
-------------------------------------------------------------------------
GetSetInSize
Given a pointer to a pattern set, returns the size of the
inputs patterns of the set.
Arguments:
set - A pointer to a set of patterns of type setTYPE
Return Value:
When successful:
The number of inputs
When set has not been initialized or NULL
-1
Syntax:
int GetSetInSize(setPTR set)
-------------------------------------------------------------------------
GetSetInType
Given a pointer to a pattern set, returns the type of input
patterns in the set.
Arguments:
set - A pointer to a set of patterns of type setTYPE
Return Value:
BINARY - When the input is binary
ANALOG - When the input is analog
-1 - When the set was not initialized or NULL
Syntax:
int GetSetInType(setPTR set)
-------------------------------------------------------------------------
GetSetOutput
Given a pointer to a pattern set, a pattern number, and a
pointer to a list of floats of size GetSetOutSize, sets the
values of the list to the outputs of the given pattern.
Arguments:
set - A pointer to a set of patterns of type setTYPE
pat_numb - A pattern number (integer)
list - A pointer to a list of floats of size GetSetOutSize
Return Values:
0 - When successful:
1 - Pattern set uninitialized or NULL
2 - Pattern number out of bounds
Syntax:
int GetSetOutput(setPTR set, int pat_num, float *list)
-------------------------------------------------------------------------
GetSetOutSize
Given a pointer to a pattern set, returns the size of the
outputs patterns of the set.
Arguments:
set - A pointer to a set of patterns of type setTYPE
Return Value:
When successful:
The size of outputs in the set
When the set is not initialized or NULL
-1
Syntax:
int GetSetOutSize(setPTR set)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -