\doxysection{RRRAgent Class Reference}
\hypertarget{classRRRAgent}{}\label{classRRRAgent}\index{RRRAgent@{RRRAgent}}
Inheritance diagram for RRRAgent\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRRRAgent}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{classRRRAgent_a30d8aa697e62f5c2f610f20554f855d7}{\+\_\+run}} () override
\item 
Py\+Object \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{classRRRAgent_aa683d45e8af0b9ffe0c403e2e17db4ee}{get\+\_\+state}} (Py\+Object \texorpdfstring{$\ast$}{*}) override
\item 
\Hypertarget{classRRRAgent_aa703efc65cd851daeb5c2a990a7e21c1}\label{classRRRAgent_aa703efc65cd851daeb5c2a990a7e21c1} 
void {\bfseries set\+Min\+Iterations} (uint)
\item 
\Hypertarget{classRRRAgent_adb32672d5a472c577091cc7dbebb5179}\label{classRRRAgent_adb32672d5a472c577091cc7dbebb5179} 
void {\bfseries set\+Max\+Iterations} (uint)
\item 
\Hypertarget{classRRRAgent_afd8723bdee5d38fc3e117bba31ecf48c}\label{classRRRAgent_afd8723bdee5d38fc3e117bba31ecf48c} 
void {\bfseries set\+Max\+Iterations\+Stagnant} (uint)
\item 
\Hypertarget{classRRRAgent_ae2d0cb639c586bd067c1b11e45fd78f2}\label{classRRRAgent_ae2d0cb639c586bd067c1b11e45fd78f2} 
void {\bfseries set\+Num\+Tidy\+Iterations} (uint)
\item 
\Hypertarget{classRRRAgent_a9d8c90dce2b62bc4fc975a967b341533}\label{classRRRAgent_a9d8c90dce2b62bc4fc975a967b341533} 
void {\bfseries set\+Check\+Stagnation\+Before\+Success} (bool)
\item 
\Hypertarget{classRRRAgent_a1a30ecda843cbc6cb5ce5713cdc35c8d}\label{classRRRAgent_a1a30ecda843cbc6cb5ce5713cdc35c8d} 
void {\bfseries set\+History\+Cost\+Decay} (float)
\item 
\Hypertarget{classRRRAgent_a1f9cb2e1a9b7e7cefa195fc7240432a4}\label{classRRRAgent_a1f9cb2e1a9b7e7cefa195fc7240432a4} 
void {\bfseries set\+History\+Cost\+Increment} (float)
\item 
\Hypertarget{classRRRAgent_a02554ffc4fc37a7e2ef281afc671cb48}\label{classRRRAgent_a02554ffc4fc37a7e2ef281afc671cb48} 
void {\bfseries set\+History\+Cost\+Max} (float)
\item 
\Hypertarget{classRRRAgent_a3dc12cf133a93d3abd659dd3aeeb3411}\label{classRRRAgent_a3dc12cf133a93d3abd659dd3aeeb3411} 
void {\bfseries set\+Randomize\+Order} (bool)
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \mbox{\hyperlink{classAgent}{Agent}}}
\begin{DoxyCompactItemize}
\item 
{\bfseries Agent} (const std\+::string \&name)
\item 
const std\+::string \& {\bfseries name} () const
\item 
virtual void {\bfseries set\+State\+Representation\+Params} (Py\+Object \texorpdfstring{$\ast$}{*})
\item 
void {\bfseries set\+Parameters} (Py\+Object \texorpdfstring{$\ast$}{*})
\item 
virtual void {\bfseries set\+Parameter} (const std\+::string \&var\+Name, int index, Py\+Object \texorpdfstring{$\ast$}{*})
\item 
const std\+::map$<$ std\+::string, \mbox{\hyperlink{classParameter}{Parameter}} \texorpdfstring{$\ast$}{*} $>$ \& {\bfseries get\+Parameters} () const
\item 
void {\bfseries set\+Python\+Interface} (Py\+Object \texorpdfstring{$\ast$}{*})
\item 
void {\bfseries set\+Training\+Mode} (bool on)
\item 
virtual void {\bfseries set\+PCB} (const std\+::shared\+\_\+ptr$<$ \mbox{\hyperlink{classPCBoard}{PCBoard}} $>$ \&)
\item 
virtual void {\bfseries set\+Managed\+Connections} (const std\+::set$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ \&)
\item 
void {\bfseries set\+Managed\+Connections\+To\+Unrouted} ()
\item 
void {\bfseries set\+Action\+Space} (const \mbox{\hyperlink{classActionSpace}{Action\+Space}} \&)
\item 
void {\bfseries set\+Policy} (\mbox{\hyperlink{classPolicy}{Policy}} \texorpdfstring{$\ast$}{*})
\begin{DoxyCompactList}\small\item\em Ownership of \doxylink{classPolicy}{Policy}, \doxylink{classRewardFunction}{Reward\+Function}, and \doxylink{classStateRepresentation}{State\+Representation} are transferred to the agent. \end{DoxyCompactList}\item 
void {\bfseries set\+Reward\+Fn} (\mbox{\hyperlink{classRewardFunction}{Reward\+Function}} \texorpdfstring{$\ast$}{*})
\item 
void {\bfseries set\+State\+Representation} (\mbox{\hyperlink{classStateRepresentation}{State\+Representation}} \texorpdfstring{$\ast$}{*})
\item 
bool {\bfseries run} ()
\item 
void {\bfseries set\+Run\+Args} (Py\+Object \texorpdfstring{$\ast$}{*})
\item 
void {\bfseries set\+Timeout} (uint64\+\_\+t usec)
\item 
void {\bfseries set\+Timeout\+Expired} ()
\item 
void {\bfseries set\+Action\+Limit} (int64\+\_\+t count)
\item 
void {\bfseries set\+Clear\+Board\+Before\+Run} (bool)
\item 
float {\bfseries get\+Progress} () const
\item 
virtual Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries step} (Py\+Object \texorpdfstring{$\ast$}{*})
\item 
virtual Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries reset} ()
\item 
void {\bfseries erase\+Managed\+Connections} ()
\item 
\mbox{\hyperlink{classPCBoard}{PCBoard}} \texorpdfstring{$\ast$}{*} {\bfseries get\+PCB} () const
\begin{DoxyCompactList}\small\item\em These are only valid as long as you have got a hold of the agent. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classRewardFunction}{Reward\+Function}} \& {\bfseries get\+Reward\+Fn} () const
\item 
\mbox{\hyperlink{classPolicy}{Policy}} \texorpdfstring{$\ast$}{*} {\bfseries get\+Policy} () const
\item 
\mbox{\hyperlink{classStateRepresentation}{State\+Representation}} \texorpdfstring{$\ast$}{*} {\bfseries get\+SR} () const
\item 
uint32\+\_\+t {\bfseries get\+Iteration} () const
\item 
uint64\+\_\+t {\bfseries num\+Actions} () const
\item 
uint64\+\_\+t {\bfseries usecs\+Since\+Start} () const
\item 
const std\+::vector$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ \& {\bfseries get\+Connections} () const
\item 
const std\+::set$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ \& {\bfseries get\+Connection\+Set} () const
\item 
\mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} {\bfseries set\+Connection\+LRU} (Py\+Object \texorpdfstring{$\ast$}{*})
\item 
\mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} {\bfseries get\+Connection\+LRU} () const
\item 
\mbox{\hyperlink{structAction_1_1Result}{Action\+::\+Result}} {\bfseries evaluate\+Current\+State} () const
\item 
void {\bfseries start\+Timer} ()
\item 
bool {\bfseries has\+Timer\+Expired} () const
\item 
void {\bfseries reset\+Action\+Count} ()
\item 
void {\bfseries reset\+Action\+Limit} ()
\item 
void {\bfseries count\+Actions} (int)
\item 
bool {\bfseries action\+Limit\+Exceeded} () const
\item 
std\+::vector$<$ float $>$ \mbox{\hyperlink{classAgent_afa9959a7e57b0dd01ac6b92cbe9a31f0}{py\+\_\+V}} (Py\+Object \texorpdfstring{$\ast$}{*}states)
\item 
std\+::vector$<$ float $>$ {\bfseries py\+\_\+Q} (Py\+Object \texorpdfstring{$\ast$}{*}states)
\item 
std\+::vector$<$ float $>$ {\bfseries py\+\_\+P} (Py\+Object \texorpdfstring{$\ast$}{*}states)
\item 
std\+::vector$<$ float $>$ {\bfseries py\+\_\+\+P\+\_\+V} (Py\+Object \texorpdfstring{$\ast$}{*}states)
\item 
void {\bfseries py\+\_\+event} (Py\+Object \texorpdfstring{$\ast$}{*}event)
\begin{DoxyCompactList}\small\item\em Tell anything else to your Python interface. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classStepLock}{Step\+Lock}} \& {\bfseries get\+Step\+Lock} ()
\end{DoxyCompactItemize}
\doxysubsubsection*{Additional Inherited Members}
\doxysubsection*{Static Public Member Functions inherited from \mbox{\hyperlink{classAgent}{Agent}}}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{classAgent}{Agent}} \texorpdfstring{$\ast$}{*} {\bfseries create} (const std\+::string \&type)
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions inherited from \mbox{\hyperlink{classAgent}{Agent}}}
\begin{DoxyCompactItemize}
\item 
void {\bfseries init\+Parameters} ()
\end{DoxyCompactItemize}
\doxysubsection*{Protected Attributes inherited from \mbox{\hyperlink{classAgent}{Agent}}}
\begin{DoxyCompactItemize}
\item 
std\+::shared\+\_\+ptr$<$ \mbox{\hyperlink{classPCBoard}{PCBoard}} $>$ {\bfseries m\+PCB}
\item 
std\+::vector$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ {\bfseries m\+Connections}
\item 
std\+::set$<$ \mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} $>$ {\bfseries m\+Connection\+Set}
\item 
\mbox{\hyperlink{classConnection}{Connection}} \texorpdfstring{$\ast$}{*} {\bfseries m\+Connection\+LRU} \{0\}
\item 
const \mbox{\hyperlink{classActionSpace}{Action\+Space}} \texorpdfstring{$\ast$}{*} {\bfseries m\+Action\+Space} \{0\}
\item 
std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{classPolicy}{Policy}} $>$ {\bfseries m\+Policy}
\item 
std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{classStateRepresentation}{State\+Representation}} $>$ {\bfseries m\+State\+Rep}
\item 
std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{classRewardFunction}{Reward\+Function}} $>$ {\bfseries m\+Reward\+Fn}
\item 
\mbox{\hyperlink{structResultCollection}{Result\+Collection}} {\bfseries m\+Stats}
\item 
uint32\+\_\+t {\bfseries m\+Iteration} \{0\}
\item 
float {\bfseries m\+Progress} \{-\/1.\+0f\}
\item 
bool {\bfseries m\+Clear\+Board\+Before\+Run} \{false\}
\item 
\mbox{\hyperlink{classSignalContext}{Signal\+Context}} {\bfseries m\+Signals}
\item 
std\+::map$<$ std\+::string, \mbox{\hyperlink{classParameter}{Parameter}} \texorpdfstring{$\ast$}{*} $>$ {\bfseries m\+Parameters}
\item 
Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries m\+Python} \{0\}
\item 
Py\+Object \texorpdfstring{$\ast$}{*} {\bfseries m\+Method\+Names\+Py} \mbox{[}5\mbox{]} \{0,0,0,0,0\}
\end{DoxyCompactItemize}


