|
MS-RCPSP
|
Simple representation of schedule. More...
#include <SimpleSchedule.h>


Public Member Functions | |
| SimpleSchedule (int *_ires) | |
| SimpleSchedule (SimpleSchedule *s) | |
| bool | operator== (SimpleSchedule s) const |
| void | reset () override |
Public Member Functions inherited from SchedulingProblem::Schedule | |
| void | printState (bool short_output) |
| void | writeToFile (FILE *stream) |
| int | size () |
| int | fitness () |
| int | resource (int i) const |
| int | max_res_count (int i) const |
Public Attributes | |
| int * | business |
Public Attributes inherited from SchedulingProblem::Schedule | |
| int * | ires |
| int * | start |
Additional Inherited Members | |
Protected Member Functions inherited from SchedulingProblem::Schedule | |
| Schedule (int *_ires) | |
| int | finish_time (int i) const |
Protected Attributes inherited from SchedulingProblem::Schedule | |
| int | n |
| int | _fitness = -1 |
| Task ** | tasks |
Simple representation of schedule.
This representation uses schedule builder procedure to find a feasible schedule given the resource assignment and then calculate the fitness function (project execution time) based on the found schedule.
Definition at line 15 of file SimpleSchedule.h.
| bool SchedulingProblem::SimpleSchedule::operator== | ( | SimpleSchedule | s | ) | const |
Checks schedule equality in terms of representation.
Definition at line 10 of file SimpleSchedule.cpp.
|
overridevirtual |
Reset schedule representation to random state.
Implements SchedulingProblem::Schedule.
Definition at line 124 of file SimpleSchedule.cpp.
| int* SchedulingProblem::SimpleSchedule::business |
List of relative business for each resource. Used to implement LAXCrossover.
Definition at line 26 of file SimpleSchedule.h.
1.8.11