14 from sys
import version_info
as _swig_python_version_info
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_DOMINO_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
77 r"""value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
78 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
81 r"""incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
82 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
86 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
94 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
98 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
101 r"""next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
102 return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
105 r"""__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
106 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
109 r"""previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
110 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
114 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
118 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
122 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
126 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
130 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
134 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
139 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
146 _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
153 IMP_DEBUG = _IMP_domino.IMP_DEBUG
155 IMP_RELEASE = _IMP_domino.IMP_RELEASE
157 IMP_SILENT = _IMP_domino.IMP_SILENT
159 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
161 IMP_TERSE = _IMP_domino.IMP_TERSE
163 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
165 IMP_MEMORY = _IMP_domino.IMP_MEMORY
167 IMP_NONE = _IMP_domino.IMP_NONE
169 IMP_USAGE = _IMP_domino.IMP_USAGE
171 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_domino.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_domino.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_domino.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_domino.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_KERNEL_HAS_BOOST_SYSTEM
189 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
191 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
193 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
195 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
199 class _DirectorObjects:
200 """@internal Simple class to keep references to director objects
201 to prevent premature deletion."""
204 def register(self, obj):
205 """Take a reference to a director object; will only work for
206 refcounted C++ classes"""
207 if hasattr(obj,
'get_ref_count'):
208 self._objects.append(obj)
210 """Only drop our reference and allow cleanup by Python if no other
211 Python references exist (we hold 3 references: one in self._objects,
212 one in x, and one in the argument list for getrefcount) *and* no
213 other C++ references exist (the Python object always holds one)"""
214 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
215 or x.get_ref_count() > 1]
219 def get_object_count(self):
220 """Get number of director objects (useful for testing only)"""
221 return len(self._objects)
222 _director_objects = _DirectorObjects()
224 class _ostream(object):
225 r"""Proxy of C++ std::ostream class."""
227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
229 def __init__(self, *args, **kwargs):
230 raise AttributeError(
"No constructor defined")
231 __repr__ = _swig_repr
233 def write(self, osa_buf):
234 r"""write(_ostream self, char const * osa_buf)"""
235 return _IMP_domino._ostream_write(self, osa_buf)
238 _IMP_domino._ostream_swigregister(_ostream)
239 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
242 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
246 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
248 IMP_CGAL_HAS_NUMPY = _IMP_domino.IMP_CGAL_HAS_NUMPY
250 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
263 IMP_ALGEBRA_HAS_NUMPY = _IMP_domino.IMP_ALGEBRA_HAS_NUMPY
265 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
267 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
270 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
272 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
274 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
276 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
278 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
280 IMP_DISPLAY_HAS_NUMPY = _IMP_domino.IMP_DISPLAY_HAS_NUMPY
282 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
285 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
287 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
289 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
291 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
293 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
295 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
297 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_NUMPY
299 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
302 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
304 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
306 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
308 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
310 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
312 IMP_STATISTICS_HAS_NUMPY = _IMP_domino.IMP_STATISTICS_HAS_NUMPY
314 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
317 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
319 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
321 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
323 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
325 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
327 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
329 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
331 IMP_CORE_HAS_NUMPY = _IMP_domino.IMP_CORE_HAS_NUMPY
333 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
336 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
338 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
340 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
342 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
344 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
346 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
348 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
350 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
352 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
354 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
356 IMP_CONTAINER_HAS_NUMPY = _IMP_domino.IMP_CONTAINER_HAS_NUMPY
358 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
360 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
362 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
364 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
367 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
369 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
371 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
373 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
375 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
377 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
379 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
381 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
383 IMP_ATOM_HAS_NUMPY = _IMP_domino.IMP_ATOM_HAS_NUMPY
385 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
387 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
389 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
391 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
393 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
395 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
398 IMP_EM_HAS_IMP_CGAL = _IMP_domino.IMP_EM_HAS_IMP_CGAL
400 IMP_EM_HAS_IMP_CONTAINER = _IMP_domino.IMP_EM_HAS_IMP_CONTAINER
402 IMP_EM_HAS_IMP_DISPLAY = _IMP_domino.IMP_EM_HAS_IMP_DISPLAY
404 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_EM_HAS_IMP_SCORE_FUNCTOR
406 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_FILESYSTEM
408 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
410 IMP_EM_HAS_BOOST_RANDOM = _IMP_domino.IMP_EM_HAS_BOOST_RANDOM
412 IMP_EM_HAS_BOOST_REGEX = _IMP_domino.IMP_EM_HAS_BOOST_REGEX
414 IMP_EM_HAS_CGAL = _IMP_domino.IMP_EM_HAS_CGAL
416 IMP_EM_HAS_HDF5 = _IMP_domino.IMP_EM_HAS_HDF5
418 IMP_EM_HAS_NUMPY = _IMP_domino.IMP_EM_HAS_NUMPY
420 IMP_EM_HAS_PYTHON_IHM = _IMP_domino.IMP_EM_HAS_PYTHON_IHM
422 IMPEM_SHOW_WARNINGS = _IMP_domino.IMPEM_SHOW_WARNINGS
425 IMP_SAXS_HAS_IMP_CGAL = _IMP_domino.IMP_SAXS_HAS_IMP_CGAL
427 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_domino.IMP_SAXS_HAS_IMP_CONTAINER
429 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_domino.IMP_SAXS_HAS_IMP_DISPLAY
431 IMP_SAXS_HAS_IMP_KERNEL = _IMP_domino.IMP_SAXS_HAS_IMP_KERNEL
433 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
435 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_FILESYSTEM
437 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
439 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_domino.IMP_SAXS_HAS_BOOST_RANDOM
441 IMP_SAXS_HAS_BOOST_REGEX = _IMP_domino.IMP_SAXS_HAS_BOOST_REGEX
443 IMP_SAXS_HAS_CGAL = _IMP_domino.IMP_SAXS_HAS_CGAL
445 IMP_SAXS_HAS_HDF5 = _IMP_domino.IMP_SAXS_HAS_HDF5
447 IMP_SAXS_HAS_NUMPY = _IMP_domino.IMP_SAXS_HAS_NUMPY
449 IMP_SAXS_HAS_PYTHON_IHM = _IMP_domino.IMP_SAXS_HAS_PYTHON_IHM
451 IMPSAXS_SHOW_WARNINGS = _IMP_domino.IMPSAXS_SHOW_WARNINGS
454 IMP_ISD_HAS_IMP_CGAL = _IMP_domino.IMP_ISD_HAS_IMP_CGAL
456 IMP_ISD_HAS_IMP_DISPLAY = _IMP_domino.IMP_ISD_HAS_IMP_DISPLAY
458 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
460 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_FILESYSTEM
462 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
464 IMP_ISD_HAS_BOOST_RANDOM = _IMP_domino.IMP_ISD_HAS_BOOST_RANDOM
466 IMP_ISD_HAS_BOOST_REGEX = _IMP_domino.IMP_ISD_HAS_BOOST_REGEX
468 IMP_ISD_HAS_CGAL = _IMP_domino.IMP_ISD_HAS_CGAL
470 IMP_ISD_HAS_HDF5 = _IMP_domino.IMP_ISD_HAS_HDF5
472 IMP_ISD_HAS_NUMPY = _IMP_domino.IMP_ISD_HAS_NUMPY
474 IMP_ISD_HAS_PYTHON_IHM = _IMP_domino.IMP_ISD_HAS_PYTHON_IHM
476 IMPISD_SHOW_WARNINGS = _IMP_domino.IMPISD_SHOW_WARNINGS
479 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
481 IMP_RMF_HAS_IMP_EM = _IMP_domino.IMP_RMF_HAS_IMP_EM
483 IMP_RMF_HAS_IMP_SAXS = _IMP_domino.IMP_RMF_HAS_IMP_SAXS
485 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
487 IMP_RMF_HAS_IMP_STATISTICS = _IMP_domino.IMP_RMF_HAS_IMP_STATISTICS
489 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
491 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
493 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
495 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
497 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
499 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
501 IMP_RMF_HAS_NUMPY = _IMP_domino.IMP_RMF_HAS_NUMPY
503 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
505 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
509 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
511 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
513 IMP_DOMINO_HAS_IMP_EM = _IMP_domino.IMP_DOMINO_HAS_IMP_EM
515 IMP_DOMINO_HAS_IMP_ISD = _IMP_domino.IMP_DOMINO_HAS_IMP_ISD
517 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
519 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
521 IMP_DOMINO_HAS_IMP_SAXS = _IMP_domino.IMP_DOMINO_HAS_IMP_SAXS
523 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
525 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
527 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
529 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
531 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
533 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
535 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
537 IMP_DOMINO_HAS_NUMPY = _IMP_domino.IMP_DOMINO_HAS_NUMPY
539 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
541 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
543 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
547 _object_types.append(
"DiscreteSampler")
550 def _object_cast_to_DiscreteSampler(o):
551 r"""_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
552 return _IMP_domino._object_cast_to_DiscreteSampler(o)
554 _object_types.append(
"ParticleStates")
557 def _object_cast_to_ParticleStates(o):
558 r"""_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
559 return _IMP_domino._object_cast_to_ParticleStates(o)
561 _object_types.append(
"SubsetFilter")
564 def _object_cast_to_SubsetFilter(o):
565 r"""_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
566 return _IMP_domino._object_cast_to_SubsetFilter(o)
568 _object_types.append(
"SubsetFilterTable")
571 def _object_cast_to_SubsetFilterTable(o):
572 r"""_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
573 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
575 _object_types.append(
"AssignmentsTable")
578 def _object_cast_to_AssignmentsTable(o):
579 r"""_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
580 return _IMP_domino._object_cast_to_AssignmentsTable(o)
582 _object_types.append(
"AssignmentContainer")
585 def _object_cast_to_AssignmentContainer(o):
586 r"""_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
587 return _IMP_domino._object_cast_to_AssignmentContainer(o)
589 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex > class."""
591 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
592 __repr__ = _swig_repr
595 r"""__init__(InteractionGraph self) -> InteractionGraph"""
596 _IMP_domino.InteractionGraph_swiginit(self, _IMP_domino.new_InteractionGraph())
599 r"""get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
600 return _IMP_domino.InteractionGraph_get_graph(self)
603 r"""get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
604 return _IMP_domino.InteractionGraph_get_vertices(self)
606 def get_vertex_name(self, i):
607 r"""get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
608 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
610 def get_in_neighbors(self, v):
611 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"""
612 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
614 def get_out_neighbors(self, v):
615 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"""
616 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
619 r"""show_graphviz(InteractionGraph self, _ostream out=std::cout)"""
620 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
622 def get_graphviz_string(self):
623 r"""get_graphviz_string(InteractionGraph self) -> std::string"""
624 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
626 def add_edge(self, v0, v1):
627 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)"""
628 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
630 def add_vertex(self, l):
631 r"""add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
632 return _IMP_domino.InteractionGraph_add_vertex(self, l)
634 def remove_vertex(self, l):
635 r"""remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
636 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
637 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
640 _IMP_domino.InteractionGraph_swigregister(InteractionGraph)
642 _value_types.append(
"InteractionGraph")
645 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex > class."""
647 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
648 __repr__ = _swig_repr
651 r"""__init__(SubsetGraph self) -> SubsetGraph"""
652 _IMP_domino.SubsetGraph_swiginit(self, _IMP_domino.new_SubsetGraph())
655 r"""get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
656 return _IMP_domino.SubsetGraph_get_graph(self)
659 r"""get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
660 return _IMP_domino.SubsetGraph_get_vertices(self)
662 def get_vertex_name(self, i):
663 r"""get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
664 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
666 def get_in_neighbors(self, v):
667 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"""
668 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
670 def get_out_neighbors(self, v):
671 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"""
672 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
675 r"""show_graphviz(SubsetGraph self, _ostream out=std::cout)"""
676 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
678 def get_graphviz_string(self):
679 r"""get_graphviz_string(SubsetGraph self) -> std::string"""
680 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
682 def add_edge(self, v0, v1):
683 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)"""
684 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
686 def add_vertex(self, l):
687 r"""add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
688 return _IMP_domino.SubsetGraph_add_vertex(self, l)
690 def remove_vertex(self, l):
691 r"""remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
692 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
693 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
696 _IMP_domino.SubsetGraph_swigregister(SubsetGraph)
698 _value_types.append(
"SubsetGraph")
701 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex > class."""
703 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
704 __repr__ = _swig_repr
707 r"""__init__(CliqueGraph self) -> CliqueGraph"""
708 _IMP_domino.CliqueGraph_swiginit(self, _IMP_domino.new_CliqueGraph())
711 r"""get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
712 return _IMP_domino.CliqueGraph_get_graph(self)
715 r"""get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
716 return _IMP_domino.CliqueGraph_get_vertices(self)
718 def get_vertex_name(self, i):
719 r"""get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
720 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
722 def get_in_neighbors(self, v):
723 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"""
724 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
726 def get_out_neighbors(self, v):
727 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"""
728 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
731 r"""show_graphviz(CliqueGraph self, _ostream out=std::cout)"""
732 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
734 def get_graphviz_string(self):
735 r"""get_graphviz_string(CliqueGraph self) -> std::string"""
736 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
738 def add_edge(self, v0, v1):
739 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)"""
740 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
742 def add_vertex(self, l):
743 r"""add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
744 return _IMP_domino.CliqueGraph_add_vertex(self, l)
746 def remove_vertex(self, l):
747 r"""remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
748 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
749 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
752 _IMP_domino.CliqueGraph_swigregister(CliqueGraph)
754 _value_types.append(
"CliqueGraph")
757 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex > class."""
759 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
760 __repr__ = _swig_repr
763 r"""__init__(MergeTree self) -> MergeTree"""
764 _IMP_domino.MergeTree_swiginit(self, _IMP_domino.new_MergeTree())
767 r"""get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
768 return _IMP_domino.MergeTree_get_graph(self)
771 r"""get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
772 return _IMP_domino.MergeTree_get_vertices(self)
774 def get_vertex_name(self, i):
775 r"""get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
776 return _IMP_domino.MergeTree_get_vertex_name(self, i)
778 def get_in_neighbors(self, v):
779 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"""
780 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
782 def get_out_neighbors(self, v):
783 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"""
784 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
787 r"""show_graphviz(MergeTree self, _ostream out=std::cout)"""
788 return _IMP_domino.MergeTree_show_graphviz(self, *args)
790 def get_graphviz_string(self):
791 r"""get_graphviz_string(MergeTree self) -> std::string"""
792 return _IMP_domino.MergeTree_get_graphviz_string(self)
794 def add_edge(self, v0, v1):
795 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)"""
796 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
798 def add_vertex(self, l):
799 r"""add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
800 return _IMP_domino.MergeTree_add_vertex(self, l)
802 def remove_vertex(self, l):
803 r"""remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
804 return _IMP_domino.MergeTree_remove_vertex(self, l)
805 __swig_destroy__ = _IMP_domino.delete_MergeTree
808 _IMP_domino.MergeTree_swigregister(MergeTree)
810 _value_types.append(
"MergeTree")
813 _object_types.append(
"BranchAndBoundSampler")
816 def _object_cast_to_BranchAndBoundSampler(o):
817 r"""_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
818 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
820 _object_types.append(
"BranchAndBoundAssignmentsTable")
823 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
824 r"""_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
825 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
827 _object_types.append(
"RecursiveAssignmentsTable")
830 def _object_cast_to_RecursiveAssignmentsTable(o):
831 r"""_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
832 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
834 _object_types.append(
"SimpleAssignmentsTable")
837 def _object_cast_to_SimpleAssignmentsTable(o):
838 r"""_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
839 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
841 _object_types.append(
"CompoundStates")
844 def _object_cast_to_CompoundStates(o):
845 r"""_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
846 return _IMP_domino._object_cast_to_CompoundStates(o)
848 _object_types.append(
"DisjointSetsSubsetFilterTable")
851 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
852 r"""_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
853 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
855 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
858 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
859 r"""_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
860 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
862 _object_types.append(
"DominoSampler")
865 def _object_cast_to_DominoSampler(o):
866 r"""_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
867 return _IMP_domino._object_cast_to_DominoSampler(o)
869 _object_types.append(
"EqualitySubsetFilterTable")
872 def _object_cast_to_EqualitySubsetFilterTable(o):
873 r"""_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
874 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
876 _object_types.append(
"EquivalenceSubsetFilterTable")
879 def _object_cast_to_EquivalenceSubsetFilterTable(o):
880 r"""_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
881 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
883 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
886 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
887 r"""_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
888 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
890 _object_types.append(
"ExclusionSubsetFilterTable")
893 def _object_cast_to_ExclusionSubsetFilterTable(o):
894 r"""_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
895 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
897 _object_types.append(
"IndexStates")
900 def _object_cast_to_IndexStates(o):
901 r"""_object_cast_to_IndexStates(Object o) -> IndexStates"""
902 return _IMP_domino._object_cast_to_IndexStates(o)
904 _object_types.append(
"ListSubsetFilterTable")
907 def _object_cast_to_ListSubsetFilterTable(o):
908 r"""_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
909 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
911 _object_types.append(
"ListAssignmentsTable")
914 def _object_cast_to_ListAssignmentsTable(o):
915 r"""_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
916 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
918 _object_types.append(
"ParticleStatesTable")
921 def _object_cast_to_ParticleStatesTable(o):
922 r"""_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
923 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
925 _object_types.append(
"RecursiveStates")
928 def _object_cast_to_RecursiveStates(o):
929 r"""_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
930 return _IMP_domino._object_cast_to_RecursiveStates(o)
932 _object_types.append(
"ProbabilisticSubsetFilterTable")
935 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
936 r"""_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
937 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
939 _object_types.append(
"RestraintScoreSubsetFilterTable")
942 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
943 r"""_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
944 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
946 _object_types.append(
"RigidBodyStates")
949 def _object_cast_to_RigidBodyStates(o):
950 r"""_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
951 return _IMP_domino._object_cast_to_RigidBodyStates(o)
953 _object_types.append(
"XYZStates")
956 def _object_cast_to_XYZStates(o):
957 r"""_object_cast_to_XYZStates(Object o) -> XYZStates"""
958 return _IMP_domino._object_cast_to_XYZStates(o)
960 _object_types.append(
"NestedRigidBodyStates")
963 def _object_cast_to_NestedRigidBodyStates(o):
964 r"""_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
965 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
967 _object_types.append(
"DependencyScoreState")
970 def _object_cast_to_DependencyScoreState(o):
971 r"""_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
972 return _IMP_domino._object_cast_to_DependencyScoreState(o)
974 _object_types.append(
"PairListSubsetFilterTable")
977 def _object_cast_to_PairListSubsetFilterTable(o):
978 r"""_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
979 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
981 _object_types.append(
"ListAssignmentContainer")
984 def _object_cast_to_ListAssignmentContainer(o):
985 r"""_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
986 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
988 _object_types.append(
"PackedAssignmentContainer")
991 def _object_cast_to_PackedAssignmentContainer(o):
992 r"""_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
993 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
995 _object_types.append(
"HeapAssignmentContainer")
998 def _object_cast_to_HeapAssignmentContainer(o):
999 r"""_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
1000 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
1002 _object_types.append(
"RangeViewAssignmentContainer")
1005 def _object_cast_to_RangeViewAssignmentContainer(o):
1006 r"""_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
1007 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
1009 _object_types.append(
"SampleAssignmentContainer")
1012 def _object_cast_to_SampleAssignmentContainer(o):
1013 r"""_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1014 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1016 _object_types.append(
"PermutationStates")
1019 def _object_cast_to_PermutationStates(o):
1020 r"""_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1021 return _IMP_domino._object_cast_to_PermutationStates(o)
1023 _object_types.append(
"WriteHDF5AssignmentContainer")
1026 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1027 r"""_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1028 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1030 _object_types.append(
"ReadHDF5AssignmentContainer")
1033 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1034 r"""_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1035 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1037 _object_types.append(
"ReadAssignmentContainer")
1040 def _object_cast_to_ReadAssignmentContainer(o):
1041 r"""_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1042 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1044 _object_types.append(
"WriteAssignmentContainer")
1047 def _object_cast_to_WriteAssignmentContainer(o):
1048 r"""_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1049 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1051 _object_types.append(
"CappedAssignmentContainer")
1054 def _object_cast_to_CappedAssignmentContainer(o):
1055 r"""_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1056 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1058 _object_types.append(
"RestraintCache")
1061 def _object_cast_to_RestraintCache(o):
1062 r"""_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1063 return _IMP_domino._object_cast_to_RestraintCache(o)
1066 _plural_types.append(
"Subsets")
1067 _value_types.append(
"Subset")
1071 _plural_types.append(
"Assignments")
1072 _value_types.append(
"Assignment")
1076 _plural_types.append(
"Slices")
1077 _value_types.append(
"Slice")
1081 _plural_types.append(
"Orders")
1082 _value_types.append(
"Order")
1084 class _IntArray(IMP._Value):
1085 r"""Proxy of C++ IMP::ConstVector< int > class."""
1087 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1088 __repr__ = _swig_repr
1089 __swig_destroy__ = _IMP_domino.delete__IntArray
1091 def __init__(self, *args):
1093 __init__(_IntArray self, unsigned int sz, int fill) -> _IntArray
1094 __init__(_IntArray self) -> _IntArray
1096 _IMP_domino._IntArray_swiginit(self, _IMP_domino.new__IntArray(*args))
1098 def __cmp__(self, o):
1099 r"""__cmp__(_IntArray self, _IntArray o) -> int"""
1100 return _IMP_domino._IntArray___cmp__(self, o)
1102 def __eq__(self, o):
1103 r"""__eq__(_IntArray self, _IntArray o) -> bool"""
1104 return _IMP_domino._IntArray___eq__(self, o)
1106 def __ne__(self, o):
1107 r"""__ne__(_IntArray self, _IntArray o) -> bool"""
1108 return _IMP_domino._IntArray___ne__(self, o)
1110 def __lt__(self, o):
1111 r"""__lt__(_IntArray self, _IntArray o) -> bool"""
1112 return _IMP_domino._IntArray___lt__(self, o)
1114 def __gt__(self, o):
1115 r"""__gt__(_IntArray self, _IntArray o) -> bool"""
1116 return _IMP_domino._IntArray___gt__(self, o)
1118 def __ge__(self, o):
1119 r"""__ge__(_IntArray self, _IntArray o) -> bool"""
1120 return _IMP_domino._IntArray___ge__(self, o)
1122 def __le__(self, o):
1123 r"""__le__(_IntArray self, _IntArray o) -> bool"""
1124 return _IMP_domino._IntArray___le__(self, o)
1126 def __getitem__(self, i):
1127 r"""__getitem__(_IntArray self, unsigned int i) -> int"""
1128 return _IMP_domino._IntArray___getitem__(self, i)
1131 r"""__len__(_IntArray self) -> unsigned int"""
1132 return _IMP_domino._IntArray___len__(self)
1134 def show(self, *args):
1135 r"""show(_IntArray self, _ostream out=std::cout)"""
1136 return _IMP_domino._IntArray_show(self, *args)
1139 r"""__hash__(_IntArray self) -> std::size_t"""
1140 return _IMP_domino._IntArray___hash__(self)
1143 _IMP_domino._IntArray_swigregister(_IntArray)
1144 class _UIntArray(IMP._Value):
1145 r"""Proxy of C++ IMP::ConstVector< unsigned int > class."""
1147 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1148 __repr__ = _swig_repr
1149 __swig_destroy__ = _IMP_domino.delete__UIntArray
1151 def __init__(self, *args):
1153 __init__(_UIntArray self, unsigned int sz, unsigned int fill) -> _UIntArray
1154 __init__(_UIntArray self) -> _UIntArray
1156 _IMP_domino._UIntArray_swiginit(self, _IMP_domino.new__UIntArray(*args))
1158 def __cmp__(self, o):
1159 r"""__cmp__(_UIntArray self, _UIntArray o) -> int"""
1160 return _IMP_domino._UIntArray___cmp__(self, o)
1162 def __eq__(self, o):
1163 r"""__eq__(_UIntArray self, _UIntArray o) -> bool"""
1164 return _IMP_domino._UIntArray___eq__(self, o)
1166 def __ne__(self, o):
1167 r"""__ne__(_UIntArray self, _UIntArray o) -> bool"""
1168 return _IMP_domino._UIntArray___ne__(self, o)
1170 def __lt__(self, o):
1171 r"""__lt__(_UIntArray self, _UIntArray o) -> bool"""
1172 return _IMP_domino._UIntArray___lt__(self, o)
1174 def __gt__(self, o):
1175 r"""__gt__(_UIntArray self, _UIntArray o) -> bool"""
1176 return _IMP_domino._UIntArray___gt__(self, o)
1178 def __ge__(self, o):
1179 r"""__ge__(_UIntArray self, _UIntArray o) -> bool"""
1180 return _IMP_domino._UIntArray___ge__(self, o)
1182 def __le__(self, o):
1183 r"""__le__(_UIntArray self, _UIntArray o) -> bool"""
1184 return _IMP_domino._UIntArray___le__(self, o)
1186 def __getitem__(self, i):
1187 r"""__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1188 return _IMP_domino._UIntArray___getitem__(self, i)
1191 r"""__len__(_UIntArray self) -> unsigned int"""
1192 return _IMP_domino._UIntArray___len__(self)
1194 def show(self, *args):
1195 r"""show(_UIntArray self, _ostream out=std::cout)"""
1196 return _IMP_domino._UIntArray_show(self, *args)
1199 r"""__hash__(_UIntArray self) -> std::size_t"""
1200 return _IMP_domino._UIntArray___hash__(self)
1203 _IMP_domino._UIntArray_swigregister(_UIntArray)
1204 class _ParticleArray(IMP._Value):
1205 r"""Proxy of C++ IMP::ConstVector< IMP::WeakPointer< Particle >,Particle * > class."""
1207 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1208 __repr__ = _swig_repr
1209 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1211 def __init__(self, *args):
1213 __init__(_ParticleArray self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1214 __init__(_ParticleArray self) -> _ParticleArray
1216 _IMP_domino._ParticleArray_swiginit(self, _IMP_domino.new__ParticleArray(*args))
1218 def __cmp__(self, o):
1219 r"""__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1220 return _IMP_domino._ParticleArray___cmp__(self, o)
1222 def __eq__(self, o):
1223 r"""__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1224 return _IMP_domino._ParticleArray___eq__(self, o)
1226 def __ne__(self, o):
1227 r"""__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1228 return _IMP_domino._ParticleArray___ne__(self, o)
1230 def __lt__(self, o):
1231 r"""__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1232 return _IMP_domino._ParticleArray___lt__(self, o)
1234 def __gt__(self, o):
1235 r"""__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1236 return _IMP_domino._ParticleArray___gt__(self, o)
1238 def __ge__(self, o):
1239 r"""__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1240 return _IMP_domino._ParticleArray___ge__(self, o)
1242 def __le__(self, o):
1243 r"""__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1244 return _IMP_domino._ParticleArray___le__(self, o)
1246 def __getitem__(self, i):
1247 r"""__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1248 return _IMP_domino._ParticleArray___getitem__(self, i)
1251 r"""__len__(_ParticleArray self) -> unsigned int"""
1252 return _IMP_domino._ParticleArray___len__(self)
1254 def show(self, *args):
1255 r"""show(_ParticleArray self, _ostream out=std::cout)"""
1256 return _IMP_domino._ParticleArray_show(self, *args)
1259 r"""__hash__(_ParticleArray self) -> std::size_t"""
1260 return _IMP_domino._ParticleArray___hash__(self)
1263 _IMP_domino._ParticleArray_swigregister(_ParticleArray)
1264 class Subset(_ParticleArray):
1265 r"""Proxy of C++ IMP::domino::Subset class."""
1267 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1269 def __init__(self, *args):
1271 __init__(Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1272 __init__(Subset self) -> Subset
1273 __init__(Subset self, IMP::ParticlesTemp ps) -> Subset
1275 _IMP_domino.Subset_swiginit(self, _IMP_domino.new_Subset(*args))
1277 def get_model(self):
1278 r"""get_model(Subset self) -> Model"""
1279 return _IMP_domino.Subset_get_model(self)
1282 r"""get_name(Subset self) -> std::string"""
1283 return _IMP_domino.Subset_get_name(self)
1285 def get_contains(self, o):
1286 r"""get_contains(Subset self, Subset o) -> bool"""
1287 return _IMP_domino.Subset_get_contains(self, o)
1290 r"""__str__(Subset self) -> std::string"""
1291 return _IMP_domino.Subset___str__(self)
1294 r"""__repr__(Subset self) -> std::string"""
1295 return _IMP_domino.Subset___repr__(self)
1296 __swig_destroy__ = _IMP_domino.delete_Subset
1299 _IMP_domino.Subset_swigregister(Subset)
1302 r"""get_union(Subset a, Subset b) -> Subset"""
1303 return _IMP_domino.get_union(a, b)
1306 r"""get_intersection(Subset a, Subset b) -> Subset"""
1307 return _IMP_domino.get_intersection(a, b)
1309 def get_difference(a, b):
1310 r"""get_difference(Subset a, Subset b) -> Subset"""
1311 return _IMP_domino.get_difference(a, b)
1312 class Assignment(_IntArray):
1313 r"""Proxy of C++ IMP::domino::Assignment class."""
1315 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1317 def __init__(self, *args):
1319 __init__(Assignment self) -> Assignment
1320 __init__(Assignment self, unsigned int sz) -> Assignment
1321 __init__(Assignment self, IMP::Ints const & i) -> Assignment
1323 _IMP_domino.Assignment_swiginit(self, _IMP_domino.new_Assignment(*args))
1326 r"""__str__(Assignment self) -> std::string"""
1327 return _IMP_domino.Assignment___str__(self)
1330 r"""__repr__(Assignment self) -> std::string"""
1331 return _IMP_domino.Assignment___repr__(self)
1333 def _get_as_binary(self):
1334 r"""_get_as_binary(Assignment self) -> PyObject *"""
1335 return _IMP_domino.Assignment__get_as_binary(self)
1337 def _set_from_binary(self, p):
1338 r"""_set_from_binary(Assignment self, PyObject * p)"""
1339 return _IMP_domino.Assignment__set_from_binary(self, p)
1341 def __getstate__(self):
1342 p = self._get_as_binary()
1343 if len(self.__dict__) > 1:
1344 d = self.__dict__.copy()
1349 def __setstate__(self, p):
1350 if not hasattr(self,
'this'):
1352 if isinstance(p, tuple):
1354 self.__dict__.update(d)
1355 return self._set_from_binary(p)
1357 __swig_destroy__ = _IMP_domino.delete_Assignment
1360 _IMP_domino.Assignment_swigregister(Assignment)
1361 class Slice(_UIntArray):
1362 r"""Proxy of C++ IMP::domino::Slice class."""
1364 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1366 def __init__(self, *args):
1368 __init__(Slice self) -> Slice
1369 __init__(Slice self, Subset outer, Subset inner) -> Slice
1371 _IMP_domino.Slice_swiginit(self, _IMP_domino.new_Slice(*args))
1373 def get_sliced(self, *args):
1375 get_sliced(Slice self, Assignment a) -> Assignment
1376 get_sliced(Slice self, Subset a) -> Subset
1378 return _IMP_domino.Slice_get_sliced(self, *args)
1381 r"""__str__(Slice self) -> std::string"""
1382 return _IMP_domino.Slice___str__(self)
1385 r"""__repr__(Slice self) -> std::string"""
1386 return _IMP_domino.Slice___repr__(self)
1388 def _get_as_binary(self):
1389 r"""_get_as_binary(Slice self) -> PyObject *"""
1390 return _IMP_domino.Slice__get_as_binary(self)
1392 def _set_from_binary(self, p):
1393 r"""_set_from_binary(Slice self, PyObject * p)"""
1394 return _IMP_domino.Slice__set_from_binary(self, p)
1396 def __getstate__(self):
1397 p = self._get_as_binary()
1398 if len(self.__dict__) > 1:
1399 d = self.__dict__.copy()
1404 def __setstate__(self, p):
1405 if not hasattr(self,
'this'):
1407 if isinstance(p, tuple):
1409 self.__dict__.update(d)
1410 return self._set_from_binary(p)
1412 __swig_destroy__ = _IMP_domino.delete_Slice
1415 _IMP_domino.Slice_swigregister(Slice)
1418 r"""get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1419 return _IMP_domino.get_slice(outer, inner, excluded)
1420 class Order(_UIntArray):
1421 r"""Proxy of C++ IMP::domino::Order class."""
1423 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1425 def __init__(self, *args):
1427 __init__(Order self) -> Order
1428 __init__(Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1430 _IMP_domino.Order_swiginit(self, _IMP_domino.new_Order(*args))
1432 def get_list_ordered(self, a):
1433 r"""get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1434 return _IMP_domino.Order_get_list_ordered(self, a)
1436 def get_subset_ordered(self, a):
1437 r"""get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1438 return _IMP_domino.Order_get_subset_ordered(self, a)
1441 r"""__str__(Order self) -> std::string"""
1442 return _IMP_domino.Order___str__(self)
1445 r"""__repr__(Order self) -> std::string"""
1446 return _IMP_domino.Order___repr__(self)
1448 def _get_as_binary(self):
1449 r"""_get_as_binary(Order self) -> PyObject *"""
1450 return _IMP_domino.Order__get_as_binary(self)
1452 def _set_from_binary(self, p):
1453 r"""_set_from_binary(Order self, PyObject * p)"""
1454 return _IMP_domino.Order__set_from_binary(self, p)
1456 def __getstate__(self):
1457 p = self._get_as_binary()
1458 if len(self.__dict__) > 1:
1459 d = self.__dict__.copy()
1464 def __setstate__(self, p):
1465 if not hasattr(self,
'this'):
1467 if isinstance(p, tuple):
1469 self.__dict__.update(d)
1470 return self._set_from_binary(p)
1472 __swig_destroy__ = _IMP_domino.delete_Order
1475 _IMP_domino.Order_swigregister(Order)
1477 r"""Proxy of C++ IMP::domino::ParticleStates class."""
1479 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1481 def __init__(self, *args):
1482 r"""__init__(ParticleStates self, std::string name="ParticleStates %1%") -> ParticleStates"""
1483 if self.__class__ == ParticleStates:
1487 _IMP_domino.ParticleStates_swiginit(self, _IMP_domino.new_ParticleStates(_self, *args))
1489 if self.__class__ != ParticleStates:
1490 _director_objects.register(self)
1495 def get_number_of_particle_states(self):
1496 r"""get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1497 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1499 def load_particle_state(self, arg0, arg1):
1500 r"""load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1501 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1504 r"""get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1505 return _IMP_domino.ParticleStates_get_embedding(self, i)
1507 def get_nearest_state(self, v):
1508 r"""get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1509 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1510 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1513 r"""__str__(ParticleStates self) -> std::string"""
1514 return _IMP_domino.ParticleStates___str__(self)
1517 r"""__repr__(ParticleStates self) -> std::string"""
1518 return _IMP_domino.ParticleStates___repr__(self)
1522 return _object_cast_to_ParticleStates(o)
1525 def do_show(self, out):
1530 return _object_cast_to_ParticleStates(o)
1532 def __disown__(self):
1534 _IMP_domino.disown_ParticleStates(self)
1535 return weakref.proxy(self)
1537 def do_destroy(self):
1538 r"""do_destroy(ParticleStates self)"""
1539 return _IMP_domino.ParticleStates_do_destroy(self)
1542 _IMP_domino.ParticleStates_swigregister(ParticleStates)
1544 r"""Proxy of C++ IMP::domino::ParticleStatesTable class."""
1546 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1549 r"""__init__(ParticleStatesTable self) -> ParticleStatesTable"""
1550 _IMP_domino.ParticleStatesTable_swiginit(self, _IMP_domino.new_ParticleStatesTable())
1552 def get_particle_states(self, p):
1553 r"""get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1554 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1556 def get_has_particle(self, p):
1557 r"""get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1558 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1561 r"""get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1562 return _IMP_domino.ParticleStatesTable_get_particles(self)
1564 def get_subset(self):
1565 r"""get_subset(ParticleStatesTable self) -> Subset"""
1566 return _IMP_domino.ParticleStatesTable_get_subset(self)
1568 def set_particle_states(self, p, e):
1569 r"""set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1570 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1572 def get_version_info(self):
1573 r"""get_version_info(ParticleStatesTable self) -> VersionInfo"""
1574 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1575 __swig_destroy__ = _IMP_domino.delete_ParticleStatesTable
1578 r"""__str__(ParticleStatesTable self) -> std::string"""
1579 return _IMP_domino.ParticleStatesTable___str__(self)
1582 r"""__repr__(ParticleStatesTable self) -> std::string"""
1583 return _IMP_domino.ParticleStatesTable___repr__(self)
1587 return _object_cast_to_ParticleStatesTable(o)
1591 _IMP_domino.ParticleStatesTable_swigregister(ParticleStatesTable)
1592 class IndexStates(ParticleStates):
1593 r"""Proxy of C++ IMP::domino::IndexStates class."""
1595 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1597 def __init__(self, *args):
1598 r"""__init__(IndexStates self, unsigned int n, IntKey k=IMP::IntKey("state")) -> IndexStates"""
1599 _IMP_domino.IndexStates_swiginit(self, _IMP_domino.new_IndexStates(*args))
1601 def get_version_info(self):
1602 r"""get_version_info(IndexStates self) -> VersionInfo"""
1603 return _IMP_domino.IndexStates_get_version_info(self)
1604 __swig_destroy__ = _IMP_domino.delete_IndexStates
1607 r"""__str__(IndexStates self) -> std::string"""
1608 return _IMP_domino.IndexStates___str__(self)
1611 r"""__repr__(IndexStates self) -> std::string"""
1612 return _IMP_domino.IndexStates___repr__(self)
1616 return _object_cast_to_IndexStates(o)
1620 _IMP_domino.IndexStates_swigregister(IndexStates)
1621 class XYZStates(ParticleStates):
1622 r"""Proxy of C++ IMP::domino::XYZStates class."""
1624 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1626 def __init__(self, states):
1627 r"""__init__(XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1628 _IMP_domino.XYZStates_swiginit(self, _IMP_domino.new_XYZStates(states))
1630 def get_vector(self, i):
1631 r"""get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1632 return _IMP_domino.XYZStates_get_vector(self, i)
1634 def get_version_info(self):
1635 r"""get_version_info(XYZStates self) -> VersionInfo"""
1636 return _IMP_domino.XYZStates_get_version_info(self)
1637 __swig_destroy__ = _IMP_domino.delete_XYZStates
1640 r"""__str__(XYZStates self) -> std::string"""
1641 return _IMP_domino.XYZStates___str__(self)
1644 r"""__repr__(XYZStates self) -> std::string"""
1645 return _IMP_domino.XYZStates___repr__(self)
1649 return _object_cast_to_XYZStates(o)
1653 _IMP_domino.XYZStates_swigregister(XYZStates)
1654 class RigidBodyStates(ParticleStates):
1655 r"""Proxy of C++ IMP::domino::RigidBodyStates 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, scale=1):
1660 r"""__init__(RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates"""
1661 _IMP_domino.RigidBodyStates_swiginit(self, _IMP_domino.new_RigidBodyStates(states, scale))
1663 def get_reference_frame(self, i):
1664 r"""get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1665 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1667 def get_version_info(self):
1668 r"""get_version_info(RigidBodyStates self) -> VersionInfo"""
1669 return _IMP_domino.RigidBodyStates_get_version_info(self)
1670 __swig_destroy__ = _IMP_domino.delete_RigidBodyStates
1673 r"""__str__(RigidBodyStates self) -> std::string"""
1674 return _IMP_domino.RigidBodyStates___str__(self)
1677 r"""__repr__(RigidBodyStates self) -> std::string"""
1678 return _IMP_domino.RigidBodyStates___repr__(self)
1682 return _object_cast_to_RigidBodyStates(o)
1686 _IMP_domino.RigidBodyStates_swigregister(RigidBodyStates)
1687 class NestedRigidBodyStates(ParticleStates):
1688 r"""Proxy of C++ IMP::domino::NestedRigidBodyStates 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=100):
1693 r"""__init__(NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates"""
1694 _IMP_domino.NestedRigidBodyStates_swiginit(self, _IMP_domino.new_NestedRigidBodyStates(states, scale))
1696 def get_transformation(self, i):
1697 r"""get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1698 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1700 def get_version_info(self):
1701 r"""get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1702 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1703 __swig_destroy__ = _IMP_domino.delete_NestedRigidBodyStates
1706 r"""__str__(NestedRigidBodyStates self) -> std::string"""
1707 return _IMP_domino.NestedRigidBodyStates___str__(self)
1710 r"""__repr__(NestedRigidBodyStates self) -> std::string"""
1711 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1715 return _object_cast_to_NestedRigidBodyStates(o)
1719 _IMP_domino.NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1720 class CompoundStates(ParticleStates):
1721 r"""Proxy of C++ IMP::domino::CompoundStates class."""
1723 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1725 def __init__(self, a, b):
1726 r"""__init__(CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1727 _IMP_domino.CompoundStates_swiginit(self, _IMP_domino.new_CompoundStates(a, b))
1729 def get_version_info(self):
1730 r"""get_version_info(CompoundStates self) -> VersionInfo"""
1731 return _IMP_domino.CompoundStates_get_version_info(self)
1732 __swig_destroy__ = _IMP_domino.delete_CompoundStates
1735 r"""__str__(CompoundStates self) -> std::string"""
1736 return _IMP_domino.CompoundStates___str__(self)
1739 r"""__repr__(CompoundStates self) -> std::string"""
1740 return _IMP_domino.CompoundStates___repr__(self)
1744 return _object_cast_to_CompoundStates(o)
1748 _IMP_domino.CompoundStates_swigregister(CompoundStates)
1749 class RecursiveStates(ParticleStates):
1750 r"""Proxy of C++ IMP::domino::RecursiveStates class."""
1752 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1754 def __init__(self, p, s, ss, pst):
1755 r"""__init__(RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1756 _IMP_domino.RecursiveStates_swiginit(self, _IMP_domino.new_RecursiveStates(p, s, ss, pst))
1758 def get_version_info(self):
1759 r"""get_version_info(RecursiveStates self) -> VersionInfo"""
1760 return _IMP_domino.RecursiveStates_get_version_info(self)
1761 __swig_destroy__ = _IMP_domino.delete_RecursiveStates
1764 r"""__str__(RecursiveStates self) -> std::string"""
1765 return _IMP_domino.RecursiveStates___str__(self)
1768 r"""__repr__(RecursiveStates self) -> std::string"""
1769 return _IMP_domino.RecursiveStates___repr__(self)
1773 return _object_cast_to_RecursiveStates(o)
1777 _IMP_domino.RecursiveStates_swigregister(RecursiveStates)
1778 class PermutationStates(ParticleStates):
1779 r"""Proxy of C++ IMP::domino::PermutationStates class."""
1781 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1783 def __init__(self, inner):
1784 r"""__init__(PermutationStates self, ParticleStates inner) -> PermutationStates"""
1785 _IMP_domino.PermutationStates_swiginit(self, _IMP_domino.new_PermutationStates(inner))
1787 def get_inner_state(self, i):
1788 r"""get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1789 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1791 def get_version_info(self):
1792 r"""get_version_info(PermutationStates self) -> VersionInfo"""
1793 return _IMP_domino.PermutationStates_get_version_info(self)
1794 __swig_destroy__ = _IMP_domino.delete_PermutationStates
1797 r"""__str__(PermutationStates self) -> std::string"""
1798 return _IMP_domino.PermutationStates___str__(self)
1801 r"""__repr__(PermutationStates self) -> std::string"""
1802 return _IMP_domino.PermutationStates___repr__(self)
1806 return _object_cast_to_PermutationStates(o)
1810 _IMP_domino.PermutationStates_swigregister(PermutationStates)
1811 class _ParticlesAdaptor(IMP._InputAdaptor):
1812 r"""Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1814 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1815 __repr__ = _swig_repr
1817 def __init__(self, *args):
1819 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1820 __init__(_ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1822 _IMP_domino._ParticlesAdaptor_swiginit(self, _IMP_domino.new__ParticlesAdaptor(*args))
1823 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1826 _IMP_domino._ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1828 r"""Proxy of C++ IMP::domino::RestraintCache class."""
1830 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1832 def __init__(self, *args):
1833 r"""__init__(RestraintCache self, ParticleStatesTable pst, unsigned int size=std::numeric_limits< unsigned int >::max()) -> RestraintCache"""
1834 _IMP_domino.RestraintCache_swiginit(self, _IMP_domino.new_RestraintCache(*args))
1837 r"""add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1838 return _IMP_domino.RestraintCache_add_restraints(self, rs)
1840 def get_score(self, *args):
1842 get_score(RestraintCache self, Restraint r, Assignment a) -> double
1843 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1845 return _IMP_domino.RestraintCache_get_score(self, *args)
1847 def load_last_score(self, r, s, a):
1848 r"""load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1849 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1851 def get_restraints(self, *args):
1853 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1854 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1856 return _IMP_domino.RestraintCache_get_restraints(self, *args)
1858 def save_cache(self, particle_ordering, restraints, group, max_entries):
1859 r"""save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1860 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1862 def load_cache(self, ps, group):
1863 r"""load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1864 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1867 r"""get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1868 return _IMP_domino.RestraintCache_get_slice(self, r, s)
1870 def get_number_of_entries(self):
1871 r"""get_number_of_entries(RestraintCache self) -> unsigned int"""
1872 return _IMP_domino.RestraintCache_get_number_of_entries(self)
1875 r"""validate(RestraintCache self)"""
1876 return _IMP_domino.RestraintCache_validate(self)
1878 def show_restraint_information(self, *args):
1879 r"""show_restraint_information(RestraintCache self, _ostream out=std::cout)"""
1880 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1882 def get_hit_rate(self):
1883 r"""get_hit_rate(RestraintCache self) -> double"""
1884 return _IMP_domino.RestraintCache_get_hit_rate(self)
1886 def get_version_info(self):
1887 r"""get_version_info(RestraintCache self) -> VersionInfo"""
1888 return _IMP_domino.RestraintCache_get_version_info(self)
1889 __swig_destroy__ = _IMP_domino.delete_RestraintCache
1892 r"""__str__(RestraintCache self) -> std::string"""
1893 return _IMP_domino.RestraintCache___str__(self)
1896 r"""__repr__(RestraintCache self) -> std::string"""
1897 return _IMP_domino.RestraintCache___repr__(self)
1901 return _object_cast_to_RestraintCache(o)
1905 _IMP_domino.RestraintCache_swigregister(RestraintCache)
1907 r"""Proxy of C++ IMP::domino::SubsetFilter class."""
1909 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1911 def __init__(self, *args):
1912 r"""__init__(SubsetFilter self, std::string name="SubsetFilter%1%") -> SubsetFilter"""
1913 if self.__class__ == SubsetFilter:
1917 _IMP_domino.SubsetFilter_swiginit(self, _IMP_domino.new_SubsetFilter(_self, *args))
1919 if self.__class__ != SubsetFilter:
1920 _director_objects.register(self)
1925 def get_is_ok(self, state):
1926 r"""get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1927 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1929 def get_next_state(self, pos, state):
1930 r"""get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1931 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
1932 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
1935 r"""__str__(SubsetFilter self) -> std::string"""
1936 return _IMP_domino.SubsetFilter___str__(self)
1939 r"""__repr__(SubsetFilter self) -> std::string"""
1940 return _IMP_domino.SubsetFilter___repr__(self)
1944 return _object_cast_to_SubsetFilter(o)
1947 def do_show(self, out):
1952 return _object_cast_to_SubsetFilter(o)
1954 def __disown__(self):
1956 _IMP_domino.disown_SubsetFilter(self)
1957 return weakref.proxy(self)
1959 def do_destroy(self):
1960 r"""do_destroy(SubsetFilter self)"""
1961 return _IMP_domino.SubsetFilter_do_destroy(self)
1964 _IMP_domino.SubsetFilter_swigregister(SubsetFilter)
1966 r"""Proxy of C++ IMP::domino::SubsetFilterTable class."""
1968 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1970 def __init__(self, *args):
1971 r"""__init__(SubsetFilterTable self, std::string name="SubsetFilterTable%1%") -> SubsetFilterTable"""
1972 if self.__class__ == SubsetFilterTable:
1976 _IMP_domino.SubsetFilterTable_swiginit(self, _IMP_domino.new_SubsetFilterTable(_self, *args))
1978 if self.__class__ != SubsetFilterTable:
1979 _director_objects.register(self)
1984 def get_subset_filter(self, s, prior_subsets):
1985 r"""get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
1986 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
1988 def get_strength(self, s, prior_subsets):
1989 r"""get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
1990 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
1991 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
1994 r"""__str__(SubsetFilterTable self) -> std::string"""
1995 return _IMP_domino.SubsetFilterTable___str__(self)
1998 r"""__repr__(SubsetFilterTable self) -> std::string"""
1999 return _IMP_domino.SubsetFilterTable___repr__(self)
2003 return _object_cast_to_SubsetFilterTable(o)
2006 def do_show(self, out):
2011 return _object_cast_to_SubsetFilterTable(o)
2013 def __disown__(self):
2015 _IMP_domino.disown_SubsetFilterTable(self)
2016 return weakref.proxy(self)
2018 def do_destroy(self):
2019 r"""do_destroy(SubsetFilterTable self)"""
2020 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2023 _IMP_domino.SubsetFilterTable_swigregister(SubsetFilterTable)
2024 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2025 r"""Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2027 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2029 def __init__(self, *args):
2031 __init__(RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2032 __init__(RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2034 _IMP_domino.RestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_RestraintScoreSubsetFilterTable(*args))
2036 def get_version_info(self):
2037 r"""get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2038 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2039 __swig_destroy__ = _IMP_domino.delete_RestraintScoreSubsetFilterTable
2042 r"""__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2043 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2046 r"""__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2047 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2051 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2055 _IMP_domino.RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2056 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2057 r"""Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2059 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2061 def __init__(self, rs, rc, max_number_allowed_violations):
2062 r"""__init__(MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2063 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations))
2065 def get_maximum_number_of_violated_restraints(self):
2066 r"""get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2067 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2069 def get_version_info(self):
2070 r"""get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2071 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2072 __swig_destroy__ = _IMP_domino.delete_MinimumRestraintScoreSubsetFilterTable
2075 r"""__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2076 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2079 r"""__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2080 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2084 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2088 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2089 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2090 r"""Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2092 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2094 def __init__(self, *args, **kwargs):
2095 raise AttributeError(
"No constructor defined - class is abstract")
2097 def add_set(self, ps):
2098 r"""add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2099 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2101 def add_pair(self, pp):
2102 r"""add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2103 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2106 r"""__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2107 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2110 r"""__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2111 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2115 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2117 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2120 _IMP_domino.DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2121 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2122 r"""Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2124 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2126 def __init__(self, *args):
2128 __init__(ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2129 __init__(ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2131 _IMP_domino.ExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_ExclusionSubsetFilterTable(*args))
2133 def get_version_info(self):
2134 r"""get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2135 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2136 __swig_destroy__ = _IMP_domino.delete_ExclusionSubsetFilterTable
2139 r"""__str__(ExclusionSubsetFilterTable self) -> std::string"""
2140 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2143 r"""__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2144 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2148 return _object_cast_to_ExclusionSubsetFilterTable(o)
2152 _IMP_domino.ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2153 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2154 r"""Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2156 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2158 def __init__(self, *args):
2160 __init__(EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2161 __init__(EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2163 _IMP_domino.EqualitySubsetFilterTable_swiginit(self, _IMP_domino.new_EqualitySubsetFilterTable(*args))
2165 def get_version_info(self):
2166 r"""get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2167 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2168 __swig_destroy__ = _IMP_domino.delete_EqualitySubsetFilterTable
2171 r"""__str__(EqualitySubsetFilterTable self) -> std::string"""
2172 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2175 r"""__repr__(EqualitySubsetFilterTable self) -> std::string"""
2176 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2180 return _object_cast_to_EqualitySubsetFilterTable(o)
2184 _IMP_domino.EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2185 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2186 r"""Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2188 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2190 def __init__(self, *args):
2192 __init__(EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2193 __init__(EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2195 _IMP_domino.EquivalenceSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceSubsetFilterTable(*args))
2197 def get_version_info(self):
2198 r"""get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2199 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2200 __swig_destroy__ = _IMP_domino.delete_EquivalenceSubsetFilterTable
2203 r"""__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2204 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2207 r"""__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2208 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2212 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2216 _IMP_domino.EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2217 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2218 r"""Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2220 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2222 def __init__(self, *args):
2224 __init__(EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2225 __init__(EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2227 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args))
2229 def get_version_info(self):
2230 r"""get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2231 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2232 __swig_destroy__ = _IMP_domino.delete_EquivalenceAndExclusionSubsetFilterTable
2235 r"""__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2236 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2239 r"""__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2240 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2244 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2248 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2249 class ListSubsetFilterTable(SubsetFilterTable):
2250 r"""Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2252 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2254 def __init__(self, pst):
2255 r"""__init__(ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2256 _IMP_domino.ListSubsetFilterTable_swiginit(self, _IMP_domino.new_ListSubsetFilterTable(pst))
2258 def get_ok_rate(self):
2259 r"""get_ok_rate(ListSubsetFilterTable self) -> double"""
2260 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2262 def get_number_of_particle_states(self, p):
2263 r"""get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2264 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2266 def set_allowed_states(self, p, states):
2267 r"""set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2268 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2270 def get_version_info(self):
2271 r"""get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2272 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2273 __swig_destroy__ = _IMP_domino.delete_ListSubsetFilterTable
2276 r"""__str__(ListSubsetFilterTable self) -> std::string"""
2277 return _IMP_domino.ListSubsetFilterTable___str__(self)
2280 r"""__repr__(ListSubsetFilterTable self) -> std::string"""
2281 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2285 return _object_cast_to_ListSubsetFilterTable(o)
2289 _IMP_domino.ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2290 class PairListSubsetFilterTable(SubsetFilterTable):
2291 r"""Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2293 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2296 r"""__init__(PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2297 _IMP_domino.PairListSubsetFilterTable_swiginit(self, _IMP_domino.new_PairListSubsetFilterTable())
2299 def set_allowed_states(self, p, states):
2300 r"""set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2301 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2303 def get_version_info(self):
2304 r"""get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2305 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2306 __swig_destroy__ = _IMP_domino.delete_PairListSubsetFilterTable
2309 r"""__str__(PairListSubsetFilterTable self) -> std::string"""
2310 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2313 r"""__repr__(PairListSubsetFilterTable self) -> std::string"""
2314 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2318 return _object_cast_to_PairListSubsetFilterTable(o)
2322 _IMP_domino.PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2323 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2324 r"""Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2326 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2328 def __init__(self, p, leaves_only=False):
2329 r"""__init__(ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable"""
2330 _IMP_domino.ProbabilisticSubsetFilterTable_swiginit(self, _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only))
2332 def get_version_info(self):
2333 r"""get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2334 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2335 __swig_destroy__ = _IMP_domino.delete_ProbabilisticSubsetFilterTable
2338 r"""__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2339 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2342 r"""__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2343 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2347 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2351 _IMP_domino.ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2353 r"""Proxy of C++ IMP::domino::AssignmentContainer class."""
2355 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2357 def __init__(self, *args):
2358 r"""__init__(AssignmentContainer self, std::string name="AssignmentContainer %1%") -> AssignmentContainer"""
2359 if self.__class__ == AssignmentContainer:
2363 _IMP_domino.AssignmentContainer_swiginit(self, _IMP_domino.new_AssignmentContainer(_self, *args))
2365 if self.__class__ != AssignmentContainer:
2366 _director_objects.register(self)
2371 def get_number_of_assignments(self):
2372 r"""get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2373 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2375 def get_assignment(self, i):
2376 r"""get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2377 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2379 def get_assignments(self, *args):
2381 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2382 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2384 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2386 def add_assignment(self, a):
2387 r"""add_assignment(AssignmentContainer self, Assignment a)"""
2388 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2390 def add_assignments(self, asgn):
2391 r"""add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2392 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2394 def get_particle_assignments(self, i):
2395 r"""get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2396 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2397 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2400 r"""__str__(AssignmentContainer self) -> std::string"""
2401 return _IMP_domino.AssignmentContainer___str__(self)
2404 r"""__repr__(AssignmentContainer self) -> std::string"""
2405 return _IMP_domino.AssignmentContainer___repr__(self)
2409 return _object_cast_to_AssignmentContainer(o)
2412 def do_show(self, out):
2417 return _object_cast_to_AssignmentContainer(o)
2419 def __disown__(self):
2421 _IMP_domino.disown_AssignmentContainer(self)
2422 return weakref.proxy(self)
2424 def do_destroy(self):
2425 r"""do_destroy(AssignmentContainer self)"""
2426 return _IMP_domino.AssignmentContainer_do_destroy(self)
2429 _IMP_domino.AssignmentContainer_swigregister(AssignmentContainer)
2430 class PackedAssignmentContainer(AssignmentContainer):
2431 r"""Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2433 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2435 def __init__(self, *args):
2436 r"""__init__(PackedAssignmentContainer self, std::string name="PackedAssignmentContainer %1%") -> PackedAssignmentContainer"""
2437 _IMP_domino.PackedAssignmentContainer_swiginit(self, _IMP_domino.new_PackedAssignmentContainer(*args))
2439 def get_assignments(self, *args):
2441 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2442 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2444 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2446 def get_version_info(self):
2447 r"""get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2448 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2449 __swig_destroy__ = _IMP_domino.delete_PackedAssignmentContainer
2452 r"""__str__(PackedAssignmentContainer self) -> std::string"""
2453 return _IMP_domino.PackedAssignmentContainer___str__(self)
2456 r"""__repr__(PackedAssignmentContainer self) -> std::string"""
2457 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2461 return _object_cast_to_PackedAssignmentContainer(o)
2465 _IMP_domino.PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2466 class ListAssignmentContainer(AssignmentContainer):
2467 r"""Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2469 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2471 def __init__(self, *args):
2472 r"""__init__(ListAssignmentContainer self, std::string name="ListAssignmentContainer %1%") -> ListAssignmentContainer"""
2473 _IMP_domino.ListAssignmentContainer_swiginit(self, _IMP_domino.new_ListAssignmentContainer(*args))
2475 def get_assignments(self, *args):
2477 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2478 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2480 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2482 def get_version_info(self):
2483 r"""get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2484 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2485 __swig_destroy__ = _IMP_domino.delete_ListAssignmentContainer
2488 r"""__str__(ListAssignmentContainer self) -> std::string"""
2489 return _IMP_domino.ListAssignmentContainer___str__(self)
2492 r"""__repr__(ListAssignmentContainer self) -> std::string"""
2493 return _IMP_domino.ListAssignmentContainer___repr__(self)
2497 return _object_cast_to_ListAssignmentContainer(o)
2501 _IMP_domino.ListAssignmentContainer_swigregister(ListAssignmentContainer)
2502 class SampleAssignmentContainer(AssignmentContainer):
2503 r"""Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2505 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2507 def __init__(self, *args):
2508 r"""__init__(SampleAssignmentContainer self, unsigned int k, std::string name="SampleAssignmentContainer %1%") -> SampleAssignmentContainer"""
2509 _IMP_domino.SampleAssignmentContainer_swiginit(self, _IMP_domino.new_SampleAssignmentContainer(*args))
2511 def get_assignments(self, *args):
2513 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2514 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2516 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2518 def get_version_info(self):
2519 r"""get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2520 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2521 __swig_destroy__ = _IMP_domino.delete_SampleAssignmentContainer
2524 r"""__str__(SampleAssignmentContainer self) -> std::string"""
2525 return _IMP_domino.SampleAssignmentContainer___str__(self)
2528 r"""__repr__(SampleAssignmentContainer self) -> std::string"""
2529 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2533 return _object_cast_to_SampleAssignmentContainer(o)
2537 _IMP_domino.SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2538 class WriteHDF5AssignmentContainer(AssignmentContainer):
2539 r"""Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2541 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2543 def __init__(self, *args):
2545 __init__(WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2546 __init__(WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2548 _IMP_domino.WriteHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_WriteHDF5AssignmentContainer(*args))
2550 def set_cache_size(self, words):
2551 r"""set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2552 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2554 def get_assignments(self, *args):
2556 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2557 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2559 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2561 def get_version_info(self):
2562 r"""get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2563 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2564 __swig_destroy__ = _IMP_domino.delete_WriteHDF5AssignmentContainer
2567 r"""__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2568 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2571 r"""__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2572 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2576 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2580 _IMP_domino.WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2581 class ReadHDF5AssignmentContainer(AssignmentContainer):
2582 r"""Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2584 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2586 def __init__(self, dataset, s, all_particles, name):
2587 r"""__init__(ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2588 _IMP_domino.ReadHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name))
2590 def set_cache_size(self, words):
2591 r"""set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2592 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2594 def get_assignments(self, *args):
2596 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2597 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2599 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2601 def get_version_info(self):
2602 r"""get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2603 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2604 __swig_destroy__ = _IMP_domino.delete_ReadHDF5AssignmentContainer
2607 r"""__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2608 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2611 r"""__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2612 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2616 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2620 _IMP_domino.ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2621 class WriteAssignmentContainer(AssignmentContainer):
2622 r"""Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2624 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2626 def __init__(self, out_file, s, all_particles, name):
2627 r"""__init__(WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2628 _IMP_domino.WriteAssignmentContainer_swiginit(self, _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name))
2630 def set_cache_size(self, words):
2631 r"""set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2632 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2634 def get_assignments(self, *args):
2636 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2637 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2639 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2641 def get_version_info(self):
2642 r"""get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2643 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2644 __swig_destroy__ = _IMP_domino.delete_WriteAssignmentContainer
2647 r"""__str__(WriteAssignmentContainer self) -> std::string"""
2648 return _IMP_domino.WriteAssignmentContainer___str__(self)
2651 r"""__repr__(WriteAssignmentContainer self) -> std::string"""
2652 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2656 return _object_cast_to_WriteAssignmentContainer(o)
2660 _IMP_domino.WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2661 class ReadAssignmentContainer(AssignmentContainer):
2662 r"""Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2664 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2666 def __init__(self, out_file, s, all_particles, name):
2667 r"""__init__(ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2668 _IMP_domino.ReadAssignmentContainer_swiginit(self, _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name))
2670 def set_cache_size(self, words):
2671 r"""set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2672 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2674 def get_assignments(self, *args):
2676 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2677 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2679 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2681 def get_version_info(self):
2682 r"""get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2683 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2684 __swig_destroy__ = _IMP_domino.delete_ReadAssignmentContainer
2687 r"""__str__(ReadAssignmentContainer self) -> std::string"""
2688 return _IMP_domino.ReadAssignmentContainer___str__(self)
2691 r"""__repr__(ReadAssignmentContainer self) -> std::string"""
2692 return _IMP_domino.ReadAssignmentContainer___repr__(self)
2696 return _object_cast_to_ReadAssignmentContainer(o)
2700 _IMP_domino.ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2701 class RangeViewAssignmentContainer(AssignmentContainer):
2702 r"""Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2704 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2706 def __init__(self, inner, begin, end):
2707 r"""__init__(RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2708 _IMP_domino.RangeViewAssignmentContainer_swiginit(self, _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end))
2710 def get_assignments(self, *args):
2712 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2713 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2715 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2717 def get_version_info(self):
2718 r"""get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2719 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2720 __swig_destroy__ = _IMP_domino.delete_RangeViewAssignmentContainer
2723 r"""__str__(RangeViewAssignmentContainer self) -> std::string"""
2724 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2727 r"""__repr__(RangeViewAssignmentContainer self) -> std::string"""
2728 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2732 return _object_cast_to_RangeViewAssignmentContainer(o)
2736 _IMP_domino.RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
2737 class HeapAssignmentContainer(AssignmentContainer):
2738 r"""Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
2740 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2742 def __init__(self, *args):
2743 r"""__init__(HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name="HeapAssignmentContainer %1%") -> HeapAssignmentContainer"""
2744 _IMP_domino.HeapAssignmentContainer_swiginit(self, _IMP_domino.new_HeapAssignmentContainer(*args))
2746 def get_assignments(self, *args):
2748 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2749 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
2751 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
2753 def get_version_info(self):
2754 r"""get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
2755 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
2756 __swig_destroy__ = _IMP_domino.delete_HeapAssignmentContainer
2759 r"""__str__(HeapAssignmentContainer self) -> std::string"""
2760 return _IMP_domino.HeapAssignmentContainer___str__(self)
2763 r"""__repr__(HeapAssignmentContainer self) -> std::string"""
2764 return _IMP_domino.HeapAssignmentContainer___repr__(self)
2768 return _object_cast_to_HeapAssignmentContainer(o)
2772 _IMP_domino.HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
2773 class CappedAssignmentContainer(AssignmentContainer):
2774 r"""Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
2776 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2778 def __init__(self, contained, max_states, name):
2779 r"""__init__(CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
2780 _IMP_domino.CappedAssignmentContainer_swiginit(self, _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name))
2782 def get_assignments(self, *args):
2784 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2785 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
2787 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
2789 def get_version_info(self):
2790 r"""get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
2791 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
2792 __swig_destroy__ = _IMP_domino.delete_CappedAssignmentContainer
2795 r"""__str__(CappedAssignmentContainer self) -> std::string"""
2796 return _IMP_domino.CappedAssignmentContainer___str__(self)
2799 r"""__repr__(CappedAssignmentContainer self) -> std::string"""
2800 return _IMP_domino.CappedAssignmentContainer___repr__(self)
2804 return _object_cast_to_CappedAssignmentContainer(o)
2808 _IMP_domino.CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
2810 r"""Proxy of C++ IMP::domino::AssignmentsTable class."""
2812 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2814 def __init__(self, *args):
2815 r"""__init__(AssignmentsTable self, std::string name="AssignmentsTable %1%") -> AssignmentsTable"""
2816 if self.__class__ == AssignmentsTable:
2820 _IMP_domino.AssignmentsTable_swiginit(self, _IMP_domino.new_AssignmentsTable(_self, *args))
2822 if self.__class__ != AssignmentsTable:
2823 _director_objects.register(self)
2828 def load_assignments(self, s, ac):
2829 r"""load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
2830 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
2831 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
2834 r"""__str__(AssignmentsTable self) -> std::string"""
2835 return _IMP_domino.AssignmentsTable___str__(self)
2838 r"""__repr__(AssignmentsTable self) -> std::string"""
2839 return _IMP_domino.AssignmentsTable___repr__(self)
2843 return _object_cast_to_AssignmentsTable(o)
2846 def do_show(self, out):
2851 return _object_cast_to_AssignmentsTable(o)
2853 def __disown__(self):
2855 _IMP_domino.disown_AssignmentsTable(self)
2856 return weakref.proxy(self)
2858 def do_destroy(self):
2859 r"""do_destroy(AssignmentsTable self)"""
2860 return _IMP_domino.AssignmentsTable_do_destroy(self)
2863 _IMP_domino.AssignmentsTable_swigregister(AssignmentsTable)
2864 class SimpleAssignmentsTable(AssignmentsTable):
2865 r"""Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
2867 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2869 def __init__(self, *args):
2870 r"""__init__(SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> SimpleAssignmentsTable"""
2871 _IMP_domino.SimpleAssignmentsTable_swiginit(self, _IMP_domino.new_SimpleAssignmentsTable(*args))
2873 def get_version_info(self):
2874 r"""get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
2875 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
2876 __swig_destroy__ = _IMP_domino.delete_SimpleAssignmentsTable
2879 r"""__str__(SimpleAssignmentsTable self) -> std::string"""
2880 return _IMP_domino.SimpleAssignmentsTable___str__(self)
2883 r"""__repr__(SimpleAssignmentsTable self) -> std::string"""
2884 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
2888 return _object_cast_to_SimpleAssignmentsTable(o)
2892 _IMP_domino.SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
2893 class RecursiveAssignmentsTable(AssignmentsTable):
2894 r"""Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
2896 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2898 def __init__(self, *args):
2899 r"""__init__(RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> RecursiveAssignmentsTable"""
2900 _IMP_domino.RecursiveAssignmentsTable_swiginit(self, _IMP_domino.new_RecursiveAssignmentsTable(*args))
2902 def get_version_info(self):
2903 r"""get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
2904 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
2905 __swig_destroy__ = _IMP_domino.delete_RecursiveAssignmentsTable
2908 r"""__str__(RecursiveAssignmentsTable self) -> std::string"""
2909 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
2912 r"""__repr__(RecursiveAssignmentsTable self) -> std::string"""
2913 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
2917 return _object_cast_to_RecursiveAssignmentsTable(o)
2921 _IMP_domino.RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
2922 class BranchAndBoundAssignmentsTable(AssignmentsTable):
2923 r"""Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
2925 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2927 def __init__(self, *args):
2928 r"""__init__(BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> BranchAndBoundAssignmentsTable"""
2929 _IMP_domino.BranchAndBoundAssignmentsTable_swiginit(self, _IMP_domino.new_BranchAndBoundAssignmentsTable(*args))
2931 def get_version_info(self):
2932 r"""get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
2933 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
2934 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundAssignmentsTable
2937 r"""__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
2938 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
2941 r"""__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
2942 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
2946 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
2950 _IMP_domino.BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
2951 class ListAssignmentsTable(AssignmentsTable):
2952 r"""Proxy of C++ IMP::domino::ListAssignmentsTable class."""
2954 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2956 def __init__(self, *args):
2957 r"""__init__(ListAssignmentsTable self, std::string name="ListAssignmentsTable %1%") -> ListAssignmentsTable"""
2958 _IMP_domino.ListAssignmentsTable_swiginit(self, _IMP_domino.new_ListAssignmentsTable(*args))
2960 def set_assignments(self, s, lsc):
2961 r"""set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
2962 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
2964 def get_version_info(self):
2965 r"""get_version_info(ListAssignmentsTable self) -> VersionInfo"""
2966 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
2967 __swig_destroy__ = _IMP_domino.delete_ListAssignmentsTable
2970 r"""__str__(ListAssignmentsTable self) -> std::string"""
2971 return _IMP_domino.ListAssignmentsTable___str__(self)
2974 r"""__repr__(ListAssignmentsTable self) -> std::string"""
2975 return _IMP_domino.ListAssignmentsTable___repr__(self)
2979 return _object_cast_to_ListAssignmentsTable(o)
2983 _IMP_domino.ListAssignmentsTable_swigregister(ListAssignmentsTable)
2986 r"""get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
2987 return _IMP_domino.get_order(s, sft)
2988 class _SubsetGraphVertexIndex(object):
2989 r"""Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
2991 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2992 __repr__ = _swig_repr
2995 r"""__init__(_SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
2996 _IMP_domino._SubsetGraphVertexIndex_swiginit(self, _IMP_domino.new__SubsetGraphVertexIndex())
2997 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3000 _IMP_domino._SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3001 class _InteractionGraphVertexIndex(object):
3002 r"""Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3004 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3005 __repr__ = _swig_repr
3008 r"""__init__(_InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3009 _IMP_domino._InteractionGraphVertexIndex_swiginit(self, _IMP_domino.new__InteractionGraphVertexIndex())
3010 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3013 _IMP_domino._InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3016 r"""get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3017 return _IMP_domino.get_subsets(g)
3020 r"""get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3021 return _IMP_domino.get_junction_tree(ig)
3023 def get_triangulated(input):
3024 r"""get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3025 return _IMP_domino.get_triangulated(input)
3026 class _CliqueGraphVertexIndex(object):
3027 r"""Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3029 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3030 __repr__ = _swig_repr
3033 r"""__init__(_CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3034 _IMP_domino._CliqueGraphVertexIndex_swiginit(self, _IMP_domino.new__CliqueGraphVertexIndex())
3035 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3038 _IMP_domino._CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3040 def get_clique_graph(input):
3041 r"""get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3042 return _IMP_domino.get_clique_graph(input)
3044 def get_minimum_spanning_tree(input):
3045 r"""get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3046 return _IMP_domino.get_minimum_spanning_tree(input)
3049 r"""get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3050 return _IMP_domino.get_restraint_graph(rs, pst)
3054 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3055 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3057 return _IMP_domino.get_interaction_graph(*args)
3060 r"""get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3061 return _IMP_domino.get_interaction_graph_geometry(ig)
3064 r"""get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3065 return _IMP_domino.get_subset_graph_geometry(ig)
3066 class _MergeTreeVertexIndex(object):
3067 r"""Proxy of C++ IMP::domino::MergeTreeVertexIndex 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__(_MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3074 _IMP_domino._MergeTreeVertexIndex_swiginit(self, _IMP_domino.new__MergeTreeVertexIndex())
3075 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3078 _IMP_domino._MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3080 def show_as_graphviz(*args):
3082 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3083 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3084 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3085 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3087 return _IMP_domino.show_as_graphviz(*args)
3089 def get_vertex_index(*args):
3091 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3092 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3093 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3094 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3096 return _IMP_domino.get_vertex_index(*args)
3100 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3101 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3103 return _IMP_domino.get_merge_tree(*args)
3106 r"""get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3107 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3109 def get_is_merge_tree(tree, all, verbose=True):
3110 r"""get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool"""
3111 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3113 def write_merge_tree(tree, ps, out):
3114 r"""write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3115 return _IMP_domino.write_merge_tree(tree, ps, out)
3117 def read_merge_tree(input, ps):
3118 r"""read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3119 return _IMP_domino.read_merge_tree(input, ps)
3121 r"""Proxy of C++ IMP::domino::DiscreteSampler class."""
3123 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3125 def get_subset_filter_tables_to_use(self, rs, pst):
3126 r"""get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3127 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3129 def get_assignments_table_to_use(self, *args):
3130 r"""get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max=std::numeric_limits< int >::max()) -> AssignmentsTable"""
3131 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3133 def do_sample(self):
3134 r"""do_sample(DiscreteSampler self) -> ConfigurationSet"""
3135 return _IMP_domino.DiscreteSampler_do_sample(self)
3137 def do_get_sample_assignments(self, all):
3138 r"""do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3139 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3141 def get_restraints(self):
3142 r"""get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3143 return _IMP_domino.DiscreteSampler_get_restraints(self)
3145 def __init__(self, m, pst, name):
3146 r"""__init__(DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3147 if self.__class__ == DiscreteSampler:
3151 _IMP_domino.DiscreteSampler_swiginit(self, _IMP_domino.new_DiscreteSampler(_self, m, pst, name))
3153 if self.__class__ != DiscreteSampler:
3154 _director_objects.register(self)
3158 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3160 def set_restraints(self, rs):
3161 r"""set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3162 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3164 def set_particle_states(self, p, se):
3165 r"""set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3166 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3168 def get_sample_assignments(self, s):
3169 r"""get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3170 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3172 def set_particle_states_table(self, cse):
3173 r"""set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3174 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3176 def set_assignments_table(self, sst):
3177 r"""set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3178 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3180 def get_particle_states_table(self):
3181 r"""get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3182 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3183 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)
3184 def __set_subset_filter_tables(self, obj): IMP._list_util.set_varlist(self.subset_filter_tables, obj)
3185 def __del_subset_filter_tables(self): IMP._list_util.del_varlist(self.subset_filter_tables)
3186 subset_filter_tables = property(__get_subset_filter_tables, __set_subset_filter_tables, __del_subset_filter_tables, doc=
"List of ##ucnames")
3188 def remove_subset_filter_table(self, d):
3189 r"""remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3190 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3192 def _python_index_subset_filter_table(self, d, start, stop):
3193 r"""_python_index_subset_filter_table(DiscreteSampler self, SubsetFilterTable d, unsigned int start, unsigned int stop) -> unsigned int"""
3194 return _IMP_domino.DiscreteSampler__python_index_subset_filter_table(self, d, start, stop)
3196 def remove_subset_filter_tables(self, d):
3197 r"""remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3198 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3200 def set_subset_filter_tables(self, ps):
3201 r"""set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3202 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3204 def set_subset_filter_tables_order(self, objs):
3205 r"""set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3206 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3208 def add_subset_filter_table(self, obj):
3209 r"""add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3210 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3212 def add_subset_filter_tables(self, objs):
3213 r"""add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3214 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3216 def clear_subset_filter_tables(self):
3217 r"""clear_subset_filter_tables(DiscreteSampler self)"""
3218 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3220 def get_number_of_subset_filter_tables(self):
3221 r"""get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3222 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3224 def get_has_subset_filter_tables(self):
3225 r"""get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3226 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3228 def get_subset_filter_table(self, i):
3229 r"""get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3230 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3232 def get_subset_filter_tables(self):
3233 r"""get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3234 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3236 def erase_subset_filter_table(self, i):
3237 r"""erase_subset_filter_table(DiscreteSampler self, unsigned int i)"""
3238 return _IMP_domino.DiscreteSampler_erase_subset_filter_table(self, i)
3240 def reserve_subset_filter_tables(self, sz):
3241 r"""reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3242 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3244 def set_maximum_number_of_assignments(self, mx):
3245 r"""set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3246 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3248 def get_maximum_number_of_assignments(self):
3249 r"""get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3250 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3253 r"""__str__(DiscreteSampler self) -> std::string"""
3254 return _IMP_domino.DiscreteSampler___str__(self)
3257 r"""__repr__(DiscreteSampler self) -> std::string"""
3258 return _IMP_domino.DiscreteSampler___repr__(self)
3262 return _object_cast_to_DiscreteSampler(o)
3265 def do_show(self, out):
3270 return _object_cast_to_DiscreteSampler(o)
3272 def __disown__(self):
3274 _IMP_domino.disown_DiscreteSampler(self)
3275 return weakref.proxy(self)
3277 def do_destroy(self):
3278 r"""do_destroy(DiscreteSampler self)"""
3279 return _IMP_domino.DiscreteSampler_do_destroy(self)
3282 _IMP_domino.DiscreteSampler_swigregister(DiscreteSampler)
3283 class DominoSampler(DiscreteSampler):
3284 r"""Proxy of C++ IMP::domino::DominoSampler class."""
3286 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3288 def __init__(self, *args):
3290 __init__(DominoSampler self, Model m, std::string name="DominoSampler %1%") -> DominoSampler
3291 __init__(DominoSampler self, Model m, ParticleStatesTable pst, std::string name="DominoSampler %1%") -> DominoSampler
3293 _IMP_domino.DominoSampler_swiginit(self, _IMP_domino.new_DominoSampler(*args))
3295 def do_get_sample_assignments(self, known):
3296 r"""do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3297 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3299 def get_version_info(self):
3300 r"""get_version_info(DominoSampler self) -> VersionInfo"""
3301 return _IMP_domino.DominoSampler_get_version_info(self)
3302 __swig_destroy__ = _IMP_domino.delete_DominoSampler
3304 def set_merge_tree(self, mt):
3305 r"""set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3306 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3308 def set_use_cross_subset_filtering(self, tf):
3309 r"""set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3310 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3312 def get_number_of_assignments_for_vertex(self, tree_vertex):
3313 r"""get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3314 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3316 def get_sample_assignments_for_vertex(self, tree_vertex):
3317 r"""get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3318 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3320 def get_vertex_assignments(self, *args):
3322 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3323 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
3325 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3327 def load_vertex_assignments(self, *args):
3329 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3330 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3332 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3335 r"""__str__(DominoSampler self) -> std::string"""
3336 return _IMP_domino.DominoSampler___str__(self)
3339 r"""__repr__(DominoSampler self) -> std::string"""
3340 return _IMP_domino.DominoSampler___repr__(self)
3344 return _object_cast_to_DominoSampler(o)
3348 _IMP_domino.DominoSampler_swigregister(DominoSampler)
3349 class BranchAndBoundSampler(DiscreteSampler):
3350 r"""Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3352 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3354 def __init__(self, *args):
3356 __init__(BranchAndBoundSampler self, Model m, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3357 __init__(BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3359 _IMP_domino.BranchAndBoundSampler_swiginit(self, _IMP_domino.new_BranchAndBoundSampler(*args))
3361 def do_get_sample_assignments(self, known):
3362 r"""do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3363 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3365 def get_version_info(self):
3366 r"""get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3367 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3368 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundSampler
3371 r"""__str__(BranchAndBoundSampler self) -> std::string"""
3372 return _IMP_domino.BranchAndBoundSampler___str__(self)
3375 r"""__repr__(BranchAndBoundSampler self) -> std::string"""
3376 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3380 return _object_cast_to_BranchAndBoundSampler(o)
3384 _IMP_domino.BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3387 r"""load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3388 return _IMP_domino.load_particle_states(s, ss, pst)
3390 def get_restraints(s, pst, dg, rs):
3391 r"""get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3392 return _IMP_domino.get_restraints(s, pst, dg, rs)
3394 def get_index(particles, subset, excluded):
3395 r"""get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3396 return _IMP_domino.get_index(particles, subset, excluded)
3399 r"""get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3400 return _IMP_domino.get_partial_index(particles, subset, excluded)
3403 r"""get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3404 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3407 r"""get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3408 return _IMP_domino.get_embedding(s, a, pst)
3411 r"""get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3412 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3415 r"""get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3416 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3419 r"""load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3420 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3423 r"""load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3424 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3427 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)"""
3428 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3431 r"""get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3432 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3434 r"""Proxy of C++ IMP::domino::DependencyScoreState class."""
3436 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3438 def __init__(self, m):
3439 r"""__init__(DependencyScoreState self, Model m) -> DependencyScoreState"""
3440 _IMP_domino.DependencyScoreState_swiginit(self, _IMP_domino.new_DependencyScoreState(m))
3442 def set_input_particles(self, pt):
3443 r"""set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3444 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3446 def set_output_particles(self, pt):
3447 r"""set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3448 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3450 def set_input_containers(self, pt):
3451 r"""set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3452 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3454 def set_output_containers(self, pt):
3455 r"""set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3456 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3458 def get_version_info(self):
3459 r"""get_version_info(DependencyScoreState self) -> VersionInfo"""
3460 return _IMP_domino.DependencyScoreState_get_version_info(self)
3461 __swig_destroy__ = _IMP_domino.delete_DependencyScoreState
3464 r"""__str__(DependencyScoreState self) -> std::string"""
3465 return _IMP_domino.DependencyScoreState___str__(self)
3468 r"""__repr__(DependencyScoreState self) -> std::string"""
3469 return _IMP_domino.DependencyScoreState___repr__(self)
3473 return _object_cast_to_DependencyScoreState(o)
3477 _IMP_domino.DependencyScoreState_swigregister(DependencyScoreState)
3479 def _get_ints_list(input):
3480 r"""_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3481 return _IMP_domino._get_ints_list(input)
3483 def get_module_name():
3484 r"""get_module_name() -> std::string const"""
3485 return _IMP_domino.get_module_name()
3488 r"""get_module_version() -> std::string const"""
3489 return _IMP_domino.get_module_version()
3492 r"""get_example_path(std::string fname) -> std::string"""
3493 return _IMP_domino.get_example_path(fname)
3496 r"""get_data_path(std::string fname) -> std::string"""
3497 return _IMP_domino.get_data_path(fname)
3499 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)
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)