OptimizationAlgorithm

Trait OptimizationAlgorithm 

Source
pub trait OptimizationAlgorithm<T: FloatNumber, N: Dim, D: Dim>{
    // Required methods
    fn step(&mut self);
    fn state(&self) -> &State<T, N, D>;

    // Provided methods
    fn get_simplex(&self) -> Option<&Vec<OVector<T, D>>> { ... }
    fn get_replica_populations(&self) -> Option<Vec<OMatrix<T, N, D>>> { ... }
    fn get_replica_temperatures(&self) -> Option<Vec<T>> { ... }
}

Required Methods§

Source

fn step(&mut self)

Source

fn state(&self) -> &State<T, N, D>

Provided Methods§

Implementors§

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for Adam<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for CEM<T, N, D>
where T: FloatNum + RealField + Send + Sync + Sum, N: Dim + Send + Sync, D: Dim + Send + Sync, OVector<T, D>: Send + Sync, OVector<T, N>: Send + Sync, OVector<bool, N>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N, D> + Allocator<N> + Allocator<U1, D> + Allocator<D, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for CMAES<T, N, D>
where T: FloatNum + RealField, N: Dim, D: Dim + DimSub<Const<1>>, OVector<T, D>: Send + Sync, OVector<T, N>: Send + Sync, OMatrix<T, N, D>: Send + Sync, OMatrix<T, D, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N, D> + Allocator<N> + Allocator<D, D> + Allocator<U1, D> + Allocator<<D as DimSub<Const<1>>>::Output>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for CGA<T, N, D>
where T: FloatNum + Send + Sync, D: Dim + Send + Sync, N: Dim + Send + Sync, OVector<T, D>: Send + Sync, OVector<T, N>: Send + Sync, OVector<bool, N>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<N, D> + Allocator<N> + Allocator<U1, D> + Allocator<D> + Allocator<Dyn>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for DE<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, D>: Send + Sync, OVector<T, N>: Send + Sync, OVector<bool, N>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for GRASP<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<bool, N>: Send + Sync, OVector<T, N>: Send + Sync, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for LBFGS<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for MSPO<T, N, D>
where T: FloatNum + Send + Sync, N: Dim + Send + Sync, D: Dim + Send + Sync, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N, D> + Allocator<N> + Allocator<U1, D> + Allocator<D, D> + Allocator<U1>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for NelderMead<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N, D> + Allocator<N> + Allocator<D, U1>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for PT<T, N, D>
where T: FloatNum + RealField + Send + Sync + Sum, N: Dim + Send + Sync, D: Dim + Send + Sync + DimSub<Const<1>>, OVector<T, D>: Send + Sync, OVector<T, N>: Send + Sync, OVector<bool, N>: Send + Sync, OMatrix<T, N, D>: Send + Sync, OMatrix<T, D, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N, D> + Allocator<N> + Allocator<D, D> + Allocator<U1, D> + Allocator<<D as DimSub<Const<1>>>::Output>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for SGAscent<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for SimulatedAnnealing<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for TabuSearch<T, N, D>
where T: FloatNum, N: Dim, D: Dim, OVector<bool, N>: Send + Sync, OVector<T, N>: Send + Sync, OVector<T, D>: Send + Sync, OMatrix<T, N, D>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N> + Allocator<N, D> + Allocator<U1, D>,

Source§

impl<T, N, D> OptimizationAlgorithm<T, N, D> for TPE<T, N, D>
where T: FloatNum + Sum + Send + Sync, N: Dim + Send + Sync, D: Dim + Send + Sync, OVector<T, D>: Send + Sync, OVector<T, N>: Send + Sync, OMatrix<T, N, D>: Send + Sync, OVector<bool, N>: Send + Sync, DefaultAllocator: Allocator<D> + Allocator<N, D> + Allocator<N> + Allocator<U1, D>,