11 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
19 import builtins
as __builtin__
25 strthis =
"proxy of " + self.this.__repr__()
26 except __builtin__.Exception:
28 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
31 def _swig_setattr_nondynamic_instance_variable(set):
32 def set_instance_attr(self, name, value):
34 set(self, name, value)
35 elif name ==
"thisown":
37 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
38 set(self, name, value)
40 raise AttributeError(
"You cannot add instance attributes to %s" % self)
41 return set_instance_attr
44 def _swig_setattr_nondynamic_class_variable(set):
45 def set_class_attr(cls, name, value):
46 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
49 raise AttributeError(
"You cannot add class attributes to %s" % cls)
53 def _swig_add_metaclass(metaclass):
54 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
56 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 class _SwigNonDynamicMeta(type):
61 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
62 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
67 class IMP_DOMINO_SwigPyIterator(object):
68 r"""Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
70 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
72 def __init__(self, *args, **kwargs):
73 raise AttributeError(
"No constructor defined - class is abstract")
75 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
78 r"""value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
79 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
82 r"""incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
83 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
86 r"""decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
87 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
89 def distance(self, x):
90 r"""distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
91 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
94 r"""equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
95 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
98 r"""copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
99 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
102 r"""next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
103 return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
106 r"""__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
107 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
110 r"""previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
111 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
113 def advance(self, n):
114 r"""advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
115 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
118 r"""__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
119 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
122 r"""__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
123 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
125 def __iadd__(self, n):
126 r"""__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
127 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
129 def __isub__(self, n):
130 r"""__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
131 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
133 def __add__(self, n):
134 r"""__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
135 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
137 def __sub__(self, *args):
139 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
140 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
142 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
147 _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
154 IMP_DEBUG = _IMP_domino.IMP_DEBUG
156 IMP_RELEASE = _IMP_domino.IMP_RELEASE
158 IMP_SILENT = _IMP_domino.IMP_SILENT
160 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
162 IMP_TERSE = _IMP_domino.IMP_TERSE
164 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
166 IMP_MEMORY = _IMP_domino.IMP_MEMORY
168 IMP_NONE = _IMP_domino.IMP_NONE
170 IMP_USAGE = _IMP_domino.IMP_USAGE
172 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_domino.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_domino.IMP_COMPILER_HAS_RANDOM_SHUFFLE
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_domino.IMP_COMPILER_HAS_THREE_WAY
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
186 IMP_KERNEL_HAS_NUMPY = _IMP_domino.IMP_KERNEL_HAS_NUMPY
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
194 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
198 class _DirectorObjects(object):
199 """@internal Simple class to keep references to director objects
200 to prevent premature deletion."""
203 def register(self, obj):
204 """Take a reference to a director object; will only work for
205 refcounted C++ classes"""
206 if hasattr(obj,
'get_ref_count'):
207 self._objects.append(obj)
209 """Only drop our reference and allow cleanup by Python if no other
210 Python references exist (we hold 3 references: one in self._objects,
211 one in x, and one in the argument list for getrefcount) *and* no
212 other C++ references exist (the Python object always holds one)"""
213 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
214 or x.get_ref_count() > 1]
218 def get_object_count(self):
219 """Get number of director objects (useful for testing only)"""
220 return len(self._objects)
221 _director_objects = _DirectorObjects()
223 class _ostream(object):
224 r"""Proxy of C++ std::ostream class."""
226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
228 def __init__(self, *args, **kwargs):
229 raise AttributeError(
"No constructor defined")
230 __repr__ = _swig_repr
232 def write(self, osa_buf):
233 r"""write(_ostream self, char const * osa_buf)"""
234 return _IMP_domino._ostream_write(self, osa_buf)
237 _IMP_domino._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
249 IMP_CGAL_HAS_NUMPY = _IMP_domino.IMP_CGAL_HAS_NUMPY
251 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
254 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
256 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
258 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
260 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
262 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
264 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
266 IMP_ALGEBRA_HAS_NUMPY = _IMP_domino.IMP_ALGEBRA_HAS_NUMPY
268 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
270 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
273 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
275 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
277 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
279 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
281 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
283 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
285 IMP_DISPLAY_HAS_NUMPY = _IMP_domino.IMP_DISPLAY_HAS_NUMPY
287 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
290 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
292 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
294 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
296 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
298 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
300 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
302 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
304 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_NUMPY
306 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
309 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
311 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
313 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
315 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
317 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
319 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
321 IMP_STATISTICS_HAS_NUMPY = _IMP_domino.IMP_STATISTICS_HAS_NUMPY
323 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
326 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
330 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
332 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
334 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
336 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
338 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
340 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
342 IMP_CORE_HAS_NUMPY = _IMP_domino.IMP_CORE_HAS_NUMPY
344 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
349 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
351 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
353 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
355 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
357 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
359 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
363 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
365 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
367 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
369 IMP_CONTAINER_HAS_NUMPY = _IMP_domino.IMP_CONTAINER_HAS_NUMPY
371 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
373 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
375 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
377 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
380 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
382 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
384 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
386 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
388 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
390 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
392 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
394 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
396 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
398 IMP_ATOM_HAS_NUMPY = _IMP_domino.IMP_ATOM_HAS_NUMPY
400 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
402 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
404 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
406 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
408 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
410 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
413 IMP_EM_HAS_IMP_CGAL = _IMP_domino.IMP_EM_HAS_IMP_CGAL
415 IMP_EM_HAS_IMP_CONTAINER = _IMP_domino.IMP_EM_HAS_IMP_CONTAINER
417 IMP_EM_HAS_IMP_DISPLAY = _IMP_domino.IMP_EM_HAS_IMP_DISPLAY
419 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_EM_HAS_IMP_SCORE_FUNCTOR
421 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_FILESYSTEM
423 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
425 IMP_EM_HAS_BOOST_RANDOM = _IMP_domino.IMP_EM_HAS_BOOST_RANDOM
427 IMP_EM_HAS_BOOST_REGEX = _IMP_domino.IMP_EM_HAS_BOOST_REGEX
429 IMP_EM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_SYSTEM
431 IMP_EM_HAS_CGAL = _IMP_domino.IMP_EM_HAS_CGAL
433 IMP_EM_HAS_HDF5 = _IMP_domino.IMP_EM_HAS_HDF5
435 IMP_EM_HAS_NUMPY = _IMP_domino.IMP_EM_HAS_NUMPY
437 IMP_EM_HAS_PYTHON_IHM = _IMP_domino.IMP_EM_HAS_PYTHON_IHM
439 IMPEM_SHOW_WARNINGS = _IMP_domino.IMPEM_SHOW_WARNINGS
442 IMP_SAXS_HAS_IMP_CGAL = _IMP_domino.IMP_SAXS_HAS_IMP_CGAL
444 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_domino.IMP_SAXS_HAS_IMP_CONTAINER
446 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_domino.IMP_SAXS_HAS_IMP_DISPLAY
448 IMP_SAXS_HAS_IMP_KERNEL = _IMP_domino.IMP_SAXS_HAS_IMP_KERNEL
450 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
452 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_FILESYSTEM
454 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
456 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_domino.IMP_SAXS_HAS_BOOST_RANDOM
458 IMP_SAXS_HAS_BOOST_REGEX = _IMP_domino.IMP_SAXS_HAS_BOOST_REGEX
460 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_SYSTEM
462 IMP_SAXS_HAS_CGAL = _IMP_domino.IMP_SAXS_HAS_CGAL
464 IMP_SAXS_HAS_HDF5 = _IMP_domino.IMP_SAXS_HAS_HDF5
466 IMP_SAXS_HAS_NUMPY = _IMP_domino.IMP_SAXS_HAS_NUMPY
468 IMP_SAXS_HAS_PYTHON_IHM = _IMP_domino.IMP_SAXS_HAS_PYTHON_IHM
470 IMPSAXS_SHOW_WARNINGS = _IMP_domino.IMPSAXS_SHOW_WARNINGS
473 IMP_ISD_HAS_IMP_CGAL = _IMP_domino.IMP_ISD_HAS_IMP_CGAL
475 IMP_ISD_HAS_IMP_DISPLAY = _IMP_domino.IMP_ISD_HAS_IMP_DISPLAY
477 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
479 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_FILESYSTEM
481 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
483 IMP_ISD_HAS_BOOST_RANDOM = _IMP_domino.IMP_ISD_HAS_BOOST_RANDOM
485 IMP_ISD_HAS_BOOST_REGEX = _IMP_domino.IMP_ISD_HAS_BOOST_REGEX
487 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_SYSTEM
489 IMP_ISD_HAS_CGAL = _IMP_domino.IMP_ISD_HAS_CGAL
491 IMP_ISD_HAS_HDF5 = _IMP_domino.IMP_ISD_HAS_HDF5
493 IMP_ISD_HAS_NUMPY = _IMP_domino.IMP_ISD_HAS_NUMPY
495 IMP_ISD_HAS_PYTHON_IHM = _IMP_domino.IMP_ISD_HAS_PYTHON_IHM
497 IMPISD_SHOW_WARNINGS = _IMP_domino.IMPISD_SHOW_WARNINGS
500 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
502 IMP_RMF_HAS_IMP_EM = _IMP_domino.IMP_RMF_HAS_IMP_EM
504 IMP_RMF_HAS_IMP_SAXS = _IMP_domino.IMP_RMF_HAS_IMP_SAXS
506 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
508 IMP_RMF_HAS_IMP_STATISTICS = _IMP_domino.IMP_RMF_HAS_IMP_STATISTICS
510 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
512 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
514 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
516 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
518 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
520 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
522 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
524 IMP_RMF_HAS_NUMPY = _IMP_domino.IMP_RMF_HAS_NUMPY
526 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
528 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
532 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
534 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
536 IMP_DOMINO_HAS_IMP_EM = _IMP_domino.IMP_DOMINO_HAS_IMP_EM
538 IMP_DOMINO_HAS_IMP_ISD = _IMP_domino.IMP_DOMINO_HAS_IMP_ISD
540 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
542 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
544 IMP_DOMINO_HAS_IMP_SAXS = _IMP_domino.IMP_DOMINO_HAS_IMP_SAXS
546 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
548 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
550 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
552 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
554 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
556 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
558 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
560 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
562 IMP_DOMINO_HAS_NUMPY = _IMP_domino.IMP_DOMINO_HAS_NUMPY
564 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
566 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
568 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
572 _object_types.append(
"DiscreteSampler")
575 def _object_cast_to_DiscreteSampler(o):
576 r"""_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
577 return _IMP_domino._object_cast_to_DiscreteSampler(o)
579 _object_types.append(
"ParticleStates")
582 def _object_cast_to_ParticleStates(o):
583 r"""_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
584 return _IMP_domino._object_cast_to_ParticleStates(o)
586 _object_types.append(
"SubsetFilter")
589 def _object_cast_to_SubsetFilter(o):
590 r"""_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
591 return _IMP_domino._object_cast_to_SubsetFilter(o)
593 _object_types.append(
"SubsetFilterTable")
596 def _object_cast_to_SubsetFilterTable(o):
597 r"""_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
598 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
600 _object_types.append(
"AssignmentsTable")
603 def _object_cast_to_AssignmentsTable(o):
604 r"""_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
605 return _IMP_domino._object_cast_to_AssignmentsTable(o)
607 _object_types.append(
"AssignmentContainer")
610 def _object_cast_to_AssignmentContainer(o):
611 r"""_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
612 return _IMP_domino._object_cast_to_AssignmentContainer(o)
614 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex > class."""
616 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
617 __repr__ = _swig_repr
620 r"""__init__(InteractionGraph self) -> InteractionGraph"""
621 _IMP_domino.InteractionGraph_swiginit(self, _IMP_domino.new_InteractionGraph())
624 r"""get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
625 return _IMP_domino.InteractionGraph_get_graph(self)
628 r"""get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
629 return _IMP_domino.InteractionGraph_get_vertices(self)
631 def get_vertex_name(self, i):
632 r"""get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
633 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
635 def get_in_neighbors(self, v):
636 r"""get_in_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
637 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
639 def get_out_neighbors(self, v):
640 r"""get_out_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
641 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
644 r"""show_graphviz(InteractionGraph self, _ostream out=std::cout)"""
645 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
647 def get_graphviz_string(self):
648 r"""get_graphviz_string(InteractionGraph self) -> std::string"""
649 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
651 def add_edge(self, v0, v1):
652 r"""add_edge(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v1)"""
653 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
655 def add_vertex(self, l):
656 r"""add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
657 return _IMP_domino.InteractionGraph_add_vertex(self, l)
659 def remove_vertex(self, l):
660 r"""remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
661 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
662 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
665 _IMP_domino.InteractionGraph_swigregister(InteractionGraph)
667 _value_types.append(
"InteractionGraph")
670 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex > class."""
672 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
673 __repr__ = _swig_repr
676 r"""__init__(SubsetGraph self) -> SubsetGraph"""
677 _IMP_domino.SubsetGraph_swiginit(self, _IMP_domino.new_SubsetGraph())
680 r"""get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
681 return _IMP_domino.SubsetGraph_get_graph(self)
684 r"""get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
685 return _IMP_domino.SubsetGraph_get_vertices(self)
687 def get_vertex_name(self, i):
688 r"""get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
689 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
691 def get_in_neighbors(self, v):
692 r"""get_in_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
693 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
695 def get_out_neighbors(self, v):
696 r"""get_out_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
697 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
700 r"""show_graphviz(SubsetGraph self, _ostream out=std::cout)"""
701 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
703 def get_graphviz_string(self):
704 r"""get_graphviz_string(SubsetGraph self) -> std::string"""
705 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
707 def add_edge(self, v0, v1):
708 r"""add_edge(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v1)"""
709 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
711 def add_vertex(self, l):
712 r"""add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
713 return _IMP_domino.SubsetGraph_add_vertex(self, l)
715 def remove_vertex(self, l):
716 r"""remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
717 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
718 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
721 _IMP_domino.SubsetGraph_swigregister(SubsetGraph)
723 _value_types.append(
"SubsetGraph")
726 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex > class."""
728 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
729 __repr__ = _swig_repr
732 r"""__init__(CliqueGraph self) -> CliqueGraph"""
733 _IMP_domino.CliqueGraph_swiginit(self, _IMP_domino.new_CliqueGraph())
736 r"""get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
737 return _IMP_domino.CliqueGraph_get_graph(self)
740 r"""get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
741 return _IMP_domino.CliqueGraph_get_vertices(self)
743 def get_vertex_name(self, i):
744 r"""get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
745 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
747 def get_in_neighbors(self, v):
748 r"""get_in_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
749 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
751 def get_out_neighbors(self, v):
752 r"""get_out_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
753 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
756 r"""show_graphviz(CliqueGraph self, _ostream out=std::cout)"""
757 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
759 def get_graphviz_string(self):
760 r"""get_graphviz_string(CliqueGraph self) -> std::string"""
761 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
763 def add_edge(self, v0, v1):
764 r"""add_edge(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v1)"""
765 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
767 def add_vertex(self, l):
768 r"""add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
769 return _IMP_domino.CliqueGraph_add_vertex(self, l)
771 def remove_vertex(self, l):
772 r"""remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
773 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
774 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
777 _IMP_domino.CliqueGraph_swigregister(CliqueGraph)
779 _value_types.append(
"CliqueGraph")
782 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex > class."""
784 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
785 __repr__ = _swig_repr
788 r"""__init__(MergeTree self) -> MergeTree"""
789 _IMP_domino.MergeTree_swiginit(self, _IMP_domino.new_MergeTree())
792 r"""get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
793 return _IMP_domino.MergeTree_get_graph(self)
796 r"""get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
797 return _IMP_domino.MergeTree_get_vertices(self)
799 def get_vertex_name(self, i):
800 r"""get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
801 return _IMP_domino.MergeTree_get_vertex_name(self, i)
803 def get_in_neighbors(self, v):
804 r"""get_in_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
805 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
807 def get_out_neighbors(self, v):
808 r"""get_out_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
809 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
812 r"""show_graphviz(MergeTree self, _ostream out=std::cout)"""
813 return _IMP_domino.MergeTree_show_graphviz(self, *args)
815 def get_graphviz_string(self):
816 r"""get_graphviz_string(MergeTree self) -> std::string"""
817 return _IMP_domino.MergeTree_get_graphviz_string(self)
819 def add_edge(self, v0, v1):
820 r"""add_edge(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v1)"""
821 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
823 def add_vertex(self, l):
824 r"""add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
825 return _IMP_domino.MergeTree_add_vertex(self, l)
827 def remove_vertex(self, l):
828 r"""remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
829 return _IMP_domino.MergeTree_remove_vertex(self, l)
830 __swig_destroy__ = _IMP_domino.delete_MergeTree
833 _IMP_domino.MergeTree_swigregister(MergeTree)
835 _value_types.append(
"MergeTree")
838 _object_types.append(
"BranchAndBoundSampler")
841 def _object_cast_to_BranchAndBoundSampler(o):
842 r"""_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
843 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
845 _object_types.append(
"BranchAndBoundAssignmentsTable")
848 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
849 r"""_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
850 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
852 _object_types.append(
"RecursiveAssignmentsTable")
855 def _object_cast_to_RecursiveAssignmentsTable(o):
856 r"""_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
857 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
859 _object_types.append(
"SimpleAssignmentsTable")
862 def _object_cast_to_SimpleAssignmentsTable(o):
863 r"""_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
864 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
866 _object_types.append(
"CompoundStates")
869 def _object_cast_to_CompoundStates(o):
870 r"""_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
871 return _IMP_domino._object_cast_to_CompoundStates(o)
873 _object_types.append(
"DisjointSetsSubsetFilterTable")
876 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
877 r"""_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
878 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
880 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
883 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
884 r"""_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
885 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
887 _object_types.append(
"DominoSampler")
890 def _object_cast_to_DominoSampler(o):
891 r"""_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
892 return _IMP_domino._object_cast_to_DominoSampler(o)
894 _object_types.append(
"EqualitySubsetFilterTable")
897 def _object_cast_to_EqualitySubsetFilterTable(o):
898 r"""_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
899 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
901 _object_types.append(
"EquivalenceSubsetFilterTable")
904 def _object_cast_to_EquivalenceSubsetFilterTable(o):
905 r"""_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
906 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
908 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
911 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
912 r"""_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
913 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
915 _object_types.append(
"ExclusionSubsetFilterTable")
918 def _object_cast_to_ExclusionSubsetFilterTable(o):
919 r"""_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
920 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
922 _object_types.append(
"IndexStates")
925 def _object_cast_to_IndexStates(o):
926 r"""_object_cast_to_IndexStates(Object o) -> IndexStates"""
927 return _IMP_domino._object_cast_to_IndexStates(o)
929 _object_types.append(
"ListSubsetFilterTable")
932 def _object_cast_to_ListSubsetFilterTable(o):
933 r"""_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
934 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
936 _object_types.append(
"ListAssignmentsTable")
939 def _object_cast_to_ListAssignmentsTable(o):
940 r"""_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
941 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
943 _object_types.append(
"ParticleStatesTable")
946 def _object_cast_to_ParticleStatesTable(o):
947 r"""_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
948 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
950 _object_types.append(
"RecursiveStates")
953 def _object_cast_to_RecursiveStates(o):
954 r"""_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
955 return _IMP_domino._object_cast_to_RecursiveStates(o)
957 _object_types.append(
"ProbabilisticSubsetFilterTable")
960 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
961 r"""_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
962 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
964 _object_types.append(
"RestraintScoreSubsetFilterTable")
967 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
968 r"""_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
969 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
971 _object_types.append(
"RigidBodyStates")
974 def _object_cast_to_RigidBodyStates(o):
975 r"""_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
976 return _IMP_domino._object_cast_to_RigidBodyStates(o)
978 _object_types.append(
"XYZStates")
981 def _object_cast_to_XYZStates(o):
982 r"""_object_cast_to_XYZStates(Object o) -> XYZStates"""
983 return _IMP_domino._object_cast_to_XYZStates(o)
985 _object_types.append(
"NestedRigidBodyStates")
988 def _object_cast_to_NestedRigidBodyStates(o):
989 r"""_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
990 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
992 _object_types.append(
"DependencyScoreState")
995 def _object_cast_to_DependencyScoreState(o):
996 r"""_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
997 return _IMP_domino._object_cast_to_DependencyScoreState(o)
999 _object_types.append(
"PairListSubsetFilterTable")
1002 def _object_cast_to_PairListSubsetFilterTable(o):
1003 r"""_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
1004 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
1006 _object_types.append(
"ListAssignmentContainer")
1009 def _object_cast_to_ListAssignmentContainer(o):
1010 r"""_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
1011 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
1013 _object_types.append(
"PackedAssignmentContainer")
1016 def _object_cast_to_PackedAssignmentContainer(o):
1017 r"""_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
1018 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
1020 _object_types.append(
"HeapAssignmentContainer")
1023 def _object_cast_to_HeapAssignmentContainer(o):
1024 r"""_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
1025 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
1027 _object_types.append(
"RangeViewAssignmentContainer")
1030 def _object_cast_to_RangeViewAssignmentContainer(o):
1031 r"""_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
1032 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
1034 _object_types.append(
"SampleAssignmentContainer")
1037 def _object_cast_to_SampleAssignmentContainer(o):
1038 r"""_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1039 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1041 _object_types.append(
"PermutationStates")
1044 def _object_cast_to_PermutationStates(o):
1045 r"""_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1046 return _IMP_domino._object_cast_to_PermutationStates(o)
1048 _object_types.append(
"WriteHDF5AssignmentContainer")
1051 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1052 r"""_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1053 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1055 _object_types.append(
"ReadHDF5AssignmentContainer")
1058 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1059 r"""_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1060 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1062 _object_types.append(
"ReadAssignmentContainer")
1065 def _object_cast_to_ReadAssignmentContainer(o):
1066 r"""_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1067 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1069 _object_types.append(
"WriteAssignmentContainer")
1072 def _object_cast_to_WriteAssignmentContainer(o):
1073 r"""_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1074 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1076 _object_types.append(
"CappedAssignmentContainer")
1079 def _object_cast_to_CappedAssignmentContainer(o):
1080 r"""_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1081 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1083 _object_types.append(
"RestraintCache")
1086 def _object_cast_to_RestraintCache(o):
1087 r"""_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1088 return _IMP_domino._object_cast_to_RestraintCache(o)
1091 _plural_types.append(
"Subsets")
1092 _value_types.append(
"Subset")
1096 _plural_types.append(
"Assignments")
1097 _value_types.append(
"Assignment")
1101 _plural_types.append(
"Slices")
1102 _value_types.append(
"Slice")
1106 _plural_types.append(
"Orders")
1107 _value_types.append(
"Order")
1109 class _IntArray(IMP._Value):
1110 r"""Proxy of C++ IMP::ConstVector< int > class."""
1112 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1113 __repr__ = _swig_repr
1114 __swig_destroy__ = _IMP_domino.delete__IntArray
1116 def __init__(self, *args):
1118 __init__(_IntArray self, unsigned int sz, int fill) -> _IntArray
1119 __init__(_IntArray self) -> _IntArray
1121 _IMP_domino._IntArray_swiginit(self, _IMP_domino.new__IntArray(*args))
1123 def __cmp__(self, o):
1124 r"""__cmp__(_IntArray self, _IntArray o) -> int"""
1125 return _IMP_domino._IntArray___cmp__(self, o)
1127 def __eq__(self, o):
1128 r"""__eq__(_IntArray self, _IntArray o) -> bool"""
1129 return _IMP_domino._IntArray___eq__(self, o)
1131 def __ne__(self, o):
1132 r"""__ne__(_IntArray self, _IntArray o) -> bool"""
1133 return _IMP_domino._IntArray___ne__(self, o)
1135 def __lt__(self, o):
1136 r"""__lt__(_IntArray self, _IntArray o) -> bool"""
1137 return _IMP_domino._IntArray___lt__(self, o)
1139 def __gt__(self, o):
1140 r"""__gt__(_IntArray self, _IntArray o) -> bool"""
1141 return _IMP_domino._IntArray___gt__(self, o)
1143 def __ge__(self, o):
1144 r"""__ge__(_IntArray self, _IntArray o) -> bool"""
1145 return _IMP_domino._IntArray___ge__(self, o)
1147 def __le__(self, o):
1148 r"""__le__(_IntArray self, _IntArray o) -> bool"""
1149 return _IMP_domino._IntArray___le__(self, o)
1151 def __getitem__(self, i):
1152 r"""__getitem__(_IntArray self, unsigned int i) -> int"""
1153 return _IMP_domino._IntArray___getitem__(self, i)
1156 r"""__len__(_IntArray self) -> unsigned int"""
1157 return _IMP_domino._IntArray___len__(self)
1159 def show(self, *args):
1160 r"""show(_IntArray self, _ostream out=std::cout)"""
1161 return _IMP_domino._IntArray_show(self, *args)
1164 r"""__hash__(_IntArray self) -> std::size_t"""
1165 return _IMP_domino._IntArray___hash__(self)
1168 _IMP_domino._IntArray_swigregister(_IntArray)
1169 class _UIntArray(IMP._Value):
1170 r"""Proxy of C++ IMP::ConstVector< unsigned int > class."""
1172 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1173 __repr__ = _swig_repr
1174 __swig_destroy__ = _IMP_domino.delete__UIntArray
1176 def __init__(self, *args):
1178 __init__(_UIntArray self, unsigned int sz, unsigned int fill) -> _UIntArray
1179 __init__(_UIntArray self) -> _UIntArray
1181 _IMP_domino._UIntArray_swiginit(self, _IMP_domino.new__UIntArray(*args))
1183 def __cmp__(self, o):
1184 r"""__cmp__(_UIntArray self, _UIntArray o) -> int"""
1185 return _IMP_domino._UIntArray___cmp__(self, o)
1187 def __eq__(self, o):
1188 r"""__eq__(_UIntArray self, _UIntArray o) -> bool"""
1189 return _IMP_domino._UIntArray___eq__(self, o)
1191 def __ne__(self, o):
1192 r"""__ne__(_UIntArray self, _UIntArray o) -> bool"""
1193 return _IMP_domino._UIntArray___ne__(self, o)
1195 def __lt__(self, o):
1196 r"""__lt__(_UIntArray self, _UIntArray o) -> bool"""
1197 return _IMP_domino._UIntArray___lt__(self, o)
1199 def __gt__(self, o):
1200 r"""__gt__(_UIntArray self, _UIntArray o) -> bool"""
1201 return _IMP_domino._UIntArray___gt__(self, o)
1203 def __ge__(self, o):
1204 r"""__ge__(_UIntArray self, _UIntArray o) -> bool"""
1205 return _IMP_domino._UIntArray___ge__(self, o)
1207 def __le__(self, o):
1208 r"""__le__(_UIntArray self, _UIntArray o) -> bool"""
1209 return _IMP_domino._UIntArray___le__(self, o)
1211 def __getitem__(self, i):
1212 r"""__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1213 return _IMP_domino._UIntArray___getitem__(self, i)
1216 r"""__len__(_UIntArray self) -> unsigned int"""
1217 return _IMP_domino._UIntArray___len__(self)
1219 def show(self, *args):
1220 r"""show(_UIntArray self, _ostream out=std::cout)"""
1221 return _IMP_domino._UIntArray_show(self, *args)
1224 r"""__hash__(_UIntArray self) -> std::size_t"""
1225 return _IMP_domino._UIntArray___hash__(self)
1228 _IMP_domino._UIntArray_swigregister(_UIntArray)
1229 class _ParticleArray(IMP._Value):
1230 r"""Proxy of C++ IMP::ConstVector< IMP::WeakPointer< Particle >,Particle * > class."""
1232 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1233 __repr__ = _swig_repr
1234 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1236 def __init__(self, *args):
1238 __init__(_ParticleArray self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1239 __init__(_ParticleArray self) -> _ParticleArray
1241 _IMP_domino._ParticleArray_swiginit(self, _IMP_domino.new__ParticleArray(*args))
1243 def __cmp__(self, o):
1244 r"""__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1245 return _IMP_domino._ParticleArray___cmp__(self, o)
1247 def __eq__(self, o):
1248 r"""__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1249 return _IMP_domino._ParticleArray___eq__(self, o)
1251 def __ne__(self, o):
1252 r"""__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1253 return _IMP_domino._ParticleArray___ne__(self, o)
1255 def __lt__(self, o):
1256 r"""__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1257 return _IMP_domino._ParticleArray___lt__(self, o)
1259 def __gt__(self, o):
1260 r"""__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1261 return _IMP_domino._ParticleArray___gt__(self, o)
1263 def __ge__(self, o):
1264 r"""__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1265 return _IMP_domino._ParticleArray___ge__(self, o)
1267 def __le__(self, o):
1268 r"""__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1269 return _IMP_domino._ParticleArray___le__(self, o)
1271 def __getitem__(self, i):
1272 r"""__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1273 return _IMP_domino._ParticleArray___getitem__(self, i)
1276 r"""__len__(_ParticleArray self) -> unsigned int"""
1277 return _IMP_domino._ParticleArray___len__(self)
1279 def show(self, *args):
1280 r"""show(_ParticleArray self, _ostream out=std::cout)"""
1281 return _IMP_domino._ParticleArray_show(self, *args)
1284 r"""__hash__(_ParticleArray self) -> std::size_t"""
1285 return _IMP_domino._ParticleArray___hash__(self)
1288 _IMP_domino._ParticleArray_swigregister(_ParticleArray)
1289 class Subset(_ParticleArray):
1290 r"""Proxy of C++ IMP::domino::Subset class."""
1292 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1294 def __init__(self, *args):
1296 __init__(Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1297 __init__(Subset self) -> Subset
1298 __init__(Subset self, IMP::ParticlesTemp ps) -> Subset
1300 _IMP_domino.Subset_swiginit(self, _IMP_domino.new_Subset(*args))
1302 def get_model(self):
1303 r"""get_model(Subset self) -> Model"""
1304 return _IMP_domino.Subset_get_model(self)
1307 r"""get_name(Subset self) -> std::string"""
1308 return _IMP_domino.Subset_get_name(self)
1310 def get_contains(self, o):
1311 r"""get_contains(Subset self, Subset o) -> bool"""
1312 return _IMP_domino.Subset_get_contains(self, o)
1315 r"""__str__(Subset self) -> std::string"""
1316 return _IMP_domino.Subset___str__(self)
1319 r"""__repr__(Subset self) -> std::string"""
1320 return _IMP_domino.Subset___repr__(self)
1321 __swig_destroy__ = _IMP_domino.delete_Subset
1324 _IMP_domino.Subset_swigregister(Subset)
1327 r"""get_union(Subset a, Subset b) -> Subset"""
1328 return _IMP_domino.get_union(a, b)
1331 r"""get_intersection(Subset a, Subset b) -> Subset"""
1332 return _IMP_domino.get_intersection(a, b)
1334 def get_difference(a, b):
1335 r"""get_difference(Subset a, Subset b) -> Subset"""
1336 return _IMP_domino.get_difference(a, b)
1337 class Assignment(_IntArray):
1338 r"""Proxy of C++ IMP::domino::Assignment class."""
1340 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1342 def __init__(self, *args):
1344 __init__(Assignment self) -> Assignment
1345 __init__(Assignment self, unsigned int sz) -> Assignment
1346 __init__(Assignment self, IMP::Ints const & i) -> Assignment
1348 _IMP_domino.Assignment_swiginit(self, _IMP_domino.new_Assignment(*args))
1351 r"""__str__(Assignment self) -> std::string"""
1352 return _IMP_domino.Assignment___str__(self)
1355 r"""__repr__(Assignment self) -> std::string"""
1356 return _IMP_domino.Assignment___repr__(self)
1358 def _get_as_binary(self):
1359 r"""_get_as_binary(Assignment self) -> PyObject *"""
1360 return _IMP_domino.Assignment__get_as_binary(self)
1362 def _set_from_binary(self, p):
1363 r"""_set_from_binary(Assignment self, PyObject * p)"""
1364 return _IMP_domino.Assignment__set_from_binary(self, p)
1366 def __getstate__(self):
1367 p = self._get_as_binary()
1368 if len(self.__dict__) > 1:
1369 d = self.__dict__.copy()
1374 def __setstate__(self, p):
1375 if not hasattr(self,
'this'):
1377 if isinstance(p, tuple):
1379 self.__dict__.update(d)
1380 return self._set_from_binary(p)
1382 __swig_destroy__ = _IMP_domino.delete_Assignment
1385 _IMP_domino.Assignment_swigregister(Assignment)
1386 class Slice(_UIntArray):
1387 r"""Proxy of C++ IMP::domino::Slice class."""
1389 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1391 def __init__(self, *args):
1393 __init__(Slice self) -> Slice
1394 __init__(Slice self, Subset outer, Subset inner) -> Slice
1396 _IMP_domino.Slice_swiginit(self, _IMP_domino.new_Slice(*args))
1398 def get_sliced(self, *args):
1400 get_sliced(Slice self, Assignment a) -> Assignment
1401 get_sliced(Slice self, Subset a) -> Subset
1403 return _IMP_domino.Slice_get_sliced(self, *args)
1406 r"""__str__(Slice self) -> std::string"""
1407 return _IMP_domino.Slice___str__(self)
1410 r"""__repr__(Slice self) -> std::string"""
1411 return _IMP_domino.Slice___repr__(self)
1413 def _get_as_binary(self):
1414 r"""_get_as_binary(Slice self) -> PyObject *"""
1415 return _IMP_domino.Slice__get_as_binary(self)
1417 def _set_from_binary(self, p):
1418 r"""_set_from_binary(Slice self, PyObject * p)"""
1419 return _IMP_domino.Slice__set_from_binary(self, p)
1421 def __getstate__(self):
1422 p = self._get_as_binary()
1423 if len(self.__dict__) > 1:
1424 d = self.__dict__.copy()
1429 def __setstate__(self, p):
1430 if not hasattr(self,
'this'):
1432 if isinstance(p, tuple):
1434 self.__dict__.update(d)
1435 return self._set_from_binary(p)
1437 __swig_destroy__ = _IMP_domino.delete_Slice
1440 _IMP_domino.Slice_swigregister(Slice)
1443 r"""get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1444 return _IMP_domino.get_slice(outer, inner, excluded)
1445 class Order(_UIntArray):
1446 r"""Proxy of C++ IMP::domino::Order class."""
1448 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1450 def __init__(self, *args):
1452 __init__(Order self) -> Order
1453 __init__(Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1455 _IMP_domino.Order_swiginit(self, _IMP_domino.new_Order(*args))
1457 def get_list_ordered(self, a):
1458 r"""get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1459 return _IMP_domino.Order_get_list_ordered(self, a)
1461 def get_subset_ordered(self, a):
1462 r"""get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1463 return _IMP_domino.Order_get_subset_ordered(self, a)
1466 r"""__str__(Order self) -> std::string"""
1467 return _IMP_domino.Order___str__(self)
1470 r"""__repr__(Order self) -> std::string"""
1471 return _IMP_domino.Order___repr__(self)
1473 def _get_as_binary(self):
1474 r"""_get_as_binary(Order self) -> PyObject *"""
1475 return _IMP_domino.Order__get_as_binary(self)
1477 def _set_from_binary(self, p):
1478 r"""_set_from_binary(Order self, PyObject * p)"""
1479 return _IMP_domino.Order__set_from_binary(self, p)
1481 def __getstate__(self):
1482 p = self._get_as_binary()
1483 if len(self.__dict__) > 1:
1484 d = self.__dict__.copy()
1489 def __setstate__(self, p):
1490 if not hasattr(self,
'this'):
1492 if isinstance(p, tuple):
1494 self.__dict__.update(d)
1495 return self._set_from_binary(p)
1497 __swig_destroy__ = _IMP_domino.delete_Order
1500 _IMP_domino.Order_swigregister(Order)
1502 r"""Proxy of C++ IMP::domino::ParticleStates class."""
1504 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1506 def __init__(self, *args):
1507 r"""__init__(ParticleStates self, std::string name="ParticleStates %1%") -> ParticleStates"""
1508 if self.__class__ == ParticleStates:
1512 _IMP_domino.ParticleStates_swiginit(self, _IMP_domino.new_ParticleStates(_self, *args))
1514 if self.__class__ != ParticleStates:
1515 _director_objects.register(self)
1520 def get_number_of_particle_states(self):
1521 r"""get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1522 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1524 def load_particle_state(self, arg0, arg1):
1525 r"""load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1526 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1529 r"""get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1530 return _IMP_domino.ParticleStates_get_embedding(self, i)
1532 def get_nearest_state(self, v):
1533 r"""get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1534 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1535 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1538 r"""__str__(ParticleStates self) -> std::string"""
1539 return _IMP_domino.ParticleStates___str__(self)
1542 r"""__repr__(ParticleStates self) -> std::string"""
1543 return _IMP_domino.ParticleStates___repr__(self)
1547 return _object_cast_to_ParticleStates(o)
1550 def get_type_name(self):
1551 return self.__class__.__name__
1552 def do_show(self, out):
1554 def get_version_info(self):
1555 if"IMP::domino" ==
"IMP":
1556 return VersionInfo(self.__module__,
1563 return _object_cast_to_ParticleStates(o)
1565 def __disown__(self):
1567 _IMP_domino.disown_ParticleStates(self)
1568 return weakref.proxy(self)
1570 def do_destroy(self):
1571 r"""do_destroy(ParticleStates self)"""
1572 return _IMP_domino.ParticleStates_do_destroy(self)
1575 _IMP_domino.ParticleStates_swigregister(ParticleStates)
1577 r"""Proxy of C++ IMP::domino::ParticleStatesTable class."""
1579 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1582 r"""__init__(ParticleStatesTable self) -> ParticleStatesTable"""
1583 _IMP_domino.ParticleStatesTable_swiginit(self, _IMP_domino.new_ParticleStatesTable())
1585 def get_particle_states(self, p):
1586 r"""get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1587 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1589 def get_has_particle(self, p):
1590 r"""get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1591 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1594 r"""get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1595 return _IMP_domino.ParticleStatesTable_get_particles(self)
1597 def get_subset(self):
1598 r"""get_subset(ParticleStatesTable self) -> Subset"""
1599 return _IMP_domino.ParticleStatesTable_get_subset(self)
1601 def set_particle_states(self, p, e):
1602 r"""set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1603 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1605 def get_version_info(self):
1606 r"""get_version_info(ParticleStatesTable self) -> VersionInfo"""
1607 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1608 __swig_destroy__ = _IMP_domino.delete_ParticleStatesTable
1611 r"""__str__(ParticleStatesTable self) -> std::string"""
1612 return _IMP_domino.ParticleStatesTable___str__(self)
1615 r"""__repr__(ParticleStatesTable self) -> std::string"""
1616 return _IMP_domino.ParticleStatesTable___repr__(self)
1620 return _object_cast_to_ParticleStatesTable(o)
1624 _IMP_domino.ParticleStatesTable_swigregister(ParticleStatesTable)
1625 class IndexStates(ParticleStates):
1626 r"""Proxy of C++ IMP::domino::IndexStates class."""
1628 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1630 def __init__(self, *args):
1631 r"""__init__(IndexStates self, unsigned int n, IntKey k=IMP::IntKey("state")) -> IndexStates"""
1632 _IMP_domino.IndexStates_swiginit(self, _IMP_domino.new_IndexStates(*args))
1634 def get_version_info(self):
1635 r"""get_version_info(IndexStates self) -> VersionInfo"""
1636 return _IMP_domino.IndexStates_get_version_info(self)
1637 __swig_destroy__ = _IMP_domino.delete_IndexStates
1640 r"""__str__(IndexStates self) -> std::string"""
1641 return _IMP_domino.IndexStates___str__(self)
1644 r"""__repr__(IndexStates self) -> std::string"""
1645 return _IMP_domino.IndexStates___repr__(self)
1649 return _object_cast_to_IndexStates(o)
1653 _IMP_domino.IndexStates_swigregister(IndexStates)
1654 class XYZStates(ParticleStates):
1655 r"""Proxy of C++ IMP::domino::XYZStates class."""
1657 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1659 def __init__(self, states):
1660 r"""__init__(XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1661 _IMP_domino.XYZStates_swiginit(self, _IMP_domino.new_XYZStates(states))
1663 def get_vector(self, i):
1664 r"""get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1665 return _IMP_domino.XYZStates_get_vector(self, i)
1667 def get_version_info(self):
1668 r"""get_version_info(XYZStates self) -> VersionInfo"""
1669 return _IMP_domino.XYZStates_get_version_info(self)
1670 __swig_destroy__ = _IMP_domino.delete_XYZStates
1673 r"""__str__(XYZStates self) -> std::string"""
1674 return _IMP_domino.XYZStates___str__(self)
1677 r"""__repr__(XYZStates self) -> std::string"""
1678 return _IMP_domino.XYZStates___repr__(self)
1682 return _object_cast_to_XYZStates(o)
1686 _IMP_domino.XYZStates_swigregister(XYZStates)
1687 class RigidBodyStates(ParticleStates):
1688 r"""Proxy of C++ IMP::domino::RigidBodyStates class."""
1690 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1692 def __init__(self, states, scale=1):
1693 r"""__init__(RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates"""
1694 _IMP_domino.RigidBodyStates_swiginit(self, _IMP_domino.new_RigidBodyStates(states, scale))
1696 def get_reference_frame(self, i):
1697 r"""get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1698 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1700 def get_version_info(self):
1701 r"""get_version_info(RigidBodyStates self) -> VersionInfo"""
1702 return _IMP_domino.RigidBodyStates_get_version_info(self)
1703 __swig_destroy__ = _IMP_domino.delete_RigidBodyStates
1706 r"""__str__(RigidBodyStates self) -> std::string"""
1707 return _IMP_domino.RigidBodyStates___str__(self)
1710 r"""__repr__(RigidBodyStates self) -> std::string"""
1711 return _IMP_domino.RigidBodyStates___repr__(self)
1715 return _object_cast_to_RigidBodyStates(o)
1719 _IMP_domino.RigidBodyStates_swigregister(RigidBodyStates)
1720 class NestedRigidBodyStates(ParticleStates):
1721 r"""Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1723 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1725 def __init__(self, states, scale=100):
1726 r"""__init__(NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates"""
1727 _IMP_domino.NestedRigidBodyStates_swiginit(self, _IMP_domino.new_NestedRigidBodyStates(states, scale))
1729 def get_transformation(self, i):
1730 r"""get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1731 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1733 def get_version_info(self):
1734 r"""get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1735 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1736 __swig_destroy__ = _IMP_domino.delete_NestedRigidBodyStates
1739 r"""__str__(NestedRigidBodyStates self) -> std::string"""
1740 return _IMP_domino.NestedRigidBodyStates___str__(self)
1743 r"""__repr__(NestedRigidBodyStates self) -> std::string"""
1744 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1748 return _object_cast_to_NestedRigidBodyStates(o)
1752 _IMP_domino.NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1753 class CompoundStates(ParticleStates):
1754 r"""Proxy of C++ IMP::domino::CompoundStates class."""
1756 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1758 def __init__(self, a, b):
1759 r"""__init__(CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1760 _IMP_domino.CompoundStates_swiginit(self, _IMP_domino.new_CompoundStates(a, b))
1762 def get_version_info(self):
1763 r"""get_version_info(CompoundStates self) -> VersionInfo"""
1764 return _IMP_domino.CompoundStates_get_version_info(self)
1765 __swig_destroy__ = _IMP_domino.delete_CompoundStates
1768 r"""__str__(CompoundStates self) -> std::string"""
1769 return _IMP_domino.CompoundStates___str__(self)
1772 r"""__repr__(CompoundStates self) -> std::string"""
1773 return _IMP_domino.CompoundStates___repr__(self)
1777 return _object_cast_to_CompoundStates(o)
1781 _IMP_domino.CompoundStates_swigregister(CompoundStates)
1782 class RecursiveStates(ParticleStates):
1783 r"""Proxy of C++ IMP::domino::RecursiveStates class."""
1785 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1787 def __init__(self, p, s, ss, pst):
1788 r"""__init__(RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1789 _IMP_domino.RecursiveStates_swiginit(self, _IMP_domino.new_RecursiveStates(p, s, ss, pst))
1791 def get_version_info(self):
1792 r"""get_version_info(RecursiveStates self) -> VersionInfo"""
1793 return _IMP_domino.RecursiveStates_get_version_info(self)
1794 __swig_destroy__ = _IMP_domino.delete_RecursiveStates
1797 r"""__str__(RecursiveStates self) -> std::string"""
1798 return _IMP_domino.RecursiveStates___str__(self)
1801 r"""__repr__(RecursiveStates self) -> std::string"""
1802 return _IMP_domino.RecursiveStates___repr__(self)
1806 return _object_cast_to_RecursiveStates(o)
1810 _IMP_domino.RecursiveStates_swigregister(RecursiveStates)
1811 class PermutationStates(ParticleStates):
1812 r"""Proxy of C++ IMP::domino::PermutationStates class."""
1814 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1816 def __init__(self, inner):
1817 r"""__init__(PermutationStates self, ParticleStates inner) -> PermutationStates"""
1818 _IMP_domino.PermutationStates_swiginit(self, _IMP_domino.new_PermutationStates(inner))
1820 def get_inner_state(self, i):
1821 r"""get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1822 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1824 def get_version_info(self):
1825 r"""get_version_info(PermutationStates self) -> VersionInfo"""
1826 return _IMP_domino.PermutationStates_get_version_info(self)
1827 __swig_destroy__ = _IMP_domino.delete_PermutationStates
1830 r"""__str__(PermutationStates self) -> std::string"""
1831 return _IMP_domino.PermutationStates___str__(self)
1834 r"""__repr__(PermutationStates self) -> std::string"""
1835 return _IMP_domino.PermutationStates___repr__(self)
1839 return _object_cast_to_PermutationStates(o)
1843 _IMP_domino.PermutationStates_swigregister(PermutationStates)
1844 class _ParticlesAdaptor(IMP._InputAdaptor):
1845 r"""Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1847 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1848 __repr__ = _swig_repr
1850 def __init__(self, *args):
1852 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1853 __init__(_ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1855 _IMP_domino._ParticlesAdaptor_swiginit(self, _IMP_domino.new__ParticlesAdaptor(*args))
1856 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1859 _IMP_domino._ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1861 r"""Proxy of C++ IMP::domino::RestraintCache class."""
1863 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1865 def __init__(self, *args):
1866 r"""__init__(RestraintCache self, ParticleStatesTable pst, unsigned int size=std::numeric_limits< unsigned int >::max()) -> RestraintCache"""
1867 _IMP_domino.RestraintCache_swiginit(self, _IMP_domino.new_RestraintCache(*args))
1870 r"""add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1871 return _IMP_domino.RestraintCache_add_restraints(self, rs)
1873 def get_score(self, *args):
1875 get_score(RestraintCache self, Restraint r, Assignment a) -> double
1876 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1878 return _IMP_domino.RestraintCache_get_score(self, *args)
1880 def load_last_score(self, r, s, a):
1881 r"""load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1882 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1884 def get_restraints(self, *args):
1886 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1887 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1889 return _IMP_domino.RestraintCache_get_restraints(self, *args)
1891 def save_cache(self, particle_ordering, restraints, group, max_entries):
1892 r"""save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1893 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1895 def load_cache(self, ps, group):
1896 r"""load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1897 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1900 r"""get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1901 return _IMP_domino.RestraintCache_get_slice(self, r, s)
1903 def get_number_of_entries(self):
1904 r"""get_number_of_entries(RestraintCache self) -> unsigned int"""
1905 return _IMP_domino.RestraintCache_get_number_of_entries(self)
1908 r"""validate(RestraintCache self)"""
1909 return _IMP_domino.RestraintCache_validate(self)
1911 def show_restraint_information(self, *args):
1912 r"""show_restraint_information(RestraintCache self, _ostream out=std::cout)"""
1913 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1915 def get_hit_rate(self):
1916 r"""get_hit_rate(RestraintCache self) -> double"""
1917 return _IMP_domino.RestraintCache_get_hit_rate(self)
1919 def get_version_info(self):
1920 r"""get_version_info(RestraintCache self) -> VersionInfo"""
1921 return _IMP_domino.RestraintCache_get_version_info(self)
1922 __swig_destroy__ = _IMP_domino.delete_RestraintCache
1925 r"""__str__(RestraintCache self) -> std::string"""
1926 return _IMP_domino.RestraintCache___str__(self)
1929 r"""__repr__(RestraintCache self) -> std::string"""
1930 return _IMP_domino.RestraintCache___repr__(self)
1934 return _object_cast_to_RestraintCache(o)
1938 _IMP_domino.RestraintCache_swigregister(RestraintCache)
1940 r"""Proxy of C++ IMP::domino::SubsetFilter class."""
1942 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1944 def __init__(self, *args):
1945 r"""__init__(SubsetFilter self, std::string name="SubsetFilter%1%") -> SubsetFilter"""
1946 if self.__class__ == SubsetFilter:
1950 _IMP_domino.SubsetFilter_swiginit(self, _IMP_domino.new_SubsetFilter(_self, *args))
1952 if self.__class__ != SubsetFilter:
1953 _director_objects.register(self)
1958 def get_is_ok(self, state):
1959 r"""get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1960 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1962 def get_next_state(self, pos, state):
1963 r"""get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1964 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
1965 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
1968 r"""__str__(SubsetFilter self) -> std::string"""
1969 return _IMP_domino.SubsetFilter___str__(self)
1972 r"""__repr__(SubsetFilter self) -> std::string"""
1973 return _IMP_domino.SubsetFilter___repr__(self)
1977 return _object_cast_to_SubsetFilter(o)
1980 def get_type_name(self):
1981 return self.__class__.__name__
1982 def do_show(self, out):
1984 def get_version_info(self):
1985 if"IMP::domino" ==
"IMP":
1986 return VersionInfo(self.__module__,
1993 return _object_cast_to_SubsetFilter(o)
1995 def __disown__(self):
1997 _IMP_domino.disown_SubsetFilter(self)
1998 return weakref.proxy(self)
2000 def do_destroy(self):
2001 r"""do_destroy(SubsetFilter self)"""
2002 return _IMP_domino.SubsetFilter_do_destroy(self)
2005 _IMP_domino.SubsetFilter_swigregister(SubsetFilter)
2007 r"""Proxy of C++ IMP::domino::SubsetFilterTable class."""
2009 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2011 def __init__(self, *args):
2012 r"""__init__(SubsetFilterTable self, std::string name="SubsetFilterTable%1%") -> SubsetFilterTable"""
2013 if self.__class__ == SubsetFilterTable:
2017 _IMP_domino.SubsetFilterTable_swiginit(self, _IMP_domino.new_SubsetFilterTable(_self, *args))
2019 if self.__class__ != SubsetFilterTable:
2020 _director_objects.register(self)
2025 def get_subset_filter(self, s, prior_subsets):
2026 r"""get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2027 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2029 def get_strength(self, s, prior_subsets):
2030 r"""get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2031 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2032 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2035 r"""__str__(SubsetFilterTable self) -> std::string"""
2036 return _IMP_domino.SubsetFilterTable___str__(self)
2039 r"""__repr__(SubsetFilterTable self) -> std::string"""
2040 return _IMP_domino.SubsetFilterTable___repr__(self)
2044 return _object_cast_to_SubsetFilterTable(o)
2047 def get_type_name(self):
2048 return self.__class__.__name__
2049 def do_show(self, out):
2051 def get_version_info(self):
2052 if"IMP::domino" ==
"IMP":
2053 return VersionInfo(self.__module__,
2060 return _object_cast_to_SubsetFilterTable(o)
2062 def __disown__(self):
2064 _IMP_domino.disown_SubsetFilterTable(self)
2065 return weakref.proxy(self)
2067 def do_destroy(self):
2068 r"""do_destroy(SubsetFilterTable self)"""
2069 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2072 _IMP_domino.SubsetFilterTable_swigregister(SubsetFilterTable)
2073 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2074 r"""Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2076 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2078 def __init__(self, *args):
2080 __init__(RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2081 __init__(RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2083 _IMP_domino.RestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_RestraintScoreSubsetFilterTable(*args))
2085 def get_version_info(self):
2086 r"""get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2087 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2088 __swig_destroy__ = _IMP_domino.delete_RestraintScoreSubsetFilterTable
2091 r"""__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2092 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2095 r"""__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2096 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2100 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2104 _IMP_domino.RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2105 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2106 r"""Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2108 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2110 def __init__(self, rs, rc, max_number_allowed_violations):
2111 r"""__init__(MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2112 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations))
2114 def get_maximum_number_of_violated_restraints(self):
2115 r"""get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2116 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2118 def get_version_info(self):
2119 r"""get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2120 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2121 __swig_destroy__ = _IMP_domino.delete_MinimumRestraintScoreSubsetFilterTable
2124 r"""__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2125 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2128 r"""__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2129 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2133 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2137 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2138 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2139 r"""Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2141 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2143 def __init__(self, *args, **kwargs):
2144 raise AttributeError(
"No constructor defined - class is abstract")
2146 def add_set(self, ps):
2147 r"""add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2148 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2150 def add_pair(self, pp):
2151 r"""add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2152 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2155 r"""__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2156 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2159 r"""__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2160 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2164 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2166 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2169 _IMP_domino.DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2170 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2171 r"""Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2173 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2175 def __init__(self, *args):
2177 __init__(ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2178 __init__(ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2180 _IMP_domino.ExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_ExclusionSubsetFilterTable(*args))
2182 def get_version_info(self):
2183 r"""get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2184 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2185 __swig_destroy__ = _IMP_domino.delete_ExclusionSubsetFilterTable
2188 r"""__str__(ExclusionSubsetFilterTable self) -> std::string"""
2189 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2192 r"""__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2193 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2197 return _object_cast_to_ExclusionSubsetFilterTable(o)
2201 _IMP_domino.ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2202 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2203 r"""Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2205 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2207 def __init__(self, *args):
2209 __init__(EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2210 __init__(EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2212 _IMP_domino.EqualitySubsetFilterTable_swiginit(self, _IMP_domino.new_EqualitySubsetFilterTable(*args))
2214 def get_version_info(self):
2215 r"""get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2216 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2217 __swig_destroy__ = _IMP_domino.delete_EqualitySubsetFilterTable
2220 r"""__str__(EqualitySubsetFilterTable self) -> std::string"""
2221 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2224 r"""__repr__(EqualitySubsetFilterTable self) -> std::string"""
2225 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2229 return _object_cast_to_EqualitySubsetFilterTable(o)
2233 _IMP_domino.EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2234 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2235 r"""Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2237 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2239 def __init__(self, *args):
2241 __init__(EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2242 __init__(EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2244 _IMP_domino.EquivalenceSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceSubsetFilterTable(*args))
2246 def get_version_info(self):
2247 r"""get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2248 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2249 __swig_destroy__ = _IMP_domino.delete_EquivalenceSubsetFilterTable
2252 r"""__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2253 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2256 r"""__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2257 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2261 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2265 _IMP_domino.EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2266 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2267 r"""Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2269 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2271 def __init__(self, *args):
2273 __init__(EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2274 __init__(EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2276 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args))
2278 def get_version_info(self):
2279 r"""get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2280 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2281 __swig_destroy__ = _IMP_domino.delete_EquivalenceAndExclusionSubsetFilterTable
2284 r"""__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2285 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2288 r"""__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2289 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2293 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2297 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2298 class ListSubsetFilterTable(SubsetFilterTable):
2299 r"""Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2301 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2303 def __init__(self, pst):
2304 r"""__init__(ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2305 _IMP_domino.ListSubsetFilterTable_swiginit(self, _IMP_domino.new_ListSubsetFilterTable(pst))
2307 def get_ok_rate(self):
2308 r"""get_ok_rate(ListSubsetFilterTable self) -> double"""
2309 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2311 def get_number_of_particle_states(self, p):
2312 r"""get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2313 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2315 def set_allowed_states(self, p, states):
2316 r"""set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2317 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2319 def get_version_info(self):
2320 r"""get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2321 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2322 __swig_destroy__ = _IMP_domino.delete_ListSubsetFilterTable
2325 r"""__str__(ListSubsetFilterTable self) -> std::string"""
2326 return _IMP_domino.ListSubsetFilterTable___str__(self)
2329 r"""__repr__(ListSubsetFilterTable self) -> std::string"""
2330 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2334 return _object_cast_to_ListSubsetFilterTable(o)
2338 _IMP_domino.ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2339 class PairListSubsetFilterTable(SubsetFilterTable):
2340 r"""Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2342 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2345 r"""__init__(PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2346 _IMP_domino.PairListSubsetFilterTable_swiginit(self, _IMP_domino.new_PairListSubsetFilterTable())
2348 def set_allowed_states(self, p, states):
2349 r"""set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2350 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2352 def get_version_info(self):
2353 r"""get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2354 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2355 __swig_destroy__ = _IMP_domino.delete_PairListSubsetFilterTable
2358 r"""__str__(PairListSubsetFilterTable self) -> std::string"""
2359 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2362 r"""__repr__(PairListSubsetFilterTable self) -> std::string"""
2363 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2367 return _object_cast_to_PairListSubsetFilterTable(o)
2371 _IMP_domino.PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2372 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2373 r"""Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2375 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2377 def __init__(self, p, leaves_only=False):
2378 r"""__init__(ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable"""
2379 _IMP_domino.ProbabilisticSubsetFilterTable_swiginit(self, _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only))
2381 def get_version_info(self):
2382 r"""get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2383 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2384 __swig_destroy__ = _IMP_domino.delete_ProbabilisticSubsetFilterTable
2387 r"""__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2388 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2391 r"""__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2392 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2396 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2400 _IMP_domino.ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2402 r"""Proxy of C++ IMP::domino::AssignmentContainer class."""
2404 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2406 def __init__(self, *args):
2407 r"""__init__(AssignmentContainer self, std::string name="AssignmentContainer %1%") -> AssignmentContainer"""
2408 if self.__class__ == AssignmentContainer:
2412 _IMP_domino.AssignmentContainer_swiginit(self, _IMP_domino.new_AssignmentContainer(_self, *args))
2414 if self.__class__ != AssignmentContainer:
2415 _director_objects.register(self)
2420 def get_number_of_assignments(self):
2421 r"""get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2422 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2424 def get_assignment(self, i):
2425 r"""get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2426 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2428 def get_assignments(self, *args):
2430 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2431 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2433 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2435 def add_assignment(self, a):
2436 r"""add_assignment(AssignmentContainer self, Assignment a)"""
2437 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2439 def add_assignments(self, asgn):
2440 r"""add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2441 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2443 def get_particle_assignments(self, i):
2444 r"""get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2445 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2446 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2449 r"""__str__(AssignmentContainer self) -> std::string"""
2450 return _IMP_domino.AssignmentContainer___str__(self)
2453 r"""__repr__(AssignmentContainer self) -> std::string"""
2454 return _IMP_domino.AssignmentContainer___repr__(self)
2458 return _object_cast_to_AssignmentContainer(o)
2461 def get_type_name(self):
2462 return self.__class__.__name__
2463 def do_show(self, out):
2465 def get_version_info(self):
2466 if"IMP::domino" ==
"IMP":
2467 return VersionInfo(self.__module__,
2474 return _object_cast_to_AssignmentContainer(o)
2476 def __disown__(self):
2478 _IMP_domino.disown_AssignmentContainer(self)
2479 return weakref.proxy(self)
2481 def do_destroy(self):
2482 r"""do_destroy(AssignmentContainer self)"""
2483 return _IMP_domino.AssignmentContainer_do_destroy(self)
2486 _IMP_domino.AssignmentContainer_swigregister(AssignmentContainer)
2487 class PackedAssignmentContainer(AssignmentContainer):
2488 r"""Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2490 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2492 def __init__(self, *args):
2493 r"""__init__(PackedAssignmentContainer self, std::string name="PackedAssignmentContainer %1%") -> PackedAssignmentContainer"""
2494 _IMP_domino.PackedAssignmentContainer_swiginit(self, _IMP_domino.new_PackedAssignmentContainer(*args))
2496 def get_assignments(self, *args):
2498 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2499 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2501 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2503 def get_version_info(self):
2504 r"""get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2505 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2506 __swig_destroy__ = _IMP_domino.delete_PackedAssignmentContainer
2509 r"""__str__(PackedAssignmentContainer self) -> std::string"""
2510 return _IMP_domino.PackedAssignmentContainer___str__(self)
2513 r"""__repr__(PackedAssignmentContainer self) -> std::string"""
2514 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2518 return _object_cast_to_PackedAssignmentContainer(o)
2522 _IMP_domino.PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2523 class ListAssignmentContainer(AssignmentContainer):
2524 r"""Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2526 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2528 def __init__(self, *args):
2529 r"""__init__(ListAssignmentContainer self, std::string name="ListAssignmentContainer %1%") -> ListAssignmentContainer"""
2530 _IMP_domino.ListAssignmentContainer_swiginit(self, _IMP_domino.new_ListAssignmentContainer(*args))
2532 def get_assignments(self, *args):
2534 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2535 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2537 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2539 def get_version_info(self):
2540 r"""get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2541 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2542 __swig_destroy__ = _IMP_domino.delete_ListAssignmentContainer
2545 r"""__str__(ListAssignmentContainer self) -> std::string"""
2546 return _IMP_domino.ListAssignmentContainer___str__(self)
2549 r"""__repr__(ListAssignmentContainer self) -> std::string"""
2550 return _IMP_domino.ListAssignmentContainer___repr__(self)
2554 return _object_cast_to_ListAssignmentContainer(o)
2558 _IMP_domino.ListAssignmentContainer_swigregister(ListAssignmentContainer)
2559 class SampleAssignmentContainer(AssignmentContainer):
2560 r"""Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2562 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2564 def __init__(self, *args):
2565 r"""__init__(SampleAssignmentContainer self, unsigned int k, std::string name="SampleAssignmentContainer %1%") -> SampleAssignmentContainer"""
2566 _IMP_domino.SampleAssignmentContainer_swiginit(self, _IMP_domino.new_SampleAssignmentContainer(*args))
2568 def get_assignments(self, *args):
2570 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2571 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2573 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2575 def get_version_info(self):
2576 r"""get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2577 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2578 __swig_destroy__ = _IMP_domino.delete_SampleAssignmentContainer
2581 r"""__str__(SampleAssignmentContainer self) -> std::string"""
2582 return _IMP_domino.SampleAssignmentContainer___str__(self)
2585 r"""__repr__(SampleAssignmentContainer self) -> std::string"""
2586 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2590 return _object_cast_to_SampleAssignmentContainer(o)
2594 _IMP_domino.SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2595 class WriteHDF5AssignmentContainer(AssignmentContainer):
2596 r"""Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2598 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2600 def __init__(self, *args):
2602 __init__(WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2603 __init__(WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2605 _IMP_domino.WriteHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_WriteHDF5AssignmentContainer(*args))
2607 def set_cache_size(self, words):
2608 r"""set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2609 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2611 def get_assignments(self, *args):
2613 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2614 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2616 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2618 def get_version_info(self):
2619 r"""get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2620 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2621 __swig_destroy__ = _IMP_domino.delete_WriteHDF5AssignmentContainer
2624 r"""__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2625 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2628 r"""__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2629 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2633 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2637 _IMP_domino.WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2638 class ReadHDF5AssignmentContainer(AssignmentContainer):
2639 r"""Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2641 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2643 def __init__(self, dataset, s, all_particles, name):
2644 r"""__init__(ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2645 _IMP_domino.ReadHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name))
2647 def set_cache_size(self, words):
2648 r"""set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2649 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2651 def get_assignments(self, *args):
2653 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2654 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2656 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2658 def get_version_info(self):
2659 r"""get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2660 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2661 __swig_destroy__ = _IMP_domino.delete_ReadHDF5AssignmentContainer
2664 r"""__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2665 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2668 r"""__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2669 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2673 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2677 _IMP_domino.ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2678 class WriteAssignmentContainer(AssignmentContainer):
2679 r"""Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2681 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2683 def __init__(self, out_file, s, all_particles, name):
2684 r"""__init__(WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2685 _IMP_domino.WriteAssignmentContainer_swiginit(self, _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name))
2687 def set_cache_size(self, words):
2688 r"""set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2689 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2691 def get_assignments(self, *args):
2693 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2694 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2696 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2698 def get_version_info(self):
2699 r"""get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2700 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2701 __swig_destroy__ = _IMP_domino.delete_WriteAssignmentContainer
2704 r"""__str__(WriteAssignmentContainer self) -> std::string"""
2705 return _IMP_domino.WriteAssignmentContainer___str__(self)
2708 r"""__repr__(WriteAssignmentContainer self) -> std::string"""
2709 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2713 return _object_cast_to_WriteAssignmentContainer(o)
2717 _IMP_domino.WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2718 class ReadAssignmentContainer(AssignmentContainer):
2719 r"""Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2721 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2723 def __init__(self, out_file, s, all_particles, name):
2724 r"""__init__(ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2725 _IMP_domino.ReadAssignmentContainer_swiginit(self, _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name))
2727 def set_cache_size(self, words):
2728 r"""set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2729 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2731 def get_assignments(self, *args):
2733 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2734 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2736 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2738 def get_version_info(self):
2739 r"""get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2740 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2741 __swig_destroy__ = _IMP_domino.delete_ReadAssignmentContainer
2744 r"""__str__(ReadAssignmentContainer self) -> std::string"""
2745 return _IMP_domino.ReadAssignmentContainer___str__(self)
2748 r"""__repr__(ReadAssignmentContainer self) -> std::string"""
2749 return _IMP_domino.ReadAssignmentContainer___repr__(self)
2753 return _object_cast_to_ReadAssignmentContainer(o)
2757 _IMP_domino.ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2758 class RangeViewAssignmentContainer(AssignmentContainer):
2759 r"""Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2761 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2763 def __init__(self, inner, begin, end):
2764 r"""__init__(RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2765 _IMP_domino.RangeViewAssignmentContainer_swiginit(self, _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end))
2767 def get_assignments(self, *args):
2769 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2770 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2772 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2774 def get_version_info(self):
2775 r"""get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2776 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2777 __swig_destroy__ = _IMP_domino.delete_RangeViewAssignmentContainer
2780 r"""__str__(RangeViewAssignmentContainer self) -> std::string"""
2781 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2784 r"""__repr__(RangeViewAssignmentContainer self) -> std::string"""
2785 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2789 return _object_cast_to_RangeViewAssignmentContainer(o)
2793 _IMP_domino.RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
2794 class HeapAssignmentContainer(AssignmentContainer):
2795 r"""Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
2797 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2799 def __init__(self, *args):
2800 r"""__init__(HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name="HeapAssignmentContainer %1%") -> HeapAssignmentContainer"""
2801 _IMP_domino.HeapAssignmentContainer_swiginit(self, _IMP_domino.new_HeapAssignmentContainer(*args))
2803 def get_assignments(self, *args):
2805 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2806 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
2808 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
2810 def get_version_info(self):
2811 r"""get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
2812 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
2813 __swig_destroy__ = _IMP_domino.delete_HeapAssignmentContainer
2816 r"""__str__(HeapAssignmentContainer self) -> std::string"""
2817 return _IMP_domino.HeapAssignmentContainer___str__(self)
2820 r"""__repr__(HeapAssignmentContainer self) -> std::string"""
2821 return _IMP_domino.HeapAssignmentContainer___repr__(self)
2825 return _object_cast_to_HeapAssignmentContainer(o)
2829 _IMP_domino.HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
2830 class CappedAssignmentContainer(AssignmentContainer):
2831 r"""Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
2833 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2835 def __init__(self, contained, max_states, name):
2836 r"""__init__(CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
2837 _IMP_domino.CappedAssignmentContainer_swiginit(self, _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name))
2839 def get_assignments(self, *args):
2841 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2842 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
2844 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
2846 def get_version_info(self):
2847 r"""get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
2848 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
2849 __swig_destroy__ = _IMP_domino.delete_CappedAssignmentContainer
2852 r"""__str__(CappedAssignmentContainer self) -> std::string"""
2853 return _IMP_domino.CappedAssignmentContainer___str__(self)
2856 r"""__repr__(CappedAssignmentContainer self) -> std::string"""
2857 return _IMP_domino.CappedAssignmentContainer___repr__(self)
2861 return _object_cast_to_CappedAssignmentContainer(o)
2865 _IMP_domino.CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
2867 r"""Proxy of C++ IMP::domino::AssignmentsTable class."""
2869 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2871 def __init__(self, *args):
2872 r"""__init__(AssignmentsTable self, std::string name="AssignmentsTable %1%") -> AssignmentsTable"""
2873 if self.__class__ == AssignmentsTable:
2877 _IMP_domino.AssignmentsTable_swiginit(self, _IMP_domino.new_AssignmentsTable(_self, *args))
2879 if self.__class__ != AssignmentsTable:
2880 _director_objects.register(self)
2885 def load_assignments(self, s, ac):
2886 r"""load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
2887 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
2888 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
2891 r"""__str__(AssignmentsTable self) -> std::string"""
2892 return _IMP_domino.AssignmentsTable___str__(self)
2895 r"""__repr__(AssignmentsTable self) -> std::string"""
2896 return _IMP_domino.AssignmentsTable___repr__(self)
2900 return _object_cast_to_AssignmentsTable(o)
2903 def get_type_name(self):
2904 return self.__class__.__name__
2905 def do_show(self, out):
2907 def get_version_info(self):
2908 if"IMP::domino" ==
"IMP":
2909 return VersionInfo(self.__module__,
2916 return _object_cast_to_AssignmentsTable(o)
2918 def __disown__(self):
2920 _IMP_domino.disown_AssignmentsTable(self)
2921 return weakref.proxy(self)
2923 def do_destroy(self):
2924 r"""do_destroy(AssignmentsTable self)"""
2925 return _IMP_domino.AssignmentsTable_do_destroy(self)
2928 _IMP_domino.AssignmentsTable_swigregister(AssignmentsTable)
2929 class SimpleAssignmentsTable(AssignmentsTable):
2930 r"""Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
2932 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2934 def __init__(self, *args):
2935 r"""__init__(SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> SimpleAssignmentsTable"""
2936 _IMP_domino.SimpleAssignmentsTable_swiginit(self, _IMP_domino.new_SimpleAssignmentsTable(*args))
2938 def get_version_info(self):
2939 r"""get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
2940 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
2941 __swig_destroy__ = _IMP_domino.delete_SimpleAssignmentsTable
2944 r"""__str__(SimpleAssignmentsTable self) -> std::string"""
2945 return _IMP_domino.SimpleAssignmentsTable___str__(self)
2948 r"""__repr__(SimpleAssignmentsTable self) -> std::string"""
2949 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
2953 return _object_cast_to_SimpleAssignmentsTable(o)
2957 _IMP_domino.SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
2958 class RecursiveAssignmentsTable(AssignmentsTable):
2959 r"""Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
2961 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2963 def __init__(self, *args):
2964 r"""__init__(RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> RecursiveAssignmentsTable"""
2965 _IMP_domino.RecursiveAssignmentsTable_swiginit(self, _IMP_domino.new_RecursiveAssignmentsTable(*args))
2967 def get_version_info(self):
2968 r"""get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
2969 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
2970 __swig_destroy__ = _IMP_domino.delete_RecursiveAssignmentsTable
2973 r"""__str__(RecursiveAssignmentsTable self) -> std::string"""
2974 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
2977 r"""__repr__(RecursiveAssignmentsTable self) -> std::string"""
2978 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
2982 return _object_cast_to_RecursiveAssignmentsTable(o)
2986 _IMP_domino.RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
2987 class BranchAndBoundAssignmentsTable(AssignmentsTable):
2988 r"""Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
2990 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2992 def __init__(self, *args):
2993 r"""__init__(BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> BranchAndBoundAssignmentsTable"""
2994 _IMP_domino.BranchAndBoundAssignmentsTable_swiginit(self, _IMP_domino.new_BranchAndBoundAssignmentsTable(*args))
2996 def get_version_info(self):
2997 r"""get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
2998 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
2999 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundAssignmentsTable
3002 r"""__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3003 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3006 r"""__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3007 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3011 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3015 _IMP_domino.BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3016 class ListAssignmentsTable(AssignmentsTable):
3017 r"""Proxy of C++ IMP::domino::ListAssignmentsTable class."""
3019 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3021 def __init__(self, *args):
3022 r"""__init__(ListAssignmentsTable self, std::string name="ListAssignmentsTable %1%") -> ListAssignmentsTable"""
3023 _IMP_domino.ListAssignmentsTable_swiginit(self, _IMP_domino.new_ListAssignmentsTable(*args))
3025 def set_assignments(self, s, lsc):
3026 r"""set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3027 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3029 def get_version_info(self):
3030 r"""get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3031 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3032 __swig_destroy__ = _IMP_domino.delete_ListAssignmentsTable
3035 r"""__str__(ListAssignmentsTable self) -> std::string"""
3036 return _IMP_domino.ListAssignmentsTable___str__(self)
3039 r"""__repr__(ListAssignmentsTable self) -> std::string"""
3040 return _IMP_domino.ListAssignmentsTable___repr__(self)
3044 return _object_cast_to_ListAssignmentsTable(o)
3048 _IMP_domino.ListAssignmentsTable_swigregister(ListAssignmentsTable)
3051 r"""get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3052 return _IMP_domino.get_order(s, sft)
3053 class _SubsetGraphVertexIndex(object):
3054 r"""Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
3056 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3057 __repr__ = _swig_repr
3060 r"""__init__(_SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3061 _IMP_domino._SubsetGraphVertexIndex_swiginit(self, _IMP_domino.new__SubsetGraphVertexIndex())
3062 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3065 _IMP_domino._SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3066 class _InteractionGraphVertexIndex(object):
3067 r"""Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3069 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3070 __repr__ = _swig_repr
3073 r"""__init__(_InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3074 _IMP_domino._InteractionGraphVertexIndex_swiginit(self, _IMP_domino.new__InteractionGraphVertexIndex())
3075 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3078 _IMP_domino._InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3081 r"""get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3082 return _IMP_domino.get_subsets(g)
3085 r"""get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3086 return _IMP_domino.get_junction_tree(ig)
3088 def get_triangulated(input):
3089 r"""get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3090 return _IMP_domino.get_triangulated(input)
3091 class _CliqueGraphVertexIndex(object):
3092 r"""Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3094 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3095 __repr__ = _swig_repr
3098 r"""__init__(_CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3099 _IMP_domino._CliqueGraphVertexIndex_swiginit(self, _IMP_domino.new__CliqueGraphVertexIndex())
3100 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3103 _IMP_domino._CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3105 def get_clique_graph(input):
3106 r"""get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3107 return _IMP_domino.get_clique_graph(input)
3109 def get_minimum_spanning_tree(input):
3110 r"""get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3111 return _IMP_domino.get_minimum_spanning_tree(input)
3114 r"""get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3115 return _IMP_domino.get_restraint_graph(rs, pst)
3119 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3120 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3122 return _IMP_domino.get_interaction_graph(*args)
3125 r"""get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3126 return _IMP_domino.get_interaction_graph_geometry(ig)
3129 r"""get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3130 return _IMP_domino.get_subset_graph_geometry(ig)
3131 class _MergeTreeVertexIndex(object):
3132 r"""Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3134 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3135 __repr__ = _swig_repr
3138 r"""__init__(_MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3139 _IMP_domino._MergeTreeVertexIndex_swiginit(self, _IMP_domino.new__MergeTreeVertexIndex())
3140 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3143 _IMP_domino._MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3145 def show_as_graphviz(*args):
3147 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3148 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3149 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3150 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3152 return _IMP_domino.show_as_graphviz(*args)
3154 def get_vertex_index(*args):
3156 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3157 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3158 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3159 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3161 return _IMP_domino.get_vertex_index(*args)
3165 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3166 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3168 return _IMP_domino.get_merge_tree(*args)
3171 r"""get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3172 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3174 def get_is_merge_tree(tree, all, verbose=True):
3175 r"""get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool"""
3176 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3178 def write_merge_tree(tree, ps, out):
3179 r"""write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3180 return _IMP_domino.write_merge_tree(tree, ps, out)
3182 def read_merge_tree(input, ps):
3183 r"""read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3184 return _IMP_domino.read_merge_tree(input, ps)
3186 r"""Proxy of C++ IMP::domino::DiscreteSampler class."""
3188 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3190 def get_subset_filter_tables_to_use(self, rs, pst):
3191 r"""get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3192 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3194 def get_assignments_table_to_use(self, *args):
3195 r"""get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max=std::numeric_limits< int >::max()) -> AssignmentsTable"""
3196 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3198 def do_sample(self):
3199 r"""do_sample(DiscreteSampler self) -> ConfigurationSet"""
3200 return _IMP_domino.DiscreteSampler_do_sample(self)
3202 def do_get_sample_assignments(self, all):
3203 r"""do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3204 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3206 def get_restraints(self):
3207 r"""get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3208 return _IMP_domino.DiscreteSampler_get_restraints(self)
3210 def __init__(self, m, pst, name):
3211 r"""__init__(DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3212 if self.__class__ == DiscreteSampler:
3216 _IMP_domino.DiscreteSampler_swiginit(self, _IMP_domino.new_DiscreteSampler(_self, m, pst, name))
3218 if self.__class__ != DiscreteSampler:
3219 _director_objects.register(self)
3223 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3225 def set_restraints(self, rs):
3226 r"""set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3227 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3229 def set_particle_states(self, p, se):
3230 r"""set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3231 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3233 def get_sample_assignments(self, s):
3234 r"""get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3235 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3237 def set_particle_states_table(self, cse):
3238 r"""set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3239 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3241 def set_assignments_table(self, sst):
3242 r"""set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3243 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3245 def get_particle_states_table(self):
3246 r"""get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3247 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3248 def __get_subset_filter_tables(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_subset_filter_tables, getfunc=self.get_subset_filter_table, erasefunc=self.erase_subset_filter_table, appendfunc=self.add_subset_filter_table, extendfunc=self.add_subset_filter_tables, clearfunc=self.clear_subset_filter_tables, indexfunc=self._python_index_subset_filter_table)
3249 def __set_subset_filter_tables(self, obj): IMP._list_util.set_varlist(self.subset_filter_tables, obj)
3250 def __del_subset_filter_tables(self): IMP._list_util.del_varlist(self.subset_filter_tables)
3251 subset_filter_tables = property(__get_subset_filter_tables, __set_subset_filter_tables, __del_subset_filter_tables, doc=
"List of ##ucnames")
3253 def remove_subset_filter_table(self, d):
3254 r"""remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3255 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3257 def _python_index_subset_filter_table(self, d, start, stop):
3258 r"""_python_index_subset_filter_table(DiscreteSampler self, SubsetFilterTable d, unsigned int start, unsigned int stop) -> unsigned int"""
3259 return _IMP_domino.DiscreteSampler__python_index_subset_filter_table(self, d, start, stop)
3261 def remove_subset_filter_tables(self, d):
3262 r"""remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3263 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3265 def set_subset_filter_tables(self, ps):
3266 r"""set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3267 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3269 def set_subset_filter_tables_order(self, objs):
3270 r"""set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3271 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3273 def add_subset_filter_table(self, obj):
3274 r"""add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3275 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3277 def add_subset_filter_tables(self, objs):
3278 r"""add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3279 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3281 def clear_subset_filter_tables(self):
3282 r"""clear_subset_filter_tables(DiscreteSampler self)"""
3283 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3285 def get_number_of_subset_filter_tables(self):
3286 r"""get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3287 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3289 def get_has_subset_filter_tables(self):
3290 r"""get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3291 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3293 def get_subset_filter_table(self, i):
3294 r"""get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3295 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3297 def get_subset_filter_tables(self):
3298 r"""get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3299 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3301 def erase_subset_filter_table(self, i):
3302 r"""erase_subset_filter_table(DiscreteSampler self, unsigned int i)"""
3303 return _IMP_domino.DiscreteSampler_erase_subset_filter_table(self, i)
3305 def reserve_subset_filter_tables(self, sz):
3306 r"""reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3307 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3309 def set_maximum_number_of_assignments(self, mx):
3310 r"""set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3311 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3313 def get_maximum_number_of_assignments(self):
3314 r"""get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3315 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3318 r"""__str__(DiscreteSampler self) -> std::string"""
3319 return _IMP_domino.DiscreteSampler___str__(self)
3322 r"""__repr__(DiscreteSampler self) -> std::string"""
3323 return _IMP_domino.DiscreteSampler___repr__(self)
3327 return _object_cast_to_DiscreteSampler(o)
3330 def get_type_name(self):
3331 return self.__class__.__name__
3332 def do_show(self, out):
3334 def get_version_info(self):
3335 if"IMP::domino" ==
"IMP":
3336 return VersionInfo(self.__module__,
3343 return _object_cast_to_DiscreteSampler(o)
3345 def __disown__(self):
3347 _IMP_domino.disown_DiscreteSampler(self)
3348 return weakref.proxy(self)
3350 def do_destroy(self):
3351 r"""do_destroy(DiscreteSampler self)"""
3352 return _IMP_domino.DiscreteSampler_do_destroy(self)
3355 _IMP_domino.DiscreteSampler_swigregister(DiscreteSampler)
3356 class DominoSampler(DiscreteSampler):
3357 r"""Proxy of C++ IMP::domino::DominoSampler class."""
3359 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3361 def __init__(self, *args):
3363 __init__(DominoSampler self, Model m, std::string name="DominoSampler %1%") -> DominoSampler
3364 __init__(DominoSampler self, Model m, ParticleStatesTable pst, std::string name="DominoSampler %1%") -> DominoSampler
3366 _IMP_domino.DominoSampler_swiginit(self, _IMP_domino.new_DominoSampler(*args))
3368 def do_get_sample_assignments(self, known):
3369 r"""do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3370 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3372 def get_version_info(self):
3373 r"""get_version_info(DominoSampler self) -> VersionInfo"""
3374 return _IMP_domino.DominoSampler_get_version_info(self)
3375 __swig_destroy__ = _IMP_domino.delete_DominoSampler
3377 def set_merge_tree(self, mt):
3378 r"""set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3379 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3381 def set_use_cross_subset_filtering(self, tf):
3382 r"""set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3383 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3385 def get_number_of_assignments_for_vertex(self, tree_vertex):
3386 r"""get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3387 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3389 def get_sample_assignments_for_vertex(self, tree_vertex):
3390 r"""get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3391 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3393 def get_vertex_assignments(self, *args):
3395 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3396 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3398 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3400 def load_vertex_assignments(self, *args):
3402 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3403 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3405 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3408 r"""__str__(DominoSampler self) -> std::string"""
3409 return _IMP_domino.DominoSampler___str__(self)
3412 r"""__repr__(DominoSampler self) -> std::string"""
3413 return _IMP_domino.DominoSampler___repr__(self)
3417 return _object_cast_to_DominoSampler(o)
3421 _IMP_domino.DominoSampler_swigregister(DominoSampler)
3422 class BranchAndBoundSampler(DiscreteSampler):
3423 r"""Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3425 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3427 def __init__(self, *args):
3429 __init__(BranchAndBoundSampler self, Model m, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3430 __init__(BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3432 _IMP_domino.BranchAndBoundSampler_swiginit(self, _IMP_domino.new_BranchAndBoundSampler(*args))
3434 def do_get_sample_assignments(self, known):
3435 r"""do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3436 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3438 def get_version_info(self):
3439 r"""get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3440 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3441 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundSampler
3444 r"""__str__(BranchAndBoundSampler self) -> std::string"""
3445 return _IMP_domino.BranchAndBoundSampler___str__(self)
3448 r"""__repr__(BranchAndBoundSampler self) -> std::string"""
3449 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3453 return _object_cast_to_BranchAndBoundSampler(o)
3457 _IMP_domino.BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3460 r"""load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3461 return _IMP_domino.load_particle_states(s, ss, pst)
3463 def get_restraints(s, pst, dg, rs):
3464 r"""get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3465 return _IMP_domino.get_restraints(s, pst, dg, rs)
3467 def get_index(particles, subset, excluded):
3468 r"""get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3469 return _IMP_domino.get_index(particles, subset, excluded)
3472 r"""get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3473 return _IMP_domino.get_partial_index(particles, subset, excluded)
3476 r"""get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3477 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3480 r"""get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3481 return _IMP_domino.get_embedding(s, a, pst)
3484 r"""get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3485 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3488 r"""get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3489 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3492 r"""load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3493 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3496 r"""load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3497 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3500 r"""load_merged_assignments_random_order(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, unsigned int maximum_tries, AssignmentContainer ret)"""
3501 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3504 r"""get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3505 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3507 r"""Proxy of C++ IMP::domino::DependencyScoreState class."""
3509 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3511 def __init__(self, m):
3512 r"""__init__(DependencyScoreState self, Model m) -> DependencyScoreState"""
3513 _IMP_domino.DependencyScoreState_swiginit(self, _IMP_domino.new_DependencyScoreState(m))
3515 def set_input_particles(self, pt):
3516 r"""set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3517 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3519 def set_output_particles(self, pt):
3520 r"""set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3521 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3523 def set_input_containers(self, pt):
3524 r"""set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3525 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3527 def set_output_containers(self, pt):
3528 r"""set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3529 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3531 def get_version_info(self):
3532 r"""get_version_info(DependencyScoreState self) -> VersionInfo"""
3533 return _IMP_domino.DependencyScoreState_get_version_info(self)
3534 __swig_destroy__ = _IMP_domino.delete_DependencyScoreState
3537 r"""__str__(DependencyScoreState self) -> std::string"""
3538 return _IMP_domino.DependencyScoreState___str__(self)
3541 r"""__repr__(DependencyScoreState self) -> std::string"""
3542 return _IMP_domino.DependencyScoreState___repr__(self)
3546 return _object_cast_to_DependencyScoreState(o)
3550 _IMP_domino.DependencyScoreState_swigregister(DependencyScoreState)
3552 def _get_ints_list(input):
3553 r"""_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3554 return _IMP_domino._get_ints_list(input)
3557 r"""get_module_version() -> std::string const"""
3558 return _IMP_domino.get_module_version()
3561 r"""get_example_path(std::string fname) -> std::string"""
3562 return _IMP_domino.get_example_path(fname)
3565 r"""get_data_path(std::string fname) -> std::string"""
3566 return _IMP_domino.get_data_path(fname)
3568 from .
import _version_check
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.
Make CGAL functionality available to IMP.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
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.
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.
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.
ScoreStates maintain invariants in the Model.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Ints get_partial_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
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.
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
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)