idol
A C++ Framework for Optimization
Loading...
Searching...
No Matches
BestBound.h
1//
2// Created by henri on 22/03/23.
3//
4
5#ifndef IDOL_BESTBOUND_H
6#define IDOL_BESTBOUND_H
7
8#include "NodeSelectionRuleFactory.h"
9#include "idol/mixed-integer/optimizers/branch-and-bound/node-selection-rules/impls/BestBound.h"
10
11namespace idol {
12 class BestBound;
13}
14
16public:
17 template<class NodeT>
18 class Strategy : public NodeSelectionRuleFactory<NodeT> {
19 public:
20 explicit Strategy(const BestBound& t_parent) {}
21
23 return new NodeSelectionRules::BestBound<NodeT>(t_parent);
24 }
25
26 Strategy *clone() const override {
27 return new Strategy(*this);
28 }
29 };
30};
31
32#endif //IDOL_BESTBOUND_H