17 import builtins
as __builtin__
21 strthis =
"proxy of " + self.this.__repr__()
22 except __builtin__.Exception:
24 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
27 def _swig_setattr_nondynamic_instance_variable(set):
28 def set_instance_attr(self, name, value):
30 set(self, name, value)
31 elif name ==
"thisown":
33 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
34 set(self, name, value)
36 raise AttributeError(
"You cannot add instance attributes to %s" % self)
37 return set_instance_attr
40 def _swig_setattr_nondynamic_class_variable(set):
41 def set_class_attr(cls, name, value):
42 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
45 raise AttributeError(
"You cannot add class attributes to %s" % cls)
49 class _SwigNonDynamicMeta(type):
50 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
51 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
56 class IMP_DOMINO_SwigPyIterator(object):
57 r"""Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
59 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
61 def __init__(self, *args, **kwargs):
62 raise AttributeError(
"No constructor defined - class is abstract")
64 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
67 r"""value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
68 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
71 r"""incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
72 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
75 r"""decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
76 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
78 def distance(self, x):
79 r"""distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
80 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
83 r"""equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
84 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
87 r"""copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
88 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
91 r"""__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
92 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
95 r"""previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
96 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
99 r"""advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
100 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
103 r"""__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
104 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
107 r"""__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
108 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
110 def __iadd__(self, n):
111 r"""__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
112 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
114 def __isub__(self, n):
115 r"""__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
116 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
118 def __add__(self, n):
119 r"""__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
120 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
122 def __sub__(self, *args):
124 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
125 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
127 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
132 _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
139 IMP_DEBUG = _IMP_domino.IMP_DEBUG
141 IMP_RELEASE = _IMP_domino.IMP_RELEASE
143 IMP_SILENT = _IMP_domino.IMP_SILENT
145 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
147 IMP_TERSE = _IMP_domino.IMP_TERSE
149 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
151 IMP_MEMORY = _IMP_domino.IMP_MEMORY
153 IMP_NONE = _IMP_domino.IMP_NONE
155 IMP_USAGE = _IMP_domino.IMP_USAGE
157 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
159 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
161 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_domino.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
163 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
165 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_domino.IMP_COMPILER_HAS_RANDOM_SHUFFLE
167 IMP_COMPILER_HAS_THREE_WAY = _IMP_domino.IMP_COMPILER_HAS_THREE_WAY
169 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
171 IMP_KERNEL_HAS_NUMPY = _IMP_domino.IMP_KERNEL_HAS_NUMPY
173 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_KERNEL_HAS_BOOST_SYSTEM
175 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
177 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
179 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
181 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
185 class _DirectorObjects:
186 """@internal Simple class to keep references to director objects
187 to prevent premature deletion."""
190 def register(self, obj):
191 """Take a reference to a director object; will only work for
192 refcounted C++ classes"""
193 if hasattr(obj,
'get_ref_count'):
194 self._objects.append(obj)
196 """Only drop our reference and allow cleanup by Python if no other
197 Python references exist (we hold 3 references: one in self._objects,
198 one in x, and one in the argument list for getrefcount) *and* no
199 other C++ references exist (the Python object always holds one)"""
200 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
201 or x.get_ref_count() > 1]
205 def get_object_count(self):
206 """Get number of director objects (useful for testing only)"""
207 return len(self._objects)
208 _director_objects = _DirectorObjects()
210 class _ostream(object):
211 r"""Proxy of C++ std::ostream class."""
213 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
215 def __init__(self, *args, **kwargs):
216 raise AttributeError(
"No constructor defined")
217 __repr__ = _swig_repr
219 def write(self, osa_buf):
220 r"""write(_ostream self, char const * osa_buf)"""
221 return _IMP_domino._ostream_write(self, osa_buf)
224 _IMP_domino._ostream_swigregister(_ostream)
225 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
228 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
230 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
232 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
234 IMP_CGAL_HAS_NUMPY = _IMP_domino.IMP_CGAL_HAS_NUMPY
236 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
239 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
241 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
243 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
245 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
247 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
249 IMP_ALGEBRA_HAS_NUMPY = _IMP_domino.IMP_ALGEBRA_HAS_NUMPY
251 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
253 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
256 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
258 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
260 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
262 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
264 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
266 IMP_DISPLAY_HAS_NUMPY = _IMP_domino.IMP_DISPLAY_HAS_NUMPY
268 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
271 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
273 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
275 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
277 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
279 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
281 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
283 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_NUMPY
285 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
288 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
290 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
292 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
294 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
296 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
298 IMP_STATISTICS_HAS_NUMPY = _IMP_domino.IMP_STATISTICS_HAS_NUMPY
300 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
303 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
305 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
307 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
309 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
311 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
313 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
315 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
317 IMP_CORE_HAS_NUMPY = _IMP_domino.IMP_CORE_HAS_NUMPY
319 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
322 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
324 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
326 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
328 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
330 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
332 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
334 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
336 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
338 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
340 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
342 IMP_CONTAINER_HAS_NUMPY = _IMP_domino.IMP_CONTAINER_HAS_NUMPY
344 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
346 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
348 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
350 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
353 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
355 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
357 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
359 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
361 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
363 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
365 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
367 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
369 IMP_ATOM_HAS_NUMPY = _IMP_domino.IMP_ATOM_HAS_NUMPY
371 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
373 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
375 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
377 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
379 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
381 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
384 IMP_EM_HAS_IMP_CGAL = _IMP_domino.IMP_EM_HAS_IMP_CGAL
386 IMP_EM_HAS_IMP_CONTAINER = _IMP_domino.IMP_EM_HAS_IMP_CONTAINER
388 IMP_EM_HAS_IMP_DISPLAY = _IMP_domino.IMP_EM_HAS_IMP_DISPLAY
390 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_EM_HAS_IMP_SCORE_FUNCTOR
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_FILESYSTEM
394 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
396 IMP_EM_HAS_BOOST_RANDOM = _IMP_domino.IMP_EM_HAS_BOOST_RANDOM
398 IMP_EM_HAS_BOOST_REGEX = _IMP_domino.IMP_EM_HAS_BOOST_REGEX
400 IMP_EM_HAS_CGAL = _IMP_domino.IMP_EM_HAS_CGAL
402 IMP_EM_HAS_HDF5 = _IMP_domino.IMP_EM_HAS_HDF5
404 IMP_EM_HAS_NUMPY = _IMP_domino.IMP_EM_HAS_NUMPY
406 IMP_EM_HAS_PYTHON_IHM = _IMP_domino.IMP_EM_HAS_PYTHON_IHM
408 IMPEM_SHOW_WARNINGS = _IMP_domino.IMPEM_SHOW_WARNINGS
411 IMP_SAXS_HAS_IMP_CGAL = _IMP_domino.IMP_SAXS_HAS_IMP_CGAL
413 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_domino.IMP_SAXS_HAS_IMP_CONTAINER
415 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_domino.IMP_SAXS_HAS_IMP_DISPLAY
417 IMP_SAXS_HAS_IMP_KERNEL = _IMP_domino.IMP_SAXS_HAS_IMP_KERNEL
419 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
421 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_FILESYSTEM
423 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
425 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_domino.IMP_SAXS_HAS_BOOST_RANDOM
427 IMP_SAXS_HAS_BOOST_REGEX = _IMP_domino.IMP_SAXS_HAS_BOOST_REGEX
429 IMP_SAXS_HAS_CGAL = _IMP_domino.IMP_SAXS_HAS_CGAL
431 IMP_SAXS_HAS_HDF5 = _IMP_domino.IMP_SAXS_HAS_HDF5
433 IMP_SAXS_HAS_NUMPY = _IMP_domino.IMP_SAXS_HAS_NUMPY
435 IMP_SAXS_HAS_PYTHON_IHM = _IMP_domino.IMP_SAXS_HAS_PYTHON_IHM
437 IMPSAXS_SHOW_WARNINGS = _IMP_domino.IMPSAXS_SHOW_WARNINGS
440 IMP_ISD_HAS_IMP_CGAL = _IMP_domino.IMP_ISD_HAS_IMP_CGAL
442 IMP_ISD_HAS_IMP_DISPLAY = _IMP_domino.IMP_ISD_HAS_IMP_DISPLAY
444 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
446 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_FILESYSTEM
448 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
450 IMP_ISD_HAS_BOOST_RANDOM = _IMP_domino.IMP_ISD_HAS_BOOST_RANDOM
452 IMP_ISD_HAS_BOOST_REGEX = _IMP_domino.IMP_ISD_HAS_BOOST_REGEX
454 IMP_ISD_HAS_CGAL = _IMP_domino.IMP_ISD_HAS_CGAL
456 IMP_ISD_HAS_HDF5 = _IMP_domino.IMP_ISD_HAS_HDF5
458 IMP_ISD_HAS_NUMPY = _IMP_domino.IMP_ISD_HAS_NUMPY
460 IMP_ISD_HAS_PYTHON_IHM = _IMP_domino.IMP_ISD_HAS_PYTHON_IHM
462 IMPISD_SHOW_WARNINGS = _IMP_domino.IMPISD_SHOW_WARNINGS
465 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
467 IMP_RMF_HAS_IMP_EM = _IMP_domino.IMP_RMF_HAS_IMP_EM
469 IMP_RMF_HAS_IMP_SAXS = _IMP_domino.IMP_RMF_HAS_IMP_SAXS
471 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
473 IMP_RMF_HAS_IMP_STATISTICS = _IMP_domino.IMP_RMF_HAS_IMP_STATISTICS
475 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
477 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
479 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
481 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
483 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
485 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
487 IMP_RMF_HAS_NUMPY = _IMP_domino.IMP_RMF_HAS_NUMPY
489 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
491 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
495 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
497 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
499 IMP_DOMINO_HAS_IMP_EM = _IMP_domino.IMP_DOMINO_HAS_IMP_EM
501 IMP_DOMINO_HAS_IMP_ISD = _IMP_domino.IMP_DOMINO_HAS_IMP_ISD
503 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
505 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
507 IMP_DOMINO_HAS_IMP_SAXS = _IMP_domino.IMP_DOMINO_HAS_IMP_SAXS
509 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
511 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
513 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
515 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
517 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
519 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
521 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
523 IMP_DOMINO_HAS_NUMPY = _IMP_domino.IMP_DOMINO_HAS_NUMPY
525 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
527 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
529 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
533 _object_types.append(
"DiscreteSampler")
536 def _object_cast_to_DiscreteSampler(o):
537 r"""_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
538 return _IMP_domino._object_cast_to_DiscreteSampler(o)
540 _object_types.append(
"ParticleStates")
543 def _object_cast_to_ParticleStates(o):
544 r"""_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
545 return _IMP_domino._object_cast_to_ParticleStates(o)
547 _object_types.append(
"SubsetFilter")
550 def _object_cast_to_SubsetFilter(o):
551 r"""_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
552 return _IMP_domino._object_cast_to_SubsetFilter(o)
554 _object_types.append(
"SubsetFilterTable")
557 def _object_cast_to_SubsetFilterTable(o):
558 r"""_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
559 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
561 _object_types.append(
"AssignmentsTable")
564 def _object_cast_to_AssignmentsTable(o):
565 r"""_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
566 return _IMP_domino._object_cast_to_AssignmentsTable(o)
568 _object_types.append(
"AssignmentContainer")
571 def _object_cast_to_AssignmentContainer(o):
572 r"""_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
573 return _IMP_domino._object_cast_to_AssignmentContainer(o)
575 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex > class."""
577 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
578 __repr__ = _swig_repr
581 r"""__init__(InteractionGraph self) -> InteractionGraph"""
582 _IMP_domino.InteractionGraph_swiginit(self, _IMP_domino.new_InteractionGraph())
585 r"""get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
586 return _IMP_domino.InteractionGraph_get_graph(self)
589 r"""get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
590 return _IMP_domino.InteractionGraph_get_vertices(self)
592 def get_vertex_name(self, i):
593 r"""get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
594 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
596 def get_in_neighbors(self, v):
597 r"""get_in_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
598 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
600 def get_out_neighbors(self, v):
601 r"""get_out_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
602 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
605 r"""show_graphviz(InteractionGraph self, _ostream out=std::cout)"""
606 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
608 def get_graphviz_string(self):
609 r"""get_graphviz_string(InteractionGraph self) -> std::string"""
610 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
612 def add_edge(self, v0, v1):
613 r"""add_edge(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v1)"""
614 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
616 def add_vertex(self, l):
617 r"""add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
618 return _IMP_domino.InteractionGraph_add_vertex(self, l)
620 def remove_vertex(self, l):
621 r"""remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
622 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
623 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
626 _IMP_domino.InteractionGraph_swigregister(InteractionGraph)
628 _value_types.append(
"InteractionGraph")
631 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex > class."""
633 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
634 __repr__ = _swig_repr
637 r"""__init__(SubsetGraph self) -> SubsetGraph"""
638 _IMP_domino.SubsetGraph_swiginit(self, _IMP_domino.new_SubsetGraph())
641 r"""get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
642 return _IMP_domino.SubsetGraph_get_graph(self)
645 r"""get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
646 return _IMP_domino.SubsetGraph_get_vertices(self)
648 def get_vertex_name(self, i):
649 r"""get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
650 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
652 def get_in_neighbors(self, v):
653 r"""get_in_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
654 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
656 def get_out_neighbors(self, v):
657 r"""get_out_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
658 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
661 r"""show_graphviz(SubsetGraph self, _ostream out=std::cout)"""
662 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
664 def get_graphviz_string(self):
665 r"""get_graphviz_string(SubsetGraph self) -> std::string"""
666 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
668 def add_edge(self, v0, v1):
669 r"""add_edge(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v1)"""
670 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
672 def add_vertex(self, l):
673 r"""add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
674 return _IMP_domino.SubsetGraph_add_vertex(self, l)
676 def remove_vertex(self, l):
677 r"""remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
678 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
679 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
682 _IMP_domino.SubsetGraph_swigregister(SubsetGraph)
684 _value_types.append(
"SubsetGraph")
687 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex > class."""
689 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
690 __repr__ = _swig_repr
693 r"""__init__(CliqueGraph self) -> CliqueGraph"""
694 _IMP_domino.CliqueGraph_swiginit(self, _IMP_domino.new_CliqueGraph())
697 r"""get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
698 return _IMP_domino.CliqueGraph_get_graph(self)
701 r"""get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
702 return _IMP_domino.CliqueGraph_get_vertices(self)
704 def get_vertex_name(self, i):
705 r"""get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
706 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
708 def get_in_neighbors(self, v):
709 r"""get_in_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
710 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
712 def get_out_neighbors(self, v):
713 r"""get_out_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
714 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
717 r"""show_graphviz(CliqueGraph self, _ostream out=std::cout)"""
718 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
720 def get_graphviz_string(self):
721 r"""get_graphviz_string(CliqueGraph self) -> std::string"""
722 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
724 def add_edge(self, v0, v1):
725 r"""add_edge(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v1)"""
726 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
728 def add_vertex(self, l):
729 r"""add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
730 return _IMP_domino.CliqueGraph_add_vertex(self, l)
732 def remove_vertex(self, l):
733 r"""remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
734 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
735 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
738 _IMP_domino.CliqueGraph_swigregister(CliqueGraph)
740 _value_types.append(
"CliqueGraph")
743 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex > class."""
745 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
746 __repr__ = _swig_repr
749 r"""__init__(MergeTree self) -> MergeTree"""
750 _IMP_domino.MergeTree_swiginit(self, _IMP_domino.new_MergeTree())
753 r"""get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
754 return _IMP_domino.MergeTree_get_graph(self)
757 r"""get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
758 return _IMP_domino.MergeTree_get_vertices(self)
760 def get_vertex_name(self, i):
761 r"""get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
762 return _IMP_domino.MergeTree_get_vertex_name(self, i)
764 def get_in_neighbors(self, v):
765 r"""get_in_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
766 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
768 def get_out_neighbors(self, v):
769 r"""get_out_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
770 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
773 r"""show_graphviz(MergeTree self, _ostream out=std::cout)"""
774 return _IMP_domino.MergeTree_show_graphviz(self, *args)
776 def get_graphviz_string(self):
777 r"""get_graphviz_string(MergeTree self) -> std::string"""
778 return _IMP_domino.MergeTree_get_graphviz_string(self)
780 def add_edge(self, v0, v1):
781 r"""add_edge(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v1)"""
782 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
784 def add_vertex(self, l):
785 r"""add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
786 return _IMP_domino.MergeTree_add_vertex(self, l)
788 def remove_vertex(self, l):
789 r"""remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
790 return _IMP_domino.MergeTree_remove_vertex(self, l)
791 __swig_destroy__ = _IMP_domino.delete_MergeTree
794 _IMP_domino.MergeTree_swigregister(MergeTree)
796 _value_types.append(
"MergeTree")
799 _object_types.append(
"BranchAndBoundSampler")
802 def _object_cast_to_BranchAndBoundSampler(o):
803 r"""_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
804 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
806 _object_types.append(
"BranchAndBoundAssignmentsTable")
809 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
810 r"""_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
811 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
813 _object_types.append(
"RecursiveAssignmentsTable")
816 def _object_cast_to_RecursiveAssignmentsTable(o):
817 r"""_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
818 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
820 _object_types.append(
"SimpleAssignmentsTable")
823 def _object_cast_to_SimpleAssignmentsTable(o):
824 r"""_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
825 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
827 _object_types.append(
"CompoundStates")
830 def _object_cast_to_CompoundStates(o):
831 r"""_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
832 return _IMP_domino._object_cast_to_CompoundStates(o)
834 _object_types.append(
"DisjointSetsSubsetFilterTable")
837 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
838 r"""_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
839 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
841 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
844 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
845 r"""_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
846 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
848 _object_types.append(
"DominoSampler")
851 def _object_cast_to_DominoSampler(o):
852 r"""_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
853 return _IMP_domino._object_cast_to_DominoSampler(o)
855 _object_types.append(
"EqualitySubsetFilterTable")
858 def _object_cast_to_EqualitySubsetFilterTable(o):
859 r"""_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
860 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
862 _object_types.append(
"EquivalenceSubsetFilterTable")
865 def _object_cast_to_EquivalenceSubsetFilterTable(o):
866 r"""_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
867 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
869 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
872 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
873 r"""_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
874 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
876 _object_types.append(
"ExclusionSubsetFilterTable")
879 def _object_cast_to_ExclusionSubsetFilterTable(o):
880 r"""_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
881 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
883 _object_types.append(
"IndexStates")
886 def _object_cast_to_IndexStates(o):
887 r"""_object_cast_to_IndexStates(Object o) -> IndexStates"""
888 return _IMP_domino._object_cast_to_IndexStates(o)
890 _object_types.append(
"ListSubsetFilterTable")
893 def _object_cast_to_ListSubsetFilterTable(o):
894 r"""_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
895 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
897 _object_types.append(
"ListAssignmentsTable")
900 def _object_cast_to_ListAssignmentsTable(o):
901 r"""_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
902 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
904 _object_types.append(
"ParticleStatesTable")
907 def _object_cast_to_ParticleStatesTable(o):
908 r"""_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
909 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
911 _object_types.append(
"RecursiveStates")
914 def _object_cast_to_RecursiveStates(o):
915 r"""_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
916 return _IMP_domino._object_cast_to_RecursiveStates(o)
918 _object_types.append(
"ProbabilisticSubsetFilterTable")
921 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
922 r"""_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
923 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
925 _object_types.append(
"RestraintScoreSubsetFilterTable")
928 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
929 r"""_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
930 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
932 _object_types.append(
"RigidBodyStates")
935 def _object_cast_to_RigidBodyStates(o):
936 r"""_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
937 return _IMP_domino._object_cast_to_RigidBodyStates(o)
939 _object_types.append(
"XYZStates")
942 def _object_cast_to_XYZStates(o):
943 r"""_object_cast_to_XYZStates(Object o) -> XYZStates"""
944 return _IMP_domino._object_cast_to_XYZStates(o)
946 _object_types.append(
"NestedRigidBodyStates")
949 def _object_cast_to_NestedRigidBodyStates(o):
950 r"""_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
951 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
953 _object_types.append(
"DependencyScoreState")
956 def _object_cast_to_DependencyScoreState(o):
957 r"""_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
958 return _IMP_domino._object_cast_to_DependencyScoreState(o)
960 _object_types.append(
"PairListSubsetFilterTable")
963 def _object_cast_to_PairListSubsetFilterTable(o):
964 r"""_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
965 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
967 _object_types.append(
"ListAssignmentContainer")
970 def _object_cast_to_ListAssignmentContainer(o):
971 r"""_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
972 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
974 _object_types.append(
"PackedAssignmentContainer")
977 def _object_cast_to_PackedAssignmentContainer(o):
978 r"""_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
979 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
981 _object_types.append(
"HeapAssignmentContainer")
984 def _object_cast_to_HeapAssignmentContainer(o):
985 r"""_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
986 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
988 _object_types.append(
"RangeViewAssignmentContainer")
991 def _object_cast_to_RangeViewAssignmentContainer(o):
992 r"""_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
993 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
995 _object_types.append(
"SampleAssignmentContainer")
998 def _object_cast_to_SampleAssignmentContainer(o):
999 r"""_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1000 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1002 _object_types.append(
"PermutationStates")
1005 def _object_cast_to_PermutationStates(o):
1006 r"""_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1007 return _IMP_domino._object_cast_to_PermutationStates(o)
1009 _object_types.append(
"WriteHDF5AssignmentContainer")
1012 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1013 r"""_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1014 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1016 _object_types.append(
"ReadHDF5AssignmentContainer")
1019 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1020 r"""_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1021 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1023 _object_types.append(
"ReadAssignmentContainer")
1026 def _object_cast_to_ReadAssignmentContainer(o):
1027 r"""_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1028 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1030 _object_types.append(
"WriteAssignmentContainer")
1033 def _object_cast_to_WriteAssignmentContainer(o):
1034 r"""_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1035 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1037 _object_types.append(
"CappedAssignmentContainer")
1040 def _object_cast_to_CappedAssignmentContainer(o):
1041 r"""_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1042 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1044 _object_types.append(
"RestraintCache")
1047 def _object_cast_to_RestraintCache(o):
1048 r"""_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1049 return _IMP_domino._object_cast_to_RestraintCache(o)
1052 _plural_types.append(
"Subsets")
1053 _value_types.append(
"Subset")
1057 _plural_types.append(
"Assignments")
1058 _value_types.append(
"Assignment")
1062 _plural_types.append(
"Slices")
1063 _value_types.append(
"Slice")
1067 _plural_types.append(
"Orders")
1068 _value_types.append(
"Order")
1070 class _IntArray(IMP._Value):
1071 r"""Proxy of C++ IMP::ConstVector< int > class."""
1073 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1074 __repr__ = _swig_repr
1075 __swig_destroy__ = _IMP_domino.delete__IntArray
1077 def __init__(self, *args):
1079 __init__(_IntArray self, unsigned int sz, int fill) -> _IntArray
1080 __init__(_IntArray self) -> _IntArray
1082 _IMP_domino._IntArray_swiginit(self, _IMP_domino.new__IntArray(*args))
1084 def __cmp__(self, o):
1085 r"""__cmp__(_IntArray self, _IntArray o) -> int"""
1086 return _IMP_domino._IntArray___cmp__(self, o)
1088 def __eq__(self, o):
1089 r"""__eq__(_IntArray self, _IntArray o) -> bool"""
1090 return _IMP_domino._IntArray___eq__(self, o)
1092 def __ne__(self, o):
1093 r"""__ne__(_IntArray self, _IntArray o) -> bool"""
1094 return _IMP_domino._IntArray___ne__(self, o)
1096 def __lt__(self, o):
1097 r"""__lt__(_IntArray self, _IntArray o) -> bool"""
1098 return _IMP_domino._IntArray___lt__(self, o)
1100 def __gt__(self, o):
1101 r"""__gt__(_IntArray self, _IntArray o) -> bool"""
1102 return _IMP_domino._IntArray___gt__(self, o)
1104 def __ge__(self, o):
1105 r"""__ge__(_IntArray self, _IntArray o) -> bool"""
1106 return _IMP_domino._IntArray___ge__(self, o)
1108 def __le__(self, o):
1109 r"""__le__(_IntArray self, _IntArray o) -> bool"""
1110 return _IMP_domino._IntArray___le__(self, o)
1112 def __getitem__(self, i):
1113 r"""__getitem__(_IntArray self, unsigned int i) -> int"""
1114 return _IMP_domino._IntArray___getitem__(self, i)
1117 r"""__len__(_IntArray self) -> unsigned int"""
1118 return _IMP_domino._IntArray___len__(self)
1120 def show(self, *args):
1121 r"""show(_IntArray self, _ostream out=std::cout)"""
1122 return _IMP_domino._IntArray_show(self, *args)
1125 r"""__hash__(_IntArray self) -> std::size_t"""
1126 return _IMP_domino._IntArray___hash__(self)
1129 _IMP_domino._IntArray_swigregister(_IntArray)
1130 class _UIntArray(IMP._Value):
1131 r"""Proxy of C++ IMP::ConstVector< unsigned int > class."""
1133 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1134 __repr__ = _swig_repr
1135 __swig_destroy__ = _IMP_domino.delete__UIntArray
1137 def __init__(self, *args):
1139 __init__(_UIntArray self, unsigned int sz, unsigned int fill) -> _UIntArray
1140 __init__(_UIntArray self) -> _UIntArray
1142 _IMP_domino._UIntArray_swiginit(self, _IMP_domino.new__UIntArray(*args))
1144 def __cmp__(self, o):
1145 r"""__cmp__(_UIntArray self, _UIntArray o) -> int"""
1146 return _IMP_domino._UIntArray___cmp__(self, o)
1148 def __eq__(self, o):
1149 r"""__eq__(_UIntArray self, _UIntArray o) -> bool"""
1150 return _IMP_domino._UIntArray___eq__(self, o)
1152 def __ne__(self, o):
1153 r"""__ne__(_UIntArray self, _UIntArray o) -> bool"""
1154 return _IMP_domino._UIntArray___ne__(self, o)
1156 def __lt__(self, o):
1157 r"""__lt__(_UIntArray self, _UIntArray o) -> bool"""
1158 return _IMP_domino._UIntArray___lt__(self, o)
1160 def __gt__(self, o):
1161 r"""__gt__(_UIntArray self, _UIntArray o) -> bool"""
1162 return _IMP_domino._UIntArray___gt__(self, o)
1164 def __ge__(self, o):
1165 r"""__ge__(_UIntArray self, _UIntArray o) -> bool"""
1166 return _IMP_domino._UIntArray___ge__(self, o)
1168 def __le__(self, o):
1169 r"""__le__(_UIntArray self, _UIntArray o) -> bool"""
1170 return _IMP_domino._UIntArray___le__(self, o)
1172 def __getitem__(self, i):
1173 r"""__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1174 return _IMP_domino._UIntArray___getitem__(self, i)
1177 r"""__len__(_UIntArray self) -> unsigned int"""
1178 return _IMP_domino._UIntArray___len__(self)
1180 def show(self, *args):
1181 r"""show(_UIntArray self, _ostream out=std::cout)"""
1182 return _IMP_domino._UIntArray_show(self, *args)
1185 r"""__hash__(_UIntArray self) -> std::size_t"""
1186 return _IMP_domino._UIntArray___hash__(self)
1189 _IMP_domino._UIntArray_swigregister(_UIntArray)
1190 class _ParticleArray(IMP._Value):
1191 r"""Proxy of C++ IMP::ConstVector< IMP::WeakPointer< Particle >,Particle * > class."""
1193 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1194 __repr__ = _swig_repr
1195 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1197 def __init__(self, *args):
1199 __init__(_ParticleArray self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1200 __init__(_ParticleArray self) -> _ParticleArray
1202 _IMP_domino._ParticleArray_swiginit(self, _IMP_domino.new__ParticleArray(*args))
1204 def __cmp__(self, o):
1205 r"""__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1206 return _IMP_domino._ParticleArray___cmp__(self, o)
1208 def __eq__(self, o):
1209 r"""__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1210 return _IMP_domino._ParticleArray___eq__(self, o)
1212 def __ne__(self, o):
1213 r"""__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1214 return _IMP_domino._ParticleArray___ne__(self, o)
1216 def __lt__(self, o):
1217 r"""__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1218 return _IMP_domino._ParticleArray___lt__(self, o)
1220 def __gt__(self, o):
1221 r"""__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1222 return _IMP_domino._ParticleArray___gt__(self, o)
1224 def __ge__(self, o):
1225 r"""__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1226 return _IMP_domino._ParticleArray___ge__(self, o)
1228 def __le__(self, o):
1229 r"""__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1230 return _IMP_domino._ParticleArray___le__(self, o)
1232 def __getitem__(self, i):
1233 r"""__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1234 return _IMP_domino._ParticleArray___getitem__(self, i)
1237 r"""__len__(_ParticleArray self) -> unsigned int"""
1238 return _IMP_domino._ParticleArray___len__(self)
1240 def show(self, *args):
1241 r"""show(_ParticleArray self, _ostream out=std::cout)"""
1242 return _IMP_domino._ParticleArray_show(self, *args)
1245 r"""__hash__(_ParticleArray self) -> std::size_t"""
1246 return _IMP_domino._ParticleArray___hash__(self)
1249 _IMP_domino._ParticleArray_swigregister(_ParticleArray)
1250 class Subset(_ParticleArray):
1251 r"""Proxy of C++ IMP::domino::Subset class."""
1253 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1255 def __init__(self, *args):
1257 __init__(Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1258 __init__(Subset self) -> Subset
1259 __init__(Subset self, IMP::ParticlesTemp ps) -> Subset
1261 _IMP_domino.Subset_swiginit(self, _IMP_domino.new_Subset(*args))
1263 def get_model(self):
1264 r"""get_model(Subset self) -> Model"""
1265 return _IMP_domino.Subset_get_model(self)
1268 r"""get_name(Subset self) -> std::string"""
1269 return _IMP_domino.Subset_get_name(self)
1271 def get_contains(self, o):
1272 r"""get_contains(Subset self, Subset o) -> bool"""
1273 return _IMP_domino.Subset_get_contains(self, o)
1276 r"""__str__(Subset self) -> std::string"""
1277 return _IMP_domino.Subset___str__(self)
1280 r"""__repr__(Subset self) -> std::string"""
1281 return _IMP_domino.Subset___repr__(self)
1282 __swig_destroy__ = _IMP_domino.delete_Subset
1285 _IMP_domino.Subset_swigregister(Subset)
1288 r"""get_union(Subset a, Subset b) -> Subset"""
1289 return _IMP_domino.get_union(a, b)
1292 r"""get_intersection(Subset a, Subset b) -> Subset"""
1293 return _IMP_domino.get_intersection(a, b)
1295 def get_difference(a, b):
1296 r"""get_difference(Subset a, Subset b) -> Subset"""
1297 return _IMP_domino.get_difference(a, b)
1298 class Assignment(_IntArray):
1299 r"""Proxy of C++ IMP::domino::Assignment class."""
1301 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1303 def __init__(self, *args):
1305 __init__(Assignment self) -> Assignment
1306 __init__(Assignment self, unsigned int sz) -> Assignment
1307 __init__(Assignment self, IMP::Ints const & i) -> Assignment
1309 _IMP_domino.Assignment_swiginit(self, _IMP_domino.new_Assignment(*args))
1312 r"""__str__(Assignment self) -> std::string"""
1313 return _IMP_domino.Assignment___str__(self)
1316 r"""__repr__(Assignment self) -> std::string"""
1317 return _IMP_domino.Assignment___repr__(self)
1319 def _get_as_binary(self):
1320 r"""_get_as_binary(Assignment self) -> PyObject *"""
1321 return _IMP_domino.Assignment__get_as_binary(self)
1323 def _set_from_binary(self, p):
1324 r"""_set_from_binary(Assignment self, PyObject * p)"""
1325 return _IMP_domino.Assignment__set_from_binary(self, p)
1327 def __getstate__(self):
1328 p = self._get_as_binary()
1329 if len(self.__dict__) > 1:
1330 d = self.__dict__.copy()
1335 def __setstate__(self, p):
1336 if not hasattr(self,
'this'):
1338 if isinstance(p, tuple):
1340 self.__dict__.update(d)
1341 return self._set_from_binary(p)
1343 __swig_destroy__ = _IMP_domino.delete_Assignment
1346 _IMP_domino.Assignment_swigregister(Assignment)
1347 class Slice(_UIntArray):
1348 r"""Proxy of C++ IMP::domino::Slice class."""
1350 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1352 def __init__(self, *args):
1354 __init__(Slice self) -> Slice
1355 __init__(Slice self, Subset outer, Subset inner) -> Slice
1357 _IMP_domino.Slice_swiginit(self, _IMP_domino.new_Slice(*args))
1359 def get_sliced(self, *args):
1361 get_sliced(Slice self, Assignment a) -> Assignment
1362 get_sliced(Slice self, Subset a) -> Subset
1364 return _IMP_domino.Slice_get_sliced(self, *args)
1367 r"""__str__(Slice self) -> std::string"""
1368 return _IMP_domino.Slice___str__(self)
1371 r"""__repr__(Slice self) -> std::string"""
1372 return _IMP_domino.Slice___repr__(self)
1374 def _get_as_binary(self):
1375 r"""_get_as_binary(Slice self) -> PyObject *"""
1376 return _IMP_domino.Slice__get_as_binary(self)
1378 def _set_from_binary(self, p):
1379 r"""_set_from_binary(Slice self, PyObject * p)"""
1380 return _IMP_domino.Slice__set_from_binary(self, p)
1382 def __getstate__(self):
1383 p = self._get_as_binary()
1384 if len(self.__dict__) > 1:
1385 d = self.__dict__.copy()
1390 def __setstate__(self, p):
1391 if not hasattr(self,
'this'):
1393 if isinstance(p, tuple):
1395 self.__dict__.update(d)
1396 return self._set_from_binary(p)
1398 __swig_destroy__ = _IMP_domino.delete_Slice
1401 _IMP_domino.Slice_swigregister(Slice)
1404 r"""get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1405 return _IMP_domino.get_slice(outer, inner, excluded)
1406 class Order(_UIntArray):
1407 r"""Proxy of C++ IMP::domino::Order class."""
1409 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1411 def __init__(self, *args):
1413 __init__(Order self) -> Order
1414 __init__(Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1416 _IMP_domino.Order_swiginit(self, _IMP_domino.new_Order(*args))
1418 def get_list_ordered(self, a):
1419 r"""get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1420 return _IMP_domino.Order_get_list_ordered(self, a)
1422 def get_subset_ordered(self, a):
1423 r"""get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1424 return _IMP_domino.Order_get_subset_ordered(self, a)
1427 r"""__str__(Order self) -> std::string"""
1428 return _IMP_domino.Order___str__(self)
1431 r"""__repr__(Order self) -> std::string"""
1432 return _IMP_domino.Order___repr__(self)
1434 def _get_as_binary(self):
1435 r"""_get_as_binary(Order self) -> PyObject *"""
1436 return _IMP_domino.Order__get_as_binary(self)
1438 def _set_from_binary(self, p):
1439 r"""_set_from_binary(Order self, PyObject * p)"""
1440 return _IMP_domino.Order__set_from_binary(self, p)
1442 def __getstate__(self):
1443 p = self._get_as_binary()
1444 if len(self.__dict__) > 1:
1445 d = self.__dict__.copy()
1450 def __setstate__(self, p):
1451 if not hasattr(self,
'this'):
1453 if isinstance(p, tuple):
1455 self.__dict__.update(d)
1456 return self._set_from_binary(p)
1458 __swig_destroy__ = _IMP_domino.delete_Order
1461 _IMP_domino.Order_swigregister(Order)
1463 r"""Proxy of C++ IMP::domino::ParticleStates class."""
1465 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1467 def __init__(self, *args):
1468 r"""__init__(ParticleStates self, std::string name="ParticleStates %1%") -> ParticleStates"""
1469 if self.__class__ == ParticleStates:
1473 _IMP_domino.ParticleStates_swiginit(self, _IMP_domino.new_ParticleStates(_self, *args))
1475 if self.__class__ != ParticleStates:
1476 _director_objects.register(self)
1481 def get_number_of_particle_states(self):
1482 r"""get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1483 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1485 def load_particle_state(self, arg0, arg1):
1486 r"""load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1487 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1490 r"""get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1491 return _IMP_domino.ParticleStates_get_embedding(self, i)
1493 def get_nearest_state(self, v):
1494 r"""get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1495 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1496 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1499 r"""__str__(ParticleStates self) -> std::string"""
1500 return _IMP_domino.ParticleStates___str__(self)
1503 r"""__repr__(ParticleStates self) -> std::string"""
1504 return _IMP_domino.ParticleStates___repr__(self)
1508 return _object_cast_to_ParticleStates(o)
1511 def do_show(self, out):
1516 return _object_cast_to_ParticleStates(o)
1518 def __disown__(self):
1520 _IMP_domino.disown_ParticleStates(self)
1521 return weakref.proxy(self)
1523 def do_destroy(self):
1524 r"""do_destroy(ParticleStates self)"""
1525 return _IMP_domino.ParticleStates_do_destroy(self)
1528 _IMP_domino.ParticleStates_swigregister(ParticleStates)
1530 r"""Proxy of C++ IMP::domino::ParticleStatesTable class."""
1532 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1535 r"""__init__(ParticleStatesTable self) -> ParticleStatesTable"""
1536 _IMP_domino.ParticleStatesTable_swiginit(self, _IMP_domino.new_ParticleStatesTable())
1538 def get_particle_states(self, p):
1539 r"""get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1540 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1542 def get_has_particle(self, p):
1543 r"""get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1544 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1547 r"""get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1548 return _IMP_domino.ParticleStatesTable_get_particles(self)
1550 def get_subset(self):
1551 r"""get_subset(ParticleStatesTable self) -> Subset"""
1552 return _IMP_domino.ParticleStatesTable_get_subset(self)
1554 def set_particle_states(self, p, e):
1555 r"""set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1556 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1558 def get_version_info(self):
1559 r"""get_version_info(ParticleStatesTable self) -> VersionInfo"""
1560 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1561 __swig_destroy__ = _IMP_domino.delete_ParticleStatesTable
1564 r"""__str__(ParticleStatesTable self) -> std::string"""
1565 return _IMP_domino.ParticleStatesTable___str__(self)
1568 r"""__repr__(ParticleStatesTable self) -> std::string"""
1569 return _IMP_domino.ParticleStatesTable___repr__(self)
1573 return _object_cast_to_ParticleStatesTable(o)
1577 _IMP_domino.ParticleStatesTable_swigregister(ParticleStatesTable)
1578 class IndexStates(ParticleStates):
1579 r"""Proxy of C++ IMP::domino::IndexStates class."""
1581 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1583 def __init__(self, *args):
1584 r"""__init__(IndexStates self, unsigned int n, IntKey k=IMP::IntKey("state")) -> IndexStates"""
1585 _IMP_domino.IndexStates_swiginit(self, _IMP_domino.new_IndexStates(*args))
1587 def get_version_info(self):
1588 r"""get_version_info(IndexStates self) -> VersionInfo"""
1589 return _IMP_domino.IndexStates_get_version_info(self)
1590 __swig_destroy__ = _IMP_domino.delete_IndexStates
1593 r"""__str__(IndexStates self) -> std::string"""
1594 return _IMP_domino.IndexStates___str__(self)
1597 r"""__repr__(IndexStates self) -> std::string"""
1598 return _IMP_domino.IndexStates___repr__(self)
1602 return _object_cast_to_IndexStates(o)
1606 _IMP_domino.IndexStates_swigregister(IndexStates)
1607 class XYZStates(ParticleStates):
1608 r"""Proxy of C++ IMP::domino::XYZStates class."""
1610 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1612 def __init__(self, states):
1613 r"""__init__(XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1614 _IMP_domino.XYZStates_swiginit(self, _IMP_domino.new_XYZStates(states))
1616 def get_vector(self, i):
1617 r"""get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1618 return _IMP_domino.XYZStates_get_vector(self, i)
1620 def get_version_info(self):
1621 r"""get_version_info(XYZStates self) -> VersionInfo"""
1622 return _IMP_domino.XYZStates_get_version_info(self)
1623 __swig_destroy__ = _IMP_domino.delete_XYZStates
1626 r"""__str__(XYZStates self) -> std::string"""
1627 return _IMP_domino.XYZStates___str__(self)
1630 r"""__repr__(XYZStates self) -> std::string"""
1631 return _IMP_domino.XYZStates___repr__(self)
1635 return _object_cast_to_XYZStates(o)
1639 _IMP_domino.XYZStates_swigregister(XYZStates)
1640 class RigidBodyStates(ParticleStates):
1641 r"""Proxy of C++ IMP::domino::RigidBodyStates class."""
1643 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1645 def __init__(self, states, scale=1):
1646 r"""__init__(RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates"""
1647 _IMP_domino.RigidBodyStates_swiginit(self, _IMP_domino.new_RigidBodyStates(states, scale))
1649 def get_reference_frame(self, i):
1650 r"""get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1651 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1653 def get_version_info(self):
1654 r"""get_version_info(RigidBodyStates self) -> VersionInfo"""
1655 return _IMP_domino.RigidBodyStates_get_version_info(self)
1656 __swig_destroy__ = _IMP_domino.delete_RigidBodyStates
1659 r"""__str__(RigidBodyStates self) -> std::string"""
1660 return _IMP_domino.RigidBodyStates___str__(self)
1663 r"""__repr__(RigidBodyStates self) -> std::string"""
1664 return _IMP_domino.RigidBodyStates___repr__(self)
1668 return _object_cast_to_RigidBodyStates(o)
1672 _IMP_domino.RigidBodyStates_swigregister(RigidBodyStates)
1673 class NestedRigidBodyStates(ParticleStates):
1674 r"""Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1676 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1678 def __init__(self, states, scale=100):
1679 r"""__init__(NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates"""
1680 _IMP_domino.NestedRigidBodyStates_swiginit(self, _IMP_domino.new_NestedRigidBodyStates(states, scale))
1682 def get_transformation(self, i):
1683 r"""get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1684 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1686 def get_version_info(self):
1687 r"""get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1688 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1689 __swig_destroy__ = _IMP_domino.delete_NestedRigidBodyStates
1692 r"""__str__(NestedRigidBodyStates self) -> std::string"""
1693 return _IMP_domino.NestedRigidBodyStates___str__(self)
1696 r"""__repr__(NestedRigidBodyStates self) -> std::string"""
1697 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1701 return _object_cast_to_NestedRigidBodyStates(o)
1705 _IMP_domino.NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1706 class CompoundStates(ParticleStates):
1707 r"""Proxy of C++ IMP::domino::CompoundStates class."""
1709 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1711 def __init__(self, a, b):
1712 r"""__init__(CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1713 _IMP_domino.CompoundStates_swiginit(self, _IMP_domino.new_CompoundStates(a, b))
1715 def get_version_info(self):
1716 r"""get_version_info(CompoundStates self) -> VersionInfo"""
1717 return _IMP_domino.CompoundStates_get_version_info(self)
1718 __swig_destroy__ = _IMP_domino.delete_CompoundStates
1721 r"""__str__(CompoundStates self) -> std::string"""
1722 return _IMP_domino.CompoundStates___str__(self)
1725 r"""__repr__(CompoundStates self) -> std::string"""
1726 return _IMP_domino.CompoundStates___repr__(self)
1730 return _object_cast_to_CompoundStates(o)
1734 _IMP_domino.CompoundStates_swigregister(CompoundStates)
1735 class RecursiveStates(ParticleStates):
1736 r"""Proxy of C++ IMP::domino::RecursiveStates class."""
1738 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1740 def __init__(self, p, s, ss, pst):
1741 r"""__init__(RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1742 _IMP_domino.RecursiveStates_swiginit(self, _IMP_domino.new_RecursiveStates(p, s, ss, pst))
1744 def get_version_info(self):
1745 r"""get_version_info(RecursiveStates self) -> VersionInfo"""
1746 return _IMP_domino.RecursiveStates_get_version_info(self)
1747 __swig_destroy__ = _IMP_domino.delete_RecursiveStates
1750 r"""__str__(RecursiveStates self) -> std::string"""
1751 return _IMP_domino.RecursiveStates___str__(self)
1754 r"""__repr__(RecursiveStates self) -> std::string"""
1755 return _IMP_domino.RecursiveStates___repr__(self)
1759 return _object_cast_to_RecursiveStates(o)
1763 _IMP_domino.RecursiveStates_swigregister(RecursiveStates)
1764 class PermutationStates(ParticleStates):
1765 r"""Proxy of C++ IMP::domino::PermutationStates class."""
1767 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1769 def __init__(self, inner):
1770 r"""__init__(PermutationStates self, ParticleStates inner) -> PermutationStates"""
1771 _IMP_domino.PermutationStates_swiginit(self, _IMP_domino.new_PermutationStates(inner))
1773 def get_inner_state(self, i):
1774 r"""get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1775 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1777 def get_version_info(self):
1778 r"""get_version_info(PermutationStates self) -> VersionInfo"""
1779 return _IMP_domino.PermutationStates_get_version_info(self)
1780 __swig_destroy__ = _IMP_domino.delete_PermutationStates
1783 r"""__str__(PermutationStates self) -> std::string"""
1784 return _IMP_domino.PermutationStates___str__(self)
1787 r"""__repr__(PermutationStates self) -> std::string"""
1788 return _IMP_domino.PermutationStates___repr__(self)
1792 return _object_cast_to_PermutationStates(o)
1796 _IMP_domino.PermutationStates_swigregister(PermutationStates)
1797 class _ParticlesAdaptor(IMP._InputAdaptor):
1798 r"""Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1800 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1801 __repr__ = _swig_repr
1803 def __init__(self, *args):
1805 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1806 __init__(_ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1808 _IMP_domino._ParticlesAdaptor_swiginit(self, _IMP_domino.new__ParticlesAdaptor(*args))
1809 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1812 _IMP_domino._ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1814 r"""Proxy of C++ IMP::domino::RestraintCache class."""
1816 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1818 def __init__(self, *args):
1819 r"""__init__(RestraintCache self, ParticleStatesTable pst, unsigned int size=std::numeric_limits< unsigned int >::max()) -> RestraintCache"""
1820 _IMP_domino.RestraintCache_swiginit(self, _IMP_domino.new_RestraintCache(*args))
1823 r"""add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1824 return _IMP_domino.RestraintCache_add_restraints(self, rs)
1826 def get_score(self, *args):
1828 get_score(RestraintCache self, Restraint r, Assignment a) -> double
1829 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1831 return _IMP_domino.RestraintCache_get_score(self, *args)
1833 def load_last_score(self, r, s, a):
1834 r"""load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1835 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1837 def get_restraints(self, *args):
1839 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1840 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1842 return _IMP_domino.RestraintCache_get_restraints(self, *args)
1844 def save_cache(self, particle_ordering, restraints, group, max_entries):
1845 r"""save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1846 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1848 def load_cache(self, ps, group):
1849 r"""load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1850 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1853 r"""get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1854 return _IMP_domino.RestraintCache_get_slice(self, r, s)
1856 def get_number_of_entries(self):
1857 r"""get_number_of_entries(RestraintCache self) -> unsigned int"""
1858 return _IMP_domino.RestraintCache_get_number_of_entries(self)
1861 r"""validate(RestraintCache self)"""
1862 return _IMP_domino.RestraintCache_validate(self)
1864 def show_restraint_information(self, *args):
1865 r"""show_restraint_information(RestraintCache self, _ostream out=std::cout)"""
1866 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1868 def get_hit_rate(self):
1869 r"""get_hit_rate(RestraintCache self) -> double"""
1870 return _IMP_domino.RestraintCache_get_hit_rate(self)
1872 def get_version_info(self):
1873 r"""get_version_info(RestraintCache self) -> VersionInfo"""
1874 return _IMP_domino.RestraintCache_get_version_info(self)
1875 __swig_destroy__ = _IMP_domino.delete_RestraintCache
1878 r"""__str__(RestraintCache self) -> std::string"""
1879 return _IMP_domino.RestraintCache___str__(self)
1882 r"""__repr__(RestraintCache self) -> std::string"""
1883 return _IMP_domino.RestraintCache___repr__(self)
1887 return _object_cast_to_RestraintCache(o)
1891 _IMP_domino.RestraintCache_swigregister(RestraintCache)
1893 r"""Proxy of C++ IMP::domino::SubsetFilter class."""
1895 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1897 def __init__(self, *args):
1898 r"""__init__(SubsetFilter self, std::string name="SubsetFilter%1%") -> SubsetFilter"""
1899 if self.__class__ == SubsetFilter:
1903 _IMP_domino.SubsetFilter_swiginit(self, _IMP_domino.new_SubsetFilter(_self, *args))
1905 if self.__class__ != SubsetFilter:
1906 _director_objects.register(self)
1911 def get_is_ok(self, state):
1912 r"""get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1913 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1915 def get_next_state(self, pos, state):
1916 r"""get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1917 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
1918 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
1921 r"""__str__(SubsetFilter self) -> std::string"""
1922 return _IMP_domino.SubsetFilter___str__(self)
1925 r"""__repr__(SubsetFilter self) -> std::string"""
1926 return _IMP_domino.SubsetFilter___repr__(self)
1930 return _object_cast_to_SubsetFilter(o)
1933 def do_show(self, out):
1938 return _object_cast_to_SubsetFilter(o)
1940 def __disown__(self):
1942 _IMP_domino.disown_SubsetFilter(self)
1943 return weakref.proxy(self)
1945 def do_destroy(self):
1946 r"""do_destroy(SubsetFilter self)"""
1947 return _IMP_domino.SubsetFilter_do_destroy(self)
1950 _IMP_domino.SubsetFilter_swigregister(SubsetFilter)
1952 r"""Proxy of C++ IMP::domino::SubsetFilterTable class."""
1954 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1956 def __init__(self, *args):
1957 r"""__init__(SubsetFilterTable self, std::string name="SubsetFilterTable%1%") -> SubsetFilterTable"""
1958 if self.__class__ == SubsetFilterTable:
1962 _IMP_domino.SubsetFilterTable_swiginit(self, _IMP_domino.new_SubsetFilterTable(_self, *args))
1964 if self.__class__ != SubsetFilterTable:
1965 _director_objects.register(self)
1970 def get_subset_filter(self, s, prior_subsets):
1971 r"""get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
1972 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
1974 def get_strength(self, s, prior_subsets):
1975 r"""get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
1976 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
1977 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
1980 r"""__str__(SubsetFilterTable self) -> std::string"""
1981 return _IMP_domino.SubsetFilterTable___str__(self)
1984 r"""__repr__(SubsetFilterTable self) -> std::string"""
1985 return _IMP_domino.SubsetFilterTable___repr__(self)
1989 return _object_cast_to_SubsetFilterTable(o)
1992 def do_show(self, out):
1997 return _object_cast_to_SubsetFilterTable(o)
1999 def __disown__(self):
2001 _IMP_domino.disown_SubsetFilterTable(self)
2002 return weakref.proxy(self)
2004 def do_destroy(self):
2005 r"""do_destroy(SubsetFilterTable self)"""
2006 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2009 _IMP_domino.SubsetFilterTable_swigregister(SubsetFilterTable)
2010 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2011 r"""Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2013 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2015 def __init__(self, *args):
2017 __init__(RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2018 __init__(RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2020 _IMP_domino.RestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_RestraintScoreSubsetFilterTable(*args))
2022 def get_version_info(self):
2023 r"""get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2024 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2025 __swig_destroy__ = _IMP_domino.delete_RestraintScoreSubsetFilterTable
2028 r"""__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2029 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2032 r"""__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2033 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2037 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2041 _IMP_domino.RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2042 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2043 r"""Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2045 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2047 def __init__(self, rs, rc, max_number_allowed_violations):
2048 r"""__init__(MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2049 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations))
2051 def get_maximum_number_of_violated_restraints(self):
2052 r"""get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2053 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2055 def get_version_info(self):
2056 r"""get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2057 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2058 __swig_destroy__ = _IMP_domino.delete_MinimumRestraintScoreSubsetFilterTable
2061 r"""__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2062 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2065 r"""__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2066 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2070 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2074 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2075 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2076 r"""Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2078 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2080 def __init__(self, *args, **kwargs):
2081 raise AttributeError(
"No constructor defined - class is abstract")
2083 def add_set(self, ps):
2084 r"""add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2085 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2087 def add_pair(self, pp):
2088 r"""add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2089 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2092 r"""__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2093 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2096 r"""__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2097 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2101 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2103 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2106 _IMP_domino.DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2107 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2108 r"""Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2110 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2112 def __init__(self, *args):
2114 __init__(ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2115 __init__(ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2117 _IMP_domino.ExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_ExclusionSubsetFilterTable(*args))
2119 def get_version_info(self):
2120 r"""get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2121 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2122 __swig_destroy__ = _IMP_domino.delete_ExclusionSubsetFilterTable
2125 r"""__str__(ExclusionSubsetFilterTable self) -> std::string"""
2126 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2129 r"""__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2130 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2134 return _object_cast_to_ExclusionSubsetFilterTable(o)
2138 _IMP_domino.ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2139 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2140 r"""Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2142 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2144 def __init__(self, *args):
2146 __init__(EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2147 __init__(EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2149 _IMP_domino.EqualitySubsetFilterTable_swiginit(self, _IMP_domino.new_EqualitySubsetFilterTable(*args))
2151 def get_version_info(self):
2152 r"""get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2153 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2154 __swig_destroy__ = _IMP_domino.delete_EqualitySubsetFilterTable
2157 r"""__str__(EqualitySubsetFilterTable self) -> std::string"""
2158 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2161 r"""__repr__(EqualitySubsetFilterTable self) -> std::string"""
2162 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2166 return _object_cast_to_EqualitySubsetFilterTable(o)
2170 _IMP_domino.EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2171 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2172 r"""Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2174 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2176 def __init__(self, *args):
2178 __init__(EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2179 __init__(EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2181 _IMP_domino.EquivalenceSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceSubsetFilterTable(*args))
2183 def get_version_info(self):
2184 r"""get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2185 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2186 __swig_destroy__ = _IMP_domino.delete_EquivalenceSubsetFilterTable
2189 r"""__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2190 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2193 r"""__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2194 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2198 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2202 _IMP_domino.EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2203 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2204 r"""Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2206 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2208 def __init__(self, *args):
2210 __init__(EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2211 __init__(EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2213 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args))
2215 def get_version_info(self):
2216 r"""get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2217 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2218 __swig_destroy__ = _IMP_domino.delete_EquivalenceAndExclusionSubsetFilterTable
2221 r"""__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2222 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2225 r"""__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2226 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2230 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2234 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2235 class ListSubsetFilterTable(SubsetFilterTable):
2236 r"""Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2238 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2240 def __init__(self, pst):
2241 r"""__init__(ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2242 _IMP_domino.ListSubsetFilterTable_swiginit(self, _IMP_domino.new_ListSubsetFilterTable(pst))
2244 def get_ok_rate(self):
2245 r"""get_ok_rate(ListSubsetFilterTable self) -> double"""
2246 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2248 def get_number_of_particle_states(self, p):
2249 r"""get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2250 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2252 def set_allowed_states(self, p, states):
2253 r"""set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2254 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2256 def get_version_info(self):
2257 r"""get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2258 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2259 __swig_destroy__ = _IMP_domino.delete_ListSubsetFilterTable
2262 r"""__str__(ListSubsetFilterTable self) -> std::string"""
2263 return _IMP_domino.ListSubsetFilterTable___str__(self)
2266 r"""__repr__(ListSubsetFilterTable self) -> std::string"""
2267 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2271 return _object_cast_to_ListSubsetFilterTable(o)
2275 _IMP_domino.ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2276 class PairListSubsetFilterTable(SubsetFilterTable):
2277 r"""Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2279 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2282 r"""__init__(PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2283 _IMP_domino.PairListSubsetFilterTable_swiginit(self, _IMP_domino.new_PairListSubsetFilterTable())
2285 def set_allowed_states(self, p, states):
2286 r"""set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2287 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2289 def get_version_info(self):
2290 r"""get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2291 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2292 __swig_destroy__ = _IMP_domino.delete_PairListSubsetFilterTable
2295 r"""__str__(PairListSubsetFilterTable self) -> std::string"""
2296 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2299 r"""__repr__(PairListSubsetFilterTable self) -> std::string"""
2300 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2304 return _object_cast_to_PairListSubsetFilterTable(o)
2308 _IMP_domino.PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2309 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2310 r"""Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2312 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2314 def __init__(self, p, leaves_only=False):
2315 r"""__init__(ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable"""
2316 _IMP_domino.ProbabilisticSubsetFilterTable_swiginit(self, _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only))
2318 def get_version_info(self):
2319 r"""get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2320 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2321 __swig_destroy__ = _IMP_domino.delete_ProbabilisticSubsetFilterTable
2324 r"""__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2325 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2328 r"""__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2329 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2333 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2337 _IMP_domino.ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2339 r"""Proxy of C++ IMP::domino::AssignmentContainer class."""
2341 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2343 def __init__(self, *args):
2344 r"""__init__(AssignmentContainer self, std::string name="AssignmentContainer %1%") -> AssignmentContainer"""
2345 if self.__class__ == AssignmentContainer:
2349 _IMP_domino.AssignmentContainer_swiginit(self, _IMP_domino.new_AssignmentContainer(_self, *args))
2351 if self.__class__ != AssignmentContainer:
2352 _director_objects.register(self)
2357 def get_number_of_assignments(self):
2358 r"""get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2359 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2361 def get_assignment(self, i):
2362 r"""get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2363 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2365 def get_assignments(self, *args):
2367 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2368 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2370 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2372 def add_assignment(self, a):
2373 r"""add_assignment(AssignmentContainer self, Assignment a)"""
2374 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2376 def add_assignments(self, asgn):
2377 r"""add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2378 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2380 def get_particle_assignments(self, i):
2381 r"""get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2382 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2383 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2386 r"""__str__(AssignmentContainer self) -> std::string"""
2387 return _IMP_domino.AssignmentContainer___str__(self)
2390 r"""__repr__(AssignmentContainer self) -> std::string"""
2391 return _IMP_domino.AssignmentContainer___repr__(self)
2395 return _object_cast_to_AssignmentContainer(o)
2398 def do_show(self, out):
2403 return _object_cast_to_AssignmentContainer(o)
2405 def __disown__(self):
2407 _IMP_domino.disown_AssignmentContainer(self)
2408 return weakref.proxy(self)
2410 def do_destroy(self):
2411 r"""do_destroy(AssignmentContainer self)"""
2412 return _IMP_domino.AssignmentContainer_do_destroy(self)
2415 _IMP_domino.AssignmentContainer_swigregister(AssignmentContainer)
2416 class PackedAssignmentContainer(AssignmentContainer):
2417 r"""Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2419 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2421 def __init__(self, *args):
2422 r"""__init__(PackedAssignmentContainer self, std::string name="PackedAssignmentContainer %1%") -> PackedAssignmentContainer"""
2423 _IMP_domino.PackedAssignmentContainer_swiginit(self, _IMP_domino.new_PackedAssignmentContainer(*args))
2425 def get_assignments(self, *args):
2427 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2428 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2430 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2432 def get_version_info(self):
2433 r"""get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2434 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2435 __swig_destroy__ = _IMP_domino.delete_PackedAssignmentContainer
2438 r"""__str__(PackedAssignmentContainer self) -> std::string"""
2439 return _IMP_domino.PackedAssignmentContainer___str__(self)
2442 r"""__repr__(PackedAssignmentContainer self) -> std::string"""
2443 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2447 return _object_cast_to_PackedAssignmentContainer(o)
2451 _IMP_domino.PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2452 class ListAssignmentContainer(AssignmentContainer):
2453 r"""Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2455 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2457 def __init__(self, *args):
2458 r"""__init__(ListAssignmentContainer self, std::string name="ListAssignmentContainer %1%") -> ListAssignmentContainer"""
2459 _IMP_domino.ListAssignmentContainer_swiginit(self, _IMP_domino.new_ListAssignmentContainer(*args))
2461 def get_assignments(self, *args):
2463 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2464 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2466 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2468 def get_version_info(self):
2469 r"""get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2470 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2471 __swig_destroy__ = _IMP_domino.delete_ListAssignmentContainer
2474 r"""__str__(ListAssignmentContainer self) -> std::string"""
2475 return _IMP_domino.ListAssignmentContainer___str__(self)
2478 r"""__repr__(ListAssignmentContainer self) -> std::string"""
2479 return _IMP_domino.ListAssignmentContainer___repr__(self)
2483 return _object_cast_to_ListAssignmentContainer(o)
2487 _IMP_domino.ListAssignmentContainer_swigregister(ListAssignmentContainer)
2488 class SampleAssignmentContainer(AssignmentContainer):
2489 r"""Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2491 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2493 def __init__(self, *args):
2494 r"""__init__(SampleAssignmentContainer self, unsigned int k, std::string name="SampleAssignmentContainer %1%") -> SampleAssignmentContainer"""
2495 _IMP_domino.SampleAssignmentContainer_swiginit(self, _IMP_domino.new_SampleAssignmentContainer(*args))
2497 def get_assignments(self, *args):
2499 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2500 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2502 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2504 def get_version_info(self):
2505 r"""get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2506 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2507 __swig_destroy__ = _IMP_domino.delete_SampleAssignmentContainer
2510 r"""__str__(SampleAssignmentContainer self) -> std::string"""
2511 return _IMP_domino.SampleAssignmentContainer___str__(self)
2514 r"""__repr__(SampleAssignmentContainer self) -> std::string"""
2515 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2519 return _object_cast_to_SampleAssignmentContainer(o)
2523 _IMP_domino.SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2524 class WriteHDF5AssignmentContainer(AssignmentContainer):
2525 r"""Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2527 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2529 def __init__(self, *args):
2531 __init__(WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2532 __init__(WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2534 _IMP_domino.WriteHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_WriteHDF5AssignmentContainer(*args))
2536 def set_cache_size(self, words):
2537 r"""set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2538 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2540 def get_assignments(self, *args):
2542 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2543 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2545 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2547 def get_version_info(self):
2548 r"""get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2549 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2550 __swig_destroy__ = _IMP_domino.delete_WriteHDF5AssignmentContainer
2553 r"""__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2554 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2557 r"""__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2558 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2562 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2566 _IMP_domino.WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2567 class ReadHDF5AssignmentContainer(AssignmentContainer):
2568 r"""Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2570 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2572 def __init__(self, dataset, s, all_particles, name):
2573 r"""__init__(ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2574 _IMP_domino.ReadHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name))
2576 def set_cache_size(self, words):
2577 r"""set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2578 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2580 def get_assignments(self, *args):
2582 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2583 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2585 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2587 def get_version_info(self):
2588 r"""get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2589 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2590 __swig_destroy__ = _IMP_domino.delete_ReadHDF5AssignmentContainer
2593 r"""__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2594 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2597 r"""__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2598 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2602 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2606 _IMP_domino.ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2607 class WriteAssignmentContainer(AssignmentContainer):
2608 r"""Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2610 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2612 def __init__(self, out_file, s, all_particles, name):
2613 r"""__init__(WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2614 _IMP_domino.WriteAssignmentContainer_swiginit(self, _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name))
2616 def set_cache_size(self, words):
2617 r"""set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2618 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2620 def get_assignments(self, *args):
2622 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2623 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2625 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2627 def get_version_info(self):
2628 r"""get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2629 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2630 __swig_destroy__ = _IMP_domino.delete_WriteAssignmentContainer
2633 r"""__str__(WriteAssignmentContainer self) -> std::string"""
2634 return _IMP_domino.WriteAssignmentContainer___str__(self)
2637 r"""__repr__(WriteAssignmentContainer self) -> std::string"""
2638 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2642 return _object_cast_to_WriteAssignmentContainer(o)
2646 _IMP_domino.WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2647 class ReadAssignmentContainer(AssignmentContainer):
2648 r"""Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2650 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2652 def __init__(self, out_file, s, all_particles, name):
2653 r"""__init__(ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2654 _IMP_domino.ReadAssignmentContainer_swiginit(self, _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name))
2656 def set_cache_size(self, words):
2657 r"""set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2658 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2660 def get_assignments(self, *args):
2662 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2663 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2665 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2667 def get_version_info(self):
2668 r"""get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2669 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2670 __swig_destroy__ = _IMP_domino.delete_ReadAssignmentContainer
2673 r"""__str__(ReadAssignmentContainer self) -> std::string"""
2674 return _IMP_domino.ReadAssignmentContainer___str__(self)
2677 r"""__repr__(ReadAssignmentContainer self) -> std::string"""
2678 return _IMP_domino.ReadAssignmentContainer___repr__(self)
2682 return _object_cast_to_ReadAssignmentContainer(o)
2686 _IMP_domino.ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2687 class RangeViewAssignmentContainer(AssignmentContainer):
2688 r"""Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2690 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2692 def __init__(self, inner, begin, end):
2693 r"""__init__(RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2694 _IMP_domino.RangeViewAssignmentContainer_swiginit(self, _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end))
2696 def get_assignments(self, *args):
2698 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2699 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2701 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2703 def get_version_info(self):
2704 r"""get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2705 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2706 __swig_destroy__ = _IMP_domino.delete_RangeViewAssignmentContainer
2709 r"""__str__(RangeViewAssignmentContainer self) -> std::string"""
2710 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2713 r"""__repr__(RangeViewAssignmentContainer self) -> std::string"""
2714 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2718 return _object_cast_to_RangeViewAssignmentContainer(o)
2722 _IMP_domino.RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
2723 class HeapAssignmentContainer(AssignmentContainer):
2724 r"""Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
2726 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2728 def __init__(self, *args):
2729 r"""__init__(HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name="HeapAssignmentContainer %1%") -> HeapAssignmentContainer"""
2730 _IMP_domino.HeapAssignmentContainer_swiginit(self, _IMP_domino.new_HeapAssignmentContainer(*args))
2732 def get_assignments(self, *args):
2734 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2735 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
2737 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
2739 def get_version_info(self):
2740 r"""get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
2741 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
2742 __swig_destroy__ = _IMP_domino.delete_HeapAssignmentContainer
2745 r"""__str__(HeapAssignmentContainer self) -> std::string"""
2746 return _IMP_domino.HeapAssignmentContainer___str__(self)
2749 r"""__repr__(HeapAssignmentContainer self) -> std::string"""
2750 return _IMP_domino.HeapAssignmentContainer___repr__(self)
2754 return _object_cast_to_HeapAssignmentContainer(o)
2758 _IMP_domino.HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
2759 class CappedAssignmentContainer(AssignmentContainer):
2760 r"""Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
2762 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2764 def __init__(self, contained, max_states, name):
2765 r"""__init__(CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
2766 _IMP_domino.CappedAssignmentContainer_swiginit(self, _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name))
2768 def get_assignments(self, *args):
2770 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2771 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
2773 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
2775 def get_version_info(self):
2776 r"""get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
2777 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
2778 __swig_destroy__ = _IMP_domino.delete_CappedAssignmentContainer
2781 r"""__str__(CappedAssignmentContainer self) -> std::string"""
2782 return _IMP_domino.CappedAssignmentContainer___str__(self)
2785 r"""__repr__(CappedAssignmentContainer self) -> std::string"""
2786 return _IMP_domino.CappedAssignmentContainer___repr__(self)
2790 return _object_cast_to_CappedAssignmentContainer(o)
2794 _IMP_domino.CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
2796 r"""Proxy of C++ IMP::domino::AssignmentsTable class."""
2798 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2800 def __init__(self, *args):
2801 r"""__init__(AssignmentsTable self, std::string name="AssignmentsTable %1%") -> AssignmentsTable"""
2802 if self.__class__ == AssignmentsTable:
2806 _IMP_domino.AssignmentsTable_swiginit(self, _IMP_domino.new_AssignmentsTable(_self, *args))
2808 if self.__class__ != AssignmentsTable:
2809 _director_objects.register(self)
2814 def load_assignments(self, s, ac):
2815 r"""load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
2816 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
2817 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
2820 r"""__str__(AssignmentsTable self) -> std::string"""
2821 return _IMP_domino.AssignmentsTable___str__(self)
2824 r"""__repr__(AssignmentsTable self) -> std::string"""
2825 return _IMP_domino.AssignmentsTable___repr__(self)
2829 return _object_cast_to_AssignmentsTable(o)
2832 def do_show(self, out):
2837 return _object_cast_to_AssignmentsTable(o)
2839 def __disown__(self):
2841 _IMP_domino.disown_AssignmentsTable(self)
2842 return weakref.proxy(self)
2844 def do_destroy(self):
2845 r"""do_destroy(AssignmentsTable self)"""
2846 return _IMP_domino.AssignmentsTable_do_destroy(self)
2849 _IMP_domino.AssignmentsTable_swigregister(AssignmentsTable)
2850 class SimpleAssignmentsTable(AssignmentsTable):
2851 r"""Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
2853 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2855 def __init__(self, *args):
2856 r"""__init__(SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> SimpleAssignmentsTable"""
2857 _IMP_domino.SimpleAssignmentsTable_swiginit(self, _IMP_domino.new_SimpleAssignmentsTable(*args))
2859 def get_version_info(self):
2860 r"""get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
2861 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
2862 __swig_destroy__ = _IMP_domino.delete_SimpleAssignmentsTable
2865 r"""__str__(SimpleAssignmentsTable self) -> std::string"""
2866 return _IMP_domino.SimpleAssignmentsTable___str__(self)
2869 r"""__repr__(SimpleAssignmentsTable self) -> std::string"""
2870 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
2874 return _object_cast_to_SimpleAssignmentsTable(o)
2878 _IMP_domino.SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
2879 class RecursiveAssignmentsTable(AssignmentsTable):
2880 r"""Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
2882 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2884 def __init__(self, *args):
2885 r"""__init__(RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> RecursiveAssignmentsTable"""
2886 _IMP_domino.RecursiveAssignmentsTable_swiginit(self, _IMP_domino.new_RecursiveAssignmentsTable(*args))
2888 def get_version_info(self):
2889 r"""get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
2890 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
2891 __swig_destroy__ = _IMP_domino.delete_RecursiveAssignmentsTable
2894 r"""__str__(RecursiveAssignmentsTable self) -> std::string"""
2895 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
2898 r"""__repr__(RecursiveAssignmentsTable self) -> std::string"""
2899 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
2903 return _object_cast_to_RecursiveAssignmentsTable(o)
2907 _IMP_domino.RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
2908 class BranchAndBoundAssignmentsTable(AssignmentsTable):
2909 r"""Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
2911 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2913 def __init__(self, *args):
2914 r"""__init__(BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> BranchAndBoundAssignmentsTable"""
2915 _IMP_domino.BranchAndBoundAssignmentsTable_swiginit(self, _IMP_domino.new_BranchAndBoundAssignmentsTable(*args))
2917 def get_version_info(self):
2918 r"""get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
2919 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
2920 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundAssignmentsTable
2923 r"""__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
2924 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
2927 r"""__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
2928 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
2932 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
2936 _IMP_domino.BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
2937 class ListAssignmentsTable(AssignmentsTable):
2938 r"""Proxy of C++ IMP::domino::ListAssignmentsTable class."""
2940 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2942 def __init__(self, *args):
2943 r"""__init__(ListAssignmentsTable self, std::string name="ListAssignmentsTable %1%") -> ListAssignmentsTable"""
2944 _IMP_domino.ListAssignmentsTable_swiginit(self, _IMP_domino.new_ListAssignmentsTable(*args))
2946 def set_assignments(self, s, lsc):
2947 r"""set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
2948 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
2950 def get_version_info(self):
2951 r"""get_version_info(ListAssignmentsTable self) -> VersionInfo"""
2952 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
2953 __swig_destroy__ = _IMP_domino.delete_ListAssignmentsTable
2956 r"""__str__(ListAssignmentsTable self) -> std::string"""
2957 return _IMP_domino.ListAssignmentsTable___str__(self)
2960 r"""__repr__(ListAssignmentsTable self) -> std::string"""
2961 return _IMP_domino.ListAssignmentsTable___repr__(self)
2965 return _object_cast_to_ListAssignmentsTable(o)
2969 _IMP_domino.ListAssignmentsTable_swigregister(ListAssignmentsTable)
2972 r"""get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
2973 return _IMP_domino.get_order(s, sft)
2974 class _SubsetGraphVertexIndex(object):
2975 r"""Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
2977 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2978 __repr__ = _swig_repr
2981 r"""__init__(_SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
2982 _IMP_domino._SubsetGraphVertexIndex_swiginit(self, _IMP_domino.new__SubsetGraphVertexIndex())
2983 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
2986 _IMP_domino._SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
2987 class _InteractionGraphVertexIndex(object):
2988 r"""Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
2990 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2991 __repr__ = _swig_repr
2994 r"""__init__(_InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
2995 _IMP_domino._InteractionGraphVertexIndex_swiginit(self, _IMP_domino.new__InteractionGraphVertexIndex())
2996 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
2999 _IMP_domino._InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3002 r"""get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3003 return _IMP_domino.get_subsets(g)
3006 r"""get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3007 return _IMP_domino.get_junction_tree(ig)
3009 def get_triangulated(input):
3010 r"""get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3011 return _IMP_domino.get_triangulated(input)
3012 class _CliqueGraphVertexIndex(object):
3013 r"""Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3015 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3016 __repr__ = _swig_repr
3019 r"""__init__(_CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3020 _IMP_domino._CliqueGraphVertexIndex_swiginit(self, _IMP_domino.new__CliqueGraphVertexIndex())
3021 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3024 _IMP_domino._CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3026 def get_clique_graph(input):
3027 r"""get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3028 return _IMP_domino.get_clique_graph(input)
3030 def get_minimum_spanning_tree(input):
3031 r"""get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3032 return _IMP_domino.get_minimum_spanning_tree(input)
3035 r"""get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3036 return _IMP_domino.get_restraint_graph(rs, pst)
3040 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3041 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3043 return _IMP_domino.get_interaction_graph(*args)
3046 r"""get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3047 return _IMP_domino.get_interaction_graph_geometry(ig)
3050 r"""get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3051 return _IMP_domino.get_subset_graph_geometry(ig)
3052 class _MergeTreeVertexIndex(object):
3053 r"""Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3055 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3056 __repr__ = _swig_repr
3059 r"""__init__(_MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3060 _IMP_domino._MergeTreeVertexIndex_swiginit(self, _IMP_domino.new__MergeTreeVertexIndex())
3061 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3064 _IMP_domino._MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3066 def show_as_graphviz(*args):
3068 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3069 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3070 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3071 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3073 return _IMP_domino.show_as_graphviz(*args)
3075 def get_vertex_index(*args):
3077 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3078 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3079 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3080 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3082 return _IMP_domino.get_vertex_index(*args)
3086 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3087 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3089 return _IMP_domino.get_merge_tree(*args)
3092 r"""get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3093 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3095 def get_is_merge_tree(tree, all, verbose=True):
3096 r"""get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool"""
3097 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3099 def write_merge_tree(tree, ps, out):
3100 r"""write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3101 return _IMP_domino.write_merge_tree(tree, ps, out)
3103 def read_merge_tree(input, ps):
3104 r"""read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3105 return _IMP_domino.read_merge_tree(input, ps)
3107 r"""Proxy of C++ IMP::domino::DiscreteSampler class."""
3109 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3111 def get_subset_filter_tables_to_use(self, rs, pst):
3112 r"""get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3113 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3115 def get_assignments_table_to_use(self, *args):
3116 r"""get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max=std::numeric_limits< int >::max()) -> AssignmentsTable"""
3117 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3119 def do_sample(self):
3120 r"""do_sample(DiscreteSampler self) -> ConfigurationSet"""
3121 return _IMP_domino.DiscreteSampler_do_sample(self)
3123 def do_get_sample_assignments(self, all):
3124 r"""do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3125 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3127 def get_restraints(self):
3128 r"""get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3129 return _IMP_domino.DiscreteSampler_get_restraints(self)
3131 def __init__(self, m, pst, name):
3132 r"""__init__(DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3133 if self.__class__ == DiscreteSampler:
3137 _IMP_domino.DiscreteSampler_swiginit(self, _IMP_domino.new_DiscreteSampler(_self, m, pst, name))
3139 if self.__class__ != DiscreteSampler:
3140 _director_objects.register(self)
3144 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3146 def set_restraints(self, rs):
3147 r"""set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3148 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3150 def set_particle_states(self, p, se):
3151 r"""set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3152 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3154 def get_sample_assignments(self, s):
3155 r"""get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3156 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3158 def set_particle_states_table(self, cse):
3159 r"""set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3160 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3162 def set_assignments_table(self, sst):
3163 r"""set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3164 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3166 def get_particle_states_table(self):
3167 r"""get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3168 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3169 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)
3170 def __set_subset_filter_tables(self, obj): IMP._list_util.set_varlist(self.subset_filter_tables, obj)
3171 def __del_subset_filter_tables(self): IMP._list_util.del_varlist(self.subset_filter_tables)
3172 subset_filter_tables = property(__get_subset_filter_tables, __set_subset_filter_tables, __del_subset_filter_tables, doc=
"List of ##ucnames")
3174 def remove_subset_filter_table(self, d):
3175 r"""remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3176 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3178 def _python_index_subset_filter_table(self, d, start, stop):
3179 r"""_python_index_subset_filter_table(DiscreteSampler self, SubsetFilterTable d, unsigned int start, unsigned int stop) -> unsigned int"""
3180 return _IMP_domino.DiscreteSampler__python_index_subset_filter_table(self, d, start, stop)
3182 def remove_subset_filter_tables(self, d):
3183 r"""remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3184 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3186 def set_subset_filter_tables(self, ps):
3187 r"""set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3188 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3190 def set_subset_filter_tables_order(self, objs):
3191 r"""set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3192 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3194 def add_subset_filter_table(self, obj):
3195 r"""add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3196 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3198 def add_subset_filter_tables(self, objs):
3199 r"""add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3200 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3202 def clear_subset_filter_tables(self):
3203 r"""clear_subset_filter_tables(DiscreteSampler self)"""
3204 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3206 def get_number_of_subset_filter_tables(self):
3207 r"""get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3208 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3210 def get_has_subset_filter_tables(self):
3211 r"""get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3212 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3214 def get_subset_filter_table(self, i):
3215 r"""get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3216 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3218 def get_subset_filter_tables(self):
3219 r"""get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3220 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3222 def erase_subset_filter_table(self, i):
3223 r"""erase_subset_filter_table(DiscreteSampler self, unsigned int i)"""
3224 return _IMP_domino.DiscreteSampler_erase_subset_filter_table(self, i)
3226 def reserve_subset_filter_tables(self, sz):
3227 r"""reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3228 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3230 def set_maximum_number_of_assignments(self, mx):
3231 r"""set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3232 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3234 def get_maximum_number_of_assignments(self):
3235 r"""get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3236 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3239 r"""__str__(DiscreteSampler self) -> std::string"""
3240 return _IMP_domino.DiscreteSampler___str__(self)
3243 r"""__repr__(DiscreteSampler self) -> std::string"""
3244 return _IMP_domino.DiscreteSampler___repr__(self)
3248 return _object_cast_to_DiscreteSampler(o)
3251 def do_show(self, out):
3256 return _object_cast_to_DiscreteSampler(o)
3258 def __disown__(self):
3260 _IMP_domino.disown_DiscreteSampler(self)
3261 return weakref.proxy(self)
3263 def do_destroy(self):
3264 r"""do_destroy(DiscreteSampler self)"""
3265 return _IMP_domino.DiscreteSampler_do_destroy(self)
3268 _IMP_domino.DiscreteSampler_swigregister(DiscreteSampler)
3269 class DominoSampler(DiscreteSampler):
3270 r"""Proxy of C++ IMP::domino::DominoSampler class."""
3272 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3274 def __init__(self, *args):
3276 __init__(DominoSampler self, Model m, std::string name="DominoSampler %1%") -> DominoSampler
3277 __init__(DominoSampler self, Model m, ParticleStatesTable pst, std::string name="DominoSampler %1%") -> DominoSampler
3279 _IMP_domino.DominoSampler_swiginit(self, _IMP_domino.new_DominoSampler(*args))
3281 def do_get_sample_assignments(self, known):
3282 r"""do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3283 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3285 def get_version_info(self):
3286 r"""get_version_info(DominoSampler self) -> VersionInfo"""
3287 return _IMP_domino.DominoSampler_get_version_info(self)
3288 __swig_destroy__ = _IMP_domino.delete_DominoSampler
3290 def set_merge_tree(self, mt):
3291 r"""set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3292 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3294 def set_use_cross_subset_filtering(self, tf):
3295 r"""set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3296 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3298 def get_number_of_assignments_for_vertex(self, tree_vertex):
3299 r"""get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3300 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3302 def get_sample_assignments_for_vertex(self, tree_vertex):
3303 r"""get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3304 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3306 def get_vertex_assignments(self, *args):
3308 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3309 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
3311 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3313 def load_vertex_assignments(self, *args):
3315 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3316 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3318 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3321 r"""__str__(DominoSampler self) -> std::string"""
3322 return _IMP_domino.DominoSampler___str__(self)
3325 r"""__repr__(DominoSampler self) -> std::string"""
3326 return _IMP_domino.DominoSampler___repr__(self)
3330 return _object_cast_to_DominoSampler(o)
3334 _IMP_domino.DominoSampler_swigregister(DominoSampler)
3335 class BranchAndBoundSampler(DiscreteSampler):
3336 r"""Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3338 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3340 def __init__(self, *args):
3342 __init__(BranchAndBoundSampler self, Model m, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3343 __init__(BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3345 _IMP_domino.BranchAndBoundSampler_swiginit(self, _IMP_domino.new_BranchAndBoundSampler(*args))
3347 def do_get_sample_assignments(self, known):
3348 r"""do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3349 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3351 def get_version_info(self):
3352 r"""get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3353 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3354 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundSampler
3357 r"""__str__(BranchAndBoundSampler self) -> std::string"""
3358 return _IMP_domino.BranchAndBoundSampler___str__(self)
3361 r"""__repr__(BranchAndBoundSampler self) -> std::string"""
3362 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3366 return _object_cast_to_BranchAndBoundSampler(o)
3370 _IMP_domino.BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3373 r"""load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3374 return _IMP_domino.load_particle_states(s, ss, pst)
3376 def get_restraints(s, pst, dg, rs):
3377 r"""get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3378 return _IMP_domino.get_restraints(s, pst, dg, rs)
3380 def get_index(particles, subset, excluded):
3381 r"""get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3382 return _IMP_domino.get_index(particles, subset, excluded)
3385 r"""get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3386 return _IMP_domino.get_partial_index(particles, subset, excluded)
3389 r"""get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3390 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3393 r"""get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3394 return _IMP_domino.get_embedding(s, a, pst)
3397 r"""get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3398 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3401 r"""get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3402 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3405 r"""load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3406 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3409 r"""load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3410 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3413 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)"""
3414 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3417 r"""get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3418 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3420 r"""Proxy of C++ IMP::domino::DependencyScoreState class."""
3422 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3424 def __init__(self, m):
3425 r"""__init__(DependencyScoreState self, Model m) -> DependencyScoreState"""
3426 _IMP_domino.DependencyScoreState_swiginit(self, _IMP_domino.new_DependencyScoreState(m))
3428 def set_input_particles(self, pt):
3429 r"""set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3430 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3432 def set_output_particles(self, pt):
3433 r"""set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3434 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3436 def set_input_containers(self, pt):
3437 r"""set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3438 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3440 def set_output_containers(self, pt):
3441 r"""set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3442 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3444 def get_version_info(self):
3445 r"""get_version_info(DependencyScoreState self) -> VersionInfo"""
3446 return _IMP_domino.DependencyScoreState_get_version_info(self)
3447 __swig_destroy__ = _IMP_domino.delete_DependencyScoreState
3450 r"""__str__(DependencyScoreState self) -> std::string"""
3451 return _IMP_domino.DependencyScoreState___str__(self)
3454 r"""__repr__(DependencyScoreState self) -> std::string"""
3455 return _IMP_domino.DependencyScoreState___repr__(self)
3459 return _object_cast_to_DependencyScoreState(o)
3463 _IMP_domino.DependencyScoreState_swigregister(DependencyScoreState)
3465 def _get_ints_list(input):
3466 r"""_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3467 return _IMP_domino._get_ints_list(input)
3469 def get_module_name():
3470 r"""get_module_name() -> std::string const"""
3471 return _IMP_domino.get_module_name()
3474 r"""get_module_version() -> std::string const"""
3475 return _IMP_domino.get_module_version()
3478 r"""get_example_path(std::string fname) -> std::string"""
3479 return _IMP_domino.get_example_path(fname)
3482 r"""get_data_path(std::string fname) -> std::string"""
3483 return _IMP_domino.get_data_path(fname)
3485 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)