Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
About tranjectories
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
stefanady  
View profile  
 More options Apr 24 2008, 2:46 am
From: stefanady <stefan...@yahoo.gr>
Date: Wed, 23 Apr 2008 23:46:35 -0700 (PDT)
Local: Thurs, Apr 24 2008 2:46 am
Subject: About tranjectories
I have a set of messages, and every message contains a ttl (time to
live) variable. Is there any way to
check those ttl values using a tranjectory? For example I want to
delete a message form the set, when its ttl expires. I tried to use a
for loop inside the tranjectory but the compiler doesn't support
that.  I would be thankful if you could give me a piece of advice.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carleton Coffrin  
View profile  
 More options Apr 24 2008, 10:24 pm
From: "Carleton Coffrin" <Carle...@Coffrin.com>
Date: Thu, 24 Apr 2008 22:24:31 -0400
Local: Thurs, Apr 24 2008 10:24 pm
Subject: Re: [tempo-tools] About tranjectories

Trajectories are mostly read only.  They are designed to only modify evolve
variables in a continuous fashion.  In a trajectory you can check if the TTL
has expired and stop the evolution, but there is no way to modify the set of
messages.

We might be able to make more suggestions if we had the complete TIOA model.

-Carleton


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stefanady  
View profile  
 More options May 2 2008, 4:14 pm
From: stefanady <stefan...@yahoo.gr>
Date: Fri, 2 May 2008 13:14:42 -0700 (PDT)
Local: Fri, May 2 2008 4:14 pm
Subject: Re: About tranjectories
Is there any way to use a for loop into a tranjectory? Because I would
like  to check a set of ttl values.

On Apr 25, 5:24 am, "Carleton Coffrin" <Carle...@Coffrin.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Carleton Coffrin  
View profile  
 More options May 2 2008, 4:42 pm
From: "Carleton Coffrin" <Carle...@Coffrin.com>
Date: Fri, 2 May 2008 16:42:26 -0400
Local: Fri, May 2 2008 4:42 pm
Subject: Re: [tempo-tools] Re: About tranjectories

On Fri, May 2, 2008 at 4:14 PM, stefanady <stefan...@yahoo.gr> wrote:

> Is there any way to use a for loop into a tranjectory? Because I would
> like  to check a set of ttl values.

Yes.  The exists quantifier ( \E <var> <predicate>) should work.  We even
have a special version of the quantifiers for working with collections (\E
<var> in <collection> where <predicate>).  Here is an example,

automaton A

  states

    now: Real := 0;

    ttl: Set[Real] := {5, 10, 20, 40};

  trajectories

    trajdef t

      stop when \E stopTime in ttl where now >= stopTime;

      evolve d(now) = 1;

  schedule

    do

      for x:Nat where x < 10 do

        follow t duration 1;

      od

    od

I hope this helps.
-Carleton


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »