\hypertarget{class_fitness}{}\section{Fitness Class Reference}
\label{class_fitness}\index{Fitness@{Fitness}}


Trida obsahujici funkce pro vypocet hodnot fitness.  


\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static double \hyperlink{class_fitness_a1019610c78be6f1817257ba055350010}{tsp\+Fitness} (\hyperlink{class_chromozome}{Chromozome} chromozome, double\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]} table)
\item 
static int \hyperlink{class_fitness_ab7a29fad18ca1cd749ddf9e5213e30fc}{hw\+Fitness} (\hyperlink{class_chromozome_h_w}{Chromozome\+HW} chromozome\+HW, char\mbox{[}$\,$\mbox{]} target)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Trida obsahujici funkce pro vypocet hodnot fitness. 

\begin{DoxyAuthor}{Author}
Jan Nemec 
\end{DoxyAuthor}


\subsection{Member Function Documentation}
\index{Fitness@{Fitness}!hw\+Fitness@{hw\+Fitness}}
\index{hw\+Fitness@{hw\+Fitness}!Fitness@{Fitness}}
\subsubsection[{\texorpdfstring{hw\+Fitness(\+Chromozome\+H\+W chromozome\+H\+W, char[] target)}{hwFitness(ChromozomeHW chromozomeHW, char[] target)}}]{\setlength{\rightskip}{0pt plus 5cm}static int Fitness.\+hw\+Fitness (
\begin{DoxyParamCaption}
\item[{{\bf Chromozome\+HW}}]{chromozome\+HW, }
\item[{char\mbox{[}$\,$\mbox{]}}]{target}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{class_fitness_ab7a29fad18ca1cd749ddf9e5213e30fc}{}\label{class_fitness_ab7a29fad18ca1cd749ddf9e5213e30fc}
Funkce pro vypocet fitness hodnoty chromozomu pro reseni textoveho problemu. Funkce scita rozdily v textu na jednotlivych pozicich oproti zadanemu cili. 
\begin{DoxyParams}{Parameters}
{\em chromozome\+HW} & Vstupni chromozom \\
\hline
{\em target} & Cilovy text \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\index{Fitness@{Fitness}!tsp\+Fitness@{tsp\+Fitness}}
\index{tsp\+Fitness@{tsp\+Fitness}!Fitness@{Fitness}}
\subsubsection[{\texorpdfstring{tsp\+Fitness(\+Chromozome chromozome, double[][] table)}{tspFitness(Chromozome chromozome, double[][] table)}}]{\setlength{\rightskip}{0pt plus 5cm}static double Fitness.\+tsp\+Fitness (
\begin{DoxyParamCaption}
\item[{{\bf Chromozome}}]{chromozome, }
\item[{double}]{table\mbox{[}$\,$\mbox{]}\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{class_fitness_a1019610c78be6f1817257ba055350010}{}\label{class_fitness_a1019610c78be6f1817257ba055350010}
Funkce pro vypocet fitness hodnoty chromozomu pro T\+SP. Scita vzdalenosti mezi jednotlivymi mesty, tak jak cestu reprezentuje chromozom. 
\begin{DoxyParams}{Parameters}
{\em chromozome} & Vstupni chromozom. \\
\hline
{\em table} & Tabulka reprezentujici vzdalenosti mezi mesty. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Metoda vraci ciselnou hodnotu fitness. 
\end{DoxyReturn}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/Fitness.\+java\end{DoxyCompactItemize}
