angel  mercurial changeset:
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 780 of file angel_types.hpp.


Constructor & Destructor Documentation

Definition at line 540 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 543 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 550 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 555 of file angel_types.cpp.

References i, j, k, and pre.

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

c_graph_t::edge_t angel::Rerouting::getE ( const c_graph_t angelLCG) const

Definition at line 566 of file angel_types.cpp.

References angel::getEdge(), i, and k.

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 576 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 580 of file angel_types.cpp.

References i.

Referenced by operator==().

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

Definition at line 584 of file angel_types.cpp.

References j.

Referenced by operator==().

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

Definition at line 588 of file angel_types.cpp.

References k.

Referenced by operator==().

Definition at line 571 of file angel_types.cpp.

References angel::getEdge(), i, j, k, and pre.

Referenced by getER().

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 602 of file angel_types.cpp.

References i, isPre(), j, k, pre, and THROW_EXCEPT_MACRO.

Referenced by Rerouting().

Here is the call graph for this function:

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

Definition at line 592 of file angel_types.cpp.

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

Here is the call graph for this function:


Member Data Documentation

unsigned int angel::Rerouting::i [private]

Definition at line 816 of file angel_types.hpp.

Referenced by debug(), getE(), getI(), getPivotE(), and init().

unsigned int angel::Rerouting::j [private]

Definition at line 816 of file angel_types.hpp.

Referenced by debug(), getJ(), getPivotE(), and init().

unsigned int angel::Rerouting::k [private]

Definition at line 816 of file angel_types.hpp.

Referenced by debug(), getE(), getK(), getPivotE(), and init().

bool angel::Rerouting::pre [private]

Definition at line 817 of file angel_types.hpp.

Referenced by debug(), getER(), getPivotE(), init(), and isPre().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines