// add second and next states
AddNewStatesToBNNode( uNode, stateIndexMap, c, stateFirst.getNext() );
/////////////////////////////////////////////////////////////////////////////////////
//3. fill zero on table
PotentialTable auxTab = (PotentialTable) ((IRandomVariable) uNode).getProbabilityFunction();
int curStateSize = uNode.getStatesSize();
for( INode parent : uNode.getParentNodes() )
curStateSize *= parent.getStatesSize();
for( int i = 0; i < curStateSize; i++ )
auxTab.addValueAt(i, 0);
auxTab.setTableSize(curStateSize);
/////////////////////////////////////////////////////////////////////////////////////
//4. add new values in the states of BN
// EX]
// CPT[Isa]parent1.state1{parent1.Name}[Isa]parent2.state1{parent2.Name}[Next]cur.state1[Next]cur.state2