OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
NLoptOptimizer.hpp File Reference
#include <type_traits>
#include <tuple>
#include <cstddef>
#include <cassert>
#include <array>
#include <cmath>
#include <nlopt.h>
#include <utility>
#include <libslic3r/Optimize/Optimizer.hpp>
Include dependency graph for NLoptOptimizer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Slic3r::opt::detail::NLoptAlg< alg >
struct  Slic3r::opt::detail::NLoptAlgComb< gl_alg, lc_alg >
struct  Slic3r::opt::detail::IsNLoptAlg< M >
struct  Slic3r::opt::detail::IsNLoptAlg< NLoptAlg< a > >
struct  Slic3r::opt::detail::IsNLoptAlg< NLoptAlgComb< a1, a2 > >
struct  Slic3r::opt::detail::NLopt
class  Slic3r::opt::detail::NLoptOpt< Method >
class  Slic3r::opt::detail::NLoptOpt< NLoptAlg< alg > >
class  Slic3r::opt::detail::NLoptOpt< NLoptAlgComb< glob, loc > >
class  Slic3r::opt::Optimizer< M, detail::NLoptOnly< M > >

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::opt
namespace  Slic3r::opt::detail

Typedefs

template<class M, class T = void>
using Slic3r::opt::detail::NLoptOnly = std::enable_if_t<IsNLoptAlg<M>::value, T>
using Slic3r::opt::AlgNLoptGenetic = detail::NLoptAlgComb<NLOPT_GN_ESCH>
using Slic3r::opt::AlgNLoptSubplex = detail::NLoptAlg<NLOPT_LN_SBPLX>
using Slic3r::opt::AlgNLoptSimplex = detail::NLoptAlg<NLOPT_LN_NELDERMEAD>
using Slic3r::opt::AlgNLoptDIRECT = detail::NLoptAlg<NLOPT_GN_DIRECT>
using Slic3r::opt::AlgNLoptMLSL = detail::NLoptAlg<NLOPT_GN_MLSL>

Enumerations

enum class  Slic3r::opt::detail::OptDir { Slic3r::opt::detail::MIN , Slic3r::opt::detail::MAX }

Class Documentation

◆ Slic3r::opt::detail::NLoptAlg

struct Slic3r::opt::detail::NLoptAlg
template<nlopt_algorithm alg>
struct Slic3r::opt::detail::NLoptAlg< alg >
Inheritance diagram for Slic3r::opt::detail::NLoptAlg< alg >:

◆ Slic3r::opt::detail::NLoptAlgComb

struct Slic3r::opt::detail::NLoptAlgComb
template<nlopt_algorithm gl_alg, nlopt_algorithm lc_alg = NLOPT_LN_NELDERMEAD>
struct Slic3r::opt::detail::NLoptAlgComb< gl_alg, lc_alg >
Inheritance diagram for Slic3r::opt::detail::NLoptAlgComb< gl_alg, lc_alg >:

◆ Slic3r::opt::detail::NLoptOpt

class Slic3r::opt::detail::NLoptOpt
template<class Method>
class Slic3r::opt::detail::NLoptOpt< Method >
Inheritance diagram for Slic3r::opt::detail::NLoptOpt< Method >: