[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

distinct moves problem

Subject: distinct moves problem
From: "Ahmad J. Reeves" <ahmad@xxxxxxxxxxxxxx>
Date: Wed, 09 Jan 2002 14:22:39 +0000
 distinct moves problem
Hi Dimitre,

Yes I do actually mean the moves a character makes in document order
through either different rooms or back to the same room. In the xml file
each <DIRECT> node encompasses a single message sent by one character to
either  a single individual or to many individuals in different
locations.The <TIME> tags  show when each one was sent. They are all in
chronological order as defined by the <Serial> tag. So the idea is to get
an individuals movements in and out of rooms from the start to the end of
the log. e.g 

  45040 - he started in this room
> 45030 - he moved to this room
> 45020 - he moved to this room
> 45020 - he's still in this room and sent another message
> 45020 - ditto
> 45040 - he's moved to this room
> 45040 - he's still in this room and sent another message
> 45020 - he's back in this room again

This tell's me he made 4 moves overall, gonig to different rooms and
eventually back to the original one he was in. The only problem is that
they can send hundreds of messages from the same room, so it would be nice
to have say if there were more than one message from the same room, to
ignore them until he moved to a new room. So instead of the above we would

  45040 - he started in this room
> 45030 - he moved to this room
> 45020 - he moved to this room
> 45040 - he's moved to this room
> 45020 - he's back in this room again



At 04:35 AM 1/9/02 -0800, you wrote:
>--- "Ahmad J. Reeves" <ahmad@xxxxxxxxxxxxxx> wrote:
>> Hi Dimitre and all,
>> I've just noticed that the list generated doesnt allow
>> for the fact that an individual may return to the same room
>> after he has left it. Rather it lists, I think, all of the
>> unique rooms he has passed through. 
>Hi Ahmad,
> I really thought that you wanted the number of distinct rooms visited. I
do not
>understand completely what do you mean by "distinct moves", e.g. how many
>moves will a character have performed if he visited the following rooms in
> 45040
> 45030
> 45020
> 45020
> 45020
> 45040 
> 45040 
>Also, it is not clear that document order is the same as chronological
order, and
>there's no date/time information in the xml files you provided.
>In case these are precisely defined, there should be an appropriate solution.
>Dimitre Novatchev.
>Do You Yahoo!?
>Send your FREE holiday greetings online!
Ahmad J Reeves BSc (Hons) MSc (Dist) PhD Student
Information, Media & Communication Research Group
Department of Computer Science
Queen Mary, University of London
E1 4NS
Tel +44(0) 207 882 5257
Fax +44(0) 208 980 6533

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.