Class: Space

Space(dimensions)

new Space(dimensions)

An object that represents a search space for an optimization problem. Contains some helper methods, such as methods for automated sampling of values from the space.
Parameters:
Name Type Description
dimensions Number An array of dimension descriptors that are used to specify search space.
Source:

Methods

rsv(n) → {Arrray}

Sample n points from the search space at random. Sampling is done using functionality provided by the dimension classes themselves.
Parameters:
Name Type Description
n Integer Number of points to sample.
Source:
Returns:
An array of vectors containing sampled values.
Type
Arrray