14 from sys
import version_info
as _swig_python_version_info
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_DOMINO_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
77 r"""value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
78 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
81 r"""incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
82 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator"""
86 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
94 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
98 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
101 r"""next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
102 return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
105 r"""__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
106 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
109 r"""previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
110 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
114 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
118 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
122 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
126 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
130 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
134 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
139 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
146 _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
153 IMP_DEBUG = _IMP_domino.IMP_DEBUG
155 IMP_RELEASE = _IMP_domino.IMP_RELEASE
157 IMP_SILENT = _IMP_domino.IMP_SILENT
159 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
161 IMP_TERSE = _IMP_domino.IMP_TERSE
163 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
165 IMP_MEMORY = _IMP_domino.IMP_MEMORY
167 IMP_NONE = _IMP_domino.IMP_NONE
169 IMP_USAGE = _IMP_domino.IMP_USAGE
171 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_domino.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_domino.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_domino.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_domino.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
189 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
191 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
193 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
197 class _DirectorObjects:
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 r"""Proxy of C++ std::ostream class."""
225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
227 def __init__(self, *args, **kwargs):
228 raise AttributeError(
"No constructor defined")
229 __repr__ = _swig_repr
231 def write(self, osa_buf):
232 r"""write(_ostream self, char const * osa_buf)"""
233 return _IMP_domino._ostream_write(self, osa_buf)
236 _IMP_domino._ostream_swigregister(_ostream)
237 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
240 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
242 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
244 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_CGAL_HAS_NUMPY = _IMP_domino.IMP_CGAL_HAS_NUMPY
250 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
263 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
265 IMP_ALGEBRA_HAS_NUMPY = _IMP_domino.IMP_ALGEBRA_HAS_NUMPY
267 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
269 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
272 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
274 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
276 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
278 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
280 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
282 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
284 IMP_DISPLAY_HAS_NUMPY = _IMP_domino.IMP_DISPLAY_HAS_NUMPY
286 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
289 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
291 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
293 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
295 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
297 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
299 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
301 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
303 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_NUMPY
305 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
308 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
310 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
312 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
314 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
316 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
318 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
320 IMP_STATISTICS_HAS_NUMPY = _IMP_domino.IMP_STATISTICS_HAS_NUMPY
322 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
325 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
327 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
331 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
335 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
337 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
339 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
341 IMP_CORE_HAS_NUMPY = _IMP_domino.IMP_CORE_HAS_NUMPY
343 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
346 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
350 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
352 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
354 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
356 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
358 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
360 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
364 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
366 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
368 IMP_CONTAINER_HAS_NUMPY = _IMP_domino.IMP_CONTAINER_HAS_NUMPY
370 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
372 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
374 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
376 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
379 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
381 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
383 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
385 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
389 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
391 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
393 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
395 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
397 IMP_ATOM_HAS_NUMPY = _IMP_domino.IMP_ATOM_HAS_NUMPY
399 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
401 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
403 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
405 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
407 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
409 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
412 IMP_EM_HAS_IMP_CGAL = _IMP_domino.IMP_EM_HAS_IMP_CGAL
414 IMP_EM_HAS_IMP_CONTAINER = _IMP_domino.IMP_EM_HAS_IMP_CONTAINER
416 IMP_EM_HAS_IMP_DISPLAY = _IMP_domino.IMP_EM_HAS_IMP_DISPLAY
418 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_EM_HAS_IMP_SCORE_FUNCTOR
420 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_FILESYSTEM
422 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
424 IMP_EM_HAS_BOOST_RANDOM = _IMP_domino.IMP_EM_HAS_BOOST_RANDOM
426 IMP_EM_HAS_BOOST_REGEX = _IMP_domino.IMP_EM_HAS_BOOST_REGEX
428 IMP_EM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_EM_HAS_BOOST_SYSTEM
430 IMP_EM_HAS_CGAL = _IMP_domino.IMP_EM_HAS_CGAL
432 IMP_EM_HAS_HDF5 = _IMP_domino.IMP_EM_HAS_HDF5
434 IMP_EM_HAS_NUMPY = _IMP_domino.IMP_EM_HAS_NUMPY
436 IMP_EM_HAS_PYTHON_IHM = _IMP_domino.IMP_EM_HAS_PYTHON_IHM
438 IMPEM_SHOW_WARNINGS = _IMP_domino.IMPEM_SHOW_WARNINGS
441 IMP_SAXS_HAS_IMP_CGAL = _IMP_domino.IMP_SAXS_HAS_IMP_CGAL
443 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_domino.IMP_SAXS_HAS_IMP_CONTAINER
445 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_domino.IMP_SAXS_HAS_IMP_DISPLAY
447 IMP_SAXS_HAS_IMP_KERNEL = _IMP_domino.IMP_SAXS_HAS_IMP_KERNEL
449 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
451 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_FILESYSTEM
453 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
455 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_domino.IMP_SAXS_HAS_BOOST_RANDOM
457 IMP_SAXS_HAS_BOOST_REGEX = _IMP_domino.IMP_SAXS_HAS_BOOST_REGEX
459 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SAXS_HAS_BOOST_SYSTEM
461 IMP_SAXS_HAS_CGAL = _IMP_domino.IMP_SAXS_HAS_CGAL
463 IMP_SAXS_HAS_HDF5 = _IMP_domino.IMP_SAXS_HAS_HDF5
465 IMP_SAXS_HAS_NUMPY = _IMP_domino.IMP_SAXS_HAS_NUMPY
467 IMP_SAXS_HAS_PYTHON_IHM = _IMP_domino.IMP_SAXS_HAS_PYTHON_IHM
469 IMPSAXS_SHOW_WARNINGS = _IMP_domino.IMPSAXS_SHOW_WARNINGS
472 IMP_ISD_HAS_IMP_CGAL = _IMP_domino.IMP_ISD_HAS_IMP_CGAL
474 IMP_ISD_HAS_IMP_DISPLAY = _IMP_domino.IMP_ISD_HAS_IMP_DISPLAY
476 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
478 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_FILESYSTEM
480 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
482 IMP_ISD_HAS_BOOST_RANDOM = _IMP_domino.IMP_ISD_HAS_BOOST_RANDOM
484 IMP_ISD_HAS_BOOST_REGEX = _IMP_domino.IMP_ISD_HAS_BOOST_REGEX
486 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ISD_HAS_BOOST_SYSTEM
488 IMP_ISD_HAS_CGAL = _IMP_domino.IMP_ISD_HAS_CGAL
490 IMP_ISD_HAS_HDF5 = _IMP_domino.IMP_ISD_HAS_HDF5
492 IMP_ISD_HAS_NUMPY = _IMP_domino.IMP_ISD_HAS_NUMPY
494 IMP_ISD_HAS_PYTHON_IHM = _IMP_domino.IMP_ISD_HAS_PYTHON_IHM
496 IMPISD_SHOW_WARNINGS = _IMP_domino.IMPISD_SHOW_WARNINGS
499 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
501 IMP_RMF_HAS_IMP_EM = _IMP_domino.IMP_RMF_HAS_IMP_EM
503 IMP_RMF_HAS_IMP_SAXS = _IMP_domino.IMP_RMF_HAS_IMP_SAXS
505 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
507 IMP_RMF_HAS_IMP_STATISTICS = _IMP_domino.IMP_RMF_HAS_IMP_STATISTICS
509 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
511 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
513 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
515 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
517 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
519 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
521 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
523 IMP_RMF_HAS_NUMPY = _IMP_domino.IMP_RMF_HAS_NUMPY
525 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
527 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
531 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
533 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
535 IMP_DOMINO_HAS_IMP_EM = _IMP_domino.IMP_DOMINO_HAS_IMP_EM
537 IMP_DOMINO_HAS_IMP_ISD = _IMP_domino.IMP_DOMINO_HAS_IMP_ISD
539 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
541 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
543 IMP_DOMINO_HAS_IMP_SAXS = _IMP_domino.IMP_DOMINO_HAS_IMP_SAXS
545 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
547 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
549 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
551 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
553 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
555 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
557 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
559 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
561 IMP_DOMINO_HAS_NUMPY = _IMP_domino.IMP_DOMINO_HAS_NUMPY
563 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
565 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
567 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
571 _object_types.append(
"DiscreteSampler")
574 def _object_cast_to_DiscreteSampler(o):
575 r"""_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
576 return _IMP_domino._object_cast_to_DiscreteSampler(o)
578 _object_types.append(
"ParticleStates")
581 def _object_cast_to_ParticleStates(o):
582 r"""_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
583 return _IMP_domino._object_cast_to_ParticleStates(o)
585 _object_types.append(
"SubsetFilter")
588 def _object_cast_to_SubsetFilter(o):
589 r"""_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
590 return _IMP_domino._object_cast_to_SubsetFilter(o)
592 _object_types.append(
"SubsetFilterTable")
595 def _object_cast_to_SubsetFilterTable(o):
596 r"""_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
597 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
599 _object_types.append(
"AssignmentsTable")
602 def _object_cast_to_AssignmentsTable(o):
603 r"""_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
604 return _IMP_domino._object_cast_to_AssignmentsTable(o)
606 _object_types.append(
"AssignmentContainer")
609 def _object_cast_to_AssignmentContainer(o):
610 r"""_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
611 return _IMP_domino._object_cast_to_AssignmentContainer(o)
613 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex > class."""
615 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
616 __repr__ = _swig_repr
619 r"""__init__(InteractionGraph self) -> InteractionGraph"""
620 _IMP_domino.InteractionGraph_swiginit(self, _IMP_domino.new_InteractionGraph())
623 r"""get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
624 return _IMP_domino.InteractionGraph_get_graph(self)
627 r"""get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
628 return _IMP_domino.InteractionGraph_get_vertices(self)
630 def get_vertex_name(self, i):
631 r"""get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
632 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
634 def get_in_neighbors(self, v):
635 r"""get_in_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
636 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
638 def get_out_neighbors(self, v):
639 r"""get_out_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
640 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
643 r"""show_graphviz(InteractionGraph self, _ostream out=std::cout)"""
644 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
646 def get_graphviz_string(self):
647 r"""get_graphviz_string(InteractionGraph self) -> std::string"""
648 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
650 def add_edge(self, v0, v1):
651 r"""add_edge(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v1)"""
652 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
654 def add_vertex(self, l):
655 r"""add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
656 return _IMP_domino.InteractionGraph_add_vertex(self, l)
658 def remove_vertex(self, l):
659 r"""remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
660 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
661 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
664 _IMP_domino.InteractionGraph_swigregister(InteractionGraph)
666 _value_types.append(
"InteractionGraph")
669 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex > class."""
671 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
672 __repr__ = _swig_repr
675 r"""__init__(SubsetGraph self) -> SubsetGraph"""
676 _IMP_domino.SubsetGraph_swiginit(self, _IMP_domino.new_SubsetGraph())
679 r"""get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
680 return _IMP_domino.SubsetGraph_get_graph(self)
683 r"""get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
684 return _IMP_domino.SubsetGraph_get_vertices(self)
686 def get_vertex_name(self, i):
687 r"""get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
688 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
690 def get_in_neighbors(self, v):
691 r"""get_in_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
692 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
694 def get_out_neighbors(self, v):
695 r"""get_out_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
696 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
699 r"""show_graphviz(SubsetGraph self, _ostream out=std::cout)"""
700 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
702 def get_graphviz_string(self):
703 r"""get_graphviz_string(SubsetGraph self) -> std::string"""
704 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
706 def add_edge(self, v0, v1):
707 r"""add_edge(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v1)"""
708 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
710 def add_vertex(self, l):
711 r"""add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
712 return _IMP_domino.SubsetGraph_add_vertex(self, l)
714 def remove_vertex(self, l):
715 r"""remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
716 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
717 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
720 _IMP_domino.SubsetGraph_swigregister(SubsetGraph)
722 _value_types.append(
"SubsetGraph")
725 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex > class."""
727 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
728 __repr__ = _swig_repr
731 r"""__init__(CliqueGraph self) -> CliqueGraph"""
732 _IMP_domino.CliqueGraph_swiginit(self, _IMP_domino.new_CliqueGraph())
735 r"""get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
736 return _IMP_domino.CliqueGraph_get_graph(self)
739 r"""get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
740 return _IMP_domino.CliqueGraph_get_vertices(self)
742 def get_vertex_name(self, i):
743 r"""get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
744 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
746 def get_in_neighbors(self, v):
747 r"""get_in_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
748 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
750 def get_out_neighbors(self, v):
751 r"""get_out_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
752 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
755 r"""show_graphviz(CliqueGraph self, _ostream out=std::cout)"""
756 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
758 def get_graphviz_string(self):
759 r"""get_graphviz_string(CliqueGraph self) -> std::string"""
760 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
762 def add_edge(self, v0, v1):
763 r"""add_edge(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v1)"""
764 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
766 def add_vertex(self, l):
767 r"""add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
768 return _IMP_domino.CliqueGraph_add_vertex(self, l)
770 def remove_vertex(self, l):
771 r"""remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
772 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
773 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
776 _IMP_domino.CliqueGraph_swigregister(CliqueGraph)
778 _value_types.append(
"CliqueGraph")
781 r"""Proxy of C++ IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex > class."""
783 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
784 __repr__ = _swig_repr
787 r"""__init__(MergeTree self) -> MergeTree"""
788 _IMP_domino.MergeTree_swiginit(self, _IMP_domino.new_MergeTree())
791 r"""get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
792 return _IMP_domino.MergeTree_get_graph(self)
795 r"""get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
796 return _IMP_domino.MergeTree_get_vertices(self)
798 def get_vertex_name(self, i):
799 r"""get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
800 return _IMP_domino.MergeTree_get_vertex_name(self, i)
802 def get_in_neighbors(self, v):
803 r"""get_in_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
804 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
806 def get_out_neighbors(self, v):
807 r"""get_out_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
808 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
811 r"""show_graphviz(MergeTree self, _ostream out=std::cout)"""
812 return _IMP_domino.MergeTree_show_graphviz(self, *args)
814 def get_graphviz_string(self):
815 r"""get_graphviz_string(MergeTree self) -> std::string"""
816 return _IMP_domino.MergeTree_get_graphviz_string(self)
818 def add_edge(self, v0, v1):
819 r"""add_edge(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v1)"""
820 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
822 def add_vertex(self, l):
823 r"""add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
824 return _IMP_domino.MergeTree_add_vertex(self, l)
826 def remove_vertex(self, l):
827 r"""remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
828 return _IMP_domino.MergeTree_remove_vertex(self, l)
829 __swig_destroy__ = _IMP_domino.delete_MergeTree
832 _IMP_domino.MergeTree_swigregister(MergeTree)
834 _value_types.append(
"MergeTree")
837 _object_types.append(
"BranchAndBoundSampler")
840 def _object_cast_to_BranchAndBoundSampler(o):
841 r"""_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
842 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
844 _object_types.append(
"BranchAndBoundAssignmentsTable")
847 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
848 r"""_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
849 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
851 _object_types.append(
"RecursiveAssignmentsTable")
854 def _object_cast_to_RecursiveAssignmentsTable(o):
855 r"""_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
856 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
858 _object_types.append(
"SimpleAssignmentsTable")
861 def _object_cast_to_SimpleAssignmentsTable(o):
862 r"""_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
863 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
865 _object_types.append(
"CompoundStates")
868 def _object_cast_to_CompoundStates(o):
869 r"""_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
870 return _IMP_domino._object_cast_to_CompoundStates(o)
872 _object_types.append(
"DisjointSetsSubsetFilterTable")
875 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
876 r"""_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
877 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
879 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
882 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
883 r"""_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
884 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
886 _object_types.append(
"DominoSampler")
889 def _object_cast_to_DominoSampler(o):
890 r"""_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
891 return _IMP_domino._object_cast_to_DominoSampler(o)
893 _object_types.append(
"EqualitySubsetFilterTable")
896 def _object_cast_to_EqualitySubsetFilterTable(o):
897 r"""_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
898 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
900 _object_types.append(
"EquivalenceSubsetFilterTable")
903 def _object_cast_to_EquivalenceSubsetFilterTable(o):
904 r"""_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
905 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
907 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
910 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
911 r"""_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
912 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
914 _object_types.append(
"ExclusionSubsetFilterTable")
917 def _object_cast_to_ExclusionSubsetFilterTable(o):
918 r"""_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
919 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
921 _object_types.append(
"IndexStates")
924 def _object_cast_to_IndexStates(o):
925 r"""_object_cast_to_IndexStates(Object o) -> IndexStates"""
926 return _IMP_domino._object_cast_to_IndexStates(o)
928 _object_types.append(
"ListSubsetFilterTable")
931 def _object_cast_to_ListSubsetFilterTable(o):
932 r"""_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
933 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
935 _object_types.append(
"ListAssignmentsTable")
938 def _object_cast_to_ListAssignmentsTable(o):
939 r"""_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
940 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
942 _object_types.append(
"ParticleStatesTable")
945 def _object_cast_to_ParticleStatesTable(o):
946 r"""_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
947 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
949 _object_types.append(
"RecursiveStates")
952 def _object_cast_to_RecursiveStates(o):
953 r"""_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
954 return _IMP_domino._object_cast_to_RecursiveStates(o)
956 _object_types.append(
"ProbabilisticSubsetFilterTable")
959 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
960 r"""_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
961 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
963 _object_types.append(
"RestraintScoreSubsetFilterTable")
966 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
967 r"""_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
968 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
970 _object_types.append(
"RigidBodyStates")
973 def _object_cast_to_RigidBodyStates(o):
974 r"""_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
975 return _IMP_domino._object_cast_to_RigidBodyStates(o)
977 _object_types.append(
"XYZStates")
980 def _object_cast_to_XYZStates(o):
981 r"""_object_cast_to_XYZStates(Object o) -> XYZStates"""
982 return _IMP_domino._object_cast_to_XYZStates(o)
984 _object_types.append(
"NestedRigidBodyStates")
987 def _object_cast_to_NestedRigidBodyStates(o):
988 r"""_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
989 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
991 _object_types.append(
"DependencyScoreState")
994 def _object_cast_to_DependencyScoreState(o):
995 r"""_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
996 return _IMP_domino._object_cast_to_DependencyScoreState(o)
998 _object_types.append(
"PairListSubsetFilterTable")
1001 def _object_cast_to_PairListSubsetFilterTable(o):
1002 r"""_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
1003 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
1005 _object_types.append(
"ListAssignmentContainer")
1008 def _object_cast_to_ListAssignmentContainer(o):
1009 r"""_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
1010 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
1012 _object_types.append(
"PackedAssignmentContainer")
1015 def _object_cast_to_PackedAssignmentContainer(o):
1016 r"""_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
1017 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
1019 _object_types.append(
"HeapAssignmentContainer")
1022 def _object_cast_to_HeapAssignmentContainer(o):
1023 r"""_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
1024 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
1026 _object_types.append(
"RangeViewAssignmentContainer")
1029 def _object_cast_to_RangeViewAssignmentContainer(o):
1030 r"""_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
1031 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
1033 _object_types.append(
"SampleAssignmentContainer")
1036 def _object_cast_to_SampleAssignmentContainer(o):
1037 r"""_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1038 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1040 _object_types.append(
"PermutationStates")
1043 def _object_cast_to_PermutationStates(o):
1044 r"""_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1045 return _IMP_domino._object_cast_to_PermutationStates(o)
1047 _object_types.append(
"WriteHDF5AssignmentContainer")
1050 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1051 r"""_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1052 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1054 _object_types.append(
"ReadHDF5AssignmentContainer")
1057 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1058 r"""_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1059 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1061 _object_types.append(
"ReadAssignmentContainer")
1064 def _object_cast_to_ReadAssignmentContainer(o):
1065 r"""_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1066 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1068 _object_types.append(
"WriteAssignmentContainer")
1071 def _object_cast_to_WriteAssignmentContainer(o):
1072 r"""_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1073 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1075 _object_types.append(
"CappedAssignmentContainer")
1078 def _object_cast_to_CappedAssignmentContainer(o):
1079 r"""_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1080 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1082 _object_types.append(
"RestraintCache")
1085 def _object_cast_to_RestraintCache(o):
1086 r"""_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1087 return _IMP_domino._object_cast_to_RestraintCache(o)
1090 _plural_types.append(
"Subsets")
1091 _value_types.append(
"Subset")
1095 _plural_types.append(
"Assignments")
1096 _value_types.append(
"Assignment")
1100 _plural_types.append(
"Slices")
1101 _value_types.append(
"Slice")
1105 _plural_types.append(
"Orders")
1106 _value_types.append(
"Order")
1108 class _IntArray(IMP._Value):
1109 r"""Proxy of C++ IMP::ConstVector< int > class."""
1111 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1112 __repr__ = _swig_repr
1113 __swig_destroy__ = _IMP_domino.delete__IntArray
1115 def __init__(self, *args):
1117 __init__(_IntArray self, unsigned int sz, int fill) -> _IntArray
1118 __init__(_IntArray self) -> _IntArray
1120 _IMP_domino._IntArray_swiginit(self, _IMP_domino.new__IntArray(*args))
1122 def __cmp__(self, o):
1123 r"""__cmp__(_IntArray self, _IntArray o) -> int"""
1124 return _IMP_domino._IntArray___cmp__(self, o)
1126 def __eq__(self, o):
1127 r"""__eq__(_IntArray self, _IntArray o) -> bool"""
1128 return _IMP_domino._IntArray___eq__(self, o)
1130 def __ne__(self, o):
1131 r"""__ne__(_IntArray self, _IntArray o) -> bool"""
1132 return _IMP_domino._IntArray___ne__(self, o)
1134 def __lt__(self, o):
1135 r"""__lt__(_IntArray self, _IntArray o) -> bool"""
1136 return _IMP_domino._IntArray___lt__(self, o)
1138 def __gt__(self, o):
1139 r"""__gt__(_IntArray self, _IntArray o) -> bool"""
1140 return _IMP_domino._IntArray___gt__(self, o)
1142 def __ge__(self, o):
1143 r"""__ge__(_IntArray self, _IntArray o) -> bool"""
1144 return _IMP_domino._IntArray___ge__(self, o)
1146 def __le__(self, o):
1147 r"""__le__(_IntArray self, _IntArray o) -> bool"""
1148 return _IMP_domino._IntArray___le__(self, o)
1150 def __getitem__(self, i):
1151 r"""__getitem__(_IntArray self, unsigned int i) -> int"""
1152 return _IMP_domino._IntArray___getitem__(self, i)
1155 r"""__len__(_IntArray self) -> unsigned int"""
1156 return _IMP_domino._IntArray___len__(self)
1158 def show(self, *args):
1159 r"""show(_IntArray self, _ostream out=std::cout)"""
1160 return _IMP_domino._IntArray_show(self, *args)
1163 r"""__hash__(_IntArray self) -> std::size_t"""
1164 return _IMP_domino._IntArray___hash__(self)
1167 _IMP_domino._IntArray_swigregister(_IntArray)
1168 class _UIntArray(IMP._Value):
1169 r"""Proxy of C++ IMP::ConstVector< unsigned int > class."""
1171 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1172 __repr__ = _swig_repr
1173 __swig_destroy__ = _IMP_domino.delete__UIntArray
1175 def __init__(self, *args):
1177 __init__(_UIntArray self, unsigned int sz, unsigned int fill) -> _UIntArray
1178 __init__(_UIntArray self) -> _UIntArray
1180 _IMP_domino._UIntArray_swiginit(self, _IMP_domino.new__UIntArray(*args))
1182 def __cmp__(self, o):
1183 r"""__cmp__(_UIntArray self, _UIntArray o) -> int"""
1184 return _IMP_domino._UIntArray___cmp__(self, o)
1186 def __eq__(self, o):
1187 r"""__eq__(_UIntArray self, _UIntArray o) -> bool"""
1188 return _IMP_domino._UIntArray___eq__(self, o)
1190 def __ne__(self, o):
1191 r"""__ne__(_UIntArray self, _UIntArray o) -> bool"""
1192 return _IMP_domino._UIntArray___ne__(self, o)
1194 def __lt__(self, o):
1195 r"""__lt__(_UIntArray self, _UIntArray o) -> bool"""
1196 return _IMP_domino._UIntArray___lt__(self, o)
1198 def __gt__(self, o):
1199 r"""__gt__(_UIntArray self, _UIntArray o) -> bool"""
1200 return _IMP_domino._UIntArray___gt__(self, o)
1202 def __ge__(self, o):
1203 r"""__ge__(_UIntArray self, _UIntArray o) -> bool"""
1204 return _IMP_domino._UIntArray___ge__(self, o)
1206 def __le__(self, o):
1207 r"""__le__(_UIntArray self, _UIntArray o) -> bool"""
1208 return _IMP_domino._UIntArray___le__(self, o)
1210 def __getitem__(self, i):
1211 r"""__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1212 return _IMP_domino._UIntArray___getitem__(self, i)
1215 r"""__len__(_UIntArray self) -> unsigned int"""
1216 return _IMP_domino._UIntArray___len__(self)
1218 def show(self, *args):
1219 r"""show(_UIntArray self, _ostream out=std::cout)"""
1220 return _IMP_domino._UIntArray_show(self, *args)
1223 r"""__hash__(_UIntArray self) -> std::size_t"""
1224 return _IMP_domino._UIntArray___hash__(self)
1227 _IMP_domino._UIntArray_swigregister(_UIntArray)
1228 class _ParticleArray(IMP._Value):
1229 r"""Proxy of C++ IMP::ConstVector< IMP::WeakPointer< Particle >,Particle * > class."""
1231 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1232 __repr__ = _swig_repr
1233 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1235 def __init__(self, *args):
1237 __init__(_ParticleArray self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1238 __init__(_ParticleArray self) -> _ParticleArray
1240 _IMP_domino._ParticleArray_swiginit(self, _IMP_domino.new__ParticleArray(*args))
1242 def __cmp__(self, o):
1243 r"""__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1244 return _IMP_domino._ParticleArray___cmp__(self, o)
1246 def __eq__(self, o):
1247 r"""__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1248 return _IMP_domino._ParticleArray___eq__(self, o)
1250 def __ne__(self, o):
1251 r"""__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1252 return _IMP_domino._ParticleArray___ne__(self, o)
1254 def __lt__(self, o):
1255 r"""__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1256 return _IMP_domino._ParticleArray___lt__(self, o)
1258 def __gt__(self, o):
1259 r"""__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1260 return _IMP_domino._ParticleArray___gt__(self, o)
1262 def __ge__(self, o):
1263 r"""__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1264 return _IMP_domino._ParticleArray___ge__(self, o)
1266 def __le__(self, o):
1267 r"""__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1268 return _IMP_domino._ParticleArray___le__(self, o)
1270 def __getitem__(self, i):
1271 r"""__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1272 return _IMP_domino._ParticleArray___getitem__(self, i)
1275 r"""__len__(_ParticleArray self) -> unsigned int"""
1276 return _IMP_domino._ParticleArray___len__(self)
1278 def show(self, *args):
1279 r"""show(_ParticleArray self, _ostream out=std::cout)"""
1280 return _IMP_domino._ParticleArray_show(self, *args)
1283 r"""__hash__(_ParticleArray self) -> std::size_t"""
1284 return _IMP_domino._ParticleArray___hash__(self)
1287 _IMP_domino._ParticleArray_swigregister(_ParticleArray)
1288 class Subset(_ParticleArray):
1289 r"""Proxy of C++ IMP::domino::Subset class."""
1291 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1293 def __init__(self, *args):
1295 __init__(Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1296 __init__(Subset self) -> Subset
1297 __init__(Subset self, IMP::ParticlesTemp ps) -> Subset
1299 _IMP_domino.Subset_swiginit(self, _IMP_domino.new_Subset(*args))
1301 def get_model(self):
1302 r"""get_model(Subset self) -> Model"""
1303 return _IMP_domino.Subset_get_model(self)
1306 r"""get_name(Subset self) -> std::string"""
1307 return _IMP_domino.Subset_get_name(self)
1309 def get_contains(self, o):
1310 r"""get_contains(Subset self, Subset o) -> bool"""
1311 return _IMP_domino.Subset_get_contains(self, o)
1314 r"""__str__(Subset self) -> std::string"""
1315 return _IMP_domino.Subset___str__(self)
1318 r"""__repr__(Subset self) -> std::string"""
1319 return _IMP_domino.Subset___repr__(self)
1320 __swig_destroy__ = _IMP_domino.delete_Subset
1323 _IMP_domino.Subset_swigregister(Subset)
1326 r"""get_union(Subset a, Subset b) -> Subset"""
1327 return _IMP_domino.get_union(a, b)
1330 r"""get_intersection(Subset a, Subset b) -> Subset"""
1331 return _IMP_domino.get_intersection(a, b)
1333 def get_difference(a, b):
1334 r"""get_difference(Subset a, Subset b) -> Subset"""
1335 return _IMP_domino.get_difference(a, b)
1336 class Assignment(_IntArray):
1337 r"""Proxy of C++ IMP::domino::Assignment class."""
1339 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1341 def __init__(self, *args):
1343 __init__(Assignment self) -> Assignment
1344 __init__(Assignment self, unsigned int sz) -> Assignment
1345 __init__(Assignment self, IMP::Ints const & i) -> Assignment
1347 _IMP_domino.Assignment_swiginit(self, _IMP_domino.new_Assignment(*args))
1350 r"""__str__(Assignment self) -> std::string"""
1351 return _IMP_domino.Assignment___str__(self)
1354 r"""__repr__(Assignment self) -> std::string"""
1355 return _IMP_domino.Assignment___repr__(self)
1357 def _get_as_binary(self):
1358 r"""_get_as_binary(Assignment self) -> PyObject *"""
1359 return _IMP_domino.Assignment__get_as_binary(self)
1361 def _set_from_binary(self, p):
1362 r"""_set_from_binary(Assignment self, PyObject * p)"""
1363 return _IMP_domino.Assignment__set_from_binary(self, p)
1365 def __getstate__(self):
1366 p = self._get_as_binary()
1367 if len(self.__dict__) > 1:
1368 d = self.__dict__.copy()
1373 def __setstate__(self, p):
1374 if not hasattr(self,
'this'):
1376 if isinstance(p, tuple):
1378 self.__dict__.update(d)
1379 return self._set_from_binary(p)
1381 __swig_destroy__ = _IMP_domino.delete_Assignment
1384 _IMP_domino.Assignment_swigregister(Assignment)
1385 class Slice(_UIntArray):
1386 r"""Proxy of C++ IMP::domino::Slice class."""
1388 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1390 def __init__(self, *args):
1392 __init__(Slice self) -> Slice
1393 __init__(Slice self, Subset outer, Subset inner) -> Slice
1395 _IMP_domino.Slice_swiginit(self, _IMP_domino.new_Slice(*args))
1397 def get_sliced(self, *args):
1399 get_sliced(Slice self, Assignment a) -> Assignment
1400 get_sliced(Slice self, Subset a) -> Subset
1402 return _IMP_domino.Slice_get_sliced(self, *args)
1405 r"""__str__(Slice self) -> std::string"""
1406 return _IMP_domino.Slice___str__(self)
1409 r"""__repr__(Slice self) -> std::string"""
1410 return _IMP_domino.Slice___repr__(self)
1412 def _get_as_binary(self):
1413 r"""_get_as_binary(Slice self) -> PyObject *"""
1414 return _IMP_domino.Slice__get_as_binary(self)
1416 def _set_from_binary(self, p):
1417 r"""_set_from_binary(Slice self, PyObject * p)"""
1418 return _IMP_domino.Slice__set_from_binary(self, p)
1420 def __getstate__(self):
1421 p = self._get_as_binary()
1422 if len(self.__dict__) > 1:
1423 d = self.__dict__.copy()
1428 def __setstate__(self, p):
1429 if not hasattr(self,
'this'):
1431 if isinstance(p, tuple):
1433 self.__dict__.update(d)
1434 return self._set_from_binary(p)
1436 __swig_destroy__ = _IMP_domino.delete_Slice
1439 _IMP_domino.Slice_swigregister(Slice)
1442 r"""get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1443 return _IMP_domino.get_slice(outer, inner, excluded)
1444 class Order(_UIntArray):
1445 r"""Proxy of C++ IMP::domino::Order class."""
1447 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1449 def __init__(self, *args):
1451 __init__(Order self) -> Order
1452 __init__(Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1454 _IMP_domino.Order_swiginit(self, _IMP_domino.new_Order(*args))
1456 def get_list_ordered(self, a):
1457 r"""get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1458 return _IMP_domino.Order_get_list_ordered(self, a)
1460 def get_subset_ordered(self, a):
1461 r"""get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1462 return _IMP_domino.Order_get_subset_ordered(self, a)
1465 r"""__str__(Order self) -> std::string"""
1466 return _IMP_domino.Order___str__(self)
1469 r"""__repr__(Order self) -> std::string"""
1470 return _IMP_domino.Order___repr__(self)
1472 def _get_as_binary(self):
1473 r"""_get_as_binary(Order self) -> PyObject *"""
1474 return _IMP_domino.Order__get_as_binary(self)
1476 def _set_from_binary(self, p):
1477 r"""_set_from_binary(Order self, PyObject * p)"""
1478 return _IMP_domino.Order__set_from_binary(self, p)
1480 def __getstate__(self):
1481 p = self._get_as_binary()
1482 if len(self.__dict__) > 1:
1483 d = self.__dict__.copy()
1488 def __setstate__(self, p):
1489 if not hasattr(self,
'this'):
1491 if isinstance(p, tuple):
1493 self.__dict__.update(d)
1494 return self._set_from_binary(p)
1496 __swig_destroy__ = _IMP_domino.delete_Order
1499 _IMP_domino.Order_swigregister(Order)
1501 r"""Proxy of C++ IMP::domino::ParticleStates class."""
1503 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1505 def __init__(self, *args):
1506 r"""__init__(ParticleStates self, std::string name="ParticleStates %1%") -> ParticleStates"""
1507 if self.__class__ == ParticleStates:
1511 _IMP_domino.ParticleStates_swiginit(self, _IMP_domino.new_ParticleStates(_self, *args))
1513 if self.__class__ != ParticleStates:
1514 _director_objects.register(self)
1519 def get_number_of_particle_states(self):
1520 r"""get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1521 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1523 def load_particle_state(self, arg0, arg1):
1524 r"""load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1525 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1528 r"""get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1529 return _IMP_domino.ParticleStates_get_embedding(self, i)
1531 def get_nearest_state(self, v):
1532 r"""get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1533 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1534 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1537 r"""__str__(ParticleStates self) -> std::string"""
1538 return _IMP_domino.ParticleStates___str__(self)
1541 r"""__repr__(ParticleStates self) -> std::string"""
1542 return _IMP_domino.ParticleStates___repr__(self)
1546 return _object_cast_to_ParticleStates(o)
1549 def get_type_name(self):
1550 return self.__class__.__name__
1551 def do_show(self, out):
1553 def get_version_info(self):
1554 if"IMP::domino" ==
"IMP":
1555 return VersionInfo(self.__module__,
1562 return _object_cast_to_ParticleStates(o)
1564 def __disown__(self):
1566 _IMP_domino.disown_ParticleStates(self)
1567 return weakref.proxy(self)
1569 def do_destroy(self):
1570 r"""do_destroy(ParticleStates self)"""
1571 return _IMP_domino.ParticleStates_do_destroy(self)
1574 _IMP_domino.ParticleStates_swigregister(ParticleStates)
1576 r"""Proxy of C++ IMP::domino::ParticleStatesTable class."""
1578 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1581 r"""__init__(ParticleStatesTable self) -> ParticleStatesTable"""
1582 _IMP_domino.ParticleStatesTable_swiginit(self, _IMP_domino.new_ParticleStatesTable())
1584 def get_particle_states(self, p):
1585 r"""get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1586 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1588 def get_has_particle(self, p):
1589 r"""get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1590 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1593 r"""get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1594 return _IMP_domino.ParticleStatesTable_get_particles(self)
1596 def get_subset(self):
1597 r"""get_subset(ParticleStatesTable self) -> Subset"""
1598 return _IMP_domino.ParticleStatesTable_get_subset(self)
1600 def set_particle_states(self, p, e):
1601 r"""set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1602 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1604 def get_version_info(self):
1605 r"""get_version_info(ParticleStatesTable self) -> VersionInfo"""
1606 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1607 __swig_destroy__ = _IMP_domino.delete_ParticleStatesTable
1610 r"""__str__(ParticleStatesTable self) -> std::string"""
1611 return _IMP_domino.ParticleStatesTable___str__(self)
1614 r"""__repr__(ParticleStatesTable self) -> std::string"""
1615 return _IMP_domino.ParticleStatesTable___repr__(self)
1619 return _object_cast_to_ParticleStatesTable(o)
1623 _IMP_domino.ParticleStatesTable_swigregister(ParticleStatesTable)
1624 class IndexStates(ParticleStates):
1625 r"""Proxy of C++ IMP::domino::IndexStates class."""
1627 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1629 def __init__(self, *args):
1630 r"""__init__(IndexStates self, unsigned int n, IntKey k=IMP::IntKey("state")) -> IndexStates"""
1631 _IMP_domino.IndexStates_swiginit(self, _IMP_domino.new_IndexStates(*args))
1633 def get_version_info(self):
1634 r"""get_version_info(IndexStates self) -> VersionInfo"""
1635 return _IMP_domino.IndexStates_get_version_info(self)
1636 __swig_destroy__ = _IMP_domino.delete_IndexStates
1639 r"""__str__(IndexStates self) -> std::string"""
1640 return _IMP_domino.IndexStates___str__(self)
1643 r"""__repr__(IndexStates self) -> std::string"""
1644 return _IMP_domino.IndexStates___repr__(self)
1648 return _object_cast_to_IndexStates(o)
1652 _IMP_domino.IndexStates_swigregister(IndexStates)
1653 class XYZStates(ParticleStates):
1654 r"""Proxy of C++ IMP::domino::XYZStates class."""
1656 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1658 def __init__(self, states):
1659 r"""__init__(XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1660 _IMP_domino.XYZStates_swiginit(self, _IMP_domino.new_XYZStates(states))
1662 def get_vector(self, i):
1663 r"""get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1664 return _IMP_domino.XYZStates_get_vector(self, i)
1666 def get_version_info(self):
1667 r"""get_version_info(XYZStates self) -> VersionInfo"""
1668 return _IMP_domino.XYZStates_get_version_info(self)
1669 __swig_destroy__ = _IMP_domino.delete_XYZStates
1672 r"""__str__(XYZStates self) -> std::string"""
1673 return _IMP_domino.XYZStates___str__(self)
1676 r"""__repr__(XYZStates self) -> std::string"""
1677 return _IMP_domino.XYZStates___repr__(self)
1681 return _object_cast_to_XYZStates(o)
1685 _IMP_domino.XYZStates_swigregister(XYZStates)
1686 class RigidBodyStates(ParticleStates):
1687 r"""Proxy of C++ IMP::domino::RigidBodyStates class."""
1689 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1691 def __init__(self, states, scale=1):
1692 r"""__init__(RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates"""
1693 _IMP_domino.RigidBodyStates_swiginit(self, _IMP_domino.new_RigidBodyStates(states, scale))
1695 def get_reference_frame(self, i):
1696 r"""get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1697 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1699 def get_version_info(self):
1700 r"""get_version_info(RigidBodyStates self) -> VersionInfo"""
1701 return _IMP_domino.RigidBodyStates_get_version_info(self)
1702 __swig_destroy__ = _IMP_domino.delete_RigidBodyStates
1705 r"""__str__(RigidBodyStates self) -> std::string"""
1706 return _IMP_domino.RigidBodyStates___str__(self)
1709 r"""__repr__(RigidBodyStates self) -> std::string"""
1710 return _IMP_domino.RigidBodyStates___repr__(self)
1714 return _object_cast_to_RigidBodyStates(o)
1718 _IMP_domino.RigidBodyStates_swigregister(RigidBodyStates)
1719 class NestedRigidBodyStates(ParticleStates):
1720 r"""Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1722 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1724 def __init__(self, states, scale=100):
1725 r"""__init__(NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates"""
1726 _IMP_domino.NestedRigidBodyStates_swiginit(self, _IMP_domino.new_NestedRigidBodyStates(states, scale))
1728 def get_transformation(self, i):
1729 r"""get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1730 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1732 def get_version_info(self):
1733 r"""get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1734 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1735 __swig_destroy__ = _IMP_domino.delete_NestedRigidBodyStates
1738 r"""__str__(NestedRigidBodyStates self) -> std::string"""
1739 return _IMP_domino.NestedRigidBodyStates___str__(self)
1742 r"""__repr__(NestedRigidBodyStates self) -> std::string"""
1743 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1747 return _object_cast_to_NestedRigidBodyStates(o)
1751 _IMP_domino.NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1752 class CompoundStates(ParticleStates):
1753 r"""Proxy of C++ IMP::domino::CompoundStates class."""
1755 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1757 def __init__(self, a, b):
1758 r"""__init__(CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1759 _IMP_domino.CompoundStates_swiginit(self, _IMP_domino.new_CompoundStates(a, b))
1761 def get_version_info(self):
1762 r"""get_version_info(CompoundStates self) -> VersionInfo"""
1763 return _IMP_domino.CompoundStates_get_version_info(self)
1764 __swig_destroy__ = _IMP_domino.delete_CompoundStates
1767 r"""__str__(CompoundStates self) -> std::string"""
1768 return _IMP_domino.CompoundStates___str__(self)
1771 r"""__repr__(CompoundStates self) -> std::string"""
1772 return _IMP_domino.CompoundStates___repr__(self)
1776 return _object_cast_to_CompoundStates(o)
1780 _IMP_domino.CompoundStates_swigregister(CompoundStates)
1781 class RecursiveStates(ParticleStates):
1782 r"""Proxy of C++ IMP::domino::RecursiveStates class."""
1784 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1786 def __init__(self, p, s, ss, pst):
1787 r"""__init__(RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1788 _IMP_domino.RecursiveStates_swiginit(self, _IMP_domino.new_RecursiveStates(p, s, ss, pst))
1790 def get_version_info(self):
1791 r"""get_version_info(RecursiveStates self) -> VersionInfo"""
1792 return _IMP_domino.RecursiveStates_get_version_info(self)
1793 __swig_destroy__ = _IMP_domino.delete_RecursiveStates
1796 r"""__str__(RecursiveStates self) -> std::string"""
1797 return _IMP_domino.RecursiveStates___str__(self)
1800 r"""__repr__(RecursiveStates self) -> std::string"""
1801 return _IMP_domino.RecursiveStates___repr__(self)
1805 return _object_cast_to_RecursiveStates(o)
1809 _IMP_domino.RecursiveStates_swigregister(RecursiveStates)
1810 class PermutationStates(ParticleStates):
1811 r"""Proxy of C++ IMP::domino::PermutationStates class."""
1813 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1815 def __init__(self, inner):
1816 r"""__init__(PermutationStates self, ParticleStates inner) -> PermutationStates"""
1817 _IMP_domino.PermutationStates_swiginit(self, _IMP_domino.new_PermutationStates(inner))
1819 def get_inner_state(self, i):
1820 r"""get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1821 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1823 def get_version_info(self):
1824 r"""get_version_info(PermutationStates self) -> VersionInfo"""
1825 return _IMP_domino.PermutationStates_get_version_info(self)
1826 __swig_destroy__ = _IMP_domino.delete_PermutationStates
1829 r"""__str__(PermutationStates self) -> std::string"""
1830 return _IMP_domino.PermutationStates___str__(self)
1833 r"""__repr__(PermutationStates self) -> std::string"""
1834 return _IMP_domino.PermutationStates___repr__(self)
1838 return _object_cast_to_PermutationStates(o)
1842 _IMP_domino.PermutationStates_swigregister(PermutationStates)
1843 class _ParticlesAdaptor(IMP._InputAdaptor):
1844 r"""Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1846 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1847 __repr__ = _swig_repr
1849 def __init__(self, *args):
1851 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1852 __init__(_ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1854 _IMP_domino._ParticlesAdaptor_swiginit(self, _IMP_domino.new__ParticlesAdaptor(*args))
1855 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1858 _IMP_domino._ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1860 r"""Proxy of C++ IMP::domino::RestraintCache class."""
1862 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1864 def __init__(self, *args):
1865 r"""__init__(RestraintCache self, ParticleStatesTable pst, unsigned int size=std::numeric_limits< unsigned int >::max()) -> RestraintCache"""
1866 _IMP_domino.RestraintCache_swiginit(self, _IMP_domino.new_RestraintCache(*args))
1869 r"""add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1870 return _IMP_domino.RestraintCache_add_restraints(self, rs)
1872 def get_score(self, *args):
1874 get_score(RestraintCache self, Restraint r, Assignment a) -> double
1875 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1877 return _IMP_domino.RestraintCache_get_score(self, *args)
1879 def load_last_score(self, r, s, a):
1880 r"""load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1881 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1883 def get_restraints(self, *args):
1885 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1886 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1888 return _IMP_domino.RestraintCache_get_restraints(self, *args)
1890 def save_cache(self, particle_ordering, restraints, group, max_entries):
1891 r"""save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1892 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1894 def load_cache(self, ps, group):
1895 r"""load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1896 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1899 r"""get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1900 return _IMP_domino.RestraintCache_get_slice(self, r, s)
1902 def get_number_of_entries(self):
1903 r"""get_number_of_entries(RestraintCache self) -> unsigned int"""
1904 return _IMP_domino.RestraintCache_get_number_of_entries(self)
1907 r"""validate(RestraintCache self)"""
1908 return _IMP_domino.RestraintCache_validate(self)
1910 def show_restraint_information(self, *args):
1911 r"""show_restraint_information(RestraintCache self, _ostream out=std::cout)"""
1912 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1914 def get_hit_rate(self):
1915 r"""get_hit_rate(RestraintCache self) -> double"""
1916 return _IMP_domino.RestraintCache_get_hit_rate(self)
1918 def get_version_info(self):
1919 r"""get_version_info(RestraintCache self) -> VersionInfo"""
1920 return _IMP_domino.RestraintCache_get_version_info(self)
1921 __swig_destroy__ = _IMP_domino.delete_RestraintCache
1924 r"""__str__(RestraintCache self) -> std::string"""
1925 return _IMP_domino.RestraintCache___str__(self)
1928 r"""__repr__(RestraintCache self) -> std::string"""
1929 return _IMP_domino.RestraintCache___repr__(self)
1933 return _object_cast_to_RestraintCache(o)
1937 _IMP_domino.RestraintCache_swigregister(RestraintCache)
1939 r"""Proxy of C++ IMP::domino::SubsetFilter class."""
1941 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1943 def __init__(self, *args):
1944 r"""__init__(SubsetFilter self, std::string name="SubsetFilter%1%") -> SubsetFilter"""
1945 if self.__class__ == SubsetFilter:
1949 _IMP_domino.SubsetFilter_swiginit(self, _IMP_domino.new_SubsetFilter(_self, *args))
1951 if self.__class__ != SubsetFilter:
1952 _director_objects.register(self)
1957 def get_is_ok(self, state):
1958 r"""get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1959 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1961 def get_next_state(self, pos, state):
1962 r"""get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1963 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
1964 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
1967 r"""__str__(SubsetFilter self) -> std::string"""
1968 return _IMP_domino.SubsetFilter___str__(self)
1971 r"""__repr__(SubsetFilter self) -> std::string"""
1972 return _IMP_domino.SubsetFilter___repr__(self)
1976 return _object_cast_to_SubsetFilter(o)
1979 def get_type_name(self):
1980 return self.__class__.__name__
1981 def do_show(self, out):
1983 def get_version_info(self):
1984 if"IMP::domino" ==
"IMP":
1985 return VersionInfo(self.__module__,
1992 return _object_cast_to_SubsetFilter(o)
1994 def __disown__(self):
1996 _IMP_domino.disown_SubsetFilter(self)
1997 return weakref.proxy(self)
1999 def do_destroy(self):
2000 r"""do_destroy(SubsetFilter self)"""
2001 return _IMP_domino.SubsetFilter_do_destroy(self)
2004 _IMP_domino.SubsetFilter_swigregister(SubsetFilter)
2006 r"""Proxy of C++ IMP::domino::SubsetFilterTable class."""
2008 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2010 def __init__(self, *args):
2011 r"""__init__(SubsetFilterTable self, std::string name="SubsetFilterTable%1%") -> SubsetFilterTable"""
2012 if self.__class__ == SubsetFilterTable:
2016 _IMP_domino.SubsetFilterTable_swiginit(self, _IMP_domino.new_SubsetFilterTable(_self, *args))
2018 if self.__class__ != SubsetFilterTable:
2019 _director_objects.register(self)
2024 def get_subset_filter(self, s, prior_subsets):
2025 r"""get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2026 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2028 def get_strength(self, s, prior_subsets):
2029 r"""get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2030 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2031 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2034 r"""__str__(SubsetFilterTable self) -> std::string"""
2035 return _IMP_domino.SubsetFilterTable___str__(self)
2038 r"""__repr__(SubsetFilterTable self) -> std::string"""
2039 return _IMP_domino.SubsetFilterTable___repr__(self)
2043 return _object_cast_to_SubsetFilterTable(o)
2046 def get_type_name(self):
2047 return self.__class__.__name__
2048 def do_show(self, out):
2050 def get_version_info(self):
2051 if"IMP::domino" ==
"IMP":
2052 return VersionInfo(self.__module__,
2059 return _object_cast_to_SubsetFilterTable(o)
2061 def __disown__(self):
2063 _IMP_domino.disown_SubsetFilterTable(self)
2064 return weakref.proxy(self)
2066 def do_destroy(self):
2067 r"""do_destroy(SubsetFilterTable self)"""
2068 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2071 _IMP_domino.SubsetFilterTable_swigregister(SubsetFilterTable)
2072 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2073 r"""Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2075 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2077 def __init__(self, *args):
2079 __init__(RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2080 __init__(RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2082 _IMP_domino.RestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_RestraintScoreSubsetFilterTable(*args))
2084 def get_version_info(self):
2085 r"""get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2086 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2087 __swig_destroy__ = _IMP_domino.delete_RestraintScoreSubsetFilterTable
2090 r"""__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2091 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2094 r"""__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2095 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2099 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2103 _IMP_domino.RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2104 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2105 r"""Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2107 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2109 def __init__(self, rs, rc, max_number_allowed_violations):
2110 r"""__init__(MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2111 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swiginit(self, _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations))
2113 def get_maximum_number_of_violated_restraints(self):
2114 r"""get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2115 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2117 def get_version_info(self):
2118 r"""get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2119 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2120 __swig_destroy__ = _IMP_domino.delete_MinimumRestraintScoreSubsetFilterTable
2123 r"""__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2124 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2127 r"""__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2128 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2132 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2136 _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2137 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2138 r"""Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2140 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2142 def __init__(self, *args, **kwargs):
2143 raise AttributeError(
"No constructor defined - class is abstract")
2145 def add_set(self, ps):
2146 r"""add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2147 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2149 def add_pair(self, pp):
2150 r"""add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2151 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2154 r"""__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2155 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2158 r"""__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2159 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2163 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2165 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2168 _IMP_domino.DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2169 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2170 r"""Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2172 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2174 def __init__(self, *args):
2176 __init__(ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2177 __init__(ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2179 _IMP_domino.ExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_ExclusionSubsetFilterTable(*args))
2181 def get_version_info(self):
2182 r"""get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2183 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2184 __swig_destroy__ = _IMP_domino.delete_ExclusionSubsetFilterTable
2187 r"""__str__(ExclusionSubsetFilterTable self) -> std::string"""
2188 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2191 r"""__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2192 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2196 return _object_cast_to_ExclusionSubsetFilterTable(o)
2200 _IMP_domino.ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2201 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2202 r"""Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2204 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2206 def __init__(self, *args):
2208 __init__(EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2209 __init__(EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2211 _IMP_domino.EqualitySubsetFilterTable_swiginit(self, _IMP_domino.new_EqualitySubsetFilterTable(*args))
2213 def get_version_info(self):
2214 r"""get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2215 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2216 __swig_destroy__ = _IMP_domino.delete_EqualitySubsetFilterTable
2219 r"""__str__(EqualitySubsetFilterTable self) -> std::string"""
2220 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2223 r"""__repr__(EqualitySubsetFilterTable self) -> std::string"""
2224 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2228 return _object_cast_to_EqualitySubsetFilterTable(o)
2232 _IMP_domino.EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2233 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2234 r"""Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2236 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2238 def __init__(self, *args):
2240 __init__(EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2241 __init__(EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2243 _IMP_domino.EquivalenceSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceSubsetFilterTable(*args))
2245 def get_version_info(self):
2246 r"""get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2247 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2248 __swig_destroy__ = _IMP_domino.delete_EquivalenceSubsetFilterTable
2251 r"""__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2252 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2255 r"""__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2256 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2260 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2264 _IMP_domino.EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2265 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2266 r"""Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2268 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2270 def __init__(self, *args):
2272 __init__(EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2273 __init__(EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2275 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swiginit(self, _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args))
2277 def get_version_info(self):
2278 r"""get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2279 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2280 __swig_destroy__ = _IMP_domino.delete_EquivalenceAndExclusionSubsetFilterTable
2283 r"""__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2284 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2287 r"""__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2288 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2292 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2296 _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2297 class ListSubsetFilterTable(SubsetFilterTable):
2298 r"""Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2300 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2302 def __init__(self, pst):
2303 r"""__init__(ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2304 _IMP_domino.ListSubsetFilterTable_swiginit(self, _IMP_domino.new_ListSubsetFilterTable(pst))
2306 def get_ok_rate(self):
2307 r"""get_ok_rate(ListSubsetFilterTable self) -> double"""
2308 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2310 def get_number_of_particle_states(self, p):
2311 r"""get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2312 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2314 def set_allowed_states(self, p, states):
2315 r"""set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2316 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2318 def get_version_info(self):
2319 r"""get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2320 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2321 __swig_destroy__ = _IMP_domino.delete_ListSubsetFilterTable
2324 r"""__str__(ListSubsetFilterTable self) -> std::string"""
2325 return _IMP_domino.ListSubsetFilterTable___str__(self)
2328 r"""__repr__(ListSubsetFilterTable self) -> std::string"""
2329 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2333 return _object_cast_to_ListSubsetFilterTable(o)
2337 _IMP_domino.ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2338 class PairListSubsetFilterTable(SubsetFilterTable):
2339 r"""Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2341 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2344 r"""__init__(PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2345 _IMP_domino.PairListSubsetFilterTable_swiginit(self, _IMP_domino.new_PairListSubsetFilterTable())
2347 def set_allowed_states(self, p, states):
2348 r"""set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2349 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2351 def get_version_info(self):
2352 r"""get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2353 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2354 __swig_destroy__ = _IMP_domino.delete_PairListSubsetFilterTable
2357 r"""__str__(PairListSubsetFilterTable self) -> std::string"""
2358 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2361 r"""__repr__(PairListSubsetFilterTable self) -> std::string"""
2362 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2366 return _object_cast_to_PairListSubsetFilterTable(o)
2370 _IMP_domino.PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2371 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2372 r"""Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2374 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2376 def __init__(self, p, leaves_only=False):
2377 r"""__init__(ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable"""
2378 _IMP_domino.ProbabilisticSubsetFilterTable_swiginit(self, _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only))
2380 def get_version_info(self):
2381 r"""get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2382 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2383 __swig_destroy__ = _IMP_domino.delete_ProbabilisticSubsetFilterTable
2386 r"""__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2387 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2390 r"""__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2391 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2395 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2399 _IMP_domino.ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2401 r"""Proxy of C++ IMP::domino::AssignmentContainer class."""
2403 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2405 def __init__(self, *args):
2406 r"""__init__(AssignmentContainer self, std::string name="AssignmentContainer %1%") -> AssignmentContainer"""
2407 if self.__class__ == AssignmentContainer:
2411 _IMP_domino.AssignmentContainer_swiginit(self, _IMP_domino.new_AssignmentContainer(_self, *args))
2413 if self.__class__ != AssignmentContainer:
2414 _director_objects.register(self)
2419 def get_number_of_assignments(self):
2420 r"""get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2421 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2423 def get_assignment(self, i):
2424 r"""get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2425 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2427 def get_assignments(self, *args):
2429 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2430 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2432 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2434 def add_assignment(self, a):
2435 r"""add_assignment(AssignmentContainer self, Assignment a)"""
2436 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2438 def add_assignments(self, asgn):
2439 r"""add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2440 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2442 def get_particle_assignments(self, i):
2443 r"""get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2444 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2445 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2448 r"""__str__(AssignmentContainer self) -> std::string"""
2449 return _IMP_domino.AssignmentContainer___str__(self)
2452 r"""__repr__(AssignmentContainer self) -> std::string"""
2453 return _IMP_domino.AssignmentContainer___repr__(self)
2457 return _object_cast_to_AssignmentContainer(o)
2460 def get_type_name(self):
2461 return self.__class__.__name__
2462 def do_show(self, out):
2464 def get_version_info(self):
2465 if"IMP::domino" ==
"IMP":
2466 return VersionInfo(self.__module__,
2473 return _object_cast_to_AssignmentContainer(o)
2475 def __disown__(self):
2477 _IMP_domino.disown_AssignmentContainer(self)
2478 return weakref.proxy(self)
2480 def do_destroy(self):
2481 r"""do_destroy(AssignmentContainer self)"""
2482 return _IMP_domino.AssignmentContainer_do_destroy(self)
2485 _IMP_domino.AssignmentContainer_swigregister(AssignmentContainer)
2486 class PackedAssignmentContainer(AssignmentContainer):
2487 r"""Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2489 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2491 def __init__(self, *args):
2492 r"""__init__(PackedAssignmentContainer self, std::string name="PackedAssignmentContainer %1%") -> PackedAssignmentContainer"""
2493 _IMP_domino.PackedAssignmentContainer_swiginit(self, _IMP_domino.new_PackedAssignmentContainer(*args))
2495 def get_assignments(self, *args):
2497 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2498 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2500 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2502 def get_version_info(self):
2503 r"""get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2504 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2505 __swig_destroy__ = _IMP_domino.delete_PackedAssignmentContainer
2508 r"""__str__(PackedAssignmentContainer self) -> std::string"""
2509 return _IMP_domino.PackedAssignmentContainer___str__(self)
2512 r"""__repr__(PackedAssignmentContainer self) -> std::string"""
2513 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2517 return _object_cast_to_PackedAssignmentContainer(o)
2521 _IMP_domino.PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2522 class ListAssignmentContainer(AssignmentContainer):
2523 r"""Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2525 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2527 def __init__(self, *args):
2528 r"""__init__(ListAssignmentContainer self, std::string name="ListAssignmentContainer %1%") -> ListAssignmentContainer"""
2529 _IMP_domino.ListAssignmentContainer_swiginit(self, _IMP_domino.new_ListAssignmentContainer(*args))
2531 def get_assignments(self, *args):
2533 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2534 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2536 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2538 def get_version_info(self):
2539 r"""get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2540 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2541 __swig_destroy__ = _IMP_domino.delete_ListAssignmentContainer
2544 r"""__str__(ListAssignmentContainer self) -> std::string"""
2545 return _IMP_domino.ListAssignmentContainer___str__(self)
2548 r"""__repr__(ListAssignmentContainer self) -> std::string"""
2549 return _IMP_domino.ListAssignmentContainer___repr__(self)
2553 return _object_cast_to_ListAssignmentContainer(o)
2557 _IMP_domino.ListAssignmentContainer_swigregister(ListAssignmentContainer)
2558 class SampleAssignmentContainer(AssignmentContainer):
2559 r"""Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2561 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2563 def __init__(self, *args):
2564 r"""__init__(SampleAssignmentContainer self, unsigned int k, std::string name="SampleAssignmentContainer %1%") -> SampleAssignmentContainer"""
2565 _IMP_domino.SampleAssignmentContainer_swiginit(self, _IMP_domino.new_SampleAssignmentContainer(*args))
2567 def get_assignments(self, *args):
2569 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2570 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2572 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2574 def get_version_info(self):
2575 r"""get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2576 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2577 __swig_destroy__ = _IMP_domino.delete_SampleAssignmentContainer
2580 r"""__str__(SampleAssignmentContainer self) -> std::string"""
2581 return _IMP_domino.SampleAssignmentContainer___str__(self)
2584 r"""__repr__(SampleAssignmentContainer self) -> std::string"""
2585 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2589 return _object_cast_to_SampleAssignmentContainer(o)
2593 _IMP_domino.SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2594 class WriteHDF5AssignmentContainer(AssignmentContainer):
2595 r"""Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2597 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2599 def __init__(self, *args):
2601 __init__(WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2602 __init__(WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2604 _IMP_domino.WriteHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_WriteHDF5AssignmentContainer(*args))
2606 def set_cache_size(self, words):
2607 r"""set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2608 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2610 def get_assignments(self, *args):
2612 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2613 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2615 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2617 def get_version_info(self):
2618 r"""get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2619 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2620 __swig_destroy__ = _IMP_domino.delete_WriteHDF5AssignmentContainer
2623 r"""__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2624 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2627 r"""__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2628 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2632 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2636 _IMP_domino.WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2637 class ReadHDF5AssignmentContainer(AssignmentContainer):
2638 r"""Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2640 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2642 def __init__(self, dataset, s, all_particles, name):
2643 r"""__init__(ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2644 _IMP_domino.ReadHDF5AssignmentContainer_swiginit(self, _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name))
2646 def set_cache_size(self, words):
2647 r"""set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2648 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2650 def get_assignments(self, *args):
2652 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2653 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2655 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2657 def get_version_info(self):
2658 r"""get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2659 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2660 __swig_destroy__ = _IMP_domino.delete_ReadHDF5AssignmentContainer
2663 r"""__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2664 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2667 r"""__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2668 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2672 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2676 _IMP_domino.ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2677 class WriteAssignmentContainer(AssignmentContainer):
2678 r"""Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2680 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2682 def __init__(self, out_file, s, all_particles, name):
2683 r"""__init__(WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2684 _IMP_domino.WriteAssignmentContainer_swiginit(self, _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name))
2686 def set_cache_size(self, words):
2687 r"""set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2688 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2690 def get_assignments(self, *args):
2692 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2693 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2695 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2697 def get_version_info(self):
2698 r"""get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2699 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2700 __swig_destroy__ = _IMP_domino.delete_WriteAssignmentContainer
2703 r"""__str__(WriteAssignmentContainer self) -> std::string"""
2704 return _IMP_domino.WriteAssignmentContainer___str__(self)
2707 r"""__repr__(WriteAssignmentContainer self) -> std::string"""
2708 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2712 return _object_cast_to_WriteAssignmentContainer(o)
2716 _IMP_domino.WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2717 class ReadAssignmentContainer(AssignmentContainer):
2718 r"""Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2720 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2722 def __init__(self, out_file, s, all_particles, name):
2723 r"""__init__(ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2724 _IMP_domino.ReadAssignmentContainer_swiginit(self, _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name))
2726 def set_cache_size(self, words):
2727 r"""set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2728 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2730 def get_assignments(self, *args):
2732 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2733 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2735 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2737 def get_version_info(self):
2738 r"""get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2739 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2740 __swig_destroy__ = _IMP_domino.delete_ReadAssignmentContainer
2743 r"""__str__(ReadAssignmentContainer self) -> std::string"""
2744 return _IMP_domino.ReadAssignmentContainer___str__(self)
2747 r"""__repr__(ReadAssignmentContainer self) -> std::string"""
2748 return _IMP_domino.ReadAssignmentContainer___repr__(self)
2752 return _object_cast_to_ReadAssignmentContainer(o)
2756 _IMP_domino.ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2757 class RangeViewAssignmentContainer(AssignmentContainer):
2758 r"""Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2760 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2762 def __init__(self, inner, begin, end):
2763 r"""__init__(RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2764 _IMP_domino.RangeViewAssignmentContainer_swiginit(self, _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end))
2766 def get_assignments(self, *args):
2768 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2769 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2771 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2773 def get_version_info(self):
2774 r"""get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2775 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2776 __swig_destroy__ = _IMP_domino.delete_RangeViewAssignmentContainer
2779 r"""__str__(RangeViewAssignmentContainer self) -> std::string"""
2780 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2783 r"""__repr__(RangeViewAssignmentContainer self) -> std::string"""
2784 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2788 return _object_cast_to_RangeViewAssignmentContainer(o)
2792 _IMP_domino.RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
2793 class HeapAssignmentContainer(AssignmentContainer):
2794 r"""Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
2796 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2798 def __init__(self, *args):
2799 r"""__init__(HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name="HeapAssignmentContainer %1%") -> HeapAssignmentContainer"""
2800 _IMP_domino.HeapAssignmentContainer_swiginit(self, _IMP_domino.new_HeapAssignmentContainer(*args))
2802 def get_assignments(self, *args):
2804 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2805 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
2807 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
2809 def get_version_info(self):
2810 r"""get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
2811 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
2812 __swig_destroy__ = _IMP_domino.delete_HeapAssignmentContainer
2815 r"""__str__(HeapAssignmentContainer self) -> std::string"""
2816 return _IMP_domino.HeapAssignmentContainer___str__(self)
2819 r"""__repr__(HeapAssignmentContainer self) -> std::string"""
2820 return _IMP_domino.HeapAssignmentContainer___repr__(self)
2824 return _object_cast_to_HeapAssignmentContainer(o)
2828 _IMP_domino.HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
2829 class CappedAssignmentContainer(AssignmentContainer):
2830 r"""Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
2832 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2834 def __init__(self, contained, max_states, name):
2835 r"""__init__(CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
2836 _IMP_domino.CappedAssignmentContainer_swiginit(self, _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name))
2838 def get_assignments(self, *args):
2840 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2841 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
2843 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
2845 def get_version_info(self):
2846 r"""get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
2847 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
2848 __swig_destroy__ = _IMP_domino.delete_CappedAssignmentContainer
2851 r"""__str__(CappedAssignmentContainer self) -> std::string"""
2852 return _IMP_domino.CappedAssignmentContainer___str__(self)
2855 r"""__repr__(CappedAssignmentContainer self) -> std::string"""
2856 return _IMP_domino.CappedAssignmentContainer___repr__(self)
2860 return _object_cast_to_CappedAssignmentContainer(o)
2864 _IMP_domino.CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
2866 r"""Proxy of C++ IMP::domino::AssignmentsTable class."""
2868 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2870 def __init__(self, *args):
2871 r"""__init__(AssignmentsTable self, std::string name="AssignmentsTable %1%") -> AssignmentsTable"""
2872 if self.__class__ == AssignmentsTable:
2876 _IMP_domino.AssignmentsTable_swiginit(self, _IMP_domino.new_AssignmentsTable(_self, *args))
2878 if self.__class__ != AssignmentsTable:
2879 _director_objects.register(self)
2884 def load_assignments(self, s, ac):
2885 r"""load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
2886 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
2887 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
2890 r"""__str__(AssignmentsTable self) -> std::string"""
2891 return _IMP_domino.AssignmentsTable___str__(self)
2894 r"""__repr__(AssignmentsTable self) -> std::string"""
2895 return _IMP_domino.AssignmentsTable___repr__(self)
2899 return _object_cast_to_AssignmentsTable(o)
2902 def get_type_name(self):
2903 return self.__class__.__name__
2904 def do_show(self, out):
2906 def get_version_info(self):
2907 if"IMP::domino" ==
"IMP":
2908 return VersionInfo(self.__module__,
2915 return _object_cast_to_AssignmentsTable(o)
2917 def __disown__(self):
2919 _IMP_domino.disown_AssignmentsTable(self)
2920 return weakref.proxy(self)
2922 def do_destroy(self):
2923 r"""do_destroy(AssignmentsTable self)"""
2924 return _IMP_domino.AssignmentsTable_do_destroy(self)
2927 _IMP_domino.AssignmentsTable_swigregister(AssignmentsTable)
2928 class SimpleAssignmentsTable(AssignmentsTable):
2929 r"""Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
2931 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2933 def __init__(self, *args):
2934 r"""__init__(SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> SimpleAssignmentsTable"""
2935 _IMP_domino.SimpleAssignmentsTable_swiginit(self, _IMP_domino.new_SimpleAssignmentsTable(*args))
2937 def get_version_info(self):
2938 r"""get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
2939 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
2940 __swig_destroy__ = _IMP_domino.delete_SimpleAssignmentsTable
2943 r"""__str__(SimpleAssignmentsTable self) -> std::string"""
2944 return _IMP_domino.SimpleAssignmentsTable___str__(self)
2947 r"""__repr__(SimpleAssignmentsTable self) -> std::string"""
2948 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
2952 return _object_cast_to_SimpleAssignmentsTable(o)
2956 _IMP_domino.SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
2957 class RecursiveAssignmentsTable(AssignmentsTable):
2958 r"""Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
2960 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2962 def __init__(self, *args):
2963 r"""__init__(RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> RecursiveAssignmentsTable"""
2964 _IMP_domino.RecursiveAssignmentsTable_swiginit(self, _IMP_domino.new_RecursiveAssignmentsTable(*args))
2966 def get_version_info(self):
2967 r"""get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
2968 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
2969 __swig_destroy__ = _IMP_domino.delete_RecursiveAssignmentsTable
2972 r"""__str__(RecursiveAssignmentsTable self) -> std::string"""
2973 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
2976 r"""__repr__(RecursiveAssignmentsTable self) -> std::string"""
2977 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
2981 return _object_cast_to_RecursiveAssignmentsTable(o)
2985 _IMP_domino.RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
2986 class BranchAndBoundAssignmentsTable(AssignmentsTable):
2987 r"""Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
2989 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2991 def __init__(self, *args):
2992 r"""__init__(BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft=IMP::domino::SubsetFilterTables(), unsigned int max=std::numeric_limits< unsigned int >::max()) -> BranchAndBoundAssignmentsTable"""
2993 _IMP_domino.BranchAndBoundAssignmentsTable_swiginit(self, _IMP_domino.new_BranchAndBoundAssignmentsTable(*args))
2995 def get_version_info(self):
2996 r"""get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
2997 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
2998 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundAssignmentsTable
3001 r"""__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3002 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3005 r"""__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3006 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3010 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3014 _IMP_domino.BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3015 class ListAssignmentsTable(AssignmentsTable):
3016 r"""Proxy of C++ IMP::domino::ListAssignmentsTable class."""
3018 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3020 def __init__(self, *args):
3021 r"""__init__(ListAssignmentsTable self, std::string name="ListAssignmentsTable %1%") -> ListAssignmentsTable"""
3022 _IMP_domino.ListAssignmentsTable_swiginit(self, _IMP_domino.new_ListAssignmentsTable(*args))
3024 def set_assignments(self, s, lsc):
3025 r"""set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3026 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3028 def get_version_info(self):
3029 r"""get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3030 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3031 __swig_destroy__ = _IMP_domino.delete_ListAssignmentsTable
3034 r"""__str__(ListAssignmentsTable self) -> std::string"""
3035 return _IMP_domino.ListAssignmentsTable___str__(self)
3038 r"""__repr__(ListAssignmentsTable self) -> std::string"""
3039 return _IMP_domino.ListAssignmentsTable___repr__(self)
3043 return _object_cast_to_ListAssignmentsTable(o)
3047 _IMP_domino.ListAssignmentsTable_swigregister(ListAssignmentsTable)
3050 r"""get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3051 return _IMP_domino.get_order(s, sft)
3052 class _SubsetGraphVertexIndex(object):
3053 r"""Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
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__(_SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3060 _IMP_domino._SubsetGraphVertexIndex_swiginit(self, _IMP_domino.new__SubsetGraphVertexIndex())
3061 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3064 _IMP_domino._SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3065 class _InteractionGraphVertexIndex(object):
3066 r"""Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3068 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3069 __repr__ = _swig_repr
3072 r"""__init__(_InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3073 _IMP_domino._InteractionGraphVertexIndex_swiginit(self, _IMP_domino.new__InteractionGraphVertexIndex())
3074 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3077 _IMP_domino._InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3080 r"""get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3081 return _IMP_domino.get_subsets(g)
3084 r"""get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3085 return _IMP_domino.get_junction_tree(ig)
3087 def get_triangulated(input):
3088 r"""get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3089 return _IMP_domino.get_triangulated(input)
3090 class _CliqueGraphVertexIndex(object):
3091 r"""Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3093 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3094 __repr__ = _swig_repr
3097 r"""__init__(_CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3098 _IMP_domino._CliqueGraphVertexIndex_swiginit(self, _IMP_domino.new__CliqueGraphVertexIndex())
3099 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3102 _IMP_domino._CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3104 def get_clique_graph(input):
3105 r"""get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3106 return _IMP_domino.get_clique_graph(input)
3108 def get_minimum_spanning_tree(input):
3109 r"""get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3110 return _IMP_domino.get_minimum_spanning_tree(input)
3113 r"""get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3114 return _IMP_domino.get_restraint_graph(rs, pst)
3118 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3119 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3121 return _IMP_domino.get_interaction_graph(*args)
3124 r"""get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3125 return _IMP_domino.get_interaction_graph_geometry(ig)
3128 r"""get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3129 return _IMP_domino.get_subset_graph_geometry(ig)
3130 class _MergeTreeVertexIndex(object):
3131 r"""Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3133 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3134 __repr__ = _swig_repr
3137 r"""__init__(_MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3138 _IMP_domino._MergeTreeVertexIndex_swiginit(self, _IMP_domino.new__MergeTreeVertexIndex())
3139 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3142 _IMP_domino._MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3144 def show_as_graphviz(*args):
3146 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3147 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3148 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3149 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3151 return _IMP_domino.show_as_graphviz(*args)
3153 def get_vertex_index(*args):
3155 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3156 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3157 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3158 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3160 return _IMP_domino.get_vertex_index(*args)
3164 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3165 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3167 return _IMP_domino.get_merge_tree(*args)
3170 r"""get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3171 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3173 def get_is_merge_tree(tree, all, verbose=True):
3174 r"""get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool"""
3175 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3177 def write_merge_tree(tree, ps, out):
3178 r"""write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3179 return _IMP_domino.write_merge_tree(tree, ps, out)
3181 def read_merge_tree(input, ps):
3182 r"""read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3183 return _IMP_domino.read_merge_tree(input, ps)
3185 r"""Proxy of C++ IMP::domino::DiscreteSampler class."""
3187 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3189 def get_subset_filter_tables_to_use(self, rs, pst):
3190 r"""get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3191 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3193 def get_assignments_table_to_use(self, *args):
3194 r"""get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max=std::numeric_limits< int >::max()) -> AssignmentsTable"""
3195 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3197 def do_sample(self):
3198 r"""do_sample(DiscreteSampler self) -> ConfigurationSet"""
3199 return _IMP_domino.DiscreteSampler_do_sample(self)
3201 def do_get_sample_assignments(self, all):
3202 r"""do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3203 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3205 def get_restraints(self):
3206 r"""get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3207 return _IMP_domino.DiscreteSampler_get_restraints(self)
3209 def __init__(self, m, pst, name):
3210 r"""__init__(DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3211 if self.__class__ == DiscreteSampler:
3215 _IMP_domino.DiscreteSampler_swiginit(self, _IMP_domino.new_DiscreteSampler(_self, m, pst, name))
3217 if self.__class__ != DiscreteSampler:
3218 _director_objects.register(self)
3222 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3224 def set_restraints(self, rs):
3225 r"""set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3226 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3228 def set_particle_states(self, p, se):
3229 r"""set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3230 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3232 def get_sample_assignments(self, s):
3233 r"""get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3234 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3236 def set_particle_states_table(self, cse):
3237 r"""set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3238 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3240 def set_assignments_table(self, sst):
3241 r"""set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3242 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3244 def get_particle_states_table(self):
3245 r"""get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3246 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3247 def __get_subset_filter_tables(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_subset_filter_tables, getfunc=self.get_subset_filter_table, erasefunc=self.erase_subset_filter_table, appendfunc=self.add_subset_filter_table, extendfunc=self.add_subset_filter_tables, clearfunc=self.clear_subset_filter_tables, indexfunc=self._python_index_subset_filter_table)
3248 def __set_subset_filter_tables(self, obj): IMP._list_util.set_varlist(self.subset_filter_tables, obj)
3249 def __del_subset_filter_tables(self): IMP._list_util.del_varlist(self.subset_filter_tables)
3250 subset_filter_tables = property(__get_subset_filter_tables, __set_subset_filter_tables, __del_subset_filter_tables, doc=
"List of ##ucnames")
3252 def remove_subset_filter_table(self, d):
3253 r"""remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3254 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3256 def _python_index_subset_filter_table(self, d, start, stop):
3257 r"""_python_index_subset_filter_table(DiscreteSampler self, SubsetFilterTable d, unsigned int start, unsigned int stop) -> unsigned int"""
3258 return _IMP_domino.DiscreteSampler__python_index_subset_filter_table(self, d, start, stop)
3260 def remove_subset_filter_tables(self, d):
3261 r"""remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3262 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3264 def set_subset_filter_tables(self, ps):
3265 r"""set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3266 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3268 def set_subset_filter_tables_order(self, objs):
3269 r"""set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3270 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3272 def add_subset_filter_table(self, obj):
3273 r"""add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3274 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3276 def add_subset_filter_tables(self, objs):
3277 r"""add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3278 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3280 def clear_subset_filter_tables(self):
3281 r"""clear_subset_filter_tables(DiscreteSampler self)"""
3282 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3284 def get_number_of_subset_filter_tables(self):
3285 r"""get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3286 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3288 def get_has_subset_filter_tables(self):
3289 r"""get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3290 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3292 def get_subset_filter_table(self, i):
3293 r"""get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3294 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3296 def get_subset_filter_tables(self):
3297 r"""get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3298 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3300 def erase_subset_filter_table(self, i):
3301 r"""erase_subset_filter_table(DiscreteSampler self, unsigned int i)"""
3302 return _IMP_domino.DiscreteSampler_erase_subset_filter_table(self, i)
3304 def reserve_subset_filter_tables(self, sz):
3305 r"""reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3306 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3308 def set_maximum_number_of_assignments(self, mx):
3309 r"""set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3310 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3312 def get_maximum_number_of_assignments(self):
3313 r"""get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3314 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3317 r"""__str__(DiscreteSampler self) -> std::string"""
3318 return _IMP_domino.DiscreteSampler___str__(self)
3321 r"""__repr__(DiscreteSampler self) -> std::string"""
3322 return _IMP_domino.DiscreteSampler___repr__(self)
3326 return _object_cast_to_DiscreteSampler(o)
3329 def get_type_name(self):
3330 return self.__class__.__name__
3331 def do_show(self, out):
3333 def get_version_info(self):
3334 if"IMP::domino" ==
"IMP":
3335 return VersionInfo(self.__module__,
3342 return _object_cast_to_DiscreteSampler(o)
3344 def __disown__(self):
3346 _IMP_domino.disown_DiscreteSampler(self)
3347 return weakref.proxy(self)
3349 def do_destroy(self):
3350 r"""do_destroy(DiscreteSampler self)"""
3351 return _IMP_domino.DiscreteSampler_do_destroy(self)
3354 _IMP_domino.DiscreteSampler_swigregister(DiscreteSampler)
3355 class DominoSampler(DiscreteSampler):
3356 r"""Proxy of C++ IMP::domino::DominoSampler class."""
3358 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3360 def __init__(self, *args):
3362 __init__(DominoSampler self, Model m, std::string name="DominoSampler %1%") -> DominoSampler
3363 __init__(DominoSampler self, Model m, ParticleStatesTable pst, std::string name="DominoSampler %1%") -> DominoSampler
3365 _IMP_domino.DominoSampler_swiginit(self, _IMP_domino.new_DominoSampler(*args))
3367 def do_get_sample_assignments(self, known):
3368 r"""do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3369 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3371 def get_version_info(self):
3372 r"""get_version_info(DominoSampler self) -> VersionInfo"""
3373 return _IMP_domino.DominoSampler_get_version_info(self)
3374 __swig_destroy__ = _IMP_domino.delete_DominoSampler
3376 def set_merge_tree(self, mt):
3377 r"""set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3378 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3380 def set_use_cross_subset_filtering(self, tf):
3381 r"""set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3382 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3384 def get_number_of_assignments_for_vertex(self, tree_vertex):
3385 r"""get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3386 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3388 def get_sample_assignments_for_vertex(self, tree_vertex):
3389 r"""get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3390 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3392 def get_vertex_assignments(self, *args):
3394 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3395 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second, unsigned int max_states=std::numeric_limits< int >::max()) -> IMP::domino::Assignments
3397 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3399 def load_vertex_assignments(self, *args):
3401 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3402 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states=std::numeric_limits< int >::max())
3404 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3407 r"""__str__(DominoSampler self) -> std::string"""
3408 return _IMP_domino.DominoSampler___str__(self)
3411 r"""__repr__(DominoSampler self) -> std::string"""
3412 return _IMP_domino.DominoSampler___repr__(self)
3416 return _object_cast_to_DominoSampler(o)
3420 _IMP_domino.DominoSampler_swigregister(DominoSampler)
3421 class BranchAndBoundSampler(DiscreteSampler):
3422 r"""Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3424 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3426 def __init__(self, *args):
3428 __init__(BranchAndBoundSampler self, Model m, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3429 __init__(BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name="BranchAndBoundSampler %1%") -> BranchAndBoundSampler
3431 _IMP_domino.BranchAndBoundSampler_swiginit(self, _IMP_domino.new_BranchAndBoundSampler(*args))
3433 def do_get_sample_assignments(self, known):
3434 r"""do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3435 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3437 def get_version_info(self):
3438 r"""get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3439 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3440 __swig_destroy__ = _IMP_domino.delete_BranchAndBoundSampler
3443 r"""__str__(BranchAndBoundSampler self) -> std::string"""
3444 return _IMP_domino.BranchAndBoundSampler___str__(self)
3447 r"""__repr__(BranchAndBoundSampler self) -> std::string"""
3448 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3452 return _object_cast_to_BranchAndBoundSampler(o)
3456 _IMP_domino.BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3459 r"""load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3460 return _IMP_domino.load_particle_states(s, ss, pst)
3462 def get_restraints(s, pst, dg, rs):
3463 r"""get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3464 return _IMP_domino.get_restraints(s, pst, dg, rs)
3466 def get_index(particles, subset, excluded):
3467 r"""get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3468 return _IMP_domino.get_index(particles, subset, excluded)
3471 r"""get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3472 return _IMP_domino.get_partial_index(particles, subset, excluded)
3475 r"""get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3476 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3479 r"""get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3480 return _IMP_domino.get_embedding(s, a, pst)
3483 r"""get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3484 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3487 r"""get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3488 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3491 r"""load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3492 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3495 r"""load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3496 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3499 r"""load_merged_assignments_random_order(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, unsigned int maximum_tries, AssignmentContainer ret)"""
3500 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3503 r"""get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3504 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3506 r"""Proxy of C++ IMP::domino::DependencyScoreState class."""
3508 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3510 def __init__(self, m):
3511 r"""__init__(DependencyScoreState self, Model m) -> DependencyScoreState"""
3512 _IMP_domino.DependencyScoreState_swiginit(self, _IMP_domino.new_DependencyScoreState(m))
3514 def set_input_particles(self, pt):
3515 r"""set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3516 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3518 def set_output_particles(self, pt):
3519 r"""set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3520 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3522 def set_input_containers(self, pt):
3523 r"""set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3524 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3526 def set_output_containers(self, pt):
3527 r"""set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3528 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3530 def get_version_info(self):
3531 r"""get_version_info(DependencyScoreState self) -> VersionInfo"""
3532 return _IMP_domino.DependencyScoreState_get_version_info(self)
3533 __swig_destroy__ = _IMP_domino.delete_DependencyScoreState
3536 r"""__str__(DependencyScoreState self) -> std::string"""
3537 return _IMP_domino.DependencyScoreState___str__(self)
3540 r"""__repr__(DependencyScoreState self) -> std::string"""
3541 return _IMP_domino.DependencyScoreState___repr__(self)
3545 return _object_cast_to_DependencyScoreState(o)
3549 _IMP_domino.DependencyScoreState_swigregister(DependencyScoreState)
3551 def _get_ints_list(input):
3552 r"""_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3553 return _IMP_domino._get_ints_list(input)
3556 r"""get_module_version() -> std::string const"""
3557 return _IMP_domino.get_module_version()
3560 r"""get_example_path(std::string fname) -> std::string"""
3561 return _IMP_domino.get_example_path(fname)
3564 r"""get_data_path(std::string fname) -> std::string"""
3565 return _IMP_domino.get_data_path(fname)
3567 from .
import _version_check
Various classes to hold sets of particles.
Assignments get_state_clusters(const Subset &subset, const Assignments &states, ParticleStatesTable *pst, double resolution)
Return subset of the passed states which are representative.
SubsetGraph get_junction_tree(const InteractionGraph &ig)
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Make CGAL functionality available to IMP.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Assignment get_nearest_assignment(const Subset &s, const algebra::VectorKD &embedding, ParticleStatesTable *pst)
Return the nearest assignment from an embedding.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
Subsets get_subsets(const SubsetGraph &g)
Gets all of the Subsets of a SubsetGraph.
double get_distance_if_smaller_than(const Subset &s, const Assignment &a, const Assignment &b, ParticleStatesTable *pst, const statistics::Metrics &metrics, double max)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Base class for all samplers.
MergeTree get_balanced_merge_tree(const SubsetGraph &junction_tree)
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
ParticlePairsTemp get_possible_interactions(const ParticlesTemp &ps, double max_distance, ParticleStatesTable *pst)
display::Geometries get_subset_graph_geometry(const SubsetGraph &ig)
InteractionGraph get_interaction_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
Code to compute statistical measures.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
MergeTree get_merge_tree(ScoringFunctionAdaptor input, const ParticleStatesTable *pst)
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
ScoreStates maintain invariants in the Model.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Ints get_partial_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
void load_leaf_assignments(const Subset &subset, AssignmentsTable *at, AssignmentContainer *ac)
Fill in assignments for a leaf.
void load_merged_assignments(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, AssignmentContainer *ret)
Fill in assignments for an internal node.
algebra::VectorKD get_embedding(const Subset &s, const Assignment &a, ParticleStatesTable *pst)
Return an embedding for an assignment.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Version and module information for Objects.
Basic utilities for handling cryo-electron microscopy 3D density maps.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
void load_merged_assignments_random_order(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, unsigned int maximum_tries, AssignmentContainer *ret)
Sample from the merged assignments.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string show_graphviz(Graph g)
SubsetGraph get_restraint_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
std::string get_module_version()
Return the version of this module, as a string.
display::Geometries get_interaction_graph_geometry(const InteractionGraph &ig)
void load_particle_states(const Subset &s, const Assignment &ss, const ParticleStatesTable *pst)
Load the appropriate state for each particle in a Subset.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
boost::graph InteractionGraph
Support for the RMF file format for storing hierarchical molecular data and markup.
Support for small angle X-ray scattering (SAXS) data.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
Slice get_slice(Subset outer, Subset inner, const Subsets &excluded)