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

int UndoNetLastOper_bn ( | net_bn* net, double to_when )

Undoes the last operation done to a Bayes net (or any node in it), leaving the net in the same state as it was before the operation was done.

It may be called repeatedly to undo multiple operations.

Returns 0 or greater if it succeeded, otherwise negative. The most common reason for failing is that there were no (more) operations to undo.

Pass -1 for to_when; it is only for future expansion.

Version:

Versions 3.22 and later have this function.

See also:

RedoNetOper_bn |  | Re-does the operation just undone