Go to the documentation of this file.
21 #ifndef SH_EDGEITERATOR_H
22 #define SH_EDGEITERATOR_H
117 void print (
unsigned short spc = 0)
const ;
158 #endif // ndef SH_EDGEITERATOR_H
static UWORD32 getMaxNumEdges(void)
Definition: EdgeIterator.h:111
VertexLabel getPartnerVertexLabel(void) const
Definition: EdgeIterator.h:108
UWORD32 EdgeIndex
the index/number of the edge that is currently returned by operator*
Definition: EdgeIterator.h:133
unsigned long UWORD32
Definition: common.h:45
~EdgeIterator(void)
Definition: EdgeIterator.cc:52
bool Finished
is true iff there are no more edges for this source vertex
Definition: EdgeIterator.h:136
EdgeIterator(void)
Definition: EdgeIterator.cc:28
UWORD32 VertexLabel
Definition: common.h:68
unsigned long * SVALIndices
contains (for every sample value) an index to the current opposite neighbour
Definition: EdgeIterator.h:127
ITERATIONMODE
Definition: EdgeIterator.h:53
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
std::list< SampleOccurence >::const_iterator SampleOccurenceIt
Definition: EdgeIterator.h:142
void findNextEdge(void)
Definition: EdgeIterator.cc:127
void operator++(void)
Definition: EdgeIterator.cc:57
Edge CurrentEdge
the current edge (is returned by operator*)
Definition: EdgeIterator.h:121
const Edge * operator*(void) const
Definition: EdgeIterator.h:79
static void setMaxNumEdges(UWORD32 mne)
Definition: EdgeIterator.h:114
allows an iteration trough all edges of a vertex
Definition: EdgeIterator.h:51
void reset(Vertex *v, ITERATIONMODE m=SAMPLEOCCURENCE)
Definition: EdgeIterator.cc:121
static UWORD32 MaxNumEdges
the maximum number of edges the EdgeIterator should iterate through
Definition: EdgeIterator.h:130
ITERATIONMODE Mode
mode of iteration
Definition: EdgeIterator.h:124
a graph constructed from a cover file and a message to be embedded
Definition: Graph.h:51
a vertex in a graph
Definition: Vertex.h:43
@ SAMPLEVALUE
Definition: EdgeIterator.h:55
bool isFinished(void) const
Definition: EdgeIterator.h:101
bool isDestSampleValueOK(const SampleValue *sv)
@ SAMPLEOCCURENCE
Definition: EdgeIterator.h:54
void print(unsigned short spc=0) const