initial commit
This commit is contained in:
23
Rapport/latex/Makefile
Executable file
23
Rapport/latex/Makefile
Executable file
@@ -0,0 +1,23 @@
|
||||
LATEX_CMD=pdflatex
|
||||
|
||||
all: refman.pdf
|
||||
|
||||
pdf: refman.pdf
|
||||
|
||||
refman.pdf: clean refman.tex
|
||||
$(LATEX_CMD) refman
|
||||
makeindex refman.idx
|
||||
$(LATEX_CMD) refman
|
||||
latex_count=8 ; \
|
||||
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
|
||||
do \
|
||||
echo "Rerunning latex...." ;\
|
||||
$(LATEX_CMD) refman ;\
|
||||
latex_count=`expr $$latex_count - 1` ;\
|
||||
done
|
||||
makeindex refman.idx
|
||||
$(LATEX_CMD) refman
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
|
||||
63
Rapport/latex/SimulatedAnnealingParameters_8h.tex
Executable file
63
Rapport/latex/SimulatedAnnealingParameters_8h.tex
Executable file
@@ -0,0 +1,63 @@
|
||||
\hypertarget{SimulatedAnnealingParameters_8h}{}\doxysection{Simulated\+Annealing\+Parameters.\+h File Reference}
|
||||
\label{SimulatedAnnealingParameters_8h}\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
This graph shows which files directly or indirectly include this file\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=242pt]{SimulatedAnnealingParameters_8h__dep__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Variables}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
double \mbox{\hyperlink{SimulatedAnnealingParameters_8h_ad4facf05130e67eeb802d39511abc713}{S\+A\+\_\+\+Amplitude}} = 0.\+3
|
||||
\item
|
||||
double \mbox{\hyperlink{SimulatedAnnealingParameters_8h_ad34e2374994e2776e65dde61b5e4b852}{S\+A\+\_\+\+Temperature\+Initiale}} = .\+5
|
||||
\item
|
||||
double \mbox{\hyperlink{SimulatedAnnealingParameters_8h_a400344bee919a145134ace2499fdcbc1}{S\+A\+\_\+\+Temperature\+Finale}} = 0.\+01
|
||||
\item
|
||||
double \mbox{\hyperlink{SimulatedAnnealingParameters_8h_a92181ec3054f402466c01427ab9e4f44}{S\+A\+\_\+\+Taux\+De\+Refroidissement}} = 1.-\/1./2000.
|
||||
\item
|
||||
int \mbox{\hyperlink{SimulatedAnnealingParameters_8h_a1808b10f2732146fd973ffb20d2e0f5f}{S\+A\+\_\+\+Nb\+Iteration\+IsoT}} = 30
|
||||
\item
|
||||
int \mbox{\hyperlink{SimulatedAnnealingParameters_8h_abddee3634b92ba25d1b8e88639a86f81}{S\+A\+\_\+\+Max\+Rejet}} = 5
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Variable Documentation}
|
||||
\mbox{\Hypertarget{SimulatedAnnealingParameters_8h_ad4facf05130e67eeb802d39511abc713}\label{SimulatedAnnealingParameters_8h_ad4facf05130e67eeb802d39511abc713}}
|
||||
\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}!SA\_Amplitude@{SA\_Amplitude}}
|
||||
\index{SA\_Amplitude@{SA\_Amplitude}!SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
\doxysubsubsection{\texorpdfstring{SA\_Amplitude}{SA\_Amplitude}}
|
||||
{\footnotesize\ttfamily double S\+A\+\_\+\+Amplitude = 0.\+3}
|
||||
|
||||
\mbox{\Hypertarget{SimulatedAnnealingParameters_8h_abddee3634b92ba25d1b8e88639a86f81}\label{SimulatedAnnealingParameters_8h_abddee3634b92ba25d1b8e88639a86f81}}
|
||||
\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}!SA\_MaxRejet@{SA\_MaxRejet}}
|
||||
\index{SA\_MaxRejet@{SA\_MaxRejet}!SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
\doxysubsubsection{\texorpdfstring{SA\_MaxRejet}{SA\_MaxRejet}}
|
||||
{\footnotesize\ttfamily int S\+A\+\_\+\+Max\+Rejet = 5}
|
||||
|
||||
\mbox{\Hypertarget{SimulatedAnnealingParameters_8h_a1808b10f2732146fd973ffb20d2e0f5f}\label{SimulatedAnnealingParameters_8h_a1808b10f2732146fd973ffb20d2e0f5f}}
|
||||
\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}!SA\_NbIterationIsoT@{SA\_NbIterationIsoT}}
|
||||
\index{SA\_NbIterationIsoT@{SA\_NbIterationIsoT}!SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
\doxysubsubsection{\texorpdfstring{SA\_NbIterationIsoT}{SA\_NbIterationIsoT}}
|
||||
{\footnotesize\ttfamily int S\+A\+\_\+\+Nb\+Iteration\+IsoT = 30}
|
||||
|
||||
\mbox{\Hypertarget{SimulatedAnnealingParameters_8h_a92181ec3054f402466c01427ab9e4f44}\label{SimulatedAnnealingParameters_8h_a92181ec3054f402466c01427ab9e4f44}}
|
||||
\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}!SA\_TauxDeRefroidissement@{SA\_TauxDeRefroidissement}}
|
||||
\index{SA\_TauxDeRefroidissement@{SA\_TauxDeRefroidissement}!SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
\doxysubsubsection{\texorpdfstring{SA\_TauxDeRefroidissement}{SA\_TauxDeRefroidissement}}
|
||||
{\footnotesize\ttfamily double S\+A\+\_\+\+Taux\+De\+Refroidissement = 1.-\/1./2000.}
|
||||
|
||||
\mbox{\Hypertarget{SimulatedAnnealingParameters_8h_a400344bee919a145134ace2499fdcbc1}\label{SimulatedAnnealingParameters_8h_a400344bee919a145134ace2499fdcbc1}}
|
||||
\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}!SA\_TemperatureFinale@{SA\_TemperatureFinale}}
|
||||
\index{SA\_TemperatureFinale@{SA\_TemperatureFinale}!SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
\doxysubsubsection{\texorpdfstring{SA\_TemperatureFinale}{SA\_TemperatureFinale}}
|
||||
{\footnotesize\ttfamily double S\+A\+\_\+\+Temperature\+Finale = 0.\+01}
|
||||
|
||||
\mbox{\Hypertarget{SimulatedAnnealingParameters_8h_ad34e2374994e2776e65dde61b5e4b852}\label{SimulatedAnnealingParameters_8h_ad34e2374994e2776e65dde61b5e4b852}}
|
||||
\index{SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}!SA\_TemperatureInitiale@{SA\_TemperatureInitiale}}
|
||||
\index{SA\_TemperatureInitiale@{SA\_TemperatureInitiale}!SimulatedAnnealingParameters.h@{SimulatedAnnealingParameters.h}}
|
||||
\doxysubsubsection{\texorpdfstring{SA\_TemperatureInitiale}{SA\_TemperatureInitiale}}
|
||||
{\footnotesize\ttfamily double S\+A\+\_\+\+Temperature\+Initiale = .\+5}
|
||||
|
||||
1
Rapport/latex/SimulatedAnnealingParameters_8h__dep__incl.md5
Executable file
1
Rapport/latex/SimulatedAnnealingParameters_8h__dep__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
94b713920c2a3c1da536c7ff9c5bdf43
|
||||
BIN
Rapport/latex/SimulatedAnnealingParameters_8h__dep__incl.pdf
Executable file
BIN
Rapport/latex/SimulatedAnnealingParameters_8h__dep__incl.pdf
Executable file
Binary file not shown.
13
Rapport/latex/annotated.tex
Executable file
13
Rapport/latex/annotated.tex
Executable file
@@ -0,0 +1,13 @@
|
||||
\doxysection{Data Structures}
|
||||
Here are the data structures with brief descriptions\+:\begin{DoxyCompactList}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classCostFunction}{Cost\+Function}} }{\pageref{classCostFunction}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classData}{Data}} }{\pageref{classData}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classDistance}{Distance}} }{\pageref{classDistance}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classKhi2}{Khi2}} }{\pageref{classKhi2}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classLinearApprox}{Linear\+Approx}} }{\pageref{classLinearApprox}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classModel}{Model}} }{\pageref{classModel}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classOptimizationMethod}{Optimization\+Method}} }{\pageref{classOptimizationMethod}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classPolynomialApprox}{Polynomial\+Approx}} }{\pageref{classPolynomialApprox}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classSimulatedAnnealing}{Simulated\+Annealing}} }{\pageref{classSimulatedAnnealing}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{classTSP}{T\+SP}} }{\pageref{classTSP}}{}
|
||||
\end{DoxyCompactList}
|
||||
203
Rapport/latex/classCostFunction.eps
Executable file
203
Rapport/latex/classCostFunction.eps
Executable file
@@ -0,0 +1,203 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 212.765957
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 2.350000 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 2 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(CostFunction) cw
|
||||
(Distance) cw
|
||||
(Khi2) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(CostFunction) 0.500000 1.000000 box
|
||||
(Distance) 0.000000 0.000000 box
|
||||
(Khi2) 1.000000 0.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
1 0.500000 0.250000 out
|
||||
solid
|
||||
0.000000 1.000000 1.000000 conn
|
||||
solid
|
||||
0 0.000000 0.750000 in
|
||||
solid
|
||||
0 1.000000 0.750000 in
|
||||
BIN
Rapport/latex/classCostFunction.pdf
Executable file
BIN
Rapport/latex/classCostFunction.pdf
Executable file
Binary file not shown.
74
Rapport/latex/classCostFunction.tex
Executable file
74
Rapport/latex/classCostFunction.tex
Executable file
@@ -0,0 +1,74 @@
|
||||
\hypertarget{classCostFunction}{}\doxysection{Cost\+Function Class Reference}
|
||||
\label{classCostFunction}\index{CostFunction@{CostFunction}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$costfunctions.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Cost\+Function\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=240pt]{classCostFunction__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Cost\+Function\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=176pt]{classCostFunction__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classCostFunction_aadc7232e869e752fc4c6db78f9ad8b12}{Cost\+Function}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classCostFunction_ad597fa830587644407310e618a01b312}{Cost\+Function}} (const \mbox{\hyperlink{classCostFunction}{Cost\+Function}} \&)
|
||||
\item
|
||||
virtual \mbox{\hyperlink{classCostFunction_a24dba57be643ac11b45f9479730f28ea}{$\sim$\+Cost\+Function}} ()
|
||||
\item
|
||||
virtual double \mbox{\hyperlink{classCostFunction_ac2ff779856e16cb0cd82cd0600bd91a6}{get}} () const =0
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classCostFunction_aadc7232e869e752fc4c6db78f9ad8b12}\label{classCostFunction_aadc7232e869e752fc4c6db78f9ad8b12}}
|
||||
\index{CostFunction@{CostFunction}!CostFunction@{CostFunction}}
|
||||
\index{CostFunction@{CostFunction}!CostFunction@{CostFunction}}
|
||||
\doxysubsubsection{\texorpdfstring{CostFunction()}{CostFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
||||
{\footnotesize\ttfamily Cost\+Function\+::\+Cost\+Function (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
\mbox{\Hypertarget{classCostFunction_ad597fa830587644407310e618a01b312}\label{classCostFunction_ad597fa830587644407310e618a01b312}}
|
||||
\index{CostFunction@{CostFunction}!CostFunction@{CostFunction}}
|
||||
\index{CostFunction@{CostFunction}!CostFunction@{CostFunction}}
|
||||
\doxysubsubsection{\texorpdfstring{CostFunction()}{CostFunction()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
||||
{\footnotesize\ttfamily Cost\+Function\+::\+Cost\+Function (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classCostFunction}{Cost\+Function}} \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
\mbox{\Hypertarget{classCostFunction_a24dba57be643ac11b45f9479730f28ea}\label{classCostFunction_a24dba57be643ac11b45f9479730f28ea}}
|
||||
\index{CostFunction@{CostFunction}!````~CostFunction@{$\sim$CostFunction}}
|
||||
\index{````~CostFunction@{$\sim$CostFunction}!CostFunction@{CostFunction}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$CostFunction()}{~CostFunction()}}
|
||||
{\footnotesize\ttfamily virtual Cost\+Function\+::$\sim$\+Cost\+Function (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classCostFunction_ac2ff779856e16cb0cd82cd0600bd91a6}\label{classCostFunction_ac2ff779856e16cb0cd82cd0600bd91a6}}
|
||||
\index{CostFunction@{CostFunction}!get@{get}}
|
||||
\index{get@{get}!CostFunction@{CostFunction}}
|
||||
\doxysubsubsection{\texorpdfstring{get()}{get()}}
|
||||
{\footnotesize\ttfamily virtual double Cost\+Function\+::get (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classDistance_a3478b7d15662fd029272f916d9108cf4}{Distance}}, and \mbox{\hyperlink{classKhi2_a7fe47845f5eda146384a9c56b532a11e}{Khi2}}.
|
||||
|
||||
|
||||
|
||||
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{costfunctions_8h}{costfunctions.\+h}}\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/classCostFunction__coll__graph.md5
Executable file
1
Rapport/latex/classCostFunction__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
11e1581a7e2d06226e3bd5327b7f7dc9
|
||||
BIN
Rapport/latex/classCostFunction__coll__graph.pdf
Executable file
BIN
Rapport/latex/classCostFunction__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classCostFunction__inherit__graph.md5
Executable file
1
Rapport/latex/classCostFunction__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
f0cc0b9cb2769ea03acbc49c9e5a642f
|
||||
BIN
Rapport/latex/classCostFunction__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classCostFunction__inherit__graph.pdf
Executable file
Binary file not shown.
174
Rapport/latex/classData.tex
Executable file
174
Rapport/latex/classData.tex
Executable file
@@ -0,0 +1,174 @@
|
||||
\hypertarget{classData}{}\doxysection{Data Class Reference}
|
||||
\label{classData}\index{Data@{Data}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$data.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Collaboration diagram for Data\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=155pt]{classData__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classData_af11f741cb7f587e2e495452a8905a22a}{Data}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classData_aa7a5bd3a55e7e04904169e19d2d8c260}{Data}} (const \mbox{\hyperlink{classData}{Data}} \&)
|
||||
\item
|
||||
\mbox{\hyperlink{classData_a619cb123144821ee3cc9082a5e5e468d}{Data}} (std\+::string)
|
||||
\item
|
||||
\mbox{\hyperlink{classData_a53a324328b1b9ce5588b8db7fa684af9}{Data}} (std\+::vector$<$ std\+::vector$<$ double $>$$>$, std\+::string)
|
||||
\item
|
||||
\mbox{\hyperlink{classData_aab31956423290f0d62dcca47ab4d16dd}{$\sim$\+Data}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_a119fc9543bfcf8646e2d693eb57dd1dc}{rand\+Set}} (int N)
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_a17817ae424134307649329d52340f411}{rand\+Set}} (int N, double xa, double xb, double ya, double yb)
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_ab1deaa18c5d8038de6ad4cebdec3c9b8}{rand\+Set}} (int N, int d, double mu)
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_a3048784ed3af92bf62985c8fd4f88bca}{add\+\_\+value}} (std\+::vector$<$ double $>$)
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_ab54a3c1e84b0d238d9c93cf9c10434e8}{from\+File}} (std\+::string)
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_aa200fb17e51dd9aed316ba07dd42911a}{set\+Data}} (std\+::vector$<$ std\+::vector$<$ double $>$$>$)
|
||||
\item
|
||||
std\+::vector$<$ std\+::vector$<$ double $>$ $>$ \mbox{\hyperlink{classData_ab6e2d4cd1f3d016c8c826e6d10827164}{get\+Data}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_a290dbf7aab89324a8c572b5a7d8be681}{set\+Name}} (std\+::string)
|
||||
\item
|
||||
std\+::string \mbox{\hyperlink{classData_ad4e99c5ffee5753b80f3faf7f2c42d55}{get\+Name}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_aceb8bfa6078740b3c7525e573b9853c3}{display\+Data}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_a804ac78b66de730ae6848afd38c08c18}{export\+Data}} ()
|
||||
\item
|
||||
int \mbox{\hyperlink{classData_ae5e90147aadf47100b024a1be7cf0ccc}{get\+Card}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classData_a4b97a79b1f561b1c4e4df0a26165202f}{print}} () const
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classData_af11f741cb7f587e2e495452a8905a22a}\label{classData_af11f741cb7f587e2e495452a8905a22a}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{Data()}{Data()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
||||
{\footnotesize\ttfamily Data\+::\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_aa7a5bd3a55e7e04904169e19d2d8c260}\label{classData_aa7a5bd3a55e7e04904169e19d2d8c260}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{Data()}{Data()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
||||
{\footnotesize\ttfamily Data\+::\+Data (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classData}{Data}} \&}]{other }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_a619cb123144821ee3cc9082a5e5e468d}\label{classData_a619cb123144821ee3cc9082a5e5e468d}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{Data()}{Data()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
||||
{\footnotesize\ttfamily Data\+::\+Data (\begin{DoxyParamCaption}\item[{std\+::string}]{name }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_a53a324328b1b9ce5588b8db7fa684af9}\label{classData_a53a324328b1b9ce5588b8db7fa684af9}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\index{Data@{Data}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{Data()}{Data()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
||||
{\footnotesize\ttfamily Data\+::\+Data (\begin{DoxyParamCaption}\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T, }\item[{std\+::string}]{name }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_aab31956423290f0d62dcca47ab4d16dd}\label{classData_aab31956423290f0d62dcca47ab4d16dd}}
|
||||
\index{Data@{Data}!````~Data@{$\sim$Data}}
|
||||
\index{````~Data@{$\sim$Data}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$Data()}{~Data()}}
|
||||
{\footnotesize\ttfamily Data\+::$\sim$\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classData_a3048784ed3af92bf62985c8fd4f88bca}\label{classData_a3048784ed3af92bf62985c8fd4f88bca}}
|
||||
\index{Data@{Data}!add\_value@{add\_value}}
|
||||
\index{add\_value@{add\_value}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{add\_value()}{add\_value()}}
|
||||
{\footnotesize\ttfamily void Data\+::add\+\_\+value (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{V }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_aceb8bfa6078740b3c7525e573b9853c3}\label{classData_aceb8bfa6078740b3c7525e573b9853c3}}
|
||||
\index{Data@{Data}!displayData@{displayData}}
|
||||
\index{displayData@{displayData}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{displayData()}{displayData()}}
|
||||
{\footnotesize\ttfamily void Data\+::display\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_a804ac78b66de730ae6848afd38c08c18}\label{classData_a804ac78b66de730ae6848afd38c08c18}}
|
||||
\index{Data@{Data}!exportData@{exportData}}
|
||||
\index{exportData@{exportData}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{exportData()}{exportData()}}
|
||||
{\footnotesize\ttfamily void Data\+::export\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_ab54a3c1e84b0d238d9c93cf9c10434e8}\label{classData_ab54a3c1e84b0d238d9c93cf9c10434e8}}
|
||||
\index{Data@{Data}!fromFile@{fromFile}}
|
||||
\index{fromFile@{fromFile}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{fromFile()}{fromFile()}}
|
||||
{\footnotesize\ttfamily void Data\+::from\+File (\begin{DoxyParamCaption}\item[{std\+::string}]{filepath }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_ae5e90147aadf47100b024a1be7cf0ccc}\label{classData_ae5e90147aadf47100b024a1be7cf0ccc}}
|
||||
\index{Data@{Data}!getCard@{getCard}}
|
||||
\index{getCard@{getCard}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{getCard()}{getCard()}}
|
||||
{\footnotesize\ttfamily int Data\+::get\+Card (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classData_ab6e2d4cd1f3d016c8c826e6d10827164}\label{classData_ab6e2d4cd1f3d016c8c826e6d10827164}}
|
||||
\index{Data@{Data}!getData@{getData}}
|
||||
\index{getData@{getData}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{getData()}{getData()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$ std\+::vector$<$ double $>$ $>$ Data\+::get\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classData_ad4e99c5ffee5753b80f3faf7f2c42d55}\label{classData_ad4e99c5ffee5753b80f3faf7f2c42d55}}
|
||||
\index{Data@{Data}!getName@{getName}}
|
||||
\index{getName@{getName}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{getName()}{getName()}}
|
||||
{\footnotesize\ttfamily std\+::string Data\+::get\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classData_a4b97a79b1f561b1c4e4df0a26165202f}\label{classData_a4b97a79b1f561b1c4e4df0a26165202f}}
|
||||
\index{Data@{Data}!print@{print}}
|
||||
\index{print@{print}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{print()}{print()}}
|
||||
{\footnotesize\ttfamily void Data\+::print (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classData_a119fc9543bfcf8646e2d693eb57dd1dc}\label{classData_a119fc9543bfcf8646e2d693eb57dd1dc}}
|
||||
\index{Data@{Data}!randSet@{randSet}}
|
||||
\index{randSet@{randSet}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{randSet()}{randSet()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
|
||||
{\footnotesize\ttfamily void Data\+::rand\+Set (\begin{DoxyParamCaption}\item[{int}]{N }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_a17817ae424134307649329d52340f411}\label{classData_a17817ae424134307649329d52340f411}}
|
||||
\index{Data@{Data}!randSet@{randSet}}
|
||||
\index{randSet@{randSet}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{randSet()}{randSet()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
|
||||
{\footnotesize\ttfamily void Data\+::rand\+Set (\begin{DoxyParamCaption}\item[{int}]{N, }\item[{double}]{xa, }\item[{double}]{xb, }\item[{double}]{ya, }\item[{double}]{yb }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_ab1deaa18c5d8038de6ad4cebdec3c9b8}\label{classData_ab1deaa18c5d8038de6ad4cebdec3c9b8}}
|
||||
\index{Data@{Data}!randSet@{randSet}}
|
||||
\index{randSet@{randSet}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{randSet()}{randSet()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
|
||||
{\footnotesize\ttfamily void Data\+::rand\+Set (\begin{DoxyParamCaption}\item[{int}]{N, }\item[{int}]{d, }\item[{double}]{mu }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_aa200fb17e51dd9aed316ba07dd42911a}\label{classData_aa200fb17e51dd9aed316ba07dd42911a}}
|
||||
\index{Data@{Data}!setData@{setData}}
|
||||
\index{setData@{setData}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{setData()}{setData()}}
|
||||
{\footnotesize\ttfamily void Data\+::set\+Data (\begin{DoxyParamCaption}\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classData_a290dbf7aab89324a8c572b5a7d8be681}\label{classData_a290dbf7aab89324a8c572b5a7d8be681}}
|
||||
\index{Data@{Data}!setName@{setName}}
|
||||
\index{setName@{setName}!Data@{Data}}
|
||||
\doxysubsubsection{\texorpdfstring{setName()}{setName()}}
|
||||
{\footnotesize\ttfamily void Data\+::set\+Name (\begin{DoxyParamCaption}\item[{std\+::string}]{name }\end{DoxyParamCaption})}
|
||||
|
||||
|
||||
|
||||
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{data_8h}{data.\+h}}\item
|
||||
\mbox{\hyperlink{data_8cpp}{data.\+cpp}}\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/classData__coll__graph.md5
Executable file
1
Rapport/latex/classData__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
d9a05b7d61951d088b655a40190df84a
|
||||
BIN
Rapport/latex/classData__coll__graph.pdf
Executable file
BIN
Rapport/latex/classData__coll__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classDistance.eps
Executable file
197
Rapport/latex/classDistance.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 425.531915
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.175000 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(Distance) cw
|
||||
(CostFunction) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(Distance) 0.000000 0.000000 box
|
||||
(CostFunction) 0.000000 1.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.000000 0.000000 out
|
||||
solid
|
||||
1 0.000000 1.000000 in
|
||||
BIN
Rapport/latex/classDistance.pdf
Executable file
BIN
Rapport/latex/classDistance.pdf
Executable file
Binary file not shown.
91
Rapport/latex/classDistance.tex
Executable file
91
Rapport/latex/classDistance.tex
Executable file
@@ -0,0 +1,91 @@
|
||||
\hypertarget{classDistance}{}\doxysection{Distance Class Reference}
|
||||
\label{classDistance}\index{Distance@{Distance}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$costfunctions.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Distance\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=176pt]{classDistance__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Distance\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=176pt]{classDistance__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classDistance_a10c71cb57a2a8f5c66b2e91f63e3595a}{Distance}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classDistance_aad51a09082a7df54dc50bc193c43f88f}{Distance}} (const \mbox{\hyperlink{classDistance}{Distance}} \&)
|
||||
\item
|
||||
\mbox{\hyperlink{classDistance_ab4fddf13a19664f2a9b886e6eaeb273d}{Distance}} (std\+::vector$<$ std\+::vector$<$ double $>$$>$, std\+::vector$<$ int $>$)
|
||||
\item
|
||||
\mbox{\hyperlink{classDistance_a933d4ecca7e420ac53945e36d64e9500}{$\sim$\+Distance}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classDistance_a3e5132f46704cc57c3bf3431a312efb1}{set\+Data}} (std\+::vector$<$ std\+::vector$<$ double $>$$>$, std\+::vector$<$ int $>$)
|
||||
\item
|
||||
double \mbox{\hyperlink{classDistance_a3478b7d15662fd029272f916d9108cf4}{get}} () const
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classDistance_a10c71cb57a2a8f5c66b2e91f63e3595a}\label{classDistance_a10c71cb57a2a8f5c66b2e91f63e3595a}}
|
||||
\index{Distance@{Distance}!Distance@{Distance}}
|
||||
\index{Distance@{Distance}!Distance@{Distance}}
|
||||
\doxysubsubsection{\texorpdfstring{Distance()}{Distance()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
|
||||
{\footnotesize\ttfamily Distance\+::\+Distance (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classDistance_aad51a09082a7df54dc50bc193c43f88f}\label{classDistance_aad51a09082a7df54dc50bc193c43f88f}}
|
||||
\index{Distance@{Distance}!Distance@{Distance}}
|
||||
\index{Distance@{Distance}!Distance@{Distance}}
|
||||
\doxysubsubsection{\texorpdfstring{Distance()}{Distance()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
|
||||
{\footnotesize\ttfamily Distance\+::\+Distance (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classDistance}{Distance}} \&}]{other }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classDistance_ab4fddf13a19664f2a9b886e6eaeb273d}\label{classDistance_ab4fddf13a19664f2a9b886e6eaeb273d}}
|
||||
\index{Distance@{Distance}!Distance@{Distance}}
|
||||
\index{Distance@{Distance}!Distance@{Distance}}
|
||||
\doxysubsubsection{\texorpdfstring{Distance()}{Distance()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
|
||||
{\footnotesize\ttfamily Distance\+::\+Distance (\begin{DoxyParamCaption}\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T1, }\item[{std\+::vector$<$ int $>$}]{T2 }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classDistance_a933d4ecca7e420ac53945e36d64e9500}\label{classDistance_a933d4ecca7e420ac53945e36d64e9500}}
|
||||
\index{Distance@{Distance}!````~Distance@{$\sim$Distance}}
|
||||
\index{````~Distance@{$\sim$Distance}!Distance@{Distance}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$Distance()}{~Distance()}}
|
||||
{\footnotesize\ttfamily Distance\+::$\sim$\+Distance (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classDistance_a3478b7d15662fd029272f916d9108cf4}\label{classDistance_a3478b7d15662fd029272f916d9108cf4}}
|
||||
\index{Distance@{Distance}!get@{get}}
|
||||
\index{get@{get}!Distance@{Distance}}
|
||||
\doxysubsubsection{\texorpdfstring{get()}{get()}}
|
||||
{\footnotesize\ttfamily double Distance\+::get (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classCostFunction_ac2ff779856e16cb0cd82cd0600bd91a6}{Cost\+Function}}.
|
||||
|
||||
\mbox{\Hypertarget{classDistance_a3e5132f46704cc57c3bf3431a312efb1}\label{classDistance_a3e5132f46704cc57c3bf3431a312efb1}}
|
||||
\index{Distance@{Distance}!setData@{setData}}
|
||||
\index{setData@{setData}!Distance@{Distance}}
|
||||
\doxysubsubsection{\texorpdfstring{setData()}{setData()}}
|
||||
{\footnotesize\ttfamily void Distance\+::set\+Data (\begin{DoxyParamCaption}\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T1, }\item[{std\+::vector$<$ int $>$}]{T2 }\end{DoxyParamCaption})}
|
||||
|
||||
|
||||
|
||||
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{costfunctions_8h}{costfunctions.\+h}}\item
|
||||
\mbox{\hyperlink{costfunctions_8cpp}{costfunctions.\+cpp}}\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/classDistance__coll__graph.md5
Executable file
1
Rapport/latex/classDistance__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
cc2bc013e96ada2458820b236f4e57c6
|
||||
BIN
Rapport/latex/classDistance__coll__graph.pdf
Executable file
BIN
Rapport/latex/classDistance__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classDistance__inherit__graph.md5
Executable file
1
Rapport/latex/classDistance__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
cc2bc013e96ada2458820b236f4e57c6
|
||||
BIN
Rapport/latex/classDistance__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classDistance__inherit__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classKhi2.eps
Executable file
197
Rapport/latex/classKhi2.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 425.531915
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.175000 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(Khi2) cw
|
||||
(CostFunction) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(Khi2) 0.000000 0.000000 box
|
||||
(CostFunction) 0.000000 1.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.000000 0.000000 out
|
||||
solid
|
||||
1 0.000000 1.000000 in
|
||||
BIN
Rapport/latex/classKhi2.pdf
Executable file
BIN
Rapport/latex/classKhi2.pdf
Executable file
Binary file not shown.
91
Rapport/latex/classKhi2.tex
Executable file
91
Rapport/latex/classKhi2.tex
Executable file
@@ -0,0 +1,91 @@
|
||||
\hypertarget{classKhi2}{}\doxysection{Khi2 Class Reference}
|
||||
\label{classKhi2}\index{Khi2@{Khi2}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$costfunctions.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Khi2\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=176pt]{classKhi2__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Khi2\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=176pt]{classKhi2__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classKhi2_aa5768ee12f7dc040b3bed4e89d351906}{Khi2}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classKhi2_ac8dafdf5fa14ef57bdee396f58fde900}{Khi2}} (const \mbox{\hyperlink{classKhi2}{Khi2}} \&)
|
||||
\item
|
||||
\mbox{\hyperlink{classKhi2_ac0230baa8cea3bb97db93444cc96ab2c}{Khi2}} (std\+::vector$<$ std\+::vector$<$ double $>$$>$, std\+::vector$<$ std\+::vector$<$ double $>$$>$)
|
||||
\item
|
||||
\mbox{\hyperlink{classKhi2_a1f2c0fd944611a950179181ba09473d3}{$\sim$\+Khi2}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classKhi2_a00b8fc2e088f8609a417dfe3b905f656}{set\+Data}} (std\+::vector$<$ std\+::vector$<$ double $>$$>$, std\+::vector$<$ std\+::vector$<$ double $>$$>$)
|
||||
\item
|
||||
double \mbox{\hyperlink{classKhi2_a7fe47845f5eda146384a9c56b532a11e}{get}} () const
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classKhi2_aa5768ee12f7dc040b3bed4e89d351906}\label{classKhi2_aa5768ee12f7dc040b3bed4e89d351906}}
|
||||
\index{Khi2@{Khi2}!Khi2@{Khi2}}
|
||||
\index{Khi2@{Khi2}!Khi2@{Khi2}}
|
||||
\doxysubsubsection{\texorpdfstring{Khi2()}{Khi2()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
|
||||
{\footnotesize\ttfamily Khi2\+::\+Khi2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classKhi2_ac8dafdf5fa14ef57bdee396f58fde900}\label{classKhi2_ac8dafdf5fa14ef57bdee396f58fde900}}
|
||||
\index{Khi2@{Khi2}!Khi2@{Khi2}}
|
||||
\index{Khi2@{Khi2}!Khi2@{Khi2}}
|
||||
\doxysubsubsection{\texorpdfstring{Khi2()}{Khi2()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
|
||||
{\footnotesize\ttfamily Khi2\+::\+Khi2 (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classKhi2}{Khi2}} \&}]{other }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classKhi2_ac0230baa8cea3bb97db93444cc96ab2c}\label{classKhi2_ac0230baa8cea3bb97db93444cc96ab2c}}
|
||||
\index{Khi2@{Khi2}!Khi2@{Khi2}}
|
||||
\index{Khi2@{Khi2}!Khi2@{Khi2}}
|
||||
\doxysubsubsection{\texorpdfstring{Khi2()}{Khi2()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
|
||||
{\footnotesize\ttfamily Khi2\+::\+Khi2 (\begin{DoxyParamCaption}\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T1, }\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T2 }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classKhi2_a1f2c0fd944611a950179181ba09473d3}\label{classKhi2_a1f2c0fd944611a950179181ba09473d3}}
|
||||
\index{Khi2@{Khi2}!````~Khi2@{$\sim$Khi2}}
|
||||
\index{````~Khi2@{$\sim$Khi2}!Khi2@{Khi2}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$Khi2()}{~Khi2()}}
|
||||
{\footnotesize\ttfamily Khi2\+::$\sim$\+Khi2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classKhi2_a7fe47845f5eda146384a9c56b532a11e}\label{classKhi2_a7fe47845f5eda146384a9c56b532a11e}}
|
||||
\index{Khi2@{Khi2}!get@{get}}
|
||||
\index{get@{get}!Khi2@{Khi2}}
|
||||
\doxysubsubsection{\texorpdfstring{get()}{get()}}
|
||||
{\footnotesize\ttfamily double Khi2\+::get (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classCostFunction_ac2ff779856e16cb0cd82cd0600bd91a6}{Cost\+Function}}.
|
||||
|
||||
\mbox{\Hypertarget{classKhi2_a00b8fc2e088f8609a417dfe3b905f656}\label{classKhi2_a00b8fc2e088f8609a417dfe3b905f656}}
|
||||
\index{Khi2@{Khi2}!setData@{setData}}
|
||||
\index{setData@{setData}!Khi2@{Khi2}}
|
||||
\doxysubsubsection{\texorpdfstring{setData()}{setData()}}
|
||||
{\footnotesize\ttfamily void Khi2\+::set\+Data (\begin{DoxyParamCaption}\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T1, }\item[{std\+::vector$<$ std\+::vector$<$ double $>$$>$}]{T2 }\end{DoxyParamCaption})}
|
||||
|
||||
|
||||
|
||||
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{costfunctions_8h}{costfunctions.\+h}}\item
|
||||
\mbox{\hyperlink{costfunctions_8cpp}{costfunctions.\+cpp}}\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/classKhi2__coll__graph.md5
Executable file
1
Rapport/latex/classKhi2__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
a84d23bb2296578fb8f21955b2dc5349
|
||||
BIN
Rapport/latex/classKhi2__coll__graph.pdf
Executable file
BIN
Rapport/latex/classKhi2__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classKhi2__inherit__graph.md5
Executable file
1
Rapport/latex/classKhi2__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
a84d23bb2296578fb8f21955b2dc5349
|
||||
BIN
Rapport/latex/classKhi2__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classKhi2__inherit__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classLinearApprox.eps
Executable file
197
Rapport/latex/classLinearApprox.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 412.371134
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.212500 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(LinearApprox) cw
|
||||
(Model) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(LinearApprox) 0.000000 0.000000 box
|
||||
(Model) 0.000000 1.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.000000 0.000000 out
|
||||
solid
|
||||
1 0.000000 1.000000 in
|
||||
BIN
Rapport/latex/classLinearApprox.pdf
Executable file
BIN
Rapport/latex/classLinearApprox.pdf
Executable file
Binary file not shown.
240
Rapport/latex/classLinearApprox.tex
Executable file
240
Rapport/latex/classLinearApprox.tex
Executable file
@@ -0,0 +1,240 @@
|
||||
\hypertarget{classLinearApprox}{}\doxysection{Linear\+Approx Class Reference}
|
||||
\label{classLinearApprox}\index{LinearApprox@{LinearApprox}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$models.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Linear\+Approx\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=175pt]{classLinearApprox__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Linear\+Approx\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=550pt]{classLinearApprox__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classLinearApprox_a51ab3883efe3fb7c03e1a2e80bdc1174}{Linear\+Approx}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classLinearApprox_aaeb90ee14907f6c899393734dd45d9fc}{Linear\+Approx}} (const \mbox{\hyperlink{classLinearApprox}{Linear\+Approx}} \&)
|
||||
\item
|
||||
\mbox{\hyperlink{classLinearApprox_a5696611f7a421347e844dfbbe77ba33b}{Linear\+Approx}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
\mbox{\hyperlink{classLinearApprox_acaec91c065de56a0331a3865ebd7f933}{Linear\+Approx}} (\mbox{\hyperlink{classData}{Data}}, std\+::vector$<$ double $>$)
|
||||
\item
|
||||
\mbox{\hyperlink{classLinearApprox_abeb328c89a0be68eedf3e03c2570e71f}{$\sim$\+Linear\+Approx}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_add22c2da479a38dc69aa66b0ecb05647}{set\+Model\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_a07405c8bd2b5de44df55791e4693a979}{set\+Exp\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_ae859d40c6ce1d78a8a57ebefe069b7ef}{set\+Cost}} (\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$)
|
||||
\item
|
||||
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classLinearApprox_acb7999893726e2f700978cb900fc63fe}{get\+Sol}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_a5cb23c120f3345b4d66594284c3ec72e}{set\+Param}} (std\+::vector$<$ double $>$)
|
||||
\item
|
||||
std\+::vector$<$ double $>$ \mbox{\hyperlink{classLinearApprox_a0d0429599a93dfd3ca8dd8cc84d22f88}{get\+Param}} () const
|
||||
\item
|
||||
std\+::vector$<$ double $>$ \mbox{\hyperlink{classLinearApprox_a9162626b147e73531cca3d9c0fdea346}{get\+Neighbor}} (double) const
|
||||
\item
|
||||
double \mbox{\hyperlink{classLinearApprox_afff1f531c2348c5c7fc0a1ac73727466}{get\+Cost}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_af2932daf011b572ffa41bfc32c545d71}{export\+Model}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_a824b06137f93c3fb0cb6228038e80f01}{display\+Model}} () const
|
||||
\item
|
||||
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classLinearApprox_a4b64b2b35e321d50c555a10f2f24db32}{get\+Exp\+Data}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_ae71b494f044da37063ac3a94e86206c3}{set\+Slope}} (double)
|
||||
\item
|
||||
double \mbox{\hyperlink{classLinearApprox_ac4b77ad91a2d64d692a06034b0f6404f}{get\+Slope}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classLinearApprox_a8fd03dade2e6935323cdf354064c796a}{set\+Offset}} (double)
|
||||
\item
|
||||
double \mbox{\hyperlink{classLinearApprox_a230b21020bf6697278596a9ff3a3471a}{get\+Offset}} () const
|
||||
\end{DoxyCompactItemize}
|
||||
\doxysubsection*{Additional Inherited Members}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classLinearApprox_a51ab3883efe3fb7c03e1a2e80bdc1174}\label{classLinearApprox_a51ab3883efe3fb7c03e1a2e80bdc1174}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{LinearApprox()}{LinearApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
||||
{\footnotesize\ttfamily Linear\+Approx\+::\+Linear\+Approx (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_aaeb90ee14907f6c899393734dd45d9fc}\label{classLinearApprox_aaeb90ee14907f6c899393734dd45d9fc}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{LinearApprox()}{LinearApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
||||
{\footnotesize\ttfamily Linear\+Approx\+::\+Linear\+Approx (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classLinearApprox}{Linear\+Approx}} \&}]{other }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_a5696611f7a421347e844dfbbe77ba33b}\label{classLinearApprox_a5696611f7a421347e844dfbbe77ba33b}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{LinearApprox()}{LinearApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
||||
{\footnotesize\ttfamily Linear\+Approx\+::\+Linear\+Approx (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_acaec91c065de56a0331a3865ebd7f933}\label{classLinearApprox_acaec91c065de56a0331a3865ebd7f933}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\index{LinearApprox@{LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{LinearApprox()}{LinearApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
||||
{\footnotesize\ttfamily Linear\+Approx\+::\+Linear\+Approx (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T, }\item[{std\+::vector$<$ double $>$}]{par }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_abeb328c89a0be68eedf3e03c2570e71f}\label{classLinearApprox_abeb328c89a0be68eedf3e03c2570e71f}}
|
||||
\index{LinearApprox@{LinearApprox}!````~LinearApprox@{$\sim$LinearApprox}}
|
||||
\index{````~LinearApprox@{$\sim$LinearApprox}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$LinearApprox()}{~LinearApprox()}}
|
||||
{\footnotesize\ttfamily Linear\+Approx\+::$\sim$\+Linear\+Approx (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classLinearApprox_a824b06137f93c3fb0cb6228038e80f01}\label{classLinearApprox_a824b06137f93c3fb0cb6228038e80f01}}
|
||||
\index{LinearApprox@{LinearApprox}!displayModel@{displayModel}}
|
||||
\index{displayModel@{displayModel}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{displayModel()}{displayModel()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::display\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a2bc1c492dc8d485f5402f0c23f465808}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_af2932daf011b572ffa41bfc32c545d71}\label{classLinearApprox_af2932daf011b572ffa41bfc32c545d71}}
|
||||
\index{LinearApprox@{LinearApprox}!exportModel@{exportModel}}
|
||||
\index{exportModel@{exportModel}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{exportModel()}{exportModel()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::export\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_adc89c69e73ec65f31e082e4dbe5464a3}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_afff1f531c2348c5c7fc0a1ac73727466}\label{classLinearApprox_afff1f531c2348c5c7fc0a1ac73727466}}
|
||||
\index{LinearApprox@{LinearApprox}!getCost@{getCost}}
|
||||
\index{getCost@{getCost}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getCost()}{getCost()}}
|
||||
{\footnotesize\ttfamily double Linear\+Approx\+::get\+Cost (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a2eb34665190554e9ec728dcc3ad2dd57}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_a4b64b2b35e321d50c555a10f2f24db32}\label{classLinearApprox_a4b64b2b35e321d50c555a10f2f24db32}}
|
||||
\index{LinearApprox@{LinearApprox}!getExpData@{getExpData}}
|
||||
\index{getExpData@{getExpData}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getExpData()}{getExpData()}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} Linear\+Approx\+::get\+Exp\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_a9162626b147e73531cca3d9c0fdea346}\label{classLinearApprox_a9162626b147e73531cca3d9c0fdea346}}
|
||||
\index{LinearApprox@{LinearApprox}!getNeighbor@{getNeighbor}}
|
||||
\index{getNeighbor@{getNeighbor}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getNeighbor()}{getNeighbor()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$ double $>$ Linear\+Approx\+::get\+Neighbor (\begin{DoxyParamCaption}\item[{double}]{ampl }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a5742e9709016b3b839e66bb73c239d15}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_a230b21020bf6697278596a9ff3a3471a}\label{classLinearApprox_a230b21020bf6697278596a9ff3a3471a}}
|
||||
\index{LinearApprox@{LinearApprox}!getOffset@{getOffset}}
|
||||
\index{getOffset@{getOffset}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getOffset()}{getOffset()}}
|
||||
{\footnotesize\ttfamily double Linear\+Approx\+::get\+Offset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_a0d0429599a93dfd3ca8dd8cc84d22f88}\label{classLinearApprox_a0d0429599a93dfd3ca8dd8cc84d22f88}}
|
||||
\index{LinearApprox@{LinearApprox}!getParam@{getParam}}
|
||||
\index{getParam@{getParam}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getParam()}{getParam()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$ double $>$ Linear\+Approx\+::get\+Param (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_aa8a144aa7a9c636e5770b2cfe780dfc1}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_ac4b77ad91a2d64d692a06034b0f6404f}\label{classLinearApprox_ac4b77ad91a2d64d692a06034b0f6404f}}
|
||||
\index{LinearApprox@{LinearApprox}!getSlope@{getSlope}}
|
||||
\index{getSlope@{getSlope}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getSlope()}{getSlope()}}
|
||||
{\footnotesize\ttfamily double Linear\+Approx\+::get\+Slope (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_acb7999893726e2f700978cb900fc63fe}\label{classLinearApprox_acb7999893726e2f700978cb900fc63fe}}
|
||||
\index{LinearApprox@{LinearApprox}!getSol@{getSol}}
|
||||
\index{getSol@{getSol}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getSol()}{getSol()}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} Linear\+Approx\+::get\+Sol (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a77a90ace8590b6360d7602fcd59ec850}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_ae859d40c6ce1d78a8a57ebefe069b7ef}\label{classLinearApprox_ae859d40c6ce1d78a8a57ebefe069b7ef}}
|
||||
\index{LinearApprox@{LinearApprox}!setCost@{setCost}}
|
||||
\index{setCost@{setCost}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setCost()}{setCost()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::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{classLinearApprox_a07405c8bd2b5de44df55791e4693a979}\label{classLinearApprox_a07405c8bd2b5de44df55791e4693a979}}
|
||||
\index{LinearApprox@{LinearApprox}!setExpData@{setExpData}}
|
||||
\index{setExpData@{setExpData}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setExpData()}{setExpData()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::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{classLinearApprox_add22c2da479a38dc69aa66b0ecb05647}\label{classLinearApprox_add22c2da479a38dc69aa66b0ecb05647}}
|
||||
\index{LinearApprox@{LinearApprox}!setModelData@{setModelData}}
|
||||
\index{setModelData@{setModelData}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setModelData()}{setModelData()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::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{classLinearApprox_a8fd03dade2e6935323cdf354064c796a}\label{classLinearApprox_a8fd03dade2e6935323cdf354064c796a}}
|
||||
\index{LinearApprox@{LinearApprox}!setOffset@{setOffset}}
|
||||
\index{setOffset@{setOffset}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setOffset()}{setOffset()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::set\+Offset (\begin{DoxyParamCaption}\item[{double}]{b }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_a5cb23c120f3345b4d66594284c3ec72e}\label{classLinearApprox_a5cb23c120f3345b4d66594284c3ec72e}}
|
||||
\index{LinearApprox@{LinearApprox}!setParam@{setParam}}
|
||||
\index{setParam@{setParam}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setParam()}{setParam()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::set\+Param (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{a }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented from \mbox{\hyperlink{classModel_ac7b297577c2e6220842f2c0aa8fb3728}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classLinearApprox_ae71b494f044da37063ac3a94e86206c3}\label{classLinearApprox_ae71b494f044da37063ac3a94e86206c3}}
|
||||
\index{LinearApprox@{LinearApprox}!setSlope@{setSlope}}
|
||||
\index{setSlope@{setSlope}!LinearApprox@{LinearApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setSlope()}{setSlope()}}
|
||||
{\footnotesize\ttfamily void Linear\+Approx\+::set\+Slope (\begin{DoxyParamCaption}\item[{double}]{a }\end{DoxyParamCaption})}
|
||||
|
||||
|
||||
|
||||
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}
|
||||
1
Rapport/latex/classLinearApprox__coll__graph.md5
Executable file
1
Rapport/latex/classLinearApprox__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
8b75af4056b498793007431650b75b3d
|
||||
BIN
Rapport/latex/classLinearApprox__coll__graph.pdf
Executable file
BIN
Rapport/latex/classLinearApprox__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classLinearApprox__inherit__graph.md5
Executable file
1
Rapport/latex/classLinearApprox__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
fd3fa58df29bb87e45df2aade4ac16fe
|
||||
BIN
Rapport/latex/classLinearApprox__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classLinearApprox__inherit__graph.pdf
Executable file
Binary file not shown.
207
Rapport/latex/classModel.eps
Executable file
207
Rapport/latex/classModel.eps
Executable file
@@ -0,0 +1,207 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 109.289617
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 4.575000 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 3 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(Model) cw
|
||||
(LinearApprox) cw
|
||||
(PolynomialApprox) cw
|
||||
(TSP) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(Model) 1.000000 1.000000 box
|
||||
(LinearApprox) 0.000000 0.000000 box
|
||||
(PolynomialApprox) 1.000000 0.000000 box
|
||||
(TSP) 2.000000 0.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
1 1.000000 0.250000 out
|
||||
solid
|
||||
0.000000 2.000000 1.000000 conn
|
||||
solid
|
||||
0 0.000000 0.750000 in
|
||||
solid
|
||||
0 1.000000 0.750000 in
|
||||
solid
|
||||
0 2.000000 0.750000 in
|
||||
BIN
Rapport/latex/classModel.pdf
Executable file
BIN
Rapport/latex/classModel.pdf
Executable file
Binary file not shown.
221
Rapport/latex/classModel.tex
Executable file
221
Rapport/latex/classModel.tex
Executable file
@@ -0,0 +1,221 @@
|
||||
\hypertarget{classModel}{}\doxysection{Model Class Reference}
|
||||
\label{classModel}\index{Model@{Model}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$models.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Model\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=350pt]{classModel__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Model\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=270pt]{classModel__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classModel_ae3b375de5f6df4faf74a95d64748e048}{Model}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classModel_a0386968ae522e868e3b6028c8b154837}{Model}} (const \mbox{\hyperlink{classModel}{Model}} \&)
|
||||
\item
|
||||
\mbox{\hyperlink{classModel_a025b01adb30f6dabc80e5750e55c111e}{Model}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
virtual \mbox{\hyperlink{classModel_af032d8433c87a0a3a431faf6563a1f03}{$\sim$\+Model}} ()
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classModel_a55049e284aebdb5d8ce738d342a83d90}{set\+Model\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classModel_a4765486c7efeac0e371b655dc9987473}{set\+Exp\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classModel_a22466e6374da46ad87df1d60905e427d}{set\+Cost}} (\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$)
|
||||
\item
|
||||
virtual \mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classModel_a77a90ace8590b6360d7602fcd59ec850}{get\+Sol}} () const =0
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classModel_ac7b297577c2e6220842f2c0aa8fb3728}{set\+Param}} (std\+::vector$<$ double $>$)
|
||||
\item
|
||||
virtual std\+::vector$<$ double $>$ \mbox{\hyperlink{classModel_aa8a144aa7a9c636e5770b2cfe780dfc1}{get\+Param}} () const =0
|
||||
\item
|
||||
virtual std\+::vector$<$ double $>$ \mbox{\hyperlink{classModel_a5742e9709016b3b839e66bb73c239d15}{get\+Neighbor}} (double) const =0
|
||||
\item
|
||||
virtual double \mbox{\hyperlink{classModel_a2eb34665190554e9ec728dcc3ad2dd57}{get\+Cost}} ()=0
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classModel_adc89c69e73ec65f31e082e4dbe5464a3}{export\+Model}} () const =0
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classModel_a2bc1c492dc8d485f5402f0c23f465808}{display\+Model}} () const =0
|
||||
\end{DoxyCompactItemize}
|
||||
\doxysubsection*{Protected Attributes}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classModel_ae8b5b16a6aa2231446c800bba1dbc5c3}{m\+\_\+data}}
|
||||
\item
|
||||
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classModel_af15b84e853d1bfeb51eb63325a3a780a}{exp\+\_\+data}}
|
||||
\item
|
||||
\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$ \mbox{\hyperlink{classModel_a3a23a55c42e9d91ce99d3f8bb827fbd9}{m\+\_\+cost}}
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classModel_ae3b375de5f6df4faf74a95d64748e048}\label{classModel_ae3b375de5f6df4faf74a95d64748e048}}
|
||||
\index{Model@{Model}!Model@{Model}}
|
||||
\index{Model@{Model}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{Model()}{Model()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
|
||||
{\footnotesize\ttfamily Model\+::\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classModel_a0386968ae522e868e3b6028c8b154837}\label{classModel_a0386968ae522e868e3b6028c8b154837}}
|
||||
\index{Model@{Model}!Model@{Model}}
|
||||
\index{Model@{Model}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{Model()}{Model()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
|
||||
{\footnotesize\ttfamily Model\+::\+Model (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classModel}{Model}} \&}]{other }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classModel_a025b01adb30f6dabc80e5750e55c111e}\label{classModel_a025b01adb30f6dabc80e5750e55c111e}}
|
||||
\index{Model@{Model}!Model@{Model}}
|
||||
\index{Model@{Model}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{Model()}{Model()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
|
||||
{\footnotesize\ttfamily Model\+::\+Model (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classModel_af032d8433c87a0a3a431faf6563a1f03}\label{classModel_af032d8433c87a0a3a431faf6563a1f03}}
|
||||
\index{Model@{Model}!````~Model@{$\sim$Model}}
|
||||
\index{````~Model@{$\sim$Model}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$Model()}{~Model()}}
|
||||
{\footnotesize\ttfamily virtual Model\+::$\sim$\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classModel_a2bc1c492dc8d485f5402f0c23f465808}\label{classModel_a2bc1c492dc8d485f5402f0c23f465808}}
|
||||
\index{Model@{Model}!displayModel@{displayModel}}
|
||||
\index{displayModel@{displayModel}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{displayModel()}{displayModel()}}
|
||||
{\footnotesize\ttfamily virtual void Model\+::display\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classTSP_ac25b5470884ae8e06672c9bd8e9abe37}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_aef375908b82ed484d771e9c92fdb598e}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_a824b06137f93c3fb0cb6228038e80f01}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_adc89c69e73ec65f31e082e4dbe5464a3}\label{classModel_adc89c69e73ec65f31e082e4dbe5464a3}}
|
||||
\index{Model@{Model}!exportModel@{exportModel}}
|
||||
\index{exportModel@{exportModel}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{exportModel()}{exportModel()}}
|
||||
{\footnotesize\ttfamily virtual void Model\+::export\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classTSP_a234e5ae530133d781e80c57ce5cbab0e}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_a41c0ecc9346c128962c1adb6d0bcaf3c}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_af2932daf011b572ffa41bfc32c545d71}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_a2eb34665190554e9ec728dcc3ad2dd57}\label{classModel_a2eb34665190554e9ec728dcc3ad2dd57}}
|
||||
\index{Model@{Model}!getCost@{getCost}}
|
||||
\index{getCost@{getCost}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{getCost()}{getCost()}}
|
||||
{\footnotesize\ttfamily virtual double Model\+::get\+Cost (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classTSP_a88a596ca1fc98835a81a8b2e63428327}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_a4c4b2ab53d34e03ca4b914cb84cf5b4e}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_afff1f531c2348c5c7fc0a1ac73727466}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_a5742e9709016b3b839e66bb73c239d15}\label{classModel_a5742e9709016b3b839e66bb73c239d15}}
|
||||
\index{Model@{Model}!getNeighbor@{getNeighbor}}
|
||||
\index{getNeighbor@{getNeighbor}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{getNeighbor()}{getNeighbor()}}
|
||||
{\footnotesize\ttfamily virtual std\+::vector$<$double$>$ Model\+::get\+Neighbor (\begin{DoxyParamCaption}\item[{double}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classTSP_ab97eddebb80d9c8521bc5654d695d07a}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_aa20c8510003c55224b4bb237fd2b95fd}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_a9162626b147e73531cca3d9c0fdea346}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_aa8a144aa7a9c636e5770b2cfe780dfc1}\label{classModel_aa8a144aa7a9c636e5770b2cfe780dfc1}}
|
||||
\index{Model@{Model}!getParam@{getParam}}
|
||||
\index{getParam@{getParam}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{getParam()}{getParam()}}
|
||||
{\footnotesize\ttfamily virtual std\+::vector$<$double$>$ Model\+::get\+Param (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classTSP_a4ac44600ca8b029fda5beb30c233be0b}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_a2be8954337e15407e840bec443268e61}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_a0d0429599a93dfd3ca8dd8cc84d22f88}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_a77a90ace8590b6360d7602fcd59ec850}\label{classModel_a77a90ace8590b6360d7602fcd59ec850}}
|
||||
\index{Model@{Model}!getSol@{getSol}}
|
||||
\index{getSol@{getSol}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{getSol()}{getSol()}}
|
||||
{\footnotesize\ttfamily virtual \mbox{\hyperlink{classData}{Data}} Model\+::get\+Sol (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classTSP_a4badbbda733f8a2337c1f593cc42313d}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_a3b91fc267c2160ea6eaf9f43b6b0599d}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_acb7999893726e2f700978cb900fc63fe}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_a22466e6374da46ad87df1d60905e427d}\label{classModel_a22466e6374da46ad87df1d60905e427d}}
|
||||
\index{Model@{Model}!setCost@{setCost}}
|
||||
\index{setCost@{setCost}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{setCost()}{setCost()}}
|
||||
{\footnotesize\ttfamily void Model\+::set\+Cost (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$}]{f }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented in \mbox{\hyperlink{classTSP_a9b4d44be9257539efc63c9d088bba99b}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_aa4ab97ae60bce807a6cd3e3af05dc6fa}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_ae859d40c6ce1d78a8a57ebefe069b7ef}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_a4765486c7efeac0e371b655dc9987473}\label{classModel_a4765486c7efeac0e371b655dc9987473}}
|
||||
\index{Model@{Model}!setExpData@{setExpData}}
|
||||
\index{setExpData@{setExpData}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{setExpData()}{setExpData()}}
|
||||
{\footnotesize\ttfamily void Model\+::set\+Exp\+Data (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented in \mbox{\hyperlink{classTSP_a3f0ca3c4e220676e0f4dd2df952e05a5}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_aaa2e58d7ed15c376b24d4e58f71a9fba}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_a07405c8bd2b5de44df55791e4693a979}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_a55049e284aebdb5d8ce738d342a83d90}\label{classModel_a55049e284aebdb5d8ce738d342a83d90}}
|
||||
\index{Model@{Model}!setModelData@{setModelData}}
|
||||
\index{setModelData@{setModelData}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{setModelData()}{setModelData()}}
|
||||
{\footnotesize\ttfamily void Model\+::set\+Model\+Data (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T1 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented in \mbox{\hyperlink{classTSP_ad6bf10c3dac3211c9ab3075adb08b8db}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_a9d3f1fc7eb6fa4bd2001f9911a64363a}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_add22c2da479a38dc69aa66b0ecb05647}{Linear\+Approx}}.
|
||||
|
||||
\mbox{\Hypertarget{classModel_ac7b297577c2e6220842f2c0aa8fb3728}\label{classModel_ac7b297577c2e6220842f2c0aa8fb3728}}
|
||||
\index{Model@{Model}!setParam@{setParam}}
|
||||
\index{setParam@{setParam}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{setParam()}{setParam()}}
|
||||
{\footnotesize\ttfamily virtual void Model\+::set\+Param (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented in \mbox{\hyperlink{classTSP_af881bef7213735b3d47b0a7bbd1b17fd}{T\+SP}}, \mbox{\hyperlink{classPolynomialApprox_a188bf0dde349878c63e81ae32fd02ae6}{Polynomial\+Approx}}, and \mbox{\hyperlink{classLinearApprox_a5cb23c120f3345b4d66594284c3ec72e}{Linear\+Approx}}.
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Field Documentation}
|
||||
\mbox{\Hypertarget{classModel_af15b84e853d1bfeb51eb63325a3a780a}\label{classModel_af15b84e853d1bfeb51eb63325a3a780a}}
|
||||
\index{Model@{Model}!exp\_data@{exp\_data}}
|
||||
\index{exp\_data@{exp\_data}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{exp\_data}{exp\_data}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} Model\+::exp\+\_\+data\hspace{0.3cm}{\ttfamily [protected]}}
|
||||
|
||||
\mbox{\Hypertarget{classModel_a3a23a55c42e9d91ce99d3f8bb827fbd9}\label{classModel_a3a23a55c42e9d91ce99d3f8bb827fbd9}}
|
||||
\index{Model@{Model}!m\_cost@{m\_cost}}
|
||||
\index{m\_cost@{m\_cost}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{m\_cost}{m\_cost}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classCostFunction}{Cost\+Function}}$\ast$ Model\+::m\+\_\+cost\hspace{0.3cm}{\ttfamily [protected]}}
|
||||
|
||||
\mbox{\Hypertarget{classModel_ae8b5b16a6aa2231446c800bba1dbc5c3}\label{classModel_ae8b5b16a6aa2231446c800bba1dbc5c3}}
|
||||
\index{Model@{Model}!m\_data@{m\_data}}
|
||||
\index{m\_data@{m\_data}!Model@{Model}}
|
||||
\doxysubsubsection{\texorpdfstring{m\_data}{m\_data}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} Model\+::m\+\_\+data\hspace{0.3cm}{\ttfamily [protected]}}
|
||||
|
||||
|
||||
|
||||
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}
|
||||
1
Rapport/latex/classModel__coll__graph.md5
Executable file
1
Rapport/latex/classModel__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
de449392594c6cbc2fb745394b99a69c
|
||||
BIN
Rapport/latex/classModel__coll__graph.pdf
Executable file
BIN
Rapport/latex/classModel__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classModel__inherit__graph.md5
Executable file
1
Rapport/latex/classModel__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
30abe92e7cbe6048a2db54846bfc6bb6
|
||||
BIN
Rapport/latex/classModel__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classModel__inherit__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classOptimizationMethod.eps
Executable file
197
Rapport/latex/classOptimizationMethod.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 305.343511
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.637500 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(OptimizationMethod) cw
|
||||
(SimulatedAnnealing) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(OptimizationMethod) 0.000000 1.000000 box
|
||||
(SimulatedAnnealing) 0.000000 0.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
1 0.000000 0.250000 out
|
||||
solid
|
||||
0 0.000000 0.750000 in
|
||||
BIN
Rapport/latex/classOptimizationMethod.pdf
Executable file
BIN
Rapport/latex/classOptimizationMethod.pdf
Executable file
Binary file not shown.
112
Rapport/latex/classOptimizationMethod.tex
Executable file
112
Rapport/latex/classOptimizationMethod.tex
Executable file
@@ -0,0 +1,112 @@
|
||||
\hypertarget{classOptimizationMethod}{}\doxysection{Optimization\+Method Class Reference}
|
||||
\label{classOptimizationMethod}\index{OptimizationMethod@{OptimizationMethod}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$methods.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Optimization\+Method\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=205pt]{classOptimizationMethod__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Optimization\+Method\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=550pt]{classOptimizationMethod__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classOptimizationMethod_a8490a7cd0e3334f7e61469377c7d4217}{Optimization\+Method}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classOptimizationMethod_afe937854a5a30a514dc0414342132630}{Optimization\+Method}} (\mbox{\hyperlink{classModel}{Model}} $\ast$A)
|
||||
\item
|
||||
virtual \mbox{\hyperlink{classOptimizationMethod_ab33ddd12499ebedbc73f125a65a21442}{$\sim$\+Optimization\+Method}} ()
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classOptimizationMethod_aa91c542184436065dc1dc2cac3ada639}{initialise}} ()
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classOptimizationMethod_adb01ff9af919dbb2c60eb02512a8c3dc}{execute}} ()
|
||||
\item
|
||||
virtual void \mbox{\hyperlink{classOptimizationMethod_ae74af2b7ddb2720db1bc1554d577a1a6}{finalise}} () const =0
|
||||
\end{DoxyCompactItemize}
|
||||
\doxysubsection*{Protected Attributes}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classModel}{Model}} $\ast$ \mbox{\hyperlink{classOptimizationMethod_a8facd4ec032c5613003238d88a3354de}{To\+Adjust}}
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classOptimizationMethod_a8490a7cd0e3334f7e61469377c7d4217}\label{classOptimizationMethod_a8490a7cd0e3334f7e61469377c7d4217}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!OptimizationMethod@{OptimizationMethod}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{OptimizationMethod()}{OptimizationMethod()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
||||
{\footnotesize\ttfamily Optimization\+Method\+::\+Optimization\+Method (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
\mbox{\Hypertarget{classOptimizationMethod_afe937854a5a30a514dc0414342132630}\label{classOptimizationMethod_afe937854a5a30a514dc0414342132630}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!OptimizationMethod@{OptimizationMethod}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{OptimizationMethod()}{OptimizationMethod()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
||||
{\footnotesize\ttfamily Optimization\+Method\+::\+Optimization\+Method (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classModel}{Model}} $\ast$}]{A }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
\mbox{\Hypertarget{classOptimizationMethod_ab33ddd12499ebedbc73f125a65a21442}\label{classOptimizationMethod_ab33ddd12499ebedbc73f125a65a21442}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!````~OptimizationMethod@{$\sim$OptimizationMethod}}
|
||||
\index{````~OptimizationMethod@{$\sim$OptimizationMethod}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$OptimizationMethod()}{~OptimizationMethod()}}
|
||||
{\footnotesize\ttfamily virtual Optimization\+Method\+::$\sim$\+Optimization\+Method (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classOptimizationMethod_adb01ff9af919dbb2c60eb02512a8c3dc}\label{classOptimizationMethod_adb01ff9af919dbb2c60eb02512a8c3dc}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!execute@{execute}}
|
||||
\index{execute@{execute}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{execute()}{execute()}}
|
||||
{\footnotesize\ttfamily virtual void Optimization\+Method\+::execute (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented in \mbox{\hyperlink{classSimulatedAnnealing_a28b0004727cd54ad17c13c0da33168f1}{Simulated\+Annealing}}.
|
||||
|
||||
\mbox{\Hypertarget{classOptimizationMethod_ae74af2b7ddb2720db1bc1554d577a1a6}\label{classOptimizationMethod_ae74af2b7ddb2720db1bc1554d577a1a6}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!finalise@{finalise}}
|
||||
\index{finalise@{finalise}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{finalise()}{finalise()}}
|
||||
{\footnotesize\ttfamily virtual void Optimization\+Method\+::finalise (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
||||
|
||||
|
||||
|
||||
Implemented in \mbox{\hyperlink{classSimulatedAnnealing_a6c76ea1faede9c60a8dd732b6a26efea}{Simulated\+Annealing}}.
|
||||
|
||||
\mbox{\Hypertarget{classOptimizationMethod_aa91c542184436065dc1dc2cac3ada639}\label{classOptimizationMethod_aa91c542184436065dc1dc2cac3ada639}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!initialise@{initialise}}
|
||||
\index{initialise@{initialise}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{initialise()}{initialise()}}
|
||||
{\footnotesize\ttfamily virtual void Optimization\+Method\+::initialise (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented in \mbox{\hyperlink{classSimulatedAnnealing_a2bb082c85be4814998b9f54ca6f05f7f}{Simulated\+Annealing}}.
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Field Documentation}
|
||||
\mbox{\Hypertarget{classOptimizationMethod_a8facd4ec032c5613003238d88a3354de}\label{classOptimizationMethod_a8facd4ec032c5613003238d88a3354de}}
|
||||
\index{OptimizationMethod@{OptimizationMethod}!ToAdjust@{ToAdjust}}
|
||||
\index{ToAdjust@{ToAdjust}!OptimizationMethod@{OptimizationMethod}}
|
||||
\doxysubsubsection{\texorpdfstring{ToAdjust}{ToAdjust}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classModel}{Model}}$\ast$ Optimization\+Method\+::\+To\+Adjust\hspace{0.3cm}{\ttfamily [protected]}}
|
||||
|
||||
|
||||
|
||||
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{methods_8h}{methods.\+h}}\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/classOptimizationMethod__coll__graph.md5
Executable file
1
Rapport/latex/classOptimizationMethod__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
f170e3a194bcda82362d852d440de2c8
|
||||
BIN
Rapport/latex/classOptimizationMethod__coll__graph.pdf
Executable file
BIN
Rapport/latex/classOptimizationMethod__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classOptimizationMethod__inherit__graph.md5
Executable file
1
Rapport/latex/classOptimizationMethod__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
d401386eb5fa5a8d8f252eb82c9f2474
|
||||
BIN
Rapport/latex/classOptimizationMethod__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classOptimizationMethod__inherit__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classPolynomialApprox.eps
Executable file
197
Rapport/latex/classPolynomialApprox.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 327.868852
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.525000 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(PolynomialApprox) cw
|
||||
(Model) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(PolynomialApprox) 0.000000 0.000000 box
|
||||
(Model) 0.000000 1.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.000000 0.000000 out
|
||||
solid
|
||||
1 0.000000 1.000000 in
|
||||
BIN
Rapport/latex/classPolynomialApprox.pdf
Executable file
BIN
Rapport/latex/classPolynomialApprox.pdf
Executable file
Binary file not shown.
216
Rapport/latex/classPolynomialApprox.tex
Executable file
216
Rapport/latex/classPolynomialApprox.tex
Executable file
@@ -0,0 +1,216 @@
|
||||
\hypertarget{classPolynomialApprox}{}\doxysection{Polynomial\+Approx Class Reference}
|
||||
\label{classPolynomialApprox}\index{PolynomialApprox@{PolynomialApprox}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$models.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Polynomial\+Approx\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=196pt]{classPolynomialApprox__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Polynomial\+Approx\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=550pt]{classPolynomialApprox__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classPolynomialApprox_a8f5b6c8757d2f8cfb761ef3cde56f288}{Polynomial\+Approx}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classPolynomialApprox_af63199eaa21586f4252a5cbc90c4b1fc}{Polynomial\+Approx}} (const \mbox{\hyperlink{classPolynomialApprox}{Polynomial\+Approx}} \&)
|
||||
\item
|
||||
\mbox{\hyperlink{classPolynomialApprox_a838b0af2549309004fc94955863ecdc0}{Polynomial\+Approx}} (int)
|
||||
\item
|
||||
\mbox{\hyperlink{classPolynomialApprox_a5719b872d1e5cd9f868dcdc9d63087d0}{Polynomial\+Approx}} (\mbox{\hyperlink{classData}{Data}}, int)
|
||||
\item
|
||||
\mbox{\hyperlink{classPolynomialApprox_a5c90de964cc41d083c7e3e56460c515c}{Polynomial\+Approx}} (\mbox{\hyperlink{classData}{Data}}, std\+::vector$<$ double $>$)
|
||||
\item
|
||||
\mbox{\hyperlink{classPolynomialApprox_a2eba69a082976122e286ea89a76c5d56}{$\sim$\+Polynomial\+Approx}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classPolynomialApprox_a9d3f1fc7eb6fa4bd2001f9911a64363a}{set\+Model\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
void \mbox{\hyperlink{classPolynomialApprox_aaa2e58d7ed15c376b24d4e58f71a9fba}{set\+Exp\+Data}} (\mbox{\hyperlink{classData}{Data}})
|
||||
\item
|
||||
void \mbox{\hyperlink{classPolynomialApprox_aa4ab97ae60bce807a6cd3e3af05dc6fa}{set\+Cost}} (\mbox{\hyperlink{classCostFunction}{Cost\+Function}} $\ast$)
|
||||
\item
|
||||
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classPolynomialApprox_a3b91fc267c2160ea6eaf9f43b6b0599d}{get\+Sol}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classPolynomialApprox_a188bf0dde349878c63e81ae32fd02ae6}{set\+Param}} (std\+::vector$<$ double $>$)
|
||||
\item
|
||||
std\+::vector$<$ double $>$ \mbox{\hyperlink{classPolynomialApprox_a2be8954337e15407e840bec443268e61}{get\+Param}} () const
|
||||
\item
|
||||
std\+::vector$<$ double $>$ \mbox{\hyperlink{classPolynomialApprox_aa20c8510003c55224b4bb237fd2b95fd}{get\+Neighbor}} (double) const
|
||||
\item
|
||||
double \mbox{\hyperlink{classPolynomialApprox_a4c4b2ab53d34e03ca4b914cb84cf5b4e}{get\+Cost}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classPolynomialApprox_a41c0ecc9346c128962c1adb6d0bcaf3c}{export\+Model}} () const
|
||||
\item
|
||||
void \mbox{\hyperlink{classPolynomialApprox_aef375908b82ed484d771e9c92fdb598e}{display\+Model}} () const
|
||||
\item
|
||||
\mbox{\hyperlink{classData}{Data}} \mbox{\hyperlink{classPolynomialApprox_a58d76e0c865949e3cd4b4041cb52d8f6}{get\+Exp\+Data}} () const
|
||||
\end{DoxyCompactItemize}
|
||||
\doxysubsection*{Additional Inherited Members}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a8f5b6c8757d2f8cfb761ef3cde56f288}\label{classPolynomialApprox_a8f5b6c8757d2f8cfb761ef3cde56f288}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{PolynomialApprox()}{PolynomialApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [1/5]}}
|
||||
{\footnotesize\ttfamily Polynomial\+Approx\+::\+Polynomial\+Approx (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_af63199eaa21586f4252a5cbc90c4b1fc}\label{classPolynomialApprox_af63199eaa21586f4252a5cbc90c4b1fc}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{PolynomialApprox()}{PolynomialApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [2/5]}}
|
||||
{\footnotesize\ttfamily Polynomial\+Approx\+::\+Polynomial\+Approx (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classPolynomialApprox}{Polynomial\+Approx}} \&}]{other }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a838b0af2549309004fc94955863ecdc0}\label{classPolynomialApprox_a838b0af2549309004fc94955863ecdc0}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{PolynomialApprox()}{PolynomialApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [3/5]}}
|
||||
{\footnotesize\ttfamily Polynomial\+Approx\+::\+Polynomial\+Approx (\begin{DoxyParamCaption}\item[{int}]{n }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a5719b872d1e5cd9f868dcdc9d63087d0}\label{classPolynomialApprox_a5719b872d1e5cd9f868dcdc9d63087d0}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{PolynomialApprox()}{PolynomialApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [4/5]}}
|
||||
{\footnotesize\ttfamily Polynomial\+Approx\+::\+Polynomial\+Approx (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T, }\item[{int}]{n }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a5c90de964cc41d083c7e3e56460c515c}\label{classPolynomialApprox_a5c90de964cc41d083c7e3e56460c515c}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{PolynomialApprox()}{PolynomialApprox()}\hspace{0.1cm}{\footnotesize\ttfamily [5/5]}}
|
||||
{\footnotesize\ttfamily Polynomial\+Approx\+::\+Polynomial\+Approx (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classData}{Data}}}]{T, }\item[{std\+::vector$<$ double $>$}]{a }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a2eba69a082976122e286ea89a76c5d56}\label{classPolynomialApprox_a2eba69a082976122e286ea89a76c5d56}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!````~PolynomialApprox@{$\sim$PolynomialApprox}}
|
||||
\index{````~PolynomialApprox@{$\sim$PolynomialApprox}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$PolynomialApprox()}{~PolynomialApprox()}}
|
||||
{\footnotesize\ttfamily Polynomial\+Approx\+::$\sim$\+Polynomial\+Approx (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classPolynomialApprox_aef375908b82ed484d771e9c92fdb598e}\label{classPolynomialApprox_aef375908b82ed484d771e9c92fdb598e}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!displayModel@{displayModel}}
|
||||
\index{displayModel@{displayModel}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{displayModel()}{displayModel()}}
|
||||
{\footnotesize\ttfamily void Polynomial\+Approx\+::display\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a2bc1c492dc8d485f5402f0c23f465808}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a41c0ecc9346c128962c1adb6d0bcaf3c}\label{classPolynomialApprox_a41c0ecc9346c128962c1adb6d0bcaf3c}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!exportModel@{exportModel}}
|
||||
\index{exportModel@{exportModel}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{exportModel()}{exportModel()}}
|
||||
{\footnotesize\ttfamily void Polynomial\+Approx\+::export\+Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_adc89c69e73ec65f31e082e4dbe5464a3}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a4c4b2ab53d34e03ca4b914cb84cf5b4e}\label{classPolynomialApprox_a4c4b2ab53d34e03ca4b914cb84cf5b4e}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!getCost@{getCost}}
|
||||
\index{getCost@{getCost}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getCost()}{getCost()}}
|
||||
{\footnotesize\ttfamily double Polynomial\+Approx\+::get\+Cost (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a2eb34665190554e9ec728dcc3ad2dd57}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a58d76e0c865949e3cd4b4041cb52d8f6}\label{classPolynomialApprox_a58d76e0c865949e3cd4b4041cb52d8f6}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!getExpData@{getExpData}}
|
||||
\index{getExpData@{getExpData}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getExpData()}{getExpData()}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} Polynomial\+Approx\+::get\+Exp\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_aa20c8510003c55224b4bb237fd2b95fd}\label{classPolynomialApprox_aa20c8510003c55224b4bb237fd2b95fd}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!getNeighbor@{getNeighbor}}
|
||||
\index{getNeighbor@{getNeighbor}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getNeighbor()}{getNeighbor()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$ double $>$ Polynomial\+Approx\+::get\+Neighbor (\begin{DoxyParamCaption}\item[{double}]{ampl }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a5742e9709016b3b839e66bb73c239d15}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a2be8954337e15407e840bec443268e61}\label{classPolynomialApprox_a2be8954337e15407e840bec443268e61}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!getParam@{getParam}}
|
||||
\index{getParam@{getParam}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getParam()}{getParam()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$ double $>$ Polynomial\+Approx\+::get\+Param (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_aa8a144aa7a9c636e5770b2cfe780dfc1}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_a3b91fc267c2160ea6eaf9f43b6b0599d}\label{classPolynomialApprox_a3b91fc267c2160ea6eaf9f43b6b0599d}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!getSol@{getSol}}
|
||||
\index{getSol@{getSol}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{getSol()}{getSol()}}
|
||||
{\footnotesize\ttfamily \mbox{\hyperlink{classData}{Data}} Polynomial\+Approx\+::get\+Sol (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classModel_a77a90ace8590b6360d7602fcd59ec850}{Model}}.
|
||||
|
||||
\mbox{\Hypertarget{classPolynomialApprox_aa4ab97ae60bce807a6cd3e3af05dc6fa}\label{classPolynomialApprox_aa4ab97ae60bce807a6cd3e3af05dc6fa}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!setCost@{setCost}}
|
||||
\index{setCost@{setCost}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setCost()}{setCost()}}
|
||||
{\footnotesize\ttfamily void Polynomial\+Approx\+::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{classPolynomialApprox_aaa2e58d7ed15c376b24d4e58f71a9fba}\label{classPolynomialApprox_aaa2e58d7ed15c376b24d4e58f71a9fba}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!setExpData@{setExpData}}
|
||||
\index{setExpData@{setExpData}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setExpData()}{setExpData()}}
|
||||
{\footnotesize\ttfamily void Polynomial\+Approx\+::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{classPolynomialApprox_a9d3f1fc7eb6fa4bd2001f9911a64363a}\label{classPolynomialApprox_a9d3f1fc7eb6fa4bd2001f9911a64363a}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!setModelData@{setModelData}}
|
||||
\index{setModelData@{setModelData}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setModelData()}{setModelData()}}
|
||||
{\footnotesize\ttfamily void Polynomial\+Approx\+::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{classPolynomialApprox_a188bf0dde349878c63e81ae32fd02ae6}\label{classPolynomialApprox_a188bf0dde349878c63e81ae32fd02ae6}}
|
||||
\index{PolynomialApprox@{PolynomialApprox}!setParam@{setParam}}
|
||||
\index{setParam@{setParam}!PolynomialApprox@{PolynomialApprox}}
|
||||
\doxysubsubsection{\texorpdfstring{setParam()}{setParam()}}
|
||||
{\footnotesize\ttfamily void Polynomial\+Approx\+::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}
|
||||
1
Rapport/latex/classPolynomialApprox__coll__graph.md5
Executable file
1
Rapport/latex/classPolynomialApprox__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
f4d2fc27cd473883e5c63848661b2b68
|
||||
BIN
Rapport/latex/classPolynomialApprox__coll__graph.pdf
Executable file
BIN
Rapport/latex/classPolynomialApprox__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classPolynomialApprox__inherit__graph.md5
Executable file
1
Rapport/latex/classPolynomialApprox__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
5ece7ac61b5de1b1f900733a3db2b34b
|
||||
BIN
Rapport/latex/classPolynomialApprox__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classPolynomialApprox__inherit__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classSimulatedAnnealing.eps
Executable file
197
Rapport/latex/classSimulatedAnnealing.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 305.343511
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.637500 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(SimulatedAnnealing) cw
|
||||
(OptimizationMethod) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(SimulatedAnnealing) 0.000000 0.000000 box
|
||||
(OptimizationMethod) 0.000000 1.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.000000 0.000000 out
|
||||
solid
|
||||
1 0.000000 1.000000 in
|
||||
BIN
Rapport/latex/classSimulatedAnnealing.pdf
Executable file
BIN
Rapport/latex/classSimulatedAnnealing.pdf
Executable file
Binary file not shown.
108
Rapport/latex/classSimulatedAnnealing.tex
Executable file
108
Rapport/latex/classSimulatedAnnealing.tex
Executable file
@@ -0,0 +1,108 @@
|
||||
\hypertarget{classSimulatedAnnealing}{}\doxysection{Simulated\+Annealing Class Reference}
|
||||
\label{classSimulatedAnnealing}\index{SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
|
||||
|
||||
{\ttfamily \#include $<$methods.\+h$>$}
|
||||
|
||||
|
||||
|
||||
Inheritance diagram for Simulated\+Annealing\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=205pt]{classSimulatedAnnealing__inherit__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
Collaboration diagram for Simulated\+Annealing\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=550pt]{classSimulatedAnnealing__coll__graph}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Public Member Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{classSimulatedAnnealing_af5a6ed64727a4594f347289527ff8b9a}{Simulated\+Annealing}} ()
|
||||
\item
|
||||
\mbox{\hyperlink{classSimulatedAnnealing_a58dfcf46592210e4ea5372bf39b16042}{Simulated\+Annealing}} (\mbox{\hyperlink{classModel}{Model}} $\ast$)
|
||||
\item
|
||||
\mbox{\hyperlink{classSimulatedAnnealing_aa3dbfb1da9bf3f9e1ce023bbd1505b99}{Simulated\+Annealing}} (\mbox{\hyperlink{classModel}{Model}} $\ast$, double, double, double, double, int, int)
|
||||
\item
|
||||
\mbox{\hyperlink{classSimulatedAnnealing_ab8630a5a98e257bab37f9b998329e397}{$\sim$\+Simulated\+Annealing}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classSimulatedAnnealing_a2bb082c85be4814998b9f54ca6f05f7f}{initialise}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classSimulatedAnnealing_a28b0004727cd54ad17c13c0da33168f1}{execute}} ()
|
||||
\item
|
||||
void \mbox{\hyperlink{classSimulatedAnnealing_a6c76ea1faede9c60a8dd732b6a26efea}{finalise}} () const
|
||||
\end{DoxyCompactItemize}
|
||||
\doxysubsection*{Additional Inherited Members}
|
||||
|
||||
|
||||
\doxysubsection{Constructor \& Destructor Documentation}
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_af5a6ed64727a4594f347289527ff8b9a}\label{classSimulatedAnnealing_af5a6ed64727a4594f347289527ff8b9a}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{SimulatedAnnealing()}{SimulatedAnnealing()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
|
||||
{\footnotesize\ttfamily Simulated\+Annealing\+::\+Simulated\+Annealing (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_a58dfcf46592210e4ea5372bf39b16042}\label{classSimulatedAnnealing_a58dfcf46592210e4ea5372bf39b16042}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{SimulatedAnnealing()}{SimulatedAnnealing()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
|
||||
{\footnotesize\ttfamily Simulated\+Annealing\+::\+Simulated\+Annealing (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classModel}{Model}} $\ast$}]{A }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_aa3dbfb1da9bf3f9e1ce023bbd1505b99}\label{classSimulatedAnnealing_aa3dbfb1da9bf3f9e1ce023bbd1505b99}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{SimulatedAnnealing()}{SimulatedAnnealing()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
|
||||
{\footnotesize\ttfamily Simulated\+Annealing\+::\+Simulated\+Annealing (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classModel}{Model}} $\ast$}]{A, }\item[{double}]{a, }\item[{double}]{t, }\item[{double}]{t\+\_\+e, }\item[{double}]{c, }\item[{int}]{l, }\item[{int}]{m }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_ab8630a5a98e257bab37f9b998329e397}\label{classSimulatedAnnealing_ab8630a5a98e257bab37f9b998329e397}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!````~SimulatedAnnealing@{$\sim$SimulatedAnnealing}}
|
||||
\index{````~SimulatedAnnealing@{$\sim$SimulatedAnnealing}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{$\sim$SimulatedAnnealing()}{~SimulatedAnnealing()}}
|
||||
{\footnotesize\ttfamily Simulated\+Annealing\+::$\sim$\+Simulated\+Annealing (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Member Function Documentation}
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_a28b0004727cd54ad17c13c0da33168f1}\label{classSimulatedAnnealing_a28b0004727cd54ad17c13c0da33168f1}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!execute@{execute}}
|
||||
\index{execute@{execute}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{execute()}{execute()}}
|
||||
{\footnotesize\ttfamily void Simulated\+Annealing\+::execute (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented from \mbox{\hyperlink{classOptimizationMethod_adb01ff9af919dbb2c60eb02512a8c3dc}{Optimization\+Method}}.
|
||||
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_a6c76ea1faede9c60a8dd732b6a26efea}\label{classSimulatedAnnealing_a6c76ea1faede9c60a8dd732b6a26efea}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!finalise@{finalise}}
|
||||
\index{finalise@{finalise}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{finalise()}{finalise()}}
|
||||
{\footnotesize\ttfamily void Simulated\+Annealing\+::finalise (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Implements \mbox{\hyperlink{classOptimizationMethod_ae74af2b7ddb2720db1bc1554d577a1a6}{Optimization\+Method}}.
|
||||
|
||||
\mbox{\Hypertarget{classSimulatedAnnealing_a2bb082c85be4814998b9f54ca6f05f7f}\label{classSimulatedAnnealing_a2bb082c85be4814998b9f54ca6f05f7f}}
|
||||
\index{SimulatedAnnealing@{SimulatedAnnealing}!initialise@{initialise}}
|
||||
\index{initialise@{initialise}!SimulatedAnnealing@{SimulatedAnnealing}}
|
||||
\doxysubsubsection{\texorpdfstring{initialise()}{initialise()}}
|
||||
{\footnotesize\ttfamily void Simulated\+Annealing\+::initialise (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}
|
||||
|
||||
|
||||
|
||||
Reimplemented from \mbox{\hyperlink{classOptimizationMethod_aa91c542184436065dc1dc2cac3ada639}{Optimization\+Method}}.
|
||||
|
||||
|
||||
|
||||
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\mbox{\hyperlink{methods_8h}{methods.\+h}}\item
|
||||
\mbox{\hyperlink{methods_8cpp}{methods.\+cpp}}\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/classSimulatedAnnealing__coll__graph.md5
Executable file
1
Rapport/latex/classSimulatedAnnealing__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
ae9e6f75b0c6499b3919cd3473182fe2
|
||||
BIN
Rapport/latex/classSimulatedAnnealing__coll__graph.pdf
Executable file
BIN
Rapport/latex/classSimulatedAnnealing__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classSimulatedAnnealing__inherit__graph.md5
Executable file
1
Rapport/latex/classSimulatedAnnealing__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
a2a421d520898c4f5786930d002c512b
|
||||
BIN
Rapport/latex/classSimulatedAnnealing__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classSimulatedAnnealing__inherit__graph.pdf
Executable file
Binary file not shown.
197
Rapport/latex/classTSP.eps
Executable file
197
Rapport/latex/classTSP.eps
Executable file
@@ -0,0 +1,197 @@
|
||||
%!PS-Adobe-2.0 EPSF-2.0
|
||||
%%Title: ClassName
|
||||
%%Creator: Doxygen
|
||||
%%CreationDate: Time
|
||||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 727.272727
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
%%EndComments
|
||||
|
||||
% ----- variables -----
|
||||
|
||||
/boxwidth 0 def
|
||||
/boxheight 40 def
|
||||
/fontheight 24 def
|
||||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 0.687500 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
% ----- procedures -----
|
||||
|
||||
/dotted { [1 4] 0 setdash } def
|
||||
/dashed { [5] 0 setdash } def
|
||||
/solid { [] 0 setdash } def
|
||||
|
||||
/max % result = MAX(arg1,arg2)
|
||||
{
|
||||
/a exch def
|
||||
/b exch def
|
||||
a b gt {a} {b} ifelse
|
||||
} def
|
||||
|
||||
/xoffset % result = MAX(0,(scalefactor-(boxwidth*cols+distx*(cols-1)))/2)
|
||||
{
|
||||
0 scalefactor boxwidth cols mul distx cols 1 sub mul add sub 2 div max
|
||||
} def
|
||||
|
||||
/cw % boxwidth = MAX(boxwidth, stringwidth(arg1))
|
||||
{
|
||||
/str exch def
|
||||
/boxwidth boxwidth str stringwidth pop max def
|
||||
} def
|
||||
|
||||
/box % draws a box with text 'arg1' at grid pos (arg2,arg3)
|
||||
{ gsave
|
||||
2 setlinewidth
|
||||
newpath
|
||||
exch xspacing mul xoffset add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
boxwidth 0 rlineto
|
||||
0 boxheight rlineto
|
||||
boxwidth neg 0 rlineto
|
||||
0 boxheight neg rlineto
|
||||
closepath
|
||||
dup stringwidth pop neg boxwidth add 2 div
|
||||
boxheight fontheight 2 div sub 2 div
|
||||
rmoveto show stroke
|
||||
grestore
|
||||
} def
|
||||
|
||||
/mark
|
||||
{ newpath
|
||||
exch xspacing mul xoffset add boxwidth add
|
||||
exch yspacing mul
|
||||
moveto
|
||||
0 boxheight 4 div rlineto
|
||||
boxheight neg 4 div boxheight neg 4 div rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/arrow
|
||||
{ newpath
|
||||
moveto
|
||||
3 -8 rlineto
|
||||
-6 0 rlineto
|
||||
3 8 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} def
|
||||
|
||||
/out % draws an output connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight add
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/in % draws an input connector for the block at (arg1,arg2)
|
||||
{
|
||||
newpath
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul disty 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
x y moveto
|
||||
0 disty 2 div rlineto
|
||||
stroke
|
||||
1 eq { x y disty 2 div add arrow } if
|
||||
} def
|
||||
|
||||
/hedge
|
||||
{
|
||||
exch xspacing mul xoffset add boxwidth 2 div add
|
||||
exch yspacing mul boxheight 2 div sub
|
||||
/y exch def
|
||||
/x exch def
|
||||
newpath
|
||||
x y moveto
|
||||
boxwidth 2 div distx add 0 rlineto
|
||||
stroke
|
||||
1 eq
|
||||
{ newpath x boxwidth 2 div distx add add y moveto
|
||||
-8 3 rlineto
|
||||
0 -6 rlineto
|
||||
8 3 rlineto
|
||||
closepath
|
||||
eofill
|
||||
stroke
|
||||
} if
|
||||
} def
|
||||
|
||||
/vedge
|
||||
{
|
||||
/ye exch def
|
||||
/ys exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add dup
|
||||
ys yspacing mul boxheight 2 div sub
|
||||
moveto
|
||||
ye yspacing mul boxheight 2 div sub
|
||||
lineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
/conn % connections the blocks from col 'arg1' to 'arg2' of row 'arg3'
|
||||
{
|
||||
/ys exch def
|
||||
/xe exch def
|
||||
/xs exch def
|
||||
newpath
|
||||
xs xspacing mul xoffset add boxwidth 2 div add
|
||||
ys yspacing mul disty 2 div sub
|
||||
moveto
|
||||
xspacing xe xs sub mul 0
|
||||
rlineto
|
||||
stroke
|
||||
} def
|
||||
|
||||
% ----- main ------
|
||||
|
||||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(TSP) cw
|
||||
(Model) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
/scalefactor
|
||||
boxwidth cols mul distx cols 1 sub mul add
|
||||
boxheight rows mul disty rows 1 sub mul add boundaspect mul
|
||||
max def
|
||||
boundx scalefactor div boundy scalefactor div scale
|
||||
|
||||
% ----- classes -----
|
||||
|
||||
(TSP) 0.000000 0.000000 box
|
||||
(Model) 0.000000 1.000000 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.000000 0.000000 out
|
||||
solid
|
||||
1 0.000000 1.000000 in
|
||||
BIN
Rapport/latex/classTSP.pdf
Executable file
BIN
Rapport/latex/classTSP.pdf
Executable file
Binary file not shown.
224
Rapport/latex/classTSP.tex
Executable file
224
Rapport/latex/classTSP.tex
Executable file
@@ -0,0 +1,224 @@
|
||||
\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}
|
||||
1
Rapport/latex/classTSP__coll__graph.md5
Executable file
1
Rapport/latex/classTSP__coll__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
3b9ea62b851f87c2737f348f58a419ca
|
||||
BIN
Rapport/latex/classTSP__coll__graph.pdf
Executable file
BIN
Rapport/latex/classTSP__coll__graph.pdf
Executable file
Binary file not shown.
1
Rapport/latex/classTSP__inherit__graph.md5
Executable file
1
Rapport/latex/classTSP__inherit__graph.md5
Executable file
@@ -0,0 +1 @@
|
||||
3fda0ffd7855ede979981b0cae58ecf2
|
||||
BIN
Rapport/latex/classTSP__inherit__graph.pdf
Executable file
BIN
Rapport/latex/classTSP__inherit__graph.pdf
Executable file
Binary file not shown.
12
Rapport/latex/costfunctions_8cpp.tex
Executable file
12
Rapport/latex/costfunctions_8cpp.tex
Executable file
@@ -0,0 +1,12 @@
|
||||
\hypertarget{costfunctions_8cpp}{}\doxysection{costfunctions.\+cpp File Reference}
|
||||
\label{costfunctions_8cpp}\index{costfunctions.cpp@{costfunctions.cpp}}
|
||||
{\ttfamily \#include $<$math.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$vector$>$}\newline
|
||||
{\ttfamily \#include \char`\"{}costfunctions.\+h\char`\"{}}\newline
|
||||
Include dependency graph for costfunctions.\+cpp\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=267pt]{costfunctions_8cpp__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
1
Rapport/latex/costfunctions_8cpp__incl.md5
Executable file
1
Rapport/latex/costfunctions_8cpp__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
43a9667c0bb68b8e040fc975bfb730a9
|
||||
BIN
Rapport/latex/costfunctions_8cpp__incl.pdf
Executable file
BIN
Rapport/latex/costfunctions_8cpp__incl.pdf
Executable file
Binary file not shown.
26
Rapport/latex/costfunctions_8h.tex
Executable file
26
Rapport/latex/costfunctions_8h.tex
Executable file
@@ -0,0 +1,26 @@
|
||||
\hypertarget{costfunctions_8h}{}\doxysection{costfunctions.\+h File Reference}
|
||||
\label{costfunctions_8h}\index{costfunctions.h@{costfunctions.h}}
|
||||
{\ttfamily \#include $<$vector$>$}\newline
|
||||
Include dependency graph for costfunctions.\+h\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=163pt]{costfunctions_8h__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
This graph shows which files directly or indirectly include this file\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=350pt]{costfunctions_8h__dep__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Data Structures}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
class \mbox{\hyperlink{classCostFunction}{Cost\+Function}}
|
||||
\item
|
||||
class \mbox{\hyperlink{classKhi2}{Khi2}}
|
||||
\item
|
||||
class \mbox{\hyperlink{classDistance}{Distance}}
|
||||
\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/costfunctions_8h__dep__incl.md5
Executable file
1
Rapport/latex/costfunctions_8h__dep__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
bb62674763cc1ea5da2cef24c3063e4c
|
||||
BIN
Rapport/latex/costfunctions_8h__dep__incl.pdf
Executable file
BIN
Rapport/latex/costfunctions_8h__dep__incl.pdf
Executable file
Binary file not shown.
1
Rapport/latex/costfunctions_8h__incl.md5
Executable file
1
Rapport/latex/costfunctions_8h__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
5cc091f21d12818f92513369559ce958
|
||||
BIN
Rapport/latex/costfunctions_8h__incl.pdf
Executable file
BIN
Rapport/latex/costfunctions_8h__incl.pdf
Executable file
Binary file not shown.
17
Rapport/latex/data_8cpp.tex
Executable file
17
Rapport/latex/data_8cpp.tex
Executable file
@@ -0,0 +1,17 @@
|
||||
\hypertarget{data_8cpp}{}\doxysection{data.\+cpp File Reference}
|
||||
\label{data_8cpp}\index{data.cpp@{data.cpp}}
|
||||
{\ttfamily \#include $<$vector$>$}\newline
|
||||
{\ttfamily \#include $<$math.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$iostream$>$}\newline
|
||||
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$time.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$fstream$>$}\newline
|
||||
{\ttfamily \#include \char`\"{}data.\+h\char`\"{}}\newline
|
||||
Include dependency graph for data.\+cpp\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=350pt]{data_8cpp__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
1
Rapport/latex/data_8cpp__incl.md5
Executable file
1
Rapport/latex/data_8cpp__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
e6e9888d15447c5eaa176ae60fbeaaab
|
||||
BIN
Rapport/latex/data_8cpp__incl.pdf
Executable file
BIN
Rapport/latex/data_8cpp__incl.pdf
Executable file
Binary file not shown.
23
Rapport/latex/data_8h.tex
Executable file
23
Rapport/latex/data_8h.tex
Executable file
@@ -0,0 +1,23 @@
|
||||
\hypertarget{data_8h}{}\doxysection{data.\+h File Reference}
|
||||
\label{data_8h}\index{data.h@{data.h}}
|
||||
{\ttfamily \#include $<$vector$>$}\newline
|
||||
{\ttfamily \#include $<$string$>$}\newline
|
||||
Include dependency graph for data.\+h\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=182pt]{data_8h__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
This graph shows which files directly or indirectly include this file\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=350pt]{data_8h__dep__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Data Structures}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
class \mbox{\hyperlink{classData}{Data}}
|
||||
\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/data_8h__dep__incl.md5
Executable file
1
Rapport/latex/data_8h__dep__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
18ffcd20b1d5d9533104cdb9f737ba3b
|
||||
BIN
Rapport/latex/data_8h__dep__incl.pdf
Executable file
BIN
Rapport/latex/data_8h__dep__incl.pdf
Executable file
Binary file not shown.
1
Rapport/latex/data_8h__incl.md5
Executable file
1
Rapport/latex/data_8h__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
22a14194c21ba1c6f6fb27c9703240ad
|
||||
BIN
Rapport/latex/data_8h__incl.pdf
Executable file
BIN
Rapport/latex/data_8h__incl.pdf
Executable file
Binary file not shown.
576
Rapport/latex/doxygen.sty
Executable file
576
Rapport/latex/doxygen.sty
Executable file
@@ -0,0 +1,576 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{doxygen}
|
||||
|
||||
% Packages used by this style file
|
||||
\RequirePackage{alltt}
|
||||
%%\RequirePackage{array} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage{float}
|
||||
%%\RequirePackage{ifthen} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package
|
||||
\RequirePackage{verbatim}
|
||||
\RequirePackage[table]{xcolor}
|
||||
\RequirePackage{longtable_doxygen}
|
||||
\RequirePackage{tabu_doxygen}
|
||||
\RequirePackage{fancyvrb}
|
||||
\RequirePackage{tabularx}
|
||||
\RequirePackage{multirow}
|
||||
\RequirePackage{hanging}
|
||||
\RequirePackage{ifpdf}
|
||||
\RequirePackage{adjustbox}
|
||||
\RequirePackage{amssymb}
|
||||
\RequirePackage{stackengine}
|
||||
\RequirePackage[normalem]{ulem} % for strikeout, but don't modify emphasis
|
||||
|
||||
%---------- Internal commands used in this style file ----------------
|
||||
|
||||
\newcommand{\ensurespace}[1]{%
|
||||
\begingroup%
|
||||
\setlength{\dimen@}{#1}%
|
||||
\vskip\z@\@plus\dimen@%
|
||||
\penalty -100\vskip\z@\@plus -\dimen@%
|
||||
\vskip\dimen@%
|
||||
\penalty 9999%
|
||||
\vskip -\dimen@%
|
||||
\vskip\z@skip% hide the previous |\vskip| from |\addvspace|
|
||||
\endgroup%
|
||||
}
|
||||
|
||||
\newcommand{\DoxyHorRuler}[1]{%
|
||||
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
||||
\ifthenelse{#1=0}%
|
||||
{%
|
||||
\hrule%
|
||||
}%
|
||||
{%
|
||||
\hrulefilll%
|
||||
}%
|
||||
}
|
||||
\newcommand{\DoxyLabelFont}{}
|
||||
\newcommand{\entrylabel}[1]{%
|
||||
{%
|
||||
\parbox[b]{\labelwidth-4pt}{%
|
||||
\makebox[0pt][l]{\DoxyLabelFont#1}%
|
||||
\vspace{1.5\baselineskip}%
|
||||
}%
|
||||
}%
|
||||
}
|
||||
|
||||
\newenvironment{DoxyDesc}[1]{%
|
||||
\ensurespace{4\baselineskip}%
|
||||
\begin{list}{}{%
|
||||
\settowidth{\labelwidth}{20pt}%
|
||||
%\setlength{\parsep}{0pt}%
|
||||
\setlength{\itemsep}{0pt}%
|
||||
\setlength{\leftmargin}{\labelwidth+\labelsep}%
|
||||
\renewcommand{\makelabel}{\entrylabel}%
|
||||
}%
|
||||
\item[#1]%
|
||||
}{%
|
||||
\end{list}%
|
||||
}
|
||||
|
||||
\newsavebox{\xrefbox}
|
||||
\newlength{\xreflength}
|
||||
\newcommand{\xreflabel}[1]{%
|
||||
\sbox{\xrefbox}{#1}%
|
||||
\setlength{\xreflength}{\wd\xrefbox}%
|
||||
\ifthenelse{\xreflength>\labelwidth}{%
|
||||
\begin{minipage}{\textwidth}%
|
||||
\setlength{\parindent}{0pt}%
|
||||
\hangindent=15pt\bfseries #1\vspace{1.2\itemsep}%
|
||||
\end{minipage}%
|
||||
}{%
|
||||
\parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}%
|
||||
}%
|
||||
}
|
||||
|
||||
%---------- Commands used by doxygen LaTeX output generator ----------
|
||||
|
||||
% Used by <pre> ... </pre>
|
||||
\newenvironment{DoxyPre}{%
|
||||
\small%
|
||||
\begin{alltt}%
|
||||
}{%
|
||||
\end{alltt}%
|
||||
\normalsize%
|
||||
}
|
||||
% Necessary for redefining not defined characters, i.e. "Replacement Character" in tex output.
|
||||
\newlength{\CodeWidthChar}
|
||||
\newlength{\CodeHeightChar}
|
||||
\settowidth{\CodeWidthChar}{?}
|
||||
\settoheight{\CodeHeightChar}{?}
|
||||
% Necessary for hanging indent
|
||||
\newlength{\DoxyCodeWidth}
|
||||
|
||||
\newcommand\DoxyCodeLine[1]{\hangpara{\DoxyCodeWidth}{1}{#1}\par}
|
||||
|
||||
\newcommand\NiceSpace{%
|
||||
\discretionary{}{\kern\fontdimen2\font}{\kern\fontdimen2\font}%
|
||||
}
|
||||
|
||||
% Used by @code ... @endcode
|
||||
\newenvironment{DoxyCode}[1]{%
|
||||
\par%
|
||||
\scriptsize%
|
||||
\normalfont\ttfamily%
|
||||
\rightskip0pt plus 1fil%
|
||||
\settowidth{\DoxyCodeWidth}{000000}%
|
||||
\settowidth{\CodeWidthChar}{?}%
|
||||
\settoheight{\CodeHeightChar}{?}%
|
||||
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
||||
\ifthenelse{\equal{#1}{0}}
|
||||
{
|
||||
{\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces%
|
||||
}
|
||||
{
|
||||
{\lccode`~32 \lowercase{\global\let~}}\obeyspaces%
|
||||
}
|
||||
|
||||
}{%
|
||||
\normalfont%
|
||||
\normalsize%
|
||||
\settowidth{\CodeWidthChar}{?}%
|
||||
\settoheight{\CodeHeightChar}{?}%
|
||||
}
|
||||
|
||||
% Redefining not defined characters, i.e. "Replacement Character" in tex output.
|
||||
\def\ucr{\adjustbox{width=\CodeWidthChar,height=\CodeHeightChar}{\stackinset{c}{}{c}{-.2pt}{%
|
||||
\textcolor{white}{\sffamily\bfseries\small ?}}{%
|
||||
\rotatebox{45}{$\blacksquare$}}}}
|
||||
|
||||
% Used by @example, @include, @includelineno and @dontinclude
|
||||
\newenvironment{DoxyCodeInclude}[1]{%
|
||||
\DoxyCode{#1}%
|
||||
}{%
|
||||
\endDoxyCode%
|
||||
}
|
||||
|
||||
% Used by @verbatim ... @endverbatim
|
||||
\newenvironment{DoxyVerb}{%
|
||||
\footnotesize%
|
||||
\verbatim%
|
||||
}{%
|
||||
\endverbatim%
|
||||
\normalsize%
|
||||
}
|
||||
|
||||
% Used by @verbinclude
|
||||
\newenvironment{DoxyVerbInclude}{%
|
||||
\DoxyVerb%
|
||||
}{%
|
||||
\endDoxyVerb%
|
||||
}
|
||||
|
||||
% Used by numbered lists (using '-#' or <ol> ... </ol>)
|
||||
\newenvironment{DoxyEnumerate}{%
|
||||
\enumerate%
|
||||
}{%
|
||||
\endenumerate%
|
||||
}
|
||||
|
||||
% Used by bullet lists (using '-', @li, @arg, or <ul> ... </ul>)
|
||||
\newenvironment{DoxyItemize}{%
|
||||
\itemize%
|
||||
}{%
|
||||
\enditemize%
|
||||
}
|
||||
|
||||
% Used by description lists (using <dl> ... </dl>)
|
||||
\newenvironment{DoxyDescription}{%
|
||||
\description%
|
||||
}{%
|
||||
\enddescription%
|
||||
}
|
||||
|
||||
% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
|
||||
% (only if caption is specified)
|
||||
\newenvironment{DoxyImage}{%
|
||||
\begin{figure}[H]%
|
||||
\begin{center}%
|
||||
}{%
|
||||
\end{center}%
|
||||
\end{figure}%
|
||||
}
|
||||
|
||||
% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
|
||||
% (only if no caption is specified)
|
||||
\newenvironment{DoxyImageNoCaption}{%
|
||||
\begin{center}%
|
||||
}{%
|
||||
\end{center}%
|
||||
}
|
||||
|
||||
% Used by @image
|
||||
% (only if inline is specified)
|
||||
\newenvironment{DoxyInlineImage}{%
|
||||
}{%
|
||||
}
|
||||
|
||||
% Used by @attention
|
||||
\newenvironment{DoxyAttention}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @author and @authors
|
||||
\newenvironment{DoxyAuthor}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @date
|
||||
\newenvironment{DoxyDate}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @invariant
|
||||
\newenvironment{DoxyInvariant}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @note
|
||||
\newenvironment{DoxyNote}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @post
|
||||
\newenvironment{DoxyPostcond}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @pre
|
||||
\newenvironment{DoxyPrecond}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @copyright
|
||||
\newenvironment{DoxyCopyright}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @remark
|
||||
\newenvironment{DoxyRemark}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @return and @returns
|
||||
\newenvironment{DoxyReturn}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @since
|
||||
\newenvironment{DoxySince}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @see
|
||||
\newenvironment{DoxySeeAlso}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @version
|
||||
\newenvironment{DoxyVersion}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @warning
|
||||
\newenvironment{DoxyWarning}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by @internal
|
||||
\newenvironment{DoxyInternal}[1]{%
|
||||
\paragraph*{#1}%
|
||||
}{%
|
||||
}
|
||||
|
||||
% Used by @par and @paragraph
|
||||
\newenvironment{DoxyParagraph}[1]{%
|
||||
\begin{DoxyDesc}{#1}%
|
||||
}{%
|
||||
\end{DoxyDesc}%
|
||||
}
|
||||
|
||||
% Used by parameter lists
|
||||
\newenvironment{DoxyParams}[2][]{%
|
||||
\tabulinesep=1mm%
|
||||
\par%
|
||||
\ifthenelse{\equal{#1}{}}%
|
||||
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|}}% name + description
|
||||
{\ifthenelse{\equal{#1}{1}}%
|
||||
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + name + desc
|
||||
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + type + name + desc
|
||||
}
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
|
||||
\hline%
|
||||
\endfirsthead%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
|
||||
\hline%
|
||||
\endhead%
|
||||
}{%
|
||||
\end{longtabu*}%
|
||||
\vspace{6pt}%
|
||||
}
|
||||
|
||||
% Used for fields of simple structs
|
||||
\newenvironment{DoxyFields}[1]{%
|
||||
\tabulinesep=1mm%
|
||||
\par%
|
||||
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|X[-1,l]|}%
|
||||
\multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endfirsthead%
|
||||
\multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endhead%
|
||||
}{%
|
||||
\end{longtabu*}%
|
||||
\vspace{6pt}%
|
||||
}
|
||||
|
||||
% Used for fields simple class style enums
|
||||
\newenvironment{DoxyEnumFields}[1]{%
|
||||
\tabulinesep=1mm%
|
||||
\par%
|
||||
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endfirsthead%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endhead%
|
||||
}{%
|
||||
\end{longtabu*}%
|
||||
\vspace{6pt}%
|
||||
}
|
||||
|
||||
% Used for parameters within a detailed function description
|
||||
\newenvironment{DoxyParamCaption}{%
|
||||
\renewcommand{\item}[2][]{\\ \hspace*{2.0cm} ##1 {\em ##2}}%
|
||||
}{%
|
||||
}
|
||||
|
||||
% Used by return value lists
|
||||
\newenvironment{DoxyRetVals}[1]{%
|
||||
\tabulinesep=1mm%
|
||||
\par%
|
||||
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endfirsthead%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endhead%
|
||||
}{%
|
||||
\end{longtabu*}%
|
||||
\vspace{6pt}%
|
||||
}
|
||||
|
||||
% Used by exception lists
|
||||
\newenvironment{DoxyExceptions}[1]{%
|
||||
\tabulinesep=1mm%
|
||||
\par%
|
||||
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endfirsthead%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endhead%
|
||||
}{%
|
||||
\end{longtabu*}%
|
||||
\vspace{6pt}%
|
||||
}
|
||||
|
||||
% Used by template parameter lists
|
||||
\newenvironment{DoxyTemplParams}[1]{%
|
||||
\tabulinesep=1mm%
|
||||
\par%
|
||||
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endfirsthead%
|
||||
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||
\hline%
|
||||
\endhead%
|
||||
}{%
|
||||
\end{longtabu*}%
|
||||
\vspace{6pt}%
|
||||
}
|
||||
|
||||
% Used for member lists
|
||||
\newenvironment{DoxyCompactItemize}{%
|
||||
\begin{itemize}%
|
||||
\setlength{\itemsep}{-3pt}%
|
||||
\setlength{\parsep}{0pt}%
|
||||
\setlength{\topsep}{0pt}%
|
||||
\setlength{\partopsep}{0pt}%
|
||||
}{%
|
||||
\end{itemize}%
|
||||
}
|
||||
|
||||
% Used for member descriptions
|
||||
\newenvironment{DoxyCompactList}{%
|
||||
\begin{list}{}{%
|
||||
\setlength{\leftmargin}{0.5cm}%
|
||||
\setlength{\itemsep}{0pt}%
|
||||
\setlength{\parsep}{0pt}%
|
||||
\setlength{\topsep}{0pt}%
|
||||
\renewcommand{\makelabel}{\hfill}%
|
||||
}%
|
||||
}{%
|
||||
\end{list}%
|
||||
}
|
||||
|
||||
% Used for reference lists (@bug, @deprecated, @todo, etc.)
|
||||
\newenvironment{DoxyRefList}{%
|
||||
\begin{list}{}{%
|
||||
\setlength{\labelwidth}{10pt}%
|
||||
\setlength{\leftmargin}{\labelwidth}%
|
||||
\addtolength{\leftmargin}{\labelsep}%
|
||||
\renewcommand{\makelabel}{\xreflabel}%
|
||||
}%
|
||||
}{%
|
||||
\end{list}%
|
||||
}
|
||||
|
||||
% Used by @bug, @deprecated, @todo, etc.
|
||||
\newenvironment{DoxyRefDesc}[1]{%
|
||||
\begin{list}{}{%
|
||||
\renewcommand\makelabel[1]{\textbf{##1}}%
|
||||
\settowidth\labelwidth{\makelabel{#1}}%
|
||||
\setlength\leftmargin{\labelwidth+\labelsep}%
|
||||
}%
|
||||
}{%
|
||||
\end{list}%
|
||||
}
|
||||
|
||||
% Used by parameter lists and simple sections
|
||||
\newenvironment{Desc}
|
||||
{\begin{list}{}{%
|
||||
\settowidth{\labelwidth}{20pt}%
|
||||
\setlength{\parsep}{0pt}%
|
||||
\setlength{\itemsep}{0pt}%
|
||||
\setlength{\leftmargin}{\labelwidth+\labelsep}%
|
||||
\renewcommand{\makelabel}{\entrylabel}%
|
||||
}
|
||||
}{%
|
||||
\end{list}%
|
||||
}
|
||||
|
||||
% Used by tables
|
||||
\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}%
|
||||
\newenvironment{TabularC}[1]%
|
||||
{\tabulinesep=1mm
|
||||
\begin{longtabu*}spread 0pt [c]{*#1{|X[-1]}|}}%
|
||||
{\end{longtabu*}\par}%
|
||||
|
||||
\newenvironment{TabularNC}[1]%
|
||||
{\begin{tabu}spread 0pt [l]{*#1{|X[-1]}|}}%
|
||||
{\end{tabu}\par}%
|
||||
|
||||
% Used for member group headers
|
||||
\newenvironment{Indent}{%
|
||||
\begin{list}{}{%
|
||||
\setlength{\leftmargin}{0.5cm}%
|
||||
}%
|
||||
\item[]\ignorespaces%
|
||||
}{%
|
||||
\unskip%
|
||||
\end{list}%
|
||||
}
|
||||
|
||||
% Used when hyperlinks are turned off
|
||||
\newcommand{\doxyref}[3]{%
|
||||
\textbf{#1} (\textnormal{#2}\,\pageref{#3})%
|
||||
}
|
||||
|
||||
% Used to link to a table when hyperlinks are turned on
|
||||
\newcommand{\doxytablelink}[2]{%
|
||||
\ref{#1}%
|
||||
}
|
||||
|
||||
% Used to link to a table when hyperlinks are turned off
|
||||
\newcommand{\doxytableref}[3]{%
|
||||
\ref{#3}%
|
||||
}
|
||||
|
||||
% Used by @addindex
|
||||
\newcommand{\lcurly}{\{}
|
||||
\newcommand{\rcurly}{\}}
|
||||
|
||||
% Colors used for syntax highlighting
|
||||
\definecolor{comment}{rgb}{0.5,0.0,0.0}
|
||||
\definecolor{keyword}{rgb}{0.0,0.5,0.0}
|
||||
\definecolor{keywordtype}{rgb}{0.38,0.25,0.125}
|
||||
\definecolor{keywordflow}{rgb}{0.88,0.5,0.0}
|
||||
\definecolor{preprocessor}{rgb}{0.5,0.38,0.125}
|
||||
\definecolor{stringliteral}{rgb}{0.0,0.125,0.25}
|
||||
\definecolor{charliteral}{rgb}{0.0,0.5,0.5}
|
||||
\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0}
|
||||
\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43}
|
||||
\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0}
|
||||
\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0}
|
||||
|
||||
% Color used for table heading
|
||||
\newcommand{\tableheadbgcolor}{lightgray}%
|
||||
|
||||
% Version of hypertarget with correct landing location
|
||||
\newcommand{\Hypertarget}[1]{\Hy@raisedlink{\hypertarget{#1}{}}}
|
||||
|
||||
% possibility to have sections etc. be within the margins
|
||||
% unfortunately had to copy part of book.cls and add \raggedright
|
||||
\makeatletter
|
||||
\newcommand\doxysection{\@startsection {section}{1}{\z@}%
|
||||
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
||||
{2.3ex \@plus.2ex}%
|
||||
{\raggedright\normalfont\Large\bfseries}}
|
||||
\newcommand\doxysubsection{\@startsection{subsection}{2}{\z@}%
|
||||
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||
{1.5ex \@plus .2ex}%
|
||||
{\raggedright\normalfont\large\bfseries}}
|
||||
\newcommand\doxysubsubsection{\@startsection{subsubsection}{3}{\z@}%
|
||||
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||
{1.5ex \@plus .2ex}%
|
||||
{\raggedright\normalfont\normalsize\bfseries}}
|
||||
\newcommand\doxyparagraph{\@startsection{paragraph}{4}{\z@}%
|
||||
{3.25ex \@plus1ex \@minus.2ex}%
|
||||
{-1em}%
|
||||
{\raggedright\normalfont\normalsize\bfseries}}
|
||||
\newcommand\doxysubparagraph{\@startsection{subparagraph}{5}{\parindent}%
|
||||
{3.25ex \@plus1ex \@minus .2ex}%
|
||||
{-1em}%
|
||||
{\raggedright\normalfont\normalsize\bfseries}}
|
||||
\makeatother
|
||||
% Define caption that is also suitable in a table
|
||||
\makeatletter
|
||||
\def\doxyfigcaption{%
|
||||
\refstepcounter{figure}%
|
||||
\@dblarg{\@caption{figure}}}
|
||||
\makeatother
|
||||
16
Rapport/latex/files.tex
Executable file
16
Rapport/latex/files.tex
Executable file
@@ -0,0 +1,16 @@
|
||||
\doxysection{File List}
|
||||
Here is a list of all files with brief descriptions\+:\begin{DoxyCompactList}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{costfunctions_8cpp}{costfunctions.\+cpp}} }{\pageref{costfunctions_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{costfunctions_8h}{costfunctions.\+h}} }{\pageref{costfunctions_8h}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{data_8cpp}{data.\+cpp}} }{\pageref{data_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{data_8h}{data.\+h}} }{\pageref{data_8h}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{methods_8cpp}{methods.\+cpp}} }{\pageref{methods_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{methods_8h}{methods.\+h}} }{\pageref{methods_8h}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{models_8cpp}{models.\+cpp}} }{\pageref{models_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{models_8h}{models.\+h}} }{\pageref{models_8h}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{SimulatedAnnealingParameters_8h}{Simulated\+Annealing\+Parameters.\+h}} }{\pageref{SimulatedAnnealingParameters_8h}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{test__cost_8cpp}{test\+\_\+cost.\+cpp}} }{\pageref{test__cost_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{test__data_8cpp}{test\+\_\+data.\+cpp}} }{\pageref{test__data_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{test__methods_8cpp}{test\+\_\+methods.\+cpp}} }{\pageref{test__methods_8cpp}}{}
|
||||
\item\contentsline{section}{\mbox{\hyperlink{test__models_8cpp}{test\+\_\+models.\+cpp}} }{\pageref{test__models_8cpp}}{}
|
||||
\end{DoxyCompactList}
|
||||
19
Rapport/latex/hierarchy.tex
Executable file
19
Rapport/latex/hierarchy.tex
Executable file
@@ -0,0 +1,19 @@
|
||||
\doxysection{Class Hierarchy}
|
||||
This inheritance list is sorted roughly, but not completely, alphabetically\+:\begin{DoxyCompactList}
|
||||
\item \contentsline{section}{Cost\+Function}{\pageref{classCostFunction}}{}
|
||||
\begin{DoxyCompactList}
|
||||
\item \contentsline{section}{Distance}{\pageref{classDistance}}{}
|
||||
\item \contentsline{section}{Khi2}{\pageref{classKhi2}}{}
|
||||
\end{DoxyCompactList}
|
||||
\item \contentsline{section}{Data}{\pageref{classData}}{}
|
||||
\item \contentsline{section}{Model}{\pageref{classModel}}{}
|
||||
\begin{DoxyCompactList}
|
||||
\item \contentsline{section}{Linear\+Approx}{\pageref{classLinearApprox}}{}
|
||||
\item \contentsline{section}{Polynomial\+Approx}{\pageref{classPolynomialApprox}}{}
|
||||
\item \contentsline{section}{T\+SP}{\pageref{classTSP}}{}
|
||||
\end{DoxyCompactList}
|
||||
\item \contentsline{section}{Optimization\+Method}{\pageref{classOptimizationMethod}}{}
|
||||
\begin{DoxyCompactList}
|
||||
\item \contentsline{section}{Simulated\+Annealing}{\pageref{classSimulatedAnnealing}}{}
|
||||
\end{DoxyCompactList}
|
||||
\end{DoxyCompactList}
|
||||
448
Rapport/latex/longtable_doxygen.sty
Executable file
448
Rapport/latex/longtable_doxygen.sty
Executable file
@@ -0,0 +1,448 @@
|
||||
%%
|
||||
%% This is file `longtable.sty',
|
||||
%% generated with the docstrip utility.
|
||||
%%
|
||||
%% The original source files were:
|
||||
%%
|
||||
%% longtable.dtx (with options: `package')
|
||||
%%
|
||||
%% This is a generated file.
|
||||
%%
|
||||
%% The source is maintained by the LaTeX Project team and bug
|
||||
%% reports for it can be opened at http://latex-project.org/bugs.html
|
||||
%% (but please observe conditions on bug reports sent to that address!)
|
||||
%%
|
||||
%% Copyright 1993-2016
|
||||
%% The LaTeX3 Project and any individual authors listed elsewhere
|
||||
%% in this file.
|
||||
%%
|
||||
%% This file was generated from file(s) of the Standard LaTeX `Tools Bundle'.
|
||||
%% --------------------------------------------------------------------------
|
||||
%%
|
||||
%% It may be distributed and/or modified under the
|
||||
%% conditions of the LaTeX Project Public License, either version 1.3c
|
||||
%% of this license or (at your option) any later version.
|
||||
%% The latest version of this license is in
|
||||
%% http://www.latex-project.org/lppl.txt
|
||||
%% and version 1.3c or later is part of all distributions of LaTeX
|
||||
%% version 2005/12/01 or later.
|
||||
%%
|
||||
%% This file may only be distributed together with a copy of the LaTeX
|
||||
%% `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle'
|
||||
%% without such generated files.
|
||||
%%
|
||||
%% The list of all files belonging to the LaTeX `Tools Bundle' is
|
||||
%% given in the file `manifest.txt'.
|
||||
%%
|
||||
%% File: longtable.dtx Copyright (C) 1990-2001 David Carlisle
|
||||
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
|
||||
\ProvidesPackage{longtable_doxygen}
|
||||
[2014/10/28 v4.11 Multi-page Table package (DPC) - frozen version for doxygen]
|
||||
\def\LT@err{\PackageError{longtable}}
|
||||
\def\LT@warn{\PackageWarning{longtable}}
|
||||
\def\LT@final@warn{%
|
||||
\AtEndDocument{%
|
||||
\LT@warn{Table \@width s have changed. Rerun LaTeX.\@gobbletwo}}%
|
||||
\global\let\LT@final@warn\relax}
|
||||
\DeclareOption{errorshow}{%
|
||||
\def\LT@warn{\PackageInfo{longtable}}}
|
||||
\DeclareOption{pausing}{%
|
||||
\def\LT@warn#1{%
|
||||
\LT@err{#1}{This is not really an error}}}
|
||||
\DeclareOption{set}{}
|
||||
\DeclareOption{final}{}
|
||||
\ProcessOptions
|
||||
\newskip\LTleft \LTleft=\fill
|
||||
\newskip\LTright \LTright=\fill
|
||||
\newskip\LTpre \LTpre=\bigskipamount
|
||||
\newskip\LTpost \LTpost=\bigskipamount
|
||||
\newcount\LTchunksize \LTchunksize=20
|
||||
\let\c@LTchunksize\LTchunksize
|
||||
\newdimen\LTcapwidth \LTcapwidth=4in
|
||||
\newbox\LT@head
|
||||
\newbox\LT@firsthead
|
||||
\newbox\LT@foot
|
||||
\newbox\LT@lastfoot
|
||||
\newcount\LT@cols
|
||||
\newcount\LT@rows
|
||||
\newcounter{LT@tables}
|
||||
\newcounter{LT@chunks}[LT@tables]
|
||||
\ifx\c@table\undefined
|
||||
\newcounter{table}
|
||||
\def\fnum@table{\tablename~\thetable}
|
||||
\fi
|
||||
\ifx\tablename\undefined
|
||||
\def\tablename{Table}
|
||||
\fi
|
||||
\newtoks\LT@p@ftn
|
||||
\mathchardef\LT@end@pen=30000
|
||||
\def\longtable{%
|
||||
\par
|
||||
\ifx\multicols\@undefined
|
||||
\else
|
||||
\ifnum\col@number>\@ne
|
||||
\@twocolumntrue
|
||||
\fi
|
||||
\fi
|
||||
\if@twocolumn
|
||||
\LT@err{longtable not in 1-column mode}\@ehc
|
||||
\fi
|
||||
\begingroup
|
||||
\@ifnextchar[\LT@array{\LT@array[x]}}
|
||||
\def\LT@array[#1]#2{%
|
||||
\refstepcounter{table}\stepcounter{LT@tables}%
|
||||
\if l#1%
|
||||
\LTleft\z@ \LTright\fill
|
||||
\else\if r#1%
|
||||
\LTleft\fill \LTright\z@
|
||||
\else\if c#1%
|
||||
\LTleft\fill \LTright\fill
|
||||
\fi\fi\fi
|
||||
\let\LT@mcol\multicolumn
|
||||
\let\LT@@tabarray\@tabarray
|
||||
\let\LT@@hl\hline
|
||||
\def\@tabarray{%
|
||||
\let\hline\LT@@hl
|
||||
\LT@@tabarray}%
|
||||
\let\\\LT@tabularcr\let\tabularnewline\\%
|
||||
\def\newpage{\noalign{\break}}%
|
||||
\def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}%
|
||||
\def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}%
|
||||
\let\hline\LT@hline \let\kill\LT@kill\let\caption\LT@caption
|
||||
\@tempdima\ht\strutbox
|
||||
\let\@endpbox\LT@endpbox
|
||||
\ifx\extrarowheight\@undefined
|
||||
\let\@acol\@tabacol
|
||||
\let\@classz\@tabclassz \let\@classiv\@tabclassiv
|
||||
\def\@startpbox{\vtop\LT@startpbox}%
|
||||
\let\@@startpbox\@startpbox
|
||||
\let\@@endpbox\@endpbox
|
||||
\let\LT@LL@FM@cr\@tabularcr
|
||||
\else
|
||||
\advance\@tempdima\extrarowheight
|
||||
\col@sep\tabcolsep
|
||||
\let\@startpbox\LT@startpbox\let\LT@LL@FM@cr\@arraycr
|
||||
\fi
|
||||
\setbox\@arstrutbox\hbox{\vrule
|
||||
\@height \arraystretch \@tempdima
|
||||
\@depth \arraystretch \dp \strutbox
|
||||
\@width \z@}%
|
||||
\let\@sharp##\let\protect\relax
|
||||
\begingroup
|
||||
\@mkpream{#2}%
|
||||
\xdef\LT@bchunk{%
|
||||
\global\advance\c@LT@chunks\@ne
|
||||
\global\LT@rows\z@\setbox\z@\vbox\bgroup
|
||||
\LT@setprevdepth
|
||||
\tabskip\LTleft \noexpand\halign to\hsize\bgroup
|
||||
\tabskip\z@ \@arstrut \@preamble \tabskip\LTright \cr}%
|
||||
\endgroup
|
||||
\expandafter\LT@nofcols\LT@bchunk&\LT@nofcols
|
||||
\LT@make@row
|
||||
\m@th\let\par\@empty
|
||||
\everycr{}\lineskip\z@\baselineskip\z@
|
||||
\LT@bchunk}
|
||||
\def\LT@no@pgbk#1[#2]{\penalty #1\@getpen{#2}\ifnum`{=0\fi}}
|
||||
\def\LT@start{%
|
||||
\let\LT@start\endgraf
|
||||
\endgraf\penalty\z@\vskip\LTpre
|
||||
\dimen@\pagetotal
|
||||
\advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
|
||||
\advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
|
||||
\advance\dimen@ \ht\LT@foot
|
||||
\dimen@ii\vfuzz
|
||||
\vfuzz\maxdimen
|
||||
\setbox\tw@\copy\z@
|
||||
\setbox\tw@\vsplit\tw@ to \ht\@arstrutbox
|
||||
\setbox\tw@\vbox{\unvbox\tw@}%
|
||||
\vfuzz\dimen@ii
|
||||
\advance\dimen@ \ht
|
||||
\ifdim\ht\@arstrutbox>\ht\tw@\@arstrutbox\else\tw@\fi
|
||||
\advance\dimen@\dp
|
||||
\ifdim\dp\@arstrutbox>\dp\tw@\@arstrutbox\else\tw@\fi
|
||||
\advance\dimen@ -\pagegoal
|
||||
\ifdim \dimen@>\z@\vfil\break\fi
|
||||
\global\@colroom\@colht
|
||||
\ifvoid\LT@foot\else
|
||||
\advance\vsize-\ht\LT@foot
|
||||
\global\advance\@colroom-\ht\LT@foot
|
||||
\dimen@\pagegoal\advance\dimen@-\ht\LT@foot\pagegoal\dimen@
|
||||
\maxdepth\z@
|
||||
\fi
|
||||
\ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak
|
||||
\output{\LT@output}}
|
||||
\def\endlongtable{%
|
||||
\crcr
|
||||
\noalign{%
|
||||
\let\LT@entry\LT@entry@chop
|
||||
\xdef\LT@save@row{\LT@save@row}}%
|
||||
\LT@echunk
|
||||
\LT@start
|
||||
\unvbox\z@
|
||||
\LT@get@widths
|
||||
\if@filesw
|
||||
{\let\LT@entry\LT@entry@write\immediate\write\@auxout{%
|
||||
\gdef\expandafter\noexpand
|
||||
\csname LT@\romannumeral\c@LT@tables\endcsname
|
||||
{\LT@save@row}}}%
|
||||
\fi
|
||||
\ifx\LT@save@row\LT@@save@row
|
||||
\else
|
||||
\LT@warn{Column \@width s have changed\MessageBreak
|
||||
in table \thetable}%
|
||||
\LT@final@warn
|
||||
\fi
|
||||
\endgraf\penalty -\LT@end@pen
|
||||
\endgroup
|
||||
\global\@mparbottom\z@
|
||||
\pagegoal\vsize
|
||||
\endgraf\penalty\z@\addvspace\LTpost
|
||||
\ifvoid\footins\else\insert\footins{}\fi}
|
||||
\def\LT@nofcols#1&{%
|
||||
\futurelet\@let@token\LT@n@fcols}
|
||||
\def\LT@n@fcols{%
|
||||
\advance\LT@cols\@ne
|
||||
\ifx\@let@token\LT@nofcols
|
||||
\expandafter\@gobble
|
||||
\else
|
||||
\expandafter\LT@nofcols
|
||||
\fi}
|
||||
\def\LT@tabularcr{%
|
||||
\relax\iffalse{\fi\ifnum0=`}\fi
|
||||
\@ifstar
|
||||
{\def\crcr{\LT@crcr\noalign{\nobreak}}\let\cr\crcr
|
||||
\LT@t@bularcr}%
|
||||
{\LT@t@bularcr}}
|
||||
\let\LT@crcr\crcr
|
||||
\let\LT@setprevdepth\relax
|
||||
\def\LT@t@bularcr{%
|
||||
\global\advance\LT@rows\@ne
|
||||
\ifnum\LT@rows=\LTchunksize
|
||||
\gdef\LT@setprevdepth{%
|
||||
\prevdepth\z@\global
|
||||
\global\let\LT@setprevdepth\relax}%
|
||||
\expandafter\LT@xtabularcr
|
||||
\else
|
||||
\ifnum0=`{}\fi
|
||||
\expandafter\LT@LL@FM@cr
|
||||
\fi}
|
||||
\def\LT@xtabularcr{%
|
||||
\@ifnextchar[\LT@argtabularcr\LT@ntabularcr}
|
||||
\def\LT@ntabularcr{%
|
||||
\ifnum0=`{}\fi
|
||||
\LT@echunk
|
||||
\LT@start
|
||||
\unvbox\z@
|
||||
\LT@get@widths
|
||||
\LT@bchunk}
|
||||
\def\LT@argtabularcr[#1]{%
|
||||
\ifnum0=`{}\fi
|
||||
\ifdim #1>\z@
|
||||
\unskip\@xargarraycr{#1}%
|
||||
\else
|
||||
\@yargarraycr{#1}%
|
||||
\fi
|
||||
\LT@echunk
|
||||
\LT@start
|
||||
\unvbox\z@
|
||||
\LT@get@widths
|
||||
\LT@bchunk}
|
||||
\def\LT@echunk{%
|
||||
\crcr\LT@save@row\cr\egroup
|
||||
\global\setbox\@ne\lastbox
|
||||
\unskip
|
||||
\egroup}
|
||||
\def\LT@entry#1#2{%
|
||||
\ifhmode\@firstofone{&}\fi\omit
|
||||
\ifnum#1=\c@LT@chunks
|
||||
\else
|
||||
\kern#2\relax
|
||||
\fi}
|
||||
\def\LT@entry@chop#1#2{%
|
||||
\noexpand\LT@entry
|
||||
{\ifnum#1>\c@LT@chunks
|
||||
1}{0pt%
|
||||
\else
|
||||
#1}{#2%
|
||||
\fi}}
|
||||
\def\LT@entry@write{%
|
||||
\noexpand\LT@entry^^J%
|
||||
\@spaces}
|
||||
\def\LT@kill{%
|
||||
\LT@echunk
|
||||
\LT@get@widths
|
||||
\expandafter\LT@rebox\LT@bchunk}
|
||||
\def\LT@rebox#1\bgroup{%
|
||||
#1\bgroup
|
||||
\unvbox\z@
|
||||
\unskip
|
||||
\setbox\z@\lastbox}
|
||||
\def\LT@blank@row{%
|
||||
\xdef\LT@save@row{\expandafter\LT@build@blank
|
||||
\romannumeral\number\LT@cols 001 }}
|
||||
\def\LT@build@blank#1{%
|
||||
\if#1m%
|
||||
\noexpand\LT@entry{1}{0pt}%
|
||||
\expandafter\LT@build@blank
|
||||
\fi}
|
||||
\def\LT@make@row{%
|
||||
\global\expandafter\let\expandafter\LT@save@row
|
||||
\csname LT@\romannumeral\c@LT@tables\endcsname
|
||||
\ifx\LT@save@row\relax
|
||||
\LT@blank@row
|
||||
\else
|
||||
{\let\LT@entry\or
|
||||
\if!%
|
||||
\ifcase\expandafter\expandafter\expandafter\LT@cols
|
||||
\expandafter\@gobble\LT@save@row
|
||||
\or
|
||||
\else
|
||||
\relax
|
||||
\fi
|
||||
!%
|
||||
\else
|
||||
\aftergroup\LT@blank@row
|
||||
\fi}%
|
||||
\fi}
|
||||
\let\setlongtables\relax
|
||||
\def\LT@get@widths{%
|
||||
\setbox\tw@\hbox{%
|
||||
\unhbox\@ne
|
||||
\let\LT@old@row\LT@save@row
|
||||
\global\let\LT@save@row\@empty
|
||||
\count@\LT@cols
|
||||
\loop
|
||||
\unskip
|
||||
\setbox\tw@\lastbox
|
||||
\ifhbox\tw@
|
||||
\LT@def@row
|
||||
\advance\count@\m@ne
|
||||
\repeat}%
|
||||
\ifx\LT@@save@row\@undefined
|
||||
\let\LT@@save@row\LT@save@row
|
||||
\fi}
|
||||
\def\LT@def@row{%
|
||||
\let\LT@entry\or
|
||||
\edef\@tempa{%
|
||||
\ifcase\expandafter\count@\LT@old@row
|
||||
\else
|
||||
{1}{0pt}%
|
||||
\fi}%
|
||||
\let\LT@entry\relax
|
||||
\xdef\LT@save@row{%
|
||||
\LT@entry
|
||||
\expandafter\LT@max@sel\@tempa
|
||||
\LT@save@row}}
|
||||
\def\LT@max@sel#1#2{%
|
||||
{\ifdim#2=\wd\tw@
|
||||
#1%
|
||||
\else
|
||||
\number\c@LT@chunks
|
||||
\fi}%
|
||||
{\the\wd\tw@}}
|
||||
\def\LT@hline{%
|
||||
\noalign{\ifnum0=`}\fi
|
||||
\penalty\@M
|
||||
\futurelet\@let@token\LT@@hline}
|
||||
\def\LT@@hline{%
|
||||
\ifx\@let@token\hline
|
||||
\global\let\@gtempa\@gobble
|
||||
\gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}%
|
||||
\else
|
||||
\global\let\@gtempa\@empty
|
||||
\gdef\LT@sep{\penalty-\@lowpenalty\vskip-\arrayrulewidth}%
|
||||
\fi
|
||||
\ifnum0=`{\fi}%
|
||||
\multispan\LT@cols
|
||||
\unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
|
||||
\noalign{\LT@sep}%
|
||||
\multispan\LT@cols
|
||||
\unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
|
||||
\noalign{\penalty\@M}%
|
||||
\@gtempa}
|
||||
\def\LT@caption{%
|
||||
\noalign\bgroup
|
||||
\@ifnextchar[{\egroup\LT@c@ption\@firstofone}\LT@capti@n}
|
||||
\def\LT@c@ption#1[#2]#3{%
|
||||
\LT@makecaption#1\fnum@table{#3}%
|
||||
\def\@tempa{#2}%
|
||||
\ifx\@tempa\@empty\else
|
||||
{\let\\\space
|
||||
\addcontentsline{lot}{table}{\protect\numberline{\thetable}{#2}}}%
|
||||
\fi}
|
||||
\def\LT@capti@n{%
|
||||
\@ifstar
|
||||
{\egroup\LT@c@ption\@gobble[]}%
|
||||
{\egroup\@xdblarg{\LT@c@ption\@firstofone}}}
|
||||
\def\LT@makecaption#1#2#3{%
|
||||
\LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
|
||||
\sbox\@tempboxa{#1{#2: }#3}%
|
||||
\ifdim\wd\@tempboxa>\hsize
|
||||
#1{#2: }#3%
|
||||
\else
|
||||
\hbox to\hsize{\hfil\box\@tempboxa\hfil}%
|
||||
\fi
|
||||
\endgraf\vskip\baselineskip}%
|
||||
\hss}}}
|
||||
\def\LT@output{%
|
||||
\ifnum\outputpenalty <-\@Mi
|
||||
\ifnum\outputpenalty > -\LT@end@pen
|
||||
\LT@err{floats and marginpars not allowed in a longtable}\@ehc
|
||||
\else
|
||||
\setbox\z@\vbox{\unvbox\@cclv}%
|
||||
\ifdim \ht\LT@lastfoot>\ht\LT@foot
|
||||
\dimen@\pagegoal
|
||||
\advance\dimen@-\ht\LT@lastfoot
|
||||
\ifdim\dimen@<\ht\z@
|
||||
\setbox\@cclv\vbox{\unvbox\z@\copy\LT@foot\vss}%
|
||||
\@makecol
|
||||
\@outputpage
|
||||
\setbox\z@\vbox{\box\LT@head}%
|
||||
\fi
|
||||
\fi
|
||||
\global\@colroom\@colht
|
||||
\global\vsize\@colht
|
||||
\vbox
|
||||
{\unvbox\z@\box\ifvoid\LT@lastfoot\LT@foot\else\LT@lastfoot\fi}%
|
||||
\fi
|
||||
\else
|
||||
\setbox\@cclv\vbox{\unvbox\@cclv\copy\LT@foot\vss}%
|
||||
\@makecol
|
||||
\@outputpage
|
||||
\global\vsize\@colroom
|
||||
\copy\LT@head\nobreak
|
||||
\fi}
|
||||
\def\LT@end@hd@ft#1{%
|
||||
\LT@echunk
|
||||
\ifx\LT@start\endgraf
|
||||
\LT@err
|
||||
{Longtable head or foot not at start of table}%
|
||||
{Increase LTchunksize}%
|
||||
\fi
|
||||
\setbox#1\box\z@
|
||||
\LT@get@widths
|
||||
\LT@bchunk}
|
||||
\def\endfirsthead{\LT@end@hd@ft\LT@firsthead}
|
||||
\def\endhead{\LT@end@hd@ft\LT@head}
|
||||
\def\endfoot{\LT@end@hd@ft\LT@foot}
|
||||
\def\endlastfoot{\LT@end@hd@ft\LT@lastfoot}
|
||||
\def\LT@startpbox#1{%
|
||||
\bgroup
|
||||
\let\@footnotetext\LT@p@ftntext
|
||||
\setlength\hsize{#1}%
|
||||
\@arrayparboxrestore
|
||||
\vrule \@height \ht\@arstrutbox \@width \z@}
|
||||
\def\LT@endpbox{%
|
||||
\@finalstrut\@arstrutbox
|
||||
\egroup
|
||||
\the\LT@p@ftn
|
||||
\global\LT@p@ftn{}%
|
||||
\hfil}
|
||||
\def\LT@p@ftntext#1{%
|
||||
\edef\@tempa{\the\LT@p@ftn\noexpand\footnotetext[\the\c@footnote]}%
|
||||
\global\LT@p@ftn\expandafter{\@tempa{#1}}}%
|
||||
|
||||
\@namedef{ver@longtable.sty}{2014/10/28 v4.11 Multi-page Table package (DPC) - frozen version for doxygen}
|
||||
\endinput
|
||||
%%
|
||||
%% End of file `longtable.sty'.
|
||||
66
Rapport/latex/methods_8cpp.tex
Executable file
66
Rapport/latex/methods_8cpp.tex
Executable file
@@ -0,0 +1,66 @@
|
||||
\hypertarget{methods_8cpp}{}\doxysection{methods.\+cpp File Reference}
|
||||
\label{methods_8cpp}\index{methods.cpp@{methods.cpp}}
|
||||
{\ttfamily \#include $<$math.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$iostream$>$}\newline
|
||||
{\ttfamily \#include \char`\"{}models.\+h\char`\"{}}\newline
|
||||
{\ttfamily \#include \char`\"{}methods.\+h\char`\"{}}\newline
|
||||
{\ttfamily \#include \char`\"{}Simulated\+Annealing\+Parameters.\+h\char`\"{}}\newline
|
||||
Include dependency graph for methods.\+cpp\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=350pt]{methods_8cpp__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Macros}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
\#define \mbox{\hyperlink{methods_8cpp_a93f03159397f25c687840129b18c972d}{P\+B\+S\+TR}}~\char`\"{}$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$\char`\"{}
|
||||
\item
|
||||
\#define \mbox{\hyperlink{methods_8cpp_a69793e71975c25754a8236df29896e15}{P\+B\+W\+I\+D\+TH}}~60
|
||||
\end{DoxyCompactItemize}
|
||||
\doxysubsection*{Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
bool \mbox{\hyperlink{methods_8cpp_a743b489496197f60c57d851a2485ab3d}{freeze}} (double T, double t\+\_\+fin, int compt, int max)
|
||||
\item
|
||||
void \mbox{\hyperlink{methods_8cpp_ad4b08d7de769d1012815902545e43da1}{dynamicdisplay}} (std\+::vector$<$ double $>$ par)
|
||||
\item
|
||||
void \mbox{\hyperlink{methods_8cpp_a9d3b483a858efb84ce776bed255b6dd6}{print\+Progress}} (double percentage)
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Macro Definition Documentation}
|
||||
\mbox{\Hypertarget{methods_8cpp_a93f03159397f25c687840129b18c972d}\label{methods_8cpp_a93f03159397f25c687840129b18c972d}}
|
||||
\index{methods.cpp@{methods.cpp}!PBSTR@{PBSTR}}
|
||||
\index{PBSTR@{PBSTR}!methods.cpp@{methods.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{PBSTR}{PBSTR}}
|
||||
{\footnotesize\ttfamily \#define P\+B\+S\+TR~\char`\"{}$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$$\vert$\char`\"{}}
|
||||
|
||||
\mbox{\Hypertarget{methods_8cpp_a69793e71975c25754a8236df29896e15}\label{methods_8cpp_a69793e71975c25754a8236df29896e15}}
|
||||
\index{methods.cpp@{methods.cpp}!PBWIDTH@{PBWIDTH}}
|
||||
\index{PBWIDTH@{PBWIDTH}!methods.cpp@{methods.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{PBWIDTH}{PBWIDTH}}
|
||||
{\footnotesize\ttfamily \#define P\+B\+W\+I\+D\+TH~60}
|
||||
|
||||
|
||||
|
||||
\doxysubsection{Function Documentation}
|
||||
\mbox{\Hypertarget{methods_8cpp_ad4b08d7de769d1012815902545e43da1}\label{methods_8cpp_ad4b08d7de769d1012815902545e43da1}}
|
||||
\index{methods.cpp@{methods.cpp}!dynamicdisplay@{dynamicdisplay}}
|
||||
\index{dynamicdisplay@{dynamicdisplay}!methods.cpp@{methods.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{dynamicdisplay()}{dynamicdisplay()}}
|
||||
{\footnotesize\ttfamily void dynamicdisplay (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{par }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{methods_8cpp_a743b489496197f60c57d851a2485ab3d}\label{methods_8cpp_a743b489496197f60c57d851a2485ab3d}}
|
||||
\index{methods.cpp@{methods.cpp}!freeze@{freeze}}
|
||||
\index{freeze@{freeze}!methods.cpp@{methods.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{freeze()}{freeze()}}
|
||||
{\footnotesize\ttfamily bool freeze (\begin{DoxyParamCaption}\item[{double}]{T, }\item[{double}]{t\+\_\+fin, }\item[{int}]{compt, }\item[{int}]{max }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{methods_8cpp_a9d3b483a858efb84ce776bed255b6dd6}\label{methods_8cpp_a9d3b483a858efb84ce776bed255b6dd6}}
|
||||
\index{methods.cpp@{methods.cpp}!printProgress@{printProgress}}
|
||||
\index{printProgress@{printProgress}!methods.cpp@{methods.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{printProgress()}{printProgress()}}
|
||||
{\footnotesize\ttfamily void print\+Progress (\begin{DoxyParamCaption}\item[{double}]{percentage }\end{DoxyParamCaption})}
|
||||
|
||||
1
Rapport/latex/methods_8cpp__incl.md5
Executable file
1
Rapport/latex/methods_8cpp__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
a299491adcb388357987d43373807e3d
|
||||
BIN
Rapport/latex/methods_8cpp__incl.pdf
Executable file
BIN
Rapport/latex/methods_8cpp__incl.pdf
Executable file
Binary file not shown.
24
Rapport/latex/methods_8h.tex
Executable file
24
Rapport/latex/methods_8h.tex
Executable file
@@ -0,0 +1,24 @@
|
||||
\hypertarget{methods_8h}{}\doxysection{methods.\+h File Reference}
|
||||
\label{methods_8h}\index{methods.h@{methods.h}}
|
||||
{\ttfamily \#include \char`\"{}models.\+h\char`\"{}}\newline
|
||||
Include dependency graph for methods.\+h\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=226pt]{methods_8h__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
This graph shows which files directly or indirectly include this file\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=266pt]{methods_8h__dep__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Data Structures}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
class \mbox{\hyperlink{classOptimizationMethod}{Optimization\+Method}}
|
||||
\item
|
||||
class \mbox{\hyperlink{classSimulatedAnnealing}{Simulated\+Annealing}}
|
||||
\end{DoxyCompactItemize}
|
||||
1
Rapport/latex/methods_8h__dep__incl.md5
Executable file
1
Rapport/latex/methods_8h__dep__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
bcbae540b57204168f67593f136de033
|
||||
BIN
Rapport/latex/methods_8h__dep__incl.pdf
Executable file
BIN
Rapport/latex/methods_8h__dep__incl.pdf
Executable file
Binary file not shown.
1
Rapport/latex/methods_8h__incl.md5
Executable file
1
Rapport/latex/methods_8h__incl.md5
Executable file
@@ -0,0 +1 @@
|
||||
4cb561d4e507dcb22dc5c41905ee55bc
|
||||
BIN
Rapport/latex/methods_8h__incl.pdf
Executable file
BIN
Rapport/latex/methods_8h__incl.pdf
Executable file
Binary file not shown.
43
Rapport/latex/models_8cpp.tex
Executable file
43
Rapport/latex/models_8cpp.tex
Executable file
@@ -0,0 +1,43 @@
|
||||
\hypertarget{models_8cpp}{}\doxysection{models.\+cpp File Reference}
|
||||
\label{models_8cpp}\index{models.cpp@{models.cpp}}
|
||||
{\ttfamily \#include $<$math.\+h$>$}\newline
|
||||
{\ttfamily \#include $<$iostream$>$}\newline
|
||||
{\ttfamily \#include $<$cstring$>$}\newline
|
||||
{\ttfamily \#include \char`\"{}models.\+h\char`\"{}}\newline
|
||||
Include dependency graph for models.\+cpp\+:\nopagebreak
|
||||
\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[width=350pt]{models_8cpp__incl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\doxysubsection*{Functions}
|
||||
\begin{DoxyCompactItemize}
|
||||
\item
|
||||
double \mbox{\hyperlink{models_8cpp_a67ac6f35017e6e216cff24f8681b5af0}{polynom}} (std\+::vector$<$ double $>$ a, double x)
|
||||
\item
|
||||
std\+::vector$<$ int $>$ \mbox{\hyperlink{models_8cpp_aebc9db00b96647bac31c9a40933a134b}{vdtovi}} (std\+::vector$<$ double $>$ Vd)
|
||||
\item
|
||||
std\+::vector$<$ double $>$ \mbox{\hyperlink{models_8cpp_a53fb140642d95f0fc96444ff4e6125c2}{vitovd}} (std\+::vector$<$ int $>$ Vi)
|
||||
\end{DoxyCompactItemize}
|
||||
|
||||
|
||||
\doxysubsection{Function Documentation}
|
||||
\mbox{\Hypertarget{models_8cpp_a67ac6f35017e6e216cff24f8681b5af0}\label{models_8cpp_a67ac6f35017e6e216cff24f8681b5af0}}
|
||||
\index{models.cpp@{models.cpp}!polynom@{polynom}}
|
||||
\index{polynom@{polynom}!models.cpp@{models.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{polynom()}{polynom()}}
|
||||
{\footnotesize\ttfamily double polynom (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{a, }\item[{double}]{x }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{models_8cpp_aebc9db00b96647bac31c9a40933a134b}\label{models_8cpp_aebc9db00b96647bac31c9a40933a134b}}
|
||||
\index{models.cpp@{models.cpp}!vdtovi@{vdtovi}}
|
||||
\index{vdtovi@{vdtovi}!models.cpp@{models.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{vdtovi()}{vdtovi()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$int$>$ vdtovi (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$}]{Vd }\end{DoxyParamCaption})}
|
||||
|
||||
\mbox{\Hypertarget{models_8cpp_a53fb140642d95f0fc96444ff4e6125c2}\label{models_8cpp_a53fb140642d95f0fc96444ff4e6125c2}}
|
||||
\index{models.cpp@{models.cpp}!vitovd@{vitovd}}
|
||||
\index{vitovd@{vitovd}!models.cpp@{models.cpp}}
|
||||
\doxysubsubsection{\texorpdfstring{vitovd()}{vitovd()}}
|
||||
{\footnotesize\ttfamily std\+::vector$<$double$>$ vitovd (\begin{DoxyParamCaption}\item[{std\+::vector$<$ int $>$}]{Vi }\end{DoxyParamCaption})}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user