Re: Ptolemy modeling of complex distributed software systems

2003-11-21 Thread Edward A Lee
Very interesting... Did you look at DEThreadActor? It has some of what you do, but not all... In particular, it doesn't have the (nice) feature that the director waits for active actors to allow time to pass. This is similar to what we've done in timed CSP and timed PN... As for these specific

removing and readding actors to a model

2003-11-21 Thread Chad Berkley
hi, I'm trying to remove and actor from the actorLibrary model, change it, then re-add it. For some reason, when it re-adds, you don't see the changes that were made. Here's the code that I'm using: List l = actorLibrary.entityList(); for(int i=0; il.size(); i++) { //look for the actor in