File: hyperflags.h

package info (click to toggle)
regina-normal 7.4.1-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 154,244 kB
  • sloc: cpp: 295,026; xml: 9,992; sh: 1,344; python: 1,225; perl: 616; ansic: 138; makefile: 26
file content (231 lines) | stat: -rw-r--r-- 8,847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
/*
  This file contains docstrings for use in the Python bindings.
  Do not edit! They were automatically extracted by ../gendoc.sh.
 */

#if defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif

namespace regina::python::doc {


// Docstring regina::python::doc::HyperAlg
static const char *HyperAlg =
R"doc(Represents options and variants of algorithms for enumerating various
types of normal hypersurfaces in 4-manifold triangulations. This
enumeration type is used with normal hypersurface enumeration
routines, such as the NormalHypersurfaces class constructor.

These values can be combined using the bitwise OR operator (resulting
in an object of type ``Flags<HyperAlg>``). In particular, if a
hypersurface enumeration function takes an argument of type
``Flags<HyperAlg>``, then you can pass a single HyperAlg constant, or
a bitwise combination of such constants ``(flag1 | flag2)``, or empty
braces ``{}`` to indicate no flags at all (which is equivalent to
passing ``HyperAlg::Default``).)doc";

// Docstring regina::python::doc::HyperList
static const char *HyperList =
R"doc(Represents different lists of normal hypersurfaces that might be
constructed for a given 4-manifold triangulation. This enumeration
type is used with normal hypersurface enumeration routines, such as
the NormalHypersurfaces class constructor.

The HyperList enumeration refers to the _contents_ of the list,
whereas the HyperAlg enumeration refers to the _algorithm_ used to
build it.

These values can be combined using the bitwise OR operator (resulting
in an object of type ``Flags<HyperList>``). In particular, if a
hypersurface enumeration function takes an argument of type
``Flags<HyperList>``, then you can pass a single HyperList constant,
or a bitwise combination of such constants ``(flag1 | flag2)``, or
empty braces ``{}`` to indicate no flags at all (which is equivalent
to passing ``HyperList::Default``).)doc";

// Docstring regina::python::doc::__bor
static const char *__bor =
R"doc(Returns the bitwise OR of the two given flags.

Parameter ``lhs``:
    the first flag to combine.

Parameter ``rhs``:
    the second flag to combine.

Returns:
    the combination of both flags.)doc";

// Docstring regina::python::doc::__bor_2
static const char *__bor_2 =
R"doc(Returns the bitwise OR of the two given flags.

Parameter ``lhs``:
    the first flag to combine.

Parameter ``rhs``:
    the second flag to combine.

Returns:
    the combination of both flags.)doc";

namespace HyperAlg_ {

// Docstring regina::python::doc::HyperAlg_::Custom
static const char *Custom =
R"doc(Indicates that a normal hypersurface list was built using a customised
algorithm. In such cases, no further details on the algorithm are
available.

If this flag is passed to an enumeration algorithm, it will be
ignored.)doc";

// Docstring regina::python::doc::HyperAlg_::Default
static const char *Default =
R"doc(An empty flag, indicating to an enumeration routine that it should use
its default behaviour. The numeric value of this flag is zero (i.e.,
it has no effect when combined with other flags using bitwise OR).)doc";

// Docstring regina::python::doc::HyperAlg_::HilbertDual
static const char *HilbertDual =
R"doc(When enumerating fundamental normal hypersurfaces, this flag indicates
that the dual method should be used for enumerating a Hilbert basis.

The dual method is fast (like the primal method), but its performance
is highly variable; for this reason the primal method is recommended
instead. This method does not make use of Normaliz, and is the
recommended method for situations in which Normaliz is not available
for some reason.

For details and comparisons of the various options for enumerating
fundamental normal surfaces, see B. A. Burton, "Enumerating
fundamental normal surfaces: Algorithms, experiments and invariants",
ALENEX 2014: Proceedings of the Meeting on Algorithm Engineering &
Experiments, SIAM, 2014, pp. 112-124.

This flag is incompatible with HilbertPrimal.)doc";

// Docstring regina::python::doc::HyperAlg_::HilbertPrimal
static const char *HilbertPrimal =
R"doc(When enumerating fundamental normal hypersurfaces, this flag indicates
that the primal method should be used for enumerating a Hilbert basis.

