angel  mercurial changeset:
angel::EdgeElim Class Reference

Graph-independent edge elimination. More...

#include <angel_types.hpp>

List of all members.

Public Member Functions

 EdgeElim ()
 EdgeElim (const c_graph_t::edge_t &e, bool isFront, const c_graph_t &angelLCG)
 EdgeElim (const edge_bool_t &be, const c_graph_t &angelLCG)
 EdgeElim (const edge_ij_elim_t &eij)
std::string debug () const
bool isFront () const
unsigned int getSource () const
unsigned int getTarget () const
c_graph_t::edge_t getE (const c_graph_t &angelLCG) const
edge_bool_t getBool (const c_graph_t &angelLCG) const
unsigned int getCost (const c_graph_t &angelLCG) const
 returns cost (nontrivial mults) of performing this edge elim on angelLCG

Private Attributes

bool myIsFrontFlag
unsigned int mySource
unsigned int myTarget

Detailed Description

Graph-independent edge elimination.

Class for representing an edge elimination. The edge is represented by the unsigned ints that correspond to its source and target. This allows us to represent a rerouting independently of a particular graph instance.

Definition at line 738 of file angel_types.hpp.


Constructor & Destructor Documentation

Definition at line 467 of file angel_types.cpp.

angel::EdgeElim::EdgeElim ( const c_graph_t::edge_t e,
bool  isFront,
const c_graph_t angelLCG 
)

Definition at line 470 of file angel_types.cpp.

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

Definition at line 478 of file angel_types.cpp.

Definition at line 485 of file angel_types.cpp.


Member Function Documentation

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

Definition at line 491 of file angel_types.cpp.

References myIsFrontFlag, mySource, and myTarget.

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

edge_bool_t angel::EdgeElim::getBool ( const c_graph_t angelLCG) const

Definition at line 515 of file angel_types.cpp.

References angel::getEdge(), myIsFrontFlag, mySource, and myTarget.

Here is the call graph for this function:

unsigned int angel::EdgeElim::getCost ( const c_graph_t angelLCG) const

returns cost (nontrivial mults) of performing this edge elim on angelLCG

Definition at line 519 of file angel_types.cpp.

References getE(), myIsFrontFlag, mySource, myTarget, and angel::UNIT_EDGE.

Here is the call graph for this function:

unsigned int angel::EdgeElim::getSource ( ) const

Definition at line 503 of file angel_types.cpp.

References mySource.

unsigned int angel::EdgeElim::getTarget ( ) const

Definition at line 507 of file angel_types.cpp.

References myTarget.


Member Data Documentation

Definition at line 769 of file angel_types.hpp.

Referenced by debug(), getBool(), getCost(), and isFront().

unsigned int angel::EdgeElim::mySource [private]

Definition at line 770 of file angel_types.hpp.

Referenced by debug(), getBool(), getCost(), getE(), and getSource().

unsigned int angel::EdgeElim::myTarget [private]

Definition at line 771 of file angel_types.hpp.

Referenced by debug(), getBool(), getCost(), getE(), and getTarget().


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