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)
223 _IMP_domino.IMP_DEBUG_swigconstant(_IMP_domino)
224 IMP_DEBUG = _IMP_domino.IMP_DEBUG
226 _IMP_domino.IMP_RELEASE_swigconstant(_IMP_domino)
227 IMP_RELEASE = _IMP_domino.IMP_RELEASE
229 _IMP_domino.IMP_SILENT_swigconstant(_IMP_domino)
230 IMP_SILENT = _IMP_domino.IMP_SILENT
232 _IMP_domino.IMP_PROGRESS_swigconstant(_IMP_domino)
233 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
235 _IMP_domino.IMP_TERSE_swigconstant(_IMP_domino)
236 IMP_TERSE = _IMP_domino.IMP_TERSE
238 _IMP_domino.IMP_VERBOSE_swigconstant(_IMP_domino)
239 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
241 _IMP_domino.IMP_MEMORY_swigconstant(_IMP_domino)
242 IMP_MEMORY = _IMP_domino.IMP_MEMORY
244 _IMP_domino.IMP_NONE_swigconstant(_IMP_domino)
245 IMP_NONE = _IMP_domino.IMP_NONE
247 _IMP_domino.IMP_USAGE_swigconstant(_IMP_domino)
248 IMP_USAGE = _IMP_domino.IMP_USAGE
250 _IMP_domino.IMP_INTERNAL_swigconstant(_IMP_domino)
251 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
253 _IMP_domino.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_domino)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_domino.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_domino)
257 IMP_COMPILER_HAS_AUTO = _IMP_domino.IMP_COMPILER_HAS_AUTO
259 _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_domino)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_domino.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_domino)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_domino.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_domino)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
271 _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_domino)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_domino)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 _IMP_domino.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_domino)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
281 class _DirectorObjects(object):
282 """@internal Simple class to keep references to director objects
283 to prevent premature deletion."""
286 def register(self, obj):
287 """Take a reference to a director object; will only work for
288 refcounted C++ classes"""
289 if hasattr(obj,
'get_ref_count'):
290 self._objects.append(obj)
292 """Only drop our reference and allow cleanup by Python if no other
293 Python references exist (we hold 3 references: one in self._objects,
294 one in x, and one in the argument list for getrefcount) *and* no
295 other C++ references exist (the Python object always holds one)"""
296 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
297 or x.get_ref_count() > 1]
301 def get_object_count(self):
302 """Get number of director objects (useful for testing only)"""
303 return len(self._objects)
304 _director_objects = _DirectorObjects()
306 class _ostream(object):
307 """Proxy of C++ std::ostream class"""
308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
310 def __init__(self, *args, **kwargs):
311 raise AttributeError(
"No constructor defined")
312 __repr__ = _swig_repr
314 def write(self, osa_buf):
315 """write(_ostream self, char const * osa_buf)"""
316 return _IMP_domino._ostream_write(self, osa_buf)
318 _ostream_swigregister = _IMP_domino._ostream_swigregister
319 _ostream_swigregister(_ostream)
322 _IMP_domino.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_domino)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_domino.IMP_COMPILER_HAS_OVERRIDE
325 _IMP_domino.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_domino)
326 IMP_COMPILER_HAS_FINAL = _IMP_domino.IMP_COMPILER_HAS_FINAL
328 _IMP_domino.IMP_HAS_NOEXCEPT_swigconstant(_IMP_domino)
329 IMP_HAS_NOEXCEPT = _IMP_domino.IMP_HAS_NOEXCEPT
332 _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
335 _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
338 _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
341 _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
344 _IMP_domino.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_domino)
345 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
348 _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_domino)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
351 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
354 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
357 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
360 _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
363 _IMP_domino.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_domino)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
366 _IMP_domino.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_domino)
367 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
369 _IMP_domino.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_domino)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
373 _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_domino)
374 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
376 _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
377 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
379 _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
380 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
382 _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
383 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
385 _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
386 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
388 _IMP_domino.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_domino)
389 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
391 _IMP_domino.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_domino)
392 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
395 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_domino)
396 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
398 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
399 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
401 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
402 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
404 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
405 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
407 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
408 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
410 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_domino)
411 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
413 _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_domino)
414 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
416 _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_domino)
417 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_domino)
421 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
423 _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
424 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
426 _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
427 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
429 _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
430 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
432 _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
433 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
435 _IMP_domino.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_domino)
436 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
438 _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_domino)
439 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
442 _IMP_domino.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_domino)
443 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
445 _IMP_domino.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
446 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
448 _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
449 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
451 _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
452 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
454 _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
455 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
457 _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
458 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
460 _IMP_domino.IMP_CORE_HAS_CGAL_swigconstant(_IMP_domino)
461 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
463 _IMP_domino.IMP_CORE_HAS_HDF5_swigconstant(_IMP_domino)
464 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
466 _IMP_domino.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_domino)
467 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
470 _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_domino)
471 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
473 _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_domino)
474 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
476 _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_domino)
477 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
479 _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
480 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
482 _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
483 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
485 _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
486 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
488 _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
489 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
491 _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
492 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
494 _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
495 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
497 _IMP_domino.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_domino)
498 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
500 _IMP_domino.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_domino)
501 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
503 _IMP_domino.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_domino)
504 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
507 _IMP_domino.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_domino)
508 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
510 _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
511 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
513 _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
514 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
516 _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
517 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
519 _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
520 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
522 _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
523 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
525 _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
526 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
528 _IMP_domino.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_domino)
529 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
531 _IMP_domino.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_domino)
532 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
534 _IMP_domino.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_domino)
535 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
537 _IMP_domino.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_domino)
538 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
540 _IMP_domino.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_domino)
541 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
543 _IMP_domino.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_domino)
544 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
547 _IMP_domino.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_domino)
548 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
550 _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
551 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
553 _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
554 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
556 _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
557 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
559 _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
560 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
562 _IMP_domino.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
563 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
565 _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
566 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
568 _IMP_domino.IMP_RMF_HAS_CGAL_swigconstant(_IMP_domino)
569 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
571 _IMP_domino.IMP_RMF_HAS_HDF5_swigconstant(_IMP_domino)
572 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
574 _IMP_domino.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_domino)
575 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
579 _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_domino)
580 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
582 _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_domino)
583 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
585 _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_domino)
586 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
588 _IMP_domino.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_domino)
589 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
591 _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_domino)
592 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
594 _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_domino)
595 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
597 _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_domino)
598 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
600 _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_domino)
601 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
603 _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_domino)
604 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
606 _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_domino)
607 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
609 _IMP_domino.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_domino)
610 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
612 _IMP_domino.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_domino)
613 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
615 _IMP_domino.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_domino)
616 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
618 _IMP_domino.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_domino)
619 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
622 _object_types.append(
"DiscreteSampler")
625 def _object_cast_to_DiscreteSampler(o):
626 """_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
627 return _IMP_domino._object_cast_to_DiscreteSampler(o)
629 _object_types.append(
"ParticleStates")
632 def _object_cast_to_ParticleStates(o):
633 """_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
634 return _IMP_domino._object_cast_to_ParticleStates(o)
636 _object_types.append(
"SubsetFilter")
639 def _object_cast_to_SubsetFilter(o):
640 """_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
641 return _IMP_domino._object_cast_to_SubsetFilter(o)
643 _object_types.append(
"SubsetFilterTable")
646 def _object_cast_to_SubsetFilterTable(o):
647 """_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
648 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
650 _object_types.append(
"AssignmentsTable")
653 def _object_cast_to_AssignmentsTable(o):
654 """_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
655 return _IMP_domino._object_cast_to_AssignmentsTable(o)
657 _object_types.append(
"AssignmentContainer")
660 def _object_cast_to_AssignmentContainer(o):
661 """_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
662 return _IMP_domino._object_cast_to_AssignmentContainer(o)
664 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> class"""
665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
666 __repr__ = _swig_repr
669 """__init__(IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> self) -> InteractionGraph"""
670 this = _IMP_domino.new_InteractionGraph()
672 self.this.append(this)
677 """get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
678 return _IMP_domino.InteractionGraph_get_graph(self)
682 """get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
683 return _IMP_domino.InteractionGraph_get_vertices(self)
686 def get_vertex_name(self, i):
687 """get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
688 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
691 def get_in_neighbors(self, v):
692 """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"""
693 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
696 def get_out_neighbors(self, v):
697 """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"""
698 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
703 show_graphviz(InteractionGraph self, _ostream out)
704 show_graphviz(InteractionGraph self)
706 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
709 def get_graphviz_string(self):
710 """get_graphviz_string(InteractionGraph self) -> std::string"""
711 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
714 def add_edge(self, v0, v1):
715 """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)"""
716 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
719 def add_vertex(self, l):
720 """add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
721 return _IMP_domino.InteractionGraph_add_vertex(self, l)
724 def remove_vertex(self, l):
725 """remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
726 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
728 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
729 __del__ =
lambda self:
None
730 InteractionGraph_swigregister = _IMP_domino.InteractionGraph_swigregister
731 InteractionGraph_swigregister(InteractionGraph)
734 _value_types.append(
"InteractionGraph")
737 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> class"""
738 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
739 __repr__ = _swig_repr
742 """__init__(IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> self) -> SubsetGraph"""
743 this = _IMP_domino.new_SubsetGraph()
745 self.this.append(this)
750 """get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
751 return _IMP_domino.SubsetGraph_get_graph(self)
755 """get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
756 return _IMP_domino.SubsetGraph_get_vertices(self)
759 def get_vertex_name(self, i):
760 """get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
761 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
764 def get_in_neighbors(self, v):
765 """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"""
766 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
769 def get_out_neighbors(self, v):
770 """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"""
771 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
776 show_graphviz(SubsetGraph self, _ostream out)
777 show_graphviz(SubsetGraph self)
779 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
782 def get_graphviz_string(self):
783 """get_graphviz_string(SubsetGraph self) -> std::string"""
784 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
787 def add_edge(self, v0, v1):
788 """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)"""
789 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
792 def add_vertex(self, l):
793 """add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
794 return _IMP_domino.SubsetGraph_add_vertex(self, l)
797 def remove_vertex(self, l):
798 """remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
799 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
801 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
802 __del__ =
lambda self:
None
803 SubsetGraph_swigregister = _IMP_domino.SubsetGraph_swigregister
804 SubsetGraph_swigregister(SubsetGraph)
807 _value_types.append(
"SubsetGraph")
810 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> class"""
811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
812 __repr__ = _swig_repr
815 """__init__(IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> self) -> CliqueGraph"""
816 this = _IMP_domino.new_CliqueGraph()
818 self.this.append(this)
823 """get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
824 return _IMP_domino.CliqueGraph_get_graph(self)
828 """get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
829 return _IMP_domino.CliqueGraph_get_vertices(self)
832 def get_vertex_name(self, i):
833 """get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
834 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
837 def get_in_neighbors(self, v):
838 """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"""
839 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
842 def get_out_neighbors(self, v):
843 """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"""
844 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
849 show_graphviz(CliqueGraph self, _ostream out)
850 show_graphviz(CliqueGraph self)
852 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
855 def get_graphviz_string(self):
856 """get_graphviz_string(CliqueGraph self) -> std::string"""
857 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
860 def add_edge(self, v0, v1):
861 """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)"""
862 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
865 def add_vertex(self, l):
866 """add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
867 return _IMP_domino.CliqueGraph_add_vertex(self, l)
870 def remove_vertex(self, l):
871 """remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
872 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
874 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
875 __del__ =
lambda self:
None
876 CliqueGraph_swigregister = _IMP_domino.CliqueGraph_swigregister
877 CliqueGraph_swigregister(CliqueGraph)
880 _value_types.append(
"CliqueGraph")
883 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> class"""
884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
885 __repr__ = _swig_repr
888 """__init__(IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> self) -> MergeTree"""
889 this = _IMP_domino.new_MergeTree()
891 self.this.append(this)
896 """get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
897 return _IMP_domino.MergeTree_get_graph(self)
901 """get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
902 return _IMP_domino.MergeTree_get_vertices(self)
905 def get_vertex_name(self, i):
906 """get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
907 return _IMP_domino.MergeTree_get_vertex_name(self, i)
910 def get_in_neighbors(self, v):
911 """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"""
912 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
915 def get_out_neighbors(self, v):
916 """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"""
917 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
922 show_graphviz(MergeTree self, _ostream out)
923 show_graphviz(MergeTree self)
925 return _IMP_domino.MergeTree_show_graphviz(self, *args)
928 def get_graphviz_string(self):
929 """get_graphviz_string(MergeTree self) -> std::string"""
930 return _IMP_domino.MergeTree_get_graphviz_string(self)
933 def add_edge(self, v0, v1):
934 """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)"""
935 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
938 def add_vertex(self, l):
939 """add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
940 return _IMP_domino.MergeTree_add_vertex(self, l)
943 def remove_vertex(self, l):
944 """remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
945 return _IMP_domino.MergeTree_remove_vertex(self, l)
947 __swig_destroy__ = _IMP_domino.delete_MergeTree
948 __del__ =
lambda self:
None
949 MergeTree_swigregister = _IMP_domino.MergeTree_swigregister
950 MergeTree_swigregister(MergeTree)
953 _value_types.append(
"MergeTree")
956 _object_types.append(
"BranchAndBoundSampler")
959 def _object_cast_to_BranchAndBoundSampler(o):
960 """_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
961 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
963 _object_types.append(
"BranchAndBoundAssignmentsTable")
966 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
967 """_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
968 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
970 _object_types.append(
"RecursiveAssignmentsTable")
973 def _object_cast_to_RecursiveAssignmentsTable(o):
974 """_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
975 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
977 _object_types.append(
"SimpleAssignmentsTable")
980 def _object_cast_to_SimpleAssignmentsTable(o):
981 """_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
982 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
984 _object_types.append(
"CompoundStates")
987 def _object_cast_to_CompoundStates(o):
988 """_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
989 return _IMP_domino._object_cast_to_CompoundStates(o)
991 _object_types.append(
"DisjointSetsSubsetFilterTable")
994 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
995 """_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
996 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
998 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
1001 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
1002 """_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
1003 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
1005 _object_types.append(
"DominoSampler")
1008 def _object_cast_to_DominoSampler(o):
1009 """_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
1010 return _IMP_domino._object_cast_to_DominoSampler(o)
1012 _object_types.append(
"EqualitySubsetFilterTable")
1015 def _object_cast_to_EqualitySubsetFilterTable(o):
1016 """_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
1017 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
1019 _object_types.append(
"EquivalenceSubsetFilterTable")
1022 def _object_cast_to_EquivalenceSubsetFilterTable(o):
1023 """_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
1024 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
1026 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
1029 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
1030 """_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
1031 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
1033 _object_types.append(
"ExclusionSubsetFilterTable")
1036 def _object_cast_to_ExclusionSubsetFilterTable(o):
1037 """_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
1038 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
1040 _object_types.append(
"IndexStates")
1043 def _object_cast_to_IndexStates(o):
1044 """_object_cast_to_IndexStates(Object o) -> IndexStates"""
1045 return _IMP_domino._object_cast_to_IndexStates(o)
1047 _object_types.append(
"ListSubsetFilterTable")
1050 def _object_cast_to_ListSubsetFilterTable(o):
1051 """_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
1052 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
1054 _object_types.append(
"ListAssignmentsTable")
1057 def _object_cast_to_ListAssignmentsTable(o):
1058 """_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
1059 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
1061 _object_types.append(
"ParticleStatesTable")
1064 def _object_cast_to_ParticleStatesTable(o):
1065 """_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
1066 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
1068 _object_types.append(
"RecursiveStates")
1071 def _object_cast_to_RecursiveStates(o):
1072 """_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
1073 return _IMP_domino._object_cast_to_RecursiveStates(o)
1075 _object_types.append(
"ProbabilisticSubsetFilterTable")
1078 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
1079 """_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
1080 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
1082 _object_types.append(
"RestraintScoreSubsetFilterTable")
1085 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
1086 """_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
1087 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
1089 _object_types.append(
"RigidBodyStates")
1092 def _object_cast_to_RigidBodyStates(o):
1093 """_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
1094 return _IMP_domino._object_cast_to_RigidBodyStates(o)
1096 _object_types.append(
"XYZStates")
1099 def _object_cast_to_XYZStates(o):
1100 """_object_cast_to_XYZStates(Object o) -> XYZStates"""
1101 return _IMP_domino._object_cast_to_XYZStates(o)
1103 _object_types.append(
"NestedRigidBodyStates")
1106 def _object_cast_to_NestedRigidBodyStates(o):
1107 """_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
1108 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
1110 _object_types.append(
"DependencyScoreState")
1113 def _object_cast_to_DependencyScoreState(o):
1114 """_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
1115 return _IMP_domino._object_cast_to_DependencyScoreState(o)
1117 _object_types.append(
"PairListSubsetFilterTable")
1120 def _object_cast_to_PairListSubsetFilterTable(o):
1121 """_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
1122 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
1124 _object_types.append(
"ListAssignmentContainer")
1127 def _object_cast_to_ListAssignmentContainer(o):
1128 """_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
1129 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
1131 _object_types.append(
"PackedAssignmentContainer")
1134 def _object_cast_to_PackedAssignmentContainer(o):
1135 """_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
1136 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
1138 _object_types.append(
"HeapAssignmentContainer")
1141 def _object_cast_to_HeapAssignmentContainer(o):
1142 """_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
1143 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
1145 _object_types.append(
"RangeViewAssignmentContainer")
1148 def _object_cast_to_RangeViewAssignmentContainer(o):
1149 """_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
1150 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
1152 _object_types.append(
"SampleAssignmentContainer")
1155 def _object_cast_to_SampleAssignmentContainer(o):
1156 """_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
1157 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
1159 _object_types.append(
"PermutationStates")
1162 def _object_cast_to_PermutationStates(o):
1163 """_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
1164 return _IMP_domino._object_cast_to_PermutationStates(o)
1166 _object_types.append(
"WriteHDF5AssignmentContainer")
1169 def _object_cast_to_WriteHDF5AssignmentContainer(o):
1170 """_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
1171 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
1173 _object_types.append(
"ReadHDF5AssignmentContainer")
1176 def _object_cast_to_ReadHDF5AssignmentContainer(o):
1177 """_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
1178 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
1180 _object_types.append(
"ReadAssignmentContainer")
1183 def _object_cast_to_ReadAssignmentContainer(o):
1184 """_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
1185 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
1187 _object_types.append(
"WriteAssignmentContainer")
1190 def _object_cast_to_WriteAssignmentContainer(o):
1191 """_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
1192 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
1194 _object_types.append(
"CappedAssignmentContainer")
1197 def _object_cast_to_CappedAssignmentContainer(o):
1198 """_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
1199 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
1201 _object_types.append(
"RestraintCache")
1204 def _object_cast_to_RestraintCache(o):
1205 """_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1206 return _IMP_domino._object_cast_to_RestraintCache(o)
1209 _plural_types.append(
"Subsets")
1210 _value_types.append(
"Subset")
1214 _plural_types.append(
"Assignments")
1215 _value_types.append(
"Assignment")
1219 _plural_types.append(
"Slices")
1220 _value_types.append(
"Slice")
1224 _plural_types.append(
"Orders")
1225 _value_types.append(
"Order")
1227 class _IntArray(IMP._Value):
1228 """Proxy of C++ IMP::ConstVector<(int)> class"""
1229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1230 __repr__ = _swig_repr
1231 __swig_destroy__ = _IMP_domino.delete__IntArray
1232 __del__ =
lambda self:
None
1234 def __init__(self, *args):
1236 __init__(IMP::ConstVector<(int)> self, unsigned int sz, int fill) -> _IntArray
1237 __init__(IMP::ConstVector<(int)> self) -> _IntArray
1239 this = _IMP_domino.new__IntArray(*args)
1241 self.this.append(this)
1245 def __cmp__(self, o):
1246 """__cmp__(_IntArray self, _IntArray o) -> int"""
1247 return _IMP_domino._IntArray___cmp__(self, o)
1250 def __eq__(self, o):
1251 """__eq__(_IntArray self, _IntArray o) -> bool"""
1252 return _IMP_domino._IntArray___eq__(self, o)
1255 def __ne__(self, o):
1256 """__ne__(_IntArray self, _IntArray o) -> bool"""
1257 return _IMP_domino._IntArray___ne__(self, o)
1260 def __lt__(self, o):
1261 """__lt__(_IntArray self, _IntArray o) -> bool"""
1262 return _IMP_domino._IntArray___lt__(self, o)
1265 def __gt__(self, o):
1266 """__gt__(_IntArray self, _IntArray o) -> bool"""
1267 return _IMP_domino._IntArray___gt__(self, o)
1270 def __ge__(self, o):
1271 """__ge__(_IntArray self, _IntArray o) -> bool"""
1272 return _IMP_domino._IntArray___ge__(self, o)
1275 def __le__(self, o):
1276 """__le__(_IntArray self, _IntArray o) -> bool"""
1277 return _IMP_domino._IntArray___le__(self, o)
1280 def __getitem__(self, i):
1281 """__getitem__(_IntArray self, unsigned int i) -> int"""
1282 return _IMP_domino._IntArray___getitem__(self, i)
1286 """__len__(_IntArray self) -> unsigned int"""
1287 return _IMP_domino._IntArray___len__(self)
1290 def show(self, *args):
1292 show(_IntArray self, _ostream out)
1293 show(_IntArray self)
1295 return _IMP_domino._IntArray_show(self, *args)
1299 """__hash__(_IntArray self) -> std::size_t"""
1300 return _IMP_domino._IntArray___hash__(self)
1302 _IntArray_swigregister = _IMP_domino._IntArray_swigregister
1303 _IntArray_swigregister(_IntArray)
1305 class _UIntArray(IMP._Value):
1306 """Proxy of C++ IMP::ConstVector<(unsigned int)> class"""
1307 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1308 __repr__ = _swig_repr
1309 __swig_destroy__ = _IMP_domino.delete__UIntArray
1310 __del__ =
lambda self:
None
1312 def __init__(self, *args):
1314 __init__(IMP::ConstVector<(unsigned int)> self, unsigned int sz, unsigned int fill) -> _UIntArray
1315 __init__(IMP::ConstVector<(unsigned int)> self) -> _UIntArray
1317 this = _IMP_domino.new__UIntArray(*args)
1319 self.this.append(this)
1323 def __cmp__(self, o):
1324 """__cmp__(_UIntArray self, _UIntArray o) -> int"""
1325 return _IMP_domino._UIntArray___cmp__(self, o)
1328 def __eq__(self, o):
1329 """__eq__(_UIntArray self, _UIntArray o) -> bool"""
1330 return _IMP_domino._UIntArray___eq__(self, o)
1333 def __ne__(self, o):
1334 """__ne__(_UIntArray self, _UIntArray o) -> bool"""
1335 return _IMP_domino._UIntArray___ne__(self, o)
1338 def __lt__(self, o):
1339 """__lt__(_UIntArray self, _UIntArray o) -> bool"""
1340 return _IMP_domino._UIntArray___lt__(self, o)
1343 def __gt__(self, o):
1344 """__gt__(_UIntArray self, _UIntArray o) -> bool"""
1345 return _IMP_domino._UIntArray___gt__(self, o)
1348 def __ge__(self, o):
1349 """__ge__(_UIntArray self, _UIntArray o) -> bool"""
1350 return _IMP_domino._UIntArray___ge__(self, o)
1353 def __le__(self, o):
1354 """__le__(_UIntArray self, _UIntArray o) -> bool"""
1355 return _IMP_domino._UIntArray___le__(self, o)
1358 def __getitem__(self, i):
1359 """__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1360 return _IMP_domino._UIntArray___getitem__(self, i)
1364 """__len__(_UIntArray self) -> unsigned int"""
1365 return _IMP_domino._UIntArray___len__(self)
1368 def show(self, *args):
1370 show(_UIntArray self, _ostream out)
1371 show(_UIntArray self)
1373 return _IMP_domino._UIntArray_show(self, *args)
1377 """__hash__(_UIntArray self) -> std::size_t"""
1378 return _IMP_domino._UIntArray___hash__(self)
1380 _UIntArray_swigregister = _IMP_domino._UIntArray_swigregister
1381 _UIntArray_swigregister(_UIntArray)
1383 class _ParticleArray(IMP._Value):
1384 """Proxy of C++ IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> class"""
1385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1386 __repr__ = _swig_repr
1387 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1388 __del__ =
lambda self:
None
1390 def __init__(self, *args):
1392 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1393 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self) -> _ParticleArray
1395 this = _IMP_domino.new__ParticleArray(*args)
1397 self.this.append(this)
1401 def __cmp__(self, o):
1402 """__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1403 return _IMP_domino._ParticleArray___cmp__(self, o)
1406 def __eq__(self, o):
1407 """__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1408 return _IMP_domino._ParticleArray___eq__(self, o)
1411 def __ne__(self, o):
1412 """__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1413 return _IMP_domino._ParticleArray___ne__(self, o)
1416 def __lt__(self, o):
1417 """__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1418 return _IMP_domino._ParticleArray___lt__(self, o)
1421 def __gt__(self, o):
1422 """__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1423 return _IMP_domino._ParticleArray___gt__(self, o)
1426 def __ge__(self, o):
1427 """__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1428 return _IMP_domino._ParticleArray___ge__(self, o)
1431 def __le__(self, o):
1432 """__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1433 return _IMP_domino._ParticleArray___le__(self, o)
1436 def __getitem__(self, i):
1437 """__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1438 return _IMP_domino._ParticleArray___getitem__(self, i)
1442 """__len__(_ParticleArray self) -> unsigned int"""
1443 return _IMP_domino._ParticleArray___len__(self)
1446 def show(self, *args):
1448 show(_ParticleArray self, _ostream out)
1449 show(_ParticleArray self)
1451 return _IMP_domino._ParticleArray_show(self, *args)
1455 """__hash__(_ParticleArray self) -> std::size_t"""
1456 return _IMP_domino._ParticleArray___hash__(self)
1458 _ParticleArray_swigregister = _IMP_domino._ParticleArray_swigregister
1459 _ParticleArray_swigregister(_ParticleArray)
1461 class Subset(_ParticleArray):
1462 """Proxy of C++ IMP::domino::Subset class"""
1463 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1465 def __init__(self, *args):
1467 __init__(IMP::domino::Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1468 __init__(IMP::domino::Subset self) -> Subset
1469 __init__(IMP::domino::Subset self, IMP::ParticlesTemp ps) -> Subset
1471 this = _IMP_domino.new_Subset(*args)
1473 self.this.append(this)
1477 def get_model(self):
1478 """get_model(Subset self) -> Model"""
1479 return _IMP_domino.Subset_get_model(self)
1483 """get_name(Subset self) -> std::string"""
1484 return _IMP_domino.Subset_get_name(self)
1487 def get_contains(self, o):
1488 """get_contains(Subset self, Subset o) -> bool"""
1489 return _IMP_domino.Subset_get_contains(self, o)
1493 """__str__(Subset self) -> std::string"""
1494 return _IMP_domino.Subset___str__(self)
1498 """__repr__(Subset self) -> std::string"""
1499 return _IMP_domino.Subset___repr__(self)
1501 __swig_destroy__ = _IMP_domino.delete_Subset
1502 __del__ =
lambda self:
None
1503 Subset_swigregister = _IMP_domino.Subset_swigregister
1504 Subset_swigregister(Subset)
1508 """get_union(Subset a, Subset b) -> Subset"""
1509 return _IMP_domino.get_union(a, b)
1512 """get_intersection(Subset a, Subset b) -> Subset"""
1513 return _IMP_domino.get_intersection(a, b)
1515 def get_difference(a, b):
1516 """get_difference(Subset a, Subset b) -> Subset"""
1517 return _IMP_domino.get_difference(a, b)
1518 class Assignment(_IntArray):
1519 """Proxy of C++ IMP::domino::Assignment class"""
1520 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1522 def __init__(self, *args):
1524 __init__(IMP::domino::Assignment self) -> Assignment
1525 __init__(IMP::domino::Assignment self, unsigned int sz) -> Assignment
1526 __init__(IMP::domino::Assignment self, IMP::Ints const & i) -> Assignment
1528 this = _IMP_domino.new_Assignment(*args)
1530 self.this.append(this)
1535 """__str__(Assignment self) -> std::string"""
1536 return _IMP_domino.Assignment___str__(self)
1540 """__repr__(Assignment self) -> std::string"""
1541 return _IMP_domino.Assignment___repr__(self)
1543 __swig_destroy__ = _IMP_domino.delete_Assignment
1544 __del__ =
lambda self:
None
1545 Assignment_swigregister = _IMP_domino.Assignment_swigregister
1546 Assignment_swigregister(Assignment)
1548 class Slice(_UIntArray):
1549 """Proxy of C++ IMP::domino::Slice class"""
1550 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1552 def __init__(self, *args):
1554 __init__(IMP::domino::Slice self) -> Slice
1555 __init__(IMP::domino::Slice self, Subset outer, Subset inner) -> Slice
1557 this = _IMP_domino.new_Slice(*args)
1559 self.this.append(this)
1563 def get_sliced(self, *args):
1565 get_sliced(Slice self, Assignment a) -> Assignment
1566 get_sliced(Slice self, Subset a) -> Subset
1568 return _IMP_domino.Slice_get_sliced(self, *args)
1572 """__str__(Slice self) -> std::string"""
1573 return _IMP_domino.Slice___str__(self)
1577 """__repr__(Slice self) -> std::string"""
1578 return _IMP_domino.Slice___repr__(self)
1580 __swig_destroy__ = _IMP_domino.delete_Slice
1581 __del__ =
lambda self:
None
1582 Slice_swigregister = _IMP_domino.Slice_swigregister
1583 Slice_swigregister(Slice)
1587 """get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1588 return _IMP_domino.get_slice(outer, inner, excluded)
1589 class Order(_UIntArray):
1590 """Proxy of C++ IMP::domino::Order class"""
1591 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1593 def __init__(self, *args):
1595 __init__(IMP::domino::Order self) -> Order
1596 __init__(IMP::domino::Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1598 this = _IMP_domino.new_Order(*args)
1600 self.this.append(this)
1604 def get_list_ordered(self, a):
1605 """get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1606 return _IMP_domino.Order_get_list_ordered(self, a)
1609 def get_subset_ordered(self, a):
1610 """get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1611 return _IMP_domino.Order_get_subset_ordered(self, a)
1615 """__str__(Order self) -> std::string"""
1616 return _IMP_domino.Order___str__(self)
1620 """__repr__(Order self) -> std::string"""
1621 return _IMP_domino.Order___repr__(self)
1623 __swig_destroy__ = _IMP_domino.delete_Order
1624 __del__ =
lambda self:
None
1625 Order_swigregister = _IMP_domino.Order_swigregister
1626 Order_swigregister(Order)
1629 """Proxy of C++ IMP::domino::ParticleStates class"""
1630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1632 def __init__(self, *args):
1634 __init__(IMP::domino::ParticleStates self, std::string name) -> ParticleStates
1635 __init__(IMP::domino::ParticleStates self) -> ParticleStates
1637 if self.__class__ == ParticleStates:
1641 this = _IMP_domino.new_ParticleStates(_self, *args)
1643 self.this.append(this)
1647 if self.__class__ != ParticleStates:
1648 _director_objects.register(self)
1653 def get_number_of_particle_states(self):
1654 """get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1655 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1658 def load_particle_state(self, arg0, arg1):
1659 """load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1660 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1664 """get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1665 return _IMP_domino.ParticleStates_get_embedding(self, i)
1668 def get_nearest_state(self, v):
1669 """get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1670 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1672 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1673 __del__ =
lambda self:
None
1676 """__str__(ParticleStates self) -> std::string"""
1677 return _IMP_domino.ParticleStates___str__(self)
1681 """__repr__(ParticleStates self) -> std::string"""
1682 return _IMP_domino.ParticleStates___repr__(self)
1687 return _object_cast_to_ParticleStates(o)
1690 def get_type_name(self):
1691 return self.__class__.__name__
1692 def do_show(self, out):
1694 def get_version_info(self):
1695 if"IMP::domino" ==
"IMP":
1696 return VersionInfo(self.__module__,
1697 __import__(self.__module__).get_module_version())
1700 __import__(self.__module__).get_module_version())
1703 return _object_cast_to_ParticleStates(o)
1705 def __disown__(self):
1707 _IMP_domino.disown_ParticleStates(self)
1708 return weakref_proxy(self)
1710 def do_destroy(self):
1711 """do_destroy(ParticleStates self)"""
1712 return _IMP_domino.ParticleStates_do_destroy(self)
1714 ParticleStates_swigregister = _IMP_domino.ParticleStates_swigregister
1715 ParticleStates_swigregister(ParticleStates)
1718 """Proxy of C++ IMP::domino::ParticleStatesTable class"""
1719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1722 """__init__(IMP::domino::ParticleStatesTable self) -> ParticleStatesTable"""
1723 this = _IMP_domino.new_ParticleStatesTable()
1725 self.this.append(this)
1729 def get_particle_states(self, p):
1730 """get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1731 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1734 def get_has_particle(self, p):
1735 """get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1736 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1740 """get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1741 return _IMP_domino.ParticleStatesTable_get_particles(self)
1744 def get_subset(self):
1745 """get_subset(ParticleStatesTable self) -> Subset"""
1746 return _IMP_domino.ParticleStatesTable_get_subset(self)
1749 def set_particle_states(self, p, e):
1750 """set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1751 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1754 def get_version_info(self):
1755 """get_version_info(ParticleStatesTable self) -> VersionInfo"""
1756 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1760 """__str__(ParticleStatesTable self) -> std::string"""
1761 return _IMP_domino.ParticleStatesTable___str__(self)
1765 """__repr__(ParticleStatesTable self) -> std::string"""
1766 return _IMP_domino.ParticleStatesTable___repr__(self)
1771 return _object_cast_to_ParticleStatesTable(o)
1773 ParticleStatesTable_swigregister = _IMP_domino.ParticleStatesTable_swigregister
1774 ParticleStatesTable_swigregister(ParticleStatesTable)
1776 class IndexStates(ParticleStates):
1777 """Proxy of C++ IMP::domino::IndexStates class"""
1778 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1780 def __init__(self, *args):
1782 __init__(IMP::domino::IndexStates self, unsigned int n, IntKey k) -> IndexStates
1783 __init__(IMP::domino::IndexStates self, unsigned int n) -> IndexStates
1785 this = _IMP_domino.new_IndexStates(*args)
1787 self.this.append(this)
1791 def get_version_info(self):
1792 """get_version_info(IndexStates self) -> VersionInfo"""
1793 return _IMP_domino.IndexStates_get_version_info(self)
1797 """__str__(IndexStates self) -> std::string"""
1798 return _IMP_domino.IndexStates___str__(self)
1802 """__repr__(IndexStates self) -> std::string"""
1803 return _IMP_domino.IndexStates___repr__(self)
1808 return _object_cast_to_IndexStates(o)
1810 IndexStates_swigregister = _IMP_domino.IndexStates_swigregister
1811 IndexStates_swigregister(IndexStates)
1813 class XYZStates(ParticleStates):
1814 """Proxy of C++ IMP::domino::XYZStates class"""
1815 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1817 def __init__(self, states):
1818 """__init__(IMP::domino::XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1819 this = _IMP_domino.new_XYZStates(states)
1821 self.this.append(this)
1825 def get_vector(self, i):
1826 """get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1827 return _IMP_domino.XYZStates_get_vector(self, i)
1830 def get_version_info(self):
1831 """get_version_info(XYZStates self) -> VersionInfo"""
1832 return _IMP_domino.XYZStates_get_version_info(self)
1836 """__str__(XYZStates self) -> std::string"""
1837 return _IMP_domino.XYZStates___str__(self)
1841 """__repr__(XYZStates self) -> std::string"""
1842 return _IMP_domino.XYZStates___repr__(self)
1847 return _object_cast_to_XYZStates(o)
1849 XYZStates_swigregister = _IMP_domino.XYZStates_swigregister
1850 XYZStates_swigregister(XYZStates)
1852 class RigidBodyStates(ParticleStates):
1853 """Proxy of C++ IMP::domino::RigidBodyStates class"""
1854 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1856 def __init__(self, states, scale=1):
1858 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates
1859 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states) -> RigidBodyStates
1861 this = _IMP_domino.new_RigidBodyStates(states, scale)
1863 self.this.append(this)
1867 def get_reference_frame(self, i):
1868 """get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1869 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1872 def get_version_info(self):
1873 """get_version_info(RigidBodyStates self) -> VersionInfo"""
1874 return _IMP_domino.RigidBodyStates_get_version_info(self)
1878 """__str__(RigidBodyStates self) -> std::string"""
1879 return _IMP_domino.RigidBodyStates___str__(self)
1883 """__repr__(RigidBodyStates self) -> std::string"""
1884 return _IMP_domino.RigidBodyStates___repr__(self)
1889 return _object_cast_to_RigidBodyStates(o)
1891 RigidBodyStates_swigregister = _IMP_domino.RigidBodyStates_swigregister
1892 RigidBodyStates_swigregister(RigidBodyStates)
1894 class NestedRigidBodyStates(ParticleStates):
1895 """Proxy of C++ IMP::domino::NestedRigidBodyStates class"""
1896 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1898 def __init__(self, states, scale=100):
1900 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates
1901 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states) -> NestedRigidBodyStates
1903 this = _IMP_domino.new_NestedRigidBodyStates(states, scale)
1905 self.this.append(this)
1909 def get_transformation(self, i):
1910 """get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1911 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1914 def get_version_info(self):
1915 """get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1916 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1920 """__str__(NestedRigidBodyStates self) -> std::string"""
1921 return _IMP_domino.NestedRigidBodyStates___str__(self)
1925 """__repr__(NestedRigidBodyStates self) -> std::string"""
1926 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1931 return _object_cast_to_NestedRigidBodyStates(o)
1933 NestedRigidBodyStates_swigregister = _IMP_domino.NestedRigidBodyStates_swigregister
1934 NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1936 class CompoundStates(ParticleStates):
1937 """Proxy of C++ IMP::domino::CompoundStates class"""
1938 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1940 def __init__(self, a, b):
1941 """__init__(IMP::domino::CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1942 this = _IMP_domino.new_CompoundStates(a, b)
1944 self.this.append(this)
1948 def get_version_info(self):
1949 """get_version_info(CompoundStates self) -> VersionInfo"""
1950 return _IMP_domino.CompoundStates_get_version_info(self)
1954 """__str__(CompoundStates self) -> std::string"""
1955 return _IMP_domino.CompoundStates___str__(self)
1959 """__repr__(CompoundStates self) -> std::string"""
1960 return _IMP_domino.CompoundStates___repr__(self)
1965 return _object_cast_to_CompoundStates(o)
1967 CompoundStates_swigregister = _IMP_domino.CompoundStates_swigregister
1968 CompoundStates_swigregister(CompoundStates)
1970 class RecursiveStates(ParticleStates):
1971 """Proxy of C++ IMP::domino::RecursiveStates class"""
1972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1974 def __init__(self, p, s, ss, pst):
1975 """__init__(IMP::domino::RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1976 this = _IMP_domino.new_RecursiveStates(p, s, ss, pst)
1978 self.this.append(this)
1982 def get_version_info(self):
1983 """get_version_info(RecursiveStates self) -> VersionInfo"""
1984 return _IMP_domino.RecursiveStates_get_version_info(self)
1988 """__str__(RecursiveStates self) -> std::string"""
1989 return _IMP_domino.RecursiveStates___str__(self)
1993 """__repr__(RecursiveStates self) -> std::string"""
1994 return _IMP_domino.RecursiveStates___repr__(self)
1999 return _object_cast_to_RecursiveStates(o)
2001 RecursiveStates_swigregister = _IMP_domino.RecursiveStates_swigregister
2002 RecursiveStates_swigregister(RecursiveStates)
2004 class PermutationStates(ParticleStates):
2005 """Proxy of C++ IMP::domino::PermutationStates class"""
2006 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2008 def __init__(self, inner):
2009 """__init__(IMP::domino::PermutationStates self, ParticleStates inner) -> PermutationStates"""
2010 this = _IMP_domino.new_PermutationStates(inner)
2012 self.this.append(this)
2016 def get_inner_state(self, i):
2017 """get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
2018 return _IMP_domino.PermutationStates_get_inner_state(self, i)
2021 def get_version_info(self):
2022 """get_version_info(PermutationStates self) -> VersionInfo"""
2023 return _IMP_domino.PermutationStates_get_version_info(self)
2027 """__str__(PermutationStates self) -> std::string"""
2028 return _IMP_domino.PermutationStates___str__(self)
2032 """__repr__(PermutationStates self) -> std::string"""
2033 return _IMP_domino.PermutationStates___repr__(self)
2038 return _object_cast_to_PermutationStates(o)
2040 PermutationStates_swigregister = _IMP_domino.PermutationStates_swigregister
2041 PermutationStates_swigregister(PermutationStates)
2043 class _ParticlesAdaptor(IMP._InputAdaptor):
2044 """Proxy of C++ IMP::domino::ParticlesAdaptor class"""
2045 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2046 __repr__ = _swig_repr
2048 def __init__(self, *args):
2050 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
2051 __init__(IMP::domino::ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
2053 this = _IMP_domino.new__ParticlesAdaptor(*args)
2055 self.this.append(this)
2058 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
2059 __del__ =
lambda self:
None
2060 _ParticlesAdaptor_swigregister = _IMP_domino._ParticlesAdaptor_swigregister
2061 _ParticlesAdaptor_swigregister(_ParticlesAdaptor)
2064 """Proxy of C++ IMP::domino::RestraintCache class"""
2065 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2067 def __init__(self, *args):
2069 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst, unsigned int size) -> RestraintCache
2070 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst) -> RestraintCache
2072 this = _IMP_domino.new_RestraintCache(*args)
2074 self.this.append(this)
2079 """add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
2080 return _IMP_domino.RestraintCache_add_restraints(self, rs)
2083 def get_score(self, *args):
2085 get_score(RestraintCache self, Restraint r, Assignment a) -> double
2086 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
2088 return _IMP_domino.RestraintCache_get_score(self, *args)
2091 def load_last_score(self, r, s, a):
2092 """load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
2093 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
2096 def get_restraints(self, *args):
2098 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
2099 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
2101 return _IMP_domino.RestraintCache_get_restraints(self, *args)
2104 def save_cache(self, particle_ordering, restraints, group, max_entries):
2105 """save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
2106 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
2109 def load_cache(self, ps, group):
2110 """load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
2111 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
2115 """get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
2116 return _IMP_domino.RestraintCache_get_slice(self, r, s)
2119 def get_number_of_entries(self):
2120 """get_number_of_entries(RestraintCache self) -> unsigned int"""
2121 return _IMP_domino.RestraintCache_get_number_of_entries(self)
2125 """validate(RestraintCache self)"""
2126 return _IMP_domino.RestraintCache_validate(self)
2129 def show_restraint_information(self, *args):
2131 show_restraint_information(RestraintCache self, _ostream out)
2132 show_restraint_information(RestraintCache self)
2134 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
2137 def get_hit_rate(self):
2138 """get_hit_rate(RestraintCache self) -> double"""
2139 return _IMP_domino.RestraintCache_get_hit_rate(self)
2142 def get_version_info(self):
2143 """get_version_info(RestraintCache self) -> VersionInfo"""
2144 return _IMP_domino.RestraintCache_get_version_info(self)
2148 """__str__(RestraintCache self) -> std::string"""
2149 return _IMP_domino.RestraintCache___str__(self)
2153 """__repr__(RestraintCache self) -> std::string"""
2154 return _IMP_domino.RestraintCache___repr__(self)
2159 return _object_cast_to_RestraintCache(o)
2161 RestraintCache_swigregister = _IMP_domino.RestraintCache_swigregister
2162 RestraintCache_swigregister(RestraintCache)
2165 """Proxy of C++ IMP::domino::SubsetFilter class"""
2166 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2168 def __init__(self, *args):
2170 __init__(IMP::domino::SubsetFilter self, std::string name) -> SubsetFilter
2171 __init__(IMP::domino::SubsetFilter self) -> SubsetFilter
2173 if self.__class__ == SubsetFilter:
2177 this = _IMP_domino.new_SubsetFilter(_self, *args)
2179 self.this.append(this)
2183 if self.__class__ != SubsetFilter:
2184 _director_objects.register(self)
2189 def get_is_ok(self, state):
2190 """get_is_ok(SubsetFilter self, Assignment state) -> bool"""
2191 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
2194 def get_next_state(self, pos, state):
2195 """get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
2196 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
2198 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
2199 __del__ =
lambda self:
None
2202 """__str__(SubsetFilter self) -> std::string"""
2203 return _IMP_domino.SubsetFilter___str__(self)
2207 """__repr__(SubsetFilter self) -> std::string"""
2208 return _IMP_domino.SubsetFilter___repr__(self)
2213 return _object_cast_to_SubsetFilter(o)
2216 def get_type_name(self):
2217 return self.__class__.__name__
2218 def do_show(self, out):
2220 def get_version_info(self):
2221 if"IMP::domino" ==
"IMP":
2222 return VersionInfo(self.__module__,
2223 __import__(self.__module__).get_module_version())
2226 __import__(self.__module__).get_module_version())
2229 return _object_cast_to_SubsetFilter(o)
2231 def __disown__(self):
2233 _IMP_domino.disown_SubsetFilter(self)
2234 return weakref_proxy(self)
2236 def do_destroy(self):
2237 """do_destroy(SubsetFilter self)"""
2238 return _IMP_domino.SubsetFilter_do_destroy(self)
2240 SubsetFilter_swigregister = _IMP_domino.SubsetFilter_swigregister
2241 SubsetFilter_swigregister(SubsetFilter)
2244 """Proxy of C++ IMP::domino::SubsetFilterTable class"""
2245 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2247 def __init__(self, *args):
2249 __init__(IMP::domino::SubsetFilterTable self, std::string name) -> SubsetFilterTable
2250 __init__(IMP::domino::SubsetFilterTable self) -> SubsetFilterTable
2252 if self.__class__ == SubsetFilterTable:
2256 this = _IMP_domino.new_SubsetFilterTable(_self, *args)
2258 self.this.append(this)
2262 if self.__class__ != SubsetFilterTable:
2263 _director_objects.register(self)
2268 def get_subset_filter(self, s, prior_subsets):
2269 """get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2270 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2273 def get_strength(self, s, prior_subsets):
2274 """get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2275 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2277 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2278 __del__ =
lambda self:
None
2281 """__str__(SubsetFilterTable self) -> std::string"""
2282 return _IMP_domino.SubsetFilterTable___str__(self)
2286 """__repr__(SubsetFilterTable self) -> std::string"""
2287 return _IMP_domino.SubsetFilterTable___repr__(self)
2292 return _object_cast_to_SubsetFilterTable(o)
2295 def get_type_name(self):
2296 return self.__class__.__name__
2297 def do_show(self, out):
2299 def get_version_info(self):
2300 if"IMP::domino" ==
"IMP":
2301 return VersionInfo(self.__module__,
2302 __import__(self.__module__).get_module_version())
2305 __import__(self.__module__).get_module_version())
2308 return _object_cast_to_SubsetFilterTable(o)
2310 def __disown__(self):
2312 _IMP_domino.disown_SubsetFilterTable(self)
2313 return weakref_proxy(self)
2315 def do_destroy(self):
2316 """do_destroy(SubsetFilterTable self)"""
2317 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2319 SubsetFilterTable_swigregister = _IMP_domino.SubsetFilterTable_swigregister
2320 SubsetFilterTable_swigregister(SubsetFilterTable)
2322 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2323 """Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class"""
2324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2326 def __init__(self, *args):
2328 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2329 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2331 this = _IMP_domino.new_RestraintScoreSubsetFilterTable(*args)
2333 self.this.append(this)
2337 def get_version_info(self):
2338 """get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2339 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2343 """__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2344 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2348 """__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2349 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2354 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2356 RestraintScoreSubsetFilterTable_swigregister = _IMP_domino.RestraintScoreSubsetFilterTable_swigregister
2357 RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2359 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2360 """Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class"""
2361 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2363 def __init__(self, rs, rc, max_number_allowed_violations):
2364 """__init__(IMP::domino::MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2365 this = _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations)
2367 self.this.append(this)
2371 def get_maximum_number_of_violated_restraints(self):
2372 """get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2373 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2376 def get_version_info(self):
2377 """get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2378 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2382 """__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2383 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2387 """__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2388 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2393 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2395 MinimumRestraintScoreSubsetFilterTable_swigregister = _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister
2396 MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2398 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2399 """Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class"""
2400 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2402 def __init__(self, *args, **kwargs):
2403 raise AttributeError(
"No constructor defined - class is abstract")
2405 def add_set(self, ps):
2406 """add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2407 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2410 def add_pair(self, pp):
2411 """add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2412 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2416 """__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2417 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2421 """__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2422 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2427 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2429 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2430 __del__ =
lambda self:
None
2431 DisjointSetsSubsetFilterTable_swigregister = _IMP_domino.DisjointSetsSubsetFilterTable_swigregister
2432 DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2434 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2435 """Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class"""
2436 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2438 def __init__(self, *args):
2440 __init__(IMP::domino::ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2441 __init__(IMP::domino::ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2443 this = _IMP_domino.new_ExclusionSubsetFilterTable(*args)
2445 self.this.append(this)
2449 def get_version_info(self):
2450 """get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2451 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2455 """__str__(ExclusionSubsetFilterTable self) -> std::string"""
2456 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2460 """__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2461 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2466 return _object_cast_to_ExclusionSubsetFilterTable(o)
2468 ExclusionSubsetFilterTable_swigregister = _IMP_domino.ExclusionSubsetFilterTable_swigregister
2469 ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2471 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2472 """Proxy of C++ IMP::domino::EqualitySubsetFilterTable class"""
2473 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2475 def __init__(self, *args):
2477 __init__(IMP::domino::EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2478 __init__(IMP::domino::EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2480 this = _IMP_domino.new_EqualitySubsetFilterTable(*args)
2482 self.this.append(this)
2486 def get_version_info(self):
2487 """get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2488 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2492 """__str__(EqualitySubsetFilterTable self) -> std::string"""
2493 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2497 """__repr__(EqualitySubsetFilterTable self) -> std::string"""
2498 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2503 return _object_cast_to_EqualitySubsetFilterTable(o)
2505 EqualitySubsetFilterTable_swigregister = _IMP_domino.EqualitySubsetFilterTable_swigregister
2506 EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2508 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2509 """Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class"""
2510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2512 def __init__(self, *args):
2514 __init__(IMP::domino::EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2515 __init__(IMP::domino::EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2517 this = _IMP_domino.new_EquivalenceSubsetFilterTable(*args)
2519 self.this.append(this)
2523 def get_version_info(self):
2524 """get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2525 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2529 """__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2530 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2534 """__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2535 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2540 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2542 EquivalenceSubsetFilterTable_swigregister = _IMP_domino.EquivalenceSubsetFilterTable_swigregister
2543 EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2545 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2546 """Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class"""
2547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2549 def __init__(self, *args):
2551 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2552 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2554 this = _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args)
2556 self.this.append(this)
2560 def get_version_info(self):
2561 """get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2562 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2566 """__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2567 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2571 """__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2572 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2577 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2579 EquivalenceAndExclusionSubsetFilterTable_swigregister = _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister
2580 EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2582 class ListSubsetFilterTable(SubsetFilterTable):
2583 """Proxy of C++ IMP::domino::ListSubsetFilterTable class"""
2584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2586 def __init__(self, pst):
2587 """__init__(IMP::domino::ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2588 this = _IMP_domino.new_ListSubsetFilterTable(pst)
2590 self.this.append(this)
2594 def get_ok_rate(self):
2595 """get_ok_rate(ListSubsetFilterTable self) -> double"""
2596 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2599 def get_number_of_particle_states(self, p):
2600 """get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2601 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2604 def set_allowed_states(self, p, states):
2605 """set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2606 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2609 def get_version_info(self):
2610 """get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2611 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2615 """__str__(ListSubsetFilterTable self) -> std::string"""
2616 return _IMP_domino.ListSubsetFilterTable___str__(self)
2620 """__repr__(ListSubsetFilterTable self) -> std::string"""
2621 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2626 return _object_cast_to_ListSubsetFilterTable(o)
2628 ListSubsetFilterTable_swigregister = _IMP_domino.ListSubsetFilterTable_swigregister
2629 ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2631 class PairListSubsetFilterTable(SubsetFilterTable):
2632 """Proxy of C++ IMP::domino::PairListSubsetFilterTable class"""
2633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2636 """__init__(IMP::domino::PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2637 this = _IMP_domino.new_PairListSubsetFilterTable()
2639 self.this.append(this)
2643 def set_allowed_states(self, p, states):
2644 """set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2645 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2648 def get_version_info(self):
2649 """get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2650 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2654 """__str__(PairListSubsetFilterTable self) -> std::string"""
2655 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2659 """__repr__(PairListSubsetFilterTable self) -> std::string"""
2660 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2665 return _object_cast_to_PairListSubsetFilterTable(o)
2667 PairListSubsetFilterTable_swigregister = _IMP_domino.PairListSubsetFilterTable_swigregister
2668 PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2670 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2671 """Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class"""
2672 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2674 def __init__(self, p, leaves_only=False):
2676 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable
2677 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p) -> ProbabilisticSubsetFilterTable
2679 this = _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only)
2681 self.this.append(this)
2685 def get_version_info(self):
2686 """get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2687 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2691 """__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2692 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2696 """__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2697 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2702 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2704 ProbabilisticSubsetFilterTable_swigregister = _IMP_domino.ProbabilisticSubsetFilterTable_swigregister
2705 ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2708 """Proxy of C++ IMP::domino::AssignmentContainer class"""
2709 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2711 def __init__(self, *args):
2713 __init__(IMP::domino::AssignmentContainer self, std::string name) -> AssignmentContainer
2714 __init__(IMP::domino::AssignmentContainer self) -> AssignmentContainer
2716 if self.__class__ == AssignmentContainer:
2720 this = _IMP_domino.new_AssignmentContainer(_self, *args)
2722 self.this.append(this)
2726 if self.__class__ != AssignmentContainer:
2727 _director_objects.register(self)
2732 def get_number_of_assignments(self):
2733 """get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2734 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2737 def get_assignment(self, i):
2738 """get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2739 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2742 def get_assignments(self, *args):
2744 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2745 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2747 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2750 def add_assignment(self, a):
2751 """add_assignment(AssignmentContainer self, Assignment a)"""
2752 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2755 def add_assignments(self, asgn):
2756 """add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2757 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2760 def get_particle_assignments(self, i):
2761 """get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2762 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2764 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2765 __del__ =
lambda self:
None
2768 """__str__(AssignmentContainer self) -> std::string"""
2769 return _IMP_domino.AssignmentContainer___str__(self)
2773 """__repr__(AssignmentContainer self) -> std::string"""
2774 return _IMP_domino.AssignmentContainer___repr__(self)
2779 return _object_cast_to_AssignmentContainer(o)
2782 def get_type_name(self):
2783 return self.__class__.__name__
2784 def do_show(self, out):
2786 def get_version_info(self):
2787 if"IMP::domino" ==
"IMP":
2788 return VersionInfo(self.__module__,
2789 __import__(self.__module__).get_module_version())
2792 __import__(self.__module__).get_module_version())
2795 return _object_cast_to_AssignmentContainer(o)
2797 def __disown__(self):
2799 _IMP_domino.disown_AssignmentContainer(self)
2800 return weakref_proxy(self)
2802 def do_destroy(self):
2803 """do_destroy(AssignmentContainer self)"""
2804 return _IMP_domino.AssignmentContainer_do_destroy(self)
2806 AssignmentContainer_swigregister = _IMP_domino.AssignmentContainer_swigregister
2807 AssignmentContainer_swigregister(AssignmentContainer)
2809 class PackedAssignmentContainer(AssignmentContainer):
2810 """Proxy of C++ IMP::domino::PackedAssignmentContainer class"""
2811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2813 def __init__(self, *args):
2815 __init__(IMP::domino::PackedAssignmentContainer self, std::string name) -> PackedAssignmentContainer
2816 __init__(IMP::domino::PackedAssignmentContainer self) -> PackedAssignmentContainer
2818 this = _IMP_domino.new_PackedAssignmentContainer(*args)
2820 self.this.append(this)
2824 def get_assignments(self, *args):
2826 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2827 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2829 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2832 def get_version_info(self):
2833 """get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2834 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2838 """__str__(PackedAssignmentContainer self) -> std::string"""
2839 return _IMP_domino.PackedAssignmentContainer___str__(self)
2843 """__repr__(PackedAssignmentContainer self) -> std::string"""
2844 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2849 return _object_cast_to_PackedAssignmentContainer(o)
2851 PackedAssignmentContainer_swigregister = _IMP_domino.PackedAssignmentContainer_swigregister
2852 PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2854 class ListAssignmentContainer(AssignmentContainer):
2855 """Proxy of C++ IMP::domino::ListAssignmentContainer class"""
2856 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2858 def __init__(self, *args):
2860 __init__(IMP::domino::ListAssignmentContainer self, std::string name) -> ListAssignmentContainer
2861 __init__(IMP::domino::ListAssignmentContainer self) -> ListAssignmentContainer
2863 this = _IMP_domino.new_ListAssignmentContainer(*args)
2865 self.this.append(this)
2869 def get_assignments(self, *args):
2871 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2872 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2874 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2877 def get_version_info(self):
2878 """get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2879 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2883 """__str__(ListAssignmentContainer self) -> std::string"""
2884 return _IMP_domino.ListAssignmentContainer___str__(self)
2888 """__repr__(ListAssignmentContainer self) -> std::string"""
2889 return _IMP_domino.ListAssignmentContainer___repr__(self)
2894 return _object_cast_to_ListAssignmentContainer(o)
2896 ListAssignmentContainer_swigregister = _IMP_domino.ListAssignmentContainer_swigregister
2897 ListAssignmentContainer_swigregister(ListAssignmentContainer)
2899 class SampleAssignmentContainer(AssignmentContainer):
2900 """Proxy of C++ IMP::domino::SampleAssignmentContainer class"""
2901 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2903 def __init__(self, *args):
2905 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k, std::string name) -> SampleAssignmentContainer
2906 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k) -> SampleAssignmentContainer
2908 this = _IMP_domino.new_SampleAssignmentContainer(*args)
2910 self.this.append(this)
2914 def get_assignments(self, *args):
2916 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2917 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2919 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2922 def get_version_info(self):
2923 """get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2924 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2928 """__str__(SampleAssignmentContainer self) -> std::string"""
2929 return _IMP_domino.SampleAssignmentContainer___str__(self)
2933 """__repr__(SampleAssignmentContainer self) -> std::string"""
2934 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2939 return _object_cast_to_SampleAssignmentContainer(o)
2941 SampleAssignmentContainer_swigregister = _IMP_domino.SampleAssignmentContainer_swigregister
2942 SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2944 class WriteHDF5AssignmentContainer(AssignmentContainer):
2945 """Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class"""
2946 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2948 def __init__(self, *args):
2950 __init__(IMP::domino::WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2951 __init__(IMP::domino::WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2953 this = _IMP_domino.new_WriteHDF5AssignmentContainer(*args)
2955 self.this.append(this)
2959 def set_cache_size(self, words):
2960 """set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2961 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2964 def get_assignments(self, *args):
2966 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2967 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2969 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2972 def get_version_info(self):
2973 """get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2974 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2978 """__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2979 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2983 """__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2984 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2989 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2991 WriteHDF5AssignmentContainer_swigregister = _IMP_domino.WriteHDF5AssignmentContainer_swigregister
2992 WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2994 class ReadHDF5AssignmentContainer(AssignmentContainer):
2995 """Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class"""
2996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2998 def __init__(self, dataset, s, all_particles, name):
2999 """__init__(IMP::domino::ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
3000 this = _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name)
3002 self.this.append(this)
3006 def set_cache_size(self, words):
3007 """set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
3008 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
3011 def get_assignments(self, *args):
3013 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3014 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
3016 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
3019 def get_version_info(self):
3020 """get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
3021 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
3025 """__str__(ReadHDF5AssignmentContainer self) -> std::string"""
3026 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
3030 """__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
3031 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
3036 return _object_cast_to_ReadHDF5AssignmentContainer(o)
3038 ReadHDF5AssignmentContainer_swigregister = _IMP_domino.ReadHDF5AssignmentContainer_swigregister
3039 ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
3041 class WriteAssignmentContainer(AssignmentContainer):
3042 """Proxy of C++ IMP::domino::WriteAssignmentContainer class"""
3043 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3045 def __init__(self, out_file, s, all_particles, name):
3046 """__init__(IMP::domino::WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
3047 this = _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name)
3049 self.this.append(this)
3053 def set_cache_size(self, words):
3054 """set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
3055 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
3058 def get_assignments(self, *args):
3060 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3061 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
3063 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
3066 def get_version_info(self):
3067 """get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
3068 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
3072 """__str__(WriteAssignmentContainer self) -> std::string"""
3073 return _IMP_domino.WriteAssignmentContainer___str__(self)
3077 """__repr__(WriteAssignmentContainer self) -> std::string"""
3078 return _IMP_domino.WriteAssignmentContainer___repr__(self)
3083 return _object_cast_to_WriteAssignmentContainer(o)
3085 WriteAssignmentContainer_swigregister = _IMP_domino.WriteAssignmentContainer_swigregister
3086 WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
3088 class ReadAssignmentContainer(AssignmentContainer):
3089 """Proxy of C++ IMP::domino::ReadAssignmentContainer class"""
3090 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3092 def __init__(self, out_file, s, all_particles, name):
3093 """__init__(IMP::domino::ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
3094 this = _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name)
3096 self.this.append(this)
3100 def set_cache_size(self, words):
3101 """set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
3102 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
3105 def get_assignments(self, *args):
3107 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3108 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
3110 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
3113 def get_version_info(self):
3114 """get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
3115 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
3119 """__str__(ReadAssignmentContainer self) -> std::string"""
3120 return _IMP_domino.ReadAssignmentContainer___str__(self)
3124 """__repr__(ReadAssignmentContainer self) -> std::string"""
3125 return _IMP_domino.ReadAssignmentContainer___repr__(self)
3130 return _object_cast_to_ReadAssignmentContainer(o)
3132 ReadAssignmentContainer_swigregister = _IMP_domino.ReadAssignmentContainer_swigregister
3133 ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
3135 class RangeViewAssignmentContainer(AssignmentContainer):
3136 """Proxy of C++ IMP::domino::RangeViewAssignmentContainer class"""
3137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3139 def __init__(self, inner, begin, end):
3140 """__init__(IMP::domino::RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
3141 this = _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end)
3143 self.this.append(this)
3147 def get_assignments(self, *args):
3149 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3150 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
3152 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
3155 def get_version_info(self):
3156 """get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
3157 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
3161 """__str__(RangeViewAssignmentContainer self) -> std::string"""
3162 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
3166 """__repr__(RangeViewAssignmentContainer self) -> std::string"""
3167 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
3172 return _object_cast_to_RangeViewAssignmentContainer(o)
3174 RangeViewAssignmentContainer_swigregister = _IMP_domino.RangeViewAssignmentContainer_swigregister
3175 RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
3177 class HeapAssignmentContainer(AssignmentContainer):
3178 """Proxy of C++ IMP::domino::HeapAssignmentContainer class"""
3179 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3181 def __init__(self, *args):
3183 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name) -> HeapAssignmentContainer
3184 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf) -> HeapAssignmentContainer
3186 this = _IMP_domino.new_HeapAssignmentContainer(*args)
3188 self.this.append(this)
3192 def get_assignments(self, *args):
3194 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3195 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
3197 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
3200 def get_version_info(self):
3201 """get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
3202 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
3206 """__str__(HeapAssignmentContainer self) -> std::string"""
3207 return _IMP_domino.HeapAssignmentContainer___str__(self)
3211 """__repr__(HeapAssignmentContainer self) -> std::string"""
3212 return _IMP_domino.HeapAssignmentContainer___repr__(self)
3217 return _object_cast_to_HeapAssignmentContainer(o)
3219 HeapAssignmentContainer_swigregister = _IMP_domino.HeapAssignmentContainer_swigregister
3220 HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
3222 class CappedAssignmentContainer(AssignmentContainer):
3223 """Proxy of C++ IMP::domino::CappedAssignmentContainer class"""
3224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3226 def __init__(self, contained, max_states, name):
3227 """__init__(IMP::domino::CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
3228 this = _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name)
3230 self.this.append(this)
3234 def get_assignments(self, *args):
3236 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3237 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
3239 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
3242 def get_version_info(self):
3243 """get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
3244 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
3248 """__str__(CappedAssignmentContainer self) -> std::string"""
3249 return _IMP_domino.CappedAssignmentContainer___str__(self)
3253 """__repr__(CappedAssignmentContainer self) -> std::string"""
3254 return _IMP_domino.CappedAssignmentContainer___repr__(self)
3259 return _object_cast_to_CappedAssignmentContainer(o)
3261 CappedAssignmentContainer_swigregister = _IMP_domino.CappedAssignmentContainer_swigregister
3262 CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
3265 """Proxy of C++ IMP::domino::AssignmentsTable class"""
3266 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3268 def __init__(self, *args):
3270 __init__(IMP::domino::AssignmentsTable self, std::string name) -> AssignmentsTable
3271 __init__(IMP::domino::AssignmentsTable self) -> AssignmentsTable
3273 if self.__class__ == AssignmentsTable:
3277 this = _IMP_domino.new_AssignmentsTable(_self, *args)
3279 self.this.append(this)
3283 if self.__class__ != AssignmentsTable:
3284 _director_objects.register(self)
3289 def load_assignments(self, s, ac):
3290 """load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
3291 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
3293 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
3294 __del__ =
lambda self:
None
3297 """__str__(AssignmentsTable self) -> std::string"""
3298 return _IMP_domino.AssignmentsTable___str__(self)
3302 """__repr__(AssignmentsTable self) -> std::string"""
3303 return _IMP_domino.AssignmentsTable___repr__(self)
3308 return _object_cast_to_AssignmentsTable(o)
3311 def get_type_name(self):
3312 return self.__class__.__name__
3313 def do_show(self, out):
3315 def get_version_info(self):
3316 if"IMP::domino" ==
"IMP":
3317 return VersionInfo(self.__module__,
3318 __import__(self.__module__).get_module_version())
3321 __import__(self.__module__).get_module_version())
3324 return _object_cast_to_AssignmentsTable(o)
3326 def __disown__(self):
3328 _IMP_domino.disown_AssignmentsTable(self)
3329 return weakref_proxy(self)
3331 def do_destroy(self):
3332 """do_destroy(AssignmentsTable self)"""
3333 return _IMP_domino.AssignmentsTable_do_destroy(self)
3335 AssignmentsTable_swigregister = _IMP_domino.AssignmentsTable_swigregister
3336 AssignmentsTable_swigregister(AssignmentsTable)
3338 class SimpleAssignmentsTable(AssignmentsTable):
3339 """Proxy of C++ IMP::domino::SimpleAssignmentsTable class"""
3340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3342 def __init__(self, *args):
3344 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> SimpleAssignmentsTable
3345 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> SimpleAssignmentsTable
3346 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst) -> SimpleAssignmentsTable
3348 this = _IMP_domino.new_SimpleAssignmentsTable(*args)
3350 self.this.append(this)
3354 def get_version_info(self):
3355 """get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
3356 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
3360 """__str__(SimpleAssignmentsTable self) -> std::string"""
3361 return _IMP_domino.SimpleAssignmentsTable___str__(self)
3365 """__repr__(SimpleAssignmentsTable self) -> std::string"""
3366 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
3371 return _object_cast_to_SimpleAssignmentsTable(o)
3373 SimpleAssignmentsTable_swigregister = _IMP_domino.SimpleAssignmentsTable_swigregister
3374 SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
3376 class RecursiveAssignmentsTable(AssignmentsTable):
3377 """Proxy of C++ IMP::domino::RecursiveAssignmentsTable class"""
3378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3380 def __init__(self, *args):
3382 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> RecursiveAssignmentsTable
3383 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> RecursiveAssignmentsTable
3384 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst) -> RecursiveAssignmentsTable
3386 this = _IMP_domino.new_RecursiveAssignmentsTable(*args)
3388 self.this.append(this)
3392 def get_version_info(self):
3393 """get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
3394 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
3398 """__str__(RecursiveAssignmentsTable self) -> std::string"""
3399 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
3403 """__repr__(RecursiveAssignmentsTable self) -> std::string"""
3404 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
3409 return _object_cast_to_RecursiveAssignmentsTable(o)
3411 RecursiveAssignmentsTable_swigregister = _IMP_domino.RecursiveAssignmentsTable_swigregister
3412 RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
3414 class BranchAndBoundAssignmentsTable(AssignmentsTable):
3415 """Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class"""
3416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3418 def __init__(self, *args):
3420 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> BranchAndBoundAssignmentsTable
3421 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> BranchAndBoundAssignmentsTable
3422 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst) -> BranchAndBoundAssignmentsTable
3424 this = _IMP_domino.new_BranchAndBoundAssignmentsTable(*args)
3426 self.this.append(this)
3430 def get_version_info(self):
3431 """get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
3432 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
3436 """__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3437 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3441 """__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3442 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3447 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3449 BranchAndBoundAssignmentsTable_swigregister = _IMP_domino.BranchAndBoundAssignmentsTable_swigregister
3450 BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3452 class ListAssignmentsTable(AssignmentsTable):
3453 """Proxy of C++ IMP::domino::ListAssignmentsTable class"""
3454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3456 def __init__(self, *args):
3458 __init__(IMP::domino::ListAssignmentsTable self, std::string name) -> ListAssignmentsTable
3459 __init__(IMP::domino::ListAssignmentsTable self) -> ListAssignmentsTable
3461 this = _IMP_domino.new_ListAssignmentsTable(*args)
3463 self.this.append(this)
3467 def set_assignments(self, s, lsc):
3468 """set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3469 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3472 def get_version_info(self):
3473 """get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3474 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3478 """__str__(ListAssignmentsTable self) -> std::string"""
3479 return _IMP_domino.ListAssignmentsTable___str__(self)
3483 """__repr__(ListAssignmentsTable self) -> std::string"""
3484 return _IMP_domino.ListAssignmentsTable___repr__(self)
3489 return _object_cast_to_ListAssignmentsTable(o)
3491 ListAssignmentsTable_swigregister = _IMP_domino.ListAssignmentsTable_swigregister
3492 ListAssignmentsTable_swigregister(ListAssignmentsTable)
3496 """get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3497 return _IMP_domino.get_order(s, sft)
3498 class _SubsetGraphVertexIndex(object):
3499 """Proxy of C++ IMP::domino::SubsetGraphVertexIndex class"""
3500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3501 __repr__ = _swig_repr
3504 """__init__(IMP::domino::SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3505 this = _IMP_domino.new__SubsetGraphVertexIndex()
3507 self.this.append(this)
3510 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3511 __del__ =
lambda self:
None
3512 _SubsetGraphVertexIndex_swigregister = _IMP_domino._SubsetGraphVertexIndex_swigregister
3513 _SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3515 class _InteractionGraphVertexIndex(object):
3516 """Proxy of C++ IMP::domino::InteractionGraphVertexIndex class"""
3517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3518 __repr__ = _swig_repr
3521 """__init__(IMP::domino::InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3522 this = _IMP_domino.new__InteractionGraphVertexIndex()
3524 self.this.append(this)
3527 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3528 __del__ =
lambda self:
None
3529 _InteractionGraphVertexIndex_swigregister = _IMP_domino._InteractionGraphVertexIndex_swigregister
3530 _InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3534 """get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3535 return _IMP_domino.get_subsets(g)
3538 """get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3539 return _IMP_domino.get_junction_tree(ig)
3541 def get_triangulated(input):
3542 """get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3543 return _IMP_domino.get_triangulated(input)
3544 class _CliqueGraphVertexIndex(object):
3545 """Proxy of C++ IMP::domino::CliqueGraphVertexIndex class"""
3546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3547 __repr__ = _swig_repr
3550 """__init__(IMP::domino::CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3551 this = _IMP_domino.new__CliqueGraphVertexIndex()
3553 self.this.append(this)
3556 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3557 __del__ =
lambda self:
None
3558 _CliqueGraphVertexIndex_swigregister = _IMP_domino._CliqueGraphVertexIndex_swigregister
3559 _CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3562 def get_clique_graph(input):
3563 """get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3564 return _IMP_domino.get_clique_graph(input)
3566 def get_minimum_spanning_tree(input):
3567 """get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3568 return _IMP_domino.get_minimum_spanning_tree(input)
3571 """get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3572 return _IMP_domino.get_restraint_graph(rs, pst)
3576 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3577 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3579 return _IMP_domino.get_interaction_graph(*args)
3582 """get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3583 return _IMP_domino.get_interaction_graph_geometry(ig)
3586 """get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3587 return _IMP_domino.get_subset_graph_geometry(ig)
3588 class _MergeTreeVertexIndex(object):
3589 """Proxy of C++ IMP::domino::MergeTreeVertexIndex class"""
3590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3591 __repr__ = _swig_repr
3594 """__init__(IMP::domino::MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3595 this = _IMP_domino.new__MergeTreeVertexIndex()
3597 self.this.append(this)
3600 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3601 __del__ =
lambda self:
None
3602 _MergeTreeVertexIndex_swigregister = _IMP_domino._MergeTreeVertexIndex_swigregister
3603 _MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3606 def show_as_graphviz(*args):
3608 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3609 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3610 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3611 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3613 return _IMP_domino.show_as_graphviz(*args)
3615 def get_vertex_index(*args):
3617 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3618 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3619 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3620 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3622 return _IMP_domino.get_vertex_index(*args)
3626 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3627 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3629 return _IMP_domino.get_merge_tree(*args)
3632 """get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3633 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3635 def get_is_merge_tree(tree, all, verbose=True):
3637 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool
3638 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all) -> bool
3640 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3642 def write_merge_tree(tree, ps, out):
3643 """write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3644 return _IMP_domino.write_merge_tree(tree, ps, out)
3646 def read_merge_tree(input, ps):
3647 """read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3648 return _IMP_domino.read_merge_tree(input, ps)
3650 """Proxy of C++ IMP::domino::DiscreteSampler class"""
3651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3653 def get_subset_filter_tables_to_use(self, rs, pst):
3654 """get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3655 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3658 def get_assignments_table_to_use(self, *args):
3660 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max) -> AssignmentsTable
3661 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts) -> AssignmentsTable
3663 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3666 def do_sample(self):
3667 """do_sample(DiscreteSampler self) -> ConfigurationSet"""
3668 return _IMP_domino.DiscreteSampler_do_sample(self)
3671 def do_get_sample_assignments(self, all):
3672 """do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3673 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3676 def get_restraints(self):
3677 """get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3678 return _IMP_domino.DiscreteSampler_get_restraints(self)
3681 def __init__(self, m, pst, name):
3682 """__init__(IMP::domino::DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3683 if self.__class__ == DiscreteSampler:
3687 this = _IMP_domino.new_DiscreteSampler(_self, m, pst, name)
3689 self.this.append(this)
3693 if self.__class__ != DiscreteSampler:
3694 _director_objects.register(self)
3698 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3699 __del__ =
lambda self:
None
3701 def set_restraints(self, rs):
3702 """set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3703 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3706 def set_particle_states(self, p, se):
3707 """set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3708 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3711 def get_sample_assignments(self, s):
3712 """get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3713 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3716 def set_particle_states_table(self, cse):
3717 """set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3718 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3721 def set_assignments_table(self, sst):
3722 """set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3723 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3726 def get_particle_states_table(self):
3727 """get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3728 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3731 def remove_subset_filter_table(self, d):
3732 """remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3733 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3736 def remove_subset_filter_tables(self, d):
3737 """remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3738 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3741 def set_subset_filter_tables(self, ps):
3742 """set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3743 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3746 def set_subset_filter_tables_order(self, objs):
3747 """set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3748 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3751 def add_subset_filter_table(self, obj):
3752 """add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3753 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3756 def add_subset_filter_tables(self, objs):
3757 """add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3758 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3761 def clear_subset_filter_tables(self):
3762 """clear_subset_filter_tables(DiscreteSampler self)"""
3763 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3766 def get_number_of_subset_filter_tables(self):
3767 """get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3768 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3771 def get_has_subset_filter_tables(self):
3772 """get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3773 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3776 def get_subset_filter_table(self, i):
3777 """get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3778 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3781 def get_subset_filter_tables(self):
3782 """get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3783 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3786 def reserve_subset_filter_tables(self, sz):
3787 """reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3788 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3791 def set_maximum_number_of_assignments(self, mx):
3792 """set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3793 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3796 def get_maximum_number_of_assignments(self):
3797 """get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3798 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3802 """__str__(DiscreteSampler self) -> std::string"""
3803 return _IMP_domino.DiscreteSampler___str__(self)
3807 """__repr__(DiscreteSampler self) -> std::string"""
3808 return _IMP_domino.DiscreteSampler___repr__(self)
3813 return _object_cast_to_DiscreteSampler(o)
3816 def get_type_name(self):
3817 return self.__class__.__name__
3818 def do_show(self, out):
3820 def get_version_info(self):
3821 if"IMP::domino" ==
"IMP":
3822 return VersionInfo(self.__module__,
3823 __import__(self.__module__).get_module_version())
3826 __import__(self.__module__).get_module_version())
3829 return _object_cast_to_DiscreteSampler(o)
3831 def __disown__(self):
3833 _IMP_domino.disown_DiscreteSampler(self)
3834 return weakref_proxy(self)
3836 def do_destroy(self):
3837 """do_destroy(DiscreteSampler self)"""
3838 return _IMP_domino.DiscreteSampler_do_destroy(self)
3840 DiscreteSampler_swigregister = _IMP_domino.DiscreteSampler_swigregister
3841 DiscreteSampler_swigregister(DiscreteSampler)
3843 class DominoSampler(DiscreteSampler):
3844 """Proxy of C++ IMP::domino::DominoSampler class"""
3845 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3847 def __init__(self, *args):
3849 __init__(IMP::domino::DominoSampler self, Model m, std::string name) -> DominoSampler
3850 __init__(IMP::domino::DominoSampler self, Model m) -> DominoSampler
3851 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst, std::string name) -> DominoSampler
3852 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst) -> DominoSampler
3854 this = _IMP_domino.new_DominoSampler(*args)
3856 self.this.append(this)
3860 def do_get_sample_assignments(self, known):
3861 """do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3862 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3865 def get_version_info(self):
3866 """get_version_info(DominoSampler self) -> VersionInfo"""
3867 return _IMP_domino.DominoSampler_get_version_info(self)
3870 def set_merge_tree(self, mt):
3871 """set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3872 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3875 def set_use_cross_subset_filtering(self, tf):
3876 """set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3877 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3880 def get_number_of_assignments_for_vertex(self, tree_vertex):
3881 """get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3882 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3885 def get_sample_assignments_for_vertex(self, tree_vertex):
3886 """get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3887 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3890 def get_vertex_assignments(self, *args):
3892 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states) -> IMP::domino::Assignments
3893 get_vertex_assignments(DominoSampler self, unsigned int node_index) -> IMP::domino::Assignments
3894 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
3895 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second) -> IMP::domino::Assignments
3897 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3900 def load_vertex_assignments(self, *args):
3902 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states)
3903 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac)
3904 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states)
3905 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac)
3907 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3911 """__str__(DominoSampler self) -> std::string"""
3912 return _IMP_domino.DominoSampler___str__(self)
3916 """__repr__(DominoSampler self) -> std::string"""
3917 return _IMP_domino.DominoSampler___repr__(self)
3922 return _object_cast_to_DominoSampler(o)
3924 DominoSampler_swigregister = _IMP_domino.DominoSampler_swigregister
3925 DominoSampler_swigregister(DominoSampler)
3927 class BranchAndBoundSampler(DiscreteSampler):
3928 """Proxy of C++ IMP::domino::BranchAndBoundSampler class"""
3929 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3931 def __init__(self, *args):
3933 __init__(IMP::domino::BranchAndBoundSampler self, Model m, std::string name) -> BranchAndBoundSampler
3934 __init__(IMP::domino::BranchAndBoundSampler self, Model m) -> BranchAndBoundSampler
3935 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name) -> BranchAndBoundSampler
3936 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst) -> BranchAndBoundSampler
3938 this = _IMP_domino.new_BranchAndBoundSampler(*args)
3940 self.this.append(this)
3944 def do_get_sample_assignments(self, known):
3945 """do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3946 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3949 def get_version_info(self):
3950 """get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3951 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3955 """__str__(BranchAndBoundSampler self) -> std::string"""
3956 return _IMP_domino.BranchAndBoundSampler___str__(self)
3960 """__repr__(BranchAndBoundSampler self) -> std::string"""
3961 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3966 return _object_cast_to_BranchAndBoundSampler(o)
3968 BranchAndBoundSampler_swigregister = _IMP_domino.BranchAndBoundSampler_swigregister
3969 BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3973 """load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3974 return _IMP_domino.load_particle_states(s, ss, pst)
3976 def get_restraints(s, pst, dg, rs):
3977 """get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3978 return _IMP_domino.get_restraints(s, pst, dg, rs)
3980 def get_index(particles, subset, excluded):
3981 """get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3982 return _IMP_domino.get_index(particles, subset, excluded)
3985 """get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3986 return _IMP_domino.get_partial_index(particles, subset, excluded)
3989 """get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3990 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3993 """get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3994 return _IMP_domino.get_embedding(s, a, pst)
3997 """get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3998 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
4001 """get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
4002 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
4005 """load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
4006 return _IMP_domino.load_leaf_assignments(subset, at, ac)
4009 """load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
4010 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
4013 """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)"""
4014 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
4017 """get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
4018 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
4020 """Proxy of C++ IMP::domino::DependencyScoreState class"""
4021 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4023 def __init__(self, m):
4024 """__init__(IMP::domino::DependencyScoreState self, Model m) -> DependencyScoreState"""
4025 this = _IMP_domino.new_DependencyScoreState(m)
4027 self.this.append(this)
4031 def set_input_particles(self, pt):
4032 """set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
4033 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
4036 def set_output_particles(self, pt):
4037 """set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
4038 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
4041 def set_input_containers(self, pt):
4042 """set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
4043 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
4046 def set_output_containers(self, pt):
4047 """set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
4048 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
4051 def get_version_info(self):
4052 """get_version_info(DependencyScoreState self) -> VersionInfo"""
4053 return _IMP_domino.DependencyScoreState_get_version_info(self)
4057 """__str__(DependencyScoreState self) -> std::string"""
4058 return _IMP_domino.DependencyScoreState___str__(self)
4062 """__repr__(DependencyScoreState self) -> std::string"""
4063 return _IMP_domino.DependencyScoreState___repr__(self)
4068 return _object_cast_to_DependencyScoreState(o)
4070 DependencyScoreState_swigregister = _IMP_domino.DependencyScoreState_swigregister
4071 DependencyScoreState_swigregister(DependencyScoreState)
4074 def _get_ints_list(input):
4075 """_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
4076 return _IMP_domino._get_ints_list(input)
4078 def get_module_version():
4079 """get_module_version() -> std::string const"""
4080 return _IMP_domino.get_module_version()
4083 """get_example_path(std::string fname) -> std::string"""
4084 return _IMP_domino.get_example_path(fname)
4087 """get_data_path(std::string fname) -> std::string"""
4088 return _IMP_domino.get_data_path(fname)
4090 from .
import _version_check
4091 _version_check.check_version(get_module_version())
4092 __version__ = get_module_version()
Various classes to hold sets of particles.
Assignments get_state_clusters(const Subset &subset, const Assignments &states, ParticleStatesTable *pst, double resolution)
Return subset of the passed states which are representative.
SubsetGraph get_junction_tree(const InteractionGraph &ig)
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Make CGAL functionality available to IMP.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Assignment get_nearest_assignment(const Subset &s, const algebra::VectorKD &embedding, ParticleStatesTable *pst)
Return the nearest assignment from an embedding.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Subsets get_subsets(const SubsetGraph &g)
Gets all of the Subsets of a SubsetGraph.
double get_distance_if_smaller_than(const Subset &s, const Assignment &a, const Assignment &b, ParticleStatesTable *pst, const statistics::Metrics &metrics, double max)
Base class for all samplers.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
MergeTree get_balanced_merge_tree(const SubsetGraph &junction_tree)
Composable functors to implement scores via compile-time composition.
ParticlePairsTemp get_possible_interactions(const ParticlesTemp &ps, double max_distance, ParticleStatesTable *pst)
display::Geometries get_subset_graph_geometry(const SubsetGraph &ig)
InteractionGraph get_interaction_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
Code to compute statistical measures.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
MergeTree get_merge_tree(ScoringFunctionAdaptor input, const ParticleStatesTable *pst)
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
ScoreStates maintain invariants in the Model.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Ints get_partial_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
void load_leaf_assignments(const Subset &subset, AssignmentsTable *at, AssignmentContainer *ac)
Fill in assignments for a leaf.
void load_merged_assignments(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, AssignmentContainer *ret)
Fill in assignments for an internal node.
algebra::VectorKD get_embedding(const Subset &s, const Assignment &a, ParticleStatesTable *pst)
Return an embedding for an assignment.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Version and module information for Objects.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
void load_merged_assignments_random_order(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, unsigned int maximum_tries, AssignmentContainer *ret)
Sample from the merged assignments.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
std::string show_graphviz(Graph g)
SubsetGraph get_restraint_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
display::Geometries get_interaction_graph_geometry(const InteractionGraph &ig)
void load_particle_states(const Subset &s, const Assignment &ss, const ParticleStatesTable *pst)
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)