00001 /* 00002 Copyright 2009 by the University of Pittsburgh 00003 Licensed under the Academic Free License version 3.0 00004 See the file "LICENSE" for more information 00005 */ 00006 00007 // 00008 // 00009 // File: Locations.h 00010 // 00011 00012 #ifndef _FRED_LOCATIONS_H 00013 #define _FRED_LOCATIONS_H 00014 00015 class Place; 00016 00017 class Locations { 00018 public: 00019 void setup_locations(); 00020 void reset_locations(int run); 00021 void update(int day); 00022 void location_quality_control(); 00023 void get_location_parameters(); 00024 int get_open_status(int loc, int day); 00025 int location_should_be_open(int loc, int strain, int day); 00026 Place * get_location(int loc); 00027 00028 private: 00029 char locfile[80]; 00030 Place ** location; 00031 int locations; 00032 }; 00033 00034 00035 #endif // _FRED_LOCATIONS_H