angel::Rerouting Class Reference

Graph-independent rerouting. More...

#include <angel_types.hpp>

List of all members.

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


Detailed Description

Graph-independent rerouting.

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.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:


Member Function Documentation

std::string angel::Rerouting::debug (  )  const

Definition at line 547 of file angel_types.cpp.

References i, j, k, and pre.

Referenced by angel::Transformation::debug().

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

unsigned int angel::Rerouting::getI (  )  const

Definition at line 572 of file angel_types.cpp.

References i.

Referenced by operator==().

unsigned int angel::Rerouting::getJ (  )  const

Definition at line 576 of file angel_types.cpp.

References j.

Referenced by operator==().

unsigned int angel::Rerouting::getK (  )  const

Definition at line 580 of file angel_types.cpp.

References k.

Referenced by operator==().

bool angel::Rerouting::operator== ( const Rerouting anotherRerouting  )  const

Definition at line 584 of file angel_types.cpp.

References getI(), getJ(), getK(), and isPre().

Here is the call graph for this function:

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Wed Mar 11 10:34:41 2009 for angel by  doxygen 1.5.3