[kepler-dev] [Bug 5546] SDF director iterations parameter default of 0 is unfriendly

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Aug 8 17:08:08 PDT 2012


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5546

Christopher Brooks <cxh at eecs.berkeley.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
       Hours Worked|                            |3.0
             Status|REOPENED                    |ASSIGNED
         AssignedTo|barseghian at nceas.ucsb.edu   |cxh at eecs.berkeley.edu
   Target Milestone|Unspecified                 |2.4.0
    Remaining Hours|0.0                         |2.0

--- Comment #4 from Christopher Brooks <cxh at eecs.berkeley.edu> 2012-08-08 17:08:08 PDT ---
On 8/4/12 10:53 AM, Edward A. Lee wrote:
> Jennifer suggests changing the default iterations count of the SDF
> director from 0 to 1. I think this is a good idea, but we should
> then change all the demos that use the default.  Any idea how
> to find them?  These would be demos with an SDFDirector that
> do _not_ set the iterations parameter.

I hacked up an awk script that attempts to insert the iterations parameter
if it is not set in SDFDirector or any of the derived classes.

The script is at $PTII/ptolemy/domains/sdf/kernel/fixSDFIterations

Basically, it looks for SDFDirector or its subclasses and the inserts the
iterations parameter if it is not already set.

I ran the tests and while there are a number of failures, it is not looking
so bad.

Shall I check in the changed .xml files?

If we make the default iterations be 1, then the Ptolemy and Kepler
actor and printed documentation will need to be updated.

One downside is that using an SDFDirector in an inner composite will
typically require changing the iterations.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list