Echll

VLE-2.0: Counter-Generator model

#include <vle/dsde/generic.hpp> #include <vle/dsde/dsde-debug.hpp> typedef vle::DoubleTime MyTime; typedef vle::PortList <std::string> MyPort; typedef vle::dsde::Engine <MyTime> MyDSDE; using AtomicModel = vle::dsde::AtomicModel <MyTime, MyPort, MyPort>; using GenericCoupledModel = vle::dsde::GenericCoupledModel <MyTime, vle::dsde::TransitionPolicyThread <MyTime>>; using CoupledModelThread = vle::dsde::CoupledModel <MyTime, MyPort, MyPort, MyPort, MyPort, vle::dsde::TransitionPolicyThread <MyTime>>; using CoupledModelMono = vle::dsde::CoupledModel <MyTime, MyPort, MyPort, MyPort, MyPort, vle::dsde::TransitionPolicyDefault <MyTime>>; struct Counter : AtomicModel { int i; Counter(const vle::Context &ctx) : AtomicModel(ctx, 1u, 0u), i(0) {} Counter(const Counter &other) : AtomicModel(other), i(other.

VLE 3.0

VLE3 provides a new simulation which improves performance and functionalities. VLE3 uses the new kernel called Echll a C++14 tiny library to quickly develop DEVS, DTSS, DSDE and multicomponent simulators. Quick start With Echll, you can develop atomic and coupled model behavior. For example, the classical counter-generators model.