Hi,
Whenever I call this function, the returned set is empty, although the node has 5 parents.
According to the documentation, this function should return the list of node's indexing parents. IIUC, this means that the list should contain node's parents in the order they are used for setting the index/coordinate.
Cheers,
Nikola
GetIndexingParents
-
- Site Admin
- Posts: 1417
- Joined: Mon Nov 26, 2007 5:51 pm
Re: GetIndexingParents
Here's the definition of 'indexing parents' taken from http://genie.sis.pitt.edu/wiki/Brief_In ... e_Diagrams:
Finally, the list remark means that you need to use NumItems (not GetSize) when iterating over indexing parents.
Note that indexing parents are not determined until you call UpdateBeliefs (this also applies to other attributes in DSL_nodeValue-derived classes). They appear in GeNIe in at the "Value" page of node properties, as headers of the grid.Indexing Parents
The results for each node will be indexed by its indexing parents. These indexing parents are the decision nodes and informational predecessors of decision nodes that are d-connected to the given node. A node is d-connected if it is not d-separated
Finally, the list remark means that you need to use NumItems (not GetSize) when iterating over indexing parents.