haifa.shopsim.kernel
Class Job

java.lang.Object
  |
  +--javaSimulation.Linkage
        |
        +--javaSimulation.Link
              |
              +--haifa.shopsim.kernel.Job
All Implemented Interfaces:
SimulationEntity

class Job
extends javaSimulation.Link
implements SimulationEntity

The Job is actually a token that travels thourgh the system.


Field Summary
(package private) static int jobCount
          This variable counts how many job objects have been allocated.
(package private)  ShopData shopData
          A refrence to the data about the jobShop.
(package private)  int step
          Determines the most recent step of processing that the job has experienced so far.
(package private)  int type
          The type of the job
 
Fields inherited from class javaSimulation.Linkage
PRED, SUC
 
Constructor Summary
(package private) Job(ShopData shopData_, int type_)
          Allocate a new job.
 
Method Summary
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

shopData

ShopData shopData
A refrence to the data about the jobShop.

type

int type
The type of the job

step

int step
Determines the most recent step of processing that the job has experienced so far.

jobCount

static int jobCount
This variable counts how many job objects have been allocated. It is incremented whenever a new job is constructed. Currently it's primary use is for debugging (assserting).
Constructor Detail

Job

Job(ShopData shopData_,
    int type_)
Allocate a new job.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object