The primal method is recommended, and enumeration algorithms will use
it if possible unless a different method is explicitly requested. This
method uses code from Normaliz for parts of its processing.

For details and comparisons of the various options for enumerating
fundamental normal surfaces, see B. A. Burton, "Enumerating
fundamental normal surfaces: Algorithms, experiments and invariants",
ALENEX 2014: Proceedings of the Meeting on Algorithm Engineering &
Experiments, SIAM, 2014, pp. 112-124.

This flag is incompatible with HilbertDual.)doc";

// Docstring regina::python::doc::HyperAlg_::Legacy
static const char *Legacy =
R"doc(Indicates that a normal hypersurface list was enumerated using an
older prerelease version of the 4-manifolds code (prior to Regina
5.0).

These prerelease versions did not retain details of the algorithm used
to build each list, and so in such cases no further algorithmic
information is available.

If this flag is passed to an enumeration algorithm, it will be
ignored.)doc";

// Docstring regina::python::doc::HyperAlg_::VertexDD
static const char *VertexDD =
R"doc(When enumerating vertex normal hypersurfaces, this flag indicates that
a modified double description method should be used.

This algorithm can suffer from a combinatorial explosion with larger
problems, leading to extremely large time and memory footprints. Users
should only request this if they have some specialised need.

Having said that: this is the only algorithm that Regina currently
supports for 4-dimensional vertex enumeration (unlike the
3-dimensional case, where several alternative algorithms are
available). Therefore Regina will use the double description method
regardless. Alternative algorithms will be implemented in future
versions of Regina.

For details on the modified double description method, see B. A.
Burton, "Optimizing the double description method for normal surface
enumeration", Mathematics of Computation 79 (2010), pp. 453-484.)doc";

}

namespace HyperList_ {

// Docstring regina::python::doc::HyperList_::Custom
static const char *Custom =
R"doc(Indicates some other type of list, typically hand-crafted by the user
or built by some customised algorithm.

If this flag is passed to an enumeration routine, it will be ignored.)doc";

// Docstring regina::python::doc::HyperList_::Default
static const char *Default =
R"doc(An empty flag, indicating to an enumeration routine that it should use
its default behaviour. The numeric value of this flag is zero (i.e.,
it has no effect when combined with other flags using bitwise OR).)doc";

// Docstring regina::python::doc::HyperList_::EmbeddedOnly
static const char *EmbeddedOnly =
R"doc(Indicates that this list is restricted to properly embedded
hypersurfaces only.

This flag is incompatible with ImmersedSingular.)doc";

// Docstring regina::python::doc::HyperList_::Fundamental
static const char *Fundamental =
R"doc(Indicates a list of all fundamental normal hypersurfaces, with respect
to the particular normal coordinate system used by the list.

This flag is incompatible with Vertex.)doc";

// Docstring regina::python::doc::HyperList_::ImmersedSingular
static const char *ImmersedSingular =
R"doc(Indicates that the scope of this list includes not just properly
embedded hypersurfaces, but also immersed and/or branched
hypersurfaces.

This is no guarantee that the list _contains_ immersed and/or branched
hypersurfaces; it merely states that such hypersurfaces have not been
explicitly excluded (in particular, the prism constraints have not
been enforced).

This flag is incompatible with EmbeddedOnly.)doc";

// Docstring regina::python::doc::HyperList_::Legacy
static const char *Legacy =
R"doc(Indicates a list that was constructed using an older prerelease
version of the 4-manifolds code (prior to Regina 5.0).

These prerelease versions did not retain details of how each list was
constructed, beyond whether immersed and/or singular hypersurfaces
were included. Therefore no information is available for such lists,
other than the presence or absence of the EmbeddedOnly and/or
ImmersedSingular flags.

If this flag is passed to an enumeration routine, it will be ignored.)doc";

// Docstring regina::python::doc::HyperList_::Vertex
static const char *Vertex =
R"doc(Indicates a list of all vertex normal hypersurfaces, with respect to
the particular normal coordinate system used by the list.

This flag is incompatible with Fundamental.)doc";

}

} // namespace regina::python::doc

#if defined(__GNUG__)
#pragma GCC diagnostic pop
#endif