pub struct AlmCache { /* private fields */ }
Expand description

Cache for AlmOptimizer (to be allocated once)

This is a cache structure that contains all the data that make up the “state” of the ALM/PM algorithm, i.e., all those data that the algorithm updates.

On the other hand, the problem data are provided in an instance of AlmProblem

Implementations

Construct a new instance of AlmCache

Arguments
  • panoc_cache: an instance of PANOCCache that will be used by the inner problem
  • n1, n2: range dimensions of mappings F1 and F2 respectively
Panics

Does not panic

Resets the cache to its virgin state, and resets the stored instance of PANOCCache

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.