locked
plz help me in getting the code of antnet algorithm RRS feed

  • Question

  • hi, i am working on project of using ant colony optimization and espcially on antnet algorithm but i have many problems in programming of this algorithm, and since i dont perfer using simulation for that purpose i will be gratful for any one can help me in coding the algorithm in visual basice 8,

    thanks in advance.

    Tuesday, May 8, 2012 10:22 AM

Answers

  • Check out: this

    Hannes

    If you have got questions about this, just ask.

    In a perfect world,
    users would never enter data in the wrong form,
    files they choose to open would always exist
    and code would never have bugs.

    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/

    Tuesday, May 8, 2012 10:30 AM
  • code of antnet algorithm
    • Merged by Reed KimbleMVP, Moderator Tuesday, May 8, 2012 7:17 PM duplicate post with additional info
    • Marked as answer by duha_ms Wednesday, May 9, 2012 9:13 AM
    Tuesday, May 8, 2012 10:06 AM
  • First, let me say thank you for writing a more complete post.  The better you describe your problem, the better the quality of the help you'll receive.

    Please see this article:  http://msdn.microsoft.com/en-us/magazine/hh781027.aspx

    Although that code is in C#, it isn't anything fancy and should readily translate into VB.

    This article explains the principles of the algorithm and gives you a good starting point in managed code.  You can then adapt this foundation for the specific problem that you are trying to solve.


    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    • Proposed as answer by Youen ZenModerator Wednesday, May 9, 2012 9:07 AM
    • Marked as answer by duha_ms Wednesday, May 9, 2012 9:13 AM
    Tuesday, May 8, 2012 7:20 PM
    Moderator

All replies

  • code of antnet algorithm
    • Merged by Reed KimbleMVP, Moderator Tuesday, May 8, 2012 7:17 PM duplicate post with additional info
    • Marked as answer by duha_ms Wednesday, May 9, 2012 9:13 AM
    Tuesday, May 8, 2012 10:06 AM
  • Check out: this

    Hannes

    If you have got questions about this, just ask.

    In a perfect world,
    users would never enter data in the wrong form,
    files they choose to open would always exist
    and code would never have bugs.

    C# to VB.NET: http://www.developerfusion.com/tools/convert/csharp-to-vb/

    Tuesday, May 8, 2012 10:30 AM
  • First, let me say thank you for writing a more complete post.  The better you describe your problem, the better the quality of the help you'll receive.

    Please see this article:  http://msdn.microsoft.com/en-us/magazine/hh781027.aspx

    Although that code is in C#, it isn't anything fancy and should readily translate into VB.

    This article explains the principles of the algorithm and gives you a good starting point in managed code.  You can then adapt this foundation for the specific problem that you are trying to solve.


    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"

    • Proposed as answer by Youen ZenModerator Wednesday, May 9, 2012 9:07 AM
    • Marked as answer by duha_ms Wednesday, May 9, 2012 9:13 AM
    Tuesday, May 8, 2012 7:20 PM
    Moderator
  • first , i would like to thank you for your rapid reply and for intersting to help me, but i have few notes on that, i am already code TSP problem and so iam looking for solving routing issue by using antnet algorithm which based on ant colony optimization , and as you know it is little differ on, through using mulitple agents represented by forward and backword ants, finally i dont hide on you, iam already working on, but now i face problem of entering in loop while discovering the  best path in choosing next hop of problem.

    very gratflule for your answer.

    duha.


    duha saleh

    Wednesday, May 9, 2012 9:27 AM