After learning the network structure (with PC as well as with GTT) I wanted to do something with the prob. matrix. When I do the following:
Code: Select all
DSL_Dmatrix * probMatrix = n.GetNode(n.FindNode("A"))->Definition()->GetMatrix();
DSL_intArray dimensions = probMatrix->GetDimensions();
cout << "Dimensions are";
for(int i = 0; i < dimensions.NumItems(); i++) cout << dimensions[i] << " ";
I used to following data to test this:
Code: Select all
A B C
s6 0 1
s6 0 1
s0 0 0
s0 0 0
s0 0 0
s0 1 1
s0 1 1
s0 1 1
s0 1 1
s6 0 1
s6 0 1
-Thom