Package | Description |
---|---|
org.cpsolver.ifs.example.jobshop |
JobShop Problem.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Location.after(Location anotherLocation)
Returns true if after the given location
|
boolean |
Location.before(Location anotherLocation)
Returns true if before the given location
|
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.
|
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.
|
boolean |
Job.isConsistent(Location location1,
Location location2)
True if the two assignments (placement of opeartions of the same job in
time) violates each other.
|
boolean |
Machine.isConsistent(Location value1,
Location value2)
True if the two assignments (placement of opeartions of the machine in
time) violates each other.
|
boolean |
Location.overlap(Location anotherLocation)
Returns true if overlap with the given location
|
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 |
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.
|
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
|