Tag Archives: discrete-event sim project

A Simple Discrete-Event Simulation: Part 72

Following last week’s investigations I tried moving all of the functions inside the EntityPassive object (closure) to the outside, to be attached as external prototype functions. As I discovered, in keeping with what I’ve read, attaching the functions outside of … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 71

Continuing yesterday’s investigations I did some experiments with defining and instantiating a few objects to see how JavaScript allocates memory for them. I used the memory inspector built into Firefox to track memory and object usage as closely as possible. … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 70

Today I did some reading relevant to the To Do list item to learn how to use the prototype object pattern as opposed to the purely closure-based method I’ve been using. Suffice it to say there’s a lot of information … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 69

Today I ticked one item off the To Do list and generally streamlined other parts of the code. The list item involved modifying the Queue component so it would smoothly handle situations when the traversal time is set to zero. … Continue reading

Posted in Simulation | Tagged | Leave a comment

A Simple Discrete-Event Simulation: Part 68

Last time I got the system to handle multiple types of entities and today I updated the reporting capability so it generates results for the system as a whole and for each type of entity that we might want to … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 67

Today I began implementing the capability of handling different types of entities. The two main aspects of this problem are how to assign properties to an entity and how those properties affect how an entity is processed by different parts … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 66

A direct link to the standalone page is here. I followed up today and set up the initialization of the 3D graphics so it happens only after all of the required resources were loaded. The process is kicked off by … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 65

My charter for today was to figure out why the discrete-event simulation framework was not running in Opera. I had experimented with this on Thursday and Saturday of last week and traced the problem to a call in the Three.js … Continue reading

Posted in Simulation | Tagged , | Leave a comment

A Simple Discrete-Event Simulation: Part 64

As I’ve been developing and experimenting with JavaScript over the last year-plus I’ve been more interested in showing my experience in simulation, graphics, and analysis than I have been with cross-browser- or backward-compatibility. If it ran on my phone (iPhone … Continue reading

Posted in Simulation | Tagged , , | Leave a comment

A Simple Discrete-Event Simulation: Part 63

Today I finally implemented the first part of the reporting capability. So far the system keeps track of the total time spent trying to get through the major process areas and through the entire system as well. The entities are … Continue reading

Posted in Simulation | Tagged , | Leave a comment