|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cpsolver.ifs.model.Variable net.sf.cpsolver.ifs.example.jobshop.Operation
public class Operation
Operation.
Each operation has its number, job, machine and processing time
Field Summary |
---|
Fields inherited from class net.sf.cpsolver.ifs.model.Variable |
---|
iId, iValue |
Constructor Summary | |
---|---|
Operation(Job job,
Machine machine,
int operationNumber,
int processingTime)
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares two operations -- job number and operation number must match |
Job |
getJob()
Get job |
int |
getJobNumber()
Get job number |
Machine |
getMachine()
Get machine |
int |
getMachineNumber()
Get machine number |
int |
getMaxStartTime()
Get maximal starting time |
int |
getMinStartTime()
Get minimal starting time |
String |
getName()
Operation's name (e.g., O[2,4] where 2 is the job number and 4 is the operation number |
int |
getOperationNumber()
Get operation number |
Operation |
getPrecedingOperation()
Get the preceeding operation (if any) |
int |
getProcessingTime()
Get processing time |
Operation |
getSubsequentOperation()
Get the subsequent operation (if any) |
void |
init()
Initialozation -- fills the variable's domain |
String |
toString()
string representation -- for debuging and printing purposes |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Operation(Job job, Machine machine, int operationNumber, int processingTime)
job
- jobmachine
- machineoperationNumber
- operation numberprocessingTime
- processing timeMethod Detail |
---|
public Job getJob()
public int getJobNumber()
public int getOperationNumber()
public Machine getMachine()
public int getMachineNumber()
public int getProcessingTime()
public Operation getPrecedingOperation()
public Operation getSubsequentOperation()
public int getMinStartTime()
public int getMaxStartTime()
public boolean equals(Object o)
equals
in class Variable
public void init()
public String toString()
toString
in class Variable
public String getName()
getName
in class Variable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |