Occurrences Class Reference

Count subtree occurences Count the number of occurences of each subtree of a root tree. More...

#include <occurrences.hh>

List of all members.

Public Member Functions

 Occurrences (Tree root)
 Count the number of occurrences of each subtree of root.
int getCount (Tree t)
 Get the number of occurrences of t.

Private Member Functions

Tree specificKey (Tree root)
 Creates a specific property key for occurrences count in root.
void countOccurrences (Tree t)
 Increment the occurrences count of t and its subtrees.
void setCount (Tree t, int c)
 Set the number of occurrences of t.

Detailed Description

Count subtree occurences Count the number of occurences of each subtree of a root tree.

Definition at line 32 of file occurrences.hh.


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

Generated on 18 Dec 2009 for FAUST compiler by  doxygen 1.6.1