coco::graphorder_visitor Class Reference
[Models]

This visitor class is used for computing a graph order. More...

Inheritance diagram for coco::graphorder_visitor:

Inheritance graph
[legend]
Collaboration diagram for coco::graphorder_visitor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 graphorder_visitor (std::vector< unsigned int > &__v, std::vector< bool > &__b, unsigned int __k=0)
 graphorder_visitor (const graphorder_visitor &__c)
virtual void vinit ()
virtual void init ()
virtual bool postorder (const _Node &__n)
virtual void collect (const _Node &__n, collect_value __r)
unsigned int vvalue ()
unsigned int value ()
bool postorder (const expression_node &r)
void collect (const expression_node &r, unsigned int __v)
void vcollect (unsigned int __v)


Detailed Description

This postorder visitor computes an order of the nodes compatible with the DAG structure.

Definition at line 41 of file graphorder.cc.


Constructor & Destructor Documentation

coco::graphorder_visitor::graphorder_visitor ( std::vector< unsigned int > &  __v,
std::vector< bool > &  __b,
unsigned int  __k = 0 
) [inline]

Constructor setting phi to __v, phi_defined to __b, and k to __k.

Definition at line 55 of file graphorder.cc.

coco::graphorder_visitor::graphorder_visitor ( const graphorder_visitor __c  )  [inline]

Standard Copy Constructor

Definition at line 62 of file graphorder.cc.


Member Function Documentation

virtual void postorder_visitor< class, class, class >::collect ( const _Node &  __n,
collect_value  __r 
) [virtual, inherited]

void coco::graphorder_visitor::collect ( const expression_node r,
unsigned int  __v 
) [inline]

This is a method required for a postorder visitor.

Definition at line 82 of file graphorder.cc.

virtual void postorder_visitor< class, class, class >::init (  )  [virtual, inherited]

virtual bool postorder_visitor< class, class, class >::postorder ( const _Node &  __n  )  [virtual, inherited]

bool coco::graphorder_visitor::postorder ( const expression_node r  )  [inline]

This is a method required for a postorder visitor.

Definition at line 71 of file graphorder.cc.

unsigned int coco::graphorder_visitor::value (  )  [inline]

This is a method required for a postorder visitor.

Definition at line 69 of file graphorder.cc.

void coco::graphorder_visitor::vcollect ( unsigned int  __v  )  [inline]

This is a method required for a postorder visitor.

Definition at line 87 of file graphorder.cc.

virtual void postorder_visitor< class, class, class >::vinit (  )  [virtual, inherited]

unsigned int coco::graphorder_visitor::vvalue (  )  [inline, virtual]

This is a method required for a postorder visitor.

Reimplemented from postorder_visitor< expression_node, unsigned int, unsigned int >.

Definition at line 68 of file graphorder.cc.


The documentation for this class was generated from the following file:

Generated on Tue Feb 9 14:48:37 2010 for COCONUT API by  doxygen 1.5.8