Research Trees: What is the best way to do them?

I my last thread, which I locked as it was going no where, I asked about research trees. (*Note: You really should have a forums for Game Programming not related to Utilities)

I figured I would try again.

What I really need, is guidance. I have never set up a game that uses a research tree before, so I am lost about the best method to use for one.

This time, I have a Diagram, so I hope it helps:
Picture Spoiler
Image


Now, for the question. How do I program that? I have tried to use for loops and such, but it takes forever to search through one tree...

Any help will be nice... ^_^
The image link is broken. Sorry I can't help, it's been a while since I worked with trees.
Whats a research tree?
The best way to describe a research tree... Well, to put it simply, it is when you need a previous bit of research to research the next thing... For Example: To research SRM-4, you need to have SRM-2 Researched. To research LRM-20, you need LRM-15, LRM-10, and LRM-5 researched...
Thanks. How are you doing the tree right now?
FlatFiles converted into massive Lists...

Right now I am using a Struct as the base. The attributes are ID, Name, Cost and another Struct called Requirements...
I feel I must ask, Is there no one who has tried to create a game that uses a research tree?

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=71205