![]() |
Fréchet View
1.6.0
A Tool for Exploring Fréchet Distance Algorithms
|
a range of node indices in a Reachability Graph
Definition at line 17 of file graph_model.h.
#include <graph_model.h>
Public Member Functions | |
IndexRange () | |
empty constructor More... | |
IndexRange (Orientation ori, int l, int u) | |
default constructor More... | |
bool | empty () const |
void | clear () |
clear range More... | |
int | len () const |
bool | contains (int i) const |
containment test More... | |
bool | contains (const IndexRange &that) const |
containment test More... | |
bool | operator== (const IndexRange &that) const |
comparison operator More... | |
bool | operator!= (const IndexRange &that) const |
comparison operator More... | |
IndexRange | operator+ (const IndexRange &b) const |
union operator More... | |
IndexRange | operator+ (int offset) const |
shift operator More... | |
IndexRange | operator- (int offset) const |
shift operator More... | |
IndexRange | operator & (const IndexRange &b) const |
intersection operator More... | |
IndexRange & | operator+= (const IndexRange &b) |
union operator More... | |
IndexRange & | operator-= (int offset) |
shift operator More... | |
IndexRange & | operator&= (const IndexRange &b) |
intersection operator More... | |
bool | intersects (const IndexRange &b) const |
intersection test More... | |
Public Attributes | |
Orientation | ori |
horizontal or vertical part of the reachability structure? More... | |
int | lower |
lower index (inclusive) More... | |
int | upper |
upper index (exclusive) More... | |
IndexRange::IndexRange | ( | ) |
empty constructor
Definition at line 10 of file graph_model.cpp.
frechet::reach::IndexRange::IndexRange | ( | Orientation | ori, |
int | l, | ||
int | u | ||
) |
default constructor
ori | horizontal or vertical part of the reachability structure? |
l | lower index (inclusive) |
u | upper index (exclusive) |
void IndexRange::clear | ( | ) |
clear range
Definition at line 19 of file graph_model.cpp.
bool IndexRange::contains | ( | int | i | ) | const |
containment test
i | a node index |
Definition at line 26 of file graph_model.cpp.
bool IndexRange::contains | ( | const IndexRange & | that | ) | const |
containment test
that | another range |
Definition at line 30 of file graph_model.cpp.
bool IndexRange::empty | ( | ) | const |
Definition at line 18 of file graph_model.cpp.
bool IndexRange::intersects | ( | const IndexRange & | b | ) | const |
intersection test
b | another range |
Definition at line 52 of file graph_model.cpp.
int IndexRange::len | ( | ) | const |
Definition at line 21 of file graph_model.cpp.
IndexRange IndexRange::operator & | ( | const IndexRange & | b | ) | const |
intersection operator
b | another range, required to have the same orientation |
Definition at line 36 of file graph_model.cpp.
bool IndexRange::operator!= | ( | const IndexRange & | that | ) | const |
comparison operator
that | another range |
Definition at line 75 of file graph_model.cpp.
IndexRange & IndexRange::operator&= | ( | const IndexRange & | b | ) |
intersection operator
b | another range, required to have the same orientation |
Definition at line 44 of file graph_model.cpp.
IndexRange IndexRange::operator+ | ( | const IndexRange & | b | ) | const |
union operator
b | another range, required to be adjacent to this range |
Definition at line 59 of file graph_model.cpp.
IndexRange IndexRange::operator+ | ( | int | offset | ) | const |
shift operator
offset | offset to apply to the range |
Definition at line 80 of file graph_model.cpp.
IndexRange & IndexRange::operator+= | ( | const IndexRange & | b | ) |
union operator
b | another range, required to be adjacent to this range |
Definition at line 90 of file graph_model.cpp.
IndexRange IndexRange::operator- | ( | int | offset | ) | const |
shift operator
offset | offset to apply to the range |
Definition at line 85 of file graph_model.cpp.
IndexRange & IndexRange::operator-= | ( | int | offset | ) |
shift operator
offset | offset to apply to the range |
Definition at line 98 of file graph_model.cpp.
bool IndexRange::operator== | ( | const IndexRange & | that | ) | const |
comparison operator
that | another range |
Definition at line 68 of file graph_model.cpp.
int frechet::reach::IndexRange::lower |
lower index (inclusive)
Definition at line 21 of file graph_model.h.
Orientation frechet::reach::IndexRange::ori |
horizontal or vertical part of the reachability structure?
Definition at line 19 of file graph_model.h.
int frechet::reach::IndexRange::upper |
upper index (exclusive)
Definition at line 23 of file graph_model.h.