#include <Edge.h>
§ Edge() [1/3]
default constructor - does not create a useful object
§ Edge() [2/3]
Edge::Edge |
( |
Vertex * |
v1, |
|
|
unsigned short |
idx1, |
|
|
Vertex * |
v2, |
|
|
unsigned short |
idx2 |
|
) |
| |
constructs an edge object
§ Edge() [3/3]
Edge::Edge |
( |
const Edge & |
e | ) |
|
§ contains()
bool Edge::contains |
( |
const Vertex * |
v | ) |
const |
- Returns
- true iff this edge contains the vertex v
§ getIndex1()
unsigned short Edge::getIndex1 |
( |
void |
| ) |
const |
|
inline |
§ getIndex2()
unsigned short Edge::getIndex2 |
( |
void |
| ) |
const |
|
inline |
§ getOriginalSampleValue()
get the old sample value that will be replaced to embed the bit represented by the vertex v
§ getOtherVertex()
get the vertex on this edge that is not equal to v
§ getReplacingSampleValue()
get the sample value that should replace the previous sample value to embed the bit represented by the vertex v
§ getSamplePos()
get the position of the sample that should be changed to embed the bit represented by the vertex v
§ getVertex1()
Vertex* Edge::getVertex1 |
( |
void |
| ) |
const |
|
inline |
§ getVertex2()
Vertex* Edge::getVertex2 |
( |
void |
| ) |
const |
|
inline |
§ getWeight()
§ operator!=()
bool Edge::operator!= |
( |
const Edge & |
e | ) |
const |
§ operator==()
bool Edge::operator== |
( |
const Edge & |
e | ) |
const |
§ print()
void Edge::print |
( |
unsigned short |
spc = 0 | ) |
const |
§ set()
void Edge::set |
( |
Vertex * |
v1, |
|
|
unsigned short |
idx1, |
|
|
Vertex * |
v2, |
|
|
unsigned short |
idx2 |
|
) |
| |
§ set1()
void Edge::set1 |
( |
Vertex * |
v1, |
|
|
unsigned short |
idx1 |
|
) |
| |
§ set2()
void Edge::set2 |
( |
Vertex * |
v2, |
|
|
unsigned short |
idx2 |
|
) |
| |
§ setIndex1()
void Edge::setIndex1 |
( |
unsigned short |
i | ) |
|
|
inline |
§ setVertex1()
void Edge::setVertex1 |
( |
Vertex * |
v | ) |
|
|
inline |
§ swap()
swap vertices 1 and 2 in this edge (weight is not altered)
§ Index1
unsigned short Edge::Index1 |
|
private |
§ Index2
unsigned short Edge::Index2 |
|
private |
§ Vertex1
§ Vertex2
§ Weight
The documentation for this class was generated from the following files: