CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: maheshrang

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    8,390

    Re: Gassing the van problem(algorithm)

    Hello,
    If i am using the cost of the station I am driving to, then since there is no gas station at the destination, how do I calculate the cost of gas there?
    How do I calculate the return trip?
  2. Replies
    5
    Views
    8,390

    Re: Gassing the van problem(algorithm)

    Hello,
    The edges are created if the distance between 2 nodes is less than 600 miles (mileage of the van * capacity of tank)
    So there is a edge from starting point to gas station 1,2,3,4,5,6, but...
  3. Replies
    5
    Views
    8,390

    Gassing the van problem(algorithm)

    Hello CodeGuru forums,
    I have come across a problem,which states as follows :
    I have tried a lot to get the right answer, but i am not able to :(

    Intro: We will be renting a van and driving...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured