NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
NeuralEngine::MachineLearning::Series Class Reference
Collaboration diagram for NeuralEngine::MachineLearning::Series:

Public Member Functions

 Series (const std::string &label, enum Type type, Color color)
 
Seriestype (enum Type type)
 
Seriescolor (Color color)
 
SeriesdynamicColor (bool dynamic_color)
 
Serieslegend (bool legend)
 
Seriesadd (const cv::Mat &data)
 
Seriesadd (const std::vector< std::pair< float, float > > &data)
 
Seriesadd (const std::vector< std::pair< float, Point2 > > &data)
 
Seriesadd (const std::vector< std::pair< float, Point3 > > &data)
 
SeriesaddValue (const std::vector< float > &values)
 
SeriesaddValue (const std::vector< Point2 > &values)
 
SeriesaddValue (const std::vector< Point3 > &values)
 
Seriesadd (float key, float value)
 
Seriesadd (float key, Point2 value)
 
Seriesadd (float key, Point3 value)
 
SeriesaddValue (float value)
 
SeriesaddValue (float value_a, float value_b)
 
SeriesaddValue (float value_a, float value_b, float value_c)
 
Seriesset (const cv::Mat &data)
 
Seriesset (const std::vector< std::pair< float, float > > &data)
 
Seriesset (const std::vector< std::pair< float, Point2 > > &data)
 
Seriesset (const std::vector< std::pair< float, Point3 > > &data)
 
SeriessetValue (const std::vector< float > &values)
 
SeriessetValue (const std::vector< Point2 > &values)
 
SeriessetValue (const std::vector< Point3 > &values)
 
Seriesset (float key, float value)
 
Seriesset (float key, float value_a, float value_b)
 
Seriesset (float key, float value_a, float value_b, float value_c)
 
SeriessetValue (float value)
 
SeriessetValue (float value_a, float value_b)
 
SeriessetValue (float value_a, float value_b, float value_c)
 
Seriesclear ()
 
const std::string & label () const
 
bool legend () const
 
Color color () const
 
void draw (void *buffer, float x_min, float x_max, float y_min, float y_max, float x_axis, float xs, float xd, float ys, float yd, float y_axis, int unit, float offset) const
 
bool collides () const
 
void dot (void *b, int x, int y, int r) const
 
void bounds (float &x_min, float &x_max, float &y_min, float &y_max, int &n_max, int &p_max) const
 
void verifyParams () const
 

Protected Member Functions

void ensureDimsDepth (int dims, int depth)
 
bool flipAxis () const
 

Protected Attributes

std::vector< intentries_
 
std::vector< float > data_
 
enum Type type_
 
Color color_
 
std::string label_
 
int dims_
 
int depth_
 
bool legend_
 
bool dynamic_color_
 

Detailed Description

Definition at line 53 of file FgFigure.h.

Member Data Documentation

◆ entries_

std::vector<int> NeuralEngine::MachineLearning::Series::entries_
protected

Definition at line 107 of file FgFigure.h.

◆ data_

std::vector<float> NeuralEngine::MachineLearning::Series::data_
protected

Definition at line 108 of file FgFigure.h.

◆ type_

enum Type NeuralEngine::MachineLearning::Series::type_
protected

Definition at line 109 of file FgFigure.h.

◆ color_

Color NeuralEngine::MachineLearning::Series::color_
protected

Definition at line 110 of file FgFigure.h.

◆ label_

std::string NeuralEngine::MachineLearning::Series::label_
protected

Definition at line 111 of file FgFigure.h.

◆ dims_

int NeuralEngine::MachineLearning::Series::dims_
protected

Definition at line 112 of file FgFigure.h.

◆ depth_

int NeuralEngine::MachineLearning::Series::depth_
protected

Definition at line 113 of file FgFigure.h.

◆ legend_

bool NeuralEngine::MachineLearning::Series::legend_
protected

Definition at line 114 of file FgFigure.h.

◆ dynamic_color_

bool NeuralEngine::MachineLearning::Series::dynamic_color_
protected

Definition at line 115 of file FgFigure.h.


The documentation for this class was generated from the following file: