Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!rouge!cacs.usl.edu From: pcb@cacs.usl.edu (Peter C. Bahrs) Newsgroups: comp.object Subject: How would you model this situation? Message-ID: <16734@rouge.usl.edu> Date: 17 Oct 90 16:26:26 GMT Sender: anon@rouge.usl.edu Organization: The Center for Advanced Computer Studies, USL Lines: 28 The Domain: Object-oriented with concurrency if needed, objects have local state, behaviors The Problem: Model an application where two things(people) ara each applying a force(pulling) on another thing (ends of a rope). The acted upon thing (the rope) breaks. So suppose I tell person1 to pull X amount. Should I model all of the interactions at an application level and then send the rope and person2 reactionary messages. Or should person1, who knows about a rope (globally) tell the rope to adjust it self, which in turn must tell person2 to adjust hisself. So if the rope breaks, how are the references in person1 and person2 updated? Does the existing rope references become forwarders to new part-rope objects? In summary, are interactions managed external to objects or should this be migrated inside the objects. Please post responses to the net. /*----------- Thanks in advance... --------------------------------------+ | Peter C. Bahrs | | The USL-NASA Project | | Center For Advanced Computer Studies INET: pcb@swamp.cacs.usl.edu | | 2 Rex Street | | University of Southwestern Louisiana ...!uunet!dalsqnt!gator!pcb | | Lafayette, LA 70504 | +-----------------------------------------------------------------------*/