Package | Description |
---|---|
org.cpsolver.ifs.example.jobshop |
JobShop Problem.
|
Modifier and Type | Method and Description |
---|---|
Operation |
Job.getOperation(int opNumber)
Get operation of the given index (0..countOperations()-1)
|
Operation |
Operation.getPrecedingOperation()
Get the preceding operation (if any)
|
Operation |
Operation.getSubsequentOperation()
Get the subsequent operation (if any)
|
Modifier and Type | Method and Description |
---|---|
void |
Job.computeConflicts(Assignment<Operation,Location> assignment,
Location location,
Set<Location> conflicts)
Adds conflicting operations into the set of conflicts.
|
void |
Machine.computeConflicts(Assignment<Operation,Location> assignment,
Location location,
Set<Location> conflicts)
Adds conflicting operations into the set of conflicts.
|
int |
JobShopModel.getFinishingTime(Assignment<Operation,Location> assignment)
Get finishing time of the current (partial) solution
|
Map<String,String> |
JobShopModel.getInfo(Assignment<Operation,Location> assignment)
Get information table
|
boolean |
Job.inConflict(Assignment<Operation,Location> assignment,
Location location)
True if there is an operation from the same job which violates with the
given assignment.
|
boolean |
Machine.inConflict(Assignment<Operation,Location> assignment,
Location location)
True if there is an operation from the machine which violates with the
given assignment.
|
void |
JobShopModel.save(Assignment<Operation,Location> assignment,
String file)
Save the solution into the given file
|
Constructor and Description |
---|
Location(Operation op,
int startTime)
Constructor
|