Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
631db3360b5011250aa9fe7058212f3112a8c780
[simgrid.git] / src / mc / api / guide / BasicGuide.hpp
1 /* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMGRID_MC_BASICGUIDE_HPP
7 #define SIMGRID_MC_BASICGUIDE_HPP
8
9 namespace simgrid::mc {
10
11 /** Basic MC guiding class which corresponds to no guide at all (random choice) */
12 // Not Yet fully implemented
13 class BasicGuide : public GuidedState {
14 public:
15   std::pair<aid_t, double> next_transition() const override { return std::make_pair(0, 0); }
16   virtual void execute_next(aid_t aid) override { return; }
17 };
18
19 } // namespace simgrid::mc
20
21 #endif