Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

PopulationClusterSpecific.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------------
00002 //
00003 //  Thomas Berger (main author), Pepijn Schreinemachers, and Thorsten Arnold
00004 //
00005 //
00006 //  Hohenheim University (490d)
00007 //  Professorship for Land Use Economics in the Tropics and Subtropics
00008 //
00009 //  May not be distributed without permission by main author
00010 //
00011 //  File:       PopulationClusterSpecific.h (formerly ccluster.h)
00012 //
00013 //  Contents:   Contains application-specific implementation of Monte Carlo
00014 //              assignment of farm household agents
00015 //
00016 //
00017 //------------------------------------------------------------------------------
00018 
00019 
00020 
00021 #ifndef _PopulationClusterSpecific_h
00022 #define _PopulationClusterSpecific_h
00023 
00024 
00025 #include "PopulationCluster.h"
00026 
00027 
00028 class ccluster : public cluster
00029 {       public:
00030 
00031    //Parameter: Pop, Cluster ID, Name of inputfile
00032         ccluster(int pID, int cID, char* inf) : cluster(pID, cID, inf)
00033    {
00034    }
00035 
00036         virtual ~ccluster()
00037         {
00038         }
00039 
00040    //contry-specific functions for random assignments
00041    virtual void assignFamMembers(agentF*);
00042         virtual void assignAssetsToAgent(agentF*);
00043    virtual void assignCharactToAgent(agentF*);
00044    virtual void writeDistribInFile(char*);
00045    virtual void printOnScreenCC();
00046 };
00047 
00048 
00049 #endif
00050 

Generated on Thu Aug 28 12:38:45 2008 for MPMAS by  doxygen 1.3.9.1