question: public synchronized void addToState ( BNetwork newState ) { for ( ChanceNode cn : new ArrayList < ChanceNode > ( newState . getChanceNodes ( ) ) ) { cn . setId ( cn . getId ( ) + "'" ) ; addNode ( cn ) ; connectToPredictions ( cn ) ; } }
target:  Merges the dialogue state included as argument into the current one.