main page
modules
namespaces
classes
files
Gecode home
Generated on Tue Jan 28 2020 00:00:00 for Gecode by
doxygen
1.8.17
gecode
int
branch
view-sel.cpp
Go to the documentation of this file.
1
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2
/*
3
* Main authors:
4
* Christian Schulte <schulte@gecode.org>
5
*
6
* Copyright:
7
* Christian Schulte, 2012
8
*
9
* Last modified:
10
* $Date: 2017-02-28 08:29:39 +0100 (Tue, 28 Feb 2017) $ by $Author: schulte $
11
* $Revision: 15527 $
12
*
13
* This file is part of Gecode, the generic constraint
14
* development environment:
15
* http://www.gecode.org
16
*
17
* Permission is hereby granted, free of charge, to any person obtaining
18
* a copy of this software and associated documentation files (the
19
* "Software"), to deal in the Software without restriction, including
20
* without limitation the rights to use, copy, modify, merge, publish,
21
* distribute, sublicense, and/or sell copies of the Software, and to
22
* permit persons to whom the Software is furnished to do so, subject to
23
* the following conditions:
24
*
25
* The above copyright notice and this permission notice shall be
26
* included in all copies or substantial portions of the Software.
27
*
28
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
30
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
32
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
33
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
34
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35
*
36
*/
37
38
#include <
gecode/int/branch.hh
>
39
40
namespace
Gecode
{
namespace
Int {
namespace
Branch {
41
42
ViewSel<IntView>*
43
viewsel
(
Space
& home,
const
IntVarBranch
& ivb) {
44
switch
(ivb.
select
()) {
45
case
IntVarBranch::SEL_NONE
:
46
return
new
(home)
ViewSelNone<IntView>
(home,ivb);
47
case
IntVarBranch::SEL_RND
:
48
return
new
(home)
ViewSelRnd<IntView>
(home,ivb);
49
default
:
break
;
50
}
51
if
(ivb.
tbl
() != NULL) {
52
switch
(ivb.
select
()) {
53
case
IntVarBranch::SEL_MERIT_MIN
:
54
return
new
(home)
ViewSelMinTbl
<
MeritFunction<IntView>
>(home,ivb);
55
case
IntVarBranch::SEL_MERIT_MAX
:
56
return
new
(home)
ViewSelMaxTbl
<
MeritFunction<IntView>
>(home,ivb);
57
case
IntVarBranch::SEL_MIN_MIN
:
58
return
new
(home)
ViewSelMinTbl
<
MeritMin<IntView>
>(home,ivb);
59
case
IntVarBranch::SEL_MIN_MAX
:
60
return
new
(home)
ViewSelMaxTbl
<
MeritMin<IntView>
>(home,ivb);
61
case
IntVarBranch::SEL_MAX_MIN
:
62
return
new
(home)
ViewSelMinTbl
<
MeritMax<IntView>
>(home,ivb);
63
case
IntVarBranch::SEL_MAX_MAX
:
64
return
new
(home)
ViewSelMaxTbl
<
MeritMax<IntView>
>(home,ivb);
65
case
IntVarBranch::SEL_SIZE_MIN
:
66
return
new
(home)
ViewSelMinTbl
<
MeritSize<IntView>
>(home,ivb);
67
case
IntVarBranch::SEL_SIZE_MAX
:
68
return
new
(home)
ViewSelMaxTbl
<
MeritSize<IntView>
>(home,ivb);
69
case
IntVarBranch::SEL_DEGREE_MIN
:
70
return
new
(home)
ViewSelMinTbl
<
MeritDegree<IntView>
>(home,ivb);
71
case
IntVarBranch::SEL_DEGREE_MAX
:
72
return
new
(home)
ViewSelMaxTbl
<
MeritDegree<IntView>
>(home,ivb);
73
case
IntVarBranch::SEL_AFC_MIN
:
74
return
new
(home)
ViewSelMinTbl
<
MeritAFC<IntView>
>(home,ivb);
75
case
IntVarBranch::SEL_AFC_MAX
:
76
return
new
(home)
ViewSelMaxTbl
<
MeritAFC<IntView>
>(home,ivb);
77
case
IntVarBranch::SEL_ACTION_MIN
:
78
return
new
(home)
ViewSelMinTbl
<
MeritAction<IntView>
>(home,ivb);
79
case
IntVarBranch::SEL_ACTION_MAX
:
80
return
new
(home)
ViewSelMaxTbl
<
MeritAction<IntView>
>(home,ivb);
81
case
IntVarBranch::SEL_CHB_MIN
:
82
return
new
(home)
ViewSelMinTbl
<
MeritCHB<IntView>
>(home,ivb);
83
case
IntVarBranch::SEL_CHB_MAX
:
84
return
new
(home)
ViewSelMaxTbl
<
MeritCHB<IntView>
>(home,ivb);
85
case
IntVarBranch::SEL_DEGREE_SIZE_MIN
:
86
return
new
(home)
ViewSelMinTbl
<
MeritDegreeSize<IntView>
>(home,ivb);
87
case
IntVarBranch::SEL_DEGREE_SIZE_MAX
:
88
return
new
(home)
ViewSelMaxTbl
<
MeritDegreeSize<IntView>
>(home,ivb);
89
case
IntVarBranch::SEL_AFC_SIZE_MIN
:
90
return
new
(home)
ViewSelMinTbl
<
MeritAFCSize<IntView>
>(home,ivb);
91
case
IntVarBranch::SEL_AFC_SIZE_MAX
:
92
return
new
(home)
ViewSelMaxTbl
<
MeritAFCSize<IntView>
>(home,ivb);
93
case
IntVarBranch::SEL_ACTION_SIZE_MIN
:
94
return
new
(home)
ViewSelMinTbl
<
MeritActionSize<IntView>
>(home,ivb);
95
case
IntVarBranch::SEL_ACTION_SIZE_MAX
:
96
return
new
(home)
ViewSelMaxTbl
<
MeritActionSize<IntView>
>(home,ivb);
97
case
IntVarBranch::SEL_CHB_SIZE_MIN
:
98
return
new
(home)
ViewSelMinTbl
<
MeritCHBSize<IntView>
>(home,ivb);
99
case
IntVarBranch::SEL_CHB_SIZE_MAX
:
100
return
new
(home)
ViewSelMaxTbl
<
MeritCHBSize<IntView>
>(home,ivb);
101
case
IntVarBranch::SEL_REGRET_MIN_MIN
:
102
return
new
(home)
ViewSelMinTbl
<
MeritRegretMin<IntView>
>(home,ivb);
103
case
IntVarBranch::SEL_REGRET_MIN_MAX
:
104
return
new
(home)
ViewSelMaxTbl
<
MeritRegretMin<IntView>
>(home,ivb);
105
case
IntVarBranch::SEL_REGRET_MAX_MIN
:
106
return
new
(home)
ViewSelMinTbl
<
MeritRegretMax<IntView>
>(home,ivb);
107
case
IntVarBranch::SEL_REGRET_MAX_MAX
:
108
return
new
(home)
ViewSelMaxTbl
<
MeritRegretMax<IntView>
>(home,ivb);
109
default
:
110
throw
UnknownBranching
(
"Int::branch"
);
111
}
112
}
else
{
113
switch
(ivb.
select
()) {
114
case
IntVarBranch::SEL_MERIT_MIN
:
115
return
new
(home)
ViewSelMin
<
MeritFunction<IntView>
>(home,ivb);
116
case
IntVarBranch::SEL_MERIT_MAX
:
117
return
new
(home)
ViewSelMax
<
MeritFunction<IntView>
>(home,ivb);
118
case
IntVarBranch::SEL_MIN_MIN
:
119
return
new
(home)
ViewSelMin
<
MeritMin<IntView>
>(home,ivb);
120
case
IntVarBranch::SEL_MIN_MAX
:
121
return
new
(home)
ViewSelMax
<
MeritMin<IntView>
>(home,ivb);
122
case
IntVarBranch::SEL_MAX_MIN
:
123
return
new
(home)
ViewSelMin
<
MeritMax<IntView>
>(home,ivb);
124
case
IntVarBranch::SEL_MAX_MAX
:
125
return
new
(home)
ViewSelMax
<
MeritMax<IntView>
>(home,ivb);
126
case
IntVarBranch::SEL_SIZE_MIN
:
127
return
new
(home)
ViewSelMin
<
MeritSize<IntView>
>(home,ivb);
128
case
IntVarBranch::SEL_SIZE_MAX
:
129
return
new
(home)
ViewSelMax
<
MeritSize<IntView>
>(home,ivb);
130
case
IntVarBranch::SEL_DEGREE_MIN
:
131
return
new
(home)
ViewSelMin
<
MeritDegree<IntView>
>(home,ivb);
132
case
IntVarBranch::SEL_DEGREE_MAX
:
133
return
new
(home)
ViewSelMax
<
MeritDegree<IntView>
>(home,ivb);
134
case
IntVarBranch::SEL_AFC_MIN
:
135
return
new
(home)
ViewSelMin
<
MeritAFC<IntView>
>(home,ivb);
136
case
IntVarBranch::SEL_AFC_MAX
:
137
return
new
(home)
ViewSelMax
<
MeritAFC<IntView>
>(home,ivb);
138
case
IntVarBranch::SEL_ACTION_MIN
:
139
return
new
(home)
ViewSelMin
<
MeritAction<IntView>
>(home,ivb);
140
case
IntVarBranch::SEL_ACTION_MAX
:
141
return
new
(home)
ViewSelMax
<
MeritAction<IntView>
>(home,ivb);
142
case
IntVarBranch::SEL_CHB_MIN
:
143
return
new
(home)
ViewSelMin
<
MeritCHB<IntView>
>(home,ivb);
144
case
IntVarBranch::SEL_CHB_MAX
:
145
return
new
(home)
ViewSelMax
<
MeritCHB<IntView>
>(home,ivb);
146
case
IntVarBranch::SEL_DEGREE_SIZE_MIN
:
147
return
new
(home)
ViewSelMin
<
MeritDegreeSize<IntView>
>(home,ivb);
148
case
IntVarBranch::SEL_DEGREE_SIZE_MAX
:
149
return
new
(home)
ViewSelMax
<
MeritDegreeSize<IntView>
>(home,ivb);
150
case
IntVarBranch::SEL_AFC_SIZE_MIN
:
151
return
new
(home)
ViewSelMin
<
MeritAFCSize<IntView>
>(home,ivb);
152
case
IntVarBranch::SEL_AFC_SIZE_MAX
:
153
return
new
(home)
ViewSelMax
<
MeritAFCSize<IntView>
>(home,ivb);
154
case
IntVarBranch::SEL_ACTION_SIZE_MIN
:
155
return
new
(home)
ViewSelMin
<
MeritActionSize<IntView>
>(home,ivb);
156
case
IntVarBranch::SEL_ACTION_SIZE_MAX
:
157
return
new
(home)
ViewSelMax
<
MeritActionSize<IntView>
>(home,ivb);
158
case
IntVarBranch::SEL_CHB_SIZE_MIN
:
159
return
new
(home)
ViewSelMin
<
MeritCHBSize<IntView>
>(home,ivb);
160
case
IntVarBranch::SEL_CHB_SIZE_MAX
:
161
return
new
(home)
ViewSelMax
<
MeritCHBSize<IntView>
>(home,ivb);
162
case
IntVarBranch::SEL_REGRET_MIN_MIN
:
163
return
new
(home)
ViewSelMin
<
MeritRegretMin<IntView>
>(home,ivb);
164
case
IntVarBranch::SEL_REGRET_MIN_MAX
:
165
return
new
(home)
ViewSelMax
<
MeritRegretMin<IntView>
>(home,ivb);
166
case
IntVarBranch::SEL_REGRET_MAX_MIN
:
167
return
new
(home)
ViewSelMin
<
MeritRegretMax<IntView>
>(home,ivb);
168
case
IntVarBranch::SEL_REGRET_MAX_MAX
:
169
return
new
(home)
ViewSelMax
<
MeritRegretMax<IntView>
>(home,ivb);
170
default
:
171
throw
UnknownBranching
(
"Int::branch"
);
172
}
173
}
174
GECODE_NEVER
;
175
return
NULL;
176
}
177
178
ViewSel<BoolView>
*
179
viewsel
(
Space
& home,
const
BoolVarBranch
& bvb) {
180
switch
(bvb.
select
()) {
181
case
BoolVarBranch::SEL_NONE
:
182
return
new
(home)
ViewSelNone<BoolView>
(home,bvb);
183
case
BoolVarBranch::SEL_RND
:
184
return
new
(home)
ViewSelRnd<BoolView>
(home,bvb);
185
default
:
break
;
186
}
187
if
(bvb.
tbl
() != NULL) {
188
switch
(bvb.
select
()) {
189
case
BoolVarBranch::SEL_MERIT_MIN
:
190
return
new
(home)
ViewSelMinTbl
<
MeritFunction<BoolView>
>(home,bvb);
191
case
BoolVarBranch::SEL_MERIT_MAX
:
192
return
new
(home)
ViewSelMaxTbl
<
MeritFunction<BoolView>
>(home,bvb);
193
case
BoolVarBranch::SEL_DEGREE_MIN
:
194
return
new
(home)
ViewSelMinTbl
<
MeritDegree<BoolView>
>(home,bvb);
195
case
BoolVarBranch::SEL_DEGREE_MAX
:
196
return
new
(home)
ViewSelMaxTbl
<
MeritDegree<BoolView>
>(home,bvb);
197
case
BoolVarBranch::SEL_AFC_MIN
:
198
return
new
(home)
ViewSelMinTbl
<
MeritAFC<BoolView>
>(home,bvb);
199
case
BoolVarBranch::SEL_AFC_MAX
:
200
return
new
(home)
ViewSelMaxTbl
<
MeritAFC<BoolView>
>(home,bvb);
201
case
BoolVarBranch::SEL_ACTION_MIN
:
202
return
new
(home)
ViewSelMinTbl
<
MeritAction<BoolView>
>(home,bvb);
203
case
BoolVarBranch::SEL_ACTION_MAX
:
204
return
new
(home)
ViewSelMaxTbl
<
MeritAction<BoolView>
>(home,bvb);
205
case
BoolVarBranch::SEL_CHB_MIN
:
206
return
new
(home)
ViewSelMinTbl
<
MeritCHB<BoolView>
>(home,bvb);
207
case
BoolVarBranch::SEL_CHB_MAX
:
208
return
new
(home)
ViewSelMaxTbl
<
MeritCHB<BoolView>
>(home,bvb);
209
default
:
210
throw
UnknownBranching
(
"Int::branch"
);
211
}
212
}
else
{
213
switch
(bvb.
select
()) {
214
case
BoolVarBranch::SEL_MERIT_MIN
:
215
return
new
(home)
ViewSelMin
<
MeritFunction<BoolView>
>(home,bvb);
216
case
BoolVarBranch::SEL_MERIT_MAX
:
217
return
new
(home)
ViewSelMax
<
MeritFunction<BoolView>
>(home,bvb);
218
case
BoolVarBranch::SEL_DEGREE_MIN
:
219
return
new
(home)
ViewSelMin
<
MeritDegree<BoolView>
>(home,bvb);
220
case
BoolVarBranch::SEL_DEGREE_MAX
:
221
return
new
(home)
ViewSelMax
<
MeritDegree<BoolView>
>(home,bvb);
222
case
BoolVarBranch::SEL_AFC_MIN
:
223
return
new
(home)
ViewSelMin
<
MeritAFC<BoolView>
>(home,bvb);
224
case
BoolVarBranch::SEL_AFC_MAX
:
225
return
new
(home)
ViewSelMax
<
MeritAFC<BoolView>
>(home,bvb);
226
case
BoolVarBranch::SEL_ACTION_MIN
:
227
return
new
(home)
ViewSelMin
<
MeritAction<BoolView>
>(home,bvb);
228
case
BoolVarBranch::SEL_ACTION_MAX
:
229
return
new
(home)
ViewSelMax
<
MeritAction<BoolView>
>(home,bvb);
230
case
BoolVarBranch::SEL_CHB_MIN
:
231
return
new
(home)
ViewSelMin
<
MeritCHB<BoolView>
>(home,bvb);
232
case
BoolVarBranch::SEL_CHB_MAX
:
233
return
new
(home)
ViewSelMax
<
MeritCHB<BoolView>
>(home,bvb);
234
default
:
235
throw
UnknownBranching
(
"Int::branch"
);
236
}
237
}
238
GECODE_NEVER
;
239
return
NULL;
240
}
241
242
}}}
243
244
245
// STATISTICS: int-branch
246
Gecode::IntVarBranch::SEL_CHB_SIZE_MIN
@ SEL_CHB_SIZE_MIN
With smallest CHB Q-score divided by domain size.
Definition:
int.hh:4247
Gecode::ViewSelMinTbl
Select view with least merit taking tie-break limit into account.
Definition:
brancher-view-sel.hpp:320
Gecode::ViewSelRnd
Select a view randomly.
Definition:
brancher-view-sel.hpp:153
Gecode::ViewSelNone
Select the first unassigned view.
Definition:
brancher-view-sel.hpp:113
Gecode::IntVarBranch::SEL_RND
@ SEL_RND
Random (uniform, for tie breaking)
Definition:
int.hh:4224
Gecode::IntVarBranch::SEL_CHB_MAX
@ SEL_CHB_MAX
With highest CHB Q-score.
Definition:
int.hh:4234
Gecode::BoolVarBranch::SEL_ACTION_MAX
@ SEL_ACTION_MAX
With highest action.
Definition:
int.hh:4318
Gecode::Int::Branch::MeritSize
Merit class for size.
Definition:
branch.hh:105
Gecode::Int::Branch::MeritCHBSize
Merit class for CHB over size.
Definition:
branch.hh:191
Gecode::IntVarBranch::SEL_SIZE_MAX
@ SEL_SIZE_MAX
With largest domain size.
Definition:
int.hh:4240
Gecode::IntVarBranch::SEL_MERIT_MIN
@ SEL_MERIT_MIN
With least merit.
Definition:
int.hh:4225
Gecode::IntVarBranch::select
Select select(void) const
Return selection strategy.
Definition:
var.hpp:73
Gecode::MeritDegree
Merit class for degree.
Definition:
brancher-merit.hpp:97
Gecode::Int::Branch::viewsel
ViewSel< IntView > * viewsel(Space &home, const IntVarBranch &ivb)
Return view selectors for integer views.
Definition:
view-sel.cpp:43
Gecode::MeritFunction
Merit class for user-defined merit function.
Definition:
brancher-merit.hpp:72
Gecode::IntVarBranch::SEL_CHB_SIZE_MAX
@ SEL_CHB_SIZE_MAX
With largest CHB Q-score divided by domain size.
Definition:
int.hh:4248
Gecode::IntVarBranch::SEL_ACTION_MAX
@ SEL_ACTION_MAX
With highest action.
Definition:
int.hh:4232
Gecode::IntVarBranch::SEL_DEGREE_MAX
@ SEL_DEGREE_MAX
With largest degree.
Definition:
int.hh:4228
Gecode::BoolVarBranch::SEL_RND
@ SEL_RND
Random (uniform, for tie breaking)
Definition:
int.hh:4310
Gecode::IntVarBranch::SEL_AFC_MIN
@ SEL_AFC_MIN
With smallest accumulated failure count.
Definition:
int.hh:4229
Gecode::IntVarBranch::SEL_REGRET_MAX_MIN
@ SEL_REGRET_MAX_MIN
With smallest max-regret.
Definition:
int.hh:4266
Gecode::Space
Computation spaces.
Definition:
core.hpp:1748
Gecode::IntVarBranch
Which integer variable to select for branching.
Definition:
int.hh:4219
Gecode::BoolVarBranch::SEL_AFC_MIN
@ SEL_AFC_MIN
With smallest accumulated failure count.
Definition:
int.hh:4315
Gecode::IntVarBranch::SEL_MAX_MAX
@ SEL_MAX_MAX
With largest max.
Definition:
int.hh:4238
Gecode::BoolVarBranch::SEL_AFC_MAX
@ SEL_AFC_MAX
With largest accumulated failure count.
Definition:
int.hh:4316
Gecode::IntVarBranch::SEL_DEGREE_MIN
@ SEL_DEGREE_MIN
With smallest degree.
Definition:
int.hh:4227
Gecode::IntVarBranch::SEL_MAX_MIN
@ SEL_MAX_MIN
With smallest max.
Definition:
int.hh:4237
Gecode::Int::UnknownBranching
Exception: Unknown value or variable selection passed as argument
Definition:
exception.hpp:112
Gecode::BoolVarBranch::SEL_ACTION_MIN
@ SEL_ACTION_MIN
With lowest action.
Definition:
int.hh:4317
Gecode
Gecode toplevel namespace
Gecode::IntVarBranch::SEL_AFC_MAX
@ SEL_AFC_MAX
With largest accumulated failure count.
Definition:
int.hh:4230
Gecode::MeritAFC
Merit class for AFC.
Definition:
brancher-merit.hpp:112
Gecode::BoolVarBranch::SEL_CHB_MAX
@ SEL_CHB_MAX
With highest CHB.
Definition:
int.hh:4320
Gecode::BoolVarBranch
Which Boolean variable to select for branching.
Definition:
int.hh:4305
Gecode::ViewSelMax
Select view with largest merit.
Definition:
brancher-view-sel.hpp:340
Gecode::Int::Branch::MeritAFCSize
Merit class for AFC over size.
Definition:
branch.hh:141
Gecode::Int::Branch::MeritRegretMin
Merit class for minimum regret.
Definition:
branch.hh:216
Gecode::IntVarBranch::SEL_REGRET_MIN_MAX
@ SEL_REGRET_MIN_MAX
With largest min-regret.
Definition:
int.hh:4260
Gecode::VarBranch::tbl
BranchTbl tbl(void) const
Return tie-break limit function.
Definition:
branch-var.hpp:172
Gecode::IntVarBranch::SEL_REGRET_MAX_MAX
@ SEL_REGRET_MAX_MAX
With largest max-regret.
Definition:
int.hh:4272
branch.hh
Gecode::IntVarBranch::SEL_AFC_SIZE_MIN
@ SEL_AFC_SIZE_MIN
With smallest accumulated failure count divided by domain size.
Definition:
int.hh:4243
Gecode::IntVarBranch::SEL_DEGREE_SIZE_MIN
@ SEL_DEGREE_SIZE_MIN
With smallest degree divided by domain size.
Definition:
int.hh:4241
Gecode::IntVarBranch::SEL_AFC_SIZE_MAX
@ SEL_AFC_SIZE_MAX
With largest accumulated failure count divided by domain size.
Definition:
int.hh:4244
Gecode::IntVarBranch::SEL_NONE
@ SEL_NONE
First unassigned.
Definition:
int.hh:4223
GECODE_NEVER
#define GECODE_NEVER
Assert that this command is never executed.
Definition:
macros.hpp:60
Gecode::BoolVarBranch::select
Select select(void) const
Return selection strategy.
Definition:
var.hpp:344
Gecode::BoolVarBranch::SEL_DEGREE_MIN
@ SEL_DEGREE_MIN
With smallest degree.
Definition:
int.hh:4313
Gecode::Int::Branch::MeritMin
Merit class for mimimum of integer views.
Definition:
branch.hh:69
Gecode::BoolVarBranch::SEL_MERIT_MAX
@ SEL_MERIT_MAX
With highest merit.
Definition:
int.hh:4312
Gecode::IntVarBranch::SEL_MERIT_MAX
@ SEL_MERIT_MAX
With highest merit.
Definition:
int.hh:4226
Gecode::BoolVarBranch::SEL_MERIT_MIN
@ SEL_MERIT_MIN
With least merit.
Definition:
int.hh:4311
Gecode::ViewSel
Abstract class for view selection.
Definition:
brancher-view-sel.hpp:48
Gecode::BoolVarBranch::SEL_CHB_MIN
@ SEL_CHB_MIN
With lowest CHB.
Definition:
int.hh:4319
Gecode::IntVarBranch::SEL_MIN_MIN
@ SEL_MIN_MIN
With smallest min.
Definition:
int.hh:4235
Gecode::Int::Branch::MeritRegretMax
Merit class for maximum regret.
Definition:
branch.hh:234
Gecode::IntVarBranch::SEL_ACTION_MIN
@ SEL_ACTION_MIN
With lowest action.
Definition:
int.hh:4231
Gecode::IntVarBranch::SEL_ACTION_SIZE_MAX
@ SEL_ACTION_SIZE_MAX
With largest action divided by domain size.
Definition:
int.hh:4246
Gecode::ViewSelMaxTbl
Select view with largest merit taking tie-break limit into account.
Definition:
brancher-view-sel.hpp:360
Gecode::IntVarBranch::SEL_DEGREE_SIZE_MAX
@ SEL_DEGREE_SIZE_MAX
With largest degree divided by domain size.
Definition:
int.hh:4242
Gecode::ViewSelMin
Select view with least merit.
Definition:
brancher-view-sel.hpp:300
Gecode::MeritCHB
Merit class for CHB.
Definition:
brancher-merit.hpp:157
Gecode::IntVarBranch::SEL_ACTION_SIZE_MIN
@ SEL_ACTION_SIZE_MIN
With smallest action divided by domain size.
Definition:
int.hh:4245
Gecode::BoolVarBranch::SEL_NONE
@ SEL_NONE
First unassigned.
Definition:
int.hh:4309
Gecode::MeritAction
Merit class for action.
Definition:
brancher-merit.hpp:134
Gecode::Int::Branch::MeritMax
Merit class for maximum.
Definition:
branch.hh:87
Gecode::IntVarBranch::SEL_SIZE_MIN
@ SEL_SIZE_MIN
With smallest domain size.
Definition:
int.hh:4239
Gecode::IntVarBranch::SEL_CHB_MIN
@ SEL_CHB_MIN
With lowest CHB Q-score.
Definition:
int.hh:4233
Gecode::Int::Branch::MeritActionSize
Merit class for action over size.
Definition:
branch.hh:166
Gecode::IntVarBranch::SEL_MIN_MAX
@ SEL_MIN_MAX
With largest min.
Definition:
int.hh:4236
Gecode::Int::Branch::MeritDegreeSize
Merit class for degree over size.
Definition:
branch.hh:123
Gecode::IntVarBranch::SEL_REGRET_MIN_MIN
@ SEL_REGRET_MIN_MIN
With smallest min-regret.
Definition:
int.hh:4254
Gecode::BoolVarBranch::SEL_DEGREE_MAX
@ SEL_DEGREE_MAX
With largest degree.
Definition:
int.hh:4314