angel::Transformation Class Reference

Graph-independent transformation. More...

#include <angel_types.hpp>

Collaboration diagram for angel::Transformation:

Collaboration graph
[legend]

List of all members.

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 EdgeElimgetEdgeElim () const
const ReroutinggetRerouting () const

Private Member Functions

 Transformation ()

Private Attributes

bool myIsReroutingFlag
Rerouting myRerouting
EdgeElim myEdgeElim


Detailed Description

Graph-independent transformation.

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.


Constructor & Destructor Documentation

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]


Member Function Documentation

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.

Here is the call graph for this function:

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


Member Data Documentation

bool angel::Transformation::myIsReroutingFlag [private]

Definition at line 840 of file angel_types.hpp.

Referenced by debug(), and isRerouting().

Rerouting angel::Transformation::myRerouting [private]

Definition at line 842 of file angel_types.hpp.

Referenced by debug(), and getRerouting().

EdgeElim angel::Transformation::myEdgeElim [private]

Definition at line 843 of file angel_types.hpp.

Referenced by debug(), and getEdgeElim().


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