Minotaur 0.4.1
Docs for developers
NodeRelaxer.h
Go to the documentation of this file.
1//
2// Minotaur -- It's only 1/2 bull
3//
4// (C)opyright 2009 - 2025 The Minotaur Team.
5//
6
15#ifndef MINOTAURNODERELAXER_H
16#define MINOTAURNODERELAXER_H
17
18#include "Types.h"
19#include "Modification.h"
20#include "Relaxation.h"
21#include "SolutionPool.h"
22
23namespace Minotaur {
24
43public:
46
48 virtual ~NodeRelaxer() { }
49
60 SolutionPool *sp, bool &prune) =0;
61
72 virtual RelaxationPtr createNodeRelaxation(NodePtr node, bool dived,
73 bool &prune) = 0;
74
80 virtual void reset(NodePtr node, bool diving) = 0;
81
87};
88
90}
91#endif
92
Declare the class Relaxation for storing and manipulating relaxations.
Declare a container for storing solutions and their qualities.
Declare important 'types' used in Minotaur.
Definition: NodeRelaxer.h:42
virtual ~NodeRelaxer()
Destroy.
Definition: NodeRelaxer.h:48
virtual RelaxationPtr getRelaxation()=0
virtual RelaxationPtr createNodeRelaxation(NodePtr node, bool dived, bool &prune)=0
virtual void reset(NodePtr node, bool diving)=0
virtual RelaxationPtr createRootRelaxation(NodePtr rootNode, SolutionPool *sp, bool &prune)=0
Create the root node relaxation.
NodeRelaxer()
Default constructor.
Definition: NodeRelaxer.h:45
Definition: Node.h:54
Definition: Relaxation.h:53
Definition: SolutionPool.h:28
Definition: ActiveNodeStore.h:20

Minotaur source code documented by Doxygen 1.9.4 on Thu Apr 24 2025