prims algorithm

christy_girl99 at yahoo.com christy_girl99 at yahoo.com
Sun Nov 11 01:06:43 EST 2001


Can anyone show me how to do Prims algorithm in python? I'm supposed 
to find a minimum spanning tree of a weighted undirected graph using 
Prims algorithm. I can do it in C++, but Python is giving me major 
problems. 
I'm just learning this language and its pretty nuts, compared to 
C/C++. 

Thanks in advance
Christy








More information about the Python-list mailing list