Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Procedure tree Projection {
Input: A NNT tree upto depth l
Output: node projected set
1. NPV <- 0
2. for each level li in input
3. for each (u,u')at level li
4. NPV[(li, label(u), label(u'))] <- NPV [li, label(u), label(u'))]+1
5. return NPV
}
Posted
Updated 1-Nov-12 8:41am
v2
Comments
Maciej Los 1-Nov-12 13:45pm    
Do your homework yourself!
JackDingler 1-Nov-12 13:49pm    
Yes, you should write some code for that algorithm.

Feel free to ask if you have specific questions regarding C/C++.
Member 9564224 1-Nov-12 13:51pm    
yes..actually this is a part of my project and i need the code in c only.
Richard MacCutchan 1-Nov-12 14:01pm    
Then you need to write it; no one is going to do your work for you.
Member 9564224 1-Nov-12 14:02pm    
Thank you

1 solution

We are not required, you are required to produce the code.
We may just help.
I would suggest you reading some introductory material (tutorials or a good book) about the C programming language.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900