1#ifndef SchedulingEvalOp_h
2#define SchedulingEvalOp_h
23 unsigned int edited,total,nItems;
28 void ReadConstraints(
Matrica &Constraints,
int set,
int jobs,
Matrica &Precedence);
29 void MakeSetup(
Matrica &Duration,
int set,
int jobs,
double faktor,
Matrica &Setup);
30 double NodeLevel(
int set,
int node);
36 double EvaluateSingle(TreeP);
43 unsigned int sets,max_jobs,total_jobs,max_machines,max_length;
44 unsigned int m_fitness;
45 unsigned int m_BestSubset;
46 unsigned int m_SubsetSize;
47 unsigned int m_InSubset;
48 unsigned int m_WorstInSubset;
49 double m_WorstSubsetFitness;
50 double m_BestSubsetFitness;
51 environment m_Environment;
52 unsigned int m_SortSet;
53 unsigned int m_PopSize;
62 double m_setup_faktor;
70 double *pVrijednosti, *pArray, *pSlack, *pSlackSpeed, *pArrival, *pLevel, *pSetupAvg;
71 double *pOperationReady, *pJobReady, *pTotalWorkRemaining, *pTotalWorkDone, *pTotalMachineWork;
72 double *pMachineWorkRemaining, *pMachineValues;
73 unsigned int *pIndex, *pUsed, *pLastJob, *pPTimeMinMachine, *pMachineScheduled, *pOperationsScheduled;
74 unsigned int *pOperationsWaiting;
75 Matrica N,Duration,Deadline,WeightT,WeightF,WeightE,WeightN,Ready,Constraints,Machines,Speed;
76 Matrica SP,SD,
Fitness,Schedule,Precedence,Level,Setup,Terminals,MachineReady,PTimeAvg,PTimeMinMachine;
77 Matrica SortedReady, Values, Durations, MachineIndex;
80typedef boost::shared_ptr<SchedulingEvalOp> SchedulingEvalOpP;
bool initialize(StateP)
Initialize the evaluator. Called before first evaluation occurs.
FitnessP evaluate(IndividualP individual)
Evaluate a single individual. Method must create and return a Fitness object.
void registerParameters(StateP)
Register evaluator parameters. Called before EvaluateOp::initialize method.