\hypertarget{classMlpObjectives}{
\section{MlpObjectives Class Reference}
\label{classMlpObjectives}\index{MlpObjectives@{MlpObjectives}}
}


Objective functions for our MLP individuals.  


{\ttfamily \#include $<$MlpObjectives.hpp$>$}Inheritance diagram for MlpObjectives::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classMlpObjectives}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classMlpObjectives_ac8dcb4dfb1e45e67e8284d662ad2ea78}{MlpObjectives} (const string \&defstr, size\_\-t nclasses)
\begin{DoxyCompactList}\small\item\em Create from a definition string. \item\end{DoxyCompactList}\item 
\hypertarget{classMlpObjectives_aa178350a5045302701d3d47a7b8ed120}{
virtual size\_\-t \hyperlink{classMlpObjectives_aa178350a5045302701d3d47a7b8ed120}{nobj} () const }
\label{classMlpObjectives_aa178350a5045302701d3d47a7b8ed120}

\begin{DoxyCompactList}\small\item\em Get number of objectives; up to the concrete classes to determine how this is done, exactly. \item\end{DoxyCompactList}\item 
\hypertarget{classMlpObjectives_adeb18ac1a2371de105bbf834494ca60d}{
virtual string \hyperlink{classMlpObjectives_adeb18ac1a2371de105bbf834494ca60d}{name} (size\_\-t ind) const }
\label{classMlpObjectives_adeb18ac1a2371de105bbf834494ca60d}

\begin{DoxyCompactList}\small\item\em Get a longer descriptive name for print-\/outs; default is 'objective N' where N is ind+1. \item\end{DoxyCompactList}\item 
\hypertarget{classMlpObjectives_ad4b1507ffe2c65a3a7b745cf3c32735f}{
MlpObjKind {\bfseries kinds} () const }
\label{classMlpObjectives_ad4b1507ffe2c65a3a7b745cf3c32735f}

\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMlpObjectives_a9efe0a5e843690484b566c435dcecc90}{
void \hyperlink{classMlpObjectives_a9efe0a5e843690484b566c435dcecc90}{addKindIfInList} (const vector$<$ string $>$ \&spl, MlpObjKind k, size\_\-t nclasses)}
\label{classMlpObjectives_a9efe0a5e843690484b566c435dcecc90}

\begin{DoxyCompactList}\small\item\em Add an objective (or multiple class-\/wise objectives) if the mnemonic is found in the list of strings. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classMlpObjectives_a67af6e410f923f3758dc7a5f289aa703}{
size\_\-t {\bfseries \_\-nobj}}
\label{classMlpObjectives_a67af6e410f923f3758dc7a5f289aa703}

\item 
\hypertarget{classMlpObjectives_a4b6f326c44335bb7bbc0adef9cf6a619}{
vector$<$ string $>$ {\bfseries \_\-objname}}
\label{classMlpObjectives_a4b6f326c44335bb7bbc0adef9cf6a619}

\item 
\hypertarget{classMlpObjectives_a96cb18e25848d247b1263684f03b0989}{
MlpObjKind {\bfseries \_\-evokinds}}
\label{classMlpObjectives_a96cb18e25848d247b1263684f03b0989}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Objective functions for our MLP individuals. The objectives are always in a specific order: Classwise data fitting measures first, then layerwise measures, and then singular overall measures.

TODO: Should this class be responsible also for evaluating the objectives? It can combine evaluations of the many objectives into a single run through the dataset, whereas a single objective would not know about the others? Then, an \hyperlink{classMlpIndividual}{MlpIndividual} should know its \hyperlink{classMlpObjectives}{MlpObjectives}.. Shouldn't be a problem? 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classMlpObjectives_ac8dcb4dfb1e45e67e8284d662ad2ea78}{
\index{MlpObjectives@{MlpObjectives}!MlpObjectives@{MlpObjectives}}
\index{MlpObjectives@{MlpObjectives}!MlpObjectives@{MlpObjectives}}
\subsubsection[{MlpObjectives}]{\setlength{\rightskip}{0pt plus 5cm}MlpObjectives::MlpObjectives (const string \& {\em defstr}, \/  size\_\-t {\em nclasses})}}
\label{classMlpObjectives_ac8dcb4dfb1e45e67e8284d662ad2ea78}


Create from a definition string. Objective function definitions for our MLP individuals.

The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
src/MlpObjectives.hpp\item 
src/MlpObjectives.cpp\end{DoxyCompactItemize}
