#ifndef ATTRACTOR_HPP #define ATTRACTOR_HPP #include //#include "Vector.hpp" //#include "Parameters.hpp" #include "Projector.hpp" #include "AttractorKernel.hpp" enum FormulaChoice { POLY_N, LORENZ, POLY_A, POLY_2, LOGISTIC, UNRAVEL }; class Projector; // TODO : Verschillende classas AttractorSystem en Attractor maken? class Attractor { public: unsigned int dim; unsigned int par; unsigned int orde; FormulaChoice formula; double * param; double * point; double * new_point; vector projectors; public: Attractor(); Attractor(const char* const filename); void init(unsigned int dimensions, FormulaChoice formula, unsigned int orde); void init_range(); // TODO : lyapunov exponent uit rekenen bool is_chaos(); // TODO : optimaliseren voor lage graads veeltermen void iterate(); void plot(); void output(); }; #endif // ATTRACTOR_HPP