Skip to contents

Computes the volume of the search space (product of ranges for numeric parameters, product of level counts for categorical).

Usage

compute_domain_volume(search_space)

Arguments

search_space

(paradox::ParamSet)
The search space.

Value

numeric(1) domain volume.

Details

For mixed numeric/categorical spaces, this returns the product of:

  • (upper - lower) for each numeric parameter

  • Number of levels for each categorical parameter