IMP logo
IMP Reference Guide  develop.d36d3deffb,2026/11/09
The Integrative Modeling Platform
domino/__init__.py
1 # This file was automatically generated by SWIG (https://www.swig.org).
2 # Version 4.5.1
3 #
4 # Do not make changes to this file unless you know what you are doing - modify
5 # the SWIG interface file instead.
6 
7 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2026 IMP Inventors. All rights reserved.
10 
11 
12 
13 
14 import typing
15 import _IMP_domino
16 
17 import builtins as __builtin__
18 
19 def _swig_repr(self):
20  try:
21  strthis = "proxy of " + self.this.__repr__()
22  except __builtin__.Exception:
23  strthis = ""
24  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
25 
26 
27 def _swig_setattr_nondynamic_instance_variable(set):
28  def set_instance_attr(self, name, value):
29  if name == "this":
30  set(self, name, value)
31  elif name == "thisown":
32  self.this.own(value)
33  elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
34  set(self, name, value)
35  else:
36  raise AttributeError("You cannot add instance attributes to %s" % self)
37  return set_instance_attr
38 
39 
40 def _swig_setattr_nondynamic_class_variable(set):
41  def set_class_attr(cls, name, value):
42  if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
43  set(cls, name, value)
44  else:
45  raise AttributeError("You cannot add class attributes to %s" % cls)
46  return set_class_attr
47 
48 
49 class _SwigNonDynamicMeta(type):
50  """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
51  __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
52 
53 
54 import weakref
55 
56 class IMP_DOMINO_SwigPyIterator(object):
57  r"""Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
58 
59  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
60 
61  def __init__(self, *args, **kwargs):
62  raise AttributeError("No constructor defined - class is abstract")
63  __repr__ = _swig_repr
64  __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
65 
66  def value(self):
67  r"""value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
68  return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
69 
70  def incr(self, n=1):
71  r"""incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
72  return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
73 
74  def decr(self, n=1):
75  r"""decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
76  return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
77 
78  def distance(self, x):
79  r"""distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
80  return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
81 
82  def equal(self, x):
83  r"""equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
84  return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
85 
86  def copy(self):
87  r"""copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
88  return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
89 
90  def __next__(self):
91  r"""__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
92  return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
93 
94  def previous(self):
95  r"""previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
96  return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
97 
98  def advance(self, n):
99  r"""advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
100  return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
101 
102  def __eq__(self, x):
103  r"""__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
104  return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
105 
106  def __ne__(self, x):
107  r"""__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
108  return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
109 
110  def __iadd__(self, n):
111  r"""__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
112  return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
113 
114  def __isub__(self, n):
115  r"""__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
116  return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
117 
118  def __add__(self, n):
119  r"""__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
120  return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
121 
122  def __sub__(self, *args):
123  r"""
124  __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
125  __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
126  """
127  return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
128  def __iter__(self):
129  return self
130 
131 # Register IMP_DOMINO_SwigPyIterator in _IMP_domino:
132 _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
133 
134 _value_types=[]
135 _object_types=[]
136 _raii_types=[]
137 _plural_types=[]
138 
139 IMP_DEBUG = _IMP_domino.IMP_DEBUG
140 
141 IMP_RELEASE = _IMP_domino.IMP_RELEASE
142 
143 IMP_SILENT = _IMP_domino.IMP_SILENT
144 
145 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
146 
147 IMP_TERSE = _IMP_domino.IMP_TERSE
148 
149 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
150 
151 IMP_MEMORY = _IMP_domino.IMP_MEMORY
152 
153 IMP_NONE = _IMP_domino.IMP_NONE
154 
155 IMP_USAGE = _IMP_domino.IMP_USAGE
156 
157 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
158 
159 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
160 
161 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_domino.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
162 
163 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
164 
165 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_domino.IMP_COMPILER_HAS_RANDOM_SHUFFLE
166 
167 IMP_COMPILER_HAS_THREE_WAY = _IMP_domino.IMP_COMPILER_HAS_THREE_WAY
168 
169 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
170 
171 IMP_KERNEL_HAS_NUMPY = _IMP_domino.IMP_KERNEL_HAS_NUMPY
172 
173 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_KERNEL_HAS_BOOST_SYSTEM
174 
175 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
176 
177 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
178 
179 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
180 
181 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
182 
183 
184 import sys
185 class _DirectorObjects:
186  """@internal Simple class to keep references to director objects
187  to prevent premature deletion."""
188  def __init__(self):
189  self._objects = []
190  def register(self, obj):
191  """Take a reference to a director object; will only work for
192  refcounted C++ classes"""
193  if hasattr(obj, 'get_ref_count'):
194  self._objects.append(obj)
195  def cleanup(self):
196  """Only drop our reference and allow cleanup by Python if no other
197  Python references exist (we hold 3 references: one in self._objects,
198  one in x, and one in the argument list for getrefcount) *and* no
199  other C++ references exist (the Python object always holds one)"""
200  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
201  or x.get_ref_count() > 1]
202 # Do in two steps so the references are kept until the end of the
203 # function (deleting references may trigger a fresh call to this method)
204  self._objects = objs
205  def get_object_count(self):
206  """Get number of director objects (useful for testing only)"""
207  return len(self._objects)
208 _director_objects = _DirectorObjects()
209 
210 class _ostream(object):
211  r"""Proxy of C++ std::ostream class."""
212 
213  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
214 
215  def __init__(self, *args, **kwargs):
216  raise AttributeError("No constructor defined")
217  __repr__ = _swig_repr
218 
219  def write(self, osa_buf):
220  r"""write(_ostream self, char const * osa_buf)"""
221  return _IMP_domino._ostream_write(self, osa_buf)
222 
223 # Register _ostream in _IMP_domino:
224 _IMP_domino._ostream_swigregister(_ostream)
225 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
226 
227 import IMP
228 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
229 
230 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
231 
232 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
233 
234 IMP_CGAL_HAS_NUMPY = _IMP_domino.IMP_CGAL_HAS_NUMPY
235 
236 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
237 
238 import IMP.cgal
239 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
240 
241 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
242 
243 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
244 
245 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
246 
247 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
248 
249 IMP_ALGEBRA_HAS_NUMPY = _IMP_domino.IMP_ALGEBRA_HAS_NUMPY
250 
251 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
252 
253 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
254 
255 import IMP.algebra
256 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
257 
258 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
259 
260 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
261 
262 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
263 
264 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
265 
266 IMP_DISPLAY_HAS_NUMPY = _IMP_domino.IMP_DISPLAY_HAS_NUMPY
267 
268 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
269 
270 import IMP.display
271 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
272 
273 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
274 
275 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
276 
277 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
278 
279 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
280 
281 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
282 
283 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_NUMPY
284 
285 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
286 
287 import IMP.score_functor
288 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
289 
290 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
291 
292 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
293 
294 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
295 
296 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
297 
298 IMP_STATISTICS_HAS_NUMPY = _IMP_domino.IMP_STATISTICS_HAS_NUMPY
299 
300 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
301 
302 import IMP.statistics
303 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
304 
305 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
306 
307 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
308 
309 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
310 
311 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
312 
313 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
314 
315 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
316 
317 IMP_CORE_HAS_NUMPY = _IMP_domino.IMP_CORE_HAS_NUMPY
318 
319 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
320 
321 import IMP.core
322 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
323 
324 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
325 
326 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
327 
328 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
329 
330 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
331 
332 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
333 
334 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
335 
336 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
337 
338 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
339 
340 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
341 
342 IMP_CONTAINER_HAS_NUMPY = _IMP_domino.IMP_CONTAINER_HAS_NUMPY
343 
344 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
345 
346 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
347 
348 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
349 
350 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
351 
352 import IMP.container
353 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
354 
355 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
356 
357 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
358 
359 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
360 
361 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
362 
363 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
364 
365 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
366 
367 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
368 
369 IMP_ATOM_HAS_NUMPY = _IMP_domino.IMP_ATOM_HAS_NUMPY
370 
371 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
372 
373 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
374 
375 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
376 
377 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
378 
379 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
380 
381 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
382 
383 import IMP.atom
384 IMP_EM_HAS_IMP_CGAL = _IMP_domino.IMP_EM_HAS_IMP_CGAL
385 
386 IMP_EM_HAS_IMP_CONTAINER = _IMP_domino.IMP_EM_HAS_IMP_CONTAINER
387 
388 IMP_EM_HAS_IMP_DISPLAY = _IMP_domino.IMP_EM_HAS_IMP_DISPLAY
389 
390 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_EM_HAS_IMP_SCORE_FUNCTOR
391 
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_FILESYSTEM
393 
394 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
395 
396 IMP_EM_HAS_BOOST_RANDOM = _IMP_domino.IMP_EM_HAS_BOOST_RANDOM
397 
398 IMP_EM_HAS_BOOST_REGEX = _IMP_domino.IMP_EM_HAS_BOOST_REGEX
399 
400 IMP_EM_HAS_CGAL = _IMP_domino.IMP_EM_HAS_CGAL
401 
402 IMP_EM_HAS_HDF5 = _IMP_domino.IMP_EM_HAS_HDF5
403 
404 IMP_EM_HAS_NUMPY = _IMP_domino.IMP_EM_HAS_NUMPY
405 
406 IMP_EM_HAS_PYTHON_IHM = _IMP_domino.IMP_EM_HAS_PYTHON_IHM
407 
408 IMPEM_SHOW_WARNINGS = _IMP_domino.IMPEM_SHOW_WARNINGS
409 
410 import IMP.em
411 IMP_SAXS_HAS_IMP_CGAL = _IMP_domino.IMP_SAXS_HAS_IMP_CGAL
412 
413 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_domino.IMP_SAXS_HAS_IMP_CONTAINER
414 
415 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_domino.IMP_SAXS_HAS_IMP_DISPLAY
416 
417 IMP_SAXS_HAS_IMP_KERNEL = _IMP_domino.IMP_SAXS_HAS_IMP_KERNEL
418 
419 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
420 
421 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_FILESYSTEM
422 
423 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
424 
425 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_domino.IMP_SAXS_HAS_BOOST_RANDOM
426 
427 IMP_SAXS_HAS_BOOST_REGEX = _IMP_domino.IMP_SAXS_HAS_BOOST_REGEX
428 
429 IMP_SAXS_HAS_CGAL = _IMP_domino.IMP_SAXS_HAS_CGAL
430 
431 IMP_SAXS_HAS_HDF5 = _IMP_domino.IMP_SAXS_HAS_HDF5
432 
433 IMP_SAXS_HAS_NUMPY = _IMP_domino.IMP_SAXS_HAS_NUMPY
434 
435 IMP_SAXS_HAS_PYTHON_IHM = _IMP_domino.IMP_SAXS_HAS_PYTHON_IHM
436 
437 IMPSAXS_SHOW_WARNINGS = _IMP_domino.IMPSAXS_SHOW_WARNINGS
438 
439 import IMP.saxs
440 IMP_ISD_HAS_IMP_CGAL = _IMP_domino.IMP_ISD_HAS_IMP_CGAL
441 
442 IMP_ISD_HAS_IMP_DISPLAY = _IMP_domino.IMP_ISD_HAS_IMP_DISPLAY
443 
444 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
445 
446 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_FILESYSTEM
447 
448 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
449 
450 IMP_ISD_HAS_BOOST_RANDOM = _IMP_domino.IMP_ISD_HAS_BOOST_RANDOM
451 
452 IMP_ISD_HAS_BOOST_REGEX = _IMP_domino.IMP_ISD_HAS_BOOST_REGEX
453 
454 IMP_ISD_HAS_CGAL = _IMP_domino.IMP_ISD_HAS_CGAL
455 
456 IMP_ISD_HAS_HDF5 = _IMP_domino.IMP_ISD_HAS_HDF5
457 
458 IMP_ISD_HAS_NUMPY = _IMP_domino.IMP_ISD_HAS_NUMPY
459 
460 IMP_ISD_HAS_PYTHON_IHM = _IMP_domino.IMP_ISD_HAS_PYTHON_IHM
461 
462 IMPISD_SHOW_WARNINGS = _IMP_domino.IMPISD_SHOW_WARNINGS
463 
464 import IMP.isd
465 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
466 
467 IMP_RMF_HAS_IMP_EM = _IMP_domino.IMP_RMF_HAS_IMP_EM
468 
469 IMP_RMF_HAS_IMP_SAXS = _IMP_domino.IMP_RMF_HAS_IMP_SAXS
470 
471 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
472 
473 IMP_RMF_HAS_IMP_STATISTICS = _IMP_domino.IMP_RMF_HAS_IMP_STATISTICS
474 
475 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
476 
477 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
478 
479 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
480 
481 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
482 
483 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
484 
485 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
486 
487 IMP_RMF_HAS_NUMPY = _IMP_domino.IMP_RMF_HAS_NUMPY
488 
489 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
490 
491 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
492 
493 import IMP.rmf
494 import RMF
495 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
496 
497 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
498 
499 IMP_DOMINO_HAS_IMP_EM = _IMP_domino.IMP_DOMINO_HAS_IMP_EM
500 
501 IMP_DOMINO_HAS_IMP_ISD = _IMP_domino.IMP_DOMINO_HAS_IMP_ISD
502 
503 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
504 
505 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
506 
507 IMP_DOMINO_HAS_IMP_SAXS = _IMP_domino.IMP_DOMINO_HAS_IMP_SAXS
508 
509 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
510 
511 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
512 
513 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
514 
515 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
516 
517 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
518 
519 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
520 
521 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
522 
523 IMP_DOMINO_HAS_NUMPY = _IMP_domino.IMP_DOMINO_HAS_NUMPY
524 
525 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
526 
527 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
528 
529 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
530 
531 import RMF_HDF5
532 
533 _object_types.append("DiscreteSampler")
534 
535 
536 def _object_cast_to_DiscreteSampler(o):
537  r"""_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
538  return _IMP_domino._object_cast_to_DiscreteSampler(o)
539 
540 _object_types.append("ParticleStates")
541 
542 
543 def _object_cast_to_ParticleStates(o):
544  r"""_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
545  return _IMP_domino._object_cast_to_ParticleStates(o)
546 
547 _object_types.append("SubsetFilter")
548 
549 
550 def _object_cast_to_SubsetFilter(o):
551  r"""_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
552  return _IMP_domino._object_cast_to_SubsetFilter(o)
553 
554 _object_types.append("SubsetFilterTable")
555 
556 
557 def _object_cast_to_SubsetFilterTable(o):
558  r"""_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
559  return _IMP_domino._object_cast_to_SubsetFilterTable(o)
560 
561 _object_types.append("AssignmentsTable")
562 
563 
564 def _object_cast_to_AssignmentsTable(o):
565  r"""_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
566  return _IMP_domino._object_cast_to_AssignmentsTable(o)
567 
568 _object_types.append("AssignmentContainer")
569 
570 
571 def _object_cast_to_AssignmentContainer(o):
572  r"""_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
573  return _IMP_domino._object_cast_to_AssignmentContainer(o)
575  r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex > class."""
576 
577  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
578  __repr__ = _swig_repr
579 
580  def __init__(self):
581  r"""__init__(InteractionGraph self) -> InteractionGraph"""
582  _IMP_domino.InteractionGraph_swiginit(self, _IMP_domino.new_InteractionGraph())
583 
584  def get_graph(self):
585  r"""get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
586  return _IMP_domino.InteractionGraph_get_graph(self)
587 
588  def get_vertices(self):
589  r"""get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
590  return _IMP_domino.InteractionGraph_get_vertices(self)
591 
592  def get_vertex_name(self, i):
593  r"""get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
594  return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
595 
596  def get_in_neighbors(self, v):
597  r"""get_in_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
598  return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
599 
600  def get_out_neighbors(self, v):
601  r"""get_out_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
602  return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
603 
604  def show_graphviz(self, *args):
605  r"""show_graphviz(InteractionGraph self, _ostream out=std::cout)"""
606  return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
607 
608  def get_graphviz_string(self):
609  r"""get_graphviz_string(InteractionGraph self) -> std::string"""
610  return _IMP_domino.InteractionGraph_get_graphviz_string(self)
611 
612  def add_edge(self, v0, v1):
613  r"""add_edge(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v1)"""
614  return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
615 
616  def add_vertex(self, l):
617  r"""add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
618  return _IMP_domino.InteractionGraph_add_vertex(self, l)
619 
620  def remove_vertex(self, l):
621  r"""remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
622  return _IMP_domino.InteractionGraph_remove_vertex(self, l)
623  __swig_destroy__ = _IMP_domino.delete_InteractionGraph
624 
625 # Register InteractionGraph in _IMP_domino:
626 _IMP_domino.InteractionGraph_swigregister(InteractionGraph)
627 
628 _value_types.append("InteractionGraph")
629 
630 class SubsetGraph(IMP.Object):
631  r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex > class."""
632 
633  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
634  __repr__ = _swig_repr
635 
636  def __init__(self):
637  r"""__init__(SubsetGraph self) -> SubsetGraph"""
638  _IMP_domino.SubsetGraph_swiginit(self, _IMP_domino.new_SubsetGraph())
639 
640  def get_graph(self):
641  r"""get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
642  return _IMP_domino.SubsetGraph_get_graph(self)
643 
644  def get_vertices(self):
645  r"""get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
646  return _IMP_domino.SubsetGraph_get_vertices(self)
647 
648  def get_vertex_name(self, i):
649  r"""get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
650  return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
651 
652  def get_in_neighbors(self, v):
653  r"""get_in_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
654  return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
655 
656  def get_out_neighbors(self, v):
657  r"""get_out_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
658  return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
659 
660  def show_graphviz(self, *args):
661  r"""show_graphviz(SubsetGraph self, _ostream out=std::cout)"""
662  return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
663 
664  def get_graphviz_string(self):
665  r"""get_graphviz_string(SubsetGraph self) -> std::string"""
666  return _IMP_domino.SubsetGraph_get_graphviz_string(self)
667 
668  def add_edge(self, v0, v1):
669  r"""add_edge(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v1)"""
670  return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
671 
672  def add_vertex(self, l):
673  r"""add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
674  return _IMP_domino.SubsetGraph_add_vertex(self, l)
675 
676  def remove_vertex(self, l):
677  r"""remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
678  return _IMP_domino.SubsetGraph_remove_vertex(self, l)
679  __swig_destroy__ = _IMP_domino.delete_SubsetGraph
680 
681 # Register SubsetGraph in _IMP_domino:
682 _IMP_domino.SubsetGraph_swigregister(SubsetGraph)
683 
684 _value_types.append("SubsetGraph")
685 
686 class CliqueGraph(IMP.Object):
687  r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex > class."""
688 
689  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
690  __repr__ = _swig_repr
691 
692  def __init__(self):
693  r"""__init__(CliqueGraph self) -> CliqueGraph"""
694  _IMP_domino.CliqueGraph_swiginit(self, _IMP_domino.new_CliqueGraph())
695 
696  def get_graph(self):
697  r"""get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
698  return _IMP_domino.CliqueGraph_get_graph(self)
699 
700  def get_vertices(self):
701  r"""get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
702  return _IMP_domino.CliqueGraph_get_vertices(self)
703 
704  def get_vertex_name(self, i):
705  r"""get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
706  return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
707 
708  def get_in_neighbors(self, v):
709  r"""get_in_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
710  return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
711 
712  def get_out_neighbors(self, v):
713  r"""get_out_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
714  return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
715 
716  def show_graphviz(self, *args):
717  r"""show_graphviz(CliqueGraph self, _ostream out=std::cout)"""
718  return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
719 
720  def get_graphviz_string(self):
721  r"""get_graphviz_string(CliqueGraph self) -> std::string"""
722  return _IMP_domino.CliqueGraph_get_graphviz_string(self)
723 
724  def add_edge(self, v0, v1):
725  r"""add_edge(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v1)"""
726  return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
727 
728  def add_vertex(self, l):
729  r"""add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
730  return _IMP_domino.CliqueGraph_add_vertex(self, l)
731 
732  def remove_vertex(self, l):
733  r"""remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
734  return _IMP_domino.CliqueGraph_remove_vertex(self, l)
735  __swig_destroy__ = _IMP_domino.delete_CliqueGraph
736 
737 # Register CliqueGraph in _IMP_domino:
738 _IMP_domino.CliqueGraph_swigregister(CliqueGraph)
739 
740 _value_types.append("CliqueGraph")
741 
742 class MergeTree(IMP.Object):
743  r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex > class."""
744 
745  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
746  __repr__ = _swig_repr
747 
748  def __init__(self):
749  r"""__init__(MergeTree self) -> MergeTree"""
750  _IMP_domino.MergeTree_swiginit(self, _IMP_domino.new_MergeTree())
751 
752  def get_graph(self):
753  r"""get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
754  return _IMP_domino.MergeTree_get_graph(self)
755 
756  def get_vertices(self):
757  r"""get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
758  return _IMP_domino.MergeTree_get_vertices(self)
759 
760  def get_vertex_name(self, i):
761  r"""get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
762  return _IMP_domino.MergeTree_get_vertex_name(self, i)
763 
764  def get_in_neighbors(self, v):
765  r"""get_in_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
766  return _IMP_domino.MergeTree_get_in_neighbors(self, v)
767 
768  def get_out_neighbors(self, v):
769  r"""get_out_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
770  return _IMP_domino.MergeTree_get_out_neighbors(self, v)
771 
772  def show_graphviz(self, *args):
773  r"""show_graphviz(MergeTree self, _ostream out=std::cout)"""
774  return _IMP_domino.MergeTree_show_graphviz(self, *args)
775 
776  def get_graphviz_string(self):
777  r"""get_graphviz_string(MergeTree self) -> std::string"""
778  return _IMP_domino.MergeTree_get_graphviz_string(self)
779 
780  def add_edge(self, v0, v1):
781  r"""add_edge(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v1)"""
782  return _IMP_domino.MergeTree_add_edge(self, v0, v1)
783 
784  def add_vertex(self, l):
785  r"""add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
786  return _IMP_domino.MergeTree_add_vertex(self, l)
787 
788  def remove_vertex(self, l):
789  r"""remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
790  return _IMP_domino.MergeTree_remove_vertex(self, l)
791  __swig_destroy__ = _IMP_domino.delete_MergeTree
792 
793 # Register MergeTree in _IMP_domino:
794 _IMP_domino.MergeTree_swigregister(MergeTree)
795 
796 _value_types.append("MergeTree")
797 
798 
799 _object_types.append("BranchAndBoundSampler")
800 
801 
802 def _object_cast_to_BranchAndBoundSampler(o):
803  r"""_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
804  return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
805 
806 _object_types.append("BranchAndBoundAssignmentsTable")
807 
808 
809 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
810  r"""_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
811  return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
812 
813 _object_types.append("RecursiveAssignmentsTable")
814 
815 
816 def _object_cast_to_RecursiveAssignmentsTable(o):
817  r"""_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
818  return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
819 
820 _object_types.append("SimpleAssignmentsTable")
821 
822 
823 def _object_cast_to_SimpleAssignmentsTable(o):
824  r"""_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
825  return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
826 
827 _object_types.append("CompoundStates")
828 
829 
830 def _object_cast_to_CompoundStates(o):
831  r"""_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
832  return _IMP_domino._object_cast_to_CompoundStates(o)
833 
834 _object_types.append("DisjointSetsSubsetFilterTable")
835 
836 
837 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
838  r"""_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
839  return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
840 
841 _object_types.append("MinimumRestraintScoreSubsetFilterTable")
842 
843 
844 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
845  r"""_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
846  return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
847 
848 _object_types.append("DominoSampler")
849 
850 
851 def _object_cast_to_DominoSampler(o):
852  r"""_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
853  return _IMP_domino._object_cast_to_DominoSampler(o)
854 
855 _object_types.append("EqualitySubsetFilterTable")
856 
857 
858 def _object_cast_to_EqualitySubsetFilterTable(o):
859  r"""_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
860  return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
861 
862 _object_types.append("EquivalenceSubsetFilterTable")
863 
864 
865 def _object_cast_to_EquivalenceSubsetFilterTable(o):
866  r"""_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
867  return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
868 
869 _object_types.append("EquivalenceAndExclusionSubsetFilterTable")
870 
871 
872 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
873  r"""_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
874  return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
875 
876 _object_types.append("ExclusionSubsetFilterTable")
877 
878 
879 def _object_cast_to_ExclusionSubsetFilterTable(o):
880  r"""_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
881  return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
882 
883 _object_types.append("IndexStates")
884 
885 
886 def _object_cast_to_IndexStates(o):
887  r"""_object_cast_to_IndexStates(Object o) -> IndexStates"""
888  return _IMP_domino._object_cast_to_IndexStates(o)
889 
890 _object_types.append("ListSubsetFilterTable")
891 
892 
893 def _object_cast_to_ListSubsetFilterTable(o):
894  r"""_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
895  return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
896 
897 _object_types.append("ListAssignmentsTable")
898 
899 
900 def _object_cast_to_ListAssignmentsTable(o):
901  r"""_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
902  return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
903 
904 _object_types.append("ParticleStatesTable")
905 
906 
907 def _object_cast_to_ParticleStatesTable(o):
908  r"""_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
909  return _IMP_domino._object_cast_to_ParticleStatesTable(o)
910 
911 _object_types.append("RecursiveStates")
912 
913 
914 def _object_cast_to_RecursiveStates(o):
915  r"""_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
916  return _IMP_domino._object_cast_to_RecursiveStates(o)
917 
918 _object_types.append("ProbabilisticSubsetFilterTable")
919 
920 
921 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
922  r"""_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
923  return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
924 
925 _object_types.append("RestraintScoreSubsetFilterTable")
926 
927 
928 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
929  r"""_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
930  return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
931 
932 _object_types.append("RigidBodyStates")
933 
934 
935 def _object_cast_to_RigidBodyStates(o):
936  r"""_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
937  return _IMP_domino._object_cast_to_RigidBodyStates(o)
938 
939 _object_types.append("XYZStates")
940 
941 
942 def _object_cast_to_XYZStates(o):
943  r"""_object_cast_to_XYZStates(Object o) -> XYZStates"""
944  return _IMP_domino._object_cast_to_XYZStates(o)
945 
946 _object_types.append("NestedRigidBodyStates")
947 
948 
949 def _object_cast_to_NestedRigidBodyStates(o):
950  r"""_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
951  return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
952 
953 _object_types.append("DependencyScoreState")
954 
955 
956 def _object_cast_to_DependencyScoreState(o):
957  r"""_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
958  return _IMP_domino._object_cast_to_DependencyScoreState(o)
959 
960 _object_types.append("PairListSubsetFilterTable")
961 
962 
963 def _object_cast_to_PairListSubsetFilterTable(o):
964  r"""_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
965  return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
966 
967 _object_types.append("ListAssignmentContainer")
968 
969 
970 def _object_cast_to_ListAssignmentContainer(o):
971  r"""_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
972  return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
973 
974 _object_types.append("PackedAssignmentContainer")
975 
976 
977 def _object_cast_to_PackedAssignmentContainer(o):
978  r"""_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
979  return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
980 
981 _object_types.append("HeapAssignmentContainer")
982 
983 
984 def _object_cast_to_HeapAssignmentContainer(o):
985  r"""_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
986  return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
987 
988 _object_types.append("RangeViewAssignmentContainer")
989 
990 
991 def _object_cast_to_RangeViewAssignmentContainer(o):
992  r"""_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
993  return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
994 
995 _object_types.append("SampleAssignmentContainer")
996 
997 
998 def _object_cast_to_SampleAssignmentContainer(o):
999  r"""_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1000  return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1001 
1002 _object_types.append("PermutationStates")
1003 
1004 
1005 def _object_cast_to_PermutationStates(o):
1006  r"""_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1007  return _IMP_domino._object_cast_to_PermutationStates(o)
1008 
1009 _object_types.append("WriteHDF5AssignmentContainer")
1010 
1011 
1012 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1013  r"""_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1014  return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1015 
1016 _object_types.append("ReadHDF5AssignmentContainer")
1017 
1018 
1019 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1020  r"""_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1021  return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1022 
1023 _object_types.append("ReadAssignmentContainer")
1024 
1025 
1026 def _object_cast_to_ReadAssignmentContainer(o):
1027  r"""_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1028  return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1029 
1030 _object_types.append("WriteAssignmentContainer")
1031 
1032 
1033 def _object_cast_to_WriteAssignmentContainer(o):
1034  r"""_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1035  return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1036 
1037 _object_types.append("CappedAssignmentContainer")
1038 
1039 
1040 def _object_cast_to_CappedAssignmentContainer(o):
1041  r"""_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1042  return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1043 
1044 _object_types.append("RestraintCache")
1045 
1046 
1047 def _object_cast_to_RestraintCache(o):
1048  r"""_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1049  return _IMP_domino._object_cast_to_RestraintCache(o)
1050 
1051 Subsets=list
1052 _plural_types.append("Subsets")
1053 _value_types.append("Subset")
1054 
1055 
1056 Assignments=list
1057 _plural_types.append("Assignments")
1058 _value_types.append("Assignment")
1059 
1060 
1061 Slices=list
1062 _plural_types.append("Slices")
1063 _value_types.append("Slice")
1064 
1065 
1066 Orders=list
1067 _plural_types.append("Orders")
1068 _value_types.append("Order")
1069 
1070 class _IntArray(IMP._Value):
1071  r"""Proxy of C++ IMP::ConstVector< int > class."""
1072 
1073  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1074  __repr__ = _swig_repr
1075  __swig_destroy__ = _IMP_domino.delete__IntArray
1076 
1077  def __init__(self, *args):
1078  r"""
1079  __init__(_IntArray self, unsigned int sz, int fill) -> _IntArray
1080  __init__(_IntArray self) -> _IntArray
1081  """
1082  _IMP_domino._IntArray_swiginit(self, _IMP_domino.new__IntArray(*args))
1083 
1084  def __eq__(self, o):
1085  r"""__eq__(_IntArray self, _IntArray o) -> bool"""
1086  return _IMP_domino._IntArray___eq__(self, o)
1087 
1088  def __ne__(self, o):
1089  r"""__ne__(_IntArray self, _IntArray o) -> bool"""
1090  return _IMP_domino._IntArray___ne__(self, o)
1091 
1092  def __lt__(self, o):
1093  r"""__lt__(_IntArray self, _IntArray o) -> bool"""
1094  return _IMP_domino._IntArray___lt__(self, o)
1095 
1096  def __gt__(self, o):
1097  r"""__gt__(_IntArray self, _IntArray o) -> bool"""
1098  return _IMP_domino._IntArray___gt__(self, o)
1099 
1100  def __ge__(self, o):
1101  r"""__ge__(_IntArray self, _IntArray o) -> bool"""
1102  return _IMP_domino._IntArray___ge__(self, o)
1103 
1104  def __le__(self, o):
1105  r"""__le__(_IntArray self, _IntArray o) -> bool"""
1106  return _IMP_domino._IntArray___le__(self, o)
1107 
1108  def __getitem__(self, i):
1109  r"""__getitem__(_IntArray self, unsigned int i) -> int"""
1110  return _IMP_domino._IntArray___getitem__(self, i)
1111 
1112  def __len__(self):
1113  r"""__len__(_IntArray self) -> unsigned int"""
1114  return _IMP_domino._IntArray___len__(self)
1115 
1116  def show(self, *args):
1117  r"""show(_IntArray self, _ostream out=std::cout)"""
1118  return _IMP_domino._IntArray_show(self, *args)
1119 
1120  def __hash__(self):
1121  r"""__hash__(_IntArray self) -> std::size_t"""
1122  return _IMP_domino._IntArray___hash__(self)
1123 
1124 # Register _IntArray in _IMP_domino:
1125 _IMP_domino._IntArray_swigregister(_IntArray)
1126 class _UIntArray(IMP._Value):
1127  r"""Proxy of C++ IMP::ConstVector< unsigned int > class."""
1128 
1129  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1130  __repr__ = _swig_repr
1131  __swig_destroy__ = _IMP_domino.delete__UIntArray
1132 
1133  def __init__(self, *args):
1134  r"""
1135  __init__(_UIntArray self, unsigned int sz, unsigned int fill) -> _UIntArray
1136  __init__(_UIntArray self) -> _UIntArray
1137  """
1138  _IMP_domino._UIntArray_swiginit(self, _IMP_domino.new__UIntArray(*args))
1139 
1140  def __eq__(self, o):
1141  r"""__eq__(_UIntArray self, _UIntArray o) -> bool"""
1142  return _IMP_domino._UIntArray___eq__(self, o)
1143 
1144  def __ne__(self, o):
1145  r"""__ne__(_UIntArray self, _UIntArray o) -> bool"""
1146  return _IMP_domino._UIntArray___ne__(self, o)
1147 
1148  def __lt__(self, o):
1149  r"""__lt__(_UIntArray self, _UIntArray o) -> bool"""
1150  return _IMP_domino._UIntArray___lt__(self, o)
1151 
1152  def __gt__(self, o):
1153  r"""__gt__(_UIntArray self, _UIntArray o) -> bool"""
1154  return _IMP_domino._UIntArray___gt__(self, o)
1155 
1156  def __ge__(self, o):
1157  r"""__ge__(_UIntArray self, _UIntArray o) -> bool"""
1158  return _IMP_domino._UIntArray___ge__(self, o)
1159 
1160  def __le__(self, o):
1161  r"""__le__(_UIntArray self, _UIntArray o) -> bool"""
1162  return _IMP_domino._UIntArray___le__(self, o)
1163 
1164  def __getitem__(self, i):
1165  r"""__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1166  return _IMP_domino._UIntArray___getitem__(self, i)
1167 
1168  def __len__(self):
1169  r"""__len__(_UIntArray self) -> unsigned int"""
1170  return _IMP_domino._UIntArray___len__(self)
1171 
1172  def show(self, *args):
1173  r"""show(_UIntArray self, _ostream out=std::cout)"""
1174  return _IMP_domino._UIntArray_show(self, *args)
1175 
1176  def __hash__(self):
1177  r"""__hash__(_UIntArray self) -> std::size_t"""
1178  return _IMP_domino._UIntArray___hash__(self)
1179 
1180 # Register _UIntArray in _IMP_domino:
1181 _IMP_domino._UIntArray_swigregister(_UIntArray)
1182 class _ParticleArray(IMP._Value):
1183  r"""Proxy of C++ IMP::ConstVector< IMP::WeakPointer< Particle >,Particle * > class."""
1184 
1185  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1186  __repr__ = _swig_repr
1187  __swig_destroy__ = _IMP_domino.delete__ParticleArray
1188 
1189  def __init__(self, *args):
1190  r"""
1191  __init__(_ParticleArray self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1192  __init__(_ParticleArray self) -> _ParticleArray
1193  """
1194  _IMP_domino._ParticleArray_swiginit(self, _IMP_domino.new__ParticleArray(*args))
1195 
1196  def __eq__(self, o):
1197  r"""__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1198  return _IMP_domino._ParticleArray___eq__(self, o)
1199 
1200  def __ne__(self, o):
1201  r"""__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1202  return _IMP_domino._ParticleArray___ne__(self, o)
1203 
1204  def __lt__(self, o):
1205  r"""__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1206  return _IMP_domino._ParticleArray___lt__(self, o)
1207 
1208  def __gt__(self, o):
1209  r"""__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1210  return _IMP_domino._ParticleArray___gt__(self, o)
1211 
1212  def __ge__(self, o):
1213  r"""__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1214  return _IMP_domino._ParticleArray___ge__(self, o)
1215 
1216  def __le__(self, o):
1217  r"""__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1218  return _IMP_domino._ParticleArray___le__(self, o)
1219 
1220  def __getitem__(self, i):
1221  r"""__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1222  return _IMP_domino._ParticleArray___getitem__(self, i)
1223 
1224  def __len__(self):
1225  r"""__len__(_ParticleArray self) -> unsigned int"""
1226  return _IMP_domino._ParticleArray___len__(self)
1227 
1228  def show(self, *args):
1229  r"""show(_ParticleArray self, _ostream out=std::cout)"""
1230  return _IMP_domino._ParticleArray_show(self, *args)
1231 
1232  def __hash__(self):
1233  r"""__hash__(_ParticleArray self) -> std::size_t"""
1234  return _IMP_domino._ParticleArray___hash__(self)
1235 
1236 # Register _ParticleArray in _IMP_domino:
1237 _IMP_domino._ParticleArray_swigregister(_ParticleArray)
1238 class Subset(_ParticleArray):
1239  r"""Proxy of C++ IMP::domino::Subset class."""
1240 
1241  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1242 
1243  def __init__(self, *args):
1244  r"""
1245  __init__(Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1246  __init__(Subset self) -> Subset
1247  __init__(Subset self, IMP::ParticlesTemp ps) -> Subset
1248  """
1249  _IMP_domino.Subset_swiginit(self, _IMP_domino.new_Subset(*args))
1250 
1251  def get_model(self):
1252  r"""get_model(Subset self) -> Model"""
1253  return _IMP_domino.Subset_get_model(self)
1254 
1255  def get_name(self):
1256  r"""get_name(Subset self) -> std::string"""
1257  return _IMP_domino.Subset_get_name(self)
1258 
1259  def get_contains(self, o):
1260  r"""get_contains(Subset self, Subset o) -> bool"""
1261  return _IMP_domino.Subset_get_contains(self, o)
1262 
1263  def __str__(self):
1264  r"""__str__(Subset self) -> std::string"""
1265  return _IMP_domino.Subset___str__(self)
1266 
1267  def __repr__(self):
1268  r"""__repr__(Subset self) -> std::string"""
1269  return _IMP_domino.Subset___repr__(self)
1270  __swig_destroy__ = _IMP_domino.delete_Subset
1271 
1272 # Register Subset in _IMP_domino:
1273 _IMP_domino.Subset_swigregister(Subset)
1274 
1275 def get_union(a, b):
1276  r"""get_union(Subset a, Subset b) -> Subset"""
1277  return _IMP_domino.get_union(a, b)
1278 
1279 def get_intersection(a, b):
1280  r"""get_intersection(Subset a, Subset b) -> Subset"""
1281  return _IMP_domino.get_intersection(a, b)
1282 
1283 def get_difference(a, b):
1284  r"""get_difference(Subset a, Subset b) -> Subset"""
1285  return _IMP_domino.get_difference(a, b)
1286 class Assignment(_IntArray):
1287  r"""Proxy of C++ IMP::domino::Assignment class."""
1288 
1289  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1290 
1291  def __init__(self, *args):
1292  r"""
1293  __init__(Assignment self) -> Assignment
1294  __init__(Assignment self, unsigned int sz) -> Assignment
1295  __init__(Assignment self, IMP::Ints const & i) -> Assignment
1296  """
1297  _IMP_domino.Assignment_swiginit(self, _IMP_domino.new_Assignment(*args))
1298 
1299  def __str__(self):
1300  r"""__str__(Assignment self) -> std::string"""
1301  return _IMP_domino.Assignment___str__(self)
1302 
1303  def __repr__(self):
1304  r"""__repr__(Assignment self) -> std::string"""
1305  return _IMP_domino.Assignment___repr__(self)
1306 
1307  def _get_as_binary(self):
1308  r"""_get_as_binary(Assignment self) -> PyObject *"""
1309  return _IMP_domino.Assignment__get_as_binary(self)
1310 
1311  def _set_from_binary(self, p):
1312  r"""_set_from_binary(Assignment self, PyObject * p)"""
1313  return _IMP_domino.Assignment__set_from_binary(self, p)
1314 
1315  def __getstate__(self):
1316  p = self._get_as_binary()
1317  if len(self.__dict__) > 1:
1318  d = self.__dict__.copy()
1319  del d['this']
1320  p = (d, p)
1321  return p
1322 
1323  def __setstate__(self, p):
1324  if not hasattr(self, 'this'):
1325  self.__init__()
1326  if isinstance(p, tuple):
1327  d, p = p
1328  self.__dict__.update(d)
1329  return self._set_from_binary(p)
1330 
1331  __swig_destroy__ = _IMP_domino.delete_Assignment
1332 
1333 # Register Assignment in _IMP_domino:
1334 _IMP_domino.Assignment_swigregister(Assignment)
1335 class Slice(_UIntArray):
1336  r"""Proxy of C++ IMP::domino::Slice class."""
1337 
1338  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1339 
1340  def __init__(self, *args):
1341  r"""
1342  __init__(Slice self) -> Slice
1343  __init__(Slice self, Subset outer, Subset inner) -> Slice
1344  """
1345  _IMP_domino.Slice_swiginit(self, _IMP_domino.new_Slice(*args))
1346 
1347  def get_sliced(self, *args):
1348  r"""
1349  get_sliced(Slice self, Assignment a) -> Assignment
1350  get_sliced(Slice self, Subset a) -> Subset
1351  """
1352  return _IMP_domino.Slice_get_sliced(self, *args)
1353 
1354  def __str__(self):
1355  r"""__str__(Slice self) -> std::string"""
1356  return _IMP_domino.Slice___str__(self)
1357 
1358  def __repr__(self):
1359  r"""__repr__(Slice self) -> std::string"""
1360  return _IMP_domino.Slice___repr__(self)
1361 
1362  def _get_as_binary(self):
1363  r"""_get_as_binary(Slice self) -> PyObject *"""
1364  return _IMP_domino.Slice__get_as_binary(self)
1365 
1366  def _set_from_binary(self, p):
1367  r"""_set_from_binary(Slice self, PyObject * p)"""
1368  return _IMP_domino.Slice__set_from_binary(self, p)
1369 
1370  def __getstate__(self):
1371  p = self._get_as_binary()
1372  if len(self.__dict__) > 1:
1373  d = self.__dict__.copy()
1374  del d['this']
1375  p = (d, p)
1376  return p
1377 
1378  def __setstate__(self, p):
1379  if not hasattr(self, 'this'):
1380  self.__init__()
1381  if isinstance(p, tuple):
1382  d, p = p
1383  self.__dict__.update(d)
1384  return self._set_from_binary(p)
1385 
1386  __swig_destroy__ = _IMP_domino.delete_Slice
1387 
1388 # Register Slice in _IMP_domino:
1389 _IMP_domino.Slice_swigregister(Slice)
1390 
1391 def get_slice(outer, inner, excluded):
1392  r"""get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1393  return _IMP_domino.get_slice(outer, inner, excluded)
1394 class Order(_UIntArray):
1395  r"""Proxy of C++ IMP::domino::Order class."""
1396 
1397  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1398 
1399  def __init__(self, *args):
1400  r"""
1401  __init__(Order self) -> Order
1402  __init__(Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1403  """
1404  _IMP_domino.Order_swiginit(self, _IMP_domino.new_Order(*args))
1405 
1406  def get_list_ordered(self, a):
1407  r"""get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1408  return _IMP_domino.Order_get_list_ordered(self, a)
1409 
1410  def get_subset_ordered(self, a):
1411  r"""get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1412  return _IMP_domino.Order_get_subset_ordered(self, a)
1413 
1414  def __str__(self):
1415  r"""__str__(Order self) -> std::string"""
1416  return _IMP_domino.Order___str__(self)
1417 
1418  def __repr__(self):
1419  r"""__repr__(Order self) -> std::string"""
1420  return _IMP_domino.Order___repr__(self)
1421 
1422  def _get_as_binary(self):
1423  r"""_get_as_binary(Order self) -> PyObject *"""
1424  return _IMP_domino.Order__get_as_binary(self)
1425 
1426  def _set_from_binary(self, p):
1427  r"""_set_from_binary(Order self, PyObject * p)"""
1428  return _IMP_domino.Order__set_from_binary(self, p)
1429 
1430  def __getstate__(self):
1431  p = self._get_as_binary()
1432  if len(self.__dict__) > 1:
1433  d = self.__dict__.copy()
1434  del d['this']
1435  p = (d, p)
1436  return p
1437 
1438  def __setstate__(self, p):
1439  if not hasattr(self, 'this'):
1440  self.__init__()
1441  if isinstance(p, tuple):
1442  d, p = p
1443  self.__dict__.update(d)
1444  return self._set_from_binary(p)
1445 
1446  __swig_destroy__ = _IMP_domino.delete_Order
1447 
1448 # Register Order in _IMP_domino:
1449 _IMP_domino.Order_swigregister(Order)
1450 class ParticleStates(IMP.Object):
1451  r"""Proxy of C++ IMP::domino::ParticleStates class."""
1452 
1453  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1454 
1455  def __init__(self, *args):
1456  r"""__init__(ParticleStates self, std::string name="ParticleStates %1%") -> ParticleStates"""
1457  if self.__class__ == ParticleStates:
1458  _self = None
1459  else:
1460  _self = self
1461  _IMP_domino.ParticleStates_swiginit(self, _IMP_domino.new_ParticleStates(_self, *args))
1462 
1463  if self.__class__ != ParticleStates:
1464  _director_objects.register(self)
1465 
1466 
1467 
1468 
1469  def get_number_of_particle_states(self):
1470  r"""get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1471  return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1472 
1473  def load_particle_state(self, arg0, arg1):
1474  r"""load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1475  return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1476 
1477  def get_embedding(self, i):
1478  r"""get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1479  return _IMP_domino.ParticleStates_get_embedding(self, i)
1480 
1481  def get_nearest_state(self, v):
1482  r"""get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1483  return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1484  __swig_destroy__ = _IMP_domino.delete_ParticleStates
1485 
1486  def __str__(self):
1487  r"""__str__(ParticleStates self) -> std::string"""
1488  return _IMP_domino.ParticleStates___str__(self)
1489 
1490  def __repr__(self):
1491  r"""__repr__(ParticleStates self) -> std::string"""
1492  return _IMP_domino.ParticleStates___repr__(self)
1493 
1494  @staticmethod
1495  def get_from(o):
1496  return _object_cast_to_ParticleStates(o)
1497 
1498 
1499  def do_show(self, out):
1500  pass
1501 
1502  @staticmethod
1503  def get_from(o):
1504  return _object_cast_to_ParticleStates(o)
1505 
1506  def __disown__(self):
1507  self.this.disown()
1508  _IMP_domino.disown_ParticleStates(self)
1509  return weakref.proxy(self)
1510 
1511  def do_destroy(self):
1512  r"""do_destroy(ParticleStates self)"""
1513  return _IMP_domino.ParticleStates_do_destroy(self)
1514 
1515 # Register ParticleStates in _IMP_domino:
1516 _IMP_domino.ParticleStates_swigregister(ParticleStates)
1517 class ParticleStatesTable(IMP.Object):
1518  r"""Proxy of C++ IMP::domino::ParticleStatesTable class."""
1519 
1520  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1521 
1522  def __init__(self):
1523  r"""__init__(ParticleStatesTable self) -> ParticleStatesTable"""
1524  _IMP_domino.ParticleStatesTable_swiginit(self, _IMP_domino.new_ParticleStatesTable())
1525 
1526  def get_particle_states(self, p):
1527  r"""get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1528  return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1529 
1530  def get_has_particle(self, p):
1531  r"""get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1532  return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1533 
1534  def get_particles(self):
1535  r"""get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1536  return _IMP_domino.ParticleStatesTable_get_particles(self)
1537 
1538  def get_subset(self):
1539  r"""get_subset(ParticleStatesTable self) -> Subset"""
1540  return _IMP_domino.ParticleStatesTable_get_subset(self)
1541 
1542  def set_particle_states(self, p, e):
1543  r"""set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1544  return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1545 
1546  def get_version_info(self):
1547  r"""get_version_info(ParticleStatesTable self) -> VersionInfo"""
1548  return _IMP_domino.ParticleStatesTable_get_version_info(self)
1549  __swig_destroy__ = _IMP_domino.delete_ParticleStatesTable
1550 
1551  def __str__(self):
1552  r"""__str__(ParticleStatesTable self) -> std::string"""
1553  return _IMP_domino.ParticleStatesTable___str__(self)
1554 
1555  def __repr__(self):
1556  r"""__repr__(ParticleStatesTable self) -> std::string"""
1557  return _IMP_domino.ParticleStatesTable___repr__(self)
1558 
1559  @staticmethod
1560  def get_from(o):
1561  return _object_cast_to_ParticleStatesTable(o)
1562 
1563 
1564 # Register ParticleStatesTable in _IMP_domino:
1565 _IMP_domino.ParticleStatesTable_swigregister(ParticleStatesTable)
1566 class IndexStates(ParticleStates):
1567  r"""Proxy of C++ IMP::domino::IndexStates class."""
1568 
1569  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1570 
1571  def __init__(self, *args):
1572  r"""__init__(IndexStates self, unsigned int n, IntKey k=IMP::IntKey("state")) -> IndexStates"""
1573  _IMP_domino.IndexStates_swiginit(self, _IMP_domino.new_IndexStates(*args))
1574 
1575  def get_version_info(self):
1576  r"""get_version_info(IndexStates self) -> VersionInfo"""
1577  return _IMP_domino.IndexStates_get_version_info(self)
1578  __swig_destroy__ = _IMP_domino.delete_IndexStates
1579 
1580  def __str__(self):
1581  r"""__str__(IndexStates self) -> std::string"""
1582  return _IMP_domino.IndexStates___str__(self)
1583 
1584  def __repr__(self):
1585  r"""__repr__(IndexStates self) -> std::string"""
1586  return _IMP_domino.IndexStates___repr__(self)
1587 
1588  @staticmethod
1589  def get_from(o):
1590  return _object_cast_to_IndexStates(o)
1591 
1592 
1593 # Register IndexStates in _IMP_domino:
1594 _IMP_domino.IndexStates_swigregister(IndexStates)
1595 class XYZStates(ParticleStates):
1596  r"""Proxy of C++ IMP::domino::XYZStates class."""
1597 
1598  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1599 
1600  def __init__(self, states):
1601  r"""__init__(XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1602  _IMP_domino.XYZStates_swiginit(self, _IMP_domino.new_XYZStates(states))
1603 
1604  def get_vector(self, i):
1605  r"""get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1606  return _IMP_domino.XYZStates_get_vector(self, i)
1607 
1608  def get_version_info(self):
1609  r"""get_version_info(XYZStates self) -> VersionInfo"""
1610  return _IMP_domino.XYZStates_get_version_info(self)
1611  __swig_destroy__ = _IMP_domino.delete_XYZStates
1612 
1613  def __str__(self):
1614  r"""__str__(XYZStates self) -> std::string"""
1615  return _IMP_domino.XYZStates___str__(self)
1616 
1617  def __repr__(self):
1618  r"""__repr__(XYZStates self) -> std::string"""
1619  return _IMP_domino.XYZStates___repr__(self)
1620 
1621  @staticmethod
1622  def get_from(o):
1623  return _object_cast_to_XYZStates(o)
1624 
1625 
1626 # Register XYZStates in _IMP_domino:
1627 _IMP_domino.XYZStates_swigregister(XYZStates)
1628 class RigidBodyStates(ParticleStates):
1629  r"""Proxy of C++ IMP::domino::RigidBodyStates class."""
1630 
1631  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1632 
1633  def __init__(self, states, scale=1):
1634  r"""__init__(RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates"""
1635  _IMP_domino.RigidBodyStates_swiginit(self, _IMP_domino.new_RigidBodyStates(states, scale))
1636 
1637  def get_reference_frame(self, i):
1638  r"""get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1639  return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1640 
1641  def get_version_info(self):
1642  r"""get_version_info(RigidBodyStates self) -> VersionInfo"""
1643  return _IMP_domino.RigidBodyStates_get_version_info(self)
1644  __swig_destroy__ = _IMP_domino.delete_RigidBodyStates
1645 
1646  def __str__(self):
1647  r"""__str__(RigidBodyStates self) -> std::string"""
1648  return _IMP_domino.RigidBodyStates___str__(self)
1649 
1650  def __repr__(self):
1651  r"""__repr__(RigidBodyStates self) -> std::string"""
1652  return _IMP_domino.RigidBodyStates___repr__(self)
1653 
1654  @staticmethod
1655  def get_from(o):
1656  return _object_cast_to_RigidBodyStates(o)
1657 
1658 
1659 # Register RigidBodyStates in _IMP_domino:
1660 _IMP_domino.RigidBodyStates_swigregister(RigidBodyStates)
1661 class NestedRigidBodyStates(ParticleStates):
1662  r"""Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1663 
1664  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1665 
1666  def __init__(self, states, scale=100):
1667  r"""__init__(NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates"""
1668  _IMP_domino.NestedRigidBodyStates_swiginit(self, _IMP_domino.new_NestedRigidBodyStates(states, scale))
1669 
1670  def get_transformation(self, i):
1671  r"""get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1672  return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1673 
1674  def get_version_info(self):
1675  r"""get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1676  return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1677  __swig_destroy__ = _IMP_domino.delete_NestedRigidBodyStates
1678 
1679  def __str__(self):
1680  r"""__str__(NestedRigidBodyStates self) -> std::string"""
1681  return _IMP_domino.NestedRigidBodyStates___str__(self)
1682 
1683  def __repr__(self):
1684  r"""__repr__(NestedRigidBodyStates self) -> std::string"""
1685  return _IMP_domino.NestedRigidBodyStates___repr__(self)
1686 
1687  @staticmethod
1688  def get_from(o):
1689  return _object_cast_to_NestedRigidBodyStates(o)
1690 
1691 
1692 # Register NestedRigidBodyStates in _IMP_domino:
1693 _IMP_domino.NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1694 class CompoundStates(ParticleStates):
1695  r"""Proxy of C++ IMP::domino::CompoundStates class."""
1696 
1697  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1698 
1699  def __init__(self, a, b):
1700  r"""__init__(CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1701  _IMP_domino.CompoundStates_swiginit(self, _IMP_domino.new_CompoundStates(a, b))
1702 
1703  def get_version_info(self):
1704  r"""get_version_info(CompoundStates self) -> VersionInfo"""
1705  return _IMP_domino.CompoundStates_get_version_info(self)
1706  __swig_destroy__ = _IMP_domino.delete_CompoundStates
1707 
1708  def __str__(self):
1709  r"""__str__(CompoundStates self) -> std::string"""
1710  return _IMP_domino.CompoundStates___str__(self)
1711 
1712  def __repr__(self):
1713  r"""__repr__(CompoundStates self) -> std::string"""
1714  return _IMP_domino.CompoundStates___repr__(self)
1715 
1716  @staticmethod
1717  def get_from(o):
1718  return _object_cast_to_CompoundStates(o)
1719 
1720 
1721 # Register CompoundStates in _IMP_domino:
1722 _IMP_domino.CompoundStates_swigregister(CompoundStates)
1723 class RecursiveStates(ParticleStates):
1724  r"""Proxy of C++ IMP::domino::RecursiveStates class."""
1725 
1726  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1727 
1728  def __init__(self, p, s, ss, pst):
1729  r"""__init__(RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1730  _IMP_domino.RecursiveStates_swiginit(self, _IMP_domino.new_RecursiveStates(p, s, ss, pst))
1731 
1732  def get_version_info(self):
1733  r"""get_version_info(RecursiveStates self) -> VersionInfo"""
1734  return _IMP_domino.RecursiveStates_get_version_info(self)
1735  __swig_destroy__ = _IMP_domino.delete_RecursiveStates
1736 
1737  def __str__(self):
1738  r"""__str__(RecursiveStates self) -> std::string"""
1739  return _IMP_domino.RecursiveStates___str__(self)
1740 
1741  def __repr__(self):
1742  r"""__repr__(RecursiveStates self) -> std::string"""
1743  return _IMP_domino.RecursiveStates___repr__(self)
1744 
1745  @staticmethod
1746  def get_from(o):
1747  return _object_cast_to_RecursiveStates(o)
1748 
1749 
1750 # Register RecursiveStates in _IMP_domino:
1751 _IMP_domino.RecursiveStates_swigregister(RecursiveStates)
1752 class PermutationStates(ParticleStates):
1753  r"""Proxy of C++ IMP::domino::PermutationStates class."""
1754 
1755  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1756 
1757  def __init__(self, inner):
1758  r"""__init__(PermutationStates self, ParticleStates inner) -> PermutationStates"""
1759  _IMP_domino.PermutationStates_swiginit(self, _IMP_domino.new_PermutationStates(inner))
1760 
1761  def get_inner_state(self, i):
1762  r"""get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1763  return _IMP_domino.PermutationStates_get_inner_state(self, i)
1764 
1765  def get_version_info(self):
1766  r"""get_version_info(PermutationStates self) -> VersionInfo"""
1767  return _IMP_domino.PermutationStates_get_version_info(self)
1768  __swig_destroy__ = _IMP_domino.delete_PermutationStates
1769 
1770  def __str__(self):
1771  r"""__str__(PermutationStates self) -> std::string"""
1772  return _IMP_domino.PermutationStates___str__(self)
1773 
1774  def __repr__(self):
1775  r"""__repr__(PermutationStates self) -> std::string"""
1776  return _IMP_domino.PermutationStates___repr__(self)
1777 
1778  @staticmethod
1779  def get_from(o):
1780  return _object_cast_to_PermutationStates(o)
1781 
1782 
1783 # Register PermutationStates in _IMP_domino:
1784 _IMP_domino.PermutationStates_swigregister(PermutationStates)
1785 class _ParticlesAdaptor(IMP._InputAdaptor):
1786  r"""Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1787 
1788  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1789  __repr__ = _swig_repr
1790 
1791  def __init__(self, *args):
1792  r"""
1793  ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1794  __init__(_ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1795  """
1796  _IMP_domino._ParticlesAdaptor_swiginit(self, _IMP_domino.new__ParticlesAdaptor(*args))
1797  __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1798 
1799 # Register _ParticlesAdaptor in _IMP_domino:
1800 _IMP_domino._ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1801 class RestraintCache(IMP.Object):
1802  r"""Proxy of C++ IMP::domino::RestraintCache class."""
1803 
1804  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1805 
1806  def __init__(self, *args):
1807  r"""__init__(RestraintCache self, ParticleStatesTable pst, unsigned int size=std::numeric_limits< unsigned int >::max()) -> RestraintCache"""
1808  _IMP_domino.RestraintCache_swiginit(self, _IMP_domino.new_RestraintCache(*args))
1809 
1810  def add_restraints(self, rs):
1811  r"""add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1812  return _IMP_domino.RestraintCache_add_restraints(self, rs)
1813 
1814  def get_score(self, *args):
1815  r"""
1816  get_score(RestraintCache self, Restraint r, Assignment a) -> double
1817  get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1818  """
1819  return _IMP_domino.RestraintCache_get_score(self, *args)
1820 
1821  def load_last_score(self, r, s, a):
1822  r"""load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1823  return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1824 
1825  def get_restraints(self, *args):
1826  r"""
1827  get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1828  get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1829  """
1830  return _IMP_domino.RestraintCache_get_restraints(self, *args)
1831 
1832  def save_cache(self, particle_ordering, restraints, group, max_entries):
1833  r"""save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1834  return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1835 
1836  def load_cache(self, ps, group):
1837  r"""load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1838  return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1839 
1840  def get_slice(self, r, s):
1841  r"""get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1842  return _IMP_domino.RestraintCache_get_slice(self, r, s)
1843 
1844  def get_number_of_entries(self):
1845  r"""get_number_of_entries(RestraintCache self) -> unsigned int"""
1846  return _IMP_domino.RestraintCache_get_number_of_entries(self)
1847 
1848  def validate(self):
1849  r"""validate(RestraintCache self)"""
1850  return _IMP_domino.RestraintCache_validate(self)
1851 
1852  def show_restraint_information(self, *args):
1853  r"""show_restraint_information(RestraintCache self, _ostream out=std::cout)"""
1854  return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1855 
1856  def get_hit_rate(self):
1857  r"""get_hit_rate(RestraintCache self) -> double"""
1858  return _IMP_domino.RestraintCache_get_hit_rate(self)
1859 
1860  def get_version_info(self):
1861  r"""get_version_info(RestraintCache self) -> VersionInfo"""
1862  return _IMP_domino.RestraintCache_get_version_info(self)
1863  __swig_destroy__ = _IMP_domino.delete_RestraintCache
1864 
1865  def __str__(self):
1866  r"""__str__(RestraintCache self) -> std::string"""
1867  return _IMP_domino.RestraintCache___str__(self)
1868 
1869  def __repr__(self):
1870  r"""__repr__(RestraintCache self) -> std::string"""
1871  return _IMP_domino.RestraintCache___repr__(self)
1872 
1873  @staticmethod
1874  def get_from(o):
1875  return _object_cast_to_RestraintCache(o)
1876 
1877 
1878 # Register RestraintCache in _IMP_domino:
1879 _IMP_domino.RestraintCache_swigregister(RestraintCache)
1880 class SubsetFilter(IMP.Object):
1881  r"""Proxy of C++ IMP::domino::SubsetFilter class."""
1882 
1883  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1884 
1885  def __init__(self, *args):
1886  r"""__init__(SubsetFilter self, std::string name="SubsetFilter%1%") -> SubsetFilter"""
1887  if self.__class__ == SubsetFilter:
1888  _self = None
1889  else:
1890  _self = self
1891  _IMP_domino.SubsetFilter_swiginit(self, _IMP_domino.new_SubsetFilter(_self, *args))
1892 
1893  if self.__class__ != SubsetFilter:
1894  _director_objects.register(self)
1895 
1896 
1897 
1898 
1899  def get_is_ok(self, state):
1900  r"""get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1901  return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1902 
1903  def get_next_state(self, pos, state):
1904  r"""get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1905  return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
1906  __swig_destroy__ = _IMP_domino.delete_SubsetFilter
1907 
1908  def __str__(self):
1909  r"""__str__(SubsetFilter self) -> std::string"""
1910  return _IMP_domino.SubsetFilter___str__(self)
1911 
1912  def __repr__(self):
1913  r"""__repr__(SubsetFilter self) -> std::string"""
1914  return _IMP_domino.SubsetFilter___repr__(self)
1915 
1916  @staticmethod
1917  def get_from(o):
1918  return _object_cast_to_SubsetFilter(o)
1919 
1920 
1921  def do_show(self, out):
1922  pass
1923 
1924  @staticmethod
1925  def get_from(o):
1926  return _object_cast_to_SubsetFilter(o)
1927 
1928  def __disown__(self):
1929  self.this.disown()
1930  _IMP_domino.disown_SubsetFilter(self)
1931  return weakref.proxy(self)
1932 
1933  def do_destroy(self):
1934  r"""do_destroy(SubsetFilter self)"""
1935  return _IMP_domino.SubsetFilter_do_destroy(self)
1936 
1937 # Register SubsetFilter in _IMP_domino:
1938 _IMP_domino.SubsetFilter_swigregister(SubsetFilter)
1939 class SubsetFilterTable(IMP.Object):
1940  r"""Proxy of C++ IMP::domino::SubsetFilterTable class."""
1941 
1942  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1943 
1944  def __init__(self, *args):
1945  r"""__init__(SubsetFilterTable self, std::string name="SubsetFilterTable%1%") -> SubsetFilterTable"""
1946  if self.__class__ == SubsetFilterTable:
1947  _self = None
1948  else:
1949  _self = self
1950  _IMP_domino.SubsetFilterTable_swiginit(self, _IMP_domino.new_SubsetFilterTable(_self, *args))
1951 
1952  if self.__class__ != SubsetFilterTable:
1953  _director_objects.register(self)
1954 
1955 
1956 
1957 
1958  def get_subset_filter(self, s, prior_subsets):
1959  r"""get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
1960  return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
1961 
1962  def get_strength(self, s, prior_subsets):
1963  r"""get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
1964  return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
1965  __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
1966 
1967  def __str__(self):
1968  r"""__str__(SubsetFilterTable self) -> std::string"""
1969  return _IMP_domino.SubsetFilterTable___str__(self)
1970 
1971  def __repr__(self):
1972  r"""__repr__(SubsetFilterTable self) -> std::string"""
1973  return _IMP_domino.SubsetFilterTable___repr__(self)
1974 
1975  @staticmethod
1976  def get_from(o):
1977  return _object_cast_to_SubsetFilterTable(o)
1978 
1979 
1980  def do_show(self, out):
1981  pass
1982 
1983  @staticmethod
1984  def get_from(o):
1985  return _object_cast_to_SubsetFilterTable(o)
1986 
1987  def __disown__(self):
1988  self.this.disown()
1989  _IMP_domino.disown_SubsetFilterTable(self)
1990  return weakref.proxy(self)
1991 
1992  def do_destroy(self):
1993  r"""do_destroy(SubsetFilterTable self)"""
1994  return _IMP_domino.SubsetFilterTable_do_destroy(self)
1995 
1996 # Register SubsetFilterTable in _IMP_domino:
1997 _IMP_domino.SubsetFilterTable_swigregister(SubsetFilterTable)
1998 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
1999  r"""Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2000 
2001  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2002 
2003  def __init__(self, *args):
2004  r"""
2005  __init__(RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2006  __init__(RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2007  """
2008  _IMP_domino.RestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_RestraintScoreSubsetFilterTable(*args))
2009 
2010  def get_version_info(self):
2011  r"""get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2012  return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2013  __swig_destroy__ = _IMP_domino.delete_RestraintScoreSubsetFilterTable
2014 
2015  def __str__(self):
2016  r"""__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2017  return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2018 
2019  def __repr__(self):
2020  r"""__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2021  return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2022 
2023  @staticmethod
2024  def get_from(o):
2025  return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2026 
2027 
2028 # Register RestraintScoreSubsetFilterTable in _IMP_domino:
2029 _IMP_domino.RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2030 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2031  r"""Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2032 
2033  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2034 
2035  def __init__(self, rs, rc, max_number_allowed_violations):
2036  r"""__init__(MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2037  _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations))
2038 
2039  def get_maximum_number_of_violated_restraints(self):
2040  r"""get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2041  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2042 
2043  def get_version_info(self):
2044  r"""get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2045  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2046  __swig_destroy__ = _IMP_domino.delete_MinimumRestraintScoreSubsetFilterTable
2047 
2048  def __str__(self):
2049  r"""__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2050  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2051 
2052  def __repr__(self):
2053  r"""__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2054  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2055 
2056  @staticmethod
2057  def get_from(o):
2058  return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2059 
2060 
2061 # Register MinimumRestraintScoreSubsetFilterTable in _IMP_domino:
2062 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2063 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2064  r"""Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2065 
2066  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2067 
2068  def __init__(self, *args, **kwargs):
2069  raise AttributeError("No constructor defined - class is abstract")
2070 
2071  def add_set(self, ps):
2072  r"""add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2073  return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2074 
2075  def add_pair(self, pp):
2076  r"""add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2077  return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2078 
2079  def __str__(self):
2080  r"""__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2081  return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2082 
2083  def __repr__(self):
2084  r"""__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2085  return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2086 
2087  @staticmethod
2088  def get_from(o):
2089  return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2090 
2091  __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2092 
2093 # Register DisjointSetsSubsetFilterTable in _IMP_domino:
2094 _IMP_domino.DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2095 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2096  r"""Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2097 
2098  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2099 
2100  def __init__(self, *args):
2101  r"""
2102  __init__(ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2103  __init__(ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2104  """
2105  _IMP_domino.ExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_ExclusionSubsetFilterTable(*args))
2106 
2107  def get_version_info(self):
2108  r"""get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2109  return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2110  __swig_destroy__ = _IMP_domino.delete_ExclusionSubsetFilterTable
2111 
2112  def __str__(self):
2113  r"""__str__(ExclusionSubsetFilterTable self) -> std::string"""
2114  return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2115 
2116  def __repr__(self):
2117  r"""__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2118  return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2119 
2120  @staticmethod
2121  def get_from(o):
2122  return _object_cast_to_ExclusionSubsetFilterTable(o)
2123 
2124 
2125 # Register ExclusionSubsetFilterTable in _IMP_domino:
2126 _IMP_domino.ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2127 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2128  r"""Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2129 
2130  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2131 
2132  def __init__(self, *args):
2133  r"""
2134  __init__(EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2135  __init__(EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2136  """
2137  _IMP_domino.EqualitySubsetFilterTable_swiginit(self, _IMP_domino.new_EqualitySubsetFilterTable(*args))
2138 
2139  def get_version_info(self):
2140  r"""get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2141  return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2142  __swig_destroy__ = _IMP_domino.delete_EqualitySubsetFilterTable
2143 
2144  def __str__(self):
2145  r"""__str__(EqualitySubsetFilterTable self) -> std::string"""
2146  return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2147 
2148  def __repr__(self):
2149  r"""__repr__(EqualitySubsetFilterTable self) -> std::string"""
2150  return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2151 
2152  @staticmethod
2153  def get_from(o):
2154  return _object_cast_to_EqualitySubsetFilterTable(o)
2155 
2156 
2157 # Register EqualitySubsetFilterTable in _IMP_domino:
2158 _IMP_domino.EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2159 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2160  r"""Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2161 
2162  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2163 
2164  def __init__(self, *args):
2165  r"""
2166  __init__(EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2167  __init__(EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2168  """
2169  _IMP_domino.EquivalenceSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceSubsetFilterTable(*args))
2170 
2171  def get_version_info(self):
2172  r"""get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2173  return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2174  __swig_destroy__ = _IMP_domino.delete_EquivalenceSubsetFilterTable
2175 
2176  def __str__(self):
2177  r"""__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2178  return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2179 
2180  def __repr__(self):
2181  r"""__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2182  return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2183 
2184  @staticmethod
2185  def get_from(o):
2186  return _object_cast_to_EquivalenceSubsetFilterTable(o)
2187 
2188 
2189 # Register EquivalenceSubsetFilterTable in _IMP_domino:
2190 _IMP_domino.EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2191 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2192  r"""Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2193 
2194  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2195 
2196  def __init__(self, *args):
2197  r"""
2198  __init__(EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2199  __init__(EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2200  """
2201  _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args))
2202 
2203  def get_version_info(self):
2204  r"""get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2205  return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2206  __swig_destroy__ = _IMP_domino.delete_EquivalenceAndExclusionSubsetFilterTable
2207 
2208  def __str__(self):
2209  r"""__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2210  return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2211 
2212  def __repr__(self):
2213  r"""__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2214  return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2215 
2216  @staticmethod
2217  def get_from(o):
2218  return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2219 
2220 
2221 # Register EquivalenceAndExclusionSubsetFilterTable in _IMP_domino:
2222 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2223 class ListSubsetFilterTable(SubsetFilterTable):
2224  r"""Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2225 
2226  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2227 
2228  def __init__(self, pst):
2229  r"""__init__(ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2230  _IMP_domino.ListSubsetFilterTable_swiginit(self, _IMP_domino.new_ListSubsetFilterTable(pst))
2231 
2232  def get_ok_rate(self):
2233  r"""get_ok_rate(ListSubsetFilterTable self) -> double"""
2234  return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2235 
2236  def get_number_of_particle_states(self, p):
2237  r"""get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2238  return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2239 
2240  def set_allowed_states(self, p, states):
2241  r"""set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2242  return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2243 
2244  def get_version_info(self):
2245  r"""get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2246  return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2247  __swig_destroy__ = _IMP_domino.delete_ListSubsetFilterTable
2248 
2249  def __str__(self):
2250  r"""__str__(ListSubsetFilterTable self) -> std::string"""
2251  return _IMP_domino.ListSubsetFilterTable___str__(self)
2252 
2253  def __repr__(self):
2254  r"""__repr__(ListSubsetFilterTable self) -> std::string"""
2255  return _IMP_domino.ListSubsetFilterTable___repr__(self)
2256 
2257  @staticmethod
2258  def get_from(o):
2259  return _object_cast_to_ListSubsetFilterTable(o)
2260 
2261 
2262 # Register ListSubsetFilterTable in _IMP_domino:
2263 _IMP_domino.ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2264 class PairListSubsetFilterTable(SubsetFilterTable):
2265  r"""Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2266 
2267  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2268 
2269  def __init__(self):
2270  r"""__init__(PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2271  _IMP_domino.PairListSubsetFilterTable_swiginit(self, _IMP_domino.new_PairListSubsetFilterTable())
2272 
2273  def set_allowed_states(self, p, states):
2274  r"""set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2275  return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2276 
2277  def get_version_info(self):
2278  r"""get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2279  return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2280  __swig_destroy__ = _IMP_domino.delete_PairListSubsetFilterTable
2281 
2282  def __str__(self):
2283  r"""__str__(PairListSubsetFilterTable self) -> std::string"""
2284  return _IMP_domino.PairListSubsetFilterTable___str__(self)
2285 
2286  def __repr__(self):
2287  r"""__repr__(PairListSubsetFilterTable self) -> std::string"""
2288  return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2289 
2290  @staticmethod
2291  def get_from(o):
2292  return _object_cast_to_PairListSubsetFilterTable(o)
2293 
2294 
2295 # Register PairListSubsetFilterTable in _IMP_domino:
2296 _IMP_domino.PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2297 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2298  r"""Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2299 
2300  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2301 
2302  def __init__(self, p, leaves_only=False):
2303  r"""__init__(ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable"""
2304  _IMP_domino.ProbabilisticSubsetFilterTable_swiginit(self, _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only))
2305 
2306  def get_version_info(self):
2307  r"""get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2308  return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2309  __swig_destroy__ = _IMP_domino.delete_ProbabilisticSubsetFilterTable
2310 
2311  def __str__(self):
2312  r"""__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2313  return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2314 
2315  def __repr__(self):
2316  r"""__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2317  return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2318 
2319  @staticmethod
2320  def get_from(o):
2321  return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2322 
2323 
2324 # Register ProbabilisticSubsetFilterTable in _IMP_domino:
2325 _IMP_domino.ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2326 class AssignmentContainer(IMP.Object):
2327  r"""Proxy of C++ IMP::domino::AssignmentContainer class."""
2328 
2329  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2330 
2331  def __init__(self, *args):
2332  r"""__init__(AssignmentContainer self, std::string name="AssignmentContainer %1%") -> AssignmentContainer"""
2333  if self.__class__ == AssignmentContainer:
2334  _self = None
2335  else:
2336  _self = self
2337  _IMP_domino.AssignmentContainer_swiginit(self, _IMP_domino.new_AssignmentContainer(_self, *args))
2338 
2339  if self.__class__ != AssignmentContainer:
2340  _director_objects.register(self)
2341 
2342 
2343 
2344 
2345  def get_number_of_assignments(self):
2346  r"""get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2347  return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2348 
2349  def get_assignment(self, i):
2350  r"""get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2351  return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2352 
2353  def get_assignments(self, *args):
2354  r"""
2355  get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2356  get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2357  """
2358  return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2359 
2360  def add_assignment(self, a):
2361  r"""add_assignment(AssignmentContainer self, Assignment a)"""
2362  return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2363 
2364  def add_assignments(self, asgn):
2365  r"""add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2366  return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2367 
2368  def get_particle_assignments(self, i):
2369  r"""get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2370  return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2371  __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2372 
2373  def __str__(self):
2374  r"""__str__(AssignmentContainer self) -> std::string"""
2375  return _IMP_domino.AssignmentContainer___str__(self)
2376 
2377  def __repr__(self):
2378  r"""__repr__(AssignmentContainer self) -> std::string"""
2379  return _IMP_domino.AssignmentContainer___repr__(self)
2380 
2381  @staticmethod
2382  def get_from(o):
2383  return _object_cast_to_AssignmentContainer(o)
2384 
2385 
2386  def do_show(self, out):
2387  pass
2388 
2389  @staticmethod
2390  def get_from(o):
2391  return _object_cast_to_AssignmentContainer(o)
2392 
2393  def __disown__(self):
2394  self.this.disown()
2395  _IMP_domino.disown_AssignmentContainer(self)
2396  return weakref.proxy(self)
2397 
2398  def do_destroy(self):
2399  r"""do_destroy(AssignmentContainer self)"""
2400  return _IMP_domino.AssignmentContainer_do_destroy(self)
2401 
2402 # Register AssignmentContainer in _IMP_domino:
2403 _IMP_domino.AssignmentContainer_swigregister(AssignmentContainer)
2404 class PackedAssignmentContainer(AssignmentContainer):
2405  r"""Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2406 
2407  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2408 
2409  def __init__(self, *args):
2410  r"""__init__(PackedAssignmentContainer self, std::string name="PackedAssignmentContainer %1%") -> PackedAssignmentContainer"""
2411  _IMP_domino.PackedAssignmentContainer_swiginit(self, _IMP_domino.new_PackedAssignmentContainer(*args))
2412 
2413  def get_assignments(self, *args):
2414  r"""
2415  get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2416  get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2417  """
2418  return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2419 
2420  def get_version_info(self):
2421  r"""get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2422  return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2423  __swig_destroy__ = _IMP_domino.delete_PackedAssignmentContainer
2424 
2425  def __str__(self):
2426  r"""__str__(PackedAssignmentContainer self) -> std::string"""
2427  return _IMP_domino.PackedAssignmentContainer___str__(self)
2428 
2429  def __repr__(self):
2430  r"""__repr__(PackedAssignmentContainer self) -> std::string"""
2431  return _IMP_domino.PackedAssignmentContainer___repr__(self)
2432 
2433  @staticmethod
2434  def get_from(o):
2435  return _object_cast_to_PackedAssignmentContainer(o)
2436 
2437 
2438 # Register PackedAssignmentContainer in _IMP_domino:
2439 _IMP_domino.PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2440 class ListAssignmentContainer(AssignmentContainer):
2441  r"""Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2442 
2443  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2444 
2445  def __init__(self, *args):
2446  r"""__init__(ListAssignmentContainer self, std::string name="ListAssignmentContainer %1%") -> ListAssignmentContainer"""
2447  _IMP_domino.ListAssignmentContainer_swiginit(self, _IMP_domino.new_ListAssignmentContainer(*args))
2448 
2449  def get_assignments(self, *args):
2450  r"""
2451  get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2452  get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2453  """
2454  return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2455 
2456  def get_version_info(self):
2457  r"""get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2458  return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2459  __swig_destroy__ = _IMP_domino.delete_ListAssignmentContainer
2460 
2461  def __str__(self):
2462  r"""__str__(ListAssignmentContainer self) -> std::string"""
2463  return _IMP_domino.ListAssignmentContainer___str__(self)
2464 
2465  def __repr__(self):
2466  r"""__repr__(ListAssignmentContainer self) -> std::string"""
2467  return _IMP_domino.ListAssignmentContainer___repr__(self)
2468 
2469  @staticmethod
2470  def get_from(o):
2471  return _object_cast_to_ListAssignmentContainer(o)
2472 
2473 
2474 # Register ListAssignmentContainer in _IMP_domino:
2475 _IMP_domino.ListAssignmentContainer_swigregister(ListAssignmentContainer)
2476 class SampleAssignmentContainer(AssignmentContainer):
2477  r"""Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2478 
2479  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2480 
2481  def __init__(self, *args):
2482  r"""__init__(SampleAssignmentContainer self, unsigned int k, std::string name="SampleAssignmentContainer %1%") -> SampleAssignmentContainer"""
2483  _IMP_domino.SampleAssignmentContainer_swiginit(self, _IMP_domino.new_SampleAssignmentContainer(*args))
2484 
2485  def get_assignments(self, *args):
2486  r"""
2487  get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2488  get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2489  """
2490  return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2491 
2492  def get_version_info(self):
2493  r"""get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2494  return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2495  __swig_destroy__ = _IMP_domino.delete_SampleAssignmentContainer
2496 
2497  def __str__(self):
2498  r"""__str__(SampleAssignmentContainer self) -> std::string"""
2499  return _IMP_domino.SampleAssignmentContainer___str__(self)
2500 
2501  def __repr__(self):
2502  r"""__repr__(SampleAssignmentContainer self) -> std::string"""
2503  return _IMP_domino.SampleAssignmentContainer___repr__(self)
2504 
2505  @staticmethod
2506  def get_from(o):
2507  return _object_cast_to_SampleAssignmentContainer(o)
2508 
2509 
2510 # Register SampleAssignmentContainer in _IMP_domino:
2511 _IMP_domino.SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2512 class WriteHDF5AssignmentContainer(AssignmentContainer):
2513  r"""Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2514 
2515  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2516 
2517  def __init__(self, *args):
2518  r"""
2519  __init__(WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2520  __init__(WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2521  """
2522  _IMP_domino.WriteHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_WriteHDF5AssignmentContainer(*args))
2523 
2524  def set_cache_size(self, words):
2525  r"""set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2526  return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2527 
2528  def get_assignments(self, *args):
2529  r"""
2530  get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2531  get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2532  """
2533  return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2534 
2535  def get_version_info(self):
2536  r"""get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2537  return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2538  __swig_destroy__ = _IMP_domino.delete_WriteHDF5AssignmentContainer
2539 
2540  def __str__(self):
2541  r"""__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2542  return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2543 
2544  def __repr__(self):
2545  r"""__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2546  return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2547 
2548  @staticmethod
2549  def get_from(o):
2550  return _object_cast_to_WriteHDF5AssignmentContainer(o)
2551 
2552 
2553 # Register WriteHDF5AssignmentContainer in _IMP_domino:
2554 _IMP_domino.WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2555 class ReadHDF5AssignmentContainer(AssignmentContainer):
2556  r"""Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2557 
2558  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2559 
2560  def __init__(self, dataset, s, all_particles, name):
2561  r"""__init__(ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2562  _IMP_domino.ReadHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name))
2563 
2564  def set_cache_size(self, words):
2565  r"""set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2566  return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2567 
2568  def get_assignments(self, *args):
2569  r"""
2570  get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2571  get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2572  """
2573  return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2574 
2575  def get_version_info(self):
2576  r"""get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2577  return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2578  __swig_destroy__ = _IMP_domino.delete_ReadHDF5AssignmentContainer
2579 
2580  def __str__(self):
2581  r"""__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2582  return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2583 
2584  def __repr__(self):
2585  r"""__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2586  return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2587 
2588  @staticmethod
2589  def get_from(o):
2590  return _object_cast_to_ReadHDF5AssignmentContainer(o)
2591 
2592 
2593 # Register ReadHDF5AssignmentContainer in _IMP_domino:
2594 _IMP_domino.ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2595 class WriteAssignmentContainer(AssignmentContainer):
2596  r"""Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2597 
2598  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2599 
2600  def __init__(self, out_file, s, all_particles, name):
2601  r"""__init__(WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2602  _IMP_domino.WriteAssignmentContainer_swiginit(self, _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name))
2603 
2604  def set_cache_size(self, words):
2605  r"""set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2606  return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2607 
2608  def get_assignments(self, *args):
2609  r"""
2610  get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2611  get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2612  """
2613  return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2614 
2615  def get_version_info(self):
2616  r"""get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2617  return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2618  __swig_destroy__ = _IMP_domino.delete_WriteAssignmentContainer
2619 
2620  def __str__(self):
2621  r"""__str__(WriteAssignmentContainer self) -> std::string"""
2622  return _IMP_domino.WriteAssignmentContainer___str__(self)
2623 
2624  def __repr__(self):
2625  r"""__repr__(WriteAssignmentContainer self) -> std::string"""
2626  return _IMP_domino.WriteAssignmentContainer___repr__(self)
2627 
2628  @staticmethod
2629  def get_from(o):
2630  return _object_cast_to_WriteAssignmentContainer(o)
2631 
2632 
2633 # Register WriteAssignmentContainer in _IMP_domino:
2634 _IMP_domino.WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2635 class ReadAssignmentContainer(AssignmentContainer):
2636  r"""Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2637 
2638  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2639 
2640  def __init__(self, out_file, s, all_particles, name):
2641  r"""__init__(ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2642  _IMP_domino.ReadAssignmentContainer_swiginit(self, _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name))
2643 
2644  def set_cache_size(self, words):
2645  r"""set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2646  return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2647 
2648  def get_assignments(self, *args):
2649  r"""
2650  get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2651  get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2652  """
2653  return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2654 
2655  def get_version_info(self):
2656  r"""get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2657  return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2658  __swig_destroy__ = _IMP_domino.delete_ReadAssignmentContainer
2659 
2660  def __str__(self):
2661  r"""__str__(ReadAssignmentContainer self) -> std::string"""
2662  return _IMP_domino.ReadAssignmentContainer___str__(self)
2663 
2664  def __repr__(self):
2665  r"""__repr__(ReadAssignmentContainer self) -> std::string"""
2666  return _IMP_domino.ReadAssignmentContainer___repr__(self)
2667 
2668  @staticmethod
2669  def get_from(o):
2670  return _object_cast_to_ReadAssignmentContainer(o)
2671 
2672 
2673 # Register ReadAssignmentContainer in _IMP_domino:
2674 _IMP_domino.ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2675 class RangeViewAssignmentContainer(AssignmentContainer):
2676  r"""Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2677 
2678  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2679 
2680  def __init__(self, inner, begin, end):
2681  r"""__init__(RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2682  _IMP_domino.RangeViewAssignmentContainer_swiginit(self, _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end))
2683 
2684  def get_assignments(self, *args):
2685  r"""
2686  get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2687  get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2688  """
2689  return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2690 
2691  def get_version_info(self):
2692  r"""get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2693  return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2694  __swig_destroy__ = _IMP_domino.delete_RangeViewAssignmentContainer
2695 
2696  def __str__(self):
2697  r"""__str__(RangeViewAssignmentContainer self) -> std::string"""
2698  return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2699 
2700  def __repr__(self):
2701  r"""__repr__(RangeViewAssignmentContainer self) -> std::string"""
2702  return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2703 
2704  @staticmethod
2705  def get_from(o):
2706  return _object_cast_to_RangeViewAssignmentContainer(o)
2707 
2708 
2709 # Register RangeViewAssignmentContainer in _IMP_domino:
2710 _IMP_domino.RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
2711 class HeapAssignmentContainer(AssignmentContainer):
2712  r"""Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
2713 
2714  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2715 
2716  def __init__(self, *args):
2717  r"""__init__(HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name="HeapAssignmentContainer %1%") -> HeapAssignmentContainer"""
2718  _IMP_domino.HeapAssignmentContainer_swiginit(self, _IMP_domino.new_HeapAssignmentContainer(*args))
2719 
2720  def get_assignments(self, *args):
2721  r"""
2722  get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2723  get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
2724  """
2725  return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
2726 
2727  def get_version_info(self):
2728  r"""get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
2729  return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
2730  __swig_destroy__ = _IMP_domino.delete_HeapAssignmentContainer
2731 
2732  def __str__(self):
2733  r"""__str__(HeapAssignmentContainer self) -> std::string"""
2734  return _IMP_domino.HeapAssignmentContainer___str__(self)
2735 
2736  def __repr__(self):
2737  r"""__repr__(HeapAssignmentContainer self) -> std::string"""
2738  return _IMP_domino.HeapAssignmentContainer___repr__(self)
2739 
2740  @staticmethod
2741  def get_from(o):
2742  return _object_cast_to_HeapAssignmentContainer(o)
2743 
2744 
2745 # Register HeapAssignmentContainer in _IMP_domino:
2746 _IMP_domino.HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
2747 class CappedAssignmentContainer(AssignmentContainer):
2748  r"""Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
2749 
2750  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2751 
2752  def __init__(self, contained, max_states, name):
2753  r"""__init__(CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
2754  _IMP_domino.CappedAssignmentContainer_swiginit(self, _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name))
2755 
2756  def get_assignments(self, *args):
2757  r"""
2758  get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2759  get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
2760  """
2761  return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
2762 
2763  def get_version_info(self):
2764  r"""get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
2765  return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
2766  __swig_destroy__ = _IMP_domino.delete_CappedAssignmentContainer
2767 
2768  def __str__(self):
2769  r"""__str__(CappedAssignmentContainer self) -> std::string"""
2770  return _IMP_domino.CappedAssignmentContainer___str__(self)
2771 
2772  def __repr__(self):
2773  r"""__repr__(CappedAssignmentContainer self) -> std::string"""
2774  return _IMP_domino.CappedAssignmentContainer___repr__(self)
2775 
2776  @staticmethod
2777  def get_from(o):
2778  return _object_cast_to_CappedAssignmentContainer(o)
2779 
2780 
2781 # Register CappedAssignmentContainer in _IMP_domino:
2782 _IMP_domino.CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
2783 class AssignmentsTable(IMP.Object):
2784  r"""Proxy of C++ IMP::domino::AssignmentsTable class."""
2785 
2786  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2787 
2788  def __init__(self, *args):
2789  r"""__init__(AssignmentsTable self, std::string name="AssignmentsTable %1%") -> AssignmentsTable"""
2790  if self.__class__ == AssignmentsTable:
2791  _self = None
2792  else:
2793  _self = self
2794  _IMP_domino.AssignmentsTable_swiginit(self, _IMP_domino.new_AssignmentsTable(_self, *args))
2795 
2796  if self.__class__ != AssignmentsTable:
2797  _director_objects.register(self)
2798 
2799 
2800 
2801 
2802  def load_assignments(self, s, ac):
2803  r"""load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
2804  return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
2805  __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
2806 
2807  def __str__(self):
2808  r"""__str__(AssignmentsTable self) -> std::string"""
2809  return _IMP_domino.AssignmentsTable___str__(self)
2810 
2811  def __repr__(self):
2812  r"""__repr__(AssignmentsTable self) -> std::string"""
2813  return _IMP_domino.AssignmentsTable___repr__(self)
2814 
2815  @staticmethod
2816  def get_from(o):
2817  return _object_cast_to_AssignmentsTable(o)
2818 
2819 
2820  def do_show(self, out):
2821  pass
2822 
2823  @staticmethod
2824  def get_from(o):
2825  return _object_cast_to_AssignmentsTable(o)
2826 
2827  def __disown__(self):
2828  self.this.disown()
2829  _IMP_domino.disown_AssignmentsTable(self)
2830  return weakref.proxy(self)
2831 
2832  def do_destroy(self):
2833  r"""do_destroy(AssignmentsTable self)"""
2834  return _IMP_domino.AssignmentsTable_do_destroy(self)
2835 
2836 # Register AssignmentsTable in _IMP_domino:
2837 _IMP_domino.AssignmentsTable_swigregister(AssignmentsTable)
2838 class SimpleAssignmentsTable(AssignmentsTable):
2839  r"""Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
2840 
2841  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2842 
2843  def __init__(self, *args):
2844  r"""__init__(SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> SimpleAssignmentsTable"""
2845  _IMP_domino.SimpleAssignmentsTable_swiginit(self, _IMP_domino.new_SimpleAssignmentsTable(*args))
2846 
2847  def get_version_info(self):
2848  r"""get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
2849  return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
2850  __swig_destroy__ = _IMP_domino.delete_SimpleAssignmentsTable
2851 
2852  def __str__(self):
2853  r"""__str__(SimpleAssignmentsTable self) -> std::string"""
2854  return _IMP_domino.SimpleAssignmentsTable___str__(self)
2855 
2856  def __repr__(self):
2857  r"""__repr__(SimpleAssignmentsTable self) -> std::string"""
2858  return _IMP_domino.SimpleAssignmentsTable___repr__(self)
2859 
2860  @staticmethod
2861  def get_from(o):
2862  return _object_cast_to_SimpleAssignmentsTable(o)
2863 
2864 
2865 # Register SimpleAssignmentsTable in _IMP_domino:
2866 _IMP_domino.SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
2867 class RecursiveAssignmentsTable(AssignmentsTable):
2868  r"""Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
2869 
2870  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2871 
2872  def __init__(self, *args):
2873  r"""__init__(RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> RecursiveAssignmentsTable"""
2874  _IMP_domino.RecursiveAssignmentsTable_swiginit(self, _IMP_domino.new_RecursiveAssignmentsTable(*args))
2875 
2876  def get_version_info(self):
2877  r"""get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
2878  return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
2879  __swig_destroy__ = _IMP_domino.delete_RecursiveAssignmentsTable
2880 
2881  def __str__(self):
2882  r"""__str__(RecursiveAssignmentsTable self) -> std::string"""
2883  return _IMP_domino.RecursiveAssignmentsTable___str__(self)
2884 
2885  def __repr__(self):
2886  r"""__repr__(RecursiveAssignmentsTable self) -> std::string"""
2887  return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
2888 
2889  @staticmethod
2890  def get_from(o):
2891  return _object_cast_to_RecursiveAssignmentsTable(o)
2892 
2893 
2894 # Register RecursiveAssignmentsTable in _IMP_domino:
2895 _IMP_domino.RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
2896 class BranchAndBoundAssignmentsTable(AssignmentsTable):
2897  r"""Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
2898 
2899  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2900 
2901  def __init__(self, *args):
2902  r"""__init__(BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> BranchAndBoundAssignmentsTable"""
2903  _IMP_domino.BranchAndBoundAssignmentsTable_swiginit(self, _IMP_domino.new_BranchAndBoundAssignmentsTable(*args))
2904 
2905  def get_version_info(self):
2906  r"""get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
2907  return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
2908  __swig_destroy__ = _IMP_domino.delete_BranchAndBoundAssignmentsTable
2909 
2910  def __str__(self):
2911  r"""__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
2912  return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
2913 
2914  def __repr__(self):
2915  r"""__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
2916  return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
2917 
2918  @staticmethod
2919  def get_from(o):
2920  return _object_cast_to_BranchAndBoundAssignmentsTable(o)
2921 
2922 
2923 # Register BranchAndBoundAssignmentsTable in _IMP_domino:
2924 _IMP_domino.BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
2925 class ListAssignmentsTable(AssignmentsTable):
2926  r"""Proxy of C++ IMP::domino::ListAssignmentsTable class."""
2927 
2928  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2929 
2930  def __init__(self, *args):
2931  r"""__init__(ListAssignmentsTable self, std::string name="ListAssignmentsTable %1%") -> ListAssignmentsTable"""
2932  _IMP_domino.ListAssignmentsTable_swiginit(self, _IMP_domino.new_ListAssignmentsTable(*args))
2933 
2934  def set_assignments(self, s, lsc):
2935  r"""set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
2936  return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
2937 
2938  def get_version_info(self):
2939  r"""get_version_info(ListAssignmentsTable self) -> VersionInfo"""
2940  return _IMP_domino.ListAssignmentsTable_get_version_info(self)
2941  __swig_destroy__ = _IMP_domino.delete_ListAssignmentsTable
2942 
2943  def __str__(self):
2944  r"""__str__(ListAssignmentsTable self) -> std::string"""
2945  return _IMP_domino.ListAssignmentsTable___str__(self)
2946 
2947  def __repr__(self):
2948  r"""__repr__(ListAssignmentsTable self) -> std::string"""
2949  return _IMP_domino.ListAssignmentsTable___repr__(self)
2950 
2951  @staticmethod
2952  def get_from(o):
2953  return _object_cast_to_ListAssignmentsTable(o)
2954 
2955 
2956 # Register ListAssignmentsTable in _IMP_domino:
2957 _IMP_domino.ListAssignmentsTable_swigregister(ListAssignmentsTable)
2958 
2959 def get_order(s, sft):
2960  r"""get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
2961  return _IMP_domino.get_order(s, sft)
2962 class _SubsetGraphVertexIndex(object):
2963  r"""Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
2964 
2965  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2966  __repr__ = _swig_repr
2967 
2968  def __init__(self):
2969  r"""__init__(_SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
2970  _IMP_domino._SubsetGraphVertexIndex_swiginit(self, _IMP_domino.new__SubsetGraphVertexIndex())
2971  __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
2972 
2973 # Register _SubsetGraphVertexIndex in _IMP_domino:
2974 _IMP_domino._SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
2975 class _InteractionGraphVertexIndex(object):
2976  r"""Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
2977 
2978  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2979  __repr__ = _swig_repr
2980 
2981  def __init__(self):
2982  r"""__init__(_InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
2983  _IMP_domino._InteractionGraphVertexIndex_swiginit(self, _IMP_domino.new__InteractionGraphVertexIndex())
2984  __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
2985 
2986 # Register _InteractionGraphVertexIndex in _IMP_domino:
2987 _IMP_domino._InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
2988 
2989 def get_subsets(g):
2990  r"""get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
2991  return _IMP_domino.get_subsets(g)
2992 
2993 def get_junction_tree(ig):
2994  r"""get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
2995  return _IMP_domino.get_junction_tree(ig)
2996 
2997 def get_triangulated(input):
2998  r"""get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
2999  return _IMP_domino.get_triangulated(input)
3000 class _CliqueGraphVertexIndex(object):
3001  r"""Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3002 
3003  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3004  __repr__ = _swig_repr
3005 
3006  def __init__(self):
3007  r"""__init__(_CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3008  _IMP_domino._CliqueGraphVertexIndex_swiginit(self, _IMP_domino.new__CliqueGraphVertexIndex())
3009  __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3010 
3011 # Register _CliqueGraphVertexIndex in _IMP_domino:
3012 _IMP_domino._CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3013 
3014 def get_clique_graph(input):
3015  r"""get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3016  return _IMP_domino.get_clique_graph(input)
3017 
3018 def get_minimum_spanning_tree(input):
3019  r"""get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3020  return _IMP_domino.get_minimum_spanning_tree(input)
3021 
3022 def get_restraint_graph(rs, pst):
3023  r"""get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3024  return _IMP_domino.get_restraint_graph(rs, pst)
3025 
3026 def get_interaction_graph(*args):
3027  r"""
3028  get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3029  get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3030  """
3031  return _IMP_domino.get_interaction_graph(*args)
3032 
3034  r"""get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3035  return _IMP_domino.get_interaction_graph_geometry(ig)
3036 
3038  r"""get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3039  return _IMP_domino.get_subset_graph_geometry(ig)
3040 class _MergeTreeVertexIndex(object):
3041  r"""Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3042 
3043  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3044  __repr__ = _swig_repr
3045 
3046  def __init__(self):
3047  r"""__init__(_MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3048  _IMP_domino._MergeTreeVertexIndex_swiginit(self, _IMP_domino.new__MergeTreeVertexIndex())
3049  __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3050 
3051 # Register _MergeTreeVertexIndex in _IMP_domino:
3052 _IMP_domino._MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3053 
3054 def show_as_graphviz(*args):
3055  r"""
3056  show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3057  show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3058  show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3059  show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3060  """
3061  return _IMP_domino.show_as_graphviz(*args)
3062 
3063 def get_vertex_index(*args):
3064  r"""
3065  get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3066  get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3067  get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3068  get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3069  """
3070  return _IMP_domino.get_vertex_index(*args)
3071 
3072 def get_merge_tree(*args):
3073  r"""
3074  get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3075  get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3076  """
3077  return _IMP_domino.get_merge_tree(*args)
3078 
3079 def get_balanced_merge_tree(junction_tree):
3080  r"""get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3081  return _IMP_domino.get_balanced_merge_tree(junction_tree)
3082 
3083 def get_is_merge_tree(tree, all, verbose=True):
3084  r"""get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool"""
3085  return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3086 
3087 def write_merge_tree(tree, ps, out):
3088  r"""write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3089  return _IMP_domino.write_merge_tree(tree, ps, out)
3090 
3091 def read_merge_tree(input, ps):
3092  r"""read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3093  return _IMP_domino.read_merge_tree(input, ps)
3094 class DiscreteSampler(IMP.Sampler):
3095  r"""Proxy of C++ IMP::domino::DiscreteSampler class."""
3096 
3097  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3098 
3099  def get_subset_filter_tables_to_use(self, rs, pst):
3100  r"""get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3101  return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3102 
3103  def get_assignments_table_to_use(self, *args):
3104  r"""get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max=std::numeric_limits< int >::max()) -> AssignmentsTable"""
3105  return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3106 
3107  def do_sample(self):
3108  r"""do_sample(DiscreteSampler self) -> ConfigurationSet"""
3109  return _IMP_domino.DiscreteSampler_do_sample(self)
3110 
3111  def do_get_sample_assignments(self, all):
3112  r"""do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3113  return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3114 
3115  def get_restraints(self):
3116  r"""get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3117  return _IMP_domino.DiscreteSampler_get_restraints(self)
3118 
3119  def __init__(self, m, pst, name):
3120  r"""__init__(DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3121  if self.__class__ == DiscreteSampler:
3122  _self = None
3123  else:
3124  _self = self
3125  _IMP_domino.DiscreteSampler_swiginit(self, _IMP_domino.new_DiscreteSampler(_self, m, pst, name))
3126 
3127  if self.__class__ != DiscreteSampler:
3128  _director_objects.register(self)
3129 
3130 
3131 
3132  __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3133 
3134  def set_restraints(self, rs):
3135  r"""set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3136  return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3137 
3138  def set_particle_states(self, p, se):
3139  r"""set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3140  return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3141 
3142  def get_sample_assignments(self, s):
3143  r"""get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3144  return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3145 
3146  def set_particle_states_table(self, cse):
3147  r"""set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3148  return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3149 
3150  def set_assignments_table(self, sst):
3151  r"""set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3152  return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3153 
3154  def get_particle_states_table(self):
3155  r"""get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3156  return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3157  def __get_subset_filter_tables(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_subset_filter_tables, getfunc=self.get_subset_filter_table, erasefunc=self.erase_subset_filter_table, appendfunc=self.add_subset_filter_table, extendfunc=self.add_subset_filter_tables, clearfunc=self.clear_subset_filter_tables, indexfunc=self._python_index_subset_filter_table)
3158  def __set_subset_filter_tables(self, obj): IMP._list_util.set_varlist(self.subset_filter_tables, obj)
3159  def __del_subset_filter_tables(self): IMP._list_util.del_varlist(self.subset_filter_tables)
3160  subset_filter_tables = property(__get_subset_filter_tables, __set_subset_filter_tables, __del_subset_filter_tables, doc="List of ##ucnames")
3161 
3162  def remove_subset_filter_table(self, d):
3163  r"""remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3164  return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3165 
3166  def _python_index_subset_filter_table(self, d, start, stop):
3167  r"""_python_index_subset_filter_table(DiscreteSampler self, SubsetFilterTable d, unsigned int start, unsigned int stop) -> unsigned int"""
3168  return _IMP_domino.DiscreteSampler__python_index_subset_filter_table(self, d, start, stop)
3169 
3170  def remove_subset_filter_tables(self, d):
3171  r"""remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3172  return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3173 
3174  def set_subset_filter_tables(self, ps):
3175  r"""set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3176  return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3177 
3178  def set_subset_filter_tables_order(self, objs):
3179  r"""set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3180  return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3181 
3182  def add_subset_filter_table(self, obj):
3183  r"""add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3184  return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3185 
3186  def add_subset_filter_tables(self, objs):
3187  r"""add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3188  return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3189 
3190  def clear_subset_filter_tables(self):
3191  r"""clear_subset_filter_tables(DiscreteSampler self)"""
3192  return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3193 
3194  def get_number_of_subset_filter_tables(self):
3195  r"""get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3196  return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3197 
3198  def get_has_subset_filter_tables(self):
3199  r"""get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3200  return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3201 
3202  def get_subset_filter_table(self, i):
3203  r"""get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3204  return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3205 
3206  def get_subset_filter_tables(self):
3207  r"""get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3208  return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3209 
3210  def erase_subset_filter_table(self, i):
3211  r"""erase_subset_filter_table(DiscreteSampler self, unsigned int i)"""
3212  return _IMP_domino.DiscreteSampler_erase_subset_filter_table(self, i)
3213 
3214  def reserve_subset_filter_tables(self, sz):
3215  r"""reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3216  return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3217 
3218  def set_maximum_number_of_assignments(self, mx):
3219  r"""set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3220  return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3221 
3222  def get_maximum_number_of_assignments(self):
3223  r"""get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3224  return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3225 
3226  def __str__(self):
3227  r"""__str__(DiscreteSampler self) -> std::string"""
3228  return _IMP_domino.DiscreteSampler___str__(self)
3229 
3230  def __repr__(self):
3231  r"""__repr__(DiscreteSampler self) -> std::string"""
3232  return _IMP_domino.DiscreteSampler___repr__(self)
3233 
3234  @staticmethod
3235  def get_from(o):
3236  return _object_cast_to_DiscreteSampler(o)
3237 
3238 
3239  def do_show(self, out):
3240  pass
3241 
3242  @staticmethod
3243  def get_from(o):
3244  return _object_cast_to_DiscreteSampler(o)
3245 
3246  def __disown__(self):
3247  self.this.disown()
3248  _IMP_domino.disown_DiscreteSampler(self)
3249  return weakref.proxy(self)
3250 
3251  def do_destroy(self):
3252  r"""do_destroy(DiscreteSampler self)"""
3253  return _IMP_domino.DiscreteSampler_do_destroy(self)
3254 
3255 # Register DiscreteSampler in _IMP_domino:
3256 _IMP_domino.DiscreteSampler_swigregister(DiscreteSampler)
3257 class DominoSampler(DiscreteSampler):
3258  r"""Proxy of C++ IMP::domino::DominoSampler class."""
3259 
3260  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3261 
3262  def __init__(self, *args):
3263  r"""
3264  __init__(DominoSampler self, Model m, std::string name="DominoSampler %1%") -> DominoSampler
3265  __init__(DominoSampler self, Model m, ParticleStatesTable pst, std::string name="DominoSampler %1%") -> DominoSampler
3266  """
3267  _IMP_domino.DominoSampler_swiginit(self, _IMP_domino.new_DominoSampler(*args))
3268 
3269  def do_get_sample_assignments(self, known):
3270  r"""do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3271  return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3272 
3273  def get_version_info(self):
3274  r"""get_version_info(DominoSampler self) -> VersionInfo"""
3275  return _IMP_domino.DominoSampler_get_version_info(self)
3276  __swig_destroy__ = _IMP_domino.delete_DominoSampler
3277 
3278  def set_merge_tree(self, mt):
3279  r"""set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3280  return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3281 
3282  def set_use_cross_subset_filtering(self, tf):
3283  r"""set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3284  return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3285 
3286  def get_number_of_assignments_for_vertex(self, tree_vertex):
3287  r"""get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3288  return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3289 
3290  def get_sample_assignments_for_vertex(self, tree_vertex):
3291  r"""get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3292  return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3293 
3294  def get_vertex_assignments(self, *args):
3295  r"""
3296  get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3297  get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3298  """
3299  return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3300 
3301  def load_vertex_assignments(self, *args):
3302  r"""
3303  load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3304  load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3305  """
3306  return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3307 
3308  def __str__(self):
3309  r"""__str__(DominoSampler self) -> std::string"""
3310  return _IMP_domino.DominoSampler___str__(self)
3311 
3312  def __repr__(self):
3313  r"""__repr__(DominoSampler self) -> std::string"""
3314  return _IMP_domino.DominoSampler___repr__(self)
3315 
3316  @staticmethod
3317  def get_from(o):
3318  return _object_cast_to_DominoSampler(o)
3319 
3320 
3321 # Register DominoSampler in _IMP_domino:
3322 _IMP_domino.DominoSampler_swigregister(DominoSampler)
3323 class BranchAndBoundSampler(DiscreteSampler):
3324  r"""Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3325 
3326  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3327 
3328  def __init__(self, *args):
3329  r"""
3330  __init__(BranchAndBoundSampler self, Model m, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3331  __init__(BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3332  """
3333  _IMP_domino.BranchAndBoundSampler_swiginit(self, _IMP_domino.new_BranchAndBoundSampler(*args))
3334 
3335  def do_get_sample_assignments(self, known):
3336  r"""do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3337  return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3338 
3339  def get_version_info(self):
3340  r"""get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3341  return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3342  __swig_destroy__ = _IMP_domino.delete_BranchAndBoundSampler
3343 
3344  def __str__(self):
3345  r"""__str__(BranchAndBoundSampler self) -> std::string"""
3346  return _IMP_domino.BranchAndBoundSampler___str__(self)
3347 
3348  def __repr__(self):
3349  r"""__repr__(BranchAndBoundSampler self) -> std::string"""
3350  return _IMP_domino.BranchAndBoundSampler___repr__(self)
3351 
3352  @staticmethod
3353  def get_from(o):
3354  return _object_cast_to_BranchAndBoundSampler(o)
3355 
3356 
3357 # Register BranchAndBoundSampler in _IMP_domino:
3358 _IMP_domino.BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3359 
3360 def load_particle_states(s, ss, pst):
3361  r"""load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3362  return _IMP_domino.load_particle_states(s, ss, pst)
3363 
3364 def get_restraints(s, pst, dg, rs):
3365  r"""get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3366  return _IMP_domino.get_restraints(s, pst, dg, rs)
3367 
3368 def get_index(particles, subset, excluded):
3369  r"""get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3370  return _IMP_domino.get_index(particles, subset, excluded)
3371 
3372 def get_partial_index(particles, subset, excluded):
3373  r"""get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3374  return _IMP_domino.get_partial_index(particles, subset, excluded)
3375 
3376 def get_possible_interactions(ps, max_distance, pst):
3377  r"""get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3378  return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3379 
3380 def get_embedding(s, a, pst):
3381  r"""get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3382  return _IMP_domino.get_embedding(s, a, pst)
3383 
3384 def get_nearest_assignment(s, embedding, pst):
3385  r"""get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3386  return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3387 
3388 def get_distance_if_smaller_than(s, a, b, pst, metrics, max):
3389  r"""get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3390  return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3391 
3392 def load_leaf_assignments(subset, at, ac):
3393  r"""load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3394  return _IMP_domino.load_leaf_assignments(subset, at, ac)
3395 
3396 def load_merged_assignments(first_subset, first, second_subset, second, filters, ret):
3397  r"""load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3398  return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3399 
3400 def load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret):
3401  r"""load_merged_assignments_random_order(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, unsigned int maximum_tries, AssignmentContainer ret)"""
3402  return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3403 
3404 def get_state_clusters(subset, states, pst, resolution):
3405  r"""get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3406  return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3407 class DependencyScoreState(IMP.ScoreState):
3408  r"""Proxy of C++ IMP::domino::DependencyScoreState class."""
3409 
3410  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3411 
3412  def __init__(self, m):
3413  r"""__init__(DependencyScoreState self, Model m) -> DependencyScoreState"""
3414  _IMP_domino.DependencyScoreState_swiginit(self, _IMP_domino.new_DependencyScoreState(m))
3415 
3416  def set_input_particles(self, pt):
3417  r"""set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3418  return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3419 
3420  def set_output_particles(self, pt):
3421  r"""set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3422  return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3423 
3424  def set_input_containers(self, pt):
3425  r"""set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3426  return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3427 
3428  def set_output_containers(self, pt):
3429  r"""set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3430  return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3431 
3432  def get_version_info(self):
3433  r"""get_version_info(DependencyScoreState self) -> VersionInfo"""
3434  return _IMP_domino.DependencyScoreState_get_version_info(self)
3435  __swig_destroy__ = _IMP_domino.delete_DependencyScoreState
3436 
3437  def __str__(self):
3438  r"""__str__(DependencyScoreState self) -> std::string"""
3439  return _IMP_domino.DependencyScoreState___str__(self)
3440 
3441  def __repr__(self):
3442  r"""__repr__(DependencyScoreState self) -> std::string"""
3443  return _IMP_domino.DependencyScoreState___repr__(self)
3444 
3445  @staticmethod
3446  def get_from(o):
3447  return _object_cast_to_DependencyScoreState(o)
3448 
3449 
3450 # Register DependencyScoreState in _IMP_domino:
3451 _IMP_domino.DependencyScoreState_swigregister(DependencyScoreState)
3452 
3453 def _get_ints_list(input):
3454  r"""_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3455  return _IMP_domino._get_ints_list(input)
3456 
3457 def get_module_name():
3458  r"""get_module_name() -> std::string const"""
3459  return _IMP_domino.get_module_name()
3460 
3461 def get_module_version():
3462  r"""get_module_version() -> std::string const"""
3463  return _IMP_domino.get_module_version()
3464 
3465 def get_example_path(fname):
3466  r"""get_example_path(std::string fname) -> std::string"""
3467  return _IMP_domino.get_example_path(fname)
3468 
3469 def get_data_path(fname):
3470  r"""get_data_path(std::string fname) -> std::string"""
3471  return _IMP_domino.get_data_path(fname)
3472 
3473 from . import _version_check
3474 _version_check.check_version(get_module_version())
3475 __version__ = get_module_version()
3476 
3477 
Various classes to hold sets of particles.
Assignments get_state_clusters(const Subset &subset, const Assignments &states, ParticleStatesTable *pst, double resolution)
Return subset of the passed states which are representative.
SubsetGraph get_junction_tree(const InteractionGraph &ig)
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:301
Make CGAL functionality available to IMP.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:281
Assignment get_nearest_assignment(const Subset &s, const algebra::VectorKD &embedding, ParticleStatesTable *pst)
Return the nearest assignment from an embedding.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
Subsets get_subsets(const SubsetGraph &g)
Gets all of the Subsets of a SubsetGraph.
double get_distance_if_smaller_than(const Subset &s, const Assignment &a, const Assignment &b, ParticleStatesTable *pst, const statistics::Metrics &metrics, double max)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Base class for all samplers.
Definition: Sampler.h:31
boost::graph SubsetGraph
Definition: subset_graphs.h:23
MergeTree get_balanced_merge_tree(const SubsetGraph &junction_tree)
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
ParticlePairsTemp get_possible_interactions(const ParticlesTemp &ps, double max_distance, ParticleStatesTable *pst)
display::Geometries get_subset_graph_geometry(const SubsetGraph &ig)
InteractionGraph get_interaction_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
Code to compute statistical measures.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
Definition: BoundingBoxD.h:252
MergeTree get_merge_tree(ScoringFunctionAdaptor input, const ParticleStatesTable *pst)
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:111
ScoreStates maintain invariants in the Model.
Definition: ScoreState.h:56
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Ints get_partial_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
boost::graph MergeTree
void load_leaf_assignments(const Subset &subset, AssignmentsTable *at, AssignmentContainer *ac)
Fill in assignments for a leaf.
void load_merged_assignments(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, AssignmentContainer *ret)
Fill in assignments for an internal node.
algebra::VectorKD get_embedding(const Subset &s, const Assignment &a, ParticleStatesTable *pst)
Return an embedding for an assignment.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Basic utilities for handling cryo-electron microscopy 3D density maps.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
void load_merged_assignments_random_order(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, unsigned int maximum_tries, AssignmentContainer *ret)
Sample from the merged assignments.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string show_graphviz(Graph g)
SubsetGraph get_restraint_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
std::string get_module_version()
Return the version of this module, as a string.
display::Geometries get_interaction_graph_geometry(const InteractionGraph &ig)
void load_particle_states(const Subset &s, const Assignment &ss, const ParticleStatesTable *pst)
Load the appropriate state for each particle in a Subset.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
boost::graph InteractionGraph
Definition: subset_graphs.h:33
Support for the RMF file format for storing hierarchical molecular data and markup.
Support for small angle X-ray scattering (SAXS) data.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
Slice get_slice(Subset outer, Subset inner, const Subsets &excluded)
Definition: Slice.h:76