Program Listing for File population_dynamics_config.hpp

Return to documentation for file (cosm/tv/config/population_dynamics_config.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcppsw/config/base_config.hpp"
#include "rcppsw/control/config/waveform_config.hpp"
#include "cosm/cosm.hpp"

/*******************************************************************************
 * Namespaces
 ******************************************************************************/
namespace cosm::tv::config {

/*******************************************************************************
 * Structure Definitions
 ******************************************************************************/
struct population_dynamics_config final : public rconfig::base_config {
  double birth_mu{0.0};
  double death_lambda{0.0};
  double malfunction_lambda{0.0};
  double repair_mu{0.0};
  int max_size{-1}; /* -1 is no limit */
};

} /* namespace cosm::tv::config */