\section{eo\-Deterministic\-Sa\-DReplacement$<$ EOT $>$ Class Template Reference}
\label{classeo_deterministic_sa_d_replacement}\index{eoDeterministicSaDReplacement@{eoDeterministicSaDReplacement}}
eo\-Deterministic\-Sa\-DReplacement: replacement strategy that is just, in sequence saves best and kill worse from parents + saves best and kill worse from offspring + merge remaining (neither save nor killed) parents and offspring + reduce that merged population = returns reduced pop + best parents + best offspring  


{\tt \#include $<$eo\-Survive\-And\-Die.h$>$}

Inheritance diagram for eo\-Deterministic\-Sa\-DReplacement$<$ EOT $>$::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.01075cm]{classeo_deterministic_sa_d_replacement}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf eo\-Deterministic\-Sa\-DReplacement} ({\bf eo\-Reduce}$<$ {\bf EOT} $>$ \&\_\-reduce\-Global, double \_\-survive\-Parents, double \_\-die\-Parents=0, double \_\-survive\-Offspring=0, double \_\-die\-Offspring=0, bool \_\-interpret\_\-as\_\-rate=true)\label{classeo_deterministic_sa_d_replacement_a0}

\begin{CompactList}\small\item\em Constructor with reduce. \item\end{CompactList}\item 
{\bf eo\-Deterministic\-Sa\-DReplacement} (double \_\-survive\-Parents, double \_\-die\-Parents=0, double \_\-survive\-Offspring=0, double \_\-die\-Offspring=0, bool \_\-interpret\_\-as\_\-rate=true)\label{classeo_deterministic_sa_d_replacement_a1}

\begin{CompactList}\small\item\em Constructor with default truncate used as reduce. \item\end{CompactList}\item 
void {\bf operator()} ({\bf eo\-Pop}$<$ {\bf EOT} $>$ \&\_\-parents, {\bf eo\-Pop}$<$ {\bf EOT} $>$ \&\_\-offspring)\label{classeo_deterministic_sa_d_replacement_a2}

\begin{CompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
{\bf eo\-Reduce}$<$ {\bf EOT} $>$ \& {\bf reduce\-Global}\label{classeo_deterministic_sa_d_replacement_r0}

\item 
{\bf eo\-Deterministic\-Survive\-And\-Die}$<$ {\bf EOT} $>$ {\bf s\-Ad\-Parents}\label{classeo_deterministic_sa_d_replacement_r1}

\item 
{\bf eo\-Deterministic\-Survive\-And\-Die}$<$ {\bf EOT} $>$ {\bf s\-Ad\-Offspring}\label{classeo_deterministic_sa_d_replacement_r2}

\item 
{\bf eo\-Plus}$<$ {\bf EOT} $>$ {\bf plus}\label{classeo_deterministic_sa_d_replacement_r3}

\item 
{\bf eo\-Truncate}$<$ {\bf EOT} $>$ {\bf truncate}\label{classeo_deterministic_sa_d_replacement_r4}

\end{CompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class EOT$>$ class eo\-Deterministic\-Sa\-DReplacement$<$ EOT $>$}

eo\-Deterministic\-Sa\-DReplacement: replacement strategy that is just, in sequence saves best and kill worse from parents + saves best and kill worse from offspring + merge remaining (neither save nor killed) parents and offspring + reduce that merged population = returns reduced pop + best parents + best offspring 

An obvious use is as strong elitist strategy, i.e. preserving best parents, and reducing (either offspring or parents+offspring) 



Definition at line 132 of file eo\-Survive\-And\-Die.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
eo\-Survive\-And\-Die.h\end{CompactItemize}
