|
@@ -78,7 +78,8 @@ namespace artis {
|
|
|
class GraphManager,
|
|
|
class Parameters = common::NoParameters,
|
|
|
class GraphParameters = common::NoParameters>
|
|
|
- class Coordinator : public pdevs::Coordinator<Time, GraphManager, Parameters, GraphParameters> {
|
|
|
+ class Coordinator
|
|
|
+ : public pdevs::Coordinator<Time, GraphManager, Parameters, GraphParameters> {
|
|
|
typedef pdevs::Coordinator<Time, GraphManager,
|
|
|
Parameters, GraphParameters> parent_type;
|
|
|
typedef Coordinator<Time, GraphManager,
|
|
@@ -119,7 +120,7 @@ namespace artis {
|
|
|
for (;;) {
|
|
|
_incoming.wait()
|
|
|
.template handle<start_message_type>(
|
|
|
- [&](start_message_type const& msg) {
|
|
|
+ [&](start_message_type const& msg) {
|
|
|
typename Time::type tn = start(msg._t);
|
|
|
_sender.send(done_start_message_type(tn, this));
|
|
|
})
|
|
@@ -187,7 +188,9 @@ namespace artis {
|
|
|
assert(t >= type::_tl and t <= type::_tn);
|
|
|
|
|
|
common::Models<Time> receivers = type::get_receivers();
|
|
|
- common::Models<Time> IMM = type::_event_table.get_current_models(t);
|
|
|
+// common::Models<Time> IMM = type::_event_table.get_current_models(t);
|
|
|
+ common::Models<Time> IMM = type::_event_table.get_current_models(t,
|
|
|
+ type::_graph_manager.lookahead(t));
|
|
|
|
|
|
_received = 0;
|
|
|
for (auto& model : receivers) {
|