#include <angel_types.hpp>
Public Member Functions | |
Transformation (const EdgeElim &anEdgeElim) | |
Transformation (const edge_bool_t &be, const c_graph_t &angelLCG) | |
Transformation (const edge_ij_elim_t &an_ij_elim) | |
Transformation (const Rerouting &aRerouting) | |
Transformation (const edge_reroute_t &aRerouteElim, const c_graph_t &angelLCG) | |
std::string | debug () const |
bool | isRerouting () const |
returns true iff this Transformation is a rerouting | |
const EdgeElim & | getEdgeElim () const |
const Rerouting & | getRerouting () const |
Private Member Functions | |
Transformation () | |
Private Attributes | |
bool | myIsReroutingFlag |
Rerouting | myRerouting |
EdgeElim | myEdgeElim |
Class for representing either a rerouting or an edge elimination. The relevant edges are represented by the unsigned ints that correspond to their source and target. This allows us to represent a transformation independently of a particular graph instance.
Definition at line 813 of file angel_types.hpp.
angel::Transformation::Transformation | ( | const EdgeElim & | anEdgeElim | ) |
Definition at line 617 of file angel_types.cpp.
angel::Transformation::Transformation | ( | const edge_bool_t & | be, | |
const c_graph_t & | angelLCG | |||
) |
Definition at line 622 of file angel_types.cpp.
angel::Transformation::Transformation | ( | const edge_ij_elim_t & | an_ij_elim | ) |
Definition at line 628 of file angel_types.cpp.
angel::Transformation::Transformation | ( | const Rerouting & | aRerouting | ) |
Definition at line 633 of file angel_types.cpp.
angel::Transformation::Transformation | ( | const edge_reroute_t & | aRerouteElim, | |
const c_graph_t & | angelLCG | |||
) |
Definition at line 638 of file angel_types.cpp.
angel::Transformation::Transformation | ( | ) | [private] |
std::string angel::Transformation::debug | ( | ) | const |
Definition at line 644 of file angel_types.cpp.
References angel::EdgeElim::debug(), angel::Rerouting::debug(), myEdgeElim, myIsReroutingFlag, and myRerouting.
bool angel::Transformation::isRerouting | ( | ) | const |
returns true iff this Transformation is a rerouting
Definition at line 651 of file angel_types.cpp.
References myIsReroutingFlag.
Referenced by xaifBoosterCrossCountryInterface::compute_partial_transformation_sequence(), and angel::transformation_effect().
const EdgeElim & angel::Transformation::getEdgeElim | ( | ) | const |
Definition at line 655 of file angel_types.cpp.
References myEdgeElim.
Referenced by xaifBoosterCrossCountryInterface::compute_partial_transformation_sequence(), and angel::transformation_effect().
const Rerouting & angel::Transformation::getRerouting | ( | ) | const |
Definition at line 659 of file angel_types.cpp.
References myRerouting.
Referenced by xaifBoosterCrossCountryInterface::compute_partial_transformation_sequence(), and angel::transformation_effect().
bool angel::Transformation::myIsReroutingFlag [private] |
Rerouting angel::Transformation::myRerouting [private] |
EdgeElim angel::Transformation::myEdgeElim [private] |