## Uses of Class
org.cpsolver.ifs.example.tt.Resource

- Packages that use Resource
  Package | Description
  --- | ---
  org.cpsolver.ifs.example.tt | Simple Timetabling Problem.

- - ### Uses of Resource in org.cpsolver.ifs.example.tt

    Methods in org.cpsolver.ifs.example.tt that return Resource
    Modifier and Type | Method and Description
    --- | ---
    `Resource` | Location.`getResource(int idx)` Gets given resource
    `Resource[]` | Location.`getResources()` Gets selection of resources

    Methods in org.cpsolver.ifs.example.tt that return types with arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `List<Resource>` | Activity.`getResourceGroup(int idx)`
    `List<List<Resource>>` | Activity.`getResourceGroups()`

    Methods in org.cpsolver.ifs.example.tt with parameters of type Resource
    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

    Method parameters in org.cpsolver.ifs.example.tt with type arguments of type Resource
    Modifier and Type | Method and Description
    --- | ---
    `void` | Activity.`addResourceGroup(List<Resource> resources)`

    Constructors in org.cpsolver.ifs.example.tt with parameters of type Resource
    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.