112 void print (
unsigned short spc = 0)
const ;
141 #endif // ndef SH_VERTEX_H std::list< SampleOccurence >::iterator * SampleOccurenceIts
point to entries in std::lists of sample occurences in the graph
Definition: Vertex.h:129
void printEdges(void) const
Definition: Vertex.cc:192
EmbValue * TargetValues
the target values for the sample values (exactly one of them has to be reached (and the other left un...
Definition: Vertex.h:126
Edge * ShortestEdge
the shortest edge of this vertex (as calculated by updateShortestEdge)
Definition: Vertex.h:132
Vertex(VertexLabel l, SamplePos *sposs, SampleValue **svalues, EmbValue t)
Definition: Vertex.cc:28
UWORD32 getDegree(void) const
Definition: Vertex.cc:155
UWORD32 SamplePos
Definition: common.h:67
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
void markDeleted(void)
Definition: Vertex.cc:80
void updateShortestEdge(void)
Definition: Vertex.cc:128
UWORD32 VertexLabel
Definition: common.h:68
SampleValue * getSampleValue(unsigned short i) const
Definition: Vertex.h:69
unsigned long UWORD32
Definition: common.h:45
SamplePos getSamplePos(unsigned short i) const
Definition: Vertex.h:61
void setLabel(VertexLabel l)
Definition: Vertex.h:101
Definition: SampleOccurence.h:26
unsigned short SelfDegree
the number of loop edges (loop edges are not valid edges)
Definition: Vertex.h:138
VertexLabel Label
the vertex label of this vertex
Definition: Vertex.h:117
EmbValue getTargetValue(unsigned short i) const
Definition: Vertex.h:109
SampleValue ** SampleValues
the sample values at the SamplePositions
Definition: Vertex.h:123
void unmarkDeleted(void)
Definition: Vertex.cc:104
~Vertex(void)
Definition: Vertex.cc:71
bool valid
true iff this vertex is not deleted
Definition: Vertex.h:135
VertexLabel getLabel(void) const
Definition: Vertex.h:98
void print(unsigned short spc=0) const
Definition: Vertex.cc:166
void setSampleOccurenceIt(unsigned short i, std::list< SampleOccurence >::iterator it)
Definition: Vertex.h:104
Edge * getShortestEdge(void) const
Definition: Vertex.h:80
BYTE EmbValue
Definition: common.h:66
SamplePos * SamplePositions
the sample positions of the samples described by this vertex in the CvrStgFile
Definition: Vertex.h:120
EmbValue getEmbeddedValue(void) const
Definition: Vertex.cc:145
a vertex in a graph
Definition: Vertex.h:43