LearnerGraph.copyGraphs(graph, graphWithPredictedTransitions);
// in this part the tree is extended depend on their outgoing transition probabilities
for(Entry<CmpVertex, Map<Label, MarkovOutcome>> outgoing:state_outgoing.entrySet())
{
CmpVertex currrent_state_to_explore_outgoing= outgoing.getKey();
Map<Label, MarkovOutcome> list_of_outgoing = outgoing.getValue();
for(Entry<Label, MarkovOutcome> out:list_of_outgoing.entrySet())
{
Map<Label, CmpVertex> already_outgoing = graph.transitionMatrix.get(currrent_state_to_explore_outgoing);
assert already_outgoing!=null : "state "+currrent_state_to_explore_outgoing+" is not mentioned in the transition diagram";