++===========================================++===========================================++===========================================++ || || || || || **** insertParallel **** || **** conso delete/add **** || **** NEW insertParallel **** || || || || || ++===========================================++===========================================++===========================================++ || || || || || ## CURRENT HIERARCHY || ## CURRENT HIERARCHY || ## CURRENT HIERARCHY || || || || || || +- Sport Clubs || +- Sport Clubs || +- Sport Clubs || || ¦ +- Tennis Club || ¦ +- Tennis Club || ¦ +- Tennis Club || || ¦ ¦ +- Child A || ¦ ¦ +- Child A || ¦ ¦ +- Child A || || ¦ ¦ +- Child B || ¦ ¦ +- Child B || ¦ ¦ +- Child B || || ¦ ¦ || ¦ ¦ || ¦ ¦ || || ¦ +- Soccer Club || ¦ +- Soccer Club || ¦ +- Soccer Club || || ¦ +- Child A || ¦ +- Child A || ¦ +- Child A || || ¦ +- Father || ¦ +- Father || ¦ +- Father || || ¦ || ¦ || ¦ || || +- Family || +- Family || +- Family || || +- Father || +- Father || +- Father || || +- Mother || +- Mother || +- Mother || || +- Child A || +- Child A || +- Child A || || +- Child B || +- Child B || +- Child B || || +- Dog || +- Dog || +- Dog || || || || || ++-------------------------------------------++-------------------------------------------++-------------------------------------------++ || || || || || ## Family get's a Newborn which is || ## Family get's a Newborn which is || ## Family get's a Newborn which is || || ## modeled as a constant tree as source || ## modeled as a constant tree as source || ## modeled as a constant tree as source || || || || || || +- Family || +- Family || +- Family || || +- Father || +- Father || +- Father || || +- Mother || +- Mother || +- Mother || || +- Child A || +- Child A || +- Child A || || +- Child B || +- Child B || +- Child B || || +- Newborn || +- Newborn || +- Newborn || || || || || ++-------------------------------------------++-------------------------------------------++-------------------------------------------++ || || || || || || ## intermediate step: || || || || ## unconsolidate family .. || || || || || || || || ## TEMP HIERARCHY || || || || || || || || +- Sport Clubs || || || || ¦ +- Tennis Club || || || || ¦ ¦ +- Child A || || || || ¦ ¦ +- Child B || || || || ¦ ¦ || || || || ¦ +- Soccer Club || || || || ¦ +- Child A || || || || ¦ +- Father || || || || ¦ || || || || +- Family || || || || +- Mother || || || || +- Dog || || || || || || ++-------------------------------------------++-------------------------------------------++-------------------------------------------++ || || || || || ## load with insertParallel || ## load with add || ## load with NEW insertParallel || || ## FINAL HIERARCHY || ## FINAL HIERARCHY || ## FINAL HIERARCHY || || || || || || +- Sport Clubs || +- Sport Clubs || +- Sport Clubs || || ¦ +- Tennis Club || ¦ +- Tennis Club || ¦ +- Tennis Club || || ¦ ¦ +- Child B || ¦ ¦ +- Child A || ¦ ¦ +- Child A || || ¦ ¦ || ¦ ¦ +- Child B || ¦ ¦ +- Child B || || ¦ +- Soccer Club || ¦ ¦ || ¦ ¦ || || ¦ +- Child A || ¦ +- Soccer Club || ¦ +- Soccer Club || || ¦ +- Father || ¦ +- Child A || ¦ +- Child A || || ¦ || ¦ +- Father || ¦ +- Father || || +- Family || ¦ || ¦ || || +- Father || +- Family || +- Family || || +- Mother || ¦ +- Father || +- Father || || +- Child A || ¦ +- Mother || +- Mother || || +- Child B || ¦ +- Child A || +- Child A || || +- Dog || ¦ +- Child B || +- Child B || || +- Newborn || ¦ +- Newborn || +- Dog || || || ¦ || +- Newborn || || || +- Dog || || || || || || ++===========================================++===========================================++===========================================++ || || || || || RESULT: || RESULT: || RESULT: || || --> Child A missing in Tennis Club || --> Dog missing in Family || --> all fine || || || || || ++===========================================++===========================================++===========================================++