22 #ifndef __OCCURENCES__
23 #define __OCCURENCES__
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.
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
Count subtree occurences Count the number of occurences of each subtree of a root tree...
Tree specificKey(Tree root)
Creates a specific property key for occurrences count in root.
int getCount(Tree t)
Get the number of occurrences of t.
Occurrences(Tree root)
Count the number of occurrences of each subtree of root.