Minotaur
0.4.1
Docs for developers
Loading...
Searching...
No Matches
src
base
SOS.h
Go to the documentation of this file.
1
//
2
// Minotaur -- It's only 1/2 bull
3
//
4
// (C)opyright 2008 - 2025 The Minotaur Team.
5
//
6
7
14
#ifndef MINOTAURSOS_H
15
#define MINOTAURSOS_H
16
17
#include "
Types.h
"
18
#include "
Variable.h
"
19
20
namespace
Minotaur
{
21
22
23
class
SOS
{
24
public
:
26
SOS
();
27
28
SOS
(
int
n,
SOSType
type,
const
double
*weights,
const
VarVector &vars,
29
int
priority,
int
id
, std::string name);
30
32
virtual
~SOS
();
33
34
int
getId()
const
;
35
int
getNz();
36
SOSType
getType();
37
int
getPriority()
const
;
38
39
std::string getName()
const
;
40
const
double
* getWeights();
41
42
VariableConstIterator varsBegin()
const
;
43
VariableConstIterator varsEnd()
const
;
44
45
private
:
47
int
id_;
48
50
int
n_;
51
53
int
priority_;
54
56
SOSType
type_;
57
59
double
* weights_;
60
62
VarVector vars_;
63
65
std::string name_;
66
67
};
68
}
69
#endif
70
Types.h
Declare important 'types' used in Minotaur.
Variable.h
Define the Variable class.
Minotaur::SOS
Definition
SOS.h:23
Minotaur::SOS::SOS
SOS()
Default constructor.
Definition
SOS.cpp:25
Minotaur::SOS::~SOS
virtual ~SOS()
Destroy.
Definition
SOS.cpp:49
Minotaur
Definition
ActiveNodeStore.h:20
Minotaur::SOSType
SOSType
SOS types.
Definition
Types.h:134
Minotaur source code documented by
Doxygen 1.9.8
on Fri Nov 7 2025