Skip to content

model clone #2

Description

@StetsenkoInna

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions