Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. about A* algorithm

about A* algorithm

Scheduled Pinned Locked Moved C#
algorithmshelp
8 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4753359
    wrote on last edited by
    #1

    pls help me with the code for A* algorithm for finding the shortest path between two points

    M Steve EcholsS U D 4 Replies Last reply
    0
    • U User 4753359

      pls help me with the code for A* algorithm for finding the shortest path between two points

      M Offline
      M Offline
      Mohib Sheth
      wrote on last edited by
      #2

      Look here.. http://www.codeproject.com/KB/recipes/PathFinderLibrary.aspx[^]

      ------------------------------------------------------------------ Life would have been much easier if I had the source-code!!

      1 Reply Last reply
      0
      • U User 4753359

        pls help me with the code for A* algorithm for finding the shortest path between two points

        Steve EcholsS Offline
        Steve EcholsS Offline
        Steve Echols
        wrote on last edited by
        #3

        Member 4756709 wrote:

        the shortest path between two points

        Is a straight line. :-D Couldn't resist....


        - S 50 cups of coffee and you know it's on!

        • S
          50 cups of coffee and you know it's on!
          Code, follow, or get out of the way.
        V 1 Reply Last reply
        0
        • U User 4753359

          pls help me with the code for A* algorithm for finding the shortest path between two points

          U Offline
          U Offline
          User 4753359
          wrote on last edited by
          #4

          hmm....the straight line is always not possible with blockages along the path between source to the exit...i dont want the shortest path b/w two points ;P but the shortest out of every available path.... :zzz:

          1 Reply Last reply
          0
          • Steve EcholsS Steve Echols

            Member 4756709 wrote:

            the shortest path between two points

            Is a straight line. :-D Couldn't resist....


            - S 50 cups of coffee and you know it's on!

            V Offline
            V Offline
            Vikram A Punathambekar
            wrote on last edited by
            #5

            Only on a 2D/3D surface. In 4D spacetime, it's a geodesic.

            Cheers, Vikram.


            "If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy

            Steve EcholsS 1 Reply Last reply
            0
            • V Vikram A Punathambekar

              Only on a 2D/3D surface. In 4D spacetime, it's a geodesic.

              Cheers, Vikram.


              "If a trend is truly global, then that trend ought to be visible across ANY subset of that data" - fat_boy

              Steve EcholsS Offline
              Steve EcholsS Offline
              Steve Echols
              wrote on last edited by
              #6

              Wasn't me that gave your the 1 vote... Doesn't Pythagoras work in any number of dimensions? The geodesic would just be a visualization of it, right?


              - S 50 cups of coffee and you know it's on!

              • S
                50 cups of coffee and you know it's on!
                Code, follow, or get out of the way.
              D 1 Reply Last reply
              0
              • Steve EcholsS Steve Echols

                Wasn't me that gave your the 1 vote... Doesn't Pythagoras work in any number of dimensions? The geodesic would just be a visualization of it, right?


                - S 50 cups of coffee and you know it's on!

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #7

                Pythagoras is only correct in euclidean geometry. It's not the number of dimensions that matters, it's the flatness that does. In flat space a geodesic is a strait line. In curved space a strait line isn't always the shortest path.

                Otherwise [Microsoft is] toast in the long term no matter how much money they've got. They would be already if the Linux community didn't have it's head so firmly up it's own command line buffer that it looks like taking 15 years to find the desktop. -- Matthew Faithfull

                1 Reply Last reply
                0
                • U User 4753359

                  pls help me with the code for A* algorithm for finding the shortest path between two points

                  D Offline
                  D Offline
                  DavidNohejl
                  wrote on last edited by
                  #8

                  Try here[^]. Lots of A* implementations are there ;)


                  [My Blog]
                  "Visual studio desperately needs some performance improvements. It is sometimes almost as slow as eclipse." - RĂ¼diger Klaehn
                  "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups