Search:

Type: Posts; User: keat84

Search: Search took 0.11 seconds.

  1. Print 000 infront of String, I can get INT to work but not string

    Hi All,

    I have look thru internet on how to print the 0000 in front of string but i could not find it. I can print out integer without any problem. The code i using for int number is:-

    int x =...
  2. Replies
    6
    Views
    1,618

    Re: PriorityQueue Enquiries

    My program is something like this.

    I have an input files as follow

    5 5
    1 1
    5 5

    1 1 1 1 1
    1 1 1 1 1
  3. Replies
    6
    Views
    1,618

    Re: PriorityQueue Enquiries

    I would like to get the Object N from the priority Queue and do a comparison with current object .. if current object contains lesser cost-path, it will replace the object N..

    2 Object would have...
  4. Replies
    6
    Views
    1,618

    PriorityQueue Enquiries

    Hi All,

    I try to google around for how can i do the following thing in priorityqueue but there is no answer for this.

    It is actually quite straight forward, lets said i have a set of...
  5. Replies
    4
    Views
    1,469

    Re: BFS Travel not in the sequence

    Yup, it should do that. Not sure which of my code did the wrong part ..

    Ya. i am currently test on smaller map. Thanks for the suggestion thought...
  6. Replies
    4
    Views
    1,469

    Re: BFS Travel not in the sequence

    Ya, i understand how the program logic works. I dont have any debugger.

    Btw, the program suppose to travel by sequence Up, Down, Left and Right.
  7. Replies
    4
    Views
    1,469

    BFS Travel not in the sequence

    Dear All,

    I am coding for my AI Assignment.

    The assignment description as follow:-

    Perform a BFS on the 10 x 10 elevation grid which X equal to obstacle. It suppose to travel from Start to...
  8. Graph Search Theory with extend of BFS, UFS and A* Search in grid

    Dear All,

    I am currently working on my school assignment and have some confusing with the theory.

    The description of the assignment is

    Lets say we have a 5 x 5 grid as below:

    1 1 1 5 8...
Results 1 to 8 of 8