10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_domino', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_domino', fp, pathname, description)
32 _IMP_domino = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_DOMINO_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
126 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
131 incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
132 incr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
134 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
139 decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
140 decr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
142 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
151 """equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
152 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
156 """copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
157 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
161 """next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
162 return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
166 """__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
167 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
171 """previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
172 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
177 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
182 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
187 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
192 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
197 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
202 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
208 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
214 IMP_DOMINO_SwigPyIterator_swigregister = _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister
215 IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
224 _IMP_domino.IMP_DEBUG_swigconstant(_IMP_domino)
225 IMP_DEBUG = _IMP_domino.IMP_DEBUG
227 _IMP_domino.IMP_RELEASE_swigconstant(_IMP_domino)
228 IMP_RELEASE = _IMP_domino.IMP_RELEASE
230 _IMP_domino.IMP_SILENT_swigconstant(_IMP_domino)
231 IMP_SILENT = _IMP_domino.IMP_SILENT
233 _IMP_domino.IMP_PROGRESS_swigconstant(_IMP_domino)
234 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
236 _IMP_domino.IMP_TERSE_swigconstant(_IMP_domino)
237 IMP_TERSE = _IMP_domino.IMP_TERSE
239 _IMP_domino.IMP_VERBOSE_swigconstant(_IMP_domino)
240 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
242 _IMP_domino.IMP_MEMORY_swigconstant(_IMP_domino)
243 IMP_MEMORY = _IMP_domino.IMP_MEMORY
245 _IMP_domino.IMP_NONE_swigconstant(_IMP_domino)
246 IMP_NONE = _IMP_domino.IMP_NONE
248 _IMP_domino.IMP_USAGE_swigconstant(_IMP_domino)
249 IMP_USAGE = _IMP_domino.IMP_USAGE
251 _IMP_domino.IMP_INTERNAL_swigconstant(_IMP_domino)
252 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
254 _IMP_domino.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_domino)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_domino.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_domino)
258 IMP_COMPILER_HAS_AUTO = _IMP_domino.IMP_COMPILER_HAS_AUTO
260 _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_domino)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_domino.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_domino)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_domino.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_domino)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_domino)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_domino)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_domino.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_domino)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_domino._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_domino._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_domino.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_domino)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_domino.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_domino.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_domino)
328 IMP_COMPILER_HAS_FINAL = _IMP_domino.IMP_COMPILER_HAS_FINAL
330 _IMP_domino.IMP_HAS_NOEXCEPT_swigconstant(_IMP_domino)
331 IMP_HAS_NOEXCEPT = _IMP_domino.IMP_HAS_NOEXCEPT
334 _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_domino.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_domino)
347 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
350 _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_domino)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_domino.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_domino)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
368 _IMP_domino.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_domino)
369 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
371 _IMP_domino.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_domino)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
375 _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_domino)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
378 _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
381 _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
384 _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
387 _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
390 _IMP_domino.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_domino)
391 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
393 _IMP_domino.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_domino)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
397 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_domino)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
400 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
403 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
406 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
409 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
412 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_domino)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
415 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_domino)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
418 _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_domino)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
422 _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_domino)
423 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
425 _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
426 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
428 _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
429 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
431 _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
432 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
434 _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
435 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
437 _IMP_domino.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_domino)
438 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
440 _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_domino)
441 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
444 _IMP_domino.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_domino)
445 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
447 _IMP_domino.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
448 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
450 _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
451 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
453 _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
454 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
456 _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
457 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
459 _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
460 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
462 _IMP_domino.IMP_CORE_HAS_CGAL_swigconstant(_IMP_domino)
463 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
465 _IMP_domino.IMP_CORE_HAS_HDF5_swigconstant(_IMP_domino)
466 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
468 _IMP_domino.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_domino)
469 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
472 _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_domino)
473 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
475 _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_domino)
476 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
478 _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_domino)
479 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
481 _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
482 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
484 _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
485 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
487 _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
488 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
490 _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
491 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
493 _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
494 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
496 _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
497 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
499 _IMP_domino.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_domino)
500 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
502 _IMP_domino.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_domino)
503 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
505 _IMP_domino.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_domino)
506 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
509 _IMP_domino.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_domino)
510 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
512 _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
513 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
515 _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
516 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
518 _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
519 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
521 _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
522 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
524 _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
525 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
527 _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
528 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
530 _IMP_domino.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_domino)
531 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
533 _IMP_domino.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_domino)
534 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
536 _IMP_domino.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_domino)
537 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
539 _IMP_domino.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_domino)
540 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
542 _IMP_domino.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_domino)
543 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
545 _IMP_domino.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_domino)
546 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
549 _IMP_domino.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_domino)
550 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
552 _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
553 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
555 _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
556 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
558 _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
559 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
561 _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
562 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
564 _IMP_domino.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
565 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
567 _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
568 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
570 _IMP_domino.IMP_RMF_HAS_CGAL_swigconstant(_IMP_domino)
571 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
573 _IMP_domino.IMP_RMF_HAS_HDF5_swigconstant(_IMP_domino)
574 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
576 _IMP_domino.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_domino)
577 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
581 _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_domino)
582 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
584 _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_domino)
585 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
587 _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
588 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
590 _IMP_domino.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_domino)
591 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
593 _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
594 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
596 _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
597 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
599 _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
600 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
602 _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
603 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
605 _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
606 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
608 _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
609 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
611 _IMP_domino.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_domino)
612 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
614 _IMP_domino.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_domino)
615 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
617 _IMP_domino.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_domino)
618 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
620 _IMP_domino.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_domino)
621 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
624 _object_types.append(
"DiscreteSampler")
627 def _object_cast_to_DiscreteSampler(o):
628 """_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
629 return _IMP_domino._object_cast_to_DiscreteSampler(o)
631 _object_types.append(
"ParticleStates")
634 def _object_cast_to_ParticleStates(o):
635 """_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
636 return _IMP_domino._object_cast_to_ParticleStates(o)
638 _object_types.append(
"SubsetFilter")
641 def _object_cast_to_SubsetFilter(o):
642 """_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
643 return _IMP_domino._object_cast_to_SubsetFilter(o)
645 _object_types.append(
"SubsetFilterTable")
648 def _object_cast_to_SubsetFilterTable(o):
649 """_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
650 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
652 _object_types.append(
"AssignmentsTable")
655 def _object_cast_to_AssignmentsTable(o):
656 """_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
657 return _IMP_domino._object_cast_to_AssignmentsTable(o)
659 _object_types.append(
"AssignmentContainer")
662 def _object_cast_to_AssignmentContainer(o):
663 """_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
664 return _IMP_domino._object_cast_to_AssignmentContainer(o)
666 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> class."""
668 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
669 __repr__ = _swig_repr
672 """__init__(IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> self) -> InteractionGraph"""
673 this = _IMP_domino.new_InteractionGraph()
675 self.this.append(this)
680 """get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
681 return _IMP_domino.InteractionGraph_get_graph(self)
685 """get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
686 return _IMP_domino.InteractionGraph_get_vertices(self)
689 def get_vertex_name(self, i):
690 """get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
691 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
694 def get_in_neighbors(self, v):
695 """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"""
696 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
699 def get_out_neighbors(self, v):
700 """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"""
701 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
706 show_graphviz(InteractionGraph self, _ostream out)
707 show_graphviz(InteractionGraph self)
709 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
712 def get_graphviz_string(self):
713 """get_graphviz_string(InteractionGraph self) -> std::string"""
714 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
717 def add_edge(self, v0, v1):
718 """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)"""
719 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
722 def add_vertex(self, l):
723 """add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
724 return _IMP_domino.InteractionGraph_add_vertex(self, l)
727 def remove_vertex(self, l):
728 """remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
729 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
731 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
732 __del__ =
lambda self:
None
733 InteractionGraph_swigregister = _IMP_domino.InteractionGraph_swigregister
734 InteractionGraph_swigregister(InteractionGraph)
737 _value_types.append(
"InteractionGraph")
740 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> class."""
742 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
743 __repr__ = _swig_repr
746 """__init__(IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> self) -> SubsetGraph"""
747 this = _IMP_domino.new_SubsetGraph()
749 self.this.append(this)
754 """get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
755 return _IMP_domino.SubsetGraph_get_graph(self)
759 """get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
760 return _IMP_domino.SubsetGraph_get_vertices(self)
763 def get_vertex_name(self, i):
764 """get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
765 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
768 def get_in_neighbors(self, v):
769 """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"""
770 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
773 def get_out_neighbors(self, v):
774 """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"""
775 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
780 show_graphviz(SubsetGraph self, _ostream out)
781 show_graphviz(SubsetGraph self)
783 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
786 def get_graphviz_string(self):
787 """get_graphviz_string(SubsetGraph self) -> std::string"""
788 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
791 def add_edge(self, v0, v1):
792 """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)"""
793 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
796 def add_vertex(self, l):
797 """add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
798 return _IMP_domino.SubsetGraph_add_vertex(self, l)
801 def remove_vertex(self, l):
802 """remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
803 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
805 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
806 __del__ =
lambda self:
None
807 SubsetGraph_swigregister = _IMP_domino.SubsetGraph_swigregister
808 SubsetGraph_swigregister(SubsetGraph)
811 _value_types.append(
"SubsetGraph")
814 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> class."""
816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
817 __repr__ = _swig_repr
820 """__init__(IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> self) -> CliqueGraph"""
821 this = _IMP_domino.new_CliqueGraph()
823 self.this.append(this)
828 """get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
829 return _IMP_domino.CliqueGraph_get_graph(self)
833 """get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
834 return _IMP_domino.CliqueGraph_get_vertices(self)
837 def get_vertex_name(self, i):
838 """get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
839 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
842 def get_in_neighbors(self, v):
843 """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"""
844 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
847 def get_out_neighbors(self, v):
848 """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"""
849 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
854 show_graphviz(CliqueGraph self, _ostream out)
855 show_graphviz(CliqueGraph self)
857 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
860 def get_graphviz_string(self):
861 """get_graphviz_string(CliqueGraph self) -> std::string"""
862 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
865 def add_edge(self, v0, v1):
866 """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)"""
867 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
870 def add_vertex(self, l):
871 """add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
872 return _IMP_domino.CliqueGraph_add_vertex(self, l)
875 def remove_vertex(self, l):
876 """remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
877 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
879 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
880 __del__ =
lambda self:
None
881 CliqueGraph_swigregister = _IMP_domino.CliqueGraph_swigregister
882 CliqueGraph_swigregister(CliqueGraph)
885 _value_types.append(
"CliqueGraph")
888 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> class."""
890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
891 __repr__ = _swig_repr
894 """__init__(IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> self) -> MergeTree"""
895 this = _IMP_domino.new_MergeTree()
897 self.this.append(this)
902 """get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
903 return _IMP_domino.MergeTree_get_graph(self)
907 """get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
908 return _IMP_domino.MergeTree_get_vertices(self)
911 def get_vertex_name(self, i):
912 """get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
913 return _IMP_domino.MergeTree_get_vertex_name(self, i)
916 def get_in_neighbors(self, v):
917 """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"""
918 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
921 def get_out_neighbors(self, v):
922 """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"""
923 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
928 show_graphviz(MergeTree self, _ostream out)
929 show_graphviz(MergeTree self)
931 return _IMP_domino.MergeTree_show_graphviz(self, *args)
934 def get_graphviz_string(self):
935 """get_graphviz_string(MergeTree self) -> std::string"""
936 return _IMP_domino.MergeTree_get_graphviz_string(self)
939 def add_edge(self, v0, v1):
940 """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)"""
941 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
944 def add_vertex(self, l):
945 """add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
946 return _IMP_domino.MergeTree_add_vertex(self, l)
949 def remove_vertex(self, l):
950 """remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
951 return _IMP_domino.MergeTree_remove_vertex(self, l)
953 __swig_destroy__ = _IMP_domino.delete_MergeTree
954 __del__ =
lambda self:
None
955 MergeTree_swigregister = _IMP_domino.MergeTree_swigregister
956 MergeTree_swigregister(MergeTree)
959 _value_types.append(
"MergeTree")
962 _object_types.append(
"BranchAndBoundSampler")
965 def _object_cast_to_BranchAndBoundSampler(o):
966 """_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
967 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
969 _object_types.append(
"BranchAndBoundAssignmentsTable")
972 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
973 """_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
974 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
976 _object_types.append(
"RecursiveAssignmentsTable")
979 def _object_cast_to_RecursiveAssignmentsTable(o):
980 """_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
981 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
983 _object_types.append(
"SimpleAssignmentsTable")
986 def _object_cast_to_SimpleAssignmentsTable(o):
987 """_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
988 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
990 _object_types.append(
"CompoundStates")
993 def _object_cast_to_CompoundStates(o):
994 """_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
995 return _IMP_domino._object_cast_to_CompoundStates(o)
997 _object_types.append(
"DisjointSetsSubsetFilterTable")
1000 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
1001 """_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
1002 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
1004 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
1007 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
1008 """_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
1009 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
1011 _object_types.append(
"DominoSampler")
1014 def _object_cast_to_DominoSampler(o):
1015 """_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
1016 return _IMP_domino._object_cast_to_DominoSampler(o)
1018 _object_types.append(
"EqualitySubsetFilterTable")
1021 def _object_cast_to_EqualitySubsetFilterTable(o):
1022 """_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
1023 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
1025 _object_types.append(
"EquivalenceSubsetFilterTable")
1028 def _object_cast_to_EquivalenceSubsetFilterTable(o):
1029 """_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
1030 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
1032 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
1035 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
1036 """_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
1037 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
1039 _object_types.append(
"ExclusionSubsetFilterTable")
1042 def _object_cast_to_ExclusionSubsetFilterTable(o):
1043 """_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
1044 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
1046 _object_types.append(
"IndexStates")
1049 def _object_cast_to_IndexStates(o):
1050 """_object_cast_to_IndexStates(Object o) -> IndexStates"""
1051 return _IMP_domino._object_cast_to_IndexStates(o)
1053 _object_types.append(
"ListSubsetFilterTable")
1056 def _object_cast_to_ListSubsetFilterTable(o):
1057 """_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
1058 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
1060 _object_types.append(
"ListAssignmentsTable")
1063 def _object_cast_to_ListAssignmentsTable(o):
1064 """_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
1065 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
1067 _object_types.append(
"ParticleStatesTable")
1070 def _object_cast_to_ParticleStatesTable(o):
1071 """_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
1072 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
1074 _object_types.append(
"RecursiveStates")
1077 def _object_cast_to_RecursiveStates(o):
1078 """_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
1079 return _IMP_domino._object_cast_to_RecursiveStates(o)
1081 _object_types.append(
"ProbabilisticSubsetFilterTable")
1084 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
1085 """_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
1086 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
1088 _object_types.append(
"RestraintScoreSubsetFilterTable")
1091 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
1092 """_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
1093 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
1095 _object_types.append(
"RigidBodyStates")
1098 def _object_cast_to_RigidBodyStates(o):
1099 """_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
1100 return _IMP_domino._object_cast_to_RigidBodyStates(o)
1102 _object_types.append(
"XYZStates")
1105 def _object_cast_to_XYZStates(o):
1106 """_object_cast_to_XYZStates(Object o) -> XYZStates"""
1107 return _IMP_domino._object_cast_to_XYZStates(o)
1109 _object_types.append(
"NestedRigidBodyStates")
1112 def _object_cast_to_NestedRigidBodyStates(o):
1113 """_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
1114 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
1116 _object_types.append(
"DependencyScoreState")
1119 def _object_cast_to_DependencyScoreState(o):
1120 """_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
1121 return _IMP_domino._object_cast_to_DependencyScoreState(o)
1123 _object_types.append(
"PairListSubsetFilterTable")
1126 def _object_cast_to_PairListSubsetFilterTable(o):
1127 """_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
1128 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
1130 _object_types.append(
"ListAssignmentContainer")
1133 def _object_cast_to_ListAssignmentContainer(o):
1134 """_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
1135 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
1137 _object_types.append(
"PackedAssignmentContainer")
1140 def _object_cast_to_PackedAssignmentContainer(o):
1141 """_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
1142 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
1144 _object_types.append(
"HeapAssignmentContainer")
1147 def _object_cast_to_HeapAssignmentContainer(o):
1148 """_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
1149 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
1151 _object_types.append(
"RangeViewAssignmentContainer")
1154 def _object_cast_to_RangeViewAssignmentContainer(o):
1155 """_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
1156 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
1158 _object_types.append(
"SampleAssignmentContainer")
1161 def _object_cast_to_SampleAssignmentContainer(o):
1162 """_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1163 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1165 _object_types.append(
"PermutationStates")
1168 def _object_cast_to_PermutationStates(o):
1169 """_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1170 return _IMP_domino._object_cast_to_PermutationStates(o)
1172 _object_types.append(
"WriteHDF5AssignmentContainer")
1175 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1176 """_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1177 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1179 _object_types.append(
"ReadHDF5AssignmentContainer")
1182 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1183 """_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1184 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1186 _object_types.append(
"ReadAssignmentContainer")
1189 def _object_cast_to_ReadAssignmentContainer(o):
1190 """_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1191 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1193 _object_types.append(
"WriteAssignmentContainer")
1196 def _object_cast_to_WriteAssignmentContainer(o):
1197 """_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1198 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1200 _object_types.append(
"CappedAssignmentContainer")
1203 def _object_cast_to_CappedAssignmentContainer(o):
1204 """_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1205 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1207 _object_types.append(
"RestraintCache")
1210 def _object_cast_to_RestraintCache(o):
1211 """_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1212 return _IMP_domino._object_cast_to_RestraintCache(o)
1215 _plural_types.append(
"Subsets")
1216 _value_types.append(
"Subset")
1220 _plural_types.append(
"Assignments")
1221 _value_types.append(
"Assignment")
1225 _plural_types.append(
"Slices")
1226 _value_types.append(
"Slice")
1230 _plural_types.append(
"Orders")
1231 _value_types.append(
"Order")
1233 class _IntArray(IMP._Value):
1234 """Proxy of C++ IMP::ConstVector<(int)> class."""
1236 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1237 __repr__ = _swig_repr
1238 __swig_destroy__ = _IMP_domino.delete__IntArray
1239 __del__ =
lambda self:
None
1241 def __init__(self, *args):
1243 __init__(IMP::ConstVector<(int)> self, unsigned int sz, int fill) -> _IntArray
1244 __init__(IMP::ConstVector<(int)> self) -> _IntArray
1246 this = _IMP_domino.new__IntArray(*args)
1248 self.this.append(this)
1252 def __cmp__(self, o):
1253 """__cmp__(_IntArray self, _IntArray o) -> int"""
1254 return _IMP_domino._IntArray___cmp__(self, o)
1257 def __eq__(self, o):
1258 """__eq__(_IntArray self, _IntArray o) -> bool"""
1259 return _IMP_domino._IntArray___eq__(self, o)
1262 def __ne__(self, o):
1263 """__ne__(_IntArray self, _IntArray o) -> bool"""
1264 return _IMP_domino._IntArray___ne__(self, o)
1267 def __lt__(self, o):
1268 """__lt__(_IntArray self, _IntArray o) -> bool"""
1269 return _IMP_domino._IntArray___lt__(self, o)
1272 def __gt__(self, o):
1273 """__gt__(_IntArray self, _IntArray o) -> bool"""
1274 return _IMP_domino._IntArray___gt__(self, o)
1277 def __ge__(self, o):
1278 """__ge__(_IntArray self, _IntArray o) -> bool"""
1279 return _IMP_domino._IntArray___ge__(self, o)
1282 def __le__(self, o):
1283 """__le__(_IntArray self, _IntArray o) -> bool"""
1284 return _IMP_domino._IntArray___le__(self, o)
1287 def __getitem__(self, i):
1288 """__getitem__(_IntArray self, unsigned int i) -> int"""
1289 return _IMP_domino._IntArray___getitem__(self, i)
1293 """__len__(_IntArray self) -> unsigned int"""
1294 return _IMP_domino._IntArray___len__(self)
1297 def show(self, *args):
1299 show(_IntArray self, _ostream out)
1300 show(_IntArray self)
1302 return _IMP_domino._IntArray_show(self, *args)
1306 """__hash__(_IntArray self) -> std::size_t"""
1307 return _IMP_domino._IntArray___hash__(self)
1309 _IntArray_swigregister = _IMP_domino._IntArray_swigregister
1310 _IntArray_swigregister(_IntArray)
1312 class _UIntArray(IMP._Value):
1313 """Proxy of C++ IMP::ConstVector<(unsigned int)> class."""
1315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1316 __repr__ = _swig_repr
1317 __swig_destroy__ = _IMP_domino.delete__UIntArray
1318 __del__ =
lambda self:
None
1320 def __init__(self, *args):
1322 __init__(IMP::ConstVector<(unsigned int)> self, unsigned int sz, unsigned int fill) -> _UIntArray
1323 __init__(IMP::ConstVector<(unsigned int)> self) -> _UIntArray
1325 this = _IMP_domino.new__UIntArray(*args)
1327 self.this.append(this)
1331 def __cmp__(self, o):
1332 """__cmp__(_UIntArray self, _UIntArray o) -> int"""
1333 return _IMP_domino._UIntArray___cmp__(self, o)
1336 def __eq__(self, o):
1337 """__eq__(_UIntArray self, _UIntArray o) -> bool"""
1338 return _IMP_domino._UIntArray___eq__(self, o)
1341 def __ne__(self, o):
1342 """__ne__(_UIntArray self, _UIntArray o) -> bool"""
1343 return _IMP_domino._UIntArray___ne__(self, o)
1346 def __lt__(self, o):
1347 """__lt__(_UIntArray self, _UIntArray o) -> bool"""
1348 return _IMP_domino._UIntArray___lt__(self, o)
1351 def __gt__(self, o):
1352 """__gt__(_UIntArray self, _UIntArray o) -> bool"""
1353 return _IMP_domino._UIntArray___gt__(self, o)
1356 def __ge__(self, o):
1357 """__ge__(_UIntArray self, _UIntArray o) -> bool"""
1358 return _IMP_domino._UIntArray___ge__(self, o)
1361 def __le__(self, o):
1362 """__le__(_UIntArray self, _UIntArray o) -> bool"""
1363 return _IMP_domino._UIntArray___le__(self, o)
1366 def __getitem__(self, i):
1367 """__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1368 return _IMP_domino._UIntArray___getitem__(self, i)
1372 """__len__(_UIntArray self) -> unsigned int"""
1373 return _IMP_domino._UIntArray___len__(self)
1376 def show(self, *args):
1378 show(_UIntArray self, _ostream out)
1379 show(_UIntArray self)
1381 return _IMP_domino._UIntArray_show(self, *args)
1385 """__hash__(_UIntArray self) -> std::size_t"""
1386 return _IMP_domino._UIntArray___hash__(self)
1388 _UIntArray_swigregister = _IMP_domino._UIntArray_swigregister
1389 _UIntArray_swigregister(_UIntArray)
1391 class _ParticleArray(IMP._Value):
1392 """Proxy of C++ IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> class."""
1394 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1395 __repr__ = _swig_repr
1396 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1397 __del__ =
lambda self:
None
1399 def __init__(self, *args):
1401 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1402 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self) -> _ParticleArray
1404 this = _IMP_domino.new__ParticleArray(*args)
1406 self.this.append(this)
1410 def __cmp__(self, o):
1411 """__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1412 return _IMP_domino._ParticleArray___cmp__(self, o)
1415 def __eq__(self, o):
1416 """__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1417 return _IMP_domino._ParticleArray___eq__(self, o)
1420 def __ne__(self, o):
1421 """__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1422 return _IMP_domino._ParticleArray___ne__(self, o)
1425 def __lt__(self, o):
1426 """__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1427 return _IMP_domino._ParticleArray___lt__(self, o)
1430 def __gt__(self, o):
1431 """__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1432 return _IMP_domino._ParticleArray___gt__(self, o)
1435 def __ge__(self, o):
1436 """__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1437 return _IMP_domino._ParticleArray___ge__(self, o)
1440 def __le__(self, o):
1441 """__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1442 return _IMP_domino._ParticleArray___le__(self, o)
1445 def __getitem__(self, i):
1446 """__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1447 return _IMP_domino._ParticleArray___getitem__(self, i)
1451 """__len__(_ParticleArray self) -> unsigned int"""
1452 return _IMP_domino._ParticleArray___len__(self)
1455 def show(self, *args):
1457 show(_ParticleArray self, _ostream out)
1458 show(_ParticleArray self)
1460 return _IMP_domino._ParticleArray_show(self, *args)
1464 """__hash__(_ParticleArray self) -> std::size_t"""
1465 return _IMP_domino._ParticleArray___hash__(self)
1467 _ParticleArray_swigregister = _IMP_domino._ParticleArray_swigregister
1468 _ParticleArray_swigregister(_ParticleArray)
1470 class Subset(_ParticleArray):
1471 """Proxy of C++ IMP::domino::Subset class."""
1473 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1475 def __init__(self, *args):
1477 __init__(IMP::domino::Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1478 __init__(IMP::domino::Subset self) -> Subset
1479 __init__(IMP::domino::Subset self, IMP::ParticlesTemp ps) -> Subset
1481 this = _IMP_domino.new_Subset(*args)
1483 self.this.append(this)
1487 def get_model(self):
1488 """get_model(Subset self) -> Model"""
1489 return _IMP_domino.Subset_get_model(self)
1493 """get_name(Subset self) -> std::string"""
1494 return _IMP_domino.Subset_get_name(self)
1497 def get_contains(self, o):
1498 """get_contains(Subset self, Subset o) -> bool"""
1499 return _IMP_domino.Subset_get_contains(self, o)
1503 """__str__(Subset self) -> std::string"""
1504 return _IMP_domino.Subset___str__(self)
1508 """__repr__(Subset self) -> std::string"""
1509 return _IMP_domino.Subset___repr__(self)
1511 __swig_destroy__ = _IMP_domino.delete_Subset
1512 __del__ =
lambda self:
None
1513 Subset_swigregister = _IMP_domino.Subset_swigregister
1514 Subset_swigregister(Subset)
1518 """get_union(Subset a, Subset b) -> Subset"""
1519 return _IMP_domino.get_union(a, b)
1522 """get_intersection(Subset a, Subset b) -> Subset"""
1523 return _IMP_domino.get_intersection(a, b)
1525 def get_difference(a, b):
1526 """get_difference(Subset a, Subset b) -> Subset"""
1527 return _IMP_domino.get_difference(a, b)
1528 class Assignment(_IntArray):
1529 """Proxy of C++ IMP::domino::Assignment class."""
1531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1533 def __init__(self, *args):
1535 __init__(IMP::domino::Assignment self) -> Assignment
1536 __init__(IMP::domino::Assignment self, unsigned int sz) -> Assignment
1537 __init__(IMP::domino::Assignment self, IMP::Ints const & i) -> Assignment
1539 this = _IMP_domino.new_Assignment(*args)
1541 self.this.append(this)
1546 """__str__(Assignment self) -> std::string"""
1547 return _IMP_domino.Assignment___str__(self)
1551 """__repr__(Assignment self) -> std::string"""
1552 return _IMP_domino.Assignment___repr__(self)
1554 __swig_destroy__ = _IMP_domino.delete_Assignment
1555 __del__ =
lambda self:
None
1556 Assignment_swigregister = _IMP_domino.Assignment_swigregister
1557 Assignment_swigregister(Assignment)
1559 class Slice(_UIntArray):
1560 """Proxy of C++ IMP::domino::Slice class."""
1562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1564 def __init__(self, *args):
1566 __init__(IMP::domino::Slice self) -> Slice
1567 __init__(IMP::domino::Slice self, Subset outer, Subset inner) -> Slice
1569 this = _IMP_domino.new_Slice(*args)
1571 self.this.append(this)
1575 def get_sliced(self, *args):
1577 get_sliced(Slice self, Assignment a) -> Assignment
1578 get_sliced(Slice self, Subset a) -> Subset
1580 return _IMP_domino.Slice_get_sliced(self, *args)
1584 """__str__(Slice self) -> std::string"""
1585 return _IMP_domino.Slice___str__(self)
1589 """__repr__(Slice self) -> std::string"""
1590 return _IMP_domino.Slice___repr__(self)
1592 __swig_destroy__ = _IMP_domino.delete_Slice
1593 __del__ =
lambda self:
None
1594 Slice_swigregister = _IMP_domino.Slice_swigregister
1595 Slice_swigregister(Slice)
1599 """get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1600 return _IMP_domino.get_slice(outer, inner, excluded)
1601 class Order(_UIntArray):
1602 """Proxy of C++ IMP::domino::Order class."""
1604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1606 def __init__(self, *args):
1608 __init__(IMP::domino::Order self) -> Order
1609 __init__(IMP::domino::Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1611 this = _IMP_domino.new_Order(*args)
1613 self.this.append(this)
1617 def get_list_ordered(self, a):
1618 """get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1619 return _IMP_domino.Order_get_list_ordered(self, a)
1622 def get_subset_ordered(self, a):
1623 """get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1624 return _IMP_domino.Order_get_subset_ordered(self, a)
1628 """__str__(Order self) -> std::string"""
1629 return _IMP_domino.Order___str__(self)
1633 """__repr__(Order self) -> std::string"""
1634 return _IMP_domino.Order___repr__(self)
1636 __swig_destroy__ = _IMP_domino.delete_Order
1637 __del__ =
lambda self:
None
1638 Order_swigregister = _IMP_domino.Order_swigregister
1639 Order_swigregister(Order)
1642 """Proxy of C++ IMP::domino::ParticleStates class."""
1644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1646 def __init__(self, *args):
1648 __init__(IMP::domino::ParticleStates self, std::string name) -> ParticleStates
1649 __init__(IMP::domino::ParticleStates self) -> ParticleStates
1651 if self.__class__ == ParticleStates:
1655 this = _IMP_domino.new_ParticleStates(_self, *args)
1657 self.this.append(this)
1661 if self.__class__ != ParticleStates:
1662 _director_objects.register(self)
1667 def get_number_of_particle_states(self):
1668 """get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1669 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1672 def load_particle_state(self, arg0, arg1):
1673 """load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1674 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1678 """get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1679 return _IMP_domino.ParticleStates_get_embedding(self, i)
1682 def get_nearest_state(self, v):
1683 """get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1684 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1686 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1687 __del__ =
lambda self:
None
1690 """__str__(ParticleStates self) -> std::string"""
1691 return _IMP_domino.ParticleStates___str__(self)
1695 """__repr__(ParticleStates self) -> std::string"""
1696 return _IMP_domino.ParticleStates___repr__(self)
1701 return _object_cast_to_ParticleStates(o)
1704 def get_type_name(self):
1705 return self.__class__.__name__
1706 def do_show(self, out):
1708 def get_version_info(self):
1709 if"IMP::domino" ==
"IMP":
1710 return VersionInfo(self.__module__,
1711 __import__(self.__module__).get_module_version())
1714 __import__(self.__module__).get_module_version())
1717 return _object_cast_to_ParticleStates(o)
1719 def __disown__(self):
1721 _IMP_domino.disown_ParticleStates(self)
1722 return weakref_proxy(self)
1724 def do_destroy(self):
1725 """do_destroy(ParticleStates self)"""
1726 return _IMP_domino.ParticleStates_do_destroy(self)
1728 ParticleStates_swigregister = _IMP_domino.ParticleStates_swigregister
1729 ParticleStates_swigregister(ParticleStates)
1732 """Proxy of C++ IMP::domino::ParticleStatesTable class."""
1734 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1737 """__init__(IMP::domino::ParticleStatesTable self) -> ParticleStatesTable"""
1738 this = _IMP_domino.new_ParticleStatesTable()
1740 self.this.append(this)
1744 def get_particle_states(self, p):
1745 """get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1746 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1749 def get_has_particle(self, p):
1750 """get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1751 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1755 """get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1756 return _IMP_domino.ParticleStatesTable_get_particles(self)
1759 def get_subset(self):
1760 """get_subset(ParticleStatesTable self) -> Subset"""
1761 return _IMP_domino.ParticleStatesTable_get_subset(self)
1764 def set_particle_states(self, p, e):
1765 """set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1766 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1769 def get_version_info(self):
1770 """get_version_info(ParticleStatesTable self) -> VersionInfo"""
1771 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1775 """__str__(ParticleStatesTable self) -> std::string"""
1776 return _IMP_domino.ParticleStatesTable___str__(self)
1780 """__repr__(ParticleStatesTable self) -> std::string"""
1781 return _IMP_domino.ParticleStatesTable___repr__(self)
1786 return _object_cast_to_ParticleStatesTable(o)
1788 ParticleStatesTable_swigregister = _IMP_domino.ParticleStatesTable_swigregister
1789 ParticleStatesTable_swigregister(ParticleStatesTable)
1791 class IndexStates(ParticleStates):
1792 """Proxy of C++ IMP::domino::IndexStates class."""
1794 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1796 def __init__(self, *args):
1798 __init__(IMP::domino::IndexStates self, unsigned int n, IntKey k) -> IndexStates
1799 __init__(IMP::domino::IndexStates self, unsigned int n) -> IndexStates
1801 this = _IMP_domino.new_IndexStates(*args)
1803 self.this.append(this)
1807 def get_version_info(self):
1808 """get_version_info(IndexStates self) -> VersionInfo"""
1809 return _IMP_domino.IndexStates_get_version_info(self)
1813 """__str__(IndexStates self) -> std::string"""
1814 return _IMP_domino.IndexStates___str__(self)
1818 """__repr__(IndexStates self) -> std::string"""
1819 return _IMP_domino.IndexStates___repr__(self)
1824 return _object_cast_to_IndexStates(o)
1826 IndexStates_swigregister = _IMP_domino.IndexStates_swigregister
1827 IndexStates_swigregister(IndexStates)
1829 class XYZStates(ParticleStates):
1830 """Proxy of C++ IMP::domino::XYZStates class."""
1832 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1834 def __init__(self, states):
1835 """__init__(IMP::domino::XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1836 this = _IMP_domino.new_XYZStates(states)
1838 self.this.append(this)
1842 def get_vector(self, i):
1843 """get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1844 return _IMP_domino.XYZStates_get_vector(self, i)
1847 def get_version_info(self):
1848 """get_version_info(XYZStates self) -> VersionInfo"""
1849 return _IMP_domino.XYZStates_get_version_info(self)
1853 """__str__(XYZStates self) -> std::string"""
1854 return _IMP_domino.XYZStates___str__(self)
1858 """__repr__(XYZStates self) -> std::string"""
1859 return _IMP_domino.XYZStates___repr__(self)
1864 return _object_cast_to_XYZStates(o)
1866 XYZStates_swigregister = _IMP_domino.XYZStates_swigregister
1867 XYZStates_swigregister(XYZStates)
1869 class RigidBodyStates(ParticleStates):
1870 """Proxy of C++ IMP::domino::RigidBodyStates class."""
1872 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1874 def __init__(self, states, scale=1):
1876 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates
1877 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states) -> RigidBodyStates
1879 this = _IMP_domino.new_RigidBodyStates(states, scale)
1881 self.this.append(this)
1885 def get_reference_frame(self, i):
1886 """get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1887 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1890 def get_version_info(self):
1891 """get_version_info(RigidBodyStates self) -> VersionInfo"""
1892 return _IMP_domino.RigidBodyStates_get_version_info(self)
1896 """__str__(RigidBodyStates self) -> std::string"""
1897 return _IMP_domino.RigidBodyStates___str__(self)
1901 """__repr__(RigidBodyStates self) -> std::string"""
1902 return _IMP_domino.RigidBodyStates___repr__(self)
1907 return _object_cast_to_RigidBodyStates(o)
1909 RigidBodyStates_swigregister = _IMP_domino.RigidBodyStates_swigregister
1910 RigidBodyStates_swigregister(RigidBodyStates)
1912 class NestedRigidBodyStates(ParticleStates):
1913 """Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1917 def __init__(self, states, scale=100):
1919 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates
1920 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states) -> NestedRigidBodyStates
1922 this = _IMP_domino.new_NestedRigidBodyStates(states, scale)
1924 self.this.append(this)
1928 def get_transformation(self, i):
1929 """get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1930 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1933 def get_version_info(self):
1934 """get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1935 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1939 """__str__(NestedRigidBodyStates self) -> std::string"""
1940 return _IMP_domino.NestedRigidBodyStates___str__(self)
1944 """__repr__(NestedRigidBodyStates self) -> std::string"""
1945 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1950 return _object_cast_to_NestedRigidBodyStates(o)
1952 NestedRigidBodyStates_swigregister = _IMP_domino.NestedRigidBodyStates_swigregister
1953 NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1955 class CompoundStates(ParticleStates):
1956 """Proxy of C++ IMP::domino::CompoundStates class."""
1958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1960 def __init__(self, a, b):
1961 """__init__(IMP::domino::CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1962 this = _IMP_domino.new_CompoundStates(a, b)
1964 self.this.append(this)
1968 def get_version_info(self):
1969 """get_version_info(CompoundStates self) -> VersionInfo"""
1970 return _IMP_domino.CompoundStates_get_version_info(self)
1974 """__str__(CompoundStates self) -> std::string"""
1975 return _IMP_domino.CompoundStates___str__(self)
1979 """__repr__(CompoundStates self) -> std::string"""
1980 return _IMP_domino.CompoundStates___repr__(self)
1985 return _object_cast_to_CompoundStates(o)
1987 CompoundStates_swigregister = _IMP_domino.CompoundStates_swigregister
1988 CompoundStates_swigregister(CompoundStates)
1990 class RecursiveStates(ParticleStates):
1991 """Proxy of C++ IMP::domino::RecursiveStates class."""
1993 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1995 def __init__(self, p, s, ss, pst):
1996 """__init__(IMP::domino::RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1997 this = _IMP_domino.new_RecursiveStates(p, s, ss, pst)
1999 self.this.append(this)
2003 def get_version_info(self):
2004 """get_version_info(RecursiveStates self) -> VersionInfo"""
2005 return _IMP_domino.RecursiveStates_get_version_info(self)
2009 """__str__(RecursiveStates self) -> std::string"""
2010 return _IMP_domino.RecursiveStates___str__(self)
2014 """__repr__(RecursiveStates self) -> std::string"""
2015 return _IMP_domino.RecursiveStates___repr__(self)
2020 return _object_cast_to_RecursiveStates(o)
2022 RecursiveStates_swigregister = _IMP_domino.RecursiveStates_swigregister
2023 RecursiveStates_swigregister(RecursiveStates)
2025 class PermutationStates(ParticleStates):
2026 """Proxy of C++ IMP::domino::PermutationStates class."""
2028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2030 def __init__(self, inner):
2031 """__init__(IMP::domino::PermutationStates self, ParticleStates inner) -> PermutationStates"""
2032 this = _IMP_domino.new_PermutationStates(inner)
2034 self.this.append(this)
2038 def get_inner_state(self, i):
2039 """get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
2040 return _IMP_domino.PermutationStates_get_inner_state(self, i)
2043 def get_version_info(self):
2044 """get_version_info(PermutationStates self) -> VersionInfo"""
2045 return _IMP_domino.PermutationStates_get_version_info(self)
2049 """__str__(PermutationStates self) -> std::string"""
2050 return _IMP_domino.PermutationStates___str__(self)
2054 """__repr__(PermutationStates self) -> std::string"""
2055 return _IMP_domino.PermutationStates___repr__(self)
2060 return _object_cast_to_PermutationStates(o)
2062 PermutationStates_swigregister = _IMP_domino.PermutationStates_swigregister
2063 PermutationStates_swigregister(PermutationStates)
2065 class _ParticlesAdaptor(IMP._InputAdaptor):
2066 """Proxy of C++ IMP::domino::ParticlesAdaptor class."""
2068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2069 __repr__ = _swig_repr
2071 def __init__(self, *args):
2073 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
2074 __init__(IMP::domino::ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
2076 this = _IMP_domino.new__ParticlesAdaptor(*args)
2078 self.this.append(this)
2081 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
2082 __del__ =
lambda self:
None
2083 _ParticlesAdaptor_swigregister = _IMP_domino._ParticlesAdaptor_swigregister
2084 _ParticlesAdaptor_swigregister(_ParticlesAdaptor)
2087 """Proxy of C++ IMP::domino::RestraintCache class."""
2089 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2091 def __init__(self, *args):
2093 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst, unsigned int size) -> RestraintCache
2094 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst) -> RestraintCache
2096 this = _IMP_domino.new_RestraintCache(*args)
2098 self.this.append(this)
2103 """add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
2104 return _IMP_domino.RestraintCache_add_restraints(self, rs)
2107 def get_score(self, *args):
2109 get_score(RestraintCache self, Restraint r, Assignment a) -> double
2110 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
2112 return _IMP_domino.RestraintCache_get_score(self, *args)
2115 def load_last_score(self, r, s, a):
2116 """load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
2117 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
2120 def get_restraints(self, *args):
2122 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
2123 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
2125 return _IMP_domino.RestraintCache_get_restraints(self, *args)
2128 def save_cache(self, particle_ordering, restraints, group, max_entries):
2129 """save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
2130 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
2133 def load_cache(self, ps, group):
2134 """load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
2135 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
2139 """get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
2140 return _IMP_domino.RestraintCache_get_slice(self, r, s)
2143 def get_number_of_entries(self):
2144 """get_number_of_entries(RestraintCache self) -> unsigned int"""
2145 return _IMP_domino.RestraintCache_get_number_of_entries(self)
2149 """validate(RestraintCache self)"""
2150 return _IMP_domino.RestraintCache_validate(self)
2153 def show_restraint_information(self, *args):
2155 show_restraint_information(RestraintCache self, _ostream out)
2156 show_restraint_information(RestraintCache self)
2158 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
2161 def get_hit_rate(self):
2162 """get_hit_rate(RestraintCache self) -> double"""
2163 return _IMP_domino.RestraintCache_get_hit_rate(self)
2166 def get_version_info(self):
2167 """get_version_info(RestraintCache self) -> VersionInfo"""
2168 return _IMP_domino.RestraintCache_get_version_info(self)
2172 """__str__(RestraintCache self) -> std::string"""
2173 return _IMP_domino.RestraintCache___str__(self)
2177 """__repr__(RestraintCache self) -> std::string"""
2178 return _IMP_domino.RestraintCache___repr__(self)
2183 return _object_cast_to_RestraintCache(o)
2185 RestraintCache_swigregister = _IMP_domino.RestraintCache_swigregister
2186 RestraintCache_swigregister(RestraintCache)
2189 """Proxy of C++ IMP::domino::SubsetFilter class."""
2191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2193 def __init__(self, *args):
2195 __init__(IMP::domino::SubsetFilter self, std::string name) -> SubsetFilter
2196 __init__(IMP::domino::SubsetFilter self) -> SubsetFilter
2198 if self.__class__ == SubsetFilter:
2202 this = _IMP_domino.new_SubsetFilter(_self, *args)
2204 self.this.append(this)
2208 if self.__class__ != SubsetFilter:
2209 _director_objects.register(self)
2214 def get_is_ok(self, state):
2215 """get_is_ok(SubsetFilter self, Assignment state) -> bool"""
2216 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
2219 def get_next_state(self, pos, state):
2220 """get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
2221 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
2223 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
2224 __del__ =
lambda self:
None
2227 """__str__(SubsetFilter self) -> std::string"""
2228 return _IMP_domino.SubsetFilter___str__(self)
2232 """__repr__(SubsetFilter self) -> std::string"""
2233 return _IMP_domino.SubsetFilter___repr__(self)
2238 return _object_cast_to_SubsetFilter(o)
2241 def get_type_name(self):
2242 return self.__class__.__name__
2243 def do_show(self, out):
2245 def get_version_info(self):
2246 if"IMP::domino" ==
"IMP":
2247 return VersionInfo(self.__module__,
2248 __import__(self.__module__).get_module_version())
2251 __import__(self.__module__).get_module_version())
2254 return _object_cast_to_SubsetFilter(o)
2256 def __disown__(self):
2258 _IMP_domino.disown_SubsetFilter(self)
2259 return weakref_proxy(self)
2261 def do_destroy(self):
2262 """do_destroy(SubsetFilter self)"""
2263 return _IMP_domino.SubsetFilter_do_destroy(self)
2265 SubsetFilter_swigregister = _IMP_domino.SubsetFilter_swigregister
2266 SubsetFilter_swigregister(SubsetFilter)
2269 """Proxy of C++ IMP::domino::SubsetFilterTable class."""
2271 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2273 def __init__(self, *args):
2275 __init__(IMP::domino::SubsetFilterTable self, std::string name) -> SubsetFilterTable
2276 __init__(IMP::domino::SubsetFilterTable self) -> SubsetFilterTable
2278 if self.__class__ == SubsetFilterTable:
2282 this = _IMP_domino.new_SubsetFilterTable(_self, *args)
2284 self.this.append(this)
2288 if self.__class__ != SubsetFilterTable:
2289 _director_objects.register(self)
2294 def get_subset_filter(self, s, prior_subsets):
2295 """get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2296 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2299 def get_strength(self, s, prior_subsets):
2300 """get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2301 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2303 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2304 __del__ =
lambda self:
None
2307 """__str__(SubsetFilterTable self) -> std::string"""
2308 return _IMP_domino.SubsetFilterTable___str__(self)
2312 """__repr__(SubsetFilterTable self) -> std::string"""
2313 return _IMP_domino.SubsetFilterTable___repr__(self)
2318 return _object_cast_to_SubsetFilterTable(o)
2321 def get_type_name(self):
2322 return self.__class__.__name__
2323 def do_show(self, out):
2325 def get_version_info(self):
2326 if"IMP::domino" ==
"IMP":
2327 return VersionInfo(self.__module__,
2328 __import__(self.__module__).get_module_version())
2331 __import__(self.__module__).get_module_version())
2334 return _object_cast_to_SubsetFilterTable(o)
2336 def __disown__(self):
2338 _IMP_domino.disown_SubsetFilterTable(self)
2339 return weakref_proxy(self)
2341 def do_destroy(self):
2342 """do_destroy(SubsetFilterTable self)"""
2343 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2345 SubsetFilterTable_swigregister = _IMP_domino.SubsetFilterTable_swigregister
2346 SubsetFilterTable_swigregister(SubsetFilterTable)
2348 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2349 """Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2353 def __init__(self, *args):
2355 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2356 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2358 this = _IMP_domino.new_RestraintScoreSubsetFilterTable(*args)
2360 self.this.append(this)
2364 def get_version_info(self):
2365 """get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2366 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2370 """__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2371 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2375 """__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2376 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2381 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2383 RestraintScoreSubsetFilterTable_swigregister = _IMP_domino.RestraintScoreSubsetFilterTable_swigregister
2384 RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2386 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2387 """Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2391 def __init__(self, rs, rc, max_number_allowed_violations):
2392 """__init__(IMP::domino::MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2393 this = _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations)
2395 self.this.append(this)
2399 def get_maximum_number_of_violated_restraints(self):
2400 """get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2401 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2404 def get_version_info(self):
2405 """get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2406 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2410 """__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2411 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2415 """__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2416 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2421 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2423 MinimumRestraintScoreSubsetFilterTable_swigregister = _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister
2424 MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2426 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2427 """Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2429 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2431 def __init__(self, *args, **kwargs):
2432 raise AttributeError(
"No constructor defined - class is abstract")
2434 def add_set(self, ps):
2435 """add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2436 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2439 def add_pair(self, pp):
2440 """add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2441 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2445 """__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2446 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2450 """__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2451 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2456 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2458 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2459 __del__ =
lambda self:
None
2460 DisjointSetsSubsetFilterTable_swigregister = _IMP_domino.DisjointSetsSubsetFilterTable_swigregister
2461 DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2463 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2464 """Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2466 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2468 def __init__(self, *args):
2470 __init__(IMP::domino::ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2471 __init__(IMP::domino::ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2473 this = _IMP_domino.new_ExclusionSubsetFilterTable(*args)
2475 self.this.append(this)
2479 def get_version_info(self):
2480 """get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2481 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2485 """__str__(ExclusionSubsetFilterTable self) -> std::string"""
2486 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2490 """__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2491 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2496 return _object_cast_to_ExclusionSubsetFilterTable(o)
2498 ExclusionSubsetFilterTable_swigregister = _IMP_domino.ExclusionSubsetFilterTable_swigregister
2499 ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2501 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2502 """Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2504 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2506 def __init__(self, *args):
2508 __init__(IMP::domino::EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2509 __init__(IMP::domino::EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2511 this = _IMP_domino.new_EqualitySubsetFilterTable(*args)
2513 self.this.append(this)
2517 def get_version_info(self):
2518 """get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2519 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2523 """__str__(EqualitySubsetFilterTable self) -> std::string"""
2524 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2528 """__repr__(EqualitySubsetFilterTable self) -> std::string"""
2529 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2534 return _object_cast_to_EqualitySubsetFilterTable(o)
2536 EqualitySubsetFilterTable_swigregister = _IMP_domino.EqualitySubsetFilterTable_swigregister
2537 EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2539 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2540 """Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2544 def __init__(self, *args):
2546 __init__(IMP::domino::EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2547 __init__(IMP::domino::EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2549 this = _IMP_domino.new_EquivalenceSubsetFilterTable(*args)
2551 self.this.append(this)
2555 def get_version_info(self):
2556 """get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2557 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2561 """__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2562 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2566 """__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2567 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2572 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2574 EquivalenceSubsetFilterTable_swigregister = _IMP_domino.EquivalenceSubsetFilterTable_swigregister
2575 EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2577 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2578 """Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2580 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2582 def __init__(self, *args):
2584 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2585 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2587 this = _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args)
2589 self.this.append(this)
2593 def get_version_info(self):
2594 """get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2595 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2599 """__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2600 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2604 """__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2605 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2610 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2612 EquivalenceAndExclusionSubsetFilterTable_swigregister = _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister
2613 EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2615 class ListSubsetFilterTable(SubsetFilterTable):
2616 """Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2618 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2620 def __init__(self, pst):
2621 """__init__(IMP::domino::ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2622 this = _IMP_domino.new_ListSubsetFilterTable(pst)
2624 self.this.append(this)
2628 def get_ok_rate(self):
2629 """get_ok_rate(ListSubsetFilterTable self) -> double"""
2630 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2633 def get_number_of_particle_states(self, p):
2634 """get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2635 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2638 def set_allowed_states(self, p, states):
2639 """set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2640 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2643 def get_version_info(self):
2644 """get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2645 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2649 """__str__(ListSubsetFilterTable self) -> std::string"""
2650 return _IMP_domino.ListSubsetFilterTable___str__(self)
2654 """__repr__(ListSubsetFilterTable self) -> std::string"""
2655 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2660 return _object_cast_to_ListSubsetFilterTable(o)
2662 ListSubsetFilterTable_swigregister = _IMP_domino.ListSubsetFilterTable_swigregister
2663 ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2665 class PairListSubsetFilterTable(SubsetFilterTable):
2666 """Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2668 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2671 """__init__(IMP::domino::PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2672 this = _IMP_domino.new_PairListSubsetFilterTable()
2674 self.this.append(this)
2678 def set_allowed_states(self, p, states):
2679 """set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2680 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2683 def get_version_info(self):
2684 """get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2685 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2689 """__str__(PairListSubsetFilterTable self) -> std::string"""
2690 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2694 """__repr__(PairListSubsetFilterTable self) -> std::string"""
2695 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2700 return _object_cast_to_PairListSubsetFilterTable(o)
2702 PairListSubsetFilterTable_swigregister = _IMP_domino.PairListSubsetFilterTable_swigregister
2703 PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2705 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2706 """Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2710 def __init__(self, p, leaves_only=False):
2712 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable
2713 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p) -> ProbabilisticSubsetFilterTable
2715 this = _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only)
2717 self.this.append(this)
2721 def get_version_info(self):
2722 """get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2723 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2727 """__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2728 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2732 """__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2733 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2738 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2740 ProbabilisticSubsetFilterTable_swigregister = _IMP_domino.ProbabilisticSubsetFilterTable_swigregister
2741 ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2744 """Proxy of C++ IMP::domino::AssignmentContainer class."""
2746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2748 def __init__(self, *args):
2750 __init__(IMP::domino::AssignmentContainer self, std::string name) -> AssignmentContainer
2751 __init__(IMP::domino::AssignmentContainer self) -> AssignmentContainer
2753 if self.__class__ == AssignmentContainer:
2757 this = _IMP_domino.new_AssignmentContainer(_self, *args)
2759 self.this.append(this)
2763 if self.__class__ != AssignmentContainer:
2764 _director_objects.register(self)
2769 def get_number_of_assignments(self):
2770 """get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2771 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2774 def get_assignment(self, i):
2775 """get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2776 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2779 def get_assignments(self, *args):
2781 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2782 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2784 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2787 def add_assignment(self, a):
2788 """add_assignment(AssignmentContainer self, Assignment a)"""
2789 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2792 def add_assignments(self, asgn):
2793 """add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2794 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2797 def get_particle_assignments(self, i):
2798 """get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2799 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2801 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2802 __del__ =
lambda self:
None
2805 """__str__(AssignmentContainer self) -> std::string"""
2806 return _IMP_domino.AssignmentContainer___str__(self)
2810 """__repr__(AssignmentContainer self) -> std::string"""
2811 return _IMP_domino.AssignmentContainer___repr__(self)
2816 return _object_cast_to_AssignmentContainer(o)
2819 def get_type_name(self):
2820 return self.__class__.__name__
2821 def do_show(self, out):
2823 def get_version_info(self):
2824 if"IMP::domino" ==
"IMP":
2825 return VersionInfo(self.__module__,
2826 __import__(self.__module__).get_module_version())
2829 __import__(self.__module__).get_module_version())
2832 return _object_cast_to_AssignmentContainer(o)
2834 def __disown__(self):
2836 _IMP_domino.disown_AssignmentContainer(self)
2837 return weakref_proxy(self)
2839 def do_destroy(self):
2840 """do_destroy(AssignmentContainer self)"""
2841 return _IMP_domino.AssignmentContainer_do_destroy(self)
2843 AssignmentContainer_swigregister = _IMP_domino.AssignmentContainer_swigregister
2844 AssignmentContainer_swigregister(AssignmentContainer)
2846 class PackedAssignmentContainer(AssignmentContainer):
2847 """Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2849 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2851 def __init__(self, *args):
2853 __init__(IMP::domino::PackedAssignmentContainer self, std::string name) -> PackedAssignmentContainer
2854 __init__(IMP::domino::PackedAssignmentContainer self) -> PackedAssignmentContainer
2856 this = _IMP_domino.new_PackedAssignmentContainer(*args)
2858 self.this.append(this)
2862 def get_assignments(self, *args):
2864 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2865 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2867 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2870 def get_version_info(self):
2871 """get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2872 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2876 """__str__(PackedAssignmentContainer self) -> std::string"""
2877 return _IMP_domino.PackedAssignmentContainer___str__(self)
2881 """__repr__(PackedAssignmentContainer self) -> std::string"""
2882 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2887 return _object_cast_to_PackedAssignmentContainer(o)
2889 PackedAssignmentContainer_swigregister = _IMP_domino.PackedAssignmentContainer_swigregister
2890 PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2892 class ListAssignmentContainer(AssignmentContainer):
2893 """Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2897 def __init__(self, *args):
2899 __init__(IMP::domino::ListAssignmentContainer self, std::string name) -> ListAssignmentContainer
2900 __init__(IMP::domino::ListAssignmentContainer self) -> ListAssignmentContainer
2902 this = _IMP_domino.new_ListAssignmentContainer(*args)
2904 self.this.append(this)
2908 def get_assignments(self, *args):
2910 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2911 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2913 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2916 def get_version_info(self):
2917 """get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2918 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2922 """__str__(ListAssignmentContainer self) -> std::string"""
2923 return _IMP_domino.ListAssignmentContainer___str__(self)
2927 """__repr__(ListAssignmentContainer self) -> std::string"""
2928 return _IMP_domino.ListAssignmentContainer___repr__(self)
2933 return _object_cast_to_ListAssignmentContainer(o)
2935 ListAssignmentContainer_swigregister = _IMP_domino.ListAssignmentContainer_swigregister
2936 ListAssignmentContainer_swigregister(ListAssignmentContainer)
2938 class SampleAssignmentContainer(AssignmentContainer):
2939 """Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2941 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2943 def __init__(self, *args):
2945 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k, std::string name) -> SampleAssignmentContainer
2946 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k) -> SampleAssignmentContainer
2948 this = _IMP_domino.new_SampleAssignmentContainer(*args)
2950 self.this.append(this)
2954 def get_assignments(self, *args):
2956 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2957 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2959 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2962 def get_version_info(self):
2963 """get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2964 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2968 """__str__(SampleAssignmentContainer self) -> std::string"""
2969 return _IMP_domino.SampleAssignmentContainer___str__(self)
2973 """__repr__(SampleAssignmentContainer self) -> std::string"""
2974 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2979 return _object_cast_to_SampleAssignmentContainer(o)
2981 SampleAssignmentContainer_swigregister = _IMP_domino.SampleAssignmentContainer_swigregister
2982 SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2984 class WriteHDF5AssignmentContainer(AssignmentContainer):
2985 """Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2989 def __init__(self, *args):
2991 __init__(IMP::domino::WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2992 __init__(IMP::domino::WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2994 this = _IMP_domino.new_WriteHDF5AssignmentContainer(*args)
2996 self.this.append(this)
3000 def set_cache_size(self, words):
3001 """set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
3002 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
3005 def get_assignments(self, *args):
3007 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3008 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
3010 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
3013 def get_version_info(self):
3014 """get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
3015 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
3019 """__str__(WriteHDF5AssignmentContainer self) -> std::string"""
3020 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
3024 """__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
3025 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
3030 return _object_cast_to_WriteHDF5AssignmentContainer(o)
3032 WriteHDF5AssignmentContainer_swigregister = _IMP_domino.WriteHDF5AssignmentContainer_swigregister
3033 WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
3035 class ReadHDF5AssignmentContainer(AssignmentContainer):
3036 """Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
3038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3040 def __init__(self, dataset, s, all_particles, name):
3041 """__init__(IMP::domino::ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
3042 this = _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name)
3044 self.this.append(this)
3048 def set_cache_size(self, words):
3049 """set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
3050 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
3053 def get_assignments(self, *args):
3055 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3056 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
3058 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
3061 def get_version_info(self):
3062 """get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
3063 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
3067 """__str__(ReadHDF5AssignmentContainer self) -> std::string"""
3068 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
3072 """__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
3073 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
3078 return _object_cast_to_ReadHDF5AssignmentContainer(o)
3080 ReadHDF5AssignmentContainer_swigregister = _IMP_domino.ReadHDF5AssignmentContainer_swigregister
3081 ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
3083 class WriteAssignmentContainer(AssignmentContainer):
3084 """Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
3086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3088 def __init__(self, out_file, s, all_particles, name):
3089 """__init__(IMP::domino::WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
3090 this = _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name)
3092 self.this.append(this)
3096 def set_cache_size(self, words):
3097 """set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
3098 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
3101 def get_assignments(self, *args):
3103 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3104 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
3106 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
3109 def get_version_info(self):
3110 """get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
3111 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
3115 """__str__(WriteAssignmentContainer self) -> std::string"""
3116 return _IMP_domino.WriteAssignmentContainer___str__(self)
3120 """__repr__(WriteAssignmentContainer self) -> std::string"""
3121 return _IMP_domino.WriteAssignmentContainer___repr__(self)
3126 return _object_cast_to_WriteAssignmentContainer(o)
3128 WriteAssignmentContainer_swigregister = _IMP_domino.WriteAssignmentContainer_swigregister
3129 WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
3131 class ReadAssignmentContainer(AssignmentContainer):
3132 """Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
3134 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3136 def __init__(self, out_file, s, all_particles, name):
3137 """__init__(IMP::domino::ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
3138 this = _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name)
3140 self.this.append(this)
3144 def set_cache_size(self, words):
3145 """set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
3146 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
3149 def get_assignments(self, *args):
3151 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3152 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
3154 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
3157 def get_version_info(self):
3158 """get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
3159 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
3163 """__str__(ReadAssignmentContainer self) -> std::string"""
3164 return _IMP_domino.ReadAssignmentContainer___str__(self)
3168 """__repr__(ReadAssignmentContainer self) -> std::string"""
3169 return _IMP_domino.ReadAssignmentContainer___repr__(self)
3174 return _object_cast_to_ReadAssignmentContainer(o)
3176 ReadAssignmentContainer_swigregister = _IMP_domino.ReadAssignmentContainer_swigregister
3177 ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
3179 class RangeViewAssignmentContainer(AssignmentContainer):
3180 """Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
3182 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3184 def __init__(self, inner, begin, end):
3185 """__init__(IMP::domino::RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
3186 this = _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end)
3188 self.this.append(this)
3192 def get_assignments(self, *args):
3194 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3195 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
3197 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
3200 def get_version_info(self):
3201 """get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
3202 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
3206 """__str__(RangeViewAssignmentContainer self) -> std::string"""
3207 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
3211 """__repr__(RangeViewAssignmentContainer self) -> std::string"""
3212 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
3217 return _object_cast_to_RangeViewAssignmentContainer(o)
3219 RangeViewAssignmentContainer_swigregister = _IMP_domino.RangeViewAssignmentContainer_swigregister
3220 RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
3222 class HeapAssignmentContainer(AssignmentContainer):
3223 """Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
3225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3227 def __init__(self, *args):
3229 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name) -> HeapAssignmentContainer
3230 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf) -> HeapAssignmentContainer
3232 this = _IMP_domino.new_HeapAssignmentContainer(*args)
3234 self.this.append(this)
3238 def get_assignments(self, *args):
3240 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3241 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
3243 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
3246 def get_version_info(self):
3247 """get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
3248 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
3252 """__str__(HeapAssignmentContainer self) -> std::string"""
3253 return _IMP_domino.HeapAssignmentContainer___str__(self)
3257 """__repr__(HeapAssignmentContainer self) -> std::string"""
3258 return _IMP_domino.HeapAssignmentContainer___repr__(self)
3263 return _object_cast_to_HeapAssignmentContainer(o)
3265 HeapAssignmentContainer_swigregister = _IMP_domino.HeapAssignmentContainer_swigregister
3266 HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
3268 class CappedAssignmentContainer(AssignmentContainer):
3269 """Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
3271 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3273 def __init__(self, contained, max_states, name):
3274 """__init__(IMP::domino::CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
3275 this = _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name)
3277 self.this.append(this)
3281 def get_assignments(self, *args):
3283 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3284 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
3286 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
3289 def get_version_info(self):
3290 """get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
3291 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
3295 """__str__(CappedAssignmentContainer self) -> std::string"""
3296 return _IMP_domino.CappedAssignmentContainer___str__(self)
3300 """__repr__(CappedAssignmentContainer self) -> std::string"""
3301 return _IMP_domino.CappedAssignmentContainer___repr__(self)
3306 return _object_cast_to_CappedAssignmentContainer(o)
3308 CappedAssignmentContainer_swigregister = _IMP_domino.CappedAssignmentContainer_swigregister
3309 CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
3312 """Proxy of C++ IMP::domino::AssignmentsTable class."""
3314 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3316 def __init__(self, *args):
3318 __init__(IMP::domino::AssignmentsTable self, std::string name) -> AssignmentsTable
3319 __init__(IMP::domino::AssignmentsTable self) -> AssignmentsTable
3321 if self.__class__ == AssignmentsTable:
3325 this = _IMP_domino.new_AssignmentsTable(_self, *args)
3327 self.this.append(this)
3331 if self.__class__ != AssignmentsTable:
3332 _director_objects.register(self)
3337 def load_assignments(self, s, ac):
3338 """load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
3339 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
3341 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
3342 __del__ =
lambda self:
None
3345 """__str__(AssignmentsTable self) -> std::string"""
3346 return _IMP_domino.AssignmentsTable___str__(self)
3350 """__repr__(AssignmentsTable self) -> std::string"""
3351 return _IMP_domino.AssignmentsTable___repr__(self)
3356 return _object_cast_to_AssignmentsTable(o)
3359 def get_type_name(self):
3360 return self.__class__.__name__
3361 def do_show(self, out):
3363 def get_version_info(self):
3364 if"IMP::domino" ==
"IMP":
3365 return VersionInfo(self.__module__,
3366 __import__(self.__module__).get_module_version())
3369 __import__(self.__module__).get_module_version())
3372 return _object_cast_to_AssignmentsTable(o)
3374 def __disown__(self):
3376 _IMP_domino.disown_AssignmentsTable(self)
3377 return weakref_proxy(self)
3379 def do_destroy(self):
3380 """do_destroy(AssignmentsTable self)"""
3381 return _IMP_domino.AssignmentsTable_do_destroy(self)
3383 AssignmentsTable_swigregister = _IMP_domino.AssignmentsTable_swigregister
3384 AssignmentsTable_swigregister(AssignmentsTable)
3386 class SimpleAssignmentsTable(AssignmentsTable):
3387 """Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
3389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3391 def __init__(self, *args):
3393 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> SimpleAssignmentsTable
3394 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> SimpleAssignmentsTable
3395 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst) -> SimpleAssignmentsTable
3397 this = _IMP_domino.new_SimpleAssignmentsTable(*args)
3399 self.this.append(this)
3403 def get_version_info(self):
3404 """get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
3405 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
3409 """__str__(SimpleAssignmentsTable self) -> std::string"""
3410 return _IMP_domino.SimpleAssignmentsTable___str__(self)
3414 """__repr__(SimpleAssignmentsTable self) -> std::string"""
3415 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
3420 return _object_cast_to_SimpleAssignmentsTable(o)
3422 SimpleAssignmentsTable_swigregister = _IMP_domino.SimpleAssignmentsTable_swigregister
3423 SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
3425 class RecursiveAssignmentsTable(AssignmentsTable):
3426 """Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
3428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3430 def __init__(self, *args):
3432 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> RecursiveAssignmentsTable
3433 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> RecursiveAssignmentsTable
3434 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst) -> RecursiveAssignmentsTable
3436 this = _IMP_domino.new_RecursiveAssignmentsTable(*args)
3438 self.this.append(this)
3442 def get_version_info(self):
3443 """get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
3444 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
3448 """__str__(RecursiveAssignmentsTable self) -> std::string"""
3449 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
3453 """__repr__(RecursiveAssignmentsTable self) -> std::string"""
3454 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
3459 return _object_cast_to_RecursiveAssignmentsTable(o)
3461 RecursiveAssignmentsTable_swigregister = _IMP_domino.RecursiveAssignmentsTable_swigregister
3462 RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
3464 class BranchAndBoundAssignmentsTable(AssignmentsTable):
3465 """Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
3467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3469 def __init__(self, *args):
3471 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> BranchAndBoundAssignmentsTable
3472 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> BranchAndBoundAssignmentsTable
3473 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst) -> BranchAndBoundAssignmentsTable
3475 this = _IMP_domino.new_BranchAndBoundAssignmentsTable(*args)
3477 self.this.append(this)
3481 def get_version_info(self):
3482 """get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
3483 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
3487 """__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3488 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3492 """__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3493 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3498 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3500 BranchAndBoundAssignmentsTable_swigregister = _IMP_domino.BranchAndBoundAssignmentsTable_swigregister
3501 BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3503 class ListAssignmentsTable(AssignmentsTable):
3504 """Proxy of C++ IMP::domino::ListAssignmentsTable class."""
3506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3508 def __init__(self, *args):
3510 __init__(IMP::domino::ListAssignmentsTable self, std::string name) -> ListAssignmentsTable
3511 __init__(IMP::domino::ListAssignmentsTable self) -> ListAssignmentsTable
3513 this = _IMP_domino.new_ListAssignmentsTable(*args)
3515 self.this.append(this)
3519 def set_assignments(self, s, lsc):
3520 """set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3521 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3524 def get_version_info(self):
3525 """get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3526 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3530 """__str__(ListAssignmentsTable self) -> std::string"""
3531 return _IMP_domino.ListAssignmentsTable___str__(self)
3535 """__repr__(ListAssignmentsTable self) -> std::string"""
3536 return _IMP_domino.ListAssignmentsTable___repr__(self)
3541 return _object_cast_to_ListAssignmentsTable(o)
3543 ListAssignmentsTable_swigregister = _IMP_domino.ListAssignmentsTable_swigregister
3544 ListAssignmentsTable_swigregister(ListAssignmentsTable)
3548 """get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3549 return _IMP_domino.get_order(s, sft)
3550 class _SubsetGraphVertexIndex(object):
3551 """Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
3553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3554 __repr__ = _swig_repr
3557 """__init__(IMP::domino::SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3558 this = _IMP_domino.new__SubsetGraphVertexIndex()
3560 self.this.append(this)
3563 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3564 __del__ =
lambda self:
None
3565 _SubsetGraphVertexIndex_swigregister = _IMP_domino._SubsetGraphVertexIndex_swigregister
3566 _SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3568 class _InteractionGraphVertexIndex(object):
3569 """Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3571 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3572 __repr__ = _swig_repr
3575 """__init__(IMP::domino::InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3576 this = _IMP_domino.new__InteractionGraphVertexIndex()
3578 self.this.append(this)
3581 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3582 __del__ =
lambda self:
None
3583 _InteractionGraphVertexIndex_swigregister = _IMP_domino._InteractionGraphVertexIndex_swigregister
3584 _InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3588 """get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3589 return _IMP_domino.get_subsets(g)
3592 """get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3593 return _IMP_domino.get_junction_tree(ig)
3595 def get_triangulated(input):
3596 """get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3597 return _IMP_domino.get_triangulated(input)
3598 class _CliqueGraphVertexIndex(object):
3599 """Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3601 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3602 __repr__ = _swig_repr
3605 """__init__(IMP::domino::CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3606 this = _IMP_domino.new__CliqueGraphVertexIndex()
3608 self.this.append(this)
3611 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3612 __del__ =
lambda self:
None
3613 _CliqueGraphVertexIndex_swigregister = _IMP_domino._CliqueGraphVertexIndex_swigregister
3614 _CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3617 def get_clique_graph(input):
3618 """get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3619 return _IMP_domino.get_clique_graph(input)
3621 def get_minimum_spanning_tree(input):
3622 """get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3623 return _IMP_domino.get_minimum_spanning_tree(input)
3626 """get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3627 return _IMP_domino.get_restraint_graph(rs, pst)
3631 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3632 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3634 return _IMP_domino.get_interaction_graph(*args)
3637 """get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3638 return _IMP_domino.get_interaction_graph_geometry(ig)
3641 """get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3642 return _IMP_domino.get_subset_graph_geometry(ig)
3643 class _MergeTreeVertexIndex(object):
3644 """Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3646 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3647 __repr__ = _swig_repr
3650 """__init__(IMP::domino::MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3651 this = _IMP_domino.new__MergeTreeVertexIndex()
3653 self.this.append(this)
3656 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3657 __del__ =
lambda self:
None
3658 _MergeTreeVertexIndex_swigregister = _IMP_domino._MergeTreeVertexIndex_swigregister
3659 _MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3662 def show_as_graphviz(*args):
3664 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3665 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3666 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3667 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3669 return _IMP_domino.show_as_graphviz(*args)
3671 def get_vertex_index(*args):
3673 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3674 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3675 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3676 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3678 return _IMP_domino.get_vertex_index(*args)
3682 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3683 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3685 return _IMP_domino.get_merge_tree(*args)
3688 """get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3689 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3691 def get_is_merge_tree(tree, all, verbose=True):
3693 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool
3694 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all) -> bool
3696 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3698 def write_merge_tree(tree, ps, out):
3699 """write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3700 return _IMP_domino.write_merge_tree(tree, ps, out)
3702 def read_merge_tree(input, ps):
3703 """read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3704 return _IMP_domino.read_merge_tree(input, ps)
3706 """Proxy of C++ IMP::domino::DiscreteSampler class."""
3708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3710 def get_subset_filter_tables_to_use(self, rs, pst):
3711 """get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3712 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3715 def get_assignments_table_to_use(self, *args):
3717 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max) -> AssignmentsTable
3718 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts) -> AssignmentsTable
3720 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3723 def do_sample(self):
3724 """do_sample(DiscreteSampler self) -> ConfigurationSet"""
3725 return _IMP_domino.DiscreteSampler_do_sample(self)
3728 def do_get_sample_assignments(self, all):
3729 """do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3730 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3733 def get_restraints(self):
3734 """get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3735 return _IMP_domino.DiscreteSampler_get_restraints(self)
3738 def __init__(self, m, pst, name):
3739 """__init__(IMP::domino::DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3740 if self.__class__ == DiscreteSampler:
3744 this = _IMP_domino.new_DiscreteSampler(_self, m, pst, name)
3746 self.this.append(this)
3750 if self.__class__ != DiscreteSampler:
3751 _director_objects.register(self)
3755 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3756 __del__ =
lambda self:
None
3758 def set_restraints(self, rs):
3759 """set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3760 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3763 def set_particle_states(self, p, se):
3764 """set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3765 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3768 def get_sample_assignments(self, s):
3769 """get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3770 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3773 def set_particle_states_table(self, cse):
3774 """set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3775 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3778 def set_assignments_table(self, sst):
3779 """set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3780 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3783 def get_particle_states_table(self):
3784 """get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3785 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3788 def remove_subset_filter_table(self, d):
3789 """remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3790 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3793 def remove_subset_filter_tables(self, d):
3794 """remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3795 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3798 def set_subset_filter_tables(self, ps):
3799 """set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3800 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3803 def set_subset_filter_tables_order(self, objs):
3804 """set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3805 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3808 def add_subset_filter_table(self, obj):
3809 """add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3810 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3813 def add_subset_filter_tables(self, objs):
3814 """add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3815 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3818 def clear_subset_filter_tables(self):
3819 """clear_subset_filter_tables(DiscreteSampler self)"""
3820 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3823 def get_number_of_subset_filter_tables(self):
3824 """get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3825 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3828 def get_has_subset_filter_tables(self):
3829 """get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3830 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3833 def get_subset_filter_table(self, i):
3834 """get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3835 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3838 def get_subset_filter_tables(self):
3839 """get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3840 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3843 def reserve_subset_filter_tables(self, sz):
3844 """reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3845 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3848 def set_maximum_number_of_assignments(self, mx):
3849 """set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3850 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3853 def get_maximum_number_of_assignments(self):
3854 """get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3855 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3859 """__str__(DiscreteSampler self) -> std::string"""
3860 return _IMP_domino.DiscreteSampler___str__(self)
3864 """__repr__(DiscreteSampler self) -> std::string"""
3865 return _IMP_domino.DiscreteSampler___repr__(self)
3870 return _object_cast_to_DiscreteSampler(o)
3873 def get_type_name(self):
3874 return self.__class__.__name__
3875 def do_show(self, out):
3877 def get_version_info(self):
3878 if"IMP::domino" ==
"IMP":
3879 return VersionInfo(self.__module__,
3880 __import__(self.__module__).get_module_version())
3883 __import__(self.__module__).get_module_version())
3886 return _object_cast_to_DiscreteSampler(o)
3888 def __disown__(self):
3890 _IMP_domino.disown_DiscreteSampler(self)
3891 return weakref_proxy(self)
3893 def do_destroy(self):
3894 """do_destroy(DiscreteSampler self)"""
3895 return _IMP_domino.DiscreteSampler_do_destroy(self)
3897 DiscreteSampler_swigregister = _IMP_domino.DiscreteSampler_swigregister
3898 DiscreteSampler_swigregister(DiscreteSampler)
3900 class DominoSampler(DiscreteSampler):
3901 """Proxy of C++ IMP::domino::DominoSampler class."""
3903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3905 def __init__(self, *args):
3907 __init__(IMP::domino::DominoSampler self, Model m, std::string name) -> DominoSampler
3908 __init__(IMP::domino::DominoSampler self, Model m) -> DominoSampler
3909 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst, std::string name) -> DominoSampler
3910 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst) -> DominoSampler
3912 this = _IMP_domino.new_DominoSampler(*args)
3914 self.this.append(this)
3918 def do_get_sample_assignments(self, known):
3919 """do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3920 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3923 def get_version_info(self):
3924 """get_version_info(DominoSampler self) -> VersionInfo"""
3925 return _IMP_domino.DominoSampler_get_version_info(self)
3928 def set_merge_tree(self, mt):
3929 """set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3930 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3933 def set_use_cross_subset_filtering(self, tf):
3934 """set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3935 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3938 def get_number_of_assignments_for_vertex(self, tree_vertex):
3939 """get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3940 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3943 def get_sample_assignments_for_vertex(self, tree_vertex):
3944 """get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3945 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3948 def get_vertex_assignments(self, *args):
3950 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states) -> IMP::domino::Assignments
3951 get_vertex_assignments(DominoSampler self, unsigned int node_index) -> IMP::domino::Assignments
3952 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second, unsigned int max_states) -> IMP::domino::Assignments
3953 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second) -> IMP::domino::Assignments
3955 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3958 def load_vertex_assignments(self, *args):
3960 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states)
3961 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac)
3962 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states)
3963 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac)
3965 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3969 """__str__(DominoSampler self) -> std::string"""
3970 return _IMP_domino.DominoSampler___str__(self)
3974 """__repr__(DominoSampler self) -> std::string"""
3975 return _IMP_domino.DominoSampler___repr__(self)
3980 return _object_cast_to_DominoSampler(o)
3982 DominoSampler_swigregister = _IMP_domino.DominoSampler_swigregister
3983 DominoSampler_swigregister(DominoSampler)
3985 class BranchAndBoundSampler(DiscreteSampler):
3986 """Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3988 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3990 def __init__(self, *args):
3992 __init__(IMP::domino::BranchAndBoundSampler self, Model m, std::string name) -> BranchAndBoundSampler
3993 __init__(IMP::domino::BranchAndBoundSampler self, Model m) -> BranchAndBoundSampler
3994 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name) -> BranchAndBoundSampler
3995 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst) -> BranchAndBoundSampler
3997 this = _IMP_domino.new_BranchAndBoundSampler(*args)
3999 self.this.append(this)
4003 def do_get_sample_assignments(self, known):
4004 """do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
4005 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
4008 def get_version_info(self):
4009 """get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
4010 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
4014 """__str__(BranchAndBoundSampler self) -> std::string"""
4015 return _IMP_domino.BranchAndBoundSampler___str__(self)
4019 """__repr__(BranchAndBoundSampler self) -> std::string"""
4020 return _IMP_domino.BranchAndBoundSampler___repr__(self)
4025 return _object_cast_to_BranchAndBoundSampler(o)
4027 BranchAndBoundSampler_swigregister = _IMP_domino.BranchAndBoundSampler_swigregister
4028 BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
4032 """load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
4033 return _IMP_domino.load_particle_states(s, ss, pst)
4035 def get_restraints(s, pst, dg, rs):
4036 """get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
4037 return _IMP_domino.get_restraints(s, pst, dg, rs)
4039 def get_index(particles, subset, excluded):
4040 """get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
4041 return _IMP_domino.get_index(particles, subset, excluded)
4044 """get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
4045 return _IMP_domino.get_partial_index(particles, subset, excluded)
4048 """get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
4049 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
4052 """get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
4053 return _IMP_domino.get_embedding(s, a, pst)
4056 """get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
4057 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
4060 """get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
4061 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
4064 """load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
4065 return _IMP_domino.load_leaf_assignments(subset, at, ac)
4068 """load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
4069 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
4072 """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)"""
4073 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
4076 """get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
4077 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
4079 """Proxy of C++ IMP::domino::DependencyScoreState class."""
4081 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4083 def __init__(self, m):
4084 """__init__(IMP::domino::DependencyScoreState self, Model m) -> DependencyScoreState"""
4085 this = _IMP_domino.new_DependencyScoreState(m)
4087 self.this.append(this)
4091 def set_input_particles(self, pt):
4092 """set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
4093 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
4096 def set_output_particles(self, pt):
4097 """set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
4098 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
4101 def set_input_containers(self, pt):
4102 """set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
4103 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
4106 def set_output_containers(self, pt):
4107 """set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
4108 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
4111 def get_version_info(self):
4112 """get_version_info(DependencyScoreState self) -> VersionInfo"""
4113 return _IMP_domino.DependencyScoreState_get_version_info(self)
4117 """__str__(DependencyScoreState self) -> std::string"""
4118 return _IMP_domino.DependencyScoreState___str__(self)
4122 """__repr__(DependencyScoreState self) -> std::string"""
4123 return _IMP_domino.DependencyScoreState___repr__(self)
4128 return _object_cast_to_DependencyScoreState(o)
4130 DependencyScoreState_swigregister = _IMP_domino.DependencyScoreState_swigregister
4131 DependencyScoreState_swigregister(DependencyScoreState)
4134 def _get_ints_list(input):
4135 """_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
4136 return _IMP_domino._get_ints_list(input)
4138 def get_module_version():
4139 """get_module_version() -> std::string const"""
4140 return _IMP_domino.get_module_version()
4143 """get_example_path(std::string fname) -> std::string"""
4144 return _IMP_domino.get_example_path(fname)
4147 """get_data_path(std::string fname) -> std::string"""
4148 return _IMP_domino.get_data_path(fname)
4150 from .
import _version_check
4151 _version_check.check_version(get_module_version())
4152 __version__ = get_module_version()
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)
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)
Base class for all samplers.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
MergeTree get_balanced_merge_tree(const SubsetGraph &junction_tree)
Composable functors to implement scores via compile-time composition.
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.
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 get_example_path(std::string file_name)
Return the full path to one of this module's example files.
std::string show_graphviz(Graph g)
SubsetGraph get_restraint_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
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.
Slice get_slice(Subset outer, Subset inner, const Subsets &excluded)