CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #5
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Shortest Path Algorithm

    Quote Originally Posted by AbhiMFC View Post
    This is a Electrical Network,,Where we have Node(Poles) and Edges(Series elements like Transmission Line,Series reactor,etc),..

    So we have to find shortest path between given two nodes.

    We are Using CTypedPtrList class to store Nodes and Edges.
    We don't discuss MFC here. That is for the Visual C++ forum.

    Unless you want to reinvent the wheel, use the boost graph library:

    http://www.boost.org/
    http://www.boost.org/doc/libs/1_47_0..._contents.html
    http://www.boost.org/doc/libs/1_47_0...ar_search.html

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; July 21st, 2011 at 05:10 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured