-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.html
More file actions
291 lines (270 loc) · 22.4 KB
/
Copy pathapi.html
File metadata and controls
291 lines (270 loc) · 22.4 KB
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<!DOCTYPE html>
<html class="writer-html5" lang="en" data-content_root="./">
<head>
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CayleyPy API Reference — CayleyPy documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=9edc463e" />
<link rel="stylesheet" type="text/css" href="_static/custom.css" />
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=fd6eb6e6"></script>
<script src="_static/sphinx_highlight.js?v=6ffebe34"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="cayleypy.CayleyGraphDef" href="generated/cayleypy.CayleyGraphDef.html" />
<link rel="prev" title="CayleyPy" href="index.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home">
CayleyPy
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">CayleyPy API Reference</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#core-classes-and-functions">Core classes and functions</a><ul>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.CayleyGraphDef.html">cayleypy.CayleyGraphDef</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.CayleyGraph.html">cayleypy.CayleyGraph</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.CayleyPath.html">cayleypy.CayleyPath</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.find_path.html">cayleypy.find_path</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#graphs-library">Graphs library</a><ul>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.PermutationGroups.html">cayleypy.PermutationGroups</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.MatrixGroups.html">cayleypy.MatrixGroups</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.Puzzles.html">cayleypy.Puzzles</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.GapPuzzles.html">cayleypy.GapPuzzles</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.create_graph.html">cayleypy.create_graph</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.prepare_graph.html">cayleypy.prepare_graph</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#beam-search-and-ml">Beam search and ML</a><ul>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.Predictor.html">cayleypy.Predictor</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.BeamSearchAlgorithm.html">cayleypy.algo.BeamSearchAlgorithm</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.BeamSearchResult.html">cayleypy.algo.BeamSearchResult</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.RandomWalksGenerator.html">cayleypy.algo.RandomWalksGenerator</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.ModelConfig.html">cayleypy.models.ModelConfig</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.GroupTokenizer.html">cayleypy.models.GroupTokenizer</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.MlpModel.html">cayleypy.models.MlpModel</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.ResMlpModel.html">cayleypy.models.ResMlpModel</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.graph_hash.html">cayleypy.models.graph_hash</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.save_checkpoint.html">cayleypy.models.save_checkpoint</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.models.load_checkpoint.html">cayleypy.models.load_checkpoint</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#training">Training</a><ul>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.train.Loss.html">cayleypy.train.Loss</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.train.MseLoss.html">cayleypy.train.MseLoss</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.train.PinballLoss.html">cayleypy.train.PinballLoss</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.train.make_loss.html">cayleypy.train.make_loss</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#bfs-algorithm-and-its-variations">BFS algorithm and its variations</a><ul>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.BfsAlgorithm.html">cayleypy.algo.BfsAlgorithm</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.BfsDistributed.html">cayleypy.algo.BfsDistributed</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.BfsResult.html">cayleypy.algo.BfsResult</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.bfs_bitmask.html">cayleypy.algo.bfs_bitmask</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.bfs_numpy.html">cayleypy.algo.bfs_numpy</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.InteractiveBfs.html">cayleypy.algo.InteractiveBfs</a></li>
<li class="toctree-l3"><a class="reference internal" href="generated/cayleypy.algo.MeetInTheMiddle.html">cayleypy.algo.MeetInTheMiddle</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">CayleyPy</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home" aria-label="Home"></a></li>
<li class="breadcrumb-item active">CayleyPy API Reference</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/api.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="cayleypy-api-reference">
<h1>CayleyPy API Reference<a class="headerlink" href="#cayleypy-api-reference" title="Link to this heading"></a></h1>
<section id="core-classes-and-functions">
<h2>Core classes and functions<a class="headerlink" href="#core-classes-and-functions" title="Link to this heading"></a></h2>
<div class="toctree-wrapper compound">
</div>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.CayleyGraphDef.html#cayleypy.CayleyGraphDef" title="cayleypy.CayleyGraphDef"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.CayleyGraphDef</span></code></a>(generators_type, ...)</p></td>
<td><p>Mathematical definition of a CayleyGraph.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.CayleyGraph.html#cayleypy.CayleyGraph" title="cayleypy.CayleyGraph"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.CayleyGraph</span></code></a>(definition, *[, ...])</p></td>
<td><p>Represents a Schreier coset graph for some group.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.CayleyPath.html#cayleypy.CayleyPath" title="cayleypy.CayleyPath"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.CayleyPath</span></code></a>(start_state, edges, graph)</p></td>
<td><p>Path in a Cayley graph.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.find_path.html#cayleypy.find_path" title="cayleypy.find_path"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.find_path</span></code></a>(graph, start_state, **kwargs)</p></td>
<td><p>Finds path from <code class="docutils literal notranslate"><span class="pre">start_state</span></code> to central state.</p></td>
</tr>
</tbody>
</table>
</section>
<section id="graphs-library">
<h2>Graphs library<a class="headerlink" href="#graphs-library" title="Link to this heading"></a></h2>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.PermutationGroups.html#cayleypy.PermutationGroups" title="cayleypy.PermutationGroups"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.PermutationGroups</span></code></a>()</p></td>
<td><p>Pre-defined Cayley graphs for permutation groups (S_n).</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.MatrixGroups.html#cayleypy.MatrixGroups" title="cayleypy.MatrixGroups"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.MatrixGroups</span></code></a>()</p></td>
<td><p>Pre-defined Cayley graphs for matrix groups.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.Puzzles.html#cayleypy.Puzzles" title="cayleypy.Puzzles"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.Puzzles</span></code></a>()</p></td>
<td><p>Definitions of graphs describing various puzzles.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.GapPuzzles.html#cayleypy.GapPuzzles" title="cayleypy.GapPuzzles"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.GapPuzzles</span></code></a>()</p></td>
<td><p>Library of puzzles defined in GAP format.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.create_graph.html#cayleypy.create_graph" title="cayleypy.create_graph"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.create_graph</span></code></a>(*[, ...])</p></td>
<td><p>Creates CayleyGraph.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.prepare_graph.html#cayleypy.prepare_graph" title="cayleypy.prepare_graph"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.prepare_graph</span></code></a>(name[, n])</p></td>
<td><p>Returns pre-defined CayleyGraphDef by codename and additional kwargs.</p></td>
</tr>
</tbody>
</table>
</section>
<section id="beam-search-and-ml">
<h2>Beam search and ML<a class="headerlink" href="#beam-search-and-ml" title="Link to this heading"></a></h2>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.Predictor.html#cayleypy.Predictor" title="cayleypy.Predictor"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.Predictor</span></code></a>(graph, models_or_heuristics)</p></td>
<td><p>Estimates distance from central state to given states.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.algo.BeamSearchAlgorithm.html#cayleypy.algo.BeamSearchAlgorithm" title="cayleypy.algo.BeamSearchAlgorithm"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.BeamSearchAlgorithm</span></code></a>(graph)</p></td>
<td><p>Beam search algorithm for finding paths in Cayley graphs.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.algo.BeamSearchResult.html#cayleypy.algo.BeamSearchResult" title="cayleypy.algo.BeamSearchResult"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.BeamSearchResult</span></code></a>(path_found, ...)</p></td>
<td><p>Result of running beam search on a Cayley graph.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.algo.RandomWalksGenerator.html#cayleypy.algo.RandomWalksGenerator" title="cayleypy.algo.RandomWalksGenerator"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.RandomWalksGenerator</span></code></a>(graph)</p></td>
<td><p>Generator for random walks on Cayley graphs.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.models.ModelConfig.html#cayleypy.models.ModelConfig" title="cayleypy.models.ModelConfig"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.ModelConfig</span></code></a>(model_type, ...)</p></td>
<td><p>Configuration used to describe ML model.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.models.GroupTokenizer.html#cayleypy.models.GroupTokenizer" title="cayleypy.models.GroupTokenizer"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.GroupTokenizer</span></code></a>(groups)</p></td>
<td><p>Converts states to sequences of tokens, one token per group of consecutive elements of a state.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.models.MlpModel.html#cayleypy.models.MlpModel" title="cayleypy.models.MlpModel"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.MlpModel</span></code></a>(config)</p></td>
<td><p>Multi-layer perceptron model.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.models.ResMlpModel.html#cayleypy.models.ResMlpModel" title="cayleypy.models.ResMlpModel"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.ResMlpModel</span></code></a>(config)</p></td>
<td><p>Multi-layer perceptron with residual (skip) connections.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.models.graph_hash.html#cayleypy.models.graph_hash" title="cayleypy.models.graph_hash"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.graph_hash</span></code></a>(graph_def)</p></td>
<td><p>Computes hash of the mathematical definition of a graph.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.models.save_checkpoint.html#cayleypy.models.save_checkpoint" title="cayleypy.models.save_checkpoint"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.save_checkpoint</span></code></a>(path, model, ...)</p></td>
<td><p>Saves weights of a model together with the config describing this model.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.models.load_checkpoint.html#cayleypy.models.load_checkpoint" title="cayleypy.models.load_checkpoint"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.models.load_checkpoint</span></code></a>(path[, ...])</p></td>
<td><p>Loads model from a checkpoint written by <code class="xref py py-func docutils literal notranslate"><span class="pre">save_checkpoint()</span></code>.</p></td>
</tr>
</tbody>
</table>
</section>
<section id="training">
<h2>Training<a class="headerlink" href="#training" title="Link to this heading"></a></h2>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.train.Loss.html#cayleypy.train.Loss" title="cayleypy.train.Loss"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.train.Loss</span></code></a>()</p></td>
<td><p>Base class for losses used to train distance-estimating models.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.train.MseLoss.html#cayleypy.train.MseLoss" title="cayleypy.train.MseLoss"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.train.MseLoss</span></code></a>()</p></td>
<td><p>Mean squared error loss.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.train.PinballLoss.html#cayleypy.train.PinballLoss" title="cayleypy.train.PinballLoss"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.train.PinballLoss</span></code></a>([tau])</p></td>
<td><p>Pinball (quantile) loss, which penalizes underestimation and overestimation differently.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.train.make_loss.html#cayleypy.train.make_loss" title="cayleypy.train.make_loss"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.train.make_loss</span></code></a>(name[, tau])</p></td>
<td><p>Creates loss by name.</p></td>
</tr>
</tbody>
</table>
</section>
<section id="bfs-algorithm-and-its-variations">
<h2>BFS algorithm and its variations<a class="headerlink" href="#bfs-algorithm-and-its-variations" title="Link to this heading"></a></h2>
<table class="autosummary longtable docutils align-default">
<tbody>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.algo.BfsAlgorithm.html#cayleypy.algo.BfsAlgorithm" title="cayleypy.algo.BfsAlgorithm"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.BfsAlgorithm</span></code></a>()</p></td>
<td><p>Basic version of the bread-first search (BFS) algorithm.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.algo.BfsDistributed.html#cayleypy.algo.BfsDistributed" title="cayleypy.algo.BfsDistributed"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.BfsDistributed</span></code></a>()</p></td>
<td><p>Multi-GPU breadth-first search implementation.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.algo.BfsResult.html#cayleypy.algo.BfsResult" title="cayleypy.algo.BfsResult"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.BfsResult</span></code></a>(bfs_completed, ...)</p></td>
<td><p>Result of running breadth-first search on a Schreier coset graph.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.algo.bfs_bitmask.html#cayleypy.algo.bfs_bitmask" title="cayleypy.algo.bfs_bitmask"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.bfs_bitmask</span></code></a>(graph[, max_diameter])</p></td>
<td><p>Version of BFS storing all vertices explicitly as bitmasks, using 3 bits of memory per state.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.algo.bfs_numpy.html#cayleypy.algo.bfs_numpy" title="cayleypy.algo.bfs_numpy"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.bfs_numpy</span></code></a>(graph[, max_diameter])</p></td>
<td><p>Simple version of BFS (from destination_state) using numpy, optimized for memory usage.</p></td>
</tr>
<tr class="row-even"><td><p><a class="reference internal" href="generated/cayleypy.algo.InteractiveBfs.html#cayleypy.algo.InteractiveBfs" title="cayleypy.algo.InteractiveBfs"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.InteractiveBfs</span></code></a>(graph, start_states)</p></td>
<td><p>Interactive breadth-first search that computes layers one by one.</p></td>
</tr>
<tr class="row-odd"><td><p><a class="reference internal" href="generated/cayleypy.algo.MeetInTheMiddle.html#cayleypy.algo.MeetInTheMiddle" title="cayleypy.algo.MeetInTheMiddle"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cayleypy.algo.MeetInTheMiddle</span></code></a>()</p></td>
<td><p>Meet-in-the middle (MITM) algorithm for path finding.</p></td>
</tr>
</tbody>
</table>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="index.html" class="btn btn-neutral float-left" title="CayleyPy" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
<a href="generated/cayleypy.CayleyGraphDef.html" class="btn btn-neutral float-right" title="cayleypy.CayleyGraphDef" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
</div>
<hr/>
<div role="contentinfo">
<p>© Copyright 2025, CayleyPy Foundation.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>