public class Operation extends Variable<Operation,Location>
Constructor and Description |
---|
Operation(Job job,
Machine machine,
int operationNumber,
int processingTime)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
addContstraint, addVariableListener, assign, compareTo, constraints, constraintVariables, countAssignments, getAssignment, getBestAssignment, getBestAssignmentIteration, getDescription, getExtra, getId, getInitialAssignment, getModel, getVariableListeners, hardConstraints, hasAssignment, hashCode, hasInitialAssignment, hasValues, lastAssignmentIteration, lastUnassignmentIteration, removeContstraint, removeInitialValue, removeValue, removeVariableListener, setBestAssignment, setExtra, setInitialAssignment, setModel, setValues, softConstraints, unassign, values
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)
public void init()