pops-core  0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
Classes | Namespaces | Enumerations | Functions
scheduling.hpp File Reference
#include <iostream>
#include <vector>
#include <map>
#include <tuple>
#include <string>
#include <algorithm>
#include "date.hpp"
Include dependency graph for scheduling.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pops::Step
 Representation and manipulation of a date for the simulation. More...
 
class  pops::Scheduler
 

Namespaces

 pops
 

Enumerations

enum  pops::StepUnit { pops::StepUnit::Day, pops::StepUnit::Week, pops::StepUnit::Month }
 Enum for step unit. More...
 

Functions

std::ostream & pops::operator<< (std::ostream &os, const Step &step)
 
StepUnit pops::step_unit_enum_from_string (const std::string &text)
 Get step enum from string. More...
 
unsigned pops::simulation_step_to_action_step (const std::vector< bool > &action_schedule, unsigned step)
 Converts simulation step to step of actions. More...
 
unsigned pops::get_number_of_scheduled_actions (const std::vector< bool > &action_schedule)
 Returns how many actions are scheduled. More...
 
std::vector< bool > pops::schedule_from_string (const Scheduler &scheduler, const std::string &frequency, unsigned n=0)
 Get output (export) schedule based on frequency string ("year", "month", "week", "day", "every_n_steps", "final_step"). More...