Graph Data structure to storing components in spice netlist..

J

Jonny

Hi;

I have a spice netlist contain capacitors, resistors, and mosfets. I want to
store the componets in a

graph so I can perform the following actions.

1. Check whether or not the network is connected/disconnected
2. Check which components are connectd to the net
3. Check whether the components are in series/paralle.

Any hint where should I start?

Thank you.

-Jonny
 
A

Alf P. Steinbach

* Jonny:
I have a spice netlist contain capacitors, resistors, and mosfets. I want to
store the componets in a

graph so I can perform the following actions.

1. Check whether or not the network is connected/disconnected
2. Check which components are connectd to the net
3. Check whether the components are in series/paralle.

Any hint where should I start?

A /relevant/ news-group, perhaps?
 
A

andy

Jonny said:
Hi;

I have a spice netlist contain capacitors, resistors, and mosfets. I want to
store the componets in a

graph so I can perform the following actions.

1. Check whether or not the network is connected/disconnected
2. Check which components are connectd to the net
3. Check whether the components are in series/paralle.

Any hint where should I start?

Could try Boost.Graph

http://www.boost.org/libs/graph/doc/

regards
Andy Little
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top