mirror of
https://github.com/JHUAPL/kami.git
synced 2026-01-09 23:07:56 -05:00
Add dummy c'stor and d'stor to the starter example
This commit is contained in:
@@ -32,20 +32,32 @@
|
||||
|
||||
#include <kami/agent.h>
|
||||
#include <kami/kami.h>
|
||||
#include <kami/multigrid1d.h>
|
||||
#include <kami/random.h>
|
||||
|
||||
/**
|
||||
* A starter agent for a starter model
|
||||
*/
|
||||
class StarterAgent : public kami::Agent {
|
||||
private:
|
||||
int _step_counter = 0;
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
StarterAgent();
|
||||
|
||||
/**
|
||||
* Deconstructor
|
||||
*/
|
||||
~StarterAgent();
|
||||
|
||||
/**
|
||||
* Execute a single time-step for the agent
|
||||
*/
|
||||
kami::AgentID step(std::shared_ptr<kami::Model> model) override;
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user