Re: I need help with some algorithm



I don't think I understand the question. What answer would you want
given the following values for f and g?

No, I'll show you this on a simple example, but before it I'll coment
your letter

In range [0,0.5] f(t) = 10t and g(t) = -10t.

In range (0.5,1] f(t) = 9-8t and g(t) = 12t-11.

I haven't written, but f, g have values in square [0,1]x[0,1].

1) And now I'll show you example ... Let's consider a functions f given
by points: (,0,0)->(0.4,0.8)->(1,1) and g:
(0,0)->(0.2,0)->(0.6,0.9)->(1,1)
2) I plot both functions given by this sequences of points.
3) Let's imagine that both function are a mountain and we have two
walkers w1 and w2. We draw empty cords system to draw walkers' way ...
4)
- both walkers start in (0,0) so it's a firs point of their way (first
coord indicate argument f for w1 and second argument of g for w2).
- In range x in [0,0.2] w2 have to go on the ground to (0.2,0) and w1
wait for w2 to go on mountain, so second point is (0,0.2)
- In range [0.2,0.4] both walkers have to go on the mountain and third
point is aproxximately (0.4,0.56) (for second coord I have to invert g
in this range, and I do it not accurate)
- In range x in [0.4,0.6] walkers go to (0.8,0.6)
- at [0.6,1] walkers go to (1,1)
5) draw lines by this sequence of points give a searching walker's way.

.



Relevant Pages

  • Re: cause For Concern?
    ... Gordon H wrote: ... Novice walkers 'hamper rescuers' ... Mountain conditions can be treacherous for walkers ...
    (uk.rec.walking)
  • Re: cause For Concern?
    ... Novice walkers 'hamper rescuers' ... Mountain conditions can be treacherous for walkers ... Mountain rescue teams across the UK say they are experiencing one of their ... The risk for the majority of sensible folk is that some daft muppet will ...
    (uk.rec.walking)
  • Re: cause For Concern?
    ... Novice walkers 'hamper rescuers' ... Mountain conditions can be treacherous for walkers ... Mountain rescue teams across the UK say they are experiencing one of their busiest years amid a surge in emergency calls from inexperienced walkers. ... The only thing I can think of which might be acceptable to MRT is for volunteers camping near the Honey-pots at busy times, thereby relieving some of the strain from the actually members. ...
    (uk.rec.walking)
  • cause For Concern?
    ... Novice walkers 'hamper rescuers' ... Mountain conditions can be treacherous for walkers ... Mountain rescue teams across the UK say they are experiencing one of their busiest years amid a surge in emergency calls from inexperienced walkers. ...
    (uk.rec.walking)