SpherePackingScenarioGenerator
|
00001 /* 00002 * LinearDistribution.h 00003 * 00004 * Created on: May 8, 2012 00005 * Author: tanlin 00006 */ 00007 00008 #ifndef LINEARDISTRIBUTION_H_ 00009 #define LINEARDISTRIBUTION_H_ 00010 #include "AbstractDistribution.h" 00011 namespace algorithms { 00012 namespace distributions { 00013 class LinearDistribution; 00014 }} 00015 class algorithms::distributions::LinearDistribution: public algorithms::distributions::AbstractDistribution 00016 { 00017 public: 00018 LinearDistribution(const unsigned int number, const double scaling); 00019 virtual 00020 ~LinearDistribution(); 00021 void generate(); 00022 00023 private: 00024 const double _scaling; 00025 }; 00026 00027 #endif /* LINEARDISTRIBUTION_H_ */