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