The model's clone is created with reproducing the links between PetriSim objects. Only links by combine places are considered in method clone() are developed and tested. The links by initializing action given by method doT() should be tested afterwards.
The array links and method linkObjectsCombiningPlaces() is added. Every call of method linkObjectsCombiningPlaces() is accompanied by adding to array links the object of private type LinkByPlaces. This type save information about places of PetriSim objects which are linked (in detail, Petrisim object plus number of place in it's list of places).
The model's clone is created with reproducing the links between PetriSim objects. Only links by combine places are considered in method clone() are developed and tested. The links by initializing action given by method doT() should be tested afterwards.
The array links and method linkObjectsCombiningPlaces() is added. Every call of method linkObjectsCombiningPlaces() is accompanied by adding to array links the object of private type LinkByPlaces. This type save information about places of PetriSim objects which are linked (in detail, Petrisim object plus number of place in it's list of places).