0
6
0
| ... | ... |
@@ -58,3 +58,3 @@ |
| 58 | 58 |
|
| 59 |
Node fromId(int id, Node) |
|
| 59 |
static Node fromId(int id, Node) {
|
|
| 60 | 60 |
return Parent::nodeFromId(id); |
| ... | ... |
@@ -62,3 +62,3 @@ |
| 62 | 62 |
|
| 63 |
Arc fromId(int id, Arc) |
|
| 63 |
static Arc fromId(int id, Arc) {
|
|
| 64 | 64 |
return Parent::arcFromId(id); |
| ... | ... |
@@ -357,3 +357,3 @@ |
| 357 | 357 |
|
| 358 |
Node fromId(int id, Node) |
|
| 358 |
static Node fromId(int id, Node) {
|
|
| 359 | 359 |
return Parent::nodeFromId(id); |
| ... | ... |
@@ -361,3 +361,3 @@ |
| 361 | 361 |
|
| 362 |
Arc fromId(int id, Arc) |
|
| 362 |
static Arc fromId(int id, Arc) {
|
|
| 363 | 363 |
return Parent::arcFromId(id); |
| ... | ... |
@@ -365,3 +365,3 @@ |
| 365 | 365 |
|
| 366 |
Edge fromId(int id, Edge) |
|
| 366 |
static Edge fromId(int id, Edge) {
|
|
| 367 | 367 |
return Parent::edgeFromId(id); |
| ... | ... |
@@ -869,3 +869,3 @@ |
| 869 | 869 |
|
| 870 |
void next(Arc& arc) |
|
| 870 |
static void next(Arc& arc) {
|
|
| 871 | 871 |
--arc.id; |
| ... | ... |
@@ -1175,3 +1175,3 @@ |
| 1175 | 1175 |
|
| 1176 |
void next(Arc& arc) |
|
| 1176 |
static void next(Arc& arc) {
|
|
| 1177 | 1177 |
--arc.id; |
| ... | ... |
@@ -1183,3 +1183,3 @@ |
| 1183 | 1183 |
|
| 1184 |
void next(Edge& arc) |
|
| 1184 |
static void next(Edge& arc) {
|
|
| 1185 | 1185 |
--arc.id; |
| ... | ... |
@@ -53,3 +53,3 @@ |
| 53 | 53 |
Node operator()(int ix) const { return Node(ix); }
|
| 54 |
int index(const Node& node) |
|
| 54 |
static int index(const Node& node) { return node._id; }
|
|
| 55 | 55 |
|
| ... | ... |
@@ -211,3 +211,3 @@ |
| 211 | 211 |
/// \sa operator() |
| 212 |
int index(const Node& node) |
|
| 212 |
static int index(const Node& node) { return Parent::index(node); }
|
|
| 213 | 213 |
|
| ... | ... |
@@ -285,3 +285,3 @@ |
| 285 | 285 |
Node operator()(int ix) const { return Node(ix); }
|
| 286 |
int index(const Node& node) |
|
| 286 |
static int index(const Node& node) { return node._id; }
|
|
| 287 | 287 |
|
| ... | ... |
@@ -582,3 +582,3 @@ |
| 582 | 582 |
/// \sa operator() |
| 583 |
int index(const Node& node) |
|
| 583 |
static int index(const Node& node) { return Parent::index(node); }
|
|
| 584 | 584 |
| ... | ... |
@@ -264,3 +264,3 @@ |
| 264 | 264 |
|
| 265 |
int index(Node node) |
|
| 265 |
static int index(Node node) {
|
|
| 266 | 266 |
return node._id; |
| ... | ... |
@@ -339,3 +339,3 @@ |
| 339 | 339 |
/// The lower bits of the integer describes the node. |
| 340 |
int index(Node node) |
|
| 340 |
static int index(Node node) {
|
|
| 341 | 341 |
return Parent::index(node); |
| ... | ... |
@@ -510,3 +510,3 @@ |
| 510 | 510 |
|
| 511 |
void next(Node& node) |
|
| 511 |
static void next(Node& node) {
|
|
| 512 | 512 |
--node._id; |
| ... | ... |
@@ -518,3 +518,3 @@ |
| 518 | 518 |
|
| 519 |
void next(Arc& arc) |
|
| 519 |
static void next(Arc& arc) {
|
|
| 520 | 520 |
--arc._id; |
| ... | ... |
@@ -526,3 +526,3 @@ |
| 526 | 526 |
|
| 527 |
void next(Edge& arc) |
|
| 527 |
static void next(Edge& arc) {
|
|
| 528 | 528 |
--arc._id; |
| ... | ... |
@@ -94,8 +94,8 @@ |
| 94 | 94 |
|
| 95 |
int id(const Node& n) const { return n.id; }
|
|
| 96 |
Node nodeFromId(int id) const { return Node(id); }
|
|
| 95 |
static int id(const Node& n) { return n.id; }
|
|
| 96 |
static Node nodeFromId(int id) { return Node(id); }
|
|
| 97 | 97 |
int maxNodeId() const { return node_num - 1; }
|
| 98 | 98 |
|
| 99 |
int id(const Arc& e) const { return e.id; }
|
|
| 100 |
Arc arcFromId(int id) const { return Arc(id); }
|
|
| 99 |
static int id(const Arc& e) { return e.id; }
|
|
| 100 |
static Arc arcFromId(int id) { return Arc(id); }
|
|
| 101 | 101 |
int maxArcId() const { return arc_num - 1; }
|
| ... | ... |
@@ -270,3 +270,3 @@ |
| 270 | 270 |
/// \sa index() |
| 271 |
Node node(int ix) |
|
| 271 |
static Node node(int ix) { return Parent::nodeFromId(ix); }
|
|
| 272 | 272 |
|
| ... | ... |
@@ -276,3 +276,3 @@ |
| 276 | 276 |
/// \sa index() |
| 277 |
Arc arc(int ix) |
|
| 277 |
static Arc arc(int ix) { return Parent::arcFromId(ix); }
|
|
| 278 | 278 |
|
| ... | ... |
@@ -282,3 +282,3 @@ |
| 282 | 282 |
/// \sa node() |
| 283 |
int index(Node node) |
|
| 283 |
static int index(Node node) { return Parent::id(node); }
|
|
| 284 | 284 |
|
| ... | ... |
@@ -288,3 +288,3 @@ |
| 288 | 288 |
/// \sa arc() |
| 289 |
int index(Arc arc) |
|
| 289 |
static int index(Arc arc) { return Parent::id(arc); }
|
|
| 290 | 290 |
|
0 comments (0 inline)