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