Download Netica API C Version - Norsys Software Corp.

Transcript
200
NETICA API
C VERSION 4.18
Set Net Elim Order_bn
void SetNetElimOrder_bn (net_bn* net, const nodelist_bn* elim_order)
Associates the list of nodes elim_order with net to be used as its "elimination order" the next time net is
compiled.
elim_order must include all the nodes of net without any duplication (except it should not include any nodes
whose kind is UTILITY_NODE or CONSTANT_NODE). Alternately, elim_order can be NULL, in which case
any elimination order currently associated with net will be removed.
The elimination order guides the process of triangulation during the compilation of net, and can effect both the time
and memory efficiency of belief updating considerably.
If no elimination order is supplied, Netica finds one automatically as the first step of compiling. When a net is
written to file, the elimination order is included. Whenever the structure of a net changes, Netica removes the
existing elimination order.
Calling this function has no effect on the current compilation; it only takes action during the next compilation. It
doesn't matter if the net is compiled or not when this function is called.
Netica will make a copy of elim_order; it won't modify or free the passed list.
Version:
This function is available in all versions.
See also:
GetNetElimOrder_bn
CompileNet_bn
AddNodeToList_bn
SizeCompiledNet_bn
ReportJunctionTree_bn
Retrieves the elimination order currently being used
Do or redo the compilation to use the new elimination order
Can use with NewNodeList2_bn to build the list
See how good the current ordering is
Analyze the effect of the current order
Set Net Name_bn
void SetNetName_bn (net_bn* net, const char* name)
Changes the name of net to be name.
name must be a legal IDname (see IDname in the index), which means it must have NAME_MAX_ns (30) or fewer
characters, all of which are letters, digits or underscores, and it must start with a letter.
Netica will make a copy of name; it won't modify or free the passed string.
Version:
This function is available in all versions.
See also:
GetNetName_bn
SetNetTitle_bn
NewNet_bn
Retrieves value
Doesn't have the restriction of an IDname
Gives the net its original name