10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_domino')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_domino')
25 _IMP_domino = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_domino', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_domino', fp, pathname, description)
43 _IMP_domino = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
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
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_DOMINO_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
126 return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
131 incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
132 incr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
134 return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
139 decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
140 decr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
142 return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
151 """equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
152 return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
156 """copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
157 return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
161 """next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
162 return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
166 """__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
167 return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
171 """previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
172 return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
177 return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
182 return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
187 return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
192 return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
197 return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
202 return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
208 __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
214 IMP_DOMINO_SwigPyIterator_swigregister = _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister
215 IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
223 IMP_DEBUG = _IMP_domino.IMP_DEBUG
224 IMP_RELEASE = _IMP_domino.IMP_RELEASE
225 IMP_SILENT = _IMP_domino.IMP_SILENT
226 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
227 IMP_TERSE = _IMP_domino.IMP_TERSE
228 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
229 IMP_MEMORY = _IMP_domino.IMP_MEMORY
230 IMP_NONE = _IMP_domino.IMP_NONE
231 IMP_USAGE = _IMP_domino.IMP_USAGE
232 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_domino.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_domino.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_domino.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_domino._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_domino._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_domino.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_domino.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_domino.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_domino.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_domino.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_domino.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
328 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
329 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
330 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
331 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
332 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
333 IMP_STATISTICS_HAS_NUMPY = _IMP_domino.IMP_STATISTICS_HAS_NUMPY
334 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
336 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
337 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
338 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
339 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
340 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
341 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
342 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
343 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
344 IMP_CORE_HAS_NUMPY = _IMP_domino.IMP_CORE_HAS_NUMPY
345 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
349 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
350 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
351 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
352 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
353 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
354 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
355 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
356 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
357 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
358 IMP_CONTAINER_HAS_NUMPY = _IMP_domino.IMP_CONTAINER_HAS_NUMPY
359 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
360 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
361 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
362 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
364 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
365 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
366 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
367 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
368 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
369 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
370 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
371 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
372 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
373 IMP_ATOM_HAS_NUMPY = _IMP_domino.IMP_ATOM_HAS_NUMPY
374 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
375 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
376 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
377 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
378 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
379 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
381 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
382 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
383 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
384 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
385 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
386 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
387 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
388 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
389 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
390 IMP_RMF_HAS_NUMPY = _IMP_domino.IMP_RMF_HAS_NUMPY
391 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
392 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
395 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
396 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
397 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
398 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
399 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
400 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
401 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
402 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
403 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
404 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
405 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
406 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
407 IMP_DOMINO_HAS_NUMPY = _IMP_domino.IMP_DOMINO_HAS_NUMPY
408 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
409 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
410 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
413 _object_types.append(
"DiscreteSampler")
416 def _object_cast_to_DiscreteSampler(o):
417 """_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
418 return _IMP_domino._object_cast_to_DiscreteSampler(o)
420 _object_types.append(
"ParticleStates")
423 def _object_cast_to_ParticleStates(o):
424 """_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
425 return _IMP_domino._object_cast_to_ParticleStates(o)
427 _object_types.append(
"SubsetFilter")
430 def _object_cast_to_SubsetFilter(o):
431 """_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
432 return _IMP_domino._object_cast_to_SubsetFilter(o)
434 _object_types.append(
"SubsetFilterTable")
437 def _object_cast_to_SubsetFilterTable(o):
438 """_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
439 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
441 _object_types.append(
"AssignmentsTable")
444 def _object_cast_to_AssignmentsTable(o):
445 """_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
446 return _IMP_domino._object_cast_to_AssignmentsTable(o)
448 _object_types.append(
"AssignmentContainer")
451 def _object_cast_to_AssignmentContainer(o):
452 """_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
453 return _IMP_domino._object_cast_to_AssignmentContainer(o)
455 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> class."""
457 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
458 __repr__ = _swig_repr
461 """__init__(IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> self) -> InteractionGraph"""
462 this = _IMP_domino.new_InteractionGraph()
464 self.this.append(this)
465 except __builtin__.Exception:
469 """get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
470 return _IMP_domino.InteractionGraph_get_graph(self)
474 """get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
475 return _IMP_domino.InteractionGraph_get_vertices(self)
478 def get_vertex_name(self, i):
479 """get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
480 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
483 def get_in_neighbors(self, v):
484 """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"""
485 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
488 def get_out_neighbors(self, v):
489 """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"""
490 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
495 show_graphviz(InteractionGraph self, _ostream out)
496 show_graphviz(InteractionGraph self)
498 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
501 def get_graphviz_string(self):
502 """get_graphviz_string(InteractionGraph self) -> std::string"""
503 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
506 def add_edge(self, v0, v1):
507 """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)"""
508 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
511 def add_vertex(self, l):
512 """add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
513 return _IMP_domino.InteractionGraph_add_vertex(self, l)
516 def remove_vertex(self, l):
517 """remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
518 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
520 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
521 __del__ =
lambda self:
None
522 InteractionGraph_swigregister = _IMP_domino.InteractionGraph_swigregister
523 InteractionGraph_swigregister(InteractionGraph)
526 _value_types.append(
"InteractionGraph")
529 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> class."""
531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
532 __repr__ = _swig_repr
535 """__init__(IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> self) -> SubsetGraph"""
536 this = _IMP_domino.new_SubsetGraph()
538 self.this.append(this)
539 except __builtin__.Exception:
543 """get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
544 return _IMP_domino.SubsetGraph_get_graph(self)
548 """get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
549 return _IMP_domino.SubsetGraph_get_vertices(self)
552 def get_vertex_name(self, i):
553 """get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
554 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
557 def get_in_neighbors(self, v):
558 """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"""
559 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
562 def get_out_neighbors(self, v):
563 """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"""
564 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
569 show_graphviz(SubsetGraph self, _ostream out)
570 show_graphviz(SubsetGraph self)
572 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
575 def get_graphviz_string(self):
576 """get_graphviz_string(SubsetGraph self) -> std::string"""
577 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
580 def add_edge(self, v0, v1):
581 """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)"""
582 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
585 def add_vertex(self, l):
586 """add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
587 return _IMP_domino.SubsetGraph_add_vertex(self, l)
590 def remove_vertex(self, l):
591 """remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
592 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
594 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
595 __del__ =
lambda self:
None
596 SubsetGraph_swigregister = _IMP_domino.SubsetGraph_swigregister
597 SubsetGraph_swigregister(SubsetGraph)
600 _value_types.append(
"SubsetGraph")
603 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> class."""
605 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
606 __repr__ = _swig_repr
609 """__init__(IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> self) -> CliqueGraph"""
610 this = _IMP_domino.new_CliqueGraph()
612 self.this.append(this)
613 except __builtin__.Exception:
617 """get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
618 return _IMP_domino.CliqueGraph_get_graph(self)
622 """get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
623 return _IMP_domino.CliqueGraph_get_vertices(self)
626 def get_vertex_name(self, i):
627 """get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
628 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
631 def get_in_neighbors(self, v):
632 """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"""
633 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
636 def get_out_neighbors(self, v):
637 """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"""
638 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
643 show_graphviz(CliqueGraph self, _ostream out)
644 show_graphviz(CliqueGraph self)
646 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
649 def get_graphviz_string(self):
650 """get_graphviz_string(CliqueGraph self) -> std::string"""
651 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
654 def add_edge(self, v0, v1):
655 """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)"""
656 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
659 def add_vertex(self, l):
660 """add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
661 return _IMP_domino.CliqueGraph_add_vertex(self, l)
664 def remove_vertex(self, l):
665 """remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
666 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
668 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
669 __del__ =
lambda self:
None
670 CliqueGraph_swigregister = _IMP_domino.CliqueGraph_swigregister
671 CliqueGraph_swigregister(CliqueGraph)
674 _value_types.append(
"CliqueGraph")
677 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> class."""
679 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
680 __repr__ = _swig_repr
683 """__init__(IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> self) -> MergeTree"""
684 this = _IMP_domino.new_MergeTree()
686 self.this.append(this)
687 except __builtin__.Exception:
691 """get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
692 return _IMP_domino.MergeTree_get_graph(self)
696 """get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
697 return _IMP_domino.MergeTree_get_vertices(self)
700 def get_vertex_name(self, i):
701 """get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
702 return _IMP_domino.MergeTree_get_vertex_name(self, i)
705 def get_in_neighbors(self, v):
706 """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"""
707 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
710 def get_out_neighbors(self, v):
711 """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"""
712 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
717 show_graphviz(MergeTree self, _ostream out)
718 show_graphviz(MergeTree self)
720 return _IMP_domino.MergeTree_show_graphviz(self, *args)
723 def get_graphviz_string(self):
724 """get_graphviz_string(MergeTree self) -> std::string"""
725 return _IMP_domino.MergeTree_get_graphviz_string(self)
728 def add_edge(self, v0, v1):
729 """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)"""
730 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
733 def add_vertex(self, l):
734 """add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
735 return _IMP_domino.MergeTree_add_vertex(self, l)
738 def remove_vertex(self, l):
739 """remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
740 return _IMP_domino.MergeTree_remove_vertex(self, l)
742 __swig_destroy__ = _IMP_domino.delete_MergeTree
743 __del__ =
lambda self:
None
744 MergeTree_swigregister = _IMP_domino.MergeTree_swigregister
745 MergeTree_swigregister(MergeTree)
748 _value_types.append(
"MergeTree")
751 _object_types.append(
"BranchAndBoundSampler")
754 def _object_cast_to_BranchAndBoundSampler(o):
755 """_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
756 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
758 _object_types.append(
"BranchAndBoundAssignmentsTable")
761 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
762 """_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
763 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
765 _object_types.append(
"RecursiveAssignmentsTable")
768 def _object_cast_to_RecursiveAssignmentsTable(o):
769 """_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
770 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
772 _object_types.append(
"SimpleAssignmentsTable")
775 def _object_cast_to_SimpleAssignmentsTable(o):
776 """_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
777 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
779 _object_types.append(
"CompoundStates")
782 def _object_cast_to_CompoundStates(o):
783 """_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
784 return _IMP_domino._object_cast_to_CompoundStates(o)
786 _object_types.append(
"DisjointSetsSubsetFilterTable")
789 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
790 """_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
791 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
793 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
796 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
797 """_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
798 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
800 _object_types.append(
"DominoSampler")
803 def _object_cast_to_DominoSampler(o):
804 """_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
805 return _IMP_domino._object_cast_to_DominoSampler(o)
807 _object_types.append(
"EqualitySubsetFilterTable")
810 def _object_cast_to_EqualitySubsetFilterTable(o):
811 """_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
812 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
814 _object_types.append(
"EquivalenceSubsetFilterTable")
817 def _object_cast_to_EquivalenceSubsetFilterTable(o):
818 """_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
819 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
821 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
824 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
825 """_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
826 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
828 _object_types.append(
"ExclusionSubsetFilterTable")
831 def _object_cast_to_ExclusionSubsetFilterTable(o):
832 """_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
833 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
835 _object_types.append(
"IndexStates")
838 def _object_cast_to_IndexStates(o):
839 """_object_cast_to_IndexStates(Object o) -> IndexStates"""
840 return _IMP_domino._object_cast_to_IndexStates(o)
842 _object_types.append(
"ListSubsetFilterTable")
845 def _object_cast_to_ListSubsetFilterTable(o):
846 """_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
847 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
849 _object_types.append(
"ListAssignmentsTable")
852 def _object_cast_to_ListAssignmentsTable(o):
853 """_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
854 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
856 _object_types.append(
"ParticleStatesTable")
859 def _object_cast_to_ParticleStatesTable(o):
860 """_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
861 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
863 _object_types.append(
"RecursiveStates")
866 def _object_cast_to_RecursiveStates(o):
867 """_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
868 return _IMP_domino._object_cast_to_RecursiveStates(o)
870 _object_types.append(
"ProbabilisticSubsetFilterTable")
873 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
874 """_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
875 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
877 _object_types.append(
"RestraintScoreSubsetFilterTable")
880 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
881 """_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
882 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
884 _object_types.append(
"RigidBodyStates")
887 def _object_cast_to_RigidBodyStates(o):
888 """_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
889 return _IMP_domino._object_cast_to_RigidBodyStates(o)
891 _object_types.append(
"XYZStates")
894 def _object_cast_to_XYZStates(o):
895 """_object_cast_to_XYZStates(Object o) -> XYZStates"""
896 return _IMP_domino._object_cast_to_XYZStates(o)
898 _object_types.append(
"NestedRigidBodyStates")
901 def _object_cast_to_NestedRigidBodyStates(o):
902 """_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
903 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
905 _object_types.append(
"DependencyScoreState")
908 def _object_cast_to_DependencyScoreState(o):
909 """_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
910 return _IMP_domino._object_cast_to_DependencyScoreState(o)
912 _object_types.append(
"PairListSubsetFilterTable")
915 def _object_cast_to_PairListSubsetFilterTable(o):
916 """_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
917 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
919 _object_types.append(
"ListAssignmentContainer")
922 def _object_cast_to_ListAssignmentContainer(o):
923 """_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
924 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
926 _object_types.append(
"PackedAssignmentContainer")
929 def _object_cast_to_PackedAssignmentContainer(o):
930 """_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
931 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
933 _object_types.append(
"HeapAssignmentContainer")
936 def _object_cast_to_HeapAssignmentContainer(o):
937 """_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
938 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
940 _object_types.append(
"RangeViewAssignmentContainer")
943 def _object_cast_to_RangeViewAssignmentContainer(o):
944 """_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
945 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
947 _object_types.append(
"SampleAssignmentContainer")
950 def _object_cast_to_SampleAssignmentContainer(o):
951 """_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
952 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
954 _object_types.append(
"PermutationStates")
957 def _object_cast_to_PermutationStates(o):
958 """_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
959 return _IMP_domino._object_cast_to_PermutationStates(o)
961 _object_types.append(
"WriteHDF5AssignmentContainer")
964 def _object_cast_to_WriteHDF5AssignmentContainer(o):
965 """_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
966 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
968 _object_types.append(
"ReadHDF5AssignmentContainer")
971 def _object_cast_to_ReadHDF5AssignmentContainer(o):
972 """_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
973 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
975 _object_types.append(
"ReadAssignmentContainer")
978 def _object_cast_to_ReadAssignmentContainer(o):
979 """_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
980 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
982 _object_types.append(
"WriteAssignmentContainer")
985 def _object_cast_to_WriteAssignmentContainer(o):
986 """_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
987 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
989 _object_types.append(
"CappedAssignmentContainer")
992 def _object_cast_to_CappedAssignmentContainer(o):
993 """_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
994 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
996 _object_types.append(
"RestraintCache")
999 def _object_cast_to_RestraintCache(o):
1000 """_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
1001 return _IMP_domino._object_cast_to_RestraintCache(o)
1004 _plural_types.append(
"Subsets")
1005 _value_types.append(
"Subset")
1009 _plural_types.append(
"Assignments")
1010 _value_types.append(
"Assignment")
1014 _plural_types.append(
"Slices")
1015 _value_types.append(
"Slice")
1019 _plural_types.append(
"Orders")
1020 _value_types.append(
"Order")
1022 class _IntArray(IMP._Value):
1023 """Proxy of C++ IMP::ConstVector<(int)> class."""
1025 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1026 __repr__ = _swig_repr
1027 __swig_destroy__ = _IMP_domino.delete__IntArray
1028 __del__ =
lambda self:
None
1030 def __init__(self, *args):
1032 __init__(IMP::ConstVector<(int)> self, unsigned int sz, int fill) -> _IntArray
1033 __init__(IMP::ConstVector<(int)> self) -> _IntArray
1035 this = _IMP_domino.new__IntArray(*args)
1037 self.this.append(this)
1038 except __builtin__.Exception:
1041 def __cmp__(self, o):
1042 """__cmp__(_IntArray self, _IntArray o) -> int"""
1043 return _IMP_domino._IntArray___cmp__(self, o)
1046 def __eq__(self, o):
1047 """__eq__(_IntArray self, _IntArray o) -> bool"""
1048 return _IMP_domino._IntArray___eq__(self, o)
1051 def __ne__(self, o):
1052 """__ne__(_IntArray self, _IntArray o) -> bool"""
1053 return _IMP_domino._IntArray___ne__(self, o)
1056 def __lt__(self, o):
1057 """__lt__(_IntArray self, _IntArray o) -> bool"""
1058 return _IMP_domino._IntArray___lt__(self, o)
1061 def __gt__(self, o):
1062 """__gt__(_IntArray self, _IntArray o) -> bool"""
1063 return _IMP_domino._IntArray___gt__(self, o)
1066 def __ge__(self, o):
1067 """__ge__(_IntArray self, _IntArray o) -> bool"""
1068 return _IMP_domino._IntArray___ge__(self, o)
1071 def __le__(self, o):
1072 """__le__(_IntArray self, _IntArray o) -> bool"""
1073 return _IMP_domino._IntArray___le__(self, o)
1076 def __getitem__(self, i):
1077 """__getitem__(_IntArray self, unsigned int i) -> int"""
1078 return _IMP_domino._IntArray___getitem__(self, i)
1082 """__len__(_IntArray self) -> unsigned int"""
1083 return _IMP_domino._IntArray___len__(self)
1086 def show(self, *args):
1088 show(_IntArray self, _ostream out)
1089 show(_IntArray self)
1091 return _IMP_domino._IntArray_show(self, *args)
1095 """__hash__(_IntArray self) -> std::size_t"""
1096 return _IMP_domino._IntArray___hash__(self)
1098 _IntArray_swigregister = _IMP_domino._IntArray_swigregister
1099 _IntArray_swigregister(_IntArray)
1101 class _UIntArray(IMP._Value):
1102 """Proxy of C++ IMP::ConstVector<(unsigned int)> class."""
1104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1105 __repr__ = _swig_repr
1106 __swig_destroy__ = _IMP_domino.delete__UIntArray
1107 __del__ =
lambda self:
None
1109 def __init__(self, *args):
1111 __init__(IMP::ConstVector<(unsigned int)> self, unsigned int sz, unsigned int fill) -> _UIntArray
1112 __init__(IMP::ConstVector<(unsigned int)> self) -> _UIntArray
1114 this = _IMP_domino.new__UIntArray(*args)
1116 self.this.append(this)
1117 except __builtin__.Exception:
1120 def __cmp__(self, o):
1121 """__cmp__(_UIntArray self, _UIntArray o) -> int"""
1122 return _IMP_domino._UIntArray___cmp__(self, o)
1125 def __eq__(self, o):
1126 """__eq__(_UIntArray self, _UIntArray o) -> bool"""
1127 return _IMP_domino._UIntArray___eq__(self, o)
1130 def __ne__(self, o):
1131 """__ne__(_UIntArray self, _UIntArray o) -> bool"""
1132 return _IMP_domino._UIntArray___ne__(self, o)
1135 def __lt__(self, o):
1136 """__lt__(_UIntArray self, _UIntArray o) -> bool"""
1137 return _IMP_domino._UIntArray___lt__(self, o)
1140 def __gt__(self, o):
1141 """__gt__(_UIntArray self, _UIntArray o) -> bool"""
1142 return _IMP_domino._UIntArray___gt__(self, o)
1145 def __ge__(self, o):
1146 """__ge__(_UIntArray self, _UIntArray o) -> bool"""
1147 return _IMP_domino._UIntArray___ge__(self, o)
1150 def __le__(self, o):
1151 """__le__(_UIntArray self, _UIntArray o) -> bool"""
1152 return _IMP_domino._UIntArray___le__(self, o)
1155 def __getitem__(self, i):
1156 """__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1157 return _IMP_domino._UIntArray___getitem__(self, i)
1161 """__len__(_UIntArray self) -> unsigned int"""
1162 return _IMP_domino._UIntArray___len__(self)
1165 def show(self, *args):
1167 show(_UIntArray self, _ostream out)
1168 show(_UIntArray self)
1170 return _IMP_domino._UIntArray_show(self, *args)
1174 """__hash__(_UIntArray self) -> std::size_t"""
1175 return _IMP_domino._UIntArray___hash__(self)
1177 _UIntArray_swigregister = _IMP_domino._UIntArray_swigregister
1178 _UIntArray_swigregister(_UIntArray)
1180 class _ParticleArray(IMP._Value):
1181 """Proxy of C++ IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> class."""
1183 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1184 __repr__ = _swig_repr
1185 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1186 __del__ =
lambda self:
None
1188 def __init__(self, *args):
1190 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1191 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self) -> _ParticleArray
1193 this = _IMP_domino.new__ParticleArray(*args)
1195 self.this.append(this)
1196 except __builtin__.Exception:
1199 def __cmp__(self, o):
1200 """__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1201 return _IMP_domino._ParticleArray___cmp__(self, o)
1204 def __eq__(self, o):
1205 """__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1206 return _IMP_domino._ParticleArray___eq__(self, o)
1209 def __ne__(self, o):
1210 """__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1211 return _IMP_domino._ParticleArray___ne__(self, o)
1214 def __lt__(self, o):
1215 """__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1216 return _IMP_domino._ParticleArray___lt__(self, o)
1219 def __gt__(self, o):
1220 """__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1221 return _IMP_domino._ParticleArray___gt__(self, o)
1224 def __ge__(self, o):
1225 """__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1226 return _IMP_domino._ParticleArray___ge__(self, o)
1229 def __le__(self, o):
1230 """__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1231 return _IMP_domino._ParticleArray___le__(self, o)
1234 def __getitem__(self, i):
1235 """__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1236 return _IMP_domino._ParticleArray___getitem__(self, i)
1240 """__len__(_ParticleArray self) -> unsigned int"""
1241 return _IMP_domino._ParticleArray___len__(self)
1244 def show(self, *args):
1246 show(_ParticleArray self, _ostream out)
1247 show(_ParticleArray self)
1249 return _IMP_domino._ParticleArray_show(self, *args)
1253 """__hash__(_ParticleArray self) -> std::size_t"""
1254 return _IMP_domino._ParticleArray___hash__(self)
1256 _ParticleArray_swigregister = _IMP_domino._ParticleArray_swigregister
1257 _ParticleArray_swigregister(_ParticleArray)
1259 class Subset(_ParticleArray):
1260 """Proxy of C++ IMP::domino::Subset class."""
1262 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1264 def __init__(self, *args):
1266 __init__(IMP::domino::Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1267 __init__(IMP::domino::Subset self) -> Subset
1268 __init__(IMP::domino::Subset self, IMP::ParticlesTemp ps) -> Subset
1270 this = _IMP_domino.new_Subset(*args)
1272 self.this.append(this)
1273 except __builtin__.Exception:
1276 def get_model(self):
1277 """get_model(Subset self) -> Model"""
1278 return _IMP_domino.Subset_get_model(self)
1282 """get_name(Subset self) -> std::string"""
1283 return _IMP_domino.Subset_get_name(self)
1286 def get_contains(self, o):
1287 """get_contains(Subset self, Subset o) -> bool"""
1288 return _IMP_domino.Subset_get_contains(self, o)
1292 """__str__(Subset self) -> std::string"""
1293 return _IMP_domino.Subset___str__(self)
1297 """__repr__(Subset self) -> std::string"""
1298 return _IMP_domino.Subset___repr__(self)
1300 __swig_destroy__ = _IMP_domino.delete_Subset
1301 __del__ =
lambda self:
None
1302 Subset_swigregister = _IMP_domino.Subset_swigregister
1303 Subset_swigregister(Subset)
1307 """get_union(Subset a, Subset b) -> Subset"""
1308 return _IMP_domino.get_union(a, b)
1311 """get_intersection(Subset a, Subset b) -> Subset"""
1312 return _IMP_domino.get_intersection(a, b)
1314 def get_difference(a, b):
1315 """get_difference(Subset a, Subset b) -> Subset"""
1316 return _IMP_domino.get_difference(a, b)
1317 class Assignment(_IntArray):
1318 """Proxy of C++ IMP::domino::Assignment class."""
1320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1322 def __init__(self, *args):
1324 __init__(IMP::domino::Assignment self) -> Assignment
1325 __init__(IMP::domino::Assignment self, unsigned int sz) -> Assignment
1326 __init__(IMP::domino::Assignment self, IMP::Ints const & i) -> Assignment
1328 this = _IMP_domino.new_Assignment(*args)
1330 self.this.append(this)
1331 except __builtin__.Exception:
1335 """__str__(Assignment self) -> std::string"""
1336 return _IMP_domino.Assignment___str__(self)
1340 """__repr__(Assignment self) -> std::string"""
1341 return _IMP_domino.Assignment___repr__(self)
1343 __swig_destroy__ = _IMP_domino.delete_Assignment
1344 __del__ =
lambda self:
None
1345 Assignment_swigregister = _IMP_domino.Assignment_swigregister
1346 Assignment_swigregister(Assignment)
1348 class Slice(_UIntArray):
1349 """Proxy of C++ IMP::domino::Slice class."""
1351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1353 def __init__(self, *args):
1355 __init__(IMP::domino::Slice self) -> Slice
1356 __init__(IMP::domino::Slice self, Subset outer, Subset inner) -> Slice
1358 this = _IMP_domino.new_Slice(*args)
1360 self.this.append(this)
1361 except __builtin__.Exception:
1364 def get_sliced(self, *args):
1366 get_sliced(Slice self, Assignment a) -> Assignment
1367 get_sliced(Slice self, Subset a) -> Subset
1369 return _IMP_domino.Slice_get_sliced(self, *args)
1373 """__str__(Slice self) -> std::string"""
1374 return _IMP_domino.Slice___str__(self)
1378 """__repr__(Slice self) -> std::string"""
1379 return _IMP_domino.Slice___repr__(self)
1381 __swig_destroy__ = _IMP_domino.delete_Slice
1382 __del__ =
lambda self:
None
1383 Slice_swigregister = _IMP_domino.Slice_swigregister
1384 Slice_swigregister(Slice)
1388 """get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1389 return _IMP_domino.get_slice(outer, inner, excluded)
1390 class Order(_UIntArray):
1391 """Proxy of C++ IMP::domino::Order class."""
1393 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1395 def __init__(self, *args):
1397 __init__(IMP::domino::Order self) -> Order
1398 __init__(IMP::domino::Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1400 this = _IMP_domino.new_Order(*args)
1402 self.this.append(this)
1403 except __builtin__.Exception:
1406 def get_list_ordered(self, a):
1407 """get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1408 return _IMP_domino.Order_get_list_ordered(self, a)
1411 def get_subset_ordered(self, a):
1412 """get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1413 return _IMP_domino.Order_get_subset_ordered(self, a)
1417 """__str__(Order self) -> std::string"""
1418 return _IMP_domino.Order___str__(self)
1422 """__repr__(Order self) -> std::string"""
1423 return _IMP_domino.Order___repr__(self)
1425 __swig_destroy__ = _IMP_domino.delete_Order
1426 __del__ =
lambda self:
None
1427 Order_swigregister = _IMP_domino.Order_swigregister
1428 Order_swigregister(Order)
1431 """Proxy of C++ IMP::domino::ParticleStates class."""
1433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1435 def __init__(self, *args):
1437 __init__(IMP::domino::ParticleStates self, std::string name) -> ParticleStates
1438 __init__(IMP::domino::ParticleStates self) -> ParticleStates
1440 if self.__class__ == ParticleStates:
1444 this = _IMP_domino.new_ParticleStates(_self, *args)
1446 self.this.append(this)
1447 except __builtin__.Exception:
1450 if self.__class__ != ParticleStates:
1451 _director_objects.register(self)
1456 def get_number_of_particle_states(self):
1457 """get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1458 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1461 def load_particle_state(self, arg0, arg1):
1462 """load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1463 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1467 """get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1468 return _IMP_domino.ParticleStates_get_embedding(self, i)
1471 def get_nearest_state(self, v):
1472 """get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1473 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1475 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1476 __del__ =
lambda self:
None
1479 """__str__(ParticleStates self) -> std::string"""
1480 return _IMP_domino.ParticleStates___str__(self)
1484 """__repr__(ParticleStates self) -> std::string"""
1485 return _IMP_domino.ParticleStates___repr__(self)
1490 return _object_cast_to_ParticleStates(o)
1493 def get_type_name(self):
1494 return self.__class__.__name__
1495 def do_show(self, out):
1497 def get_version_info(self):
1498 if"IMP::domino" ==
"IMP":
1499 return VersionInfo(self.__module__,
1500 __import__(self.__module__).get_module_version())
1503 __import__(self.__module__).get_module_version())
1506 return _object_cast_to_ParticleStates(o)
1508 def __disown__(self):
1510 _IMP_domino.disown_ParticleStates(self)
1511 return weakref_proxy(self)
1513 def do_destroy(self):
1514 """do_destroy(ParticleStates self)"""
1515 return _IMP_domino.ParticleStates_do_destroy(self)
1517 ParticleStates_swigregister = _IMP_domino.ParticleStates_swigregister
1518 ParticleStates_swigregister(ParticleStates)
1521 """Proxy of C++ IMP::domino::ParticleStatesTable class."""
1523 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1526 """__init__(IMP::domino::ParticleStatesTable self) -> ParticleStatesTable"""
1527 this = _IMP_domino.new_ParticleStatesTable()
1529 self.this.append(this)
1530 except __builtin__.Exception:
1533 def get_particle_states(self, p):
1534 """get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1535 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1538 def get_has_particle(self, p):
1539 """get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1540 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1544 """get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1545 return _IMP_domino.ParticleStatesTable_get_particles(self)
1548 def get_subset(self):
1549 """get_subset(ParticleStatesTable self) -> Subset"""
1550 return _IMP_domino.ParticleStatesTable_get_subset(self)
1553 def set_particle_states(self, p, e):
1554 """set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1555 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1558 def get_version_info(self):
1559 """get_version_info(ParticleStatesTable self) -> VersionInfo"""
1560 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1564 """__str__(ParticleStatesTable self) -> std::string"""
1565 return _IMP_domino.ParticleStatesTable___str__(self)
1569 """__repr__(ParticleStatesTable self) -> std::string"""
1570 return _IMP_domino.ParticleStatesTable___repr__(self)
1575 return _object_cast_to_ParticleStatesTable(o)
1577 ParticleStatesTable_swigregister = _IMP_domino.ParticleStatesTable_swigregister
1578 ParticleStatesTable_swigregister(ParticleStatesTable)
1580 class IndexStates(ParticleStates):
1581 """Proxy of C++ IMP::domino::IndexStates class."""
1583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1585 def __init__(self, *args):
1587 __init__(IMP::domino::IndexStates self, unsigned int n, IntKey k) -> IndexStates
1588 __init__(IMP::domino::IndexStates self, unsigned int n) -> IndexStates
1590 this = _IMP_domino.new_IndexStates(*args)
1592 self.this.append(this)
1593 except __builtin__.Exception:
1596 def get_version_info(self):
1597 """get_version_info(IndexStates self) -> VersionInfo"""
1598 return _IMP_domino.IndexStates_get_version_info(self)
1602 """__str__(IndexStates self) -> std::string"""
1603 return _IMP_domino.IndexStates___str__(self)
1607 """__repr__(IndexStates self) -> std::string"""
1608 return _IMP_domino.IndexStates___repr__(self)
1613 return _object_cast_to_IndexStates(o)
1615 IndexStates_swigregister = _IMP_domino.IndexStates_swigregister
1616 IndexStates_swigregister(IndexStates)
1618 class XYZStates(ParticleStates):
1619 """Proxy of C++ IMP::domino::XYZStates class."""
1621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1623 def __init__(self, states):
1624 """__init__(IMP::domino::XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1625 this = _IMP_domino.new_XYZStates(states)
1627 self.this.append(this)
1628 except __builtin__.Exception:
1631 def get_vector(self, i):
1632 """get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1633 return _IMP_domino.XYZStates_get_vector(self, i)
1636 def get_version_info(self):
1637 """get_version_info(XYZStates self) -> VersionInfo"""
1638 return _IMP_domino.XYZStates_get_version_info(self)
1642 """__str__(XYZStates self) -> std::string"""
1643 return _IMP_domino.XYZStates___str__(self)
1647 """__repr__(XYZStates self) -> std::string"""
1648 return _IMP_domino.XYZStates___repr__(self)
1653 return _object_cast_to_XYZStates(o)
1655 XYZStates_swigregister = _IMP_domino.XYZStates_swigregister
1656 XYZStates_swigregister(XYZStates)
1658 class RigidBodyStates(ParticleStates):
1659 """Proxy of C++ IMP::domino::RigidBodyStates class."""
1661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1663 def __init__(self, states, scale=1):
1665 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates
1666 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states) -> RigidBodyStates
1668 this = _IMP_domino.new_RigidBodyStates(states, scale)
1670 self.this.append(this)
1671 except __builtin__.Exception:
1674 def get_reference_frame(self, i):
1675 """get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1676 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1679 def get_version_info(self):
1680 """get_version_info(RigidBodyStates self) -> VersionInfo"""
1681 return _IMP_domino.RigidBodyStates_get_version_info(self)
1685 """__str__(RigidBodyStates self) -> std::string"""
1686 return _IMP_domino.RigidBodyStates___str__(self)
1690 """__repr__(RigidBodyStates self) -> std::string"""
1691 return _IMP_domino.RigidBodyStates___repr__(self)
1696 return _object_cast_to_RigidBodyStates(o)
1698 RigidBodyStates_swigregister = _IMP_domino.RigidBodyStates_swigregister
1699 RigidBodyStates_swigregister(RigidBodyStates)
1701 class NestedRigidBodyStates(ParticleStates):
1702 """Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1704 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1706 def __init__(self, states, scale=100):
1708 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates
1709 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states) -> NestedRigidBodyStates
1711 this = _IMP_domino.new_NestedRigidBodyStates(states, scale)
1713 self.this.append(this)
1714 except __builtin__.Exception:
1717 def get_transformation(self, i):
1718 """get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1719 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1722 def get_version_info(self):
1723 """get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1724 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1728 """__str__(NestedRigidBodyStates self) -> std::string"""
1729 return _IMP_domino.NestedRigidBodyStates___str__(self)
1733 """__repr__(NestedRigidBodyStates self) -> std::string"""
1734 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1739 return _object_cast_to_NestedRigidBodyStates(o)
1741 NestedRigidBodyStates_swigregister = _IMP_domino.NestedRigidBodyStates_swigregister
1742 NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1744 class CompoundStates(ParticleStates):
1745 """Proxy of C++ IMP::domino::CompoundStates class."""
1747 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1749 def __init__(self, a, b):
1750 """__init__(IMP::domino::CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1751 this = _IMP_domino.new_CompoundStates(a, b)
1753 self.this.append(this)
1754 except __builtin__.Exception:
1757 def get_version_info(self):
1758 """get_version_info(CompoundStates self) -> VersionInfo"""
1759 return _IMP_domino.CompoundStates_get_version_info(self)
1763 """__str__(CompoundStates self) -> std::string"""
1764 return _IMP_domino.CompoundStates___str__(self)
1768 """__repr__(CompoundStates self) -> std::string"""
1769 return _IMP_domino.CompoundStates___repr__(self)
1774 return _object_cast_to_CompoundStates(o)
1776 CompoundStates_swigregister = _IMP_domino.CompoundStates_swigregister
1777 CompoundStates_swigregister(CompoundStates)
1779 class RecursiveStates(ParticleStates):
1780 """Proxy of C++ IMP::domino::RecursiveStates class."""
1782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1784 def __init__(self, p, s, ss, pst):
1785 """__init__(IMP::domino::RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1786 this = _IMP_domino.new_RecursiveStates(p, s, ss, pst)
1788 self.this.append(this)
1789 except __builtin__.Exception:
1792 def get_version_info(self):
1793 """get_version_info(RecursiveStates self) -> VersionInfo"""
1794 return _IMP_domino.RecursiveStates_get_version_info(self)
1798 """__str__(RecursiveStates self) -> std::string"""
1799 return _IMP_domino.RecursiveStates___str__(self)
1803 """__repr__(RecursiveStates self) -> std::string"""
1804 return _IMP_domino.RecursiveStates___repr__(self)
1809 return _object_cast_to_RecursiveStates(o)
1811 RecursiveStates_swigregister = _IMP_domino.RecursiveStates_swigregister
1812 RecursiveStates_swigregister(RecursiveStates)
1814 class PermutationStates(ParticleStates):
1815 """Proxy of C++ IMP::domino::PermutationStates class."""
1817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1819 def __init__(self, inner):
1820 """__init__(IMP::domino::PermutationStates self, ParticleStates inner) -> PermutationStates"""
1821 this = _IMP_domino.new_PermutationStates(inner)
1823 self.this.append(this)
1824 except __builtin__.Exception:
1827 def get_inner_state(self, i):
1828 """get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1829 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1832 def get_version_info(self):
1833 """get_version_info(PermutationStates self) -> VersionInfo"""
1834 return _IMP_domino.PermutationStates_get_version_info(self)
1838 """__str__(PermutationStates self) -> std::string"""
1839 return _IMP_domino.PermutationStates___str__(self)
1843 """__repr__(PermutationStates self) -> std::string"""
1844 return _IMP_domino.PermutationStates___repr__(self)
1849 return _object_cast_to_PermutationStates(o)
1851 PermutationStates_swigregister = _IMP_domino.PermutationStates_swigregister
1852 PermutationStates_swigregister(PermutationStates)
1854 class _ParticlesAdaptor(IMP._InputAdaptor):
1855 """Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1858 __repr__ = _swig_repr
1860 def __init__(self, *args):
1862 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1863 __init__(IMP::domino::ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1865 this = _IMP_domino.new__ParticlesAdaptor(*args)
1867 self.this.append(this)
1868 except __builtin__.Exception:
1870 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1871 __del__ =
lambda self:
None
1872 _ParticlesAdaptor_swigregister = _IMP_domino._ParticlesAdaptor_swigregister
1873 _ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1876 """Proxy of C++ IMP::domino::RestraintCache class."""
1878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1880 def __init__(self, *args):
1882 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst, unsigned int size) -> RestraintCache
1883 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst) -> RestraintCache
1885 this = _IMP_domino.new_RestraintCache(*args)
1887 self.this.append(this)
1888 except __builtin__.Exception:
1892 """add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1893 return _IMP_domino.RestraintCache_add_restraints(self, rs)
1896 def get_score(self, *args):
1898 get_score(RestraintCache self, Restraint r, Assignment a) -> double
1899 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1901 return _IMP_domino.RestraintCache_get_score(self, *args)
1904 def load_last_score(self, r, s, a):
1905 """load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1906 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1909 def get_restraints(self, *args):
1911 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1912 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1914 return _IMP_domino.RestraintCache_get_restraints(self, *args)
1917 def save_cache(self, particle_ordering, restraints, group, max_entries):
1918 """save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1919 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1922 def load_cache(self, ps, group):
1923 """load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1924 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1928 """get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1929 return _IMP_domino.RestraintCache_get_slice(self, r, s)
1932 def get_number_of_entries(self):
1933 """get_number_of_entries(RestraintCache self) -> unsigned int"""
1934 return _IMP_domino.RestraintCache_get_number_of_entries(self)
1938 """validate(RestraintCache self)"""
1939 return _IMP_domino.RestraintCache_validate(self)
1942 def show_restraint_information(self, *args):
1944 show_restraint_information(RestraintCache self, _ostream out)
1945 show_restraint_information(RestraintCache self)
1947 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1950 def get_hit_rate(self):
1951 """get_hit_rate(RestraintCache self) -> double"""
1952 return _IMP_domino.RestraintCache_get_hit_rate(self)
1955 def get_version_info(self):
1956 """get_version_info(RestraintCache self) -> VersionInfo"""
1957 return _IMP_domino.RestraintCache_get_version_info(self)
1961 """__str__(RestraintCache self) -> std::string"""
1962 return _IMP_domino.RestraintCache___str__(self)
1966 """__repr__(RestraintCache self) -> std::string"""
1967 return _IMP_domino.RestraintCache___repr__(self)
1972 return _object_cast_to_RestraintCache(o)
1974 RestraintCache_swigregister = _IMP_domino.RestraintCache_swigregister
1975 RestraintCache_swigregister(RestraintCache)
1978 """Proxy of C++ IMP::domino::SubsetFilter class."""
1980 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1982 def __init__(self, *args):
1984 __init__(IMP::domino::SubsetFilter self, std::string name) -> SubsetFilter
1985 __init__(IMP::domino::SubsetFilter self) -> SubsetFilter
1987 if self.__class__ == SubsetFilter:
1991 this = _IMP_domino.new_SubsetFilter(_self, *args)
1993 self.this.append(this)
1994 except __builtin__.Exception:
1997 if self.__class__ != SubsetFilter:
1998 _director_objects.register(self)
2003 def get_is_ok(self, state):
2004 """get_is_ok(SubsetFilter self, Assignment state) -> bool"""
2005 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
2008 def get_next_state(self, pos, state):
2009 """get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
2010 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
2012 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
2013 __del__ =
lambda self:
None
2016 """__str__(SubsetFilter self) -> std::string"""
2017 return _IMP_domino.SubsetFilter___str__(self)
2021 """__repr__(SubsetFilter self) -> std::string"""
2022 return _IMP_domino.SubsetFilter___repr__(self)
2027 return _object_cast_to_SubsetFilter(o)
2030 def get_type_name(self):
2031 return self.__class__.__name__
2032 def do_show(self, out):
2034 def get_version_info(self):
2035 if"IMP::domino" ==
"IMP":
2036 return VersionInfo(self.__module__,
2037 __import__(self.__module__).get_module_version())
2040 __import__(self.__module__).get_module_version())
2043 return _object_cast_to_SubsetFilter(o)
2045 def __disown__(self):
2047 _IMP_domino.disown_SubsetFilter(self)
2048 return weakref_proxy(self)
2050 def do_destroy(self):
2051 """do_destroy(SubsetFilter self)"""
2052 return _IMP_domino.SubsetFilter_do_destroy(self)
2054 SubsetFilter_swigregister = _IMP_domino.SubsetFilter_swigregister
2055 SubsetFilter_swigregister(SubsetFilter)
2058 """Proxy of C++ IMP::domino::SubsetFilterTable class."""
2060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2062 def __init__(self, *args):
2064 __init__(IMP::domino::SubsetFilterTable self, std::string name) -> SubsetFilterTable
2065 __init__(IMP::domino::SubsetFilterTable self) -> SubsetFilterTable
2067 if self.__class__ == SubsetFilterTable:
2071 this = _IMP_domino.new_SubsetFilterTable(_self, *args)
2073 self.this.append(this)
2074 except __builtin__.Exception:
2077 if self.__class__ != SubsetFilterTable:
2078 _director_objects.register(self)
2083 def get_subset_filter(self, s, prior_subsets):
2084 """get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2085 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2088 def get_strength(self, s, prior_subsets):
2089 """get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2090 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2092 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2093 __del__ =
lambda self:
None
2096 """__str__(SubsetFilterTable self) -> std::string"""
2097 return _IMP_domino.SubsetFilterTable___str__(self)
2101 """__repr__(SubsetFilterTable self) -> std::string"""
2102 return _IMP_domino.SubsetFilterTable___repr__(self)
2107 return _object_cast_to_SubsetFilterTable(o)
2110 def get_type_name(self):
2111 return self.__class__.__name__
2112 def do_show(self, out):
2114 def get_version_info(self):
2115 if"IMP::domino" ==
"IMP":
2116 return VersionInfo(self.__module__,
2117 __import__(self.__module__).get_module_version())
2120 __import__(self.__module__).get_module_version())
2123 return _object_cast_to_SubsetFilterTable(o)
2125 def __disown__(self):
2127 _IMP_domino.disown_SubsetFilterTable(self)
2128 return weakref_proxy(self)
2130 def do_destroy(self):
2131 """do_destroy(SubsetFilterTable self)"""
2132 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2134 SubsetFilterTable_swigregister = _IMP_domino.SubsetFilterTable_swigregister
2135 SubsetFilterTable_swigregister(SubsetFilterTable)
2137 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2138 """Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2142 def __init__(self, *args):
2144 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2145 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2147 this = _IMP_domino.new_RestraintScoreSubsetFilterTable(*args)
2149 self.this.append(this)
2150 except __builtin__.Exception:
2153 def get_version_info(self):
2154 """get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2155 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2159 """__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2160 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2164 """__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2165 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2170 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2172 RestraintScoreSubsetFilterTable_swigregister = _IMP_domino.RestraintScoreSubsetFilterTable_swigregister
2173 RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2175 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2176 """Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2180 def __init__(self, rs, rc, max_number_allowed_violations):
2181 """__init__(IMP::domino::MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2182 this = _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations)
2184 self.this.append(this)
2185 except __builtin__.Exception:
2188 def get_maximum_number_of_violated_restraints(self):
2189 """get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2190 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2193 def get_version_info(self):
2194 """get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2195 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2199 """__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2200 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2204 """__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2205 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2210 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2212 MinimumRestraintScoreSubsetFilterTable_swigregister = _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister
2213 MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2215 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2216 """Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2218 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2220 def __init__(self, *args, **kwargs):
2221 raise AttributeError(
"No constructor defined - class is abstract")
2223 def add_set(self, ps):
2224 """add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2225 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2228 def add_pair(self, pp):
2229 """add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2230 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2234 """__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2235 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2239 """__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2240 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2245 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2247 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2248 __del__ =
lambda self:
None
2249 DisjointSetsSubsetFilterTable_swigregister = _IMP_domino.DisjointSetsSubsetFilterTable_swigregister
2250 DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2252 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2253 """Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2255 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2257 def __init__(self, *args):
2259 __init__(IMP::domino::ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2260 __init__(IMP::domino::ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2262 this = _IMP_domino.new_ExclusionSubsetFilterTable(*args)
2264 self.this.append(this)
2265 except __builtin__.Exception:
2268 def get_version_info(self):
2269 """get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2270 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2274 """__str__(ExclusionSubsetFilterTable self) -> std::string"""
2275 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2279 """__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2280 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2285 return _object_cast_to_ExclusionSubsetFilterTable(o)
2287 ExclusionSubsetFilterTable_swigregister = _IMP_domino.ExclusionSubsetFilterTable_swigregister
2288 ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2290 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2291 """Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2293 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2295 def __init__(self, *args):
2297 __init__(IMP::domino::EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2298 __init__(IMP::domino::EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2300 this = _IMP_domino.new_EqualitySubsetFilterTable(*args)
2302 self.this.append(this)
2303 except __builtin__.Exception:
2306 def get_version_info(self):
2307 """get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2308 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2312 """__str__(EqualitySubsetFilterTable self) -> std::string"""
2313 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2317 """__repr__(EqualitySubsetFilterTable self) -> std::string"""
2318 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2323 return _object_cast_to_EqualitySubsetFilterTable(o)
2325 EqualitySubsetFilterTable_swigregister = _IMP_domino.EqualitySubsetFilterTable_swigregister
2326 EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2328 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2329 """Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2333 def __init__(self, *args):
2335 __init__(IMP::domino::EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2336 __init__(IMP::domino::EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2338 this = _IMP_domino.new_EquivalenceSubsetFilterTable(*args)
2340 self.this.append(this)
2341 except __builtin__.Exception:
2344 def get_version_info(self):
2345 """get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2346 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2350 """__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2351 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2355 """__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2356 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2361 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2363 EquivalenceSubsetFilterTable_swigregister = _IMP_domino.EquivalenceSubsetFilterTable_swigregister
2364 EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2366 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2367 """Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2369 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2371 def __init__(self, *args):
2373 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2374 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2376 this = _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args)
2378 self.this.append(this)
2379 except __builtin__.Exception:
2382 def get_version_info(self):
2383 """get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2384 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2388 """__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2389 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2393 """__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2394 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2399 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2401 EquivalenceAndExclusionSubsetFilterTable_swigregister = _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister
2402 EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2404 class ListSubsetFilterTable(SubsetFilterTable):
2405 """Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2409 def __init__(self, pst):
2410 """__init__(IMP::domino::ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2411 this = _IMP_domino.new_ListSubsetFilterTable(pst)
2413 self.this.append(this)
2414 except __builtin__.Exception:
2417 def get_ok_rate(self):
2418 """get_ok_rate(ListSubsetFilterTable self) -> double"""
2419 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2422 def get_number_of_particle_states(self, p):
2423 """get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2424 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2427 def set_allowed_states(self, p, states):
2428 """set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2429 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2432 def get_version_info(self):
2433 """get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2434 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2438 """__str__(ListSubsetFilterTable self) -> std::string"""
2439 return _IMP_domino.ListSubsetFilterTable___str__(self)
2443 """__repr__(ListSubsetFilterTable self) -> std::string"""
2444 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2449 return _object_cast_to_ListSubsetFilterTable(o)
2451 ListSubsetFilterTable_swigregister = _IMP_domino.ListSubsetFilterTable_swigregister
2452 ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2454 class PairListSubsetFilterTable(SubsetFilterTable):
2455 """Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2457 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2460 """__init__(IMP::domino::PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2461 this = _IMP_domino.new_PairListSubsetFilterTable()
2463 self.this.append(this)
2464 except __builtin__.Exception:
2467 def set_allowed_states(self, p, states):
2468 """set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2469 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2472 def get_version_info(self):
2473 """get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2474 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2478 """__str__(PairListSubsetFilterTable self) -> std::string"""
2479 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2483 """__repr__(PairListSubsetFilterTable self) -> std::string"""
2484 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2489 return _object_cast_to_PairListSubsetFilterTable(o)
2491 PairListSubsetFilterTable_swigregister = _IMP_domino.PairListSubsetFilterTable_swigregister
2492 PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2494 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2495 """Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2499 def __init__(self, p, leaves_only=False):
2501 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable
2502 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p) -> ProbabilisticSubsetFilterTable
2504 this = _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only)
2506 self.this.append(this)
2507 except __builtin__.Exception:
2510 def get_version_info(self):
2511 """get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2512 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2516 """__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2517 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2521 """__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2522 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2527 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2529 ProbabilisticSubsetFilterTable_swigregister = _IMP_domino.ProbabilisticSubsetFilterTable_swigregister
2530 ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2533 """Proxy of C++ IMP::domino::AssignmentContainer class."""
2535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2537 def __init__(self, *args):
2539 __init__(IMP::domino::AssignmentContainer self, std::string name) -> AssignmentContainer
2540 __init__(IMP::domino::AssignmentContainer self) -> AssignmentContainer
2542 if self.__class__ == AssignmentContainer:
2546 this = _IMP_domino.new_AssignmentContainer(_self, *args)
2548 self.this.append(this)
2549 except __builtin__.Exception:
2552 if self.__class__ != AssignmentContainer:
2553 _director_objects.register(self)
2558 def get_number_of_assignments(self):
2559 """get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2560 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2563 def get_assignment(self, i):
2564 """get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2565 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2568 def get_assignments(self, *args):
2570 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2571 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2573 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2576 def add_assignment(self, a):
2577 """add_assignment(AssignmentContainer self, Assignment a)"""
2578 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2581 def add_assignments(self, asgn):
2582 """add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2583 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2586 def get_particle_assignments(self, i):
2587 """get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2588 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2590 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2591 __del__ =
lambda self:
None
2594 """__str__(AssignmentContainer self) -> std::string"""
2595 return _IMP_domino.AssignmentContainer___str__(self)
2599 """__repr__(AssignmentContainer self) -> std::string"""
2600 return _IMP_domino.AssignmentContainer___repr__(self)
2605 return _object_cast_to_AssignmentContainer(o)
2608 def get_type_name(self):
2609 return self.__class__.__name__
2610 def do_show(self, out):
2612 def get_version_info(self):
2613 if"IMP::domino" ==
"IMP":
2614 return VersionInfo(self.__module__,
2615 __import__(self.__module__).get_module_version())
2618 __import__(self.__module__).get_module_version())
2621 return _object_cast_to_AssignmentContainer(o)
2623 def __disown__(self):
2625 _IMP_domino.disown_AssignmentContainer(self)
2626 return weakref_proxy(self)
2628 def do_destroy(self):
2629 """do_destroy(AssignmentContainer self)"""
2630 return _IMP_domino.AssignmentContainer_do_destroy(self)
2632 AssignmentContainer_swigregister = _IMP_domino.AssignmentContainer_swigregister
2633 AssignmentContainer_swigregister(AssignmentContainer)
2635 class PackedAssignmentContainer(AssignmentContainer):
2636 """Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2640 def __init__(self, *args):
2642 __init__(IMP::domino::PackedAssignmentContainer self, std::string name) -> PackedAssignmentContainer
2643 __init__(IMP::domino::PackedAssignmentContainer self) -> PackedAssignmentContainer
2645 this = _IMP_domino.new_PackedAssignmentContainer(*args)
2647 self.this.append(this)
2648 except __builtin__.Exception:
2651 def get_assignments(self, *args):
2653 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2654 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2656 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2659 def get_version_info(self):
2660 """get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2661 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2665 """__str__(PackedAssignmentContainer self) -> std::string"""
2666 return _IMP_domino.PackedAssignmentContainer___str__(self)
2670 """__repr__(PackedAssignmentContainer self) -> std::string"""
2671 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2676 return _object_cast_to_PackedAssignmentContainer(o)
2678 PackedAssignmentContainer_swigregister = _IMP_domino.PackedAssignmentContainer_swigregister
2679 PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2681 class ListAssignmentContainer(AssignmentContainer):
2682 """Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2684 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2686 def __init__(self, *args):
2688 __init__(IMP::domino::ListAssignmentContainer self, std::string name) -> ListAssignmentContainer
2689 __init__(IMP::domino::ListAssignmentContainer self) -> ListAssignmentContainer
2691 this = _IMP_domino.new_ListAssignmentContainer(*args)
2693 self.this.append(this)
2694 except __builtin__.Exception:
2697 def get_assignments(self, *args):
2699 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2700 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2702 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2705 def get_version_info(self):
2706 """get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2707 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2711 """__str__(ListAssignmentContainer self) -> std::string"""
2712 return _IMP_domino.ListAssignmentContainer___str__(self)
2716 """__repr__(ListAssignmentContainer self) -> std::string"""
2717 return _IMP_domino.ListAssignmentContainer___repr__(self)
2722 return _object_cast_to_ListAssignmentContainer(o)
2724 ListAssignmentContainer_swigregister = _IMP_domino.ListAssignmentContainer_swigregister
2725 ListAssignmentContainer_swigregister(ListAssignmentContainer)
2727 class SampleAssignmentContainer(AssignmentContainer):
2728 """Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2732 def __init__(self, *args):
2734 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k, std::string name) -> SampleAssignmentContainer
2735 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k) -> SampleAssignmentContainer
2737 this = _IMP_domino.new_SampleAssignmentContainer(*args)
2739 self.this.append(this)
2740 except __builtin__.Exception:
2743 def get_assignments(self, *args):
2745 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2746 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2748 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2751 def get_version_info(self):
2752 """get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2753 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2757 """__str__(SampleAssignmentContainer self) -> std::string"""
2758 return _IMP_domino.SampleAssignmentContainer___str__(self)
2762 """__repr__(SampleAssignmentContainer self) -> std::string"""
2763 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2768 return _object_cast_to_SampleAssignmentContainer(o)
2770 SampleAssignmentContainer_swigregister = _IMP_domino.SampleAssignmentContainer_swigregister
2771 SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2773 class WriteHDF5AssignmentContainer(AssignmentContainer):
2774 """Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2778 def __init__(self, *args):
2780 __init__(IMP::domino::WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2781 __init__(IMP::domino::WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2783 this = _IMP_domino.new_WriteHDF5AssignmentContainer(*args)
2785 self.this.append(this)
2786 except __builtin__.Exception:
2789 def set_cache_size(self, words):
2790 """set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2791 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2794 def get_assignments(self, *args):
2796 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2797 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2799 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2802 def get_version_info(self):
2803 """get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2804 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2808 """__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2809 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2813 """__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2814 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2819 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2821 WriteHDF5AssignmentContainer_swigregister = _IMP_domino.WriteHDF5AssignmentContainer_swigregister
2822 WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2824 class ReadHDF5AssignmentContainer(AssignmentContainer):
2825 """Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2829 def __init__(self, dataset, s, all_particles, name):
2830 """__init__(IMP::domino::ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2831 this = _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name)
2833 self.this.append(this)
2834 except __builtin__.Exception:
2837 def set_cache_size(self, words):
2838 """set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2839 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2842 def get_assignments(self, *args):
2844 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2845 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2847 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2850 def get_version_info(self):
2851 """get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2852 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2856 """__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2857 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2861 """__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2862 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2867 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2869 ReadHDF5AssignmentContainer_swigregister = _IMP_domino.ReadHDF5AssignmentContainer_swigregister
2870 ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2872 class WriteAssignmentContainer(AssignmentContainer):
2873 """Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2875 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2877 def __init__(self, out_file, s, all_particles, name):
2878 """__init__(IMP::domino::WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2879 this = _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name)
2881 self.this.append(this)
2882 except __builtin__.Exception:
2885 def set_cache_size(self, words):
2886 """set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2887 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2890 def get_assignments(self, *args):
2892 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2893 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2895 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2898 def get_version_info(self):
2899 """get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2900 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2904 """__str__(WriteAssignmentContainer self) -> std::string"""
2905 return _IMP_domino.WriteAssignmentContainer___str__(self)
2909 """__repr__(WriteAssignmentContainer self) -> std::string"""
2910 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2915 return _object_cast_to_WriteAssignmentContainer(o)
2917 WriteAssignmentContainer_swigregister = _IMP_domino.WriteAssignmentContainer_swigregister
2918 WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2920 class ReadAssignmentContainer(AssignmentContainer):
2921 """Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2923 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2925 def __init__(self, out_file, s, all_particles, name):
2926 """__init__(IMP::domino::ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2927 this = _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name)
2929 self.this.append(this)
2930 except __builtin__.Exception:
2933 def set_cache_size(self, words):
2934 """set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2935 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2938 def get_assignments(self, *args):
2940 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2941 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2943 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2946 def get_version_info(self):
2947 """get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2948 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2952 """__str__(ReadAssignmentContainer self) -> std::string"""
2953 return _IMP_domino.ReadAssignmentContainer___str__(self)
2957 """__repr__(ReadAssignmentContainer self) -> std::string"""
2958 return _IMP_domino.ReadAssignmentContainer___repr__(self)
2963 return _object_cast_to_ReadAssignmentContainer(o)
2965 ReadAssignmentContainer_swigregister = _IMP_domino.ReadAssignmentContainer_swigregister
2966 ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2968 class RangeViewAssignmentContainer(AssignmentContainer):
2969 """Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2971 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2973 def __init__(self, inner, begin, end):
2974 """__init__(IMP::domino::RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2975 this = _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end)
2977 self.this.append(this)
2978 except __builtin__.Exception:
2981 def get_assignments(self, *args):
2983 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2984 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2986 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2989 def get_version_info(self):
2990 """get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2991 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2995 """__str__(RangeViewAssignmentContainer self) -> std::string"""
2996 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
3000 """__repr__(RangeViewAssignmentContainer self) -> std::string"""
3001 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
3006 return _object_cast_to_RangeViewAssignmentContainer(o)
3008 RangeViewAssignmentContainer_swigregister = _IMP_domino.RangeViewAssignmentContainer_swigregister
3009 RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
3011 class HeapAssignmentContainer(AssignmentContainer):
3012 """Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
3014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3016 def __init__(self, *args):
3018 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name) -> HeapAssignmentContainer
3019 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf) -> HeapAssignmentContainer
3021 this = _IMP_domino.new_HeapAssignmentContainer(*args)
3023 self.this.append(this)
3024 except __builtin__.Exception:
3027 def get_assignments(self, *args):
3029 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3030 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
3032 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
3035 def get_version_info(self):
3036 """get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
3037 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
3041 """__str__(HeapAssignmentContainer self) -> std::string"""
3042 return _IMP_domino.HeapAssignmentContainer___str__(self)
3046 """__repr__(HeapAssignmentContainer self) -> std::string"""
3047 return _IMP_domino.HeapAssignmentContainer___repr__(self)
3052 return _object_cast_to_HeapAssignmentContainer(o)
3054 HeapAssignmentContainer_swigregister = _IMP_domino.HeapAssignmentContainer_swigregister
3055 HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
3057 class CappedAssignmentContainer(AssignmentContainer):
3058 """Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
3060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3062 def __init__(self, contained, max_states, name):
3063 """__init__(IMP::domino::CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
3064 this = _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name)
3066 self.this.append(this)
3067 except __builtin__.Exception:
3070 def get_assignments(self, *args):
3072 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3073 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
3075 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
3078 def get_version_info(self):
3079 """get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
3080 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
3084 """__str__(CappedAssignmentContainer self) -> std::string"""
3085 return _IMP_domino.CappedAssignmentContainer___str__(self)
3089 """__repr__(CappedAssignmentContainer self) -> std::string"""
3090 return _IMP_domino.CappedAssignmentContainer___repr__(self)
3095 return _object_cast_to_CappedAssignmentContainer(o)
3097 CappedAssignmentContainer_swigregister = _IMP_domino.CappedAssignmentContainer_swigregister
3098 CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
3101 """Proxy of C++ IMP::domino::AssignmentsTable class."""
3103 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3105 def __init__(self, *args):
3107 __init__(IMP::domino::AssignmentsTable self, std::string name) -> AssignmentsTable
3108 __init__(IMP::domino::AssignmentsTable self) -> AssignmentsTable
3110 if self.__class__ == AssignmentsTable:
3114 this = _IMP_domino.new_AssignmentsTable(_self, *args)
3116 self.this.append(this)
3117 except __builtin__.Exception:
3120 if self.__class__ != AssignmentsTable:
3121 _director_objects.register(self)
3126 def load_assignments(self, s, ac):
3127 """load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
3128 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
3130 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
3131 __del__ =
lambda self:
None
3134 """__str__(AssignmentsTable self) -> std::string"""
3135 return _IMP_domino.AssignmentsTable___str__(self)
3139 """__repr__(AssignmentsTable self) -> std::string"""
3140 return _IMP_domino.AssignmentsTable___repr__(self)
3145 return _object_cast_to_AssignmentsTable(o)
3148 def get_type_name(self):
3149 return self.__class__.__name__
3150 def do_show(self, out):
3152 def get_version_info(self):
3153 if"IMP::domino" ==
"IMP":
3154 return VersionInfo(self.__module__,
3155 __import__(self.__module__).get_module_version())
3158 __import__(self.__module__).get_module_version())
3161 return _object_cast_to_AssignmentsTable(o)
3163 def __disown__(self):
3165 _IMP_domino.disown_AssignmentsTable(self)
3166 return weakref_proxy(self)
3168 def do_destroy(self):
3169 """do_destroy(AssignmentsTable self)"""
3170 return _IMP_domino.AssignmentsTable_do_destroy(self)
3172 AssignmentsTable_swigregister = _IMP_domino.AssignmentsTable_swigregister
3173 AssignmentsTable_swigregister(AssignmentsTable)
3175 class SimpleAssignmentsTable(AssignmentsTable):
3176 """Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
3178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3180 def __init__(self, *args):
3182 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> SimpleAssignmentsTable
3183 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> SimpleAssignmentsTable
3184 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst) -> SimpleAssignmentsTable
3186 this = _IMP_domino.new_SimpleAssignmentsTable(*args)
3188 self.this.append(this)
3189 except __builtin__.Exception:
3192 def get_version_info(self):
3193 """get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
3194 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
3198 """__str__(SimpleAssignmentsTable self) -> std::string"""
3199 return _IMP_domino.SimpleAssignmentsTable___str__(self)
3203 """__repr__(SimpleAssignmentsTable self) -> std::string"""
3204 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
3209 return _object_cast_to_SimpleAssignmentsTable(o)
3211 SimpleAssignmentsTable_swigregister = _IMP_domino.SimpleAssignmentsTable_swigregister
3212 SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
3214 class RecursiveAssignmentsTable(AssignmentsTable):
3215 """Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
3217 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3219 def __init__(self, *args):
3221 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> RecursiveAssignmentsTable
3222 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> RecursiveAssignmentsTable
3223 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst) -> RecursiveAssignmentsTable
3225 this = _IMP_domino.new_RecursiveAssignmentsTable(*args)
3227 self.this.append(this)
3228 except __builtin__.Exception:
3231 def get_version_info(self):
3232 """get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
3233 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
3237 """__str__(RecursiveAssignmentsTable self) -> std::string"""
3238 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
3242 """__repr__(RecursiveAssignmentsTable self) -> std::string"""
3243 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
3248 return _object_cast_to_RecursiveAssignmentsTable(o)
3250 RecursiveAssignmentsTable_swigregister = _IMP_domino.RecursiveAssignmentsTable_swigregister
3251 RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
3253 class BranchAndBoundAssignmentsTable(AssignmentsTable):
3254 """Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
3256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3258 def __init__(self, *args):
3260 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> BranchAndBoundAssignmentsTable
3261 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> BranchAndBoundAssignmentsTable
3262 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst) -> BranchAndBoundAssignmentsTable
3264 this = _IMP_domino.new_BranchAndBoundAssignmentsTable(*args)
3266 self.this.append(this)
3267 except __builtin__.Exception:
3270 def get_version_info(self):
3271 """get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
3272 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
3276 """__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3277 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3281 """__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3282 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3287 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3289 BranchAndBoundAssignmentsTable_swigregister = _IMP_domino.BranchAndBoundAssignmentsTable_swigregister
3290 BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3292 class ListAssignmentsTable(AssignmentsTable):
3293 """Proxy of C++ IMP::domino::ListAssignmentsTable class."""
3295 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3297 def __init__(self, *args):
3299 __init__(IMP::domino::ListAssignmentsTable self, std::string name) -> ListAssignmentsTable
3300 __init__(IMP::domino::ListAssignmentsTable self) -> ListAssignmentsTable
3302 this = _IMP_domino.new_ListAssignmentsTable(*args)
3304 self.this.append(this)
3305 except __builtin__.Exception:
3308 def set_assignments(self, s, lsc):
3309 """set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3310 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3313 def get_version_info(self):
3314 """get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3315 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3319 """__str__(ListAssignmentsTable self) -> std::string"""
3320 return _IMP_domino.ListAssignmentsTable___str__(self)
3324 """__repr__(ListAssignmentsTable self) -> std::string"""
3325 return _IMP_domino.ListAssignmentsTable___repr__(self)
3330 return _object_cast_to_ListAssignmentsTable(o)
3332 ListAssignmentsTable_swigregister = _IMP_domino.ListAssignmentsTable_swigregister
3333 ListAssignmentsTable_swigregister(ListAssignmentsTable)
3337 """get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3338 return _IMP_domino.get_order(s, sft)
3339 class _SubsetGraphVertexIndex(object):
3340 """Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
3342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3343 __repr__ = _swig_repr
3346 """__init__(IMP::domino::SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3347 this = _IMP_domino.new__SubsetGraphVertexIndex()
3349 self.this.append(this)
3350 except __builtin__.Exception:
3352 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3353 __del__ =
lambda self:
None
3354 _SubsetGraphVertexIndex_swigregister = _IMP_domino._SubsetGraphVertexIndex_swigregister
3355 _SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3357 class _InteractionGraphVertexIndex(object):
3358 """Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3361 __repr__ = _swig_repr
3364 """__init__(IMP::domino::InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3365 this = _IMP_domino.new__InteractionGraphVertexIndex()
3367 self.this.append(this)
3368 except __builtin__.Exception:
3370 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3371 __del__ =
lambda self:
None
3372 _InteractionGraphVertexIndex_swigregister = _IMP_domino._InteractionGraphVertexIndex_swigregister
3373 _InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3377 """get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3378 return _IMP_domino.get_subsets(g)
3381 """get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3382 return _IMP_domino.get_junction_tree(ig)
3384 def get_triangulated(input):
3385 """get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3386 return _IMP_domino.get_triangulated(input)
3387 class _CliqueGraphVertexIndex(object):
3388 """Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3391 __repr__ = _swig_repr
3394 """__init__(IMP::domino::CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3395 this = _IMP_domino.new__CliqueGraphVertexIndex()
3397 self.this.append(this)
3398 except __builtin__.Exception:
3400 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3401 __del__ =
lambda self:
None
3402 _CliqueGraphVertexIndex_swigregister = _IMP_domino._CliqueGraphVertexIndex_swigregister
3403 _CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3406 def get_clique_graph(input):
3407 """get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3408 return _IMP_domino.get_clique_graph(input)
3410 def get_minimum_spanning_tree(input):
3411 """get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3412 return _IMP_domino.get_minimum_spanning_tree(input)
3415 """get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3416 return _IMP_domino.get_restraint_graph(rs, pst)
3420 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3421 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3423 return _IMP_domino.get_interaction_graph(*args)
3426 """get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3427 return _IMP_domino.get_interaction_graph_geometry(ig)
3430 """get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3431 return _IMP_domino.get_subset_graph_geometry(ig)
3432 class _MergeTreeVertexIndex(object):
3433 """Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3435 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3436 __repr__ = _swig_repr
3439 """__init__(IMP::domino::MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3440 this = _IMP_domino.new__MergeTreeVertexIndex()
3442 self.this.append(this)
3443 except __builtin__.Exception:
3445 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3446 __del__ =
lambda self:
None
3447 _MergeTreeVertexIndex_swigregister = _IMP_domino._MergeTreeVertexIndex_swigregister
3448 _MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3451 def show_as_graphviz(*args):
3453 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3454 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3455 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3456 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3458 return _IMP_domino.show_as_graphviz(*args)
3460 def get_vertex_index(*args):
3462 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3463 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3464 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3465 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3467 return _IMP_domino.get_vertex_index(*args)
3471 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3472 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3474 return _IMP_domino.get_merge_tree(*args)
3477 """get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3478 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3480 def get_is_merge_tree(tree, all, verbose=True):
3482 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool
3483 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all) -> bool
3485 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3487 def write_merge_tree(tree, ps, out):
3488 """write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3489 return _IMP_domino.write_merge_tree(tree, ps, out)
3491 def read_merge_tree(input, ps):
3492 """read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3493 return _IMP_domino.read_merge_tree(input, ps)
3495 """Proxy of C++ IMP::domino::DiscreteSampler class."""
3497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3499 def get_subset_filter_tables_to_use(self, rs, pst):
3500 """get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3501 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3504 def get_assignments_table_to_use(self, *args):
3506 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max) -> AssignmentsTable
3507 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts) -> AssignmentsTable
3509 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3512 def do_sample(self):
3513 """do_sample(DiscreteSampler self) -> ConfigurationSet"""
3514 return _IMP_domino.DiscreteSampler_do_sample(self)
3517 def do_get_sample_assignments(self, all):
3518 """do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3519 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3522 def get_restraints(self):
3523 """get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3524 return _IMP_domino.DiscreteSampler_get_restraints(self)
3527 def __init__(self, m, pst, name):
3528 """__init__(IMP::domino::DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3529 if self.__class__ == DiscreteSampler:
3533 this = _IMP_domino.new_DiscreteSampler(_self, m, pst, name)
3535 self.this.append(this)
3536 except __builtin__.Exception:
3539 if self.__class__ != DiscreteSampler:
3540 _director_objects.register(self)
3544 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3545 __del__ =
lambda self:
None
3547 def set_restraints(self, rs):
3548 """set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3549 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3552 def set_particle_states(self, p, se):
3553 """set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3554 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3557 def get_sample_assignments(self, s):
3558 """get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3559 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3562 def set_particle_states_table(self, cse):
3563 """set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3564 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3567 def set_assignments_table(self, sst):
3568 """set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3569 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3572 def get_particle_states_table(self):
3573 """get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3574 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3577 def remove_subset_filter_table(self, d):
3578 """remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3579 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3582 def remove_subset_filter_tables(self, d):
3583 """remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3584 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3587 def set_subset_filter_tables(self, ps):
3588 """set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3589 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3592 def set_subset_filter_tables_order(self, objs):
3593 """set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3594 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3597 def add_subset_filter_table(self, obj):
3598 """add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3599 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3602 def add_subset_filter_tables(self, objs):
3603 """add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3604 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3607 def clear_subset_filter_tables(self):
3608 """clear_subset_filter_tables(DiscreteSampler self)"""
3609 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3612 def get_number_of_subset_filter_tables(self):
3613 """get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3614 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3617 def get_has_subset_filter_tables(self):
3618 """get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3619 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3622 def get_subset_filter_table(self, i):
3623 """get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3624 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3627 def get_subset_filter_tables(self):
3628 """get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3629 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3632 def reserve_subset_filter_tables(self, sz):
3633 """reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3634 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3637 def set_maximum_number_of_assignments(self, mx):
3638 """set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3639 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3642 def get_maximum_number_of_assignments(self):
3643 """get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3644 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3648 """__str__(DiscreteSampler self) -> std::string"""
3649 return _IMP_domino.DiscreteSampler___str__(self)
3653 """__repr__(DiscreteSampler self) -> std::string"""
3654 return _IMP_domino.DiscreteSampler___repr__(self)
3659 return _object_cast_to_DiscreteSampler(o)
3662 def get_type_name(self):
3663 return self.__class__.__name__
3664 def do_show(self, out):
3666 def get_version_info(self):
3667 if"IMP::domino" ==
"IMP":
3668 return VersionInfo(self.__module__,
3669 __import__(self.__module__).get_module_version())
3672 __import__(self.__module__).get_module_version())
3675 return _object_cast_to_DiscreteSampler(o)
3677 def __disown__(self):
3679 _IMP_domino.disown_DiscreteSampler(self)
3680 return weakref_proxy(self)
3682 def do_destroy(self):
3683 """do_destroy(DiscreteSampler self)"""
3684 return _IMP_domino.DiscreteSampler_do_destroy(self)
3686 DiscreteSampler_swigregister = _IMP_domino.DiscreteSampler_swigregister
3687 DiscreteSampler_swigregister(DiscreteSampler)
3689 class DominoSampler(DiscreteSampler):
3690 """Proxy of C++ IMP::domino::DominoSampler class."""
3692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3694 def __init__(self, *args):
3696 __init__(IMP::domino::DominoSampler self, Model m, std::string name) -> DominoSampler
3697 __init__(IMP::domino::DominoSampler self, Model m) -> DominoSampler
3698 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst, std::string name) -> DominoSampler
3699 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst) -> DominoSampler
3701 this = _IMP_domino.new_DominoSampler(*args)
3703 self.this.append(this)
3704 except __builtin__.Exception:
3707 def do_get_sample_assignments(self, known):
3708 """do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3709 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3712 def get_version_info(self):
3713 """get_version_info(DominoSampler self) -> VersionInfo"""
3714 return _IMP_domino.DominoSampler_get_version_info(self)
3717 def set_merge_tree(self, mt):
3718 """set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3719 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3722 def set_use_cross_subset_filtering(self, tf):
3723 """set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3724 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3727 def get_number_of_assignments_for_vertex(self, tree_vertex):
3728 """get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3729 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3732 def get_sample_assignments_for_vertex(self, tree_vertex):
3733 """get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3734 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3737 def get_vertex_assignments(self, *args):
3739 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states) -> IMP::domino::Assignments
3740 get_vertex_assignments(DominoSampler self, unsigned int node_index) -> IMP::domino::Assignments
3741 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
3742 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second) -> IMP::domino::Assignments
3744 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3747 def load_vertex_assignments(self, *args):
3749 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states)
3750 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac)
3751 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states)
3752 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac)
3754 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3758 """__str__(DominoSampler self) -> std::string"""
3759 return _IMP_domino.DominoSampler___str__(self)
3763 """__repr__(DominoSampler self) -> std::string"""
3764 return _IMP_domino.DominoSampler___repr__(self)
3769 return _object_cast_to_DominoSampler(o)
3771 DominoSampler_swigregister = _IMP_domino.DominoSampler_swigregister
3772 DominoSampler_swigregister(DominoSampler)
3774 class BranchAndBoundSampler(DiscreteSampler):
3775 """Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3777 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3779 def __init__(self, *args):
3781 __init__(IMP::domino::BranchAndBoundSampler self, Model m, std::string name) -> BranchAndBoundSampler
3782 __init__(IMP::domino::BranchAndBoundSampler self, Model m) -> BranchAndBoundSampler
3783 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name) -> BranchAndBoundSampler
3784 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst) -> BranchAndBoundSampler
3786 this = _IMP_domino.new_BranchAndBoundSampler(*args)
3788 self.this.append(this)
3789 except __builtin__.Exception:
3792 def do_get_sample_assignments(self, known):
3793 """do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3794 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3797 def get_version_info(self):
3798 """get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3799 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3803 """__str__(BranchAndBoundSampler self) -> std::string"""
3804 return _IMP_domino.BranchAndBoundSampler___str__(self)
3808 """__repr__(BranchAndBoundSampler self) -> std::string"""
3809 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3814 return _object_cast_to_BranchAndBoundSampler(o)
3816 BranchAndBoundSampler_swigregister = _IMP_domino.BranchAndBoundSampler_swigregister
3817 BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3821 """load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3822 return _IMP_domino.load_particle_states(s, ss, pst)
3824 def get_restraints(s, pst, dg, rs):
3825 """get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3826 return _IMP_domino.get_restraints(s, pst, dg, rs)
3828 def get_index(particles, subset, excluded):
3829 """get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3830 return _IMP_domino.get_index(particles, subset, excluded)
3833 """get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3834 return _IMP_domino.get_partial_index(particles, subset, excluded)
3837 """get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3838 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3841 """get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3842 return _IMP_domino.get_embedding(s, a, pst)
3845 """get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3846 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3849 """get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3850 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3853 """load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3854 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3857 """load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3858 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3861 """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)"""
3862 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3865 """get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3866 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3868 """Proxy of C++ IMP::domino::DependencyScoreState class."""
3870 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3872 def __init__(self, m):
3873 """__init__(IMP::domino::DependencyScoreState self, Model m) -> DependencyScoreState"""
3874 this = _IMP_domino.new_DependencyScoreState(m)
3876 self.this.append(this)
3877 except __builtin__.Exception:
3880 def set_input_particles(self, pt):
3881 """set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3882 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3885 def set_output_particles(self, pt):
3886 """set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3887 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3890 def set_input_containers(self, pt):
3891 """set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3892 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3895 def set_output_containers(self, pt):
3896 """set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3897 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3900 def get_version_info(self):
3901 """get_version_info(DependencyScoreState self) -> VersionInfo"""
3902 return _IMP_domino.DependencyScoreState_get_version_info(self)
3906 """__str__(DependencyScoreState self) -> std::string"""
3907 return _IMP_domino.DependencyScoreState___str__(self)
3911 """__repr__(DependencyScoreState self) -> std::string"""
3912 return _IMP_domino.DependencyScoreState___repr__(self)
3917 return _object_cast_to_DependencyScoreState(o)
3919 DependencyScoreState_swigregister = _IMP_domino.DependencyScoreState_swigregister
3920 DependencyScoreState_swigregister(DependencyScoreState)
3923 def _get_ints_list(input):
3924 """_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3925 return _IMP_domino._get_ints_list(input)
3927 def get_module_version():
3928 """get_module_version() -> std::string const"""
3929 return _IMP_domino.get_module_version()
3932 """get_example_path(std::string fname) -> std::string"""
3933 return _IMP_domino.get_example_path(fname)
3936 """get_data_path(std::string fname) -> std::string"""
3937 return _IMP_domino.get_data_path(fname)
3939 from .
import _version_check
3940 _version_check.check_version(get_module_version())
3941 __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)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Base class for all samplers.
MergeTree get_balanced_merge_tree(const SubsetGraph &junction_tree)
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
ParticlePairsTemp get_possible_interactions(const ParticlesTemp &ps, double max_distance, ParticleStatesTable *pst)
display::Geometries get_subset_graph_geometry(const SubsetGraph &ig)
InteractionGraph get_interaction_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
Code to compute statistical measures.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
MergeTree get_merge_tree(ScoringFunctionAdaptor input, const ParticleStatesTable *pst)
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
ScoreStates maintain invariants in the Model.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Ints get_partial_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
void load_leaf_assignments(const Subset &subset, AssignmentsTable *at, AssignmentContainer *ac)
Fill in assignments for a leaf.
void load_merged_assignments(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, AssignmentContainer *ret)
Fill in assignments for an internal node.
algebra::VectorKD get_embedding(const Subset &s, const Assignment &a, ParticleStatesTable *pst)
Return an embedding for an assignment.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Version and module information for Objects.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
void load_merged_assignments_random_order(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, unsigned int maximum_tries, AssignmentContainer *ret)
Sample from the merged assignments.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string show_graphviz(Graph g)
SubsetGraph get_restraint_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
display::Geometries get_interaction_graph_geometry(const InteractionGraph &ig)
void load_particle_states(const Subset &s, const Assignment &ss, const ParticleStatesTable *pst)
Load the appropriate state for each particle in a Subset.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
boost::graph InteractionGraph
Support for the RMF file format for storing hierarchical molecular data and markup.
Slice get_slice(Subset outer, Subset inner, const Subsets &excluded)