| 1 |
\hypertarget{classBackwardCDBG}{}\section{Backward\+C\+D\+BG$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$ Class Template Reference} |
| 2 |
\label{classBackwardCDBG}\index{Backward\+C\+D\+B\+G$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$@{Backward\+C\+D\+B\+G$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$}} |
| 3 |
|
| 4 |
|
| 5 |
Wrapper for class \hyperlink{classneighborIterator}{neighbor\+Iterator} to iterate over the predecessors of a reference unitig used in a \hyperlink{classUnitigMap}{Unitig\+Map} object. |
| 6 |
|
| 7 |
|
| 8 |
\subsection*{Public Member Functions} |
| 9 |
\begin{DoxyCompactItemize} |
| 10 |
\item |
| 11 |
\hyperlink{classBackwardCDBG_a7535c34878c4ec0acc0543a3814c35b9}{Backward\+C\+D\+BG} (const \hyperlink{classUnitigMap}{Unitig\+Map}$<$ U, G, is\+\_\+const $>$ \&um\+\_\+) |
| 12 |
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item |
| 13 |
bool \hyperlink{classBackwardCDBG_afd32793764f72b23624fc6384d934412}{has\+Predecessors} () const |
| 14 |
\begin{DoxyCompactList}\small\item\em Check if the unitig has at least one predecessor. \end{DoxyCompactList}\item |
| 15 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$ U, G, is\+\_\+const $>$ \hyperlink{classBackwardCDBG_a134d64079a7acdcad727637647691897}{begin} () const |
| 16 |
\begin{DoxyCompactList}\small\item\em Return an iterator over the predecessors of a reference unitig. \end{DoxyCompactList}\item |
| 17 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$ U, G, is\+\_\+const $>$ \hyperlink{classBackwardCDBG_a7b8f84da503325c3e3e2b5b024ed6997}{end} () const |
| 18 |
\begin{DoxyCompactList}\small\item\em Return an iterator over the past-\/the-\/last predecessor of a reference unitig. \end{DoxyCompactList}\end{DoxyCompactItemize} |
| 19 |
|
| 20 |
|
| 21 |
\subsection{Detailed Description} |
| 22 |
\subsubsection*{template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$\newline |
| 23 |
class Backward\+C\+D\+B\+G$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$} |
| 24 |
|
| 25 |
Wrapper for class \hyperlink{classneighborIterator}{neighbor\+Iterator} to iterate over the predecessors of a reference unitig used in a \hyperlink{classUnitigMap}{Unitig\+Map} object. |
| 26 |
|
| 27 |
A \hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG} object has 3 template parameters\+: the type of data associated with the unitigs of the graph, the type of data associated with the graph and a boolean indicating if this is a constant \hyperlink{classneighborIterator}{neighbor\+Iterator} or not. Note that you are supposed to obtain an instance of this class from \hyperlink{classUnitigMap_adfae0ba9c3675fd5612a4b71b46a25c6}{Unitig\+Map\+::get\+Predecessors()} so you shouldn\textquotesingle{}t have to instantiate an object \hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG} and its template parameters yourself. The unitig data and graph data types should be the same as the ones used for the \hyperlink{classCompactedDBG}{Compacted\+D\+BG} the iterator is from. No specific order (such as a lexicographic one) is assumed during iteration. |
| 28 |
|
| 29 |
\subsection{Constructor \& Destructor Documentation} |
| 30 |
\mbox{\Hypertarget{classBackwardCDBG_a7535c34878c4ec0acc0543a3814c35b9}\label{classBackwardCDBG_a7535c34878c4ec0acc0543a3814c35b9}} |
| 31 |
\index{Backward\+C\+D\+BG@{Backward\+C\+D\+BG}!Backward\+C\+D\+BG@{Backward\+C\+D\+BG}} |
| 32 |
\index{Backward\+C\+D\+BG@{Backward\+C\+D\+BG}!Backward\+C\+D\+BG@{Backward\+C\+D\+BG}} |
| 33 |
\subsubsection{\texorpdfstring{Backward\+C\+D\+B\+G()}{BackwardCDBG()}} |
| 34 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 35 |
\hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::\hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG} (\begin{DoxyParamCaption}\item[{const \hyperlink{classUnitigMap}{Unitig\+Map}$<$ U, G, is\+\_\+const $>$ \&}]{um\+\_\+ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [explicit]}} |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
Constructor. |
| 40 |
|
| 41 |
|
| 42 |
\begin{DoxyParams}{Parameters} |
| 43 |
{\em um\+\_\+} & is a \hyperlink{classUnitigMap}{Unitig\+Map} object\+: the wrapper will provide an iterator over the predecessors of the \hyperlink{classUnitigMap}{Unitig\+Map} reference unitig \\ |
| 44 |
\hline |
| 45 |
\end{DoxyParams} |
| 46 |
|
| 47 |
|
| 48 |
\subsection{Member Function Documentation} |
| 49 |
\mbox{\Hypertarget{classBackwardCDBG_a134d64079a7acdcad727637647691897}\label{classBackwardCDBG_a134d64079a7acdcad727637647691897}} |
| 50 |
\index{Backward\+C\+D\+BG@{Backward\+C\+D\+BG}!begin@{begin}} |
| 51 |
\index{begin@{begin}!Backward\+C\+D\+BG@{Backward\+C\+D\+BG}} |
| 52 |
\subsubsection{\texorpdfstring{begin()}{begin()}} |
| 53 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 54 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$U, G, is\+\_\+const$>$ \hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} |
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
Return an iterator over the predecessors of a reference unitig. |
| 59 |
|
| 60 |
The returned iterator is initialized over the first such predecessor, if there is one. \begin{DoxyReturn}{Returns} |
| 61 |
an iterator over the predecessors of a reference unitig. It is initialized over the first such predecessor, if there is one. |
| 62 |
\end{DoxyReturn} |
| 63 |
\mbox{\Hypertarget{classBackwardCDBG_a7b8f84da503325c3e3e2b5b024ed6997}\label{classBackwardCDBG_a7b8f84da503325c3e3e2b5b024ed6997}} |
| 64 |
\index{Backward\+C\+D\+BG@{Backward\+C\+D\+BG}!end@{end}} |
| 65 |
\index{end@{end}!Backward\+C\+D\+BG@{Backward\+C\+D\+BG}} |
| 66 |
\subsubsection{\texorpdfstring{end()}{end()}} |
| 67 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 68 |
\hyperlink{classneighborIterator}{neighbor\+Iterator}$<$U, G, is\+\_\+const$>$ \hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::end (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} |
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
Return an iterator over the past-\/the-\/last predecessor of a reference unitig. |
| 73 |
|
| 74 |
\begin{DoxyReturn}{Returns} |
| 75 |
an iterator over the past-\/the-\/last predecessor of a reference unitig. |
| 76 |
\end{DoxyReturn} |
| 77 |
\mbox{\Hypertarget{classBackwardCDBG_afd32793764f72b23624fc6384d934412}\label{classBackwardCDBG_afd32793764f72b23624fc6384d934412}} |
| 78 |
\index{Backward\+C\+D\+BG@{Backward\+C\+D\+BG}!has\+Predecessors@{has\+Predecessors}} |
| 79 |
\index{has\+Predecessors@{has\+Predecessors}!Backward\+C\+D\+BG@{Backward\+C\+D\+BG}} |
| 80 |
\subsubsection{\texorpdfstring{has\+Predecessors()}{hasPredecessors()}} |
| 81 |
{\footnotesize\ttfamily template$<$typename Unitig\+\_\+data\+\_\+t = void, typename Graph\+\_\+data\+\_\+t = void, bool is\+\_\+const = false$>$ \\ |
| 82 |
bool \hyperlink{classBackwardCDBG}{Backward\+C\+D\+BG}$<$ Unitig\+\_\+data\+\_\+t, Graph\+\_\+data\+\_\+t, is\+\_\+const $>$\+::has\+Predecessors (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
Check if the unitig has at least one predecessor. |
| 87 |
|
| 88 |
\begin{DoxyReturn}{Returns} |
| 89 |
a boolean indicating if the unitig has at least one predecessor (true) or not (false). |
| 90 |
\end{DoxyReturn} |
| 91 |
|
| 92 |
|
| 93 |
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} |
| 94 |
\item |
| 95 |
src/\hyperlink{NeighborIterator_8hpp}{Neighbor\+Iterator.\+hpp}\end{DoxyCompactItemize} |