Re: [robocup-rescue-s] Question about routes

From: Mohammad Mehdi Saboorian (saboorian@gmail.com)
Date: Tue 17 May 2005 - 20:13:30 GMT


No!
if "from" is point A and "to" is point B,
the returning result will be the specified angle in attached picture.
 have fun,
 Mohammad Mehdi Saboorian
member of SBCe_Saviour
  On 5/18/05, Silvia Suárez <sandrea_sb@hotmail.com> wrote:
>
> it means that the result of direction(from, to) is equal to result of
> distance(from, to)? I think i dont understand very well your response,
> sorry...
>
> SIlvia
>
> >From: Mohammad Mehdi Saboorian <saboorian@gmail.com>
> >Reply-To: Mohammad Mehdi Saboorian <saboorian@gmail.com>
> >To: Silvia Suárez <sandrea_sb@hotmail.com>
> >CC: robocup-rescue-s@cc.gatech.edu
> >Subject: Re: [robocup-rescue-s] Question about routes
> >Date: Tue, 17 May 2005 23:26:43 +0430
> >
> >it meant to give a direction from "from" to "to" : )
> >its result is equal to drawing a line between points represented by its
> two
> >arguments, and calculating its positive angle from vertical line.
> > have fun,
> > Mohammad Mehdi Saboorian
> >member of SBCe_Saviour
> >
> > On 5/17/05, Silvia Suárez <sandrea_sb@hotmail.com> wrote:
> > >
> > > hi, thanks for your response...
> > >
> > > does Somebody knows how the direction(from, to) method works? it is in
> >the
> > > util.java class of the yab package in yabapi.
> > >
> > > Thanks,
> > >
> > > Silvia.
> > >
> > > >From: Mohammad Mehdi Saboorian <saboorian@gmail.com>
> > > >Reply-To: Mohammad Mehdi Saboorian <saboorian@gmail.com>
> > > >To: Silvia Suárez <sandrea_sb@hotmail.com>
> > > >CC: samy_442@yahoo.com, hrvaezi@gmail.com,
> >robocup-rescue-s@cc.gatech.edu
> > > >Subject: Re: [robocup-rescue-s] Question about routes
> > > >Date: Tue, 17 May 2005 09:38:23 +0430
> > > >
> > > >you mean want to find the shortest path including all fires?
> > > >if so,there's a function :
> > > > Router.java
> > > >public static Route get(MotionlessObject origin, Collection
> >destinations,
> > > >CostFunction costFunc)
> > > > that takes a collection of destinations and returns an optimal route
> >to
> > > >one
> > > >of desitnations (estimating cost using costFunc) .
> > > > have fun,
> > > > Mohammad Mehdi Saboorian
> > > >Member of SBCe_Saviour
> > > > On 5/16/05, Silvia Suárez <sandrea_sb@hotmail.com> wrote:
> > > > >
> > > > > Dear all,
> > > > >
> > > > > If I have some fires collection, How could I calculate the total
> > > minimum
> > > > > distance that some FireBrigade Agent would has to walk along of
> this
> > > >route
> > > > > of fires until getting the end of the route?
> > > > >
> > > > > I am using Yabapi by Takeshi Morimoto.
> > > > >
> > > > > Somebody can give me some idea?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Silvia
> > > > >
> > > > > _______________________________________________
> > > > > robocup-rescue-s mailing list
> > > > > robocup-rescue-s@mailman.cc.gatech.edu
> > > > > https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
> > > > >
> > >
> > >
>
>



Direction.GIF

_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s@mailman.cc.gatech.edu
https://mailman.cc.gatech.edu/mailman/listinfo/robocup-rescue-s



This archive was generated by hypermail 2.1.3 : Tue 17 May 2005 - 20:38:57 GMT