https://github.com/PublicHealthDynamicsLab/FRED
Revision a45e04ad99c865724a3c2b1a2d3fd979b3c6be88 authored by John Grefenstette on 07 January 2016, 16:32:02 UTC, committed by John Grefenstette on 07 January 2016, 16:32:02 UTC
1 parent 9bc2dce
Raw File
Tip revision: a45e04ad99c865724a3c2b1a2d3fd979b3c6be88 authored by John Grefenstette on 07 January 2016, 16:32:02 UTC
working markov epidemic model
Tip revision: a45e04a
HIV_Natural_History.h
/*
  This file is part of the FRED system.

  Copyright (c) 2010-2015, University of Pittsburgh, John Grefenstette,
  Shawn Brown, Roni Rosenfield, Alona Fyshe, David Galloway, Nathan
  Stone, Jay DePasse, Anuroop Sriram, and Donald Burke.

  Licensed under the BSD 3-Clause license.  See the file "LICENSE" for
  more information.
*/

#ifndef _FRED_HIV_Natural_History_H
#define _FRED_HIV_Natural_History_H

#include "Natural_History.h"

class HIV_Natural_History : public Natural_History {

public:
  HIV_Natural_History();

  ~HIV_Natural_History();

  void setup(Disease *disease);

  void get_parameters();

  void update_infection(int day, Person* host, Infection *infection);

  double get_probability_of_symptoms(int age);

  int get_latent_period(Person* host);

  int get_duration_of_infectiousness(Person* host);

  int get_duration_of_immunity(Person* host);

  int get_incubation_period(Person* host);

  int get_duration_of_symptoms(Person* host);

  bool is_fatal(double real_age, double symptoms, int days_symptomatic);

  bool is_fatal(Person* per, double symptoms, int days_symptomatic);

  void init_prior_immunity() {}

  bool gen_immunity_infection(double real_age) { return true; }

  void initialize_evolution_reporting_grid(Regional_Layer* grid) {}

private:

};

#endif
back to top