Results 1 to 10 of 10

Thread: Algorithm problem!

Hybrid View

  1. #1
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Algorithm problem!

    In that case you are going to have to explain, clearly, what exactly you want, and why the solutions given don't work for you. What do you mean by "collashing" ?

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: Algorithm problem!

    as said before - to make sure that they do not overlap

    so for example:

    starttime1: 3.00 endtime1: 4.00
    starttime2: 4.01 endtime2: 5.12
    starttime3: 3.23 endtime3: 3:59

    in that example, starttime3 will collash - because starttime1 and endtime1 fit in that range.

    Basically no time should interfere with any other time, making sure that each time is more or less than the previous time but certainly making sure that they do not collide with each other.

    take for example your daily routine

    you may have several meetings but you have to make sure that you do not have 2 meetings at 1 time but to make sure one proceeds the next....

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