66 void set (
Vertex* v1,
unsigned short idx1,
Vertex* v2,
unsigned short idx2) ;
106 void print (
unsigned short spc = 0)
const ;
120 #endif // ndef SH_EDGE_H unsigned short Index1
contains the index of the sample (of those in Vertex1) that will be changed (if this edge is used) ...
Definition: Edge.h:111
void set1(Vertex *v1, unsigned short idx1)
Definition: Edge.cc:58
Vertex * Vertex1
Definition: Edge.h:109
Vertex * getOtherVertex(const Vertex *v) const
Definition: Edge.cc:106
unsigned short getIndex2(void) const
Definition: Edge.h:61
unsigned short Index2
contains the index of the sample (of those in Vertex2) that will be changed (if this edge is used) ...
Definition: Edge.h:115
Edge(void)
Definition: Edge.h:33
UWORD32 SamplePos
Definition: common.h:67
void swap(void)
Definition: Edge.cc:90
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
void setIndex1(unsigned short i)
Definition: Edge.h:58
void print(unsigned short spc=0) const
Definition: Edge.cc:166
Vertex * getVertex2(void) const
Definition: Edge.h:52
UWORD32 getWeight(void)
Definition: Edge.cc:41
#define UWORD32_MAX
Definition: common.h:53
unsigned short getIndex1(void) const
Definition: Edge.h:55
void setVertex1(Vertex *v)
Definition: Edge.h:49
bool operator!=(const Edge &e) const
Definition: Edge.cc:85
unsigned long UWORD32
Definition: common.h:45
Vertex * Vertex2
Definition: Edge.h:113
bool operator==(const Edge &e) const
Definition: Edge.cc:72
SamplePos getSamplePos(Vertex *v) const
Definition: Edge.cc:121
bool contains(const Vertex *v) const
Definition: Edge.cc:101
Vertex * getVertex1(void) const
Definition: Edge.h:46
UWORD32 Weight
Definition: Edge.h:117
SampleValue * getReplacingSampleValue(Vertex *v) const
Definition: Edge.cc:151
a vertex in a graph
Definition: Vertex.h:43
SampleValue * getOriginalSampleValue(Vertex *v) const
Definition: Edge.cc:136
void set2(Vertex *v2, unsigned short idx2)
Definition: Edge.cc:65