#ifndef POLYNOMIAL_HPP #define POLYNOMIAL_HPP #include #include #include "../AttractorKernel.hpp" #include "BasicKernel.h" class Polynomial : public BasicKernel { unsigned int dimension; unsigned int orde; unsigned int numberOfParameters; void init(); void calculateNumberOfParameters(); void recur(unsigned int curr_dimension, unsigned int prev_i, unsigned int n, unsigned int& m, double prev_product=1.0); public: Polynomial(); Polynomial(const unsigned int dimensions, const unsigned int orde); void iterate(); void * getProperty(const string identifier); void setProperty(const string identifier, const void * value); unsigned int getNumberOfParameters(); }; #endif // POLYNOMIAL_HPP