Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » assignments
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
fbergman


Posts: 122
Registered:
February 2010
Re: assignments 27 Apr '10 09:45 Go to previous messageGo to previous message

>
> If we want a common base that is fine with me byt I

I would prefer one ...

>> would then like it to be:
>>
>> Assignment
>> == Rule
>> ==== AssignmentRule
>> ==== AlgebraicRule
>> ==== RateRule
>> == InitialAssignment
>> == EventAssignment
>
> You cannot do that because the AlgebraicRule does not have a variable. So
> you do not inherit anything.
>

Well ... then we need two abstract classes, in that case we won't loose what we have now (a concise way of talking about all rules).

|---- AlgebraicRule
Rule ------ |---- AssignmentRule --- |
|---- RateRule --- |
|---- Assignment
InitialAssignment --- |
EventAssignment --- |


Frank


>> This is only because end users really could work only with the 'rule'
>> objects. On the other hand I have no attachments to 'AlgebraicRule' either.
>>
>> Cheers
>> Frank
>>
>>> -----Original Message-----
>>> From: sbml-discuss-bounces@caltech.edu [mailto:sbml-discuss-
>>> bounces@caltech.edu] On Behalf Of Nicolas Le novère
>>> Sent: Tuesday, April 27, 2010 6:40 AM
>>> To: SBML Discussion List
>>> Subject: [sbml-discuss] assignments
>>>
>>> Hello,
>>>
>>> I would like to bring an issue for specification developers. That will
>>> not
>>> affect SBML support or usage. So everyone not concerned with spec
>>> writting,
>>> you can leave :-)
>>>
>>> At the moment, there is an abstract class in SBML definition, called
>>> Rule.
>>> This class is a functional one (a semantic one), and is used to create
>>> the
>>> concrete classes AssignmentRule, RateRule and AlgebraicRule.
>>>
>>> At the same time, there are in the SBML core four classes with the same
>>> syntax, that are used for a similar purpose:
>>>
>>> InitialAssignment
>>> AssignmentRule
>>> RateRule
>>> EventAssignment
>>>
>>> Those construct share the same goal, to assign a value to something, or
>>> the
>>> evolution of something. Although the attribute used to point to the
>>> something varies, symbol or variable, the something is the same, that
>>> is a
>>> species, a speciesReference, a compartment or a parameter.
>>>
>>> The abstract classes are not seen by the end users, and are mostly
>>> constructs used to reduce redundancy in the specification of the
>>> language.
>>> Therefore, I think a good alternative to the current:
>>>
>>> Rule
>>> == AssignmentRule
>>> == RateRule
>>> == AlgebraicRule
>>> InitialAssignment
>>> EventAssignment
>>>
>>> Would be:
>>>
>>> AlgebraicRule
>>> Assignment
>>> == AssignmentRule
>>> == RateRule
>>> == InitialAssignment
>>> == EventAssignment
>>>
>>> The effect is mild on the core, but propagate on the various packages.
>>>
>>> For instance, writing the package multi, we're now multiplicating the
>>> sections, UML diagrams and examples because the four assignments can
>>> affect
>>> subpools (SpeciesTypeInstances) in addition of regular species.
>>>
>>> (Whether we want to keep AlgebraicRule in SBML core is another story
>>> ...)
>>>
>>> --
>>> Nicolas LE NOVERE, Computational Neurobiology, EMBL-EBI, Wellcome-Trust
>>> Genome Campus, Hinxton CB101SD UK, Mob:+447833147074, Tel:+441223494521
>>> Fax:468,Skype:n.lenovere,AIM:nlenovere,MSN:nlenovere@hotmail.com(NOT
>>> email)
>>> http://www.ebi.ac.uk/~lenov/, http://www.ebi.ac.uk/compneur/, @lenovere
>>>
>>>
>>> ____________________________________________________________
>>> 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
>>
>> ____________________________________________________________
>> 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
>
>
> --
> Nicolas LE NOVERE, Computational Neurobiology, EMBL-EBI, Wellcome-Trust
> Genome Campus, Hinxton CB101SD UK, Mob:+447833147074, Tel:+441223494521
> Fax:468,Skype:n.lenovere,AIM:nlenovere,MSN:nlenovere@hotmail.com(NOT email)
> http://www.ebi.ac.uk/~lenov/, http://www.ebi.ac.uk/compneur/, @lenovere
>
>
> ____________________________________________________________
> 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

____________________________________________________________
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   assignments Nicolas Le Novere27 Apr '10 06:39
Read Message   Re: assignments Allyson Lister27 Apr '10 07:37
Read Message   Re: assignments kieransmallbone27 Apr '10 08:03
Read Message   Re: assignments fbergman27 Apr '10 08:43
Read Message   Re: assignments Nicolas Le Novere27 Apr '10 09:08
Read Message   Re: assignments  fbergman27 Apr '10 09:45
Read Message   Re: assignments mhucka13 May '10 10:01
Read Message   Re: assignments Lucian Smith13 May '10 10:26
Read Message   Re: assignments fbergman13 May '10 11:30
Read Message   Re: assignments Stefan.Hoops14 May '10 06:57
Read Message   Re: assignments fbergman14 May '10 08:34
Read Message   Re: assignments hsauro14 May '10 09:15
Read Message   Re: assignments Stefan.Hoops14 May '10 09:48
Read Message   Re: assignments Mike Hucka14 May '10 17:31
Read Message   Re: assignments fbergman14 May '10 17:43
Read Message   Re: assignments S. Soliman27 Apr '10 09:20
Read Message   Re: assignments hsauro27 Apr '10 10:11
Read Message   Re: assignments Stefan.Hoops27 Apr '10 10:46
Read Message   Re: assignments hsauro27 Apr '10 12:25
Read Message   Re: assignments Nicolas Le Novere27 Apr '10 14:27
Read Message   Re: assignments Sven Sahle30 Apr '10 08:16
Read Message   Re: assignments Sven Sahle30 Apr '10 08:12
Previous Topic:Tolerances and errors
Next Topic:distrib - uncertainty/distributions/random package for L3
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.