Algorithm
Development Kit 1.0

Package algs.model.data.segments

Generators for creating random line segments according to a variety of distributions.

See:
          Description

Class Summary
DoubleGenerator Generators of sample lines using doubles coordinated within the [max, max] box whose segment distance is length.
GridGenerator Generators of grid lines for O(sqrt(n)) number of intersections given n lines.
HubGenerator Generators of sample lines that form a hub-and-spoke.
IntegerGenerator Generators of sample lines using integer coordinated within the [max, max] box whose segment distance is length.
LoadFromFileGenerator Generator of ILineSegment objects that loads requested points from a designated file (rather then through some computation).
SlidingLadderGenerator Generators of sample lines to produce maximum number of intersections
UniformGenerator Generators of sample lines.
 

Package algs.model.data.segments Description

Generators for creating random line segments according to a variety of distributions.

A variety of point generators are provided with the repository. These all have the ability to generate a number of ILineSegment objects. Each generator extends the generic Generator class.


Algorithm Development Kit 1.0

This code supports the Algorithms in a Nutshell book, published by O'Reilly Media, Inc. in November 2008. Please visit the book web page to learn of any changes to the code repository or to record a potential defect.