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"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
125 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
130 incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
131 incr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
133 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
138 decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
139 decr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
141 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
150 """equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
151 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
155 """copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
156 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
160 """next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
161 return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
165 """__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
166 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
170 """previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
171 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
176 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
181 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
186 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
191 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
196 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
201 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
207 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
213 IMP_DOMINO_SwigPyIterator_swigregister = _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister
214 IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
222 _IMP_domino.IMP_DEBUG_swigconstant(_IMP_domino)
223 IMP_DEBUG = _IMP_domino.IMP_DEBUG
225 _IMP_domino.IMP_RELEASE_swigconstant(_IMP_domino)
226 IMP_RELEASE = _IMP_domino.IMP_RELEASE
228 _IMP_domino.IMP_SILENT_swigconstant(_IMP_domino)
229 IMP_SILENT = _IMP_domino.IMP_SILENT
231 _IMP_domino.IMP_PROGRESS_swigconstant(_IMP_domino)
232 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
234 _IMP_domino.IMP_TERSE_swigconstant(_IMP_domino)
235 IMP_TERSE = _IMP_domino.IMP_TERSE
237 _IMP_domino.IMP_VERBOSE_swigconstant(_IMP_domino)
238 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
240 _IMP_domino.IMP_MEMORY_swigconstant(_IMP_domino)
241 IMP_MEMORY = _IMP_domino.IMP_MEMORY
243 _IMP_domino.IMP_NONE_swigconstant(_IMP_domino)
244 IMP_NONE = _IMP_domino.IMP_NONE
246 _IMP_domino.IMP_USAGE_swigconstant(_IMP_domino)
247 IMP_USAGE = _IMP_domino.IMP_USAGE
249 _IMP_domino.IMP_INTERNAL_swigconstant(_IMP_domino)
250 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
252 _IMP_domino.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_domino)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_domino.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_domino)
256 IMP_COMPILER_HAS_AUTO = _IMP_domino.IMP_COMPILER_HAS_AUTO
258 _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_domino)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_domino)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_domino)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_domino)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_domino.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_domino)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_domino._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_domino._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_domino.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_domino)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_domino.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_domino.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_domino)
321 IMP_COMPILER_HAS_FINAL = _IMP_domino.IMP_COMPILER_HAS_FINAL
323 _IMP_domino.IMP_HAS_NOEXCEPT_swigconstant(_IMP_domino)
324 IMP_HAS_NOEXCEPT = _IMP_domino.IMP_HAS_NOEXCEPT
327 _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_domino.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_domino)
340 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
343 _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_domino)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_domino.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_domino)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
361 _IMP_domino.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_domino)
362 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
364 _IMP_domino.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_domino)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_domino)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_domino.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_domino)
384 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
386 _IMP_domino.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_domino)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_domino)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_domino)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_domino)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_domino)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_domino)
416 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
418 _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
419 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
421 _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
422 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
425 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
427 _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
428 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
430 _IMP_domino.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_domino)
431 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
433 _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_domino)
434 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
437 _IMP_domino.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_domino)
438 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
440 _IMP_domino.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
441 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
443 _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
444 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
446 _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
447 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
449 _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
450 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
452 _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
453 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
455 _IMP_domino.IMP_CORE_HAS_CGAL_swigconstant(_IMP_domino)
456 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
458 _IMP_domino.IMP_CORE_HAS_HDF5_swigconstant(_IMP_domino)
459 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
461 _IMP_domino.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_domino)
462 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
465 _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_domino)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
468 _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_domino)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
471 _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_domino)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
474 _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
477 _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
478 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
480 _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
483 _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
489 _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
492 _IMP_domino.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_domino)
493 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
495 _IMP_domino.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_domino)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
498 _IMP_domino.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_domino)
499 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
502 _IMP_domino.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_domino)
503 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
505 _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
506 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
508 _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
509 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
511 _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
512 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
514 _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
515 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
517 _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
518 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
520 _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
521 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
523 _IMP_domino.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_domino)
524 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
526 _IMP_domino.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_domino)
527 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
529 _IMP_domino.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_domino)
530 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
532 _IMP_domino.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_domino)
533 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
535 _IMP_domino.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_domino)
536 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
538 _IMP_domino.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_domino)
539 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
542 _IMP_domino.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_domino)
543 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
545 _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
546 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
548 _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
549 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
551 _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
552 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
554 _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
555 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
557 _IMP_domino.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
558 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
560 _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
561 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
563 _IMP_domino.IMP_RMF_HAS_CGAL_swigconstant(_IMP_domino)
564 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
566 _IMP_domino.IMP_RMF_HAS_HDF5_swigconstant(_IMP_domino)
567 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
569 _IMP_domino.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_domino)
570 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
574 _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_domino)
575 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
577 _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_domino)
578 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
580 _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
581 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
583 _IMP_domino.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_domino)
584 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
586 _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
587 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
589 _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
590 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
592 _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
593 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
595 _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
596 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
598 _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
599 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
601 _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
602 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
604 _IMP_domino.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_domino)
605 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
607 _IMP_domino.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_domino)
608 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
610 _IMP_domino.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_domino)
611 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
613 _IMP_domino.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_domino)
614 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
616 _object_types.append(
"DiscreteSampler")
619 def _object_cast_to_DiscreteSampler(o):
620 """_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
621 return _IMP_domino._object_cast_to_DiscreteSampler(o)
622 _object_types.append(
"ParticleStates")
625 def _object_cast_to_ParticleStates(o):
626 """_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
627 return _IMP_domino._object_cast_to_ParticleStates(o)
628 _object_types.append(
"SubsetFilter")
631 def _object_cast_to_SubsetFilter(o):
632 """_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
633 return _IMP_domino._object_cast_to_SubsetFilter(o)
634 _object_types.append(
"SubsetFilterTable")
637 def _object_cast_to_SubsetFilterTable(o):
638 """_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
639 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
640 _object_types.append(
"AssignmentsTable")
643 def _object_cast_to_AssignmentsTable(o):
644 """_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
645 return _IMP_domino._object_cast_to_AssignmentsTable(o)
646 _object_types.append(
"AssignmentContainer")
649 def _object_cast_to_AssignmentContainer(o):
650 """_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
651 return _IMP_domino._object_cast_to_AssignmentContainer(o)
653 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> class"""
654 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
655 __repr__ = _swig_repr
658 """__init__(IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> self) -> InteractionGraph"""
659 this = _IMP_domino.new_InteractionGraph()
661 self.this.append(this)
666 """get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
667 return _IMP_domino.InteractionGraph_get_graph(self)
671 """get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
672 return _IMP_domino.InteractionGraph_get_vertices(self)
675 def get_vertex_name(self, i):
676 """get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
677 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
680 def get_in_neighbors(self, v):
681 """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"""
682 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
685 def get_out_neighbors(self, v):
686 """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"""
687 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
692 show_graphviz(InteractionGraph self, _ostream out)
693 show_graphviz(InteractionGraph self)
695 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
698 def get_graphviz_string(self):
699 """get_graphviz_string(InteractionGraph self) -> std::string"""
700 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
703 def add_edge(self, v0, v1):
704 """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)"""
705 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
708 def add_vertex(self, l):
709 """add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
710 return _IMP_domino.InteractionGraph_add_vertex(self, l)
713 def remove_vertex(self, l):
714 """remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
715 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
717 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
718 __del__ =
lambda self:
None
719 InteractionGraph_swigregister = _IMP_domino.InteractionGraph_swigregister
720 InteractionGraph_swigregister(InteractionGraph)
722 _value_types.append(
"InteractionGraph")
725 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> class"""
726 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
727 __repr__ = _swig_repr
730 """__init__(IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> self) -> SubsetGraph"""
731 this = _IMP_domino.new_SubsetGraph()
733 self.this.append(this)
738 """get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
739 return _IMP_domino.SubsetGraph_get_graph(self)
743 """get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
744 return _IMP_domino.SubsetGraph_get_vertices(self)
747 def get_vertex_name(self, i):
748 """get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
749 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
752 def get_in_neighbors(self, v):
753 """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"""
754 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
757 def get_out_neighbors(self, v):
758 """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"""
759 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
764 show_graphviz(SubsetGraph self, _ostream out)
765 show_graphviz(SubsetGraph self)
767 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
770 def get_graphviz_string(self):
771 """get_graphviz_string(SubsetGraph self) -> std::string"""
772 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
775 def add_edge(self, v0, v1):
776 """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)"""
777 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
780 def add_vertex(self, l):
781 """add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
782 return _IMP_domino.SubsetGraph_add_vertex(self, l)
785 def remove_vertex(self, l):
786 """remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
787 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
789 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
790 __del__ =
lambda self:
None
791 SubsetGraph_swigregister = _IMP_domino.SubsetGraph_swigregister
792 SubsetGraph_swigregister(SubsetGraph)
794 _value_types.append(
"SubsetGraph")
797 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> class"""
798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
799 __repr__ = _swig_repr
802 """__init__(IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> self) -> CliqueGraph"""
803 this = _IMP_domino.new_CliqueGraph()
805 self.this.append(this)
810 """get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
811 return _IMP_domino.CliqueGraph_get_graph(self)
815 """get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
816 return _IMP_domino.CliqueGraph_get_vertices(self)
819 def get_vertex_name(self, i):
820 """get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
821 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
824 def get_in_neighbors(self, v):
825 """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"""
826 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
829 def get_out_neighbors(self, v):
830 """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"""
831 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
836 show_graphviz(CliqueGraph self, _ostream out)
837 show_graphviz(CliqueGraph self)
839 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
842 def get_graphviz_string(self):
843 """get_graphviz_string(CliqueGraph self) -> std::string"""
844 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
847 def add_edge(self, v0, v1):
848 """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)"""
849 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
852 def add_vertex(self, l):
853 """add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
854 return _IMP_domino.CliqueGraph_add_vertex(self, l)
857 def remove_vertex(self, l):
858 """remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
859 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
861 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
862 __del__ =
lambda self:
None
863 CliqueGraph_swigregister = _IMP_domino.CliqueGraph_swigregister
864 CliqueGraph_swigregister(CliqueGraph)
866 _value_types.append(
"CliqueGraph")
869 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> class"""
870 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
871 __repr__ = _swig_repr
874 """__init__(IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> self) -> MergeTree"""
875 this = _IMP_domino.new_MergeTree()
877 self.this.append(this)
882 """get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
883 return _IMP_domino.MergeTree_get_graph(self)
887 """get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
888 return _IMP_domino.MergeTree_get_vertices(self)
891 def get_vertex_name(self, i):
892 """get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
893 return _IMP_domino.MergeTree_get_vertex_name(self, i)
896 def get_in_neighbors(self, v):
897 """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"""
898 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
901 def get_out_neighbors(self, v):
902 """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"""
903 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
908 show_graphviz(MergeTree self, _ostream out)
909 show_graphviz(MergeTree self)
911 return _IMP_domino.MergeTree_show_graphviz(self, *args)
914 def get_graphviz_string(self):
915 """get_graphviz_string(MergeTree self) -> std::string"""
916 return _IMP_domino.MergeTree_get_graphviz_string(self)
919 def add_edge(self, v0, v1):
920 """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)"""
921 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
924 def add_vertex(self, l):
925 """add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
926 return _IMP_domino.MergeTree_add_vertex(self, l)
929 def remove_vertex(self, l):
930 """remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
931 return _IMP_domino.MergeTree_remove_vertex(self, l)
933 __swig_destroy__ = _IMP_domino.delete_MergeTree
934 __del__ =
lambda self:
None
935 MergeTree_swigregister = _IMP_domino.MergeTree_swigregister
936 MergeTree_swigregister(MergeTree)
938 _value_types.append(
"MergeTree")
940 _object_types.append(
"BranchAndBoundSampler")
943 def _object_cast_to_BranchAndBoundSampler(o):
944 """_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
945 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
946 _object_types.append(
"BranchAndBoundAssignmentsTable")
949 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
950 """_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
951 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
952 _object_types.append(
"RecursiveAssignmentsTable")
955 def _object_cast_to_RecursiveAssignmentsTable(o):
956 """_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
957 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
958 _object_types.append(
"SimpleAssignmentsTable")
961 def _object_cast_to_SimpleAssignmentsTable(o):
962 """_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
963 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
964 _object_types.append(
"CompoundStates")
967 def _object_cast_to_CompoundStates(o):
968 """_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
969 return _IMP_domino._object_cast_to_CompoundStates(o)
970 _object_types.append(
"DisjointSetsSubsetFilterTable")
973 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
974 """_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
975 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
976 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
979 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
980 """_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
981 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
982 _object_types.append(
"DominoSampler")
985 def _object_cast_to_DominoSampler(o):
986 """_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
987 return _IMP_domino._object_cast_to_DominoSampler(o)
988 _object_types.append(
"EqualitySubsetFilterTable")
991 def _object_cast_to_EqualitySubsetFilterTable(o):
992 """_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
993 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
994 _object_types.append(
"EquivalenceSubsetFilterTable")
997 def _object_cast_to_EquivalenceSubsetFilterTable(o):
998 """_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
999 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
1000 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
1003 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
1004 """_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
1005 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
1006 _object_types.append(
"ExclusionSubsetFilterTable")
1009 def _object_cast_to_ExclusionSubsetFilterTable(o):
1010 """_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
1011 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
1012 _object_types.append(
"IndexStates")
1015 def _object_cast_to_IndexStates(o):
1016 """_object_cast_to_IndexStates(Object o) -> IndexStates"""
1017 return _IMP_domino._object_cast_to_IndexStates(o)
1018 _object_types.append(
"ListSubsetFilterTable")
1021 def _object_cast_to_ListSubsetFilterTable(o):
1022 """_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
1023 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
1024 _object_types.append(
"ListAssignmentsTable")
1027 def _object_cast_to_ListAssignmentsTable(o):
1028 """_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
1029 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
1030 _object_types.append(
"ParticleStatesTable")
1033 def _object_cast_to_ParticleStatesTable(o):
1034 """_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
1035 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
1036 _object_types.append(
"RecursiveStates")
1039 def _object_cast_to_RecursiveStates(o):
1040 """_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
1041 return _IMP_domino._object_cast_to_RecursiveStates(o)
1042 _object_types.append(
"ProbabilisticSubsetFilterTable")
1045 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
1046 """_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
1047 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
1048 _object_types.append(
"RestraintScoreSubsetFilterTable")
1051 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
1052 """_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
1053 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
1054 _object_types.append(
"RigidBodyStates")
1057 def _object_cast_to_RigidBodyStates(o):
1058 """_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
1059 return _IMP_domino._object_cast_to_RigidBodyStates(o)
1060 _object_types.append(
"XYZStates")
1063 def _object_cast_to_XYZStates(o):
1064 """_object_cast_to_XYZStates(Object o) -> XYZStates"""
1065 return _IMP_domino._object_cast_to_XYZStates(o)
1066 _object_types.append(
"NestedRigidBodyStates")
1069 def _object_cast_to_NestedRigidBodyStates(o):
1070 """_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
1071 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
1072 _object_types.append(
"DependencyScoreState")
1075 def _object_cast_to_DependencyScoreState(o):
1076 """_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
1077 return _IMP_domino._object_cast_to_DependencyScoreState(o)
1078 _object_types.append(
"PairListSubsetFilterTable")
1081 def _object_cast_to_PairListSubsetFilterTable(o):
1082 """_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
1083 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
1084 _object_types.append(
"ListAssignmentContainer")
1087 def _object_cast_to_ListAssignmentContainer(o):
1088 """_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
1089 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
1090 _object_types.append(
"PackedAssignmentContainer")
1093 def _object_cast_to_PackedAssignmentContainer(o):
1094 """_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
1095 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
1096 _object_types.append(
"HeapAssignmentContainer")
1099 def _object_cast_to_HeapAssignmentContainer(o):
1100 """_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
1101 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
1102 _object_types.append(
"RangeViewAssignmentContainer")
1105 def _object_cast_to_RangeViewAssignmentContainer(o):
1106 """_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
1107 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
1108 _object_types.append(
"SampleAssignmentContainer")
1111 def _object_cast_to_SampleAssignmentContainer(o):
1112 """_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1113 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1114 _object_types.append(
"PermutationStates")
1117 def _object_cast_to_PermutationStates(o):
1118 """_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1119 return _IMP_domino._object_cast_to_PermutationStates(o)
1120 _object_types.append(
"WriteHDF5AssignmentContainer")
1123 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1124 """_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1125 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1126 _object_types.append(
"ReadHDF5AssignmentContainer")
1129 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1130 """_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1131 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1132 _object_types.append(
"ReadAssignmentContainer")
1135 def _object_cast_to_ReadAssignmentContainer(o):
1136 """_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1137 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1138 _object_types.append(
"WriteAssignmentContainer")
1141 def _object_cast_to_WriteAssignmentContainer(o):
1142 """_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1143 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1144 _object_types.append(
"CappedAssignmentContainer")
1147 def _object_cast_to_CappedAssignmentContainer(o):
1148 """_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1149 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1150 _object_types.append(
"RestraintCache")
1153 def _object_cast_to_RestraintCache(o):
1154 """_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1155 return _IMP_domino._object_cast_to_RestraintCache(o)
1157 _plural_types.append(
"Subsets")
1158 _value_types.append(
"Subset")
1161 _plural_types.append(
"Assignments")
1162 _value_types.append(
"Assignment")
1165 _plural_types.append(
"Slices")
1166 _value_types.append(
"Slice")
1169 _plural_types.append(
"Orders")
1170 _value_types.append(
"Order")
1172 class _IntArray(IMP._Value):
1173 """Proxy of C++ IMP::ConstVector<(int)> class"""
1174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1175 __repr__ = _swig_repr
1176 __swig_destroy__ = _IMP_domino.delete__IntArray
1177 __del__ =
lambda self:
None
1179 def __init__(self, *args):
1181 __init__(IMP::ConstVector<(int)> self, unsigned int sz, int fill) -> _IntArray
1182 __init__(IMP::ConstVector<(int)> self) -> _IntArray
1184 this = _IMP_domino.new__IntArray(*args)
1186 self.this.append(this)
1190 def __cmp__(self, o):
1191 """__cmp__(_IntArray self, _IntArray o) -> int"""
1192 return _IMP_domino._IntArray___cmp__(self, o)
1195 def __eq__(self, o):
1196 """__eq__(_IntArray self, _IntArray o) -> bool"""
1197 return _IMP_domino._IntArray___eq__(self, o)
1200 def __ne__(self, o):
1201 """__ne__(_IntArray self, _IntArray o) -> bool"""
1202 return _IMP_domino._IntArray___ne__(self, o)
1205 def __lt__(self, o):
1206 """__lt__(_IntArray self, _IntArray o) -> bool"""
1207 return _IMP_domino._IntArray___lt__(self, o)
1210 def __gt__(self, o):
1211 """__gt__(_IntArray self, _IntArray o) -> bool"""
1212 return _IMP_domino._IntArray___gt__(self, o)
1215 def __ge__(self, o):
1216 """__ge__(_IntArray self, _IntArray o) -> bool"""
1217 return _IMP_domino._IntArray___ge__(self, o)
1220 def __le__(self, o):
1221 """__le__(_IntArray self, _IntArray o) -> bool"""
1222 return _IMP_domino._IntArray___le__(self, o)
1225 def __getitem__(self, i):
1226 """__getitem__(_IntArray self, unsigned int i) -> int"""
1227 return _IMP_domino._IntArray___getitem__(self, i)
1231 """__len__(_IntArray self) -> unsigned int"""
1232 return _IMP_domino._IntArray___len__(self)
1235 def show(self, *args):
1237 show(_IntArray self, _ostream out)
1238 show(_IntArray self)
1240 return _IMP_domino._IntArray_show(self, *args)
1244 """__hash__(_IntArray self) -> std::size_t"""
1245 return _IMP_domino._IntArray___hash__(self)
1247 _IntArray_swigregister = _IMP_domino._IntArray_swigregister
1248 _IntArray_swigregister(_IntArray)
1250 class _UIntArray(IMP._Value):
1251 """Proxy of C++ IMP::ConstVector<(unsigned int)> class"""
1252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1253 __repr__ = _swig_repr
1254 __swig_destroy__ = _IMP_domino.delete__UIntArray
1255 __del__ =
lambda self:
None
1257 def __init__(self, *args):
1259 __init__(IMP::ConstVector<(unsigned int)> self, unsigned int sz, unsigned int fill) -> _UIntArray
1260 __init__(IMP::ConstVector<(unsigned int)> self) -> _UIntArray
1262 this = _IMP_domino.new__UIntArray(*args)
1264 self.this.append(this)
1268 def __cmp__(self, o):
1269 """__cmp__(_UIntArray self, _UIntArray o) -> int"""
1270 return _IMP_domino._UIntArray___cmp__(self, o)
1273 def __eq__(self, o):
1274 """__eq__(_UIntArray self, _UIntArray o) -> bool"""
1275 return _IMP_domino._UIntArray___eq__(self, o)
1278 def __ne__(self, o):
1279 """__ne__(_UIntArray self, _UIntArray o) -> bool"""
1280 return _IMP_domino._UIntArray___ne__(self, o)
1283 def __lt__(self, o):
1284 """__lt__(_UIntArray self, _UIntArray o) -> bool"""
1285 return _IMP_domino._UIntArray___lt__(self, o)
1288 def __gt__(self, o):
1289 """__gt__(_UIntArray self, _UIntArray o) -> bool"""
1290 return _IMP_domino._UIntArray___gt__(self, o)
1293 def __ge__(self, o):
1294 """__ge__(_UIntArray self, _UIntArray o) -> bool"""
1295 return _IMP_domino._UIntArray___ge__(self, o)
1298 def __le__(self, o):
1299 """__le__(_UIntArray self, _UIntArray o) -> bool"""
1300 return _IMP_domino._UIntArray___le__(self, o)
1303 def __getitem__(self, i):
1304 """__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1305 return _IMP_domino._UIntArray___getitem__(self, i)
1309 """__len__(_UIntArray self) -> unsigned int"""
1310 return _IMP_domino._UIntArray___len__(self)
1313 def show(self, *args):
1315 show(_UIntArray self, _ostream out)
1316 show(_UIntArray self)
1318 return _IMP_domino._UIntArray_show(self, *args)
1322 """__hash__(_UIntArray self) -> std::size_t"""
1323 return _IMP_domino._UIntArray___hash__(self)
1325 _UIntArray_swigregister = _IMP_domino._UIntArray_swigregister
1326 _UIntArray_swigregister(_UIntArray)
1328 class _ParticleArray(IMP._Value):
1329 """Proxy of C++ IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> class"""
1330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1331 __repr__ = _swig_repr
1332 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1333 __del__ =
lambda self:
None
1335 def __init__(self, *args):
1337 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1338 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self) -> _ParticleArray
1340 this = _IMP_domino.new__ParticleArray(*args)
1342 self.this.append(this)
1346 def __cmp__(self, o):
1347 """__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1348 return _IMP_domino._ParticleArray___cmp__(self, o)
1351 def __eq__(self, o):
1352 """__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1353 return _IMP_domino._ParticleArray___eq__(self, o)
1356 def __ne__(self, o):
1357 """__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1358 return _IMP_domino._ParticleArray___ne__(self, o)
1361 def __lt__(self, o):
1362 """__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1363 return _IMP_domino._ParticleArray___lt__(self, o)
1366 def __gt__(self, o):
1367 """__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1368 return _IMP_domino._ParticleArray___gt__(self, o)
1371 def __ge__(self, o):
1372 """__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1373 return _IMP_domino._ParticleArray___ge__(self, o)
1376 def __le__(self, o):
1377 """__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1378 return _IMP_domino._ParticleArray___le__(self, o)
1381 def __getitem__(self, i):
1382 """__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1383 return _IMP_domino._ParticleArray___getitem__(self, i)
1387 """__len__(_ParticleArray self) -> unsigned int"""
1388 return _IMP_domino._ParticleArray___len__(self)
1391 def show(self, *args):
1393 show(_ParticleArray self, _ostream out)
1394 show(_ParticleArray self)
1396 return _IMP_domino._ParticleArray_show(self, *args)
1400 """__hash__(_ParticleArray self) -> std::size_t"""
1401 return _IMP_domino._ParticleArray___hash__(self)
1403 _ParticleArray_swigregister = _IMP_domino._ParticleArray_swigregister
1404 _ParticleArray_swigregister(_ParticleArray)
1406 class Subset(_ParticleArray):
1407 """Proxy of C++ IMP::domino::Subset class"""
1408 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1410 def __init__(self, *args):
1412 __init__(IMP::domino::Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1413 __init__(IMP::domino::Subset self) -> Subset
1414 __init__(IMP::domino::Subset self, IMP::ParticlesTemp ps) -> Subset
1416 this = _IMP_domino.new_Subset(*args)
1418 self.this.append(this)
1422 def get_model(self):
1423 """get_model(Subset self) -> Model"""
1424 return _IMP_domino.Subset_get_model(self)
1428 """get_name(Subset self) -> std::string"""
1429 return _IMP_domino.Subset_get_name(self)
1432 def get_contains(self, o):
1433 """get_contains(Subset self, Subset o) -> bool"""
1434 return _IMP_domino.Subset_get_contains(self, o)
1438 """__str__(Subset self) -> std::string"""
1439 return _IMP_domino.Subset___str__(self)
1443 """__repr__(Subset self) -> std::string"""
1444 return _IMP_domino.Subset___repr__(self)
1446 __swig_destroy__ = _IMP_domino.delete_Subset
1447 __del__ =
lambda self:
None
1448 Subset_swigregister = _IMP_domino.Subset_swigregister
1449 Subset_swigregister(Subset)
1453 """get_union(Subset a, Subset b) -> Subset"""
1454 return _IMP_domino.get_union(a, b)
1457 """get_intersection(Subset a, Subset b) -> Subset"""
1458 return _IMP_domino.get_intersection(a, b)
1460 def get_difference(a, b):
1461 """get_difference(Subset a, Subset b) -> Subset"""
1462 return _IMP_domino.get_difference(a, b)
1463 class Assignment(_IntArray):
1464 """Proxy of C++ IMP::domino::Assignment class"""
1465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1467 def __init__(self, *args):
1469 __init__(IMP::domino::Assignment self) -> Assignment
1470 __init__(IMP::domino::Assignment self, unsigned int sz) -> Assignment
1471 __init__(IMP::domino::Assignment self, IMP::Ints const & i) -> Assignment
1473 this = _IMP_domino.new_Assignment(*args)
1475 self.this.append(this)
1480 """__str__(Assignment self) -> std::string"""
1481 return _IMP_domino.Assignment___str__(self)
1485 """__repr__(Assignment self) -> std::string"""
1486 return _IMP_domino.Assignment___repr__(self)
1488 __swig_destroy__ = _IMP_domino.delete_Assignment
1489 __del__ =
lambda self:
None
1490 Assignment_swigregister = _IMP_domino.Assignment_swigregister
1491 Assignment_swigregister(Assignment)
1493 class Slice(_UIntArray):
1494 """Proxy of C++ IMP::domino::Slice class"""
1495 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1497 def __init__(self, *args):
1499 __init__(IMP::domino::Slice self) -> Slice
1500 __init__(IMP::domino::Slice self, Subset outer, Subset inner) -> Slice
1502 this = _IMP_domino.new_Slice(*args)
1504 self.this.append(this)
1508 def get_sliced(self, *args):
1510 get_sliced(Slice self, Assignment a) -> Assignment
1511 get_sliced(Slice self, Subset a) -> Subset
1513 return _IMP_domino.Slice_get_sliced(self, *args)
1517 """__str__(Slice self) -> std::string"""
1518 return _IMP_domino.Slice___str__(self)
1522 """__repr__(Slice self) -> std::string"""
1523 return _IMP_domino.Slice___repr__(self)
1525 __swig_destroy__ = _IMP_domino.delete_Slice
1526 __del__ =
lambda self:
None
1527 Slice_swigregister = _IMP_domino.Slice_swigregister
1528 Slice_swigregister(Slice)
1532 """get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1533 return _IMP_domino.get_slice(outer, inner, excluded)
1534 class Order(_UIntArray):
1535 """Proxy of C++ IMP::domino::Order class"""
1536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1538 def __init__(self, *args):
1540 __init__(IMP::domino::Order self) -> Order
1541 __init__(IMP::domino::Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1543 this = _IMP_domino.new_Order(*args)
1545 self.this.append(this)
1549 def get_list_ordered(self, a):
1550 """get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1551 return _IMP_domino.Order_get_list_ordered(self, a)
1554 def get_subset_ordered(self, a):
1555 """get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1556 return _IMP_domino.Order_get_subset_ordered(self, a)
1560 """__str__(Order self) -> std::string"""
1561 return _IMP_domino.Order___str__(self)
1565 """__repr__(Order self) -> std::string"""
1566 return _IMP_domino.Order___repr__(self)
1568 __swig_destroy__ = _IMP_domino.delete_Order
1569 __del__ =
lambda self:
None
1570 Order_swigregister = _IMP_domino.Order_swigregister
1571 Order_swigregister(Order)
1574 """Proxy of C++ IMP::domino::ParticleStates class"""
1575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1577 def __init__(self, *args):
1579 __init__(IMP::domino::ParticleStates self, std::string name) -> ParticleStates
1580 __init__(IMP::domino::ParticleStates self) -> ParticleStates
1582 if self.__class__ == ParticleStates:
1586 this = _IMP_domino.new_ParticleStates(_self, *args)
1588 self.this.append(this)
1591 if self.__class__ != ParticleStates:
1592 _director_objects.register(self)
1597 def get_number_of_particle_states(self):
1598 """get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1599 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1602 def load_particle_state(self, arg0, arg1):
1603 """load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1604 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1608 """get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1609 return _IMP_domino.ParticleStates_get_embedding(self, i)
1612 def get_nearest_state(self, v):
1613 """get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1614 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1616 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1617 __del__ =
lambda self:
None
1620 """__str__(ParticleStates self) -> std::string"""
1621 return _IMP_domino.ParticleStates___str__(self)
1625 """__repr__(ParticleStates self) -> std::string"""
1626 return _IMP_domino.ParticleStates___repr__(self)
1629 return _object_cast_to_ParticleStates(o)
1630 get_from = staticmethod(get_from)
1632 def get_type_name(self):
1633 return self.__class__.__name__
1634 def do_show(self, out):
1636 def get_version_info(self):
1637 if"IMP::domino" ==
"IMP":
1638 return VersionInfo(self.__module__,
1639 __import__(self.__module__).get_module_version())
1642 __import__(self.__module__).get_module_version())
1644 return _object_cast_to_ParticleStates(o)
1645 get_from = staticmethod(get_from)
1647 def __disown__(self):
1649 _IMP_domino.disown_ParticleStates(self)
1650 return weakref_proxy(self)
1652 def do_destroy(self):
1653 """do_destroy(ParticleStates self)"""
1654 return _IMP_domino.ParticleStates_do_destroy(self)
1656 ParticleStates_swigregister = _IMP_domino.ParticleStates_swigregister
1657 ParticleStates_swigregister(ParticleStates)
1660 """Proxy of C++ IMP::domino::ParticleStatesTable class"""
1661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1664 """__init__(IMP::domino::ParticleStatesTable self) -> ParticleStatesTable"""
1665 this = _IMP_domino.new_ParticleStatesTable()
1667 self.this.append(this)
1671 def get_particle_states(self, p):
1672 """get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1673 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1676 def get_has_particle(self, p):
1677 """get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1678 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1682 """get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1683 return _IMP_domino.ParticleStatesTable_get_particles(self)
1686 def get_subset(self):
1687 """get_subset(ParticleStatesTable self) -> Subset"""
1688 return _IMP_domino.ParticleStatesTable_get_subset(self)
1691 def set_particle_states(self, p, e):
1692 """set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1693 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1696 def get_version_info(self):
1697 """get_version_info(ParticleStatesTable self) -> VersionInfo"""
1698 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1702 """__str__(ParticleStatesTable self) -> std::string"""
1703 return _IMP_domino.ParticleStatesTable___str__(self)
1707 """__repr__(ParticleStatesTable self) -> std::string"""
1708 return _IMP_domino.ParticleStatesTable___repr__(self)
1711 return _object_cast_to_ParticleStatesTable(o)
1712 get_from = staticmethod(get_from)
1714 ParticleStatesTable_swigregister = _IMP_domino.ParticleStatesTable_swigregister
1715 ParticleStatesTable_swigregister(ParticleStatesTable)
1717 class IndexStates(ParticleStates):
1718 """Proxy of C++ IMP::domino::IndexStates class"""
1719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1721 def __init__(self, *args):
1723 __init__(IMP::domino::IndexStates self, unsigned int n, IntKey k) -> IndexStates
1724 __init__(IMP::domino::IndexStates self, unsigned int n) -> IndexStates
1726 this = _IMP_domino.new_IndexStates(*args)
1728 self.this.append(this)
1732 def get_version_info(self):
1733 """get_version_info(IndexStates self) -> VersionInfo"""
1734 return _IMP_domino.IndexStates_get_version_info(self)
1738 """__str__(IndexStates self) -> std::string"""
1739 return _IMP_domino.IndexStates___str__(self)
1743 """__repr__(IndexStates self) -> std::string"""
1744 return _IMP_domino.IndexStates___repr__(self)
1747 return _object_cast_to_IndexStates(o)
1748 get_from = staticmethod(get_from)
1750 IndexStates_swigregister = _IMP_domino.IndexStates_swigregister
1751 IndexStates_swigregister(IndexStates)
1753 class XYZStates(ParticleStates):
1754 """Proxy of C++ IMP::domino::XYZStates class"""
1755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1757 def __init__(self, states):
1758 """__init__(IMP::domino::XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1759 this = _IMP_domino.new_XYZStates(states)
1761 self.this.append(this)
1765 def get_vector(self, i):
1766 """get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1767 return _IMP_domino.XYZStates_get_vector(self, i)
1770 def get_version_info(self):
1771 """get_version_info(XYZStates self) -> VersionInfo"""
1772 return _IMP_domino.XYZStates_get_version_info(self)
1776 """__str__(XYZStates self) -> std::string"""
1777 return _IMP_domino.XYZStates___str__(self)
1781 """__repr__(XYZStates self) -> std::string"""
1782 return _IMP_domino.XYZStates___repr__(self)
1785 return _object_cast_to_XYZStates(o)
1786 get_from = staticmethod(get_from)
1788 XYZStates_swigregister = _IMP_domino.XYZStates_swigregister
1789 XYZStates_swigregister(XYZStates)
1791 class RigidBodyStates(ParticleStates):
1792 """Proxy of C++ IMP::domino::RigidBodyStates class"""
1793 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1795 def __init__(self, states, scale=1):
1797 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates
1798 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states) -> RigidBodyStates
1800 this = _IMP_domino.new_RigidBodyStates(states, scale)
1802 self.this.append(this)
1806 def get_reference_frame(self, i):
1807 """get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1808 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1811 def get_version_info(self):
1812 """get_version_info(RigidBodyStates self) -> VersionInfo"""
1813 return _IMP_domino.RigidBodyStates_get_version_info(self)
1817 """__str__(RigidBodyStates self) -> std::string"""
1818 return _IMP_domino.RigidBodyStates___str__(self)
1822 """__repr__(RigidBodyStates self) -> std::string"""
1823 return _IMP_domino.RigidBodyStates___repr__(self)
1826 return _object_cast_to_RigidBodyStates(o)
1827 get_from = staticmethod(get_from)
1829 RigidBodyStates_swigregister = _IMP_domino.RigidBodyStates_swigregister
1830 RigidBodyStates_swigregister(RigidBodyStates)
1832 class NestedRigidBodyStates(ParticleStates):
1833 """Proxy of C++ IMP::domino::NestedRigidBodyStates class"""
1834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1836 def __init__(self, states, scale=100):
1838 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates
1839 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states) -> NestedRigidBodyStates
1841 this = _IMP_domino.new_NestedRigidBodyStates(states, scale)
1843 self.this.append(this)
1847 def get_transformation(self, i):
1848 """get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1849 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1852 def get_version_info(self):
1853 """get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1854 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1858 """__str__(NestedRigidBodyStates self) -> std::string"""
1859 return _IMP_domino.NestedRigidBodyStates___str__(self)
1863 """__repr__(NestedRigidBodyStates self) -> std::string"""
1864 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1867 return _object_cast_to_NestedRigidBodyStates(o)
1868 get_from = staticmethod(get_from)
1870 NestedRigidBodyStates_swigregister = _IMP_domino.NestedRigidBodyStates_swigregister
1871 NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1873 class CompoundStates(ParticleStates):
1874 """Proxy of C++ IMP::domino::CompoundStates class"""
1875 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1877 def __init__(self, a, b):
1878 """__init__(IMP::domino::CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1879 this = _IMP_domino.new_CompoundStates(a, b)
1881 self.this.append(this)
1885 def get_version_info(self):
1886 """get_version_info(CompoundStates self) -> VersionInfo"""
1887 return _IMP_domino.CompoundStates_get_version_info(self)
1891 """__str__(CompoundStates self) -> std::string"""
1892 return _IMP_domino.CompoundStates___str__(self)
1896 """__repr__(CompoundStates self) -> std::string"""
1897 return _IMP_domino.CompoundStates___repr__(self)
1900 return _object_cast_to_CompoundStates(o)
1901 get_from = staticmethod(get_from)
1903 CompoundStates_swigregister = _IMP_domino.CompoundStates_swigregister
1904 CompoundStates_swigregister(CompoundStates)
1906 class RecursiveStates(ParticleStates):
1907 """Proxy of C++ IMP::domino::RecursiveStates class"""
1908 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1910 def __init__(self, p, s, ss, pst):
1911 """__init__(IMP::domino::RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1912 this = _IMP_domino.new_RecursiveStates(p, s, ss, pst)
1914 self.this.append(this)
1918 def get_version_info(self):
1919 """get_version_info(RecursiveStates self) -> VersionInfo"""
1920 return _IMP_domino.RecursiveStates_get_version_info(self)
1924 """__str__(RecursiveStates self) -> std::string"""
1925 return _IMP_domino.RecursiveStates___str__(self)
1929 """__repr__(RecursiveStates self) -> std::string"""
1930 return _IMP_domino.RecursiveStates___repr__(self)
1933 return _object_cast_to_RecursiveStates(o)
1934 get_from = staticmethod(get_from)
1936 RecursiveStates_swigregister = _IMP_domino.RecursiveStates_swigregister
1937 RecursiveStates_swigregister(RecursiveStates)
1939 class PermutationStates(ParticleStates):
1940 """Proxy of C++ IMP::domino::PermutationStates class"""
1941 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1943 def __init__(self, inner):
1944 """__init__(IMP::domino::PermutationStates self, ParticleStates inner) -> PermutationStates"""
1945 this = _IMP_domino.new_PermutationStates(inner)
1947 self.this.append(this)
1951 def get_inner_state(self, i):
1952 """get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1953 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1956 def get_version_info(self):
1957 """get_version_info(PermutationStates self) -> VersionInfo"""
1958 return _IMP_domino.PermutationStates_get_version_info(self)
1962 """__str__(PermutationStates self) -> std::string"""
1963 return _IMP_domino.PermutationStates___str__(self)
1967 """__repr__(PermutationStates self) -> std::string"""
1968 return _IMP_domino.PermutationStates___repr__(self)
1971 return _object_cast_to_PermutationStates(o)
1972 get_from = staticmethod(get_from)
1974 PermutationStates_swigregister = _IMP_domino.PermutationStates_swigregister
1975 PermutationStates_swigregister(PermutationStates)
1977 class _ParticlesAdaptor(IMP._InputAdaptor):
1978 """Proxy of C++ IMP::domino::ParticlesAdaptor class"""
1979 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1980 __repr__ = _swig_repr
1982 def __init__(self, *args):
1984 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1985 __init__(IMP::domino::ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1987 this = _IMP_domino.new__ParticlesAdaptor(*args)
1989 self.this.append(this)
1992 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1993 __del__ =
lambda self:
None
1994 _ParticlesAdaptor_swigregister = _IMP_domino._ParticlesAdaptor_swigregister
1995 _ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1998 """Proxy of C++ IMP::domino::RestraintCache class"""
1999 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2001 def __init__(self, *args):
2003 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst, unsigned int size) -> RestraintCache
2004 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst) -> RestraintCache
2006 this = _IMP_domino.new_RestraintCache(*args)
2008 self.this.append(this)
2013 """add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
2014 return _IMP_domino.RestraintCache_add_restraints(self, rs)
2017 def get_score(self, *args):
2019 get_score(RestraintCache self, Restraint r, Assignment a) -> double
2020 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
2022 return _IMP_domino.RestraintCache_get_score(self, *args)
2025 def load_last_score(self, r, s, a):
2026 """load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
2027 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
2030 def get_restraints(self, *args):
2032 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
2033 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
2035 return _IMP_domino.RestraintCache_get_restraints(self, *args)
2038 def save_cache(self, particle_ordering, restraints, group, max_entries):
2039 """save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
2040 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
2043 def load_cache(self, ps, group):
2044 """load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
2045 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
2049 """get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
2050 return _IMP_domino.RestraintCache_get_slice(self, r, s)
2053 def get_number_of_entries(self):
2054 """get_number_of_entries(RestraintCache self) -> unsigned int"""
2055 return _IMP_domino.RestraintCache_get_number_of_entries(self)
2059 """validate(RestraintCache self)"""
2060 return _IMP_domino.RestraintCache_validate(self)
2063 def show_restraint_information(self, *args):
2065 show_restraint_information(RestraintCache self, _ostream out)
2066 show_restraint_information(RestraintCache self)
2068 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
2071 def get_hit_rate(self):
2072 """get_hit_rate(RestraintCache self) -> double"""
2073 return _IMP_domino.RestraintCache_get_hit_rate(self)
2076 def get_version_info(self):
2077 """get_version_info(RestraintCache self) -> VersionInfo"""
2078 return _IMP_domino.RestraintCache_get_version_info(self)
2082 """__str__(RestraintCache self) -> std::string"""
2083 return _IMP_domino.RestraintCache___str__(self)
2087 """__repr__(RestraintCache self) -> std::string"""
2088 return _IMP_domino.RestraintCache___repr__(self)
2091 return _object_cast_to_RestraintCache(o)
2092 get_from = staticmethod(get_from)
2094 RestraintCache_swigregister = _IMP_domino.RestraintCache_swigregister
2095 RestraintCache_swigregister(RestraintCache)
2098 """Proxy of C++ IMP::domino::SubsetFilter class"""
2099 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2101 def __init__(self, *args):
2103 __init__(IMP::domino::SubsetFilter self, std::string name) -> SubsetFilter
2104 __init__(IMP::domino::SubsetFilter self) -> SubsetFilter
2106 if self.__class__ == SubsetFilter:
2110 this = _IMP_domino.new_SubsetFilter(_self, *args)
2112 self.this.append(this)
2115 if self.__class__ != SubsetFilter:
2116 _director_objects.register(self)
2121 def get_is_ok(self, state):
2122 """get_is_ok(SubsetFilter self, Assignment state) -> bool"""
2123 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
2126 def get_next_state(self, pos, state):
2127 """get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
2128 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
2130 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
2131 __del__ =
lambda self:
None
2134 """__str__(SubsetFilter self) -> std::string"""
2135 return _IMP_domino.SubsetFilter___str__(self)
2139 """__repr__(SubsetFilter self) -> std::string"""
2140 return _IMP_domino.SubsetFilter___repr__(self)
2143 return _object_cast_to_SubsetFilter(o)
2144 get_from = staticmethod(get_from)
2146 def get_type_name(self):
2147 return self.__class__.__name__
2148 def do_show(self, out):
2150 def get_version_info(self):
2151 if"IMP::domino" ==
"IMP":
2152 return VersionInfo(self.__module__,
2153 __import__(self.__module__).get_module_version())
2156 __import__(self.__module__).get_module_version())
2158 return _object_cast_to_SubsetFilter(o)
2159 get_from = staticmethod(get_from)
2161 def __disown__(self):
2163 _IMP_domino.disown_SubsetFilter(self)
2164 return weakref_proxy(self)
2166 def do_destroy(self):
2167 """do_destroy(SubsetFilter self)"""
2168 return _IMP_domino.SubsetFilter_do_destroy(self)
2170 SubsetFilter_swigregister = _IMP_domino.SubsetFilter_swigregister
2171 SubsetFilter_swigregister(SubsetFilter)
2174 """Proxy of C++ IMP::domino::SubsetFilterTable class"""
2175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2177 def __init__(self, *args):
2179 __init__(IMP::domino::SubsetFilterTable self, std::string name) -> SubsetFilterTable
2180 __init__(IMP::domino::SubsetFilterTable self) -> SubsetFilterTable
2182 if self.__class__ == SubsetFilterTable:
2186 this = _IMP_domino.new_SubsetFilterTable(_self, *args)
2188 self.this.append(this)
2191 if self.__class__ != SubsetFilterTable:
2192 _director_objects.register(self)
2197 def get_subset_filter(self, s, prior_subsets):
2198 """get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2199 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2202 def get_strength(self, s, prior_subsets):
2203 """get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2204 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2206 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2207 __del__ =
lambda self:
None
2210 """__str__(SubsetFilterTable self) -> std::string"""
2211 return _IMP_domino.SubsetFilterTable___str__(self)
2215 """__repr__(SubsetFilterTable self) -> std::string"""
2216 return _IMP_domino.SubsetFilterTable___repr__(self)
2219 return _object_cast_to_SubsetFilterTable(o)
2220 get_from = staticmethod(get_from)
2222 def get_type_name(self):
2223 return self.__class__.__name__
2224 def do_show(self, out):
2226 def get_version_info(self):
2227 if"IMP::domino" ==
"IMP":
2228 return VersionInfo(self.__module__,
2229 __import__(self.__module__).get_module_version())
2232 __import__(self.__module__).get_module_version())
2234 return _object_cast_to_SubsetFilterTable(o)
2235 get_from = staticmethod(get_from)
2237 def __disown__(self):
2239 _IMP_domino.disown_SubsetFilterTable(self)
2240 return weakref_proxy(self)
2242 def do_destroy(self):
2243 """do_destroy(SubsetFilterTable self)"""
2244 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2246 SubsetFilterTable_swigregister = _IMP_domino.SubsetFilterTable_swigregister
2247 SubsetFilterTable_swigregister(SubsetFilterTable)
2249 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2250 """Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class"""
2251 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2253 def __init__(self, *args):
2255 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2256 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2258 this = _IMP_domino.new_RestraintScoreSubsetFilterTable(*args)
2260 self.this.append(this)
2264 def get_version_info(self):
2265 """get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2266 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2270 """__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2271 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2275 """__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2276 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2279 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2280 get_from = staticmethod(get_from)
2282 RestraintScoreSubsetFilterTable_swigregister = _IMP_domino.RestraintScoreSubsetFilterTable_swigregister
2283 RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2285 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2286 """Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class"""
2287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2289 def __init__(self, rs, rc, max_number_allowed_violations):
2290 """__init__(IMP::domino::MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2291 this = _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations)
2293 self.this.append(this)
2297 def get_maximum_number_of_violated_restraints(self):
2298 """get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2299 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2302 def get_version_info(self):
2303 """get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2304 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2308 """__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2309 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2313 """__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2314 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2317 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2318 get_from = staticmethod(get_from)
2320 MinimumRestraintScoreSubsetFilterTable_swigregister = _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister
2321 MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2323 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2324 """Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class"""
2325 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2327 def __init__(self, *args, **kwargs):
2328 raise AttributeError(
"No constructor defined - class is abstract")
2330 def add_set(self, ps):
2331 """add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2332 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2335 def add_pair(self, pp):
2336 """add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2337 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2341 """__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2342 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2346 """__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2347 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2350 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2351 get_from = staticmethod(get_from)
2353 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2354 __del__ =
lambda self:
None
2355 DisjointSetsSubsetFilterTable_swigregister = _IMP_domino.DisjointSetsSubsetFilterTable_swigregister
2356 DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2358 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2359 """Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class"""
2360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2362 def __init__(self, *args):
2364 __init__(IMP::domino::ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2365 __init__(IMP::domino::ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2367 this = _IMP_domino.new_ExclusionSubsetFilterTable(*args)
2369 self.this.append(this)
2373 def get_version_info(self):
2374 """get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2375 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2379 """__str__(ExclusionSubsetFilterTable self) -> std::string"""
2380 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2384 """__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2385 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2388 return _object_cast_to_ExclusionSubsetFilterTable(o)
2389 get_from = staticmethod(get_from)
2391 ExclusionSubsetFilterTable_swigregister = _IMP_domino.ExclusionSubsetFilterTable_swigregister
2392 ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2394 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2395 """Proxy of C++ IMP::domino::EqualitySubsetFilterTable class"""
2396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2398 def __init__(self, *args):
2400 __init__(IMP::domino::EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2401 __init__(IMP::domino::EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2403 this = _IMP_domino.new_EqualitySubsetFilterTable(*args)
2405 self.this.append(this)
2409 def get_version_info(self):
2410 """get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2411 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2415 """__str__(EqualitySubsetFilterTable self) -> std::string"""
2416 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2420 """__repr__(EqualitySubsetFilterTable self) -> std::string"""
2421 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2424 return _object_cast_to_EqualitySubsetFilterTable(o)
2425 get_from = staticmethod(get_from)
2427 EqualitySubsetFilterTable_swigregister = _IMP_domino.EqualitySubsetFilterTable_swigregister
2428 EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2430 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2431 """Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class"""
2432 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2434 def __init__(self, *args):
2436 __init__(IMP::domino::EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2437 __init__(IMP::domino::EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2439 this = _IMP_domino.new_EquivalenceSubsetFilterTable(*args)
2441 self.this.append(this)
2445 def get_version_info(self):
2446 """get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2447 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2451 """__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2452 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2456 """__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2457 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2460 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2461 get_from = staticmethod(get_from)
2463 EquivalenceSubsetFilterTable_swigregister = _IMP_domino.EquivalenceSubsetFilterTable_swigregister
2464 EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2466 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2467 """Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class"""
2468 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2470 def __init__(self, *args):
2472 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2473 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2475 this = _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args)
2477 self.this.append(this)
2481 def get_version_info(self):
2482 """get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2483 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2487 """__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2488 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2492 """__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2493 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2496 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2497 get_from = staticmethod(get_from)
2499 EquivalenceAndExclusionSubsetFilterTable_swigregister = _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister
2500 EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2502 class ListSubsetFilterTable(SubsetFilterTable):
2503 """Proxy of C++ IMP::domino::ListSubsetFilterTable 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, pst):
2507 """__init__(IMP::domino::ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2508 this = _IMP_domino.new_ListSubsetFilterTable(pst)
2510 self.this.append(this)
2514 def get_ok_rate(self):
2515 """get_ok_rate(ListSubsetFilterTable self) -> double"""
2516 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2519 def get_number_of_particle_states(self, p):
2520 """get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2521 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2524 def set_allowed_states(self, p, states):
2525 """set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2526 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2529 def get_version_info(self):
2530 """get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2531 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2535 """__str__(ListSubsetFilterTable self) -> std::string"""
2536 return _IMP_domino.ListSubsetFilterTable___str__(self)
2540 """__repr__(ListSubsetFilterTable self) -> std::string"""
2541 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2544 return _object_cast_to_ListSubsetFilterTable(o)
2545 get_from = staticmethod(get_from)
2547 ListSubsetFilterTable_swigregister = _IMP_domino.ListSubsetFilterTable_swigregister
2548 ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2550 class PairListSubsetFilterTable(SubsetFilterTable):
2551 """Proxy of C++ IMP::domino::PairListSubsetFilterTable class"""
2552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2555 """__init__(IMP::domino::PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2556 this = _IMP_domino.new_PairListSubsetFilterTable()
2558 self.this.append(this)
2562 def set_allowed_states(self, p, states):
2563 """set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2564 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2567 def get_version_info(self):
2568 """get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2569 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2573 """__str__(PairListSubsetFilterTable self) -> std::string"""
2574 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2578 """__repr__(PairListSubsetFilterTable self) -> std::string"""
2579 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2582 return _object_cast_to_PairListSubsetFilterTable(o)
2583 get_from = staticmethod(get_from)
2585 PairListSubsetFilterTable_swigregister = _IMP_domino.PairListSubsetFilterTable_swigregister
2586 PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2588 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2589 """Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class"""
2590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2592 def __init__(self, p, leaves_only=False):
2594 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable
2595 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p) -> ProbabilisticSubsetFilterTable
2597 this = _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only)
2599 self.this.append(this)
2603 def get_version_info(self):
2604 """get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2605 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2609 """__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2610 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2614 """__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2615 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2618 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2619 get_from = staticmethod(get_from)
2621 ProbabilisticSubsetFilterTable_swigregister = _IMP_domino.ProbabilisticSubsetFilterTable_swigregister
2622 ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2625 """Proxy of C++ IMP::domino::AssignmentContainer class"""
2626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2628 def __init__(self, *args):
2630 __init__(IMP::domino::AssignmentContainer self, std::string name) -> AssignmentContainer
2631 __init__(IMP::domino::AssignmentContainer self) -> AssignmentContainer
2633 if self.__class__ == AssignmentContainer:
2637 this = _IMP_domino.new_AssignmentContainer(_self, *args)
2639 self.this.append(this)
2642 if self.__class__ != AssignmentContainer:
2643 _director_objects.register(self)
2648 def get_number_of_assignments(self):
2649 """get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2650 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2653 def get_assignment(self, i):
2654 """get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2655 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2658 def get_assignments(self, *args):
2660 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2661 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2663 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2666 def add_assignment(self, a):
2667 """add_assignment(AssignmentContainer self, Assignment a)"""
2668 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2671 def add_assignments(self, asgn):
2672 """add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2673 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2676 def get_particle_assignments(self, i):
2677 """get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2678 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2680 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2681 __del__ =
lambda self:
None
2684 """__str__(AssignmentContainer self) -> std::string"""
2685 return _IMP_domino.AssignmentContainer___str__(self)
2689 """__repr__(AssignmentContainer self) -> std::string"""
2690 return _IMP_domino.AssignmentContainer___repr__(self)
2693 return _object_cast_to_AssignmentContainer(o)
2694 get_from = staticmethod(get_from)
2696 def get_type_name(self):
2697 return self.__class__.__name__
2698 def do_show(self, out):
2700 def get_version_info(self):
2701 if"IMP::domino" ==
"IMP":
2702 return VersionInfo(self.__module__,
2703 __import__(self.__module__).get_module_version())
2706 __import__(self.__module__).get_module_version())
2708 return _object_cast_to_AssignmentContainer(o)
2709 get_from = staticmethod(get_from)
2711 def __disown__(self):
2713 _IMP_domino.disown_AssignmentContainer(self)
2714 return weakref_proxy(self)
2716 def do_destroy(self):
2717 """do_destroy(AssignmentContainer self)"""
2718 return _IMP_domino.AssignmentContainer_do_destroy(self)
2720 AssignmentContainer_swigregister = _IMP_domino.AssignmentContainer_swigregister
2721 AssignmentContainer_swigregister(AssignmentContainer)
2723 class PackedAssignmentContainer(AssignmentContainer):
2724 """Proxy of C++ IMP::domino::PackedAssignmentContainer class"""
2725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2727 def __init__(self, *args):
2729 __init__(IMP::domino::PackedAssignmentContainer self, std::string name) -> PackedAssignmentContainer
2730 __init__(IMP::domino::PackedAssignmentContainer self) -> PackedAssignmentContainer
2732 this = _IMP_domino.new_PackedAssignmentContainer(*args)
2734 self.this.append(this)
2738 def get_assignments(self, *args):
2740 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2741 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2743 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2746 def get_version_info(self):
2747 """get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2748 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2752 """__str__(PackedAssignmentContainer self) -> std::string"""
2753 return _IMP_domino.PackedAssignmentContainer___str__(self)
2757 """__repr__(PackedAssignmentContainer self) -> std::string"""
2758 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2761 return _object_cast_to_PackedAssignmentContainer(o)
2762 get_from = staticmethod(get_from)
2764 PackedAssignmentContainer_swigregister = _IMP_domino.PackedAssignmentContainer_swigregister
2765 PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2767 class ListAssignmentContainer(AssignmentContainer):
2768 """Proxy of C++ IMP::domino::ListAssignmentContainer class"""
2769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2771 def __init__(self, *args):
2773 __init__(IMP::domino::ListAssignmentContainer self, std::string name) -> ListAssignmentContainer
2774 __init__(IMP::domino::ListAssignmentContainer self) -> ListAssignmentContainer
2776 this = _IMP_domino.new_ListAssignmentContainer(*args)
2778 self.this.append(this)
2782 def get_assignments(self, *args):
2784 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2785 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2787 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2790 def get_version_info(self):
2791 """get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2792 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2796 """__str__(ListAssignmentContainer self) -> std::string"""
2797 return _IMP_domino.ListAssignmentContainer___str__(self)
2801 """__repr__(ListAssignmentContainer self) -> std::string"""
2802 return _IMP_domino.ListAssignmentContainer___repr__(self)
2805 return _object_cast_to_ListAssignmentContainer(o)
2806 get_from = staticmethod(get_from)
2808 ListAssignmentContainer_swigregister = _IMP_domino.ListAssignmentContainer_swigregister
2809 ListAssignmentContainer_swigregister(ListAssignmentContainer)
2811 class SampleAssignmentContainer(AssignmentContainer):
2812 """Proxy of C++ IMP::domino::SampleAssignmentContainer class"""
2813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2815 def __init__(self, *args):
2817 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k, std::string name) -> SampleAssignmentContainer
2818 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k) -> SampleAssignmentContainer
2820 this = _IMP_domino.new_SampleAssignmentContainer(*args)
2822 self.this.append(this)
2826 def get_assignments(self, *args):
2828 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2829 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2831 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2834 def get_version_info(self):
2835 """get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2836 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2840 """__str__(SampleAssignmentContainer self) -> std::string"""
2841 return _IMP_domino.SampleAssignmentContainer___str__(self)
2845 """__repr__(SampleAssignmentContainer self) -> std::string"""
2846 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2849 return _object_cast_to_SampleAssignmentContainer(o)
2850 get_from = staticmethod(get_from)
2852 SampleAssignmentContainer_swigregister = _IMP_domino.SampleAssignmentContainer_swigregister
2853 SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2855 class WriteHDF5AssignmentContainer(AssignmentContainer):
2856 """Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class"""
2857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2859 def __init__(self, *args):
2861 __init__(IMP::domino::WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2862 __init__(IMP::domino::WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2864 this = _IMP_domino.new_WriteHDF5AssignmentContainer(*args)
2866 self.this.append(this)
2870 def set_cache_size(self, words):
2871 """set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2872 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2875 def get_assignments(self, *args):
2877 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2878 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2880 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2883 def get_version_info(self):
2884 """get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2885 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2889 """__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2890 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2894 """__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2895 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2898 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2899 get_from = staticmethod(get_from)
2901 WriteHDF5AssignmentContainer_swigregister = _IMP_domino.WriteHDF5AssignmentContainer_swigregister
2902 WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2904 class ReadHDF5AssignmentContainer(AssignmentContainer):
2905 """Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class"""
2906 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2908 def __init__(self, dataset, s, all_particles, name):
2909 """__init__(IMP::domino::ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2910 this = _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name)
2912 self.this.append(this)
2916 def set_cache_size(self, words):
2917 """set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2918 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2921 def get_assignments(self, *args):
2923 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2924 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2926 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2929 def get_version_info(self):
2930 """get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2931 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2935 """__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2936 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2940 """__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2941 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2944 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2945 get_from = staticmethod(get_from)
2947 ReadHDF5AssignmentContainer_swigregister = _IMP_domino.ReadHDF5AssignmentContainer_swigregister
2948 ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2950 class WriteAssignmentContainer(AssignmentContainer):
2951 """Proxy of C++ IMP::domino::WriteAssignmentContainer class"""
2952 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2954 def __init__(self, out_file, s, all_particles, name):
2955 """__init__(IMP::domino::WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2956 this = _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name)
2958 self.this.append(this)
2962 def set_cache_size(self, words):
2963 """set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2964 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2967 def get_assignments(self, *args):
2969 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2970 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2972 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2975 def get_version_info(self):
2976 """get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2977 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2981 """__str__(WriteAssignmentContainer self) -> std::string"""
2982 return _IMP_domino.WriteAssignmentContainer___str__(self)
2986 """__repr__(WriteAssignmentContainer self) -> std::string"""
2987 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2990 return _object_cast_to_WriteAssignmentContainer(o)
2991 get_from = staticmethod(get_from)
2993 WriteAssignmentContainer_swigregister = _IMP_domino.WriteAssignmentContainer_swigregister
2994 WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2996 class ReadAssignmentContainer(AssignmentContainer):
2997 """Proxy of C++ IMP::domino::ReadAssignmentContainer class"""
2998 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3000 def __init__(self, out_file, s, all_particles, name):
3001 """__init__(IMP::domino::ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
3002 this = _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name)
3004 self.this.append(this)
3008 def set_cache_size(self, words):
3009 """set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
3010 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
3013 def get_assignments(self, *args):
3015 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3016 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
3018 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
3021 def get_version_info(self):
3022 """get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
3023 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
3027 """__str__(ReadAssignmentContainer self) -> std::string"""
3028 return _IMP_domino.ReadAssignmentContainer___str__(self)
3032 """__repr__(ReadAssignmentContainer self) -> std::string"""
3033 return _IMP_domino.ReadAssignmentContainer___repr__(self)
3036 return _object_cast_to_ReadAssignmentContainer(o)
3037 get_from = staticmethod(get_from)
3039 ReadAssignmentContainer_swigregister = _IMP_domino.ReadAssignmentContainer_swigregister
3040 ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
3042 class RangeViewAssignmentContainer(AssignmentContainer):
3043 """Proxy of C++ IMP::domino::RangeViewAssignmentContainer class"""
3044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3046 def __init__(self, inner, begin, end):
3047 """__init__(IMP::domino::RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
3048 this = _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end)
3050 self.this.append(this)
3054 def get_assignments(self, *args):
3056 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3057 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
3059 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
3062 def get_version_info(self):
3063 """get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
3064 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
3068 """__str__(RangeViewAssignmentContainer self) -> std::string"""
3069 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
3073 """__repr__(RangeViewAssignmentContainer self) -> std::string"""
3074 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
3077 return _object_cast_to_RangeViewAssignmentContainer(o)
3078 get_from = staticmethod(get_from)
3080 RangeViewAssignmentContainer_swigregister = _IMP_domino.RangeViewAssignmentContainer_swigregister
3081 RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
3083 class HeapAssignmentContainer(AssignmentContainer):
3084 """Proxy of C++ IMP::domino::HeapAssignmentContainer class"""
3085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3087 def __init__(self, *args):
3089 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name) -> HeapAssignmentContainer
3090 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf) -> HeapAssignmentContainer
3092 this = _IMP_domino.new_HeapAssignmentContainer(*args)
3094 self.this.append(this)
3098 def get_assignments(self, *args):
3100 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3101 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
3103 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
3106 def get_version_info(self):
3107 """get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
3108 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
3112 """__str__(HeapAssignmentContainer self) -> std::string"""
3113 return _IMP_domino.HeapAssignmentContainer___str__(self)
3117 """__repr__(HeapAssignmentContainer self) -> std::string"""
3118 return _IMP_domino.HeapAssignmentContainer___repr__(self)
3121 return _object_cast_to_HeapAssignmentContainer(o)
3122 get_from = staticmethod(get_from)
3124 HeapAssignmentContainer_swigregister = _IMP_domino.HeapAssignmentContainer_swigregister
3125 HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
3127 class CappedAssignmentContainer(AssignmentContainer):
3128 """Proxy of C++ IMP::domino::CappedAssignmentContainer class"""
3129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3131 def __init__(self, contained, max_states, name):
3132 """__init__(IMP::domino::CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
3133 this = _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name)
3135 self.this.append(this)
3139 def get_assignments(self, *args):
3141 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3142 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
3144 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
3147 def get_version_info(self):
3148 """get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
3149 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
3153 """__str__(CappedAssignmentContainer self) -> std::string"""
3154 return _IMP_domino.CappedAssignmentContainer___str__(self)
3158 """__repr__(CappedAssignmentContainer self) -> std::string"""
3159 return _IMP_domino.CappedAssignmentContainer___repr__(self)
3162 return _object_cast_to_CappedAssignmentContainer(o)
3163 get_from = staticmethod(get_from)
3165 CappedAssignmentContainer_swigregister = _IMP_domino.CappedAssignmentContainer_swigregister
3166 CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
3169 """Proxy of C++ IMP::domino::AssignmentsTable class"""
3170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3172 def __init__(self, *args):
3174 __init__(IMP::domino::AssignmentsTable self, std::string name) -> AssignmentsTable
3175 __init__(IMP::domino::AssignmentsTable self) -> AssignmentsTable
3177 if self.__class__ == AssignmentsTable:
3181 this = _IMP_domino.new_AssignmentsTable(_self, *args)
3183 self.this.append(this)
3186 if self.__class__ != AssignmentsTable:
3187 _director_objects.register(self)
3192 def load_assignments(self, s, ac):
3193 """load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
3194 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
3196 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
3197 __del__ =
lambda self:
None
3200 """__str__(AssignmentsTable self) -> std::string"""
3201 return _IMP_domino.AssignmentsTable___str__(self)
3205 """__repr__(AssignmentsTable self) -> std::string"""
3206 return _IMP_domino.AssignmentsTable___repr__(self)
3209 return _object_cast_to_AssignmentsTable(o)
3210 get_from = staticmethod(get_from)
3212 def get_type_name(self):
3213 return self.__class__.__name__
3214 def do_show(self, out):
3216 def get_version_info(self):
3217 if"IMP::domino" ==
"IMP":
3218 return VersionInfo(self.__module__,
3219 __import__(self.__module__).get_module_version())
3222 __import__(self.__module__).get_module_version())
3224 return _object_cast_to_AssignmentsTable(o)
3225 get_from = staticmethod(get_from)
3227 def __disown__(self):
3229 _IMP_domino.disown_AssignmentsTable(self)
3230 return weakref_proxy(self)
3232 def do_destroy(self):
3233 """do_destroy(AssignmentsTable self)"""
3234 return _IMP_domino.AssignmentsTable_do_destroy(self)
3236 AssignmentsTable_swigregister = _IMP_domino.AssignmentsTable_swigregister
3237 AssignmentsTable_swigregister(AssignmentsTable)
3239 class SimpleAssignmentsTable(AssignmentsTable):
3240 """Proxy of C++ IMP::domino::SimpleAssignmentsTable class"""
3241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3243 def __init__(self, *args):
3245 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> SimpleAssignmentsTable
3246 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> SimpleAssignmentsTable
3247 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst) -> SimpleAssignmentsTable
3249 this = _IMP_domino.new_SimpleAssignmentsTable(*args)
3251 self.this.append(this)
3255 def get_version_info(self):
3256 """get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
3257 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
3261 """__str__(SimpleAssignmentsTable self) -> std::string"""
3262 return _IMP_domino.SimpleAssignmentsTable___str__(self)
3266 """__repr__(SimpleAssignmentsTable self) -> std::string"""
3267 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
3270 return _object_cast_to_SimpleAssignmentsTable(o)
3271 get_from = staticmethod(get_from)
3273 SimpleAssignmentsTable_swigregister = _IMP_domino.SimpleAssignmentsTable_swigregister
3274 SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
3276 class RecursiveAssignmentsTable(AssignmentsTable):
3277 """Proxy of C++ IMP::domino::RecursiveAssignmentsTable class"""
3278 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3280 def __init__(self, *args):
3282 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> RecursiveAssignmentsTable
3283 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> RecursiveAssignmentsTable
3284 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst) -> RecursiveAssignmentsTable
3286 this = _IMP_domino.new_RecursiveAssignmentsTable(*args)
3288 self.this.append(this)
3292 def get_version_info(self):
3293 """get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
3294 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
3298 """__str__(RecursiveAssignmentsTable self) -> std::string"""
3299 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
3303 """__repr__(RecursiveAssignmentsTable self) -> std::string"""
3304 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
3307 return _object_cast_to_RecursiveAssignmentsTable(o)
3308 get_from = staticmethod(get_from)
3310 RecursiveAssignmentsTable_swigregister = _IMP_domino.RecursiveAssignmentsTable_swigregister
3311 RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
3313 class BranchAndBoundAssignmentsTable(AssignmentsTable):
3314 """Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class"""
3315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3317 def __init__(self, *args):
3319 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> BranchAndBoundAssignmentsTable
3320 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> BranchAndBoundAssignmentsTable
3321 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst) -> BranchAndBoundAssignmentsTable
3323 this = _IMP_domino.new_BranchAndBoundAssignmentsTable(*args)
3325 self.this.append(this)
3329 def get_version_info(self):
3330 """get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
3331 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
3335 """__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3336 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3340 """__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3341 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3344 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3345 get_from = staticmethod(get_from)
3347 BranchAndBoundAssignmentsTable_swigregister = _IMP_domino.BranchAndBoundAssignmentsTable_swigregister
3348 BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3350 class ListAssignmentsTable(AssignmentsTable):
3351 """Proxy of C++ IMP::domino::ListAssignmentsTable class"""
3352 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3354 def __init__(self, *args):
3356 __init__(IMP::domino::ListAssignmentsTable self, std::string name) -> ListAssignmentsTable
3357 __init__(IMP::domino::ListAssignmentsTable self) -> ListAssignmentsTable
3359 this = _IMP_domino.new_ListAssignmentsTable(*args)
3361 self.this.append(this)
3365 def set_assignments(self, s, lsc):
3366 """set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3367 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3370 def get_version_info(self):
3371 """get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3372 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3376 """__str__(ListAssignmentsTable self) -> std::string"""
3377 return _IMP_domino.ListAssignmentsTable___str__(self)
3381 """__repr__(ListAssignmentsTable self) -> std::string"""
3382 return _IMP_domino.ListAssignmentsTable___repr__(self)
3385 return _object_cast_to_ListAssignmentsTable(o)
3386 get_from = staticmethod(get_from)
3388 ListAssignmentsTable_swigregister = _IMP_domino.ListAssignmentsTable_swigregister
3389 ListAssignmentsTable_swigregister(ListAssignmentsTable)
3393 """get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3394 return _IMP_domino.get_order(s, sft)
3395 class _SubsetGraphVertexIndex(object):
3396 """Proxy of C++ IMP::domino::SubsetGraphVertexIndex class"""
3397 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3398 __repr__ = _swig_repr
3401 """__init__(IMP::domino::SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3402 this = _IMP_domino.new__SubsetGraphVertexIndex()
3404 self.this.append(this)
3407 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3408 __del__ =
lambda self:
None
3409 _SubsetGraphVertexIndex_swigregister = _IMP_domino._SubsetGraphVertexIndex_swigregister
3410 _SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3412 class _InteractionGraphVertexIndex(object):
3413 """Proxy of C++ IMP::domino::InteractionGraphVertexIndex class"""
3414 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3415 __repr__ = _swig_repr
3418 """__init__(IMP::domino::InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3419 this = _IMP_domino.new__InteractionGraphVertexIndex()
3421 self.this.append(this)
3424 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3425 __del__ =
lambda self:
None
3426 _InteractionGraphVertexIndex_swigregister = _IMP_domino._InteractionGraphVertexIndex_swigregister
3427 _InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3431 """get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3432 return _IMP_domino.get_subsets(g)
3435 """get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3436 return _IMP_domino.get_junction_tree(ig)
3438 def get_triangulated(input):
3439 """get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3440 return _IMP_domino.get_triangulated(input)
3441 class _CliqueGraphVertexIndex(object):
3442 """Proxy of C++ IMP::domino::CliqueGraphVertexIndex class"""
3443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3444 __repr__ = _swig_repr
3447 """__init__(IMP::domino::CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3448 this = _IMP_domino.new__CliqueGraphVertexIndex()
3450 self.this.append(this)
3453 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3454 __del__ =
lambda self:
None
3455 _CliqueGraphVertexIndex_swigregister = _IMP_domino._CliqueGraphVertexIndex_swigregister
3456 _CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3459 def get_clique_graph(input):
3460 """get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3461 return _IMP_domino.get_clique_graph(input)
3463 def get_minimum_spanning_tree(input):
3464 """get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3465 return _IMP_domino.get_minimum_spanning_tree(input)
3468 """get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3469 return _IMP_domino.get_restraint_graph(rs, pst)
3473 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3474 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3476 return _IMP_domino.get_interaction_graph(*args)
3479 """get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3480 return _IMP_domino.get_interaction_graph_geometry(ig)
3483 """get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3484 return _IMP_domino.get_subset_graph_geometry(ig)
3485 class _MergeTreeVertexIndex(object):
3486 """Proxy of C++ IMP::domino::MergeTreeVertexIndex class"""
3487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3488 __repr__ = _swig_repr
3491 """__init__(IMP::domino::MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3492 this = _IMP_domino.new__MergeTreeVertexIndex()
3494 self.this.append(this)
3497 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3498 __del__ =
lambda self:
None
3499 _MergeTreeVertexIndex_swigregister = _IMP_domino._MergeTreeVertexIndex_swigregister
3500 _MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3503 def show_as_graphviz(*args):
3505 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3506 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3507 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3508 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3510 return _IMP_domino.show_as_graphviz(*args)
3512 def get_vertex_index(*args):
3514 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3515 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3516 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3517 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3519 return _IMP_domino.get_vertex_index(*args)
3523 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3524 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3526 return _IMP_domino.get_merge_tree(*args)
3529 """get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3530 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3532 def get_is_merge_tree(tree, all, verbose=True):
3534 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool
3535 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all) -> bool
3537 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3539 def write_merge_tree(tree, ps, out):
3540 """write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3541 return _IMP_domino.write_merge_tree(tree, ps, out)
3543 def read_merge_tree(input, ps):
3544 """read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3545 return _IMP_domino.read_merge_tree(input, ps)
3547 """Proxy of C++ IMP::domino::DiscreteSampler class"""
3548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3550 def get_subset_filter_tables_to_use(self, rs, pst):
3551 """get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3552 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3555 def get_assignments_table_to_use(self, *args):
3557 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max) -> AssignmentsTable
3558 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts) -> AssignmentsTable
3560 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3563 def do_sample(self):
3564 """do_sample(DiscreteSampler self) -> ConfigurationSet"""
3565 return _IMP_domino.DiscreteSampler_do_sample(self)
3568 def do_get_sample_assignments(self, all):
3569 """do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3570 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3573 def get_restraints(self):
3574 """get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3575 return _IMP_domino.DiscreteSampler_get_restraints(self)
3578 def __init__(self, m, pst, name):
3579 """__init__(IMP::domino::DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3580 if self.__class__ == DiscreteSampler:
3584 this = _IMP_domino.new_DiscreteSampler(_self, m, pst, name)
3586 self.this.append(this)
3589 if self.__class__ != DiscreteSampler:
3590 _director_objects.register(self)
3594 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3595 __del__ =
lambda self:
None
3597 def set_restraints(self, rs):
3598 """set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3599 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3602 def set_particle_states(self, p, se):
3603 """set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3604 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3607 def get_sample_assignments(self, s):
3608 """get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3609 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3612 def set_particle_states_table(self, cse):
3613 """set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3614 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3617 def set_assignments_table(self, sst):
3618 """set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3619 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3622 def get_particle_states_table(self):
3623 """get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3624 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3627 def remove_subset_filter_table(self, d):
3628 """remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3629 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3632 def remove_subset_filter_tables(self, d):
3633 """remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3634 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3637 def set_subset_filter_tables(self, ps):
3638 """set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3639 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3642 def set_subset_filter_tables_order(self, objs):
3643 """set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3644 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3647 def add_subset_filter_table(self, obj):
3648 """add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3649 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3652 def add_subset_filter_tables(self, objs):
3653 """add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3654 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3657 def clear_subset_filter_tables(self):
3658 """clear_subset_filter_tables(DiscreteSampler self)"""
3659 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3662 def get_number_of_subset_filter_tables(self):
3663 """get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3664 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3667 def get_has_subset_filter_tables(self):
3668 """get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3669 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3672 def get_subset_filter_table(self, i):
3673 """get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3674 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3677 def get_subset_filter_tables(self):
3678 """get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3679 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3682 def reserve_subset_filter_tables(self, sz):
3683 """reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3684 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3687 def set_maximum_number_of_assignments(self, mx):
3688 """set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3689 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3692 def get_maximum_number_of_assignments(self):
3693 """get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3694 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3698 """__str__(DiscreteSampler self) -> std::string"""
3699 return _IMP_domino.DiscreteSampler___str__(self)
3703 """__repr__(DiscreteSampler self) -> std::string"""
3704 return _IMP_domino.DiscreteSampler___repr__(self)
3707 return _object_cast_to_DiscreteSampler(o)
3708 get_from = staticmethod(get_from)
3710 def get_type_name(self):
3711 return self.__class__.__name__
3712 def do_show(self, out):
3714 def get_version_info(self):
3715 if"IMP::domino" ==
"IMP":
3716 return VersionInfo(self.__module__,
3717 __import__(self.__module__).get_module_version())
3720 __import__(self.__module__).get_module_version())
3722 return _object_cast_to_DiscreteSampler(o)
3723 get_from = staticmethod(get_from)
3725 def __disown__(self):
3727 _IMP_domino.disown_DiscreteSampler(self)
3728 return weakref_proxy(self)
3730 def do_destroy(self):
3731 """do_destroy(DiscreteSampler self)"""
3732 return _IMP_domino.DiscreteSampler_do_destroy(self)
3734 DiscreteSampler_swigregister = _IMP_domino.DiscreteSampler_swigregister
3735 DiscreteSampler_swigregister(DiscreteSampler)
3737 class DominoSampler(DiscreteSampler):
3738 """Proxy of C++ IMP::domino::DominoSampler class"""
3739 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3741 def __init__(self, *args):
3743 __init__(IMP::domino::DominoSampler self, Model m, std::string name) -> DominoSampler
3744 __init__(IMP::domino::DominoSampler self, Model m) -> DominoSampler
3745 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst, std::string name) -> DominoSampler
3746 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst) -> DominoSampler
3748 this = _IMP_domino.new_DominoSampler(*args)
3750 self.this.append(this)
3754 def do_get_sample_assignments(self, known):
3755 """do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3756 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3759 def get_version_info(self):
3760 """get_version_info(DominoSampler self) -> VersionInfo"""
3761 return _IMP_domino.DominoSampler_get_version_info(self)
3764 def set_merge_tree(self, mt):
3765 """set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3766 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3769 def set_use_cross_subset_filtering(self, tf):
3770 """set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3771 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3774 def get_number_of_assignments_for_vertex(self, tree_vertex):
3775 """get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3776 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3779 def get_sample_assignments_for_vertex(self, tree_vertex):
3780 """get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3781 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3784 def get_vertex_assignments(self, *args):
3786 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states) -> IMP::domino::Assignments
3787 get_vertex_assignments(DominoSampler self, unsigned int node_index) -> IMP::domino::Assignments
3788 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
3789 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second) -> IMP::domino::Assignments
3791 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3794 def load_vertex_assignments(self, *args):
3796 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states)
3797 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac)
3798 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states)
3799 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac)
3801 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3805 """__str__(DominoSampler self) -> std::string"""
3806 return _IMP_domino.DominoSampler___str__(self)
3810 """__repr__(DominoSampler self) -> std::string"""
3811 return _IMP_domino.DominoSampler___repr__(self)
3814 return _object_cast_to_DominoSampler(o)
3815 get_from = staticmethod(get_from)
3817 DominoSampler_swigregister = _IMP_domino.DominoSampler_swigregister
3818 DominoSampler_swigregister(DominoSampler)
3820 class BranchAndBoundSampler(DiscreteSampler):
3821 """Proxy of C++ IMP::domino::BranchAndBoundSampler class"""
3822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3824 def __init__(self, *args):
3826 __init__(IMP::domino::BranchAndBoundSampler self, Model m, std::string name) -> BranchAndBoundSampler
3827 __init__(IMP::domino::BranchAndBoundSampler self, Model m) -> BranchAndBoundSampler
3828 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name) -> BranchAndBoundSampler
3829 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst) -> BranchAndBoundSampler
3831 this = _IMP_domino.new_BranchAndBoundSampler(*args)
3833 self.this.append(this)
3837 def do_get_sample_assignments(self, known):
3838 """do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3839 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3842 def get_version_info(self):
3843 """get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3844 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3848 """__str__(BranchAndBoundSampler self) -> std::string"""
3849 return _IMP_domino.BranchAndBoundSampler___str__(self)
3853 """__repr__(BranchAndBoundSampler self) -> std::string"""
3854 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3857 return _object_cast_to_BranchAndBoundSampler(o)
3858 get_from = staticmethod(get_from)
3860 BranchAndBoundSampler_swigregister = _IMP_domino.BranchAndBoundSampler_swigregister
3861 BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3865 """load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3866 return _IMP_domino.load_particle_states(s, ss, pst)
3868 def get_restraints(s, pst, dg, rs):
3869 """get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3870 return _IMP_domino.get_restraints(s, pst, dg, rs)
3872 def get_index(particles, subset, excluded):
3873 """get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3874 return _IMP_domino.get_index(particles, subset, excluded)
3877 """get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3878 return _IMP_domino.get_partial_index(particles, subset, excluded)
3881 """get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3882 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3885 """get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3886 return _IMP_domino.get_embedding(s, a, pst)
3889 """get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3890 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3893 """get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3894 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3897 """load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3898 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3901 """load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3902 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3905 """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)"""
3906 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3909 """get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3910 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3912 """Proxy of C++ IMP::domino::DependencyScoreState class"""
3913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3915 def __init__(self, m):
3916 """__init__(IMP::domino::DependencyScoreState self, Model m) -> DependencyScoreState"""
3917 this = _IMP_domino.new_DependencyScoreState(m)
3919 self.this.append(this)
3923 def set_input_particles(self, pt):
3924 """set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3925 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3928 def set_output_particles(self, pt):
3929 """set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3930 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3933 def set_input_containers(self, pt):
3934 """set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3935 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3938 def set_output_containers(self, pt):
3939 """set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3940 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3943 def get_version_info(self):
3944 """get_version_info(DependencyScoreState self) -> VersionInfo"""
3945 return _IMP_domino.DependencyScoreState_get_version_info(self)
3949 """__str__(DependencyScoreState self) -> std::string"""
3950 return _IMP_domino.DependencyScoreState___str__(self)
3954 """__repr__(DependencyScoreState self) -> std::string"""
3955 return _IMP_domino.DependencyScoreState___repr__(self)
3958 return _object_cast_to_DependencyScoreState(o)
3959 get_from = staticmethod(get_from)
3961 DependencyScoreState_swigregister = _IMP_domino.DependencyScoreState_swigregister
3962 DependencyScoreState_swigregister(DependencyScoreState)
3965 def _get_ints_list(input):
3966 """_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3967 return _IMP_domino._get_ints_list(input)
3969 def get_module_version():
3970 """get_module_version() -> std::string const"""
3971 return _IMP_domino.get_module_version()
3974 """get_example_path(std::string fname) -> std::string"""
3975 return _IMP_domino.get_example_path(fname)
3978 """get_data_path(std::string fname) -> std::string"""
3979 return _IMP_domino.get_data_path(fname)
3980 from .
import _version_check
3981 _version_check.check_version(get_module_version())
3982 __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.
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...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
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)
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)