Ptolemy II 4.0-beta is available for download. Changed between 4.0-alpha and 4.0-beta:
Feature enhancements -------------------- * IterateOverArray usability features: Look inside now skips a level to show the model that actually gets iterated rather than the intermediate level. Also, IterateComposite can be dropped on IterateOverArray, and changes to its ports either inside or outside will be reflected in the IterateOverArray actor. * Gave a more reasonable title to window used to edit custom icons. Bug Fixes -------- * Fixed bug that didn't allow changing the name of graphical attributes when there were subclasses. * Fixed potential deadlock in simultaneous accesses to a CrossReferenceList. * If change requests are queued in a top-level entity and then its container is set, the change requests were never executed. Now, they are transferred to the new container. * If a change request is made during cloning of an object, then the change request was executed immediately even if deferChangeRequests(true) has been called on object being cloned. This is because during cloning, the cloned object has no container. Now, the clone() method of NamedObj ensures that every cloned object has deferChangeRequests(true) set before it starts to get populated with its contents. This means that callers to clone() need to set it back to false if this is what they want. * Improved performance of models that animate execution by changing parameters of icons (removed spurious acquisition of write permission on the Workspace). * StyleConfigurer was directly making kernel calls rather than issuing change requests to apply changes. This could result in exceptions if a style is changed while a model is running, and it also means that changes to a style are not propagated to subclasses and instances. * Fixed bug where deleting class definitions and subclasses or instances would throw a spurious exception because it would try to delete the subclasses or instances twice. * Fixed bug where editing the custom icon of a class definition did not propagate to instances and subclasses until the model was closed and reopened. * Fixed bug where dropping an actor into a model, followed by undo left the icon in the model (but without any associated actor) until the model was closed and re-opened. * Removed a leak in diva.graph.AbstractGraphController where figures that are no longer being used by the model were still stored in a private hash table. * Fixed a bug with TerrainModel in the wireless domain where the geometry that was used for determining terrain obstacles didn't match the geometry displayed in the icon. * StyleConfigurer was directly making kernel calls rather than issuing change requests to apply changes. This could result in exceptions if a style is changed while a model is running, and it also means that changes to a style are not propagated to subclasses and instances. * Many uses of the "_hideName" attribute were Parameter or Attribute rather than SingletonAttribute. Changed to consistently be SingletonAttribute. * Configure now handles causes where the Java Advanced Imaging (JAI) interface is in a location outside of the JRE * Configure now sets up $PTII/.classpath properly for use by Eclipse * Broken HTML links have been fixed. Below is an update of the announcement I sent out with Ptolemy II 4.0-alpha. ---start-- VisualSense-4.0-beta is also available as part of the download. VisualSense is a visual editor and simulator for wireless sensor network systems. Modeling of wireless sensor networks requires sophisticated modeling of communication channels, sensor channels, ad-hoc networking protocols, localization strategies, media access control protocols, energy consumption in sensor nodes, etc. VisualSense is designed to support a component-based construction of such models. VisualSense is intended to enable the research community to share models of disjoint aspects of the sensor nets problem and to build models that include sophisticated elements from several aspects. The VisualSense documentation can be found at http://ptolemy.eecs.berkeley.edu/papers/04/VisualSenseERLMemo0408/VisualSenseERLMemo0408.pdf Eventually, we will have a separate VisualSense only Windows installer. In this release, under Windows, to install VisualSense, install the full version of Ptolemy II and select Vergil - VisualSense from the Start menu. If you rebuild from source, then to start up VisualSense, run vergil -visualsense New Features ------------ Major Features that are new in Ptolemy II 4.0 * Modeling wireless sensor networks (VisualSense) The wireless domain extends the DE domain with wireless channel modeling and library of components and methodologies for modeling wireless systems. This domain is packaged in a Ptolemy II configuration called VisualSense, which includes an extensive suite of demos. * Hierarchical classes, subclasses, and inner classes. Version 4.0 introduces actor-oriented classes, subclasses, and inner classes with inheritance. This is a major improvement in the modularity mechanisms available in actor-oriented design. A side effect of the class mechanism is that MoML files are now much smaller since they do not duplicate information defined in a base class. * Lifecycle management Version 4.0 introduces the first of a family of lifecycle management actors, which are actors that control the execution of associated models. This example uses one model to control repeated runs of another. Other Features that are new in Ptolemy II 4.0 * Statically Checked Unit System The new statically checked units system associates units with ports and checks compatibility in connections. * Higher-Order Components. Version 4.0 adds higher-order components, which are components (like actors) that operate on other components rather than directly on data. * Interactive decorations in Vergil diagrams. Actors can have custom icons, diagrams can be decorated with decorative elements, and parameters of the icons and decorative elements can be tied to values compute by the model. * Reconfiguration analysis A new capability helps to ensure the safe use of reconfiguration. Currently it is primarily used by the code generator to ensure that synchronous dataflow rate parameters are constant over the lifetime of the model. This analysis also enables parameterized static scheduling of some models where rate parameters change only between iterations of a sub-model. * Causality analysis A new (and still evolving) capability unifies causality analysis that is required by several domains. It provides a systematic framework for determining whether events at a particular input affect a particular output. * Copernicus The copernicus code generator has matured significantly: + Better handling of data types, reconfiguration, and attributes other than simple parameters. + Code Generation for the Giotto domain. + A primitive code generator for generating atomic actors from models. + Static analysis of reachable code for generating self-contained jar files. Plans ----- This release includes only the documentation for VisualSense, the Ptolemy User's Manual has not yet been updated. We are currently working on updating the documentation. My hope is that the Ptolemy II 4.0 production release will ship in mid June. Ptolemy II 4.0-beta is primarily for testing by seasoned developers and people who have used Ptolemy II before. Bugs ---- The Ptolemy II 4.0-beta limitations are listed in: http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII4.0/ptII4.0-beta/doc/ptII4.0.release.htm The Vergil welcome window has a link to a similar list. If you find bugs, check the limitations page inside Vergil, then check http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII4.0/limitations.htm and then send email to [EMAIL PROTECTED] In your email, please be sure to include: * What operating system you are operating under (Windows XP sp1? Solaris 8?) * What version of Java you are running. (Run java -version, or use our Java Version Applet at http://ptolemy.eecs.berkeley.edu/ptolemyII/ptII4.0/JavaVersionApplet.htm * Whether the problem occurs in * Vergil * The local version of the web pages * The PtolemyII 4.0-beta website version of the web pages * The Web Start version -Christopher Christopher Hylands Brooks [EMAIL PROTECTED] University of California Programmer/Analyst Chess/Ptolemy/GSRC US Mail: 558 Cory Hall #1770 ph: 510.643.9841 fax:510.642.2739 Berkeley, CA 94720-1770 home: (F-Tu) 707.665.0131 (W-F) 510.655.5480 (office: 400A Cory) ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]