#include <angel_types.hpp>
Public Member Functions | |
| Rerouting () | |
| Rerouting (const c_graph_t::edge_t e, const c_graph_t::edge_t pivot_e, bool isPre, const c_graph_t &angelLCG) | |
| Rerouting (const edge_reroute_t &er, const c_graph_t &angelLCG) | |
| std::string | debug () const |
| bool | isPre () const |
| c_graph_t::edge_t | getE (const c_graph_t &angelLCG) const |
| c_graph_t::edge_t | getPivotE (const c_graph_t &angelLCG) const |
| edge_reroute_t | getER (const c_graph_t &angelLCG) const |
| unsigned int | getI () const |
| unsigned int | getJ () const |
| unsigned int | getK () const |
| bool | operator== (const Rerouting &anotherRerouting) const |
Private Member Functions | |
| void | init (const c_graph_t::edge_t &e, const c_graph_t::edge_t &pivot_e, bool isPre, const c_graph_t &angelLCG) |
Private Attributes | |
| unsigned int | i |
| unsigned int | j |
| unsigned int | k |
| bool | pre |
Class for representing a rerouting. The relevant edges are represented by the unsigned ints that correspond to their source and target. This allows us to represent a rerouting independently of a particular graph instance.
Definition at line 767 of file angel_types.hpp.
| angel::Rerouting::Rerouting | ( | ) |
Definition at line 532 of file angel_types.cpp.
| angel::Rerouting::Rerouting | ( | const c_graph_t::edge_t | e, | |
| const c_graph_t::edge_t | pivot_e, | |||
| bool | isPre, | |||
| const c_graph_t & | angelLCG | |||
| ) |
Definition at line 535 of file angel_types.cpp.
References init().

| angel::Rerouting::Rerouting | ( | const edge_reroute_t & | er, | |
| const c_graph_t & | angelLCG | |||
| ) |
Definition at line 542 of file angel_types.cpp.
References angel::edge_reroute_t::e, init(), angel::edge_reroute_t::isPre, and angel::edge_reroute_t::pivot_e.

| std::string angel::Rerouting::debug | ( | ) | const |
| bool angel::Rerouting::isPre | ( | ) | const |
Definition at line 554 of file angel_types.cpp.
References pre.
Referenced by xaifBoosterCrossCountryInterface::compute_partial_transformation_sequence(), and operator==().
| c_graph_t::edge_t angel::Rerouting::getE | ( | const c_graph_t & | angelLCG | ) | const |
Definition at line 558 of file angel_types.cpp.
References angel::getEdge(), i, and k.
Referenced by getER().

| c_graph_t::edge_t angel::Rerouting::getPivotE | ( | const c_graph_t & | angelLCG | ) | const |
Definition at line 563 of file angel_types.cpp.
References angel::getEdge(), i, j, k, and pre.
Referenced by getER().

| edge_reroute_t angel::Rerouting::getER | ( | const c_graph_t & | angelLCG | ) | const |
Definition at line 568 of file angel_types.cpp.
References getE(), getPivotE(), and pre.
Referenced by xaifBoosterCrossCountryInterface::compute_partial_transformation_sequence(), and angel::transformation_effect().

| unsigned int angel::Rerouting::getI | ( | ) | const |
| unsigned int angel::Rerouting::getJ | ( | ) | const |
| unsigned int angel::Rerouting::getK | ( | ) | const |
| bool angel::Rerouting::operator== | ( | const Rerouting & | anotherRerouting | ) | const |
| void angel::Rerouting::init | ( | const c_graph_t::edge_t & | e, | |
| const c_graph_t::edge_t & | pivot_e, | |||
| bool | isPre, | |||
| const c_graph_t & | angelLCG | |||
| ) | [private] |
Definition at line 594 of file angel_types.cpp.
References i, j, k, pre, and THROW_EXCEPT_MACRO.
Referenced by Rerouting().
unsigned int angel::Rerouting::i [private] |
Definition at line 803 of file angel_types.hpp.
Referenced by debug(), getE(), getI(), getPivotE(), and init().
unsigned int angel::Rerouting::j [private] |
Definition at line 803 of file angel_types.hpp.
Referenced by debug(), getJ(), getPivotE(), and init().
unsigned int angel::Rerouting::k [private] |
Definition at line 803 of file angel_types.hpp.
Referenced by debug(), getE(), getK(), getPivotE(), and init().
bool angel::Rerouting::pre [private] |
Definition at line 804 of file angel_types.hpp.
Referenced by debug(), getER(), getPivotE(), init(), and isPre().
1.5.3