bool_ns HasNodeTable_bn ( const node_bn*  node,   bool_ns*  complete )

Returns TRUE if node has a function table or a CPT table, otherwise FALSE.

It ignores experience tables.

If complete is non-NULL, it is set to indicate whether node has a complete table (i.e., none of the entries are undefined).


In version 2.06 and earlier, this function was named HasRelation_bn (but it didn't have the complete parameter).

See also:

SetNodeProbs_bn    Create a probabilistic table (CPT)
SetNodeFuncState_bn    Create a function table for a discrete node
SetNodeFuncReal_bn    Create a function table for a continuous node
DeleteNodeTables_bn    Remove all the tables of a node