Job object added and some cleanup in Part and Frame.
main script updated in order to read Job data and create the job. Also Jobshop1 topology modified to match new JSON format
LineGenerationJSON.py was updated in order to set WIP in the objects
Jobshop objects added as empty scripts for now
first working version of routing Jobs. From the trace it seems to work ok. Cleanup to be done. Also there are ways to make this more generic
comments added in the previous commit
ExitJobShop updated so that the routed jobs can get out of the system
stepNumber attribute added in the JSON notation of the route of the Jobs. This way the route is read correctly no matter what the sequence of steps in the JSON tree is
priority implemented as first scheduling rule. priority is optional argument for entities and schedulingRoute optional argument for Queue. sortEntities() method in Queue does the sorting and it is called every time a Queue receives an Entity
Earliest Due Date, Earliest Order Date and Number Of Remaining Stations scheduling rules implemented
all the scheduling rules implemented. More testing and cleanup needed
Job object updated to output a json result noting its schedule. Format should be discussed along with the input format
main script changed so that it can read the mode where we ran the simulation until we have no more Entities. This mode is given with the dummy maxSimTime=-1 in the inputs for now
machine object updated so that it uses the new methods (getActiveEntityQueue, getGiverEntity etc)
queue object updated so that it uses the new methods
source, exit and CoreObject objects also updated so that they use the new methods
topology01 unit test fixed and added tests for new topologies
Ann initialise method was added to Entities. Jobs need to be initialized in every simulation replication in multiple runs. Now it works, but JSON results are not given for the route in multiple runs. This may require some thinking
machine changed so that many of the input parameters (eg stdev, failure) are optional with default values. It will make it easier to provide simple examples
ManPy documentation is added in the root. Still incomplete, it will be updated