\hypertarget{classoptimization}{}\doxysection{optimization Class Reference}
\label{classoptimization}\index{optimization@{optimization}}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classoptimization_a6eed5e8fb1faabebfd931cee5c133987}\label{classoptimization_a6eed5e8fb1faabebfd931cee5c133987}} 
bool {\bfseries operator$<$} (const \mbox{\hyperlink{classoptimization}{optimization}} \&a) const
\end{DoxyCompactItemize}
\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classoptimization_afca1b08cece4aac0bbd3d8759c62ce7e}\label{classoptimization_afca1b08cece4aac0bbd3d8759c62ce7e}} 
int {\bfseries type}
\item 
\mbox{\Hypertarget{classoptimization_a9f6dc65f7cc1c18a951b0b135266369d}\label{classoptimization_a9f6dc65f7cc1c18a951b0b135266369d}} 
int {\bfseries arg1}
\item 
\mbox{\Hypertarget{classoptimization_a51611c33eb39ce1fabe4fbbcbff7bd24}\label{classoptimization_a51611c33eb39ce1fabe4fbbcbff7bd24}} 
int {\bfseries arg2}
\item 
\mbox{\Hypertarget{classoptimization_a8459468ba311cf50d9e61229c4d2cbdf}\label{classoptimization_a8459468ba311cf50d9e61229c4d2cbdf}} 
int {\bfseries improve}
\item 
\mbox{\Hypertarget{classoptimization_a401486f04c09725a2cbff3c5c625d4b5}\label{classoptimization_a401486f04c09725a2cbff3c5c625d4b5}} 
vector$<$ W\+O\+RD $>$ {\bfseries coeff}
\item 
\mbox{\Hypertarget{classoptimization_ad9adb9803d55112677e5674e81ed3020}\label{classoptimization_ad9adb9803d55112677e5674e81ed3020}} 
vector$<$ int $>$ {\bfseries eqnidxs}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
class Optimization\hypertarget{classoptimization_autotoc_md20}{}\doxysubsection{Description}\label{classoptimization_autotoc_md20}
This object represents an optimization. Its type is a number in the range 0 to 5. Depending on this type, the variables arg1, arg2 and coeff indicate\+:

type==0 \+: optimization of the form x\mbox{[}arg1\mbox{]} $^\wedge$ arg2 (coeff=empty) type==1 \+: optimization of the form x\mbox{[}arg1\mbox{]} $\ast$ x\mbox{[}arg2\mbox{]} (coeff=empty) type==2 \+: optimization of the form x\mbox{[}arg1\mbox{]} $\ast$ coeff (arg2=0) type==3 \+: optimization of the form x\mbox{[}arg1\mbox{]} + coeff (arg2=0) type==4 \+: optimization of the form x\mbox{[}arg1\mbox{]} + x\mbox{[}arg2\mbox{]} (coeff=empty) type==5 \+: optimization of the form x\mbox{[}arg1\mbox{]} -\/ x\mbox{[}arg2\mbox{]} (coeff=empty)

Here, \char`\"{}x\mbox{[}arg\mbox{]}\char`\"{} represents a symbol (if positive) or an extrasymbol (if negative). The represented symbol\textquotesingle{}s id is A\+B\+S(x\mbox{[}arg\mbox{]})-\/1.

\char`\"{}eqns\char`\"{} is a list of equation, where this optimization can be performed.

\char`\"{}improve\char`\"{} is the total improvement of this optimization. 

Definition at line 2607 of file optimize.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{optimize_8cc}{optimize.\+cc}}\end{DoxyCompactItemize}
