// FIXME: The following duplicates the content of s4u::Host
extern std::map<std::string, simgrid::s4u::Host*> host_list;
/** @brief Returns the amount of hosts in the platform */
-unsigned int Engine::hostCount()
+size_t Engine::hostCount()
{
return host_list.size();
}
delete point;
});
}
+
+bool Engine::isInitialized()
+{
+ return Engine::instance_ != nullptr;
}
}
+} // namespace