angel  mercurial changeset:
angel::Transformation Class Reference

Graph-independent transformation. More...

#include <angel_types.hpp>

Collaboration diagram for angel::Transformation:

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 826 of file angel_types.hpp.


Constructor & Destructor Documentation

Definition at line 625 of file angel_types.cpp.

angel::Transformation::Transformation ( const edge_bool_t be,
const c_graph_t angelLCG 
)

Definition at line 630 of file angel_types.cpp.

Definition at line 636 of file angel_types.cpp.

Definition at line 641 of file angel_types.cpp.

angel::Transformation::Transformation ( const edge_reroute_t aRerouteElim,
const c_graph_t angelLCG 
)

Definition at line 646 of file angel_types.cpp.


Member Function Documentation

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

Definition at line 652 of file angel_types.cpp.

References angel::EdgeElim::debug(), angel::Rerouting::debug(), myEdgeElim, myIsReroutingFlag, and myRerouting.

Here is the call graph for this function:


Member Data Documentation

Definition at line 856 of file angel_types.hpp.

Referenced by debug(), and getEdgeElim().

Definition at line 853 of file angel_types.hpp.

Referenced by debug(), and isRerouting().

Definition at line 855 of file angel_types.hpp.

Referenced by debug(), and getRerouting().


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