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

FgWolfeBracketingLineSearch.h
1
11#pragma once
12
13#include <MachineLearning/FgILineSearch.h>
14
15 namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
27 template<typename Scalar>
28 class NE_IMPEXP WolfeBracketingLineSearch : public ILineSearch<Scalar>
29 {
30 public:
31
44 void Linesearch(NonlinearObjectiveFunction<Scalar>& objFunc, Scalar& fx, af::array& x, af::array& grad, Scalar& step, const af::array& drt, const af::array& xp) override;
45
51 ~WolfeBracketingLineSearch() { }
52 };
53 }
54}
55
56
NeuralEngine::MachineLearning::ILineSearch
Definition: FgILineSearch.h:23
NeuralEngine::MachineLearning::NonlinearObjectiveFunction
Definition: NonlinearObjectiveFunction.h:21
NeuralEngine::MachineLearning::WolfeBracketingLineSearch
Strong Wolfe.
Definition: FgWolfeBracketingLineSearch.h:29
NeuralEngine::MachineLearning::WolfeBracketingLineSearch::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::WolfeBracketingLineSearch::~WolfeBracketingLineSearch
~WolfeBracketingLineSearch()
Destructor.
Definition: FgWolfeBracketingLineSearch.h:51
Scalar
NeuralEngine
Definition: NeArray2.h:18