NeuralEngine A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes. |

FgStrongWolfeBacktrackingLineSearch.h
1
11#pragma once
12
13#include <MachineLearning/FgILineSearch.h>
14
15 namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
22 template<typename Scalar>
23 class NE_IMPEXP StrongWolfeBacktrackingLineSearch : public ILineSearch<Scalar>
24 {
25 public:
26
39 void Linesearch(NonlinearObjectiveFunction<Scalar>& objFunc, Scalar& fx, af::array& x, af::array& grad, Scalar& step, const af::array& drt, const af::array& xp) override;
40
46 ~StrongWolfeBacktrackingLineSearch() { }
47 };
48 }
49}
50
NeuralEngine::MachineLearning::ILineSearch
Definition: FgILineSearch.h:23
NeuralEngine::MachineLearning::NonlinearObjectiveFunction
Definition: NonlinearObjectiveFunction.h:21
NeuralEngine::MachineLearning::StrongWolfeBacktrackingLineSearch
Strong Wolfe.
Definition: FgStrongWolfeBacktrackingLineSearch.h:24
NeuralEngine::MachineLearning::StrongWolfeBacktrackingLineSearch::Linesearch
void Linesearch(NonlinearObjectiveFunction< Scalar > &objFunc, Scalar &fx, af::array &x, af::array &grad, Scalar &step, const af::array &drt, const af::array &xp) override
Linesearches.
NeuralEngine::MachineLearning::StrongWolfeBacktrackingLineSearch::~StrongWolfeBacktrackingLineSearch
~StrongWolfeBacktrackingLineSearch()
Destructor.
Definition: FgStrongWolfeBacktrackingLineSearch.h:46
Scalar
NeuralEngine
Definition: NeArray2.h:18