| NORSYS SOFTWARE © 2010 | NETICA API | C VERSION 4.18

int GetNetAutoUpdate_bn ( | const net_bn* net )

Returns BELIEF_UPDATE, or greater, if belief updating will be done automatically whenever some finding (positive, likelihood or value) is entered for a node in net, otherwise it returns 0. The returned value can later be passed to SetNetAutoUpdate_bn to restore the current condition.

SetNetAutoUpdate_bn also returns the value of auto-update (the value it had before it got changed).

Version:

This function is available in all versions.
In versions previous to 2.11, the documentation for this function only specified that a value greater than 0 was returned if auto belief updating was turned on (and in fact 1 was returned).

See also:

SetNetAutoUpdate_bn |  | Sets value, and returns old value

Example:

    See EnterFinding_bn for an example of saving and restoring auto-update.