|
Boost : |
Subject: Re: [boost] Is there interest in a Simulation library?
From: Damian Vicino (damian.vicino_at_[hidden])
Date: 2013-10-01 09:53:36
Hi,
In the context of the (oversimplified) example:
Time is virtual and "parallel devs" is an algorithm defined in [1] by Alex Chung Hen Chow and Bernard P. Zeigler in 1994.
It defines how to run several submodels in parallel and obtain the same results as running everything sequentially, but faster.
[1] http://informs-sim.org/wsc94papers/1994_0104.pdf
-- Damián Vicino, PhD student UNS/Carleton Centre National de la Recherche Scientifique ----- Original Message ----- > From: "Klaim - Joël Lamotte" <mjklaim_at_[hidden]> > To: "Boost Developers List" <boost_at_[hidden]> > Sent: Tuesday, October 1, 2013 3:41:37 PM > Subject: Re: [boost] Is there interest in a Simulation library? > > On Tue, Oct 1, 2013 at 3:32 PM, Damian Vicino > <damian.vicino_at_[hidden]>wrote: > > > An oversimplified example of use: > > int main(){ > > devs<parallel_engine> pdev; // the parallel devs engine > > devsmodel mod; //some model already implemented > > simulation sim(mod, pdev); //a simulation gather together a > > simulator > > engine and a model > > sim.runUntil(10000s); //run the first 10000 seconds of > > simulation. > > } > > > > What does parallel_engine means in this context? It parallelize the > processing of a cycle? > > Also, could you clarify why the interface would use time values > instead of > cycle count? > Or is the time value relative to a virtual clock instead of real > time? > In my experience, it is incredibly useful to not associate time with > the > processing of a cycle, so that the user code can work with it in > different > kind of context. > > _______________________________________________ > Unsubscribe & other changes: > http://lists.boost.org/mailman/listinfo.cgi/boost >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk