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 |
![]() | |
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 |
![]() | |
int * | ires |
int * | start |
Additional Inherited Members | |
![]() | |
Schedule (int *_ires) | |
int | finish_time (int i) const |
![]() | |
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.