\label{doc-func-members}
\Hypertarget{classRRRAgent_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classRRRAgent_a30d8aa697e62f5c2f610f20554f855d7}\index{RRRAgent@{RRRAgent}!\_run@{\_run}}
\index{\_run@{\_run}!RRRAgent@{RRRAgent}}
\doxysubsubsection{\texorpdfstring{\_run()}{\_run()}}
{\footnotesize\ttfamily \label{classRRRAgent_a30d8aa697e62f5c2f610f20554f855d7} 
bool RRRAgent\+::\+\_\+run (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Reimplemented from \mbox{\hyperlink{classAgent}{Agent}}.

\Hypertarget{classRRRAgent_aa683d45e8af0b9ffe0c403e2e17db4ee}\index{RRRAgent@{RRRAgent}!get\_state@{get\_state}}
\index{get\_state@{get\_state}!RRRAgent@{RRRAgent}}
\doxysubsubsection{\texorpdfstring{get\_state()}{get\_state()}}
{\footnotesize\ttfamily \label{classRRRAgent_aa683d45e8af0b9ffe0c403e2e17db4ee} 
Py\+Object \texorpdfstring{$\ast$}{*} RRRAgent\+::get\+\_\+state (\begin{DoxyParamCaption}\item[{Py\+Object \texorpdfstring{$\ast$}{*}}]{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Reimplemented from \mbox{\hyperlink{classAgent}{Agent}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/home/chr/devel/\+Ph\+D/\+Environment/pub/\+PCBEnv/pcbenv/cxx/\+RL/RRRAgent.\+hpp\end{DoxyCompactItemize}
