-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.h
More file actions
29 lines (25 loc) · 755 Bytes
/
plugin.h
File metadata and controls
29 lines (25 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Evoplex <https://evoplex.org>
#ifndef MINIMAL_GRAPH_H
#define MINIMAL_GRAPH_H
#include <plugininterface.h>
namespace evoplex {
class MinimalGraph: public AbstractGraph
{
public:
/** [OPTIONAL]
* @brief Initializes the plugin.
* This method is called when the plugin is created and
* is mainly used to validate inputs and set the environment.
* The default implementation does nothing.
* @return true if successful
*/
//bool init() override;
/** [MANDATORY]
* @brief Resets the graph object to the original state.
* This method is triggered after a successful AbstractPlugin::init().
* @returns true if successful.
*/
bool reset() override;
};
} // evoplex
#endif // MINIMAL_GRAPH_H