\section{Flow\-Shop\-Eval Class Reference}
\label{classFlowShopEval}\index{FlowShopEval@{FlowShopEval}}
Evaluation of the objective vector a (multi-objective) \doxyref{Flow\-Shop}{p.}{classFlowShop} object.  


{\tt \#include $<$Flow\-Shop\-Eval.h$>$}

Inheritance diagram for Flow\-Shop\-Eval::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=5cm]{classFlowShopEval}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\bf{Flow\-Shop\-Eval} (unsigned int \_\-M, unsigned int \_\-N, const std::vector$<$ std::vector$<$ unsigned int $>$ $>$ \&\_\-p, const std::vector$<$ unsigned int $>$ \&\_\-d)
\begin{CompactList}\small\item\em Ctor. \item\end{CompactList}\item 
void \bf{operator()} (\bf{Flow\-Shop} \&\_\-flowshop)
\begin{CompactList}\small\item\em computation of the multi-objective evaluation of a \doxyref{Flow\-Shop}{p.}{classFlowShop} object \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
double \bf{makespan} (const \bf{Flow\-Shop} \&\_\-flowshop)
\begin{CompactList}\small\item\em computation of the makespan \item\end{CompactList}\item 
double \bf{tardiness} (const \bf{Flow\-Shop} \&\_\-flowshop)
\begin{CompactList}\small\item\em computation of the tardiness \item\end{CompactList}\item 
std::vector$<$ std::vector$<$ unsigned int $>$ $>$ \bf{completion\-Time} (const \bf{Flow\-Shop} \&\_\-flowshop)
\begin{CompactList}\small\item\em computation of the completion times of a scheduling (for each job on each machine) C[i][j] = completion of the jth job of the scheduling on the ith machine \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
unsigned int \bf{M}\label{classFlowShopEval_9c7c7263d8c04d18d66729f4875d46cd}

\begin{CompactList}\small\item\em number of machines \item\end{CompactList}\item 
unsigned int \bf{N}\label{classFlowShopEval_48c4a108b54c2c949cb649e470c9e8c4}

\begin{CompactList}\small\item\em number of jobs \item\end{CompactList}\item 
std::vector$<$ std::vector$<$ unsigned int $>$ $>$ \bf{p}\label{classFlowShopEval_f4152ec0542e13cbc8f4c4ece284a2b4}

\begin{CompactList}\small\item\em p[i][j] = processing time of job j on machine i \item\end{CompactList}\item 
std::vector$<$ unsigned int $>$ \bf{d}\label{classFlowShopEval_a283f1bfd433ec1bd3a45c46bd6e3ba4}

\begin{CompactList}\small\item\em d[j] = due-date of the job j \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Evaluation of the objective vector a (multi-objective) \doxyref{Flow\-Shop}{p.}{classFlowShop} object. 



Definition at line 23 of file Flow\-Shop\-Eval.h.

\subsection{Constructor \& Destructor Documentation}
\index{FlowShopEval@{Flow\-Shop\-Eval}!FlowShopEval@{FlowShopEval}}
\index{FlowShopEval@{FlowShopEval}!FlowShopEval@{Flow\-Shop\-Eval}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Flow\-Shop\-Eval::Flow\-Shop\-Eval (unsigned int {\em \_\-M}, unsigned int {\em \_\-N}, const std::vector$<$ std::vector$<$ unsigned int $>$ $>$ \& {\em \_\-p}, const std::vector$<$ unsigned int $>$ \& {\em \_\-d})}\label{classFlowShopEval_f830293ad66a253a4008937fd6d68fce}


Ctor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-M}]the number of machines \item[{\em \_\-N}]the number of jobs to schedule \item[{\em \_\-p}]the processing times \item[{\em \_\-d}]the due dates \end{description}
\end{Desc}


Definition at line 16 of file Flow\-Shop\-Eval.cpp.

\subsection{Member Function Documentation}
\index{FlowShopEval@{Flow\-Shop\-Eval}!operator()@{operator()}}
\index{operator()@{operator()}!FlowShopEval@{Flow\-Shop\-Eval}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Flow\-Shop\-Eval::operator() (\bf{Flow\-Shop} \& {\em \_\-flowshop})}\label{classFlowShopEval_d6ea74de6e62c2b104b52aa68b5da3a5}


computation of the multi-objective evaluation of a \doxyref{Flow\-Shop}{p.}{classFlowShop} object 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-flowshop}]the \doxyref{Flow\-Shop}{p.}{classFlowShop} object to evaluate \end{description}
\end{Desc}


Definition at line 21 of file Flow\-Shop\-Eval.cpp.

References makespan(), MOEO$<$ MOEOObjective\-Vector, MOEOFitness, MOEODiversity $>$::objective\-Vector(), and tardiness().\index{FlowShopEval@{Flow\-Shop\-Eval}!makespan@{makespan}}
\index{makespan@{makespan}!FlowShopEval@{Flow\-Shop\-Eval}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double Flow\-Shop\-Eval::makespan (const \bf{Flow\-Shop} \& {\em \_\-flowshop})\hspace{0.3cm}{\tt  [private]}}\label{classFlowShopEval_8b383e0c6cfd68fdf61e987b5fc91cf3}


computation of the makespan 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-flowshop}]the genotype to evaluate \end{description}
\end{Desc}


Definition at line 31 of file Flow\-Shop\-Eval.cpp.

References completion\-Time(), M, and N.

Referenced by operator()().\index{FlowShopEval@{Flow\-Shop\-Eval}!tardiness@{tardiness}}
\index{tardiness@{tardiness}!FlowShopEval@{Flow\-Shop\-Eval}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double Flow\-Shop\-Eval::tardiness (const \bf{Flow\-Shop} \& {\em \_\-flowshop})\hspace{0.3cm}{\tt  [private]}}\label{classFlowShopEval_25d04be8fd17b5589fdac732accaaf9e}


computation of the tardiness 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-flowshop}]the genotype to evaluate \end{description}
\end{Desc}


Definition at line 40 of file Flow\-Shop\-Eval.cpp.

References completion\-Time(), d, M, and N.

Referenced by operator()().\index{FlowShopEval@{Flow\-Shop\-Eval}!completionTime@{completionTime}}
\index{completionTime@{completionTime}!FlowShopEval@{Flow\-Shop\-Eval}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$ std::vector$<$ unsigned int $>$ $>$ Flow\-Shop\-Eval::completion\-Time (const \bf{Flow\-Shop} \& {\em \_\-flowshop})\hspace{0.3cm}{\tt  [private]}}\label{classFlowShopEval_84cfc6f7bee1c0e4b1a29ca99e3c129b}


computation of the completion times of a scheduling (for each job on each machine) C[i][j] = completion of the jth job of the scheduling on the ith machine 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-flowshop}]the genotype to evaluate \end{description}
\end{Desc}


Definition at line 53 of file Flow\-Shop\-Eval.cpp.

References M, N, and p.

Referenced by makespan(), and tardiness().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
Flow\-Shop\-Eval.h\item 
Flow\-Shop\-Eval.cpp\end{CompactItemize}
