haifa.shopsim.kernel
Class RouteEnd

java.lang.Object
  |
  +--javaSimulation.Linkage
        |
        +--javaSimulation.Link
              |
              +--javaSimulation.Process
                    |
                    +--haifa.shopsim.kernel.RouteEnd
All Implemented Interfaces:
JobHolder, SimulationEntity

class RouteEnd
extends javaSimulation.Process
implements JobHolder

This class is the output pile of a route.


Field Summary
(package private)  int accumulatedJobs
           
(package private)  javaSimulation.Head finishedQueue
          A queue of the finished jobs.
(package private)  JobHolder previous
           
(package private)  int routeNumber
           
(package private)  ShopData shopData
           
(package private)  ShopRun shopRun
           
 
Fields inherited from class javaSimulation.Process
after, after_code, at, at_code, before, before_code, delay, delay_code, direct_code, EVTIME, MAIN, myCoroutine, PRED, prior, SQS, SUC, TERMINATED
 
Constructor Summary
RouteEnd(ShopData shopData_, ShopRun shopRun_, int routeNumber_)
           
 
Method Summary
 void actions()
           
 void getJob(Job job)
          When another SimualationEntity passes the job onto this entity, it should use this method by calling it on the reciveing object.
 
Methods inherited from class javaSimulation.Process
, activat, activate, activate, activate, activate, activate, activate, activate, cancel, cancel, current, error, evTime, hold, idle, main, nextEv, passivate, reactivate, reactivate, reactivate, reactivate, reactivate, reactivate, reactivate, scheduleAfter, terminated, time, wait
 
Methods inherited from class javaSimulation.Link
follow, into, out, precede
 
Methods inherited from class javaSimulation.Linkage
pred, prev, suc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

shopData

ShopData shopData

shopRun

ShopRun shopRun

routeNumber

int routeNumber

accumulatedJobs

int accumulatedJobs

finishedQueue

javaSimulation.Head finishedQueue
A queue of the finished jobs.

previous

JobHolder previous
Constructor Detail

RouteEnd

public RouteEnd(ShopData shopData_,
                ShopRun shopRun_,
                int routeNumber_)
Method Detail

getJob

public void getJob(Job job)
Description copied from interface: JobHolder
When another SimualationEntity passes the job onto this entity, it should use this method by calling it on the reciveing object.
Specified by:
getJob in interface JobHolder

actions

public void actions()
Overrides:
actions in class javaSimulation.Process