(C++)  1.1.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
GeneForUtility.h
1 #ifndef GRAIL_GENE_FOR_UTILITY_H
2 #define GRAIL_GENE_FOR_UTILITY_H
3 
4 #include "../GrailEvaluators/Curves/LinearlyInterpolatedCurve.hh"
5 
6 #include <functional>
7 #include <vector>
8 
9 
10 namespace grail
11 {
12  namespace evolution
13  {
14  //REVIEW: this class can be probably deleted along with definition
16  {
17  void PushCurve(curves::LinearlyInterpolatedCurve<void*>& sourceCurve);
18  void ApplyBackToCurve();
19 
20  std::vector<float> pointsValuesY{};
21  std::vector<size_t> pointsCountPerCurve{};
22  std::vector<std::reference_wrapper<curves::LinearlyInterpolatedCurve<void*>>> sourceCurves{};
23 
24  };
25  }
26 }
27 #endif //GRAIL_GENE_FOR_UTILITY_H
The LinearlyInterpolatedCurve class -Curve consisting of multiple linear segments.
Definition: LinearlyInterpolatedCurve.hh:20
Definition: GeneForUtility.h:16