Curring magic
This commit is contained in:
15
src/interfaces/ICostComponent.h
Normal file
15
src/interfaces/ICostComponent.h
Normal file
@ -0,0 +1,15 @@
|
||||
//
|
||||
// Created by stani on 3/10/2025.
|
||||
//
|
||||
|
||||
#ifndef ICOSTCOMPONENT_H
|
||||
#define ICOSTCOMPONENT_H
|
||||
#include "../model/Community.h"
|
||||
|
||||
class ICostComponent
|
||||
{
|
||||
public:
|
||||
virtual ~ICostComponent() = default;
|
||||
virtual double apply(std::vector<std::unique_ptr<Community>>& communities) const = 0;
|
||||
};
|
||||
#endif //ICOSTCOMPONENT_H
|
||||
Reference in New Issue
Block a user