Skip to main content

Module solver

Module solver 

Source
Expand description

Solver traits and configuration.

Structs§

Config
Common configuration for solvers.
ProgressInfo
Progress information during solving.

Enums§

Dimension
The two problem families a strategy runs on: 2D nesting and 3D packing. On the wire (a request’s mode, the strategy catalog) "2d" / "3d".
Strategy
Optimization strategy.

Constants§

SETTINGS
The settings a request’s config can carry besides strategy, in the order of ConfigRequest::KEYS. Which of them a strategy reads is Strategy::reads.

Traits§

Solver
Trait for nesting/packing solvers.

Functions§

offered_names
The short names of the strategies dimension offers in this build, joined for a message: "blf, nfp, ga, ..." – what a refusal of a strategy the dimension does not offer lists.

Type Aliases§

ProgressCallback
Progress callback for long-running operations.