SpherePackingScenarioGenerator
|
00001 /* 00002 * RandomPacking.h 00003 * 00004 * Created on: 2011-3-30 00005 * Author: asu 00006 */ 00007 #include "Box.h" 00008 #include "Event.h" 00009 #include "Heap.h" 00010 #include "ReadInput.h" 00011 #include "algorithms/AbstractSpherePacking.h" 00012 #ifndef RandomPacking_H_ 00013 #define RandomPacking_H_ 00014 namespace algorithms{ 00015 namespace ls{ 00016 class RandomPacking; 00017 } 00018 } 00022 class algorithms::ls::RandomPacking:public algorithms::AbstractSpherePacking { 00023 public: 00024 RandomPacking(); 00029 RandomPacking(std::string filename); 00033 virtual ~RandomPacking(); 00037 void generate(); 00038 private: 00039 std::string _filename; 00040 }; 00041 00042 #endif /* RandomPacking_H_ */