http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5655
Christopher Brooks <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Hours Worked| |0.15 Estimated Hours|1.5 |2.5 --- Comment #2 from Christopher Brooks <[email protected]> 2012-08-07 14:12:09 PDT --- Kepler actors/src/org/sdm/spa/Repeat.java has: public TypedIOPort portOutput; public TypedIOPort portInput; public TypedIOPort portNum; Ptolemy sdf/lib/Repeat has: /** The repetition factor. It is of type integer and has a default * value of 2. It must be greater than zero. */ public Parameter numberOfTimes; /** The number of tokens in a block. It is of type integer and has a * default value of 1. It must be greater than zero. */ public Parameter blockSize; input and output ports from SDFTransformer The way I would handle is to modify Ptolemy's sdf/lib/Repeat.java so that numberOfTimes is a PortParmeter. See actor/lib/Ramp.java for an example. Basically, with PortParameters, the update() method should be called once. Then, modify the Kepler moml/filter classes to change the name of the actor and the name of the ports. There could be some trickyness here, you probably want to change the name of the ports first. -- Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. _______________________________________________ Kepler-dev mailing list [email protected] http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
