|
|
@ -24,25 +24,25 @@ Attractor::Attractor(const std::string& filename) : kernel(0), projector(0) { |
|
|
|
|
|
|
|
Attractor::Attractor(){ |
|
|
|
stfu::node kernel_node; |
|
|
|
switch(rand()%5){ |
|
|
|
switch(rand()%3){ |
|
|
|
case 0: |
|
|
|
kernel_node.value("type") = "lorenz"; |
|
|
|
kernel_node.value("dimensions") = "3"; |
|
|
|
break; |
|
|
|
case 1: |
|
|
|
/*case 1:
|
|
|
|
kernel_node.value("type") = "polynomial"; |
|
|
|
kernel_node.value("dimensions") = std::string() + (char)(rand()%3 + '2'); |
|
|
|
kernel_node.value("orde") = std::string() + (char)(rand()%5 + '1'); |
|
|
|
break; |
|
|
|
case 2: |
|
|
|
break;*/ |
|
|
|
case 1: |
|
|
|
kernel_node.value("type") = "polynomial a"; |
|
|
|
kernel_node.value("dimensions") = "3"; |
|
|
|
break; |
|
|
|
case 3: |
|
|
|
/*case 3:
|
|
|
|
kernel_node.value("type") = "logistic"; |
|
|
|
kernel_node.value("dimensions") = std::string() + (char)(rand()%3 + '2'); |
|
|
|
break; |
|
|
|
case 4: |
|
|
|
break;*/ |
|
|
|
case 2: |
|
|
|
kernel_node.value("type") = "unravel"; |
|
|
|
kernel_node.value("dimensions") = "3"; |
|
|
|
break; |
|
|
|