SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
algorithms::ls2::RandomPacking Class Reference

#include <RandomPacking.h>

Inheritance diagram for algorithms::ls2::RandomPacking:
Inheritance graph
[legend]
Collaboration diagram for algorithms::ls2::RandomPacking:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void generate ()
 RandomPacking (std::string filename, double maxScalingFactor, int numberOfSpheres, enum distributions::AbstractDistribution::DISTRIBUTIONS distribution=distributions::AbstractDistribution::LINEAR)
virtual ~RandomPacking ()

Private Attributes

std::string _filename
double _maxSphereScaling
std::vector< double > _sphereScalingDistribution

Detailed Description

Class RandomPacking implements the LS Algorithm to generate the spheres


Constructor & Destructor Documentation

RandomPacking::RandomPacking ( std::string  filename,
double  maxScalingFactor,
int  numberOfSpheres,
enum distributions::AbstractDistribution::DISTRIBUTIONS  distribution = distributions::AbstractDistribution::LINEAR 
)

Constructor filename the configuration of generation

Destructor


Member Function Documentation

void RandomPacking::generate ( ) [virtual]

Generation generate the spheres

Implements algorithms::AbstractSpherePacking.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines