Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » Event survey #1 of 3: adding priorities to events
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Stefan.Hoops


Posts: 170
Registered:
December 2006
Re: Event survey #1 of 3: adding priorities to events 24 Jun '10 18:58 Go to previous messageGo to previous message

Hello Chris,

On Thu, 24 Jun 2010 18:02:03 -0600
"Chris J. Myers" <myers@ece.utah.edu> wrote:

> It is the execution phase where it is evaluated. Also, newly
> created events are the same as pending events. They must have a
> higher priority than any other events pending to fire at this time
> point to fire.
>

This is what I assumed but that must be stated clearly.

> The last point you mention about what to do if no priority
> expression is given is more subtle. At the hackathon, we agreed
> that simultaneously enabled events should be fired in a random
> order. How we achieve this when all events don't have priorities can
> safely be arbitrary. Obviously if all have priorities we are also
> okay. The problem is when there is a mixture. One solution would be
> to assign some sort of default priortity like a uniform random
> variable.

This introduces a default, I more than dislike that.

> Another solution is to fall back on the old spec which say
> their firing order is undefined. This solution is the cleanest
> perhaps as there is no need for a default and tools that don't
> support priority expressions can fall back on the old spec. If you
> want to define behavior for your simultaneous events, you must add
> priority expressions to all your events.

This is where I was headed :)

>
> One other approach is to say all events with no priority have equal
> priority which is either expressly larger or smaller than those with
> priority. By the way, this is not all that different than giving
> all events the same constant priority as this should result in a
> random choice.

Again a default which I strongly object against ;)

>
> Anyway, I think if we go with the timing of events without
> priorities is arbitrary, i don't see why we cannot vote. The vote at
> this point is whether this is a good thing to add.

We are voting on a proposal which is incomplete. This does not mean
that we cannot resolve the issues easily. I actually think that we
have done it more or less as it seems we can agree on the following:

1) All simultaneously executed events have the priority object
As specified in the proposal/vote

2) None of the simultaneously executed events has the priority object
Not defined as in L2V4 and L3 currently

3) Some simultaneously executed events have the priority object and
some not.
Not defined as in L2V4 and L3 currently

It is entirely possible that even for the case of 'not defined'
simulataneous execution will lead to a welldefined solution. This is
the case if simulataneous events do not have conflicting assignments.
In that case all assignments could be executed as one block. If we want
this behavior we should add it to the specs.

Thanks,
Stefan


--
Stefan Hoops, Ph.D.
Senior Project Associate
Virginia Bioinformatics Institute - 0477
Virginia Tech
Bioinformatics Facility II
Blacksburg, Va 24061, USA

Phone: (540) 231-1799
Fax: (540) 231-2606
Email: shoops@vbi.vt.edu
____________________________________________________________
To manage your sbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-discuss

For a web interface to the sbml-discuss mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the sbml-discuss list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   Event survey #1 of 3: adding priorities to events Mike Hucka24 Jun '10 14:26
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Stefan.Hoops24 Jun '10 16:10
Read Message   Re: Event survey #1 of 3: adding priorities to eve... myers24 Jun '10 16:47
Read Message   Re: Event survey #1 of 3: adding priorities to eve... myers24 Jun '10 17:02
Read Message   Re: Event survey #1 of 3: adding priorities to eve...  Stefan.Hoops24 Jun '10 18:58
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Lucian Smith24 Jun '10 23:06
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Stefan.Hoops25 Jun '10 04:05
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Lucian Smith25 Jun '10 08:36
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Stefan.Hoops25 Jun '10 09:12
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Lucian Smith25 Jun '10 09:50
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Stefan.Hoops25 Jun '10 10:09
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Lucian Smith25 Jun '10 11:53
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Stefan.Hoops25 Jun '10 12:31
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Lucian Smith25 Jun '10 13:05
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Nicolas Le Novere25 Jun '10 14:24
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Lucian Smith25 Jun '10 14:56
Read Message   Re: Event survey #1 of 3: adding priorities to eve... Nicolas Le Novere25 Jun '10 15:13
Read Message   Re: Event survey #1 of 3: adding priorities to eve... myers26 Jun '10 10:21
Read Message   Re: Event survey #1 of 3: adding priorities to eve... myers25 Jun '10 09:58
Read Message   Results of Event survey #1 of 3: adding priorities... mhucka12 Jul '10 11:59
Previous Topic:Event survey #2 of 3: initial trigger values
Next Topic:BioUML version 0.9.0 have passed all SBML tests
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.