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