225 lines
11 KiB
TeX
Executable File
225 lines
11 KiB
TeX
Executable File
\hypertarget{classTSP}{}\doxysection{T\+SP Class Reference}
|
|
\label{classTSP}\index{TSP@{TSP}}
|
|
|
|
|
|
{\ttfamily \#include $<$models.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for T\+SP\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=172pt]{classTSP__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for T\+SP\+:\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=550pt]{classTSP__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classTSP_a707519a097c28e52aebedc6132650e79}{T\+SP}} ()
|
|
\item
|
|
\mbox{\hyperlink{classTSP_a97df3fc8b105b1f8d18577e8f8629f84}{T\+SP}} (const \mbox{\hyperlink{classTSP}{T\+SP}} \&)
|
|
\item
|
|
\mbox{\hyperlink{classTSP_a5f43bcd7f86b20bc8859672d3f1686cd}{T\+SP}} (\mbox{\hyperlink{classData}{Data}})
|
|
\item
|
|
\mbox{\hyperlink{classTSP_aff1c6a73abc3825dbd36a2317abc711e}{T\+SP}} (\mbox{\hyperlink{classData}{Data}}, std\+::vector$<$ int $>$)
|
|
\item
|
|
\mbox{\hyperlink{classTSP_a6889d4d8f514c1a6e8474012b449b057}{$\sim$\+T\+SP}} ()
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_ad6bf10c3dac3211c9ab3075adb08b8db}{set\+Model\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_a3f0ca3c4e220676e0f4dd2df952e05a5}{set\+Exp\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_a9b4d44be9257539efc63c9d088bba99b}{set\+Cost}} (\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$)
|
|
\item
|
|
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classTSP_a4badbbda733f8a2337c1f593cc42313d}{get\+Sol}} () const
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_af881bef7213735b3d47b0a7bbd1b17fd}{set\+Param}} (std\+::vector$<$ double $>$)
|
|
\item
|
|
std\+::vector$<$ double $>$ \mbox{\hyperlink{classTSP_a4ac44600ca8b029fda5beb30c233be0b}{get\+Param}} () const
|
|
\item
|
|
std\+::vector$<$ double $>$ \mbox{\hyperlink{classTSP_ab97eddebb80d9c8521bc5654d695d07a}{get\+Neighbor}} (double) const
|
|
\item
|
|
double \mbox{\hyperlink{classTSP_a88a596ca1fc98835a81a8b2e63428327}{get\+Cost}} ()
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_a234e5ae530133d781e80c57ce5cbab0e}{export\+Model}} () const
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_ac25b5470884ae8e06672c9bd8e9abe37}{display\+Model}} () const
|
|
\item
|
|
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classTSP_a686572afcfd3df6a9deb606612f014e5}{get\+Exp\+Data}} () const
|
|
\item
|
|
void \mbox{\hyperlink{classTSP_a7e47f4844ecc9b7afbf9cc001fb37b7a}{set\+Order}} (std\+::vector$<$ int $>$)
|
|
\item
|
|
std\+::vector$<$ int $>$ \mbox{\hyperlink{classTSP_aa0d8dde8f37068409c731cbb293bcfff}{get\+Order}} () const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classTSP_a707519a097c28e52aebedc6132650e79}\label{classTSP_a707519a097c28e52aebedc6132650e79}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{TSP()}{TSP()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
|
{\footnotesize\ttfamily T\+S\+P\+::\+T\+SP (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
|
|
|
\mbox{\Hypertarget{classTSP_a97df3fc8b105b1f8d18577e8f8629f84}\label{classTSP_a97df3fc8b105b1f8d18577e8f8629f84}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{TSP()}{TSP()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
|
{\footnotesize\ttfamily T\+S\+P\+::\+T\+SP (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classTSP}{T\+SP}} \&}]{other }\end{DoxyParamCaption})}
|
|
|
|
\mbox{\Hypertarget{classTSP_a5f43bcd7f86b20bc8859672d3f1686cd}\label{classTSP_a5f43bcd7f86b20bc8859672d3f1686cd}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{TSP()}{TSP()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
|
{\footnotesize\ttfamily T\+S\+P\+::\+T\+SP (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T }\end{DoxyParamCaption})}
|
|
|
|
\mbox{\Hypertarget{classTSP_aff1c6a73abc3825dbd36a2317abc711e}\label{classTSP_aff1c6a73abc3825dbd36a2317abc711e}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\index{TSP@{TSP}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{TSP()}{TSP()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
|
{\footnotesize\ttfamily T\+S\+P\+::\+T\+SP (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T, }\item[{std\+::vector$<$ int $>$}]{o }\end{DoxyParamCaption})}
|
|
|
|
\mbox{\Hypertarget{classTSP_a6889d4d8f514c1a6e8474012b449b057}\label{classTSP_a6889d4d8f514c1a6e8474012b449b057}}
|
|
\index{TSP@{TSP}!````~TSP@{$\sim$TSP}}
|
|
\index{````~TSP@{$\sim$TSP}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{$\sim$TSP()}{~TSP()}}
|
|
{\footnotesize\ttfamily T\+S\+P\+::$\sim$\+T\+SP (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classTSP_ac25b5470884ae8e06672c9bd8e9abe37}\label{classTSP_ac25b5470884ae8e06672c9bd8e9abe37}}
|
|
\index{TSP@{TSP}!displayModel@{displayModel}}
|
|
\index{displayModel@{displayModel}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{displayModel()}{displayModel()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::display\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Implements \mbox{\hyperlink{classModel_a2bc1c492dc8d485f5402f0c23f465808}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a234e5ae530133d781e80c57ce5cbab0e}\label{classTSP_a234e5ae530133d781e80c57ce5cbab0e}}
|
|
\index{TSP@{TSP}!exportModel@{exportModel}}
|
|
\index{exportModel@{exportModel}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{exportModel()}{exportModel()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::export\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Implements \mbox{\hyperlink{classModel_adc89c69e73ec65f31e082e4dbe5464a3}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a88a596ca1fc98835a81a8b2e63428327}\label{classTSP_a88a596ca1fc98835a81a8b2e63428327}}
|
|
\index{TSP@{TSP}!getCost@{getCost}}
|
|
\index{getCost@{getCost}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{getCost()}{getCost()}}
|
|
{\footnotesize\ttfamily double T\+S\+P\+::get\+Cost (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Implements \mbox{\hyperlink{classModel_a2eb34665190554e9ec728dcc3ad2dd57}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a686572afcfd3df6a9deb606612f014e5}\label{classTSP_a686572afcfd3df6a9deb606612f014e5}}
|
|
\index{TSP@{TSP}!getExpData@{getExpData}}
|
|
\index{getExpData@{getExpData}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{getExpData()}{getExpData()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} T\+S\+P\+::get\+Exp\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
|
|
|
\mbox{\Hypertarget{classTSP_ab97eddebb80d9c8521bc5654d695d07a}\label{classTSP_ab97eddebb80d9c8521bc5654d695d07a}}
|
|
\index{TSP@{TSP}!getNeighbor@{getNeighbor}}
|
|
\index{getNeighbor@{getNeighbor}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{getNeighbor()}{getNeighbor()}}
|
|
{\footnotesize\ttfamily std\+::vector$<$ double $>$ T\+S\+P\+::get\+Neighbor (\begin{DoxyParamCaption}\item[{double}]{ampl }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Implements \mbox{\hyperlink{classModel_a5742e9709016b3b839e66bb73c239d15}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_aa0d8dde8f37068409c731cbb293bcfff}\label{classTSP_aa0d8dde8f37068409c731cbb293bcfff}}
|
|
\index{TSP@{TSP}!getOrder@{getOrder}}
|
|
\index{getOrder@{getOrder}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{getOrder()}{getOrder()}}
|
|
{\footnotesize\ttfamily std\+::vector$<$ int $>$ T\+S\+P\+::get\+Order (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
|
|
|
\mbox{\Hypertarget{classTSP_a4ac44600ca8b029fda5beb30c233be0b}\label{classTSP_a4ac44600ca8b029fda5beb30c233be0b}}
|
|
\index{TSP@{TSP}!getParam@{getParam}}
|
|
\index{getParam@{getParam}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{getParam()}{getParam()}}
|
|
{\footnotesize\ttfamily std\+::vector$<$ double $>$ T\+S\+P\+::get\+Param (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Implements \mbox{\hyperlink{classModel_aa8a144aa7a9c636e5770b2cfe780dfc1}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a4badbbda733f8a2337c1f593cc42313d}\label{classTSP_a4badbbda733f8a2337c1f593cc42313d}}
|
|
\index{TSP@{TSP}!getSol@{getSol}}
|
|
\index{getSol@{getSol}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{getSol()}{getSol()}}
|
|
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} T\+S\+P\+::get\+Sol (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Implements \mbox{\hyperlink{classModel_a77a90ace8590b6360d7602fcd59ec850}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a9b4d44be9257539efc63c9d088bba99b}\label{classTSP_a9b4d44be9257539efc63c9d088bba99b}}
|
|
\index{TSP@{TSP}!setCost@{setCost}}
|
|
\index{setCost@{setCost}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{setCost()}{setCost()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::set\+Cost (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$}]{f }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classModel_a22466e6374da46ad87df1d60905e427d}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a3f0ca3c4e220676e0f4dd2df952e05a5}\label{classTSP_a3f0ca3c4e220676e0f4dd2df952e05a5}}
|
|
\index{TSP@{TSP}!setExpData@{setExpData}}
|
|
\index{setExpData@{setExpData}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{setExpData()}{setExpData()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::set\+Exp\+Data (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classModel_a4765486c7efeac0e371b655dc9987473}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_ad6bf10c3dac3211c9ab3075adb08b8db}\label{classTSP_ad6bf10c3dac3211c9ab3075adb08b8db}}
|
|
\index{TSP@{TSP}!setModelData@{setModelData}}
|
|
\index{setModelData@{setModelData}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{setModelData()}{setModelData()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::set\+Model\+Data (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T1 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classModel_a55049e284aebdb5d8ce738d342a83d90}{Model}}.
|
|
|
|
\mbox{\Hypertarget{classTSP_a7e47f4844ecc9b7afbf9cc001fb37b7a}\label{classTSP_a7e47f4844ecc9b7afbf9cc001fb37b7a}}
|
|
\index{TSP@{TSP}!setOrder@{setOrder}}
|
|
\index{setOrder@{setOrder}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{setOrder()}{setOrder()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::set\+Order (\begin{DoxyParamCaption}\item[{std\+::vector$<$ int $>$}]{o }\end{DoxyParamCaption})}
|
|
|
|
\mbox{\Hypertarget{classTSP_af881bef7213735b3d47b0a7bbd1b17fd}\label{classTSP_af881bef7213735b3d47b0a7bbd1b17fd}}
|
|
\index{TSP@{TSP}!setParam@{setParam}}
|
|
\index{setParam@{setParam}!TSP@{TSP}}
|
|
\doxysubsubsection{\texorpdfstring{setParam()}{setParam()}}
|
|
{\footnotesize\ttfamily void T\+S\+P\+::set\+Param (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{a }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
|
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classModel_ac7b297577c2e6220842f2c0aa8fb3728}{Model}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{models_8h}{models.\+h}}\item
|
|
\mbox{\hyperlink{models_8cpp}{models.\+cpp}}\end{DoxyCompactItemize}
|