Ordering States

Right-click on a node (or if you want to do several, select them and then right-click on one of them), then choose from the menu Modify Order States By Name, if you want them in alphabetical order.

If you want them in some other order, choose Modify Order States Standard Order.  To define what standard order is, edit the text file "State Order.txt".  It is located in the same directory as Netica.exe, which can be discovered by choosing  Help About Netica, and then looking in the Messages window.  You can use any text editor, such as NotePad, or you can choose from the Netica menu  File Open As Text.

In the file, the state names or titles appear one-per-line, in the order you would like them to have in the node.  Viewing the existing file will make it clear.

If you want to have a different  "State Order.txt" file for some particular set of Bayes nets, then you can put one in the same folder as those Bayes nets, and Netica will look for it there first.

When re-ordering the states, Netica will first try to match the state title against the entry in the "State Order" file, and if not found, then the state name.  If some entries in the "State Order" file differ only by upper/lower case of some characters, Netica will properly consider the case while ordering (i.e. case sensitive).  However if there is no exact match by case, but the file contains an entry that is all lower case, then Netica will do a case-insensitive match.  For that reason entries in the "State Order" file often all appear in all lower case.

If you change the "State Order" file, you need to re-open any Bayes nets for which you were ordering states for the new file to take effect.