idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
NodeSelectionRuleFactory.h
1//
2// Created by henri on 21/03/23.
3//
4
5#ifndef IDOL_NODESELECTIONRULEFACTORY_H
6#define IDOL_NODESELECTIONRULEFACTORY_H
7
8namespace idol {
9 template<class NodeT>
10 class NodeSelectionRule;
11
12 template<class NodeT>
13 class NodeSelectionRuleFactory;
14
15 namespace Optimizers {
16 template<class NodeT>
17 class BranchAndBound;
18 }
19}
20
21template<class NodeT>
23public:
24 virtual ~NodeSelectionRuleFactory() = default;
25
26 virtual NodeSelectionRule<NodeT>* operator()(Optimizers::BranchAndBound<NodeT>& t_parent) const = 0;
27
28 virtual NodeSelectionRuleFactory* clone() const = 0;
29};
30
31#endif //IDOL_NODESELECTIONRULEFACTORY_H