You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
426 B
27 lines
426 B
#ifndef LOGISTIC_HPP
|
|
#define LOGISTIC_HPP
|
|
|
|
#include "../AttractorKernel.hpp"
|
|
|
|
class Logistic : public AttractorKernel {
|
|
private:
|
|
|
|
void init();
|
|
|
|
public:
|
|
|
|
Logistic();
|
|
Logistic(const unsigned int dimension);
|
|
|
|
virtual void operator()();
|
|
|
|
virtual void generate_random_parameters(){
|
|
for(unsigned int i = 0; i < numberOfParameters; ++i){
|
|
parameters[i] = rand() / double(RAND_MAX) + 3.0;
|
|
}
|
|
}
|
|
|
|
};
|
|
|
|
#endif // LOGISTIC_HPP
|
|
|
|
|