|
Evoplex
0.2.1
|
A common interface for the attributes' generators classes. More...
#include <attrsgenerator.h>
Public Member Functions | |
| virtual | ~AttrsGeneratorInterface ()=default |
| Destructor. | |
| virtual SetOfAttributes | create (int size=-1, std::function< void(int)> progress=[](int){})=0 |
| Creates a set of attributes. More... | |
A common interface for the attributes' generators classes.
|
pure virtual |
Creates a set of attributes.
| size | The number of Atributes objects. |
| progress | A callback std::function that can be used to track the progress, which is an integer from 0 to size. |
Implemented in evoplex::AGDiffFunctions, and evoplex::AGSameFuncForAll.
1.8.14