| Package | Description |
|---|---|
| org.cpsolver.ifs.example.tt |
Simple Timetabling Problem.
|
| Modifier and Type | Method and Description |
|---|---|
Resource |
Location.getResource(int idx)
Gets given resource
|
Resource[] |
Location.getResources()
Gets selection of resources
|
| Modifier and Type | Method and Description |
|---|---|
List<Resource> |
Activity.getResourceGroup(int idx) |
List<List<Resource>> |
Activity.getResourceGroups() |
| Modifier and Type | Method and Description |
|---|---|
void |
Activity.addResourceGroup(Resource resource) |
void |
Activity.addResourceGroup(Resource[] resources) |
boolean |
Location.containResource(Resource resource)
Returns true if the given resource is used by this location
|
| Modifier and Type | Method and Description |
|---|---|
void |
Activity.addResourceGroup(List<Resource> resources) |
| Constructor and Description |
|---|
Location(Activity activity,
int day,
int hour,
Resource[] resources)
Constructor. slot = nrHours * day + hour
|
Location(Activity activity,
int slot,
Resource[] resources)
Constructor.
|