Algorithm-RandomPointGenerator

 view release on metacpan or  search on metacpan

examples/README  view on Meta::CPAN

To become more familiar with all of the different options you can use with this
module in order to control random point generation, you should experiment with
the script:

    generate_random_points.pl

You can feed it different 2D histograms --- even made-up 2D histograms --- and look
at the histogram of the generated random points to see how well the module is
working.  Keep in mind, though, if your made-up input histogram has disconnected
blobs in it, the random-points that are generated may correspond to just one of the
blobs.  Since the process of random-point generation involves a random walk, the
algorithm may not be able to hop from one blob to another in the input histogram if
they are too far apart.  As to what exactly you'll get by way of the output histogram
would depend on your choice of the width of the proposal density.

This directory contains the following histogram and bounding-box files for you
to get started:

    hist1.csv   bb1.csv

    hist2.csv   bb2.csv    

lib/Algorithm/RandomPointGenerator.pm  view on Meta::CPAN


To become more familiar with all of the different options you can use with this
module, you should experiment with the script:

    generate_random_points.pl

You can feed it different 2D histograms --- even made-up 2D histograms --- and look
at the histogram of the generated random points to see how well the module is
working.  Keep in mind, though, if your made-up input histogram has disconnected
blobs in it, the random-points that are generated may correspond to just one of the
blobs.  Since the process of random-point generation involves a random walk, the
algorithm may not be able to hop from one blob to another in the input histogram if
they are too far apart.  As to what exactly you'll get by way of the output histogram
would depend on your choice of the width of the proposal density.

The C<examples> directory contains the following histogram and bounding-box files
for you to get started:

    hist1.csv   bb1.csv

    hist2.csv   bb2.csv    



( run in 0.581 second using v1.01-cache-2.11-cpan-8d75d55dd25 )