Returns the list of numbers used to enable a continuous node to act discrete, or enables a discrete node to provide real-valued numbers. Levels are used to discretize continuous nodes, or to map from discrete nodes to real numbers. See SetNodeLevels_bn for a full description of the level numbers (they are 'level_bn's, which are 'double's).

Returns NULL if node does not have a levels list.

If you need the results to persist, make a copy of the vector returned, since its contents may become invalid after further calls to Netica API. Do not try to directly modify or free the vector returned.

Since the usage of levels is a little different for each type of node, each is discussed separately:

The length of the list returned is one more than the number of states of node. The node is discretized into states, and the list returned has the thresholds (monotonically increasing or decreasing). Each range is from levels[state] to levels[state+1]., where levels is the list returned. Normally each interval includes its lower endpoint, but not its upper.