-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Several classes were refactored to stop working with IDs and starting providing a true object oriented framework. Lots of attributes that were defined as a List of Integer or as a Map where the key was Integer, to store the ID of entities, were changed to store the object itself not its ID. It makes the framework far less error prone, since the Lists and Maps will just accept the defined object. - It makes even clear to understand the framework code and to use it, since that when a developer look at some of such Lists or Maps, he/she will immediately know what such Lists/Maps are storing. - Storing actual objects instead of their IDs also improves the framework performance since it doesn't have to get the object ID and look for the actual object inside another List that in fact stored the objects (as it was common to be done). - Message passing mechanisms was also improved, storing actual objects into the SimEvent.data attribute instead of the object ID. The source and destionation of a message sent is also performed internally using just the ID, because changing these behaviour would require far more work. - The documentation of such Lists/Maps was reviewed and updated. - Network related classes were those ones that received lots of changes, mainly NetworkPacket implementing classes.
- Loading branch information
1 parent
56cad81
commit 60f00fd
Showing
59 changed files
with
1,494 additions
and
1,301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.