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_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_domino._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_domino._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_domino.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_domino.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_domino.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_domino.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
305 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
306 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
307 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
308 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
309 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
310 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
311 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
313 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
314 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
315 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
316 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
317 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
318 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
319 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
320 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
322 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
323 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
324 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
325 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
326 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
327 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
328 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
330 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
331 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
332 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
333 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
334 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
335 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
336 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
337 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
338 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
340 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
341 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
342 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
343 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
344 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
345 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
346 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
348 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
349 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
350 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
351 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_domino.IMP_CONTAINER_HAS_PYTHON_IHM
352 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_domino.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
353 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_domino.IMP_CONTAINER_HAS_ROBIN_MAP
354 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
356 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
357 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
358 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
359 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
360 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
361 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
362 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
363 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
364 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
365 IMP_ATOM_HAS_PYTHON_IHM = _IMP_domino.IMP_ATOM_HAS_PYTHON_IHM
366 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
367 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
368 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
369 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
370 IMP_CHAIN_TYPE_INDEX = _IMP_domino.IMP_CHAIN_TYPE_INDEX
372 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
373 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
374 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
375 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
376 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
377 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
378 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
379 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
380 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
381 IMP_RMF_HAS_PYTHON_IHM = _IMP_domino.IMP_RMF_HAS_PYTHON_IHM
382 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
385 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
386 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
387 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
388 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
389 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
390 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
391 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
392 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
393 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
394 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
395 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
396 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
397 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
398 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_domino.IMP_DOMINO_HAS_PYTHON_IHM
399 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
402 _object_types.append(
"DiscreteSampler")
405 def _object_cast_to_DiscreteSampler(o):
406 """_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
407 return _IMP_domino._object_cast_to_DiscreteSampler(o)
409 _object_types.append(
"ParticleStates")
412 def _object_cast_to_ParticleStates(o):
413 """_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
414 return _IMP_domino._object_cast_to_ParticleStates(o)
416 _object_types.append(
"SubsetFilter")
419 def _object_cast_to_SubsetFilter(o):
420 """_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
421 return _IMP_domino._object_cast_to_SubsetFilter(o)
423 _object_types.append(
"SubsetFilterTable")
426 def _object_cast_to_SubsetFilterTable(o):
427 """_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
428 return _IMP_domino._object_cast_to_SubsetFilterTable(o)
430 _object_types.append(
"AssignmentsTable")
433 def _object_cast_to_AssignmentsTable(o):
434 """_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
435 return _IMP_domino._object_cast_to_AssignmentsTable(o)
437 _object_types.append(
"AssignmentContainer")
440 def _object_cast_to_AssignmentContainer(o):
441 """_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
442 return _IMP_domino._object_cast_to_AssignmentContainer(o)
444 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> class."""
446 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
447 __repr__ = _swig_repr
450 """__init__(IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> self) -> InteractionGraph"""
451 this = _IMP_domino.new_InteractionGraph()
453 self.this.append(this)
454 except __builtin__.Exception:
458 """get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
459 return _IMP_domino.InteractionGraph_get_graph(self)
463 """get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
464 return _IMP_domino.InteractionGraph_get_vertices(self)
467 def get_vertex_name(self, i):
468 """get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
469 return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
472 def get_in_neighbors(self, v):
473 """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"""
474 return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
477 def get_out_neighbors(self, v):
478 """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"""
479 return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
484 show_graphviz(InteractionGraph self, _ostream out)
485 show_graphviz(InteractionGraph self)
487 return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
490 def get_graphviz_string(self):
491 """get_graphviz_string(InteractionGraph self) -> std::string"""
492 return _IMP_domino.InteractionGraph_get_graphviz_string(self)
495 def add_edge(self, v0, v1):
496 """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)"""
497 return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
500 def add_vertex(self, l):
501 """add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
502 return _IMP_domino.InteractionGraph_add_vertex(self, l)
505 def remove_vertex(self, l):
506 """remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
507 return _IMP_domino.InteractionGraph_remove_vertex(self, l)
509 __swig_destroy__ = _IMP_domino.delete_InteractionGraph
510 __del__ =
lambda self:
None
511 InteractionGraph_swigregister = _IMP_domino.InteractionGraph_swigregister
512 InteractionGraph_swigregister(InteractionGraph)
515 _value_types.append(
"InteractionGraph")
518 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> class."""
520 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
521 __repr__ = _swig_repr
524 """__init__(IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> self) -> SubsetGraph"""
525 this = _IMP_domino.new_SubsetGraph()
527 self.this.append(this)
528 except __builtin__.Exception:
532 """get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
533 return _IMP_domino.SubsetGraph_get_graph(self)
537 """get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
538 return _IMP_domino.SubsetGraph_get_vertices(self)
541 def get_vertex_name(self, i):
542 """get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
543 return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
546 def get_in_neighbors(self, v):
547 """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"""
548 return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
551 def get_out_neighbors(self, v):
552 """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"""
553 return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
558 show_graphviz(SubsetGraph self, _ostream out)
559 show_graphviz(SubsetGraph self)
561 return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
564 def get_graphviz_string(self):
565 """get_graphviz_string(SubsetGraph self) -> std::string"""
566 return _IMP_domino.SubsetGraph_get_graphviz_string(self)
569 def add_edge(self, v0, v1):
570 """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)"""
571 return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
574 def add_vertex(self, l):
575 """add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
576 return _IMP_domino.SubsetGraph_add_vertex(self, l)
579 def remove_vertex(self, l):
580 """remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
581 return _IMP_domino.SubsetGraph_remove_vertex(self, l)
583 __swig_destroy__ = _IMP_domino.delete_SubsetGraph
584 __del__ =
lambda self:
None
585 SubsetGraph_swigregister = _IMP_domino.SubsetGraph_swigregister
586 SubsetGraph_swigregister(SubsetGraph)
589 _value_types.append(
"SubsetGraph")
592 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> class."""
594 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
595 __repr__ = _swig_repr
598 """__init__(IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> self) -> CliqueGraph"""
599 this = _IMP_domino.new_CliqueGraph()
601 self.this.append(this)
602 except __builtin__.Exception:
606 """get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
607 return _IMP_domino.CliqueGraph_get_graph(self)
611 """get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
612 return _IMP_domino.CliqueGraph_get_vertices(self)
615 def get_vertex_name(self, i):
616 """get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
617 return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
620 def get_in_neighbors(self, v):
621 """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"""
622 return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
625 def get_out_neighbors(self, v):
626 """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"""
627 return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
632 show_graphviz(CliqueGraph self, _ostream out)
633 show_graphviz(CliqueGraph self)
635 return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
638 def get_graphviz_string(self):
639 """get_graphviz_string(CliqueGraph self) -> std::string"""
640 return _IMP_domino.CliqueGraph_get_graphviz_string(self)
643 def add_edge(self, v0, v1):
644 """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)"""
645 return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
648 def add_vertex(self, l):
649 """add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
650 return _IMP_domino.CliqueGraph_add_vertex(self, l)
653 def remove_vertex(self, l):
654 """remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
655 return _IMP_domino.CliqueGraph_remove_vertex(self, l)
657 __swig_destroy__ = _IMP_domino.delete_CliqueGraph
658 __del__ =
lambda self:
None
659 CliqueGraph_swigregister = _IMP_domino.CliqueGraph_swigregister
660 CliqueGraph_swigregister(CliqueGraph)
663 _value_types.append(
"CliqueGraph")
666 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> class."""
668 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
669 __repr__ = _swig_repr
672 """__init__(IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> self) -> MergeTree"""
673 this = _IMP_domino.new_MergeTree()
675 self.this.append(this)
676 except __builtin__.Exception:
680 """get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
681 return _IMP_domino.MergeTree_get_graph(self)
685 """get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
686 return _IMP_domino.MergeTree_get_vertices(self)
689 def get_vertex_name(self, i):
690 """get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
691 return _IMP_domino.MergeTree_get_vertex_name(self, i)
694 def get_in_neighbors(self, v):
695 """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"""
696 return _IMP_domino.MergeTree_get_in_neighbors(self, v)
699 def get_out_neighbors(self, v):
700 """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"""
701 return _IMP_domino.MergeTree_get_out_neighbors(self, v)
706 show_graphviz(MergeTree self, _ostream out)
707 show_graphviz(MergeTree self)
709 return _IMP_domino.MergeTree_show_graphviz(self, *args)
712 def get_graphviz_string(self):
713 """get_graphviz_string(MergeTree self) -> std::string"""
714 return _IMP_domino.MergeTree_get_graphviz_string(self)
717 def add_edge(self, v0, v1):
718 """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)"""
719 return _IMP_domino.MergeTree_add_edge(self, v0, v1)
722 def add_vertex(self, l):
723 """add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
724 return _IMP_domino.MergeTree_add_vertex(self, l)
727 def remove_vertex(self, l):
728 """remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
729 return _IMP_domino.MergeTree_remove_vertex(self, l)
731 __swig_destroy__ = _IMP_domino.delete_MergeTree
732 __del__ =
lambda self:
None
733 MergeTree_swigregister = _IMP_domino.MergeTree_swigregister
734 MergeTree_swigregister(MergeTree)
737 _value_types.append(
"MergeTree")
740 _object_types.append(
"BranchAndBoundSampler")
743 def _object_cast_to_BranchAndBoundSampler(o):
744 """_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
745 return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
747 _object_types.append(
"BranchAndBoundAssignmentsTable")
750 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
751 """_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
752 return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
754 _object_types.append(
"RecursiveAssignmentsTable")
757 def _object_cast_to_RecursiveAssignmentsTable(o):
758 """_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
759 return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
761 _object_types.append(
"SimpleAssignmentsTable")
764 def _object_cast_to_SimpleAssignmentsTable(o):
765 """_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
766 return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
768 _object_types.append(
"CompoundStates")
771 def _object_cast_to_CompoundStates(o):
772 """_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
773 return _IMP_domino._object_cast_to_CompoundStates(o)
775 _object_types.append(
"DisjointSetsSubsetFilterTable")
778 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
779 """_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
780 return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
782 _object_types.append(
"MinimumRestraintScoreSubsetFilterTable")
785 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
786 """_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
787 return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
789 _object_types.append(
"DominoSampler")
792 def _object_cast_to_DominoSampler(o):
793 """_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
794 return _IMP_domino._object_cast_to_DominoSampler(o)
796 _object_types.append(
"EqualitySubsetFilterTable")
799 def _object_cast_to_EqualitySubsetFilterTable(o):
800 """_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
801 return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
803 _object_types.append(
"EquivalenceSubsetFilterTable")
806 def _object_cast_to_EquivalenceSubsetFilterTable(o):
807 """_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
808 return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
810 _object_types.append(
"EquivalenceAndExclusionSubsetFilterTable")
813 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
814 """_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
815 return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
817 _object_types.append(
"ExclusionSubsetFilterTable")
820 def _object_cast_to_ExclusionSubsetFilterTable(o):
821 """_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
822 return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
824 _object_types.append(
"IndexStates")
827 def _object_cast_to_IndexStates(o):
828 """_object_cast_to_IndexStates(Object o) -> IndexStates"""
829 return _IMP_domino._object_cast_to_IndexStates(o)
831 _object_types.append(
"ListSubsetFilterTable")
834 def _object_cast_to_ListSubsetFilterTable(o):
835 """_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
836 return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
838 _object_types.append(
"ListAssignmentsTable")
841 def _object_cast_to_ListAssignmentsTable(o):
842 """_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
843 return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
845 _object_types.append(
"ParticleStatesTable")
848 def _object_cast_to_ParticleStatesTable(o):
849 """_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
850 return _IMP_domino._object_cast_to_ParticleStatesTable(o)
852 _object_types.append(
"RecursiveStates")
855 def _object_cast_to_RecursiveStates(o):
856 """_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
857 return _IMP_domino._object_cast_to_RecursiveStates(o)
859 _object_types.append(
"ProbabilisticSubsetFilterTable")
862 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
863 """_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
864 return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
866 _object_types.append(
"RestraintScoreSubsetFilterTable")
869 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
870 """_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
871 return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
873 _object_types.append(
"RigidBodyStates")
876 def _object_cast_to_RigidBodyStates(o):
877 """_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
878 return _IMP_domino._object_cast_to_RigidBodyStates(o)
880 _object_types.append(
"XYZStates")
883 def _object_cast_to_XYZStates(o):
884 """_object_cast_to_XYZStates(Object o) -> XYZStates"""
885 return _IMP_domino._object_cast_to_XYZStates(o)
887 _object_types.append(
"NestedRigidBodyStates")
890 def _object_cast_to_NestedRigidBodyStates(o):
891 """_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
892 return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
894 _object_types.append(
"DependencyScoreState")
897 def _object_cast_to_DependencyScoreState(o):
898 """_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
899 return _IMP_domino._object_cast_to_DependencyScoreState(o)
901 _object_types.append(
"PairListSubsetFilterTable")
904 def _object_cast_to_PairListSubsetFilterTable(o):
905 """_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
906 return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
908 _object_types.append(
"ListAssignmentContainer")
911 def _object_cast_to_ListAssignmentContainer(o):
912 """_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
913 return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
915 _object_types.append(
"PackedAssignmentContainer")
918 def _object_cast_to_PackedAssignmentContainer(o):
919 """_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
920 return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
922 _object_types.append(
"HeapAssignmentContainer")
925 def _object_cast_to_HeapAssignmentContainer(o):
926 """_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
927 return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
929 _object_types.append(
"RangeViewAssignmentContainer")
932 def _object_cast_to_RangeViewAssignmentContainer(o):
933 """_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
934 return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
936 _object_types.append(
"SampleAssignmentContainer")
939 def _object_cast_to_SampleAssignmentContainer(o):
940 """_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
941 return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
943 _object_types.append(
"PermutationStates")
946 def _object_cast_to_PermutationStates(o):
947 """_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
948 return _IMP_domino._object_cast_to_PermutationStates(o)
950 _object_types.append(
"WriteHDF5AssignmentContainer")
953 def _object_cast_to_WriteHDF5AssignmentContainer(o):
954 """_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
955 return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
957 _object_types.append(
"ReadHDF5AssignmentContainer")
960 def _object_cast_to_ReadHDF5AssignmentContainer(o):
961 """_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
962 return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
964 _object_types.append(
"ReadAssignmentContainer")
967 def _object_cast_to_ReadAssignmentContainer(o):
968 """_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
969 return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
971 _object_types.append(
"WriteAssignmentContainer")
974 def _object_cast_to_WriteAssignmentContainer(o):
975 """_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
976 return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
978 _object_types.append(
"CappedAssignmentContainer")
981 def _object_cast_to_CappedAssignmentContainer(o):
982 """_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
983 return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
985 _object_types.append(
"RestraintCache")
988 def _object_cast_to_RestraintCache(o):
989 """_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
990 return _IMP_domino._object_cast_to_RestraintCache(o)
993 _plural_types.append(
"Subsets")
994 _value_types.append(
"Subset")
998 _plural_types.append(
"Assignments")
999 _value_types.append(
"Assignment")
1003 _plural_types.append(
"Slices")
1004 _value_types.append(
"Slice")
1008 _plural_types.append(
"Orders")
1009 _value_types.append(
"Order")
1011 class _IntArray(IMP._Value):
1012 """Proxy of C++ IMP::ConstVector<(int)> class."""
1014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1015 __repr__ = _swig_repr
1016 __swig_destroy__ = _IMP_domino.delete__IntArray
1017 __del__ =
lambda self:
None
1019 def __init__(self, *args):
1021 __init__(IMP::ConstVector<(int)> self, unsigned int sz, int fill) -> _IntArray
1022 __init__(IMP::ConstVector<(int)> self) -> _IntArray
1024 this = _IMP_domino.new__IntArray(*args)
1026 self.this.append(this)
1027 except __builtin__.Exception:
1030 def __cmp__(self, o):
1031 """__cmp__(_IntArray self, _IntArray o) -> int"""
1032 return _IMP_domino._IntArray___cmp__(self, o)
1035 def __eq__(self, o):
1036 """__eq__(_IntArray self, _IntArray o) -> bool"""
1037 return _IMP_domino._IntArray___eq__(self, o)
1040 def __ne__(self, o):
1041 """__ne__(_IntArray self, _IntArray o) -> bool"""
1042 return _IMP_domino._IntArray___ne__(self, o)
1045 def __lt__(self, o):
1046 """__lt__(_IntArray self, _IntArray o) -> bool"""
1047 return _IMP_domino._IntArray___lt__(self, o)
1050 def __gt__(self, o):
1051 """__gt__(_IntArray self, _IntArray o) -> bool"""
1052 return _IMP_domino._IntArray___gt__(self, o)
1055 def __ge__(self, o):
1056 """__ge__(_IntArray self, _IntArray o) -> bool"""
1057 return _IMP_domino._IntArray___ge__(self, o)
1060 def __le__(self, o):
1061 """__le__(_IntArray self, _IntArray o) -> bool"""
1062 return _IMP_domino._IntArray___le__(self, o)
1065 def __getitem__(self, i):
1066 """__getitem__(_IntArray self, unsigned int i) -> int"""
1067 return _IMP_domino._IntArray___getitem__(self, i)
1071 """__len__(_IntArray self) -> unsigned int"""
1072 return _IMP_domino._IntArray___len__(self)
1075 def show(self, *args):
1077 show(_IntArray self, _ostream out)
1078 show(_IntArray self)
1080 return _IMP_domino._IntArray_show(self, *args)
1084 """__hash__(_IntArray self) -> std::size_t"""
1085 return _IMP_domino._IntArray___hash__(self)
1087 _IntArray_swigregister = _IMP_domino._IntArray_swigregister
1088 _IntArray_swigregister(_IntArray)
1090 class _UIntArray(IMP._Value):
1091 """Proxy of C++ IMP::ConstVector<(unsigned int)> class."""
1093 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1094 __repr__ = _swig_repr
1095 __swig_destroy__ = _IMP_domino.delete__UIntArray
1096 __del__ =
lambda self:
None
1098 def __init__(self, *args):
1100 __init__(IMP::ConstVector<(unsigned int)> self, unsigned int sz, unsigned int fill) -> _UIntArray
1101 __init__(IMP::ConstVector<(unsigned int)> self) -> _UIntArray
1103 this = _IMP_domino.new__UIntArray(*args)
1105 self.this.append(this)
1106 except __builtin__.Exception:
1109 def __cmp__(self, o):
1110 """__cmp__(_UIntArray self, _UIntArray o) -> int"""
1111 return _IMP_domino._UIntArray___cmp__(self, o)
1114 def __eq__(self, o):
1115 """__eq__(_UIntArray self, _UIntArray o) -> bool"""
1116 return _IMP_domino._UIntArray___eq__(self, o)
1119 def __ne__(self, o):
1120 """__ne__(_UIntArray self, _UIntArray o) -> bool"""
1121 return _IMP_domino._UIntArray___ne__(self, o)
1124 def __lt__(self, o):
1125 """__lt__(_UIntArray self, _UIntArray o) -> bool"""
1126 return _IMP_domino._UIntArray___lt__(self, o)
1129 def __gt__(self, o):
1130 """__gt__(_UIntArray self, _UIntArray o) -> bool"""
1131 return _IMP_domino._UIntArray___gt__(self, o)
1134 def __ge__(self, o):
1135 """__ge__(_UIntArray self, _UIntArray o) -> bool"""
1136 return _IMP_domino._UIntArray___ge__(self, o)
1139 def __le__(self, o):
1140 """__le__(_UIntArray self, _UIntArray o) -> bool"""
1141 return _IMP_domino._UIntArray___le__(self, o)
1144 def __getitem__(self, i):
1145 """__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1146 return _IMP_domino._UIntArray___getitem__(self, i)
1150 """__len__(_UIntArray self) -> unsigned int"""
1151 return _IMP_domino._UIntArray___len__(self)
1154 def show(self, *args):
1156 show(_UIntArray self, _ostream out)
1157 show(_UIntArray self)
1159 return _IMP_domino._UIntArray_show(self, *args)
1163 """__hash__(_UIntArray self) -> std::size_t"""
1164 return _IMP_domino._UIntArray___hash__(self)
1166 _UIntArray_swigregister = _IMP_domino._UIntArray_swigregister
1167 _UIntArray_swigregister(_UIntArray)
1169 class _ParticleArray(IMP._Value):
1170 """Proxy of C++ IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> class."""
1172 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1173 __repr__ = _swig_repr
1174 __swig_destroy__ = _IMP_domino.delete__ParticleArray
1175 __del__ =
lambda self:
None
1177 def __init__(self, *args):
1179 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1180 __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self) -> _ParticleArray
1182 this = _IMP_domino.new__ParticleArray(*args)
1184 self.this.append(this)
1185 except __builtin__.Exception:
1188 def __cmp__(self, o):
1189 """__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1190 return _IMP_domino._ParticleArray___cmp__(self, o)
1193 def __eq__(self, o):
1194 """__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1195 return _IMP_domino._ParticleArray___eq__(self, o)
1198 def __ne__(self, o):
1199 """__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1200 return _IMP_domino._ParticleArray___ne__(self, o)
1203 def __lt__(self, o):
1204 """__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1205 return _IMP_domino._ParticleArray___lt__(self, o)
1208 def __gt__(self, o):
1209 """__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1210 return _IMP_domino._ParticleArray___gt__(self, o)
1213 def __ge__(self, o):
1214 """__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1215 return _IMP_domino._ParticleArray___ge__(self, o)
1218 def __le__(self, o):
1219 """__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1220 return _IMP_domino._ParticleArray___le__(self, o)
1223 def __getitem__(self, i):
1224 """__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1225 return _IMP_domino._ParticleArray___getitem__(self, i)
1229 """__len__(_ParticleArray self) -> unsigned int"""
1230 return _IMP_domino._ParticleArray___len__(self)
1233 def show(self, *args):
1235 show(_ParticleArray self, _ostream out)
1236 show(_ParticleArray self)
1238 return _IMP_domino._ParticleArray_show(self, *args)
1242 """__hash__(_ParticleArray self) -> std::size_t"""
1243 return _IMP_domino._ParticleArray___hash__(self)
1245 _ParticleArray_swigregister = _IMP_domino._ParticleArray_swigregister
1246 _ParticleArray_swigregister(_ParticleArray)
1248 class Subset(_ParticleArray):
1249 """Proxy of C++ IMP::domino::Subset class."""
1251 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1253 def __init__(self, *args):
1255 __init__(IMP::domino::Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1256 __init__(IMP::domino::Subset self) -> Subset
1257 __init__(IMP::domino::Subset self, IMP::ParticlesTemp ps) -> Subset
1259 this = _IMP_domino.new_Subset(*args)
1261 self.this.append(this)
1262 except __builtin__.Exception:
1265 def get_model(self):
1266 """get_model(Subset self) -> Model"""
1267 return _IMP_domino.Subset_get_model(self)
1271 """get_name(Subset self) -> std::string"""
1272 return _IMP_domino.Subset_get_name(self)
1275 def get_contains(self, o):
1276 """get_contains(Subset self, Subset o) -> bool"""
1277 return _IMP_domino.Subset_get_contains(self, o)
1281 """__str__(Subset self) -> std::string"""
1282 return _IMP_domino.Subset___str__(self)
1286 """__repr__(Subset self) -> std::string"""
1287 return _IMP_domino.Subset___repr__(self)
1289 __swig_destroy__ = _IMP_domino.delete_Subset
1290 __del__ =
lambda self:
None
1291 Subset_swigregister = _IMP_domino.Subset_swigregister
1292 Subset_swigregister(Subset)
1296 """get_union(Subset a, Subset b) -> Subset"""
1297 return _IMP_domino.get_union(a, b)
1300 """get_intersection(Subset a, Subset b) -> Subset"""
1301 return _IMP_domino.get_intersection(a, b)
1303 def get_difference(a, b):
1304 """get_difference(Subset a, Subset b) -> Subset"""
1305 return _IMP_domino.get_difference(a, b)
1306 class Assignment(_IntArray):
1307 """Proxy of C++ IMP::domino::Assignment class."""
1309 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1311 def __init__(self, *args):
1313 __init__(IMP::domino::Assignment self) -> Assignment
1314 __init__(IMP::domino::Assignment self, unsigned int sz) -> Assignment
1315 __init__(IMP::domino::Assignment self, IMP::Ints const & i) -> Assignment
1317 this = _IMP_domino.new_Assignment(*args)
1319 self.this.append(this)
1320 except __builtin__.Exception:
1324 """__str__(Assignment self) -> std::string"""
1325 return _IMP_domino.Assignment___str__(self)
1329 """__repr__(Assignment self) -> std::string"""
1330 return _IMP_domino.Assignment___repr__(self)
1332 __swig_destroy__ = _IMP_domino.delete_Assignment
1333 __del__ =
lambda self:
None
1334 Assignment_swigregister = _IMP_domino.Assignment_swigregister
1335 Assignment_swigregister(Assignment)
1337 class Slice(_UIntArray):
1338 """Proxy of C++ IMP::domino::Slice class."""
1340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1342 def __init__(self, *args):
1344 __init__(IMP::domino::Slice self) -> Slice
1345 __init__(IMP::domino::Slice self, Subset outer, Subset inner) -> Slice
1347 this = _IMP_domino.new_Slice(*args)
1349 self.this.append(this)
1350 except __builtin__.Exception:
1353 def get_sliced(self, *args):
1355 get_sliced(Slice self, Assignment a) -> Assignment
1356 get_sliced(Slice self, Subset a) -> Subset
1358 return _IMP_domino.Slice_get_sliced(self, *args)
1362 """__str__(Slice self) -> std::string"""
1363 return _IMP_domino.Slice___str__(self)
1367 """__repr__(Slice self) -> std::string"""
1368 return _IMP_domino.Slice___repr__(self)
1370 __swig_destroy__ = _IMP_domino.delete_Slice
1371 __del__ =
lambda self:
None
1372 Slice_swigregister = _IMP_domino.Slice_swigregister
1373 Slice_swigregister(Slice)
1377 """get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1378 return _IMP_domino.get_slice(outer, inner, excluded)
1379 class Order(_UIntArray):
1380 """Proxy of C++ IMP::domino::Order class."""
1382 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1384 def __init__(self, *args):
1386 __init__(IMP::domino::Order self) -> Order
1387 __init__(IMP::domino::Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1389 this = _IMP_domino.new_Order(*args)
1391 self.this.append(this)
1392 except __builtin__.Exception:
1395 def get_list_ordered(self, a):
1396 """get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1397 return _IMP_domino.Order_get_list_ordered(self, a)
1400 def get_subset_ordered(self, a):
1401 """get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1402 return _IMP_domino.Order_get_subset_ordered(self, a)
1406 """__str__(Order self) -> std::string"""
1407 return _IMP_domino.Order___str__(self)
1411 """__repr__(Order self) -> std::string"""
1412 return _IMP_domino.Order___repr__(self)
1414 __swig_destroy__ = _IMP_domino.delete_Order
1415 __del__ =
lambda self:
None
1416 Order_swigregister = _IMP_domino.Order_swigregister
1417 Order_swigregister(Order)
1420 """Proxy of C++ IMP::domino::ParticleStates class."""
1422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1424 def __init__(self, *args):
1426 __init__(IMP::domino::ParticleStates self, std::string name) -> ParticleStates
1427 __init__(IMP::domino::ParticleStates self) -> ParticleStates
1429 if self.__class__ == ParticleStates:
1433 this = _IMP_domino.new_ParticleStates(_self, *args)
1435 self.this.append(this)
1436 except __builtin__.Exception:
1439 if self.__class__ != ParticleStates:
1440 _director_objects.register(self)
1445 def get_number_of_particle_states(self):
1446 """get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1447 return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1450 def load_particle_state(self, arg0, arg1):
1451 """load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1452 return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1456 """get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1457 return _IMP_domino.ParticleStates_get_embedding(self, i)
1460 def get_nearest_state(self, v):
1461 """get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1462 return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1464 __swig_destroy__ = _IMP_domino.delete_ParticleStates
1465 __del__ =
lambda self:
None
1468 """__str__(ParticleStates self) -> std::string"""
1469 return _IMP_domino.ParticleStates___str__(self)
1473 """__repr__(ParticleStates self) -> std::string"""
1474 return _IMP_domino.ParticleStates___repr__(self)
1479 return _object_cast_to_ParticleStates(o)
1482 def get_type_name(self):
1483 return self.__class__.__name__
1484 def do_show(self, out):
1486 def get_version_info(self):
1487 if"IMP::domino" ==
"IMP":
1488 return VersionInfo(self.__module__,
1489 __import__(self.__module__).get_module_version())
1492 __import__(self.__module__).get_module_version())
1495 return _object_cast_to_ParticleStates(o)
1497 def __disown__(self):
1499 _IMP_domino.disown_ParticleStates(self)
1500 return weakref_proxy(self)
1502 def do_destroy(self):
1503 """do_destroy(ParticleStates self)"""
1504 return _IMP_domino.ParticleStates_do_destroy(self)
1506 ParticleStates_swigregister = _IMP_domino.ParticleStates_swigregister
1507 ParticleStates_swigregister(ParticleStates)
1510 """Proxy of C++ IMP::domino::ParticleStatesTable class."""
1512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1515 """__init__(IMP::domino::ParticleStatesTable self) -> ParticleStatesTable"""
1516 this = _IMP_domino.new_ParticleStatesTable()
1518 self.this.append(this)
1519 except __builtin__.Exception:
1522 def get_particle_states(self, p):
1523 """get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1524 return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1527 def get_has_particle(self, p):
1528 """get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1529 return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1533 """get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1534 return _IMP_domino.ParticleStatesTable_get_particles(self)
1537 def get_subset(self):
1538 """get_subset(ParticleStatesTable self) -> Subset"""
1539 return _IMP_domino.ParticleStatesTable_get_subset(self)
1542 def set_particle_states(self, p, e):
1543 """set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1544 return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1547 def get_version_info(self):
1548 """get_version_info(ParticleStatesTable self) -> VersionInfo"""
1549 return _IMP_domino.ParticleStatesTable_get_version_info(self)
1553 """__str__(ParticleStatesTable self) -> std::string"""
1554 return _IMP_domino.ParticleStatesTable___str__(self)
1558 """__repr__(ParticleStatesTable self) -> std::string"""
1559 return _IMP_domino.ParticleStatesTable___repr__(self)
1564 return _object_cast_to_ParticleStatesTable(o)
1566 ParticleStatesTable_swigregister = _IMP_domino.ParticleStatesTable_swigregister
1567 ParticleStatesTable_swigregister(ParticleStatesTable)
1569 class IndexStates(ParticleStates):
1570 """Proxy of C++ IMP::domino::IndexStates class."""
1572 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1574 def __init__(self, *args):
1576 __init__(IMP::domino::IndexStates self, unsigned int n, IntKey k) -> IndexStates
1577 __init__(IMP::domino::IndexStates self, unsigned int n) -> IndexStates
1579 this = _IMP_domino.new_IndexStates(*args)
1581 self.this.append(this)
1582 except __builtin__.Exception:
1585 def get_version_info(self):
1586 """get_version_info(IndexStates self) -> VersionInfo"""
1587 return _IMP_domino.IndexStates_get_version_info(self)
1591 """__str__(IndexStates self) -> std::string"""
1592 return _IMP_domino.IndexStates___str__(self)
1596 """__repr__(IndexStates self) -> std::string"""
1597 return _IMP_domino.IndexStates___repr__(self)
1602 return _object_cast_to_IndexStates(o)
1604 IndexStates_swigregister = _IMP_domino.IndexStates_swigregister
1605 IndexStates_swigregister(IndexStates)
1607 class XYZStates(ParticleStates):
1608 """Proxy of C++ IMP::domino::XYZStates class."""
1610 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1612 def __init__(self, states):
1613 """__init__(IMP::domino::XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1614 this = _IMP_domino.new_XYZStates(states)
1616 self.this.append(this)
1617 except __builtin__.Exception:
1620 def get_vector(self, i):
1621 """get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1622 return _IMP_domino.XYZStates_get_vector(self, i)
1625 def get_version_info(self):
1626 """get_version_info(XYZStates self) -> VersionInfo"""
1627 return _IMP_domino.XYZStates_get_version_info(self)
1631 """__str__(XYZStates self) -> std::string"""
1632 return _IMP_domino.XYZStates___str__(self)
1636 """__repr__(XYZStates self) -> std::string"""
1637 return _IMP_domino.XYZStates___repr__(self)
1642 return _object_cast_to_XYZStates(o)
1644 XYZStates_swigregister = _IMP_domino.XYZStates_swigregister
1645 XYZStates_swigregister(XYZStates)
1647 class RigidBodyStates(ParticleStates):
1648 """Proxy of C++ IMP::domino::RigidBodyStates class."""
1650 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1652 def __init__(self, states, scale=1):
1654 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates
1655 __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states) -> RigidBodyStates
1657 this = _IMP_domino.new_RigidBodyStates(states, scale)
1659 self.this.append(this)
1660 except __builtin__.Exception:
1663 def get_reference_frame(self, i):
1664 """get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1665 return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1668 def get_version_info(self):
1669 """get_version_info(RigidBodyStates self) -> VersionInfo"""
1670 return _IMP_domino.RigidBodyStates_get_version_info(self)
1674 """__str__(RigidBodyStates self) -> std::string"""
1675 return _IMP_domino.RigidBodyStates___str__(self)
1679 """__repr__(RigidBodyStates self) -> std::string"""
1680 return _IMP_domino.RigidBodyStates___repr__(self)
1685 return _object_cast_to_RigidBodyStates(o)
1687 RigidBodyStates_swigregister = _IMP_domino.RigidBodyStates_swigregister
1688 RigidBodyStates_swigregister(RigidBodyStates)
1690 class NestedRigidBodyStates(ParticleStates):
1691 """Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1695 def __init__(self, states, scale=100):
1697 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates
1698 __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states) -> NestedRigidBodyStates
1700 this = _IMP_domino.new_NestedRigidBodyStates(states, scale)
1702 self.this.append(this)
1703 except __builtin__.Exception:
1706 def get_transformation(self, i):
1707 """get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1708 return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1711 def get_version_info(self):
1712 """get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1713 return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1717 """__str__(NestedRigidBodyStates self) -> std::string"""
1718 return _IMP_domino.NestedRigidBodyStates___str__(self)
1722 """__repr__(NestedRigidBodyStates self) -> std::string"""
1723 return _IMP_domino.NestedRigidBodyStates___repr__(self)
1728 return _object_cast_to_NestedRigidBodyStates(o)
1730 NestedRigidBodyStates_swigregister = _IMP_domino.NestedRigidBodyStates_swigregister
1731 NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1733 class CompoundStates(ParticleStates):
1734 """Proxy of C++ IMP::domino::CompoundStates class."""
1736 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1738 def __init__(self, a, b):
1739 """__init__(IMP::domino::CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1740 this = _IMP_domino.new_CompoundStates(a, b)
1742 self.this.append(this)
1743 except __builtin__.Exception:
1746 def get_version_info(self):
1747 """get_version_info(CompoundStates self) -> VersionInfo"""
1748 return _IMP_domino.CompoundStates_get_version_info(self)
1752 """__str__(CompoundStates self) -> std::string"""
1753 return _IMP_domino.CompoundStates___str__(self)
1757 """__repr__(CompoundStates self) -> std::string"""
1758 return _IMP_domino.CompoundStates___repr__(self)
1763 return _object_cast_to_CompoundStates(o)
1765 CompoundStates_swigregister = _IMP_domino.CompoundStates_swigregister
1766 CompoundStates_swigregister(CompoundStates)
1768 class RecursiveStates(ParticleStates):
1769 """Proxy of C++ IMP::domino::RecursiveStates class."""
1771 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1773 def __init__(self, p, s, ss, pst):
1774 """__init__(IMP::domino::RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1775 this = _IMP_domino.new_RecursiveStates(p, s, ss, pst)
1777 self.this.append(this)
1778 except __builtin__.Exception:
1781 def get_version_info(self):
1782 """get_version_info(RecursiveStates self) -> VersionInfo"""
1783 return _IMP_domino.RecursiveStates_get_version_info(self)
1787 """__str__(RecursiveStates self) -> std::string"""
1788 return _IMP_domino.RecursiveStates___str__(self)
1792 """__repr__(RecursiveStates self) -> std::string"""
1793 return _IMP_domino.RecursiveStates___repr__(self)
1798 return _object_cast_to_RecursiveStates(o)
1800 RecursiveStates_swigregister = _IMP_domino.RecursiveStates_swigregister
1801 RecursiveStates_swigregister(RecursiveStates)
1803 class PermutationStates(ParticleStates):
1804 """Proxy of C++ IMP::domino::PermutationStates class."""
1806 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1808 def __init__(self, inner):
1809 """__init__(IMP::domino::PermutationStates self, ParticleStates inner) -> PermutationStates"""
1810 this = _IMP_domino.new_PermutationStates(inner)
1812 self.this.append(this)
1813 except __builtin__.Exception:
1816 def get_inner_state(self, i):
1817 """get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1818 return _IMP_domino.PermutationStates_get_inner_state(self, i)
1821 def get_version_info(self):
1822 """get_version_info(PermutationStates self) -> VersionInfo"""
1823 return _IMP_domino.PermutationStates_get_version_info(self)
1827 """__str__(PermutationStates self) -> std::string"""
1828 return _IMP_domino.PermutationStates___str__(self)
1832 """__repr__(PermutationStates self) -> std::string"""
1833 return _IMP_domino.PermutationStates___repr__(self)
1838 return _object_cast_to_PermutationStates(o)
1840 PermutationStates_swigregister = _IMP_domino.PermutationStates_swigregister
1841 PermutationStates_swigregister(PermutationStates)
1843 class _ParticlesAdaptor(IMP._InputAdaptor):
1844 """Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1846 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1847 __repr__ = _swig_repr
1849 def __init__(self, *args):
1851 ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1852 __init__(IMP::domino::ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1854 this = _IMP_domino.new__ParticlesAdaptor(*args)
1856 self.this.append(this)
1857 except __builtin__.Exception:
1859 __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1860 __del__ =
lambda self:
None
1861 _ParticlesAdaptor_swigregister = _IMP_domino._ParticlesAdaptor_swigregister
1862 _ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1865 """Proxy of C++ IMP::domino::RestraintCache class."""
1867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1869 def __init__(self, *args):
1871 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst, unsigned int size) -> RestraintCache
1872 __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst) -> RestraintCache
1874 this = _IMP_domino.new_RestraintCache(*args)
1876 self.this.append(this)
1877 except __builtin__.Exception:
1881 """add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1882 return _IMP_domino.RestraintCache_add_restraints(self, rs)
1885 def get_score(self, *args):
1887 get_score(RestraintCache self, Restraint r, Assignment a) -> double
1888 get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1890 return _IMP_domino.RestraintCache_get_score(self, *args)
1893 def load_last_score(self, r, s, a):
1894 """load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1895 return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1898 def get_restraints(self, *args):
1900 get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1901 get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1903 return _IMP_domino.RestraintCache_get_restraints(self, *args)
1906 def save_cache(self, particle_ordering, restraints, group, max_entries):
1907 """save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1908 return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1911 def load_cache(self, ps, group):
1912 """load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1913 return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1917 """get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1918 return _IMP_domino.RestraintCache_get_slice(self, r, s)
1921 def get_number_of_entries(self):
1922 """get_number_of_entries(RestraintCache self) -> unsigned int"""
1923 return _IMP_domino.RestraintCache_get_number_of_entries(self)
1927 """validate(RestraintCache self)"""
1928 return _IMP_domino.RestraintCache_validate(self)
1931 def show_restraint_information(self, *args):
1933 show_restraint_information(RestraintCache self, _ostream out)
1934 show_restraint_information(RestraintCache self)
1936 return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1939 def get_hit_rate(self):
1940 """get_hit_rate(RestraintCache self) -> double"""
1941 return _IMP_domino.RestraintCache_get_hit_rate(self)
1944 def get_version_info(self):
1945 """get_version_info(RestraintCache self) -> VersionInfo"""
1946 return _IMP_domino.RestraintCache_get_version_info(self)
1950 """__str__(RestraintCache self) -> std::string"""
1951 return _IMP_domino.RestraintCache___str__(self)
1955 """__repr__(RestraintCache self) -> std::string"""
1956 return _IMP_domino.RestraintCache___repr__(self)
1961 return _object_cast_to_RestraintCache(o)
1963 RestraintCache_swigregister = _IMP_domino.RestraintCache_swigregister
1964 RestraintCache_swigregister(RestraintCache)
1967 """Proxy of C++ IMP::domino::SubsetFilter class."""
1969 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1971 def __init__(self, *args):
1973 __init__(IMP::domino::SubsetFilter self, std::string name) -> SubsetFilter
1974 __init__(IMP::domino::SubsetFilter self) -> SubsetFilter
1976 if self.__class__ == SubsetFilter:
1980 this = _IMP_domino.new_SubsetFilter(_self, *args)
1982 self.this.append(this)
1983 except __builtin__.Exception:
1986 if self.__class__ != SubsetFilter:
1987 _director_objects.register(self)
1992 def get_is_ok(self, state):
1993 """get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1994 return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1997 def get_next_state(self, pos, state):
1998 """get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1999 return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
2001 __swig_destroy__ = _IMP_domino.delete_SubsetFilter
2002 __del__ =
lambda self:
None
2005 """__str__(SubsetFilter self) -> std::string"""
2006 return _IMP_domino.SubsetFilter___str__(self)
2010 """__repr__(SubsetFilter self) -> std::string"""
2011 return _IMP_domino.SubsetFilter___repr__(self)
2016 return _object_cast_to_SubsetFilter(o)
2019 def get_type_name(self):
2020 return self.__class__.__name__
2021 def do_show(self, out):
2023 def get_version_info(self):
2024 if"IMP::domino" ==
"IMP":
2025 return VersionInfo(self.__module__,
2026 __import__(self.__module__).get_module_version())
2029 __import__(self.__module__).get_module_version())
2032 return _object_cast_to_SubsetFilter(o)
2034 def __disown__(self):
2036 _IMP_domino.disown_SubsetFilter(self)
2037 return weakref_proxy(self)
2039 def do_destroy(self):
2040 """do_destroy(SubsetFilter self)"""
2041 return _IMP_domino.SubsetFilter_do_destroy(self)
2043 SubsetFilter_swigregister = _IMP_domino.SubsetFilter_swigregister
2044 SubsetFilter_swigregister(SubsetFilter)
2047 """Proxy of C++ IMP::domino::SubsetFilterTable class."""
2049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2051 def __init__(self, *args):
2053 __init__(IMP::domino::SubsetFilterTable self, std::string name) -> SubsetFilterTable
2054 __init__(IMP::domino::SubsetFilterTable self) -> SubsetFilterTable
2056 if self.__class__ == SubsetFilterTable:
2060 this = _IMP_domino.new_SubsetFilterTable(_self, *args)
2062 self.this.append(this)
2063 except __builtin__.Exception:
2066 if self.__class__ != SubsetFilterTable:
2067 _director_objects.register(self)
2072 def get_subset_filter(self, s, prior_subsets):
2073 """get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2074 return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2077 def get_strength(self, s, prior_subsets):
2078 """get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2079 return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2081 __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2082 __del__ =
lambda self:
None
2085 """__str__(SubsetFilterTable self) -> std::string"""
2086 return _IMP_domino.SubsetFilterTable___str__(self)
2090 """__repr__(SubsetFilterTable self) -> std::string"""
2091 return _IMP_domino.SubsetFilterTable___repr__(self)
2096 return _object_cast_to_SubsetFilterTable(o)
2099 def get_type_name(self):
2100 return self.__class__.__name__
2101 def do_show(self, out):
2103 def get_version_info(self):
2104 if"IMP::domino" ==
"IMP":
2105 return VersionInfo(self.__module__,
2106 __import__(self.__module__).get_module_version())
2109 __import__(self.__module__).get_module_version())
2112 return _object_cast_to_SubsetFilterTable(o)
2114 def __disown__(self):
2116 _IMP_domino.disown_SubsetFilterTable(self)
2117 return weakref_proxy(self)
2119 def do_destroy(self):
2120 """do_destroy(SubsetFilterTable self)"""
2121 return _IMP_domino.SubsetFilterTable_do_destroy(self)
2123 SubsetFilterTable_swigregister = _IMP_domino.SubsetFilterTable_swigregister
2124 SubsetFilterTable_swigregister(SubsetFilterTable)
2126 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2127 """Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2131 def __init__(self, *args):
2133 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2134 __init__(IMP::domino::RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2136 this = _IMP_domino.new_RestraintScoreSubsetFilterTable(*args)
2138 self.this.append(this)
2139 except __builtin__.Exception:
2142 def get_version_info(self):
2143 """get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2144 return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2148 """__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2149 return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2153 """__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2154 return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2159 return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2161 RestraintScoreSubsetFilterTable_swigregister = _IMP_domino.RestraintScoreSubsetFilterTable_swigregister
2162 RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2164 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2165 """Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2169 def __init__(self, rs, rc, max_number_allowed_violations):
2170 """__init__(IMP::domino::MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2171 this = _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations)
2173 self.this.append(this)
2174 except __builtin__.Exception:
2177 def get_maximum_number_of_violated_restraints(self):
2178 """get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2179 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2182 def get_version_info(self):
2183 """get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2184 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2188 """__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2189 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2193 """__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2194 return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2199 return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2201 MinimumRestraintScoreSubsetFilterTable_swigregister = _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister
2202 MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2204 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2205 """Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2207 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2209 def __init__(self, *args, **kwargs):
2210 raise AttributeError(
"No constructor defined - class is abstract")
2212 def add_set(self, ps):
2213 """add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2214 return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2217 def add_pair(self, pp):
2218 """add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2219 return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2223 """__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2224 return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2228 """__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2229 return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2234 return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2236 __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2237 __del__ =
lambda self:
None
2238 DisjointSetsSubsetFilterTable_swigregister = _IMP_domino.DisjointSetsSubsetFilterTable_swigregister
2239 DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2241 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2242 """Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2244 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2246 def __init__(self, *args):
2248 __init__(IMP::domino::ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2249 __init__(IMP::domino::ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2251 this = _IMP_domino.new_ExclusionSubsetFilterTable(*args)
2253 self.this.append(this)
2254 except __builtin__.Exception:
2257 def get_version_info(self):
2258 """get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2259 return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2263 """__str__(ExclusionSubsetFilterTable self) -> std::string"""
2264 return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2268 """__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2269 return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2274 return _object_cast_to_ExclusionSubsetFilterTable(o)
2276 ExclusionSubsetFilterTable_swigregister = _IMP_domino.ExclusionSubsetFilterTable_swigregister
2277 ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2279 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2280 """Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2284 def __init__(self, *args):
2286 __init__(IMP::domino::EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2287 __init__(IMP::domino::EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2289 this = _IMP_domino.new_EqualitySubsetFilterTable(*args)
2291 self.this.append(this)
2292 except __builtin__.Exception:
2295 def get_version_info(self):
2296 """get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2297 return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2301 """__str__(EqualitySubsetFilterTable self) -> std::string"""
2302 return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2306 """__repr__(EqualitySubsetFilterTable self) -> std::string"""
2307 return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2312 return _object_cast_to_EqualitySubsetFilterTable(o)
2314 EqualitySubsetFilterTable_swigregister = _IMP_domino.EqualitySubsetFilterTable_swigregister
2315 EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2317 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2318 """Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2322 def __init__(self, *args):
2324 __init__(IMP::domino::EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2325 __init__(IMP::domino::EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2327 this = _IMP_domino.new_EquivalenceSubsetFilterTable(*args)
2329 self.this.append(this)
2330 except __builtin__.Exception:
2333 def get_version_info(self):
2334 """get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2335 return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2339 """__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2340 return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2344 """__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2345 return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2350 return _object_cast_to_EquivalenceSubsetFilterTable(o)
2352 EquivalenceSubsetFilterTable_swigregister = _IMP_domino.EquivalenceSubsetFilterTable_swigregister
2353 EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2355 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2356 """Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2358 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2360 def __init__(self, *args):
2362 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2363 __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2365 this = _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args)
2367 self.this.append(this)
2368 except __builtin__.Exception:
2371 def get_version_info(self):
2372 """get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2373 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2377 """__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2378 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2382 """__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2383 return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2388 return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2390 EquivalenceAndExclusionSubsetFilterTable_swigregister = _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister
2391 EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2393 class ListSubsetFilterTable(SubsetFilterTable):
2394 """Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2398 def __init__(self, pst):
2399 """__init__(IMP::domino::ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2400 this = _IMP_domino.new_ListSubsetFilterTable(pst)
2402 self.this.append(this)
2403 except __builtin__.Exception:
2406 def get_ok_rate(self):
2407 """get_ok_rate(ListSubsetFilterTable self) -> double"""
2408 return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2411 def get_number_of_particle_states(self, p):
2412 """get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2413 return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2416 def set_allowed_states(self, p, states):
2417 """set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2418 return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2421 def get_version_info(self):
2422 """get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2423 return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2427 """__str__(ListSubsetFilterTable self) -> std::string"""
2428 return _IMP_domino.ListSubsetFilterTable___str__(self)
2432 """__repr__(ListSubsetFilterTable self) -> std::string"""
2433 return _IMP_domino.ListSubsetFilterTable___repr__(self)
2438 return _object_cast_to_ListSubsetFilterTable(o)
2440 ListSubsetFilterTable_swigregister = _IMP_domino.ListSubsetFilterTable_swigregister
2441 ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2443 class PairListSubsetFilterTable(SubsetFilterTable):
2444 """Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2446 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2449 """__init__(IMP::domino::PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2450 this = _IMP_domino.new_PairListSubsetFilterTable()
2452 self.this.append(this)
2453 except __builtin__.Exception:
2456 def set_allowed_states(self, p, states):
2457 """set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2458 return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2461 def get_version_info(self):
2462 """get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2463 return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2467 """__str__(PairListSubsetFilterTable self) -> std::string"""
2468 return _IMP_domino.PairListSubsetFilterTable___str__(self)
2472 """__repr__(PairListSubsetFilterTable self) -> std::string"""
2473 return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2478 return _object_cast_to_PairListSubsetFilterTable(o)
2480 PairListSubsetFilterTable_swigregister = _IMP_domino.PairListSubsetFilterTable_swigregister
2481 PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2483 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2484 """Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2486 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2488 def __init__(self, p, leaves_only=False):
2490 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable
2491 __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p) -> ProbabilisticSubsetFilterTable
2493 this = _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only)
2495 self.this.append(this)
2496 except __builtin__.Exception:
2499 def get_version_info(self):
2500 """get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2501 return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2505 """__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2506 return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2510 """__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2511 return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2516 return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2518 ProbabilisticSubsetFilterTable_swigregister = _IMP_domino.ProbabilisticSubsetFilterTable_swigregister
2519 ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2522 """Proxy of C++ IMP::domino::AssignmentContainer class."""
2524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2526 def __init__(self, *args):
2528 __init__(IMP::domino::AssignmentContainer self, std::string name) -> AssignmentContainer
2529 __init__(IMP::domino::AssignmentContainer self) -> AssignmentContainer
2531 if self.__class__ == AssignmentContainer:
2535 this = _IMP_domino.new_AssignmentContainer(_self, *args)
2537 self.this.append(this)
2538 except __builtin__.Exception:
2541 if self.__class__ != AssignmentContainer:
2542 _director_objects.register(self)
2547 def get_number_of_assignments(self):
2548 """get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2549 return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2552 def get_assignment(self, i):
2553 """get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2554 return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2557 def get_assignments(self, *args):
2559 get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2560 get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2562 return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2565 def add_assignment(self, a):
2566 """add_assignment(AssignmentContainer self, Assignment a)"""
2567 return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2570 def add_assignments(self, asgn):
2571 """add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2572 return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2575 def get_particle_assignments(self, i):
2576 """get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2577 return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2579 __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2580 __del__ =
lambda self:
None
2583 """__str__(AssignmentContainer self) -> std::string"""
2584 return _IMP_domino.AssignmentContainer___str__(self)
2588 """__repr__(AssignmentContainer self) -> std::string"""
2589 return _IMP_domino.AssignmentContainer___repr__(self)
2594 return _object_cast_to_AssignmentContainer(o)
2597 def get_type_name(self):
2598 return self.__class__.__name__
2599 def do_show(self, out):
2601 def get_version_info(self):
2602 if"IMP::domino" ==
"IMP":
2603 return VersionInfo(self.__module__,
2604 __import__(self.__module__).get_module_version())
2607 __import__(self.__module__).get_module_version())
2610 return _object_cast_to_AssignmentContainer(o)
2612 def __disown__(self):
2614 _IMP_domino.disown_AssignmentContainer(self)
2615 return weakref_proxy(self)
2617 def do_destroy(self):
2618 """do_destroy(AssignmentContainer self)"""
2619 return _IMP_domino.AssignmentContainer_do_destroy(self)
2621 AssignmentContainer_swigregister = _IMP_domino.AssignmentContainer_swigregister
2622 AssignmentContainer_swigregister(AssignmentContainer)
2624 class PackedAssignmentContainer(AssignmentContainer):
2625 """Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2627 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2629 def __init__(self, *args):
2631 __init__(IMP::domino::PackedAssignmentContainer self, std::string name) -> PackedAssignmentContainer
2632 __init__(IMP::domino::PackedAssignmentContainer self) -> PackedAssignmentContainer
2634 this = _IMP_domino.new_PackedAssignmentContainer(*args)
2636 self.this.append(this)
2637 except __builtin__.Exception:
2640 def get_assignments(self, *args):
2642 get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2643 get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2645 return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2648 def get_version_info(self):
2649 """get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2650 return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2654 """__str__(PackedAssignmentContainer self) -> std::string"""
2655 return _IMP_domino.PackedAssignmentContainer___str__(self)
2659 """__repr__(PackedAssignmentContainer self) -> std::string"""
2660 return _IMP_domino.PackedAssignmentContainer___repr__(self)
2665 return _object_cast_to_PackedAssignmentContainer(o)
2667 PackedAssignmentContainer_swigregister = _IMP_domino.PackedAssignmentContainer_swigregister
2668 PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2670 class ListAssignmentContainer(AssignmentContainer):
2671 """Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2675 def __init__(self, *args):
2677 __init__(IMP::domino::ListAssignmentContainer self, std::string name) -> ListAssignmentContainer
2678 __init__(IMP::domino::ListAssignmentContainer self) -> ListAssignmentContainer
2680 this = _IMP_domino.new_ListAssignmentContainer(*args)
2682 self.this.append(this)
2683 except __builtin__.Exception:
2686 def get_assignments(self, *args):
2688 get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2689 get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2691 return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2694 def get_version_info(self):
2695 """get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2696 return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2700 """__str__(ListAssignmentContainer self) -> std::string"""
2701 return _IMP_domino.ListAssignmentContainer___str__(self)
2705 """__repr__(ListAssignmentContainer self) -> std::string"""
2706 return _IMP_domino.ListAssignmentContainer___repr__(self)
2711 return _object_cast_to_ListAssignmentContainer(o)
2713 ListAssignmentContainer_swigregister = _IMP_domino.ListAssignmentContainer_swigregister
2714 ListAssignmentContainer_swigregister(ListAssignmentContainer)
2716 class SampleAssignmentContainer(AssignmentContainer):
2717 """Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2721 def __init__(self, *args):
2723 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k, std::string name) -> SampleAssignmentContainer
2724 __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k) -> SampleAssignmentContainer
2726 this = _IMP_domino.new_SampleAssignmentContainer(*args)
2728 self.this.append(this)
2729 except __builtin__.Exception:
2732 def get_assignments(self, *args):
2734 get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2735 get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2737 return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2740 def get_version_info(self):
2741 """get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2742 return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2746 """__str__(SampleAssignmentContainer self) -> std::string"""
2747 return _IMP_domino.SampleAssignmentContainer___str__(self)
2751 """__repr__(SampleAssignmentContainer self) -> std::string"""
2752 return _IMP_domino.SampleAssignmentContainer___repr__(self)
2757 return _object_cast_to_SampleAssignmentContainer(o)
2759 SampleAssignmentContainer_swigregister = _IMP_domino.SampleAssignmentContainer_swigregister
2760 SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2762 class WriteHDF5AssignmentContainer(AssignmentContainer):
2763 """Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2765 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2767 def __init__(self, *args):
2769 __init__(IMP::domino::WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2770 __init__(IMP::domino::WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2772 this = _IMP_domino.new_WriteHDF5AssignmentContainer(*args)
2774 self.this.append(this)
2775 except __builtin__.Exception:
2778 def set_cache_size(self, words):
2779 """set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2780 return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2783 def get_assignments(self, *args):
2785 get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2786 get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2788 return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2791 def get_version_info(self):
2792 """get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2793 return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2797 """__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2798 return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2802 """__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2803 return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2808 return _object_cast_to_WriteHDF5AssignmentContainer(o)
2810 WriteHDF5AssignmentContainer_swigregister = _IMP_domino.WriteHDF5AssignmentContainer_swigregister
2811 WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2813 class ReadHDF5AssignmentContainer(AssignmentContainer):
2814 """Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2818 def __init__(self, dataset, s, all_particles, name):
2819 """__init__(IMP::domino::ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2820 this = _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name)
2822 self.this.append(this)
2823 except __builtin__.Exception:
2826 def set_cache_size(self, words):
2827 """set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2828 return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2831 def get_assignments(self, *args):
2833 get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2834 get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2836 return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2839 def get_version_info(self):
2840 """get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2841 return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2845 """__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2846 return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2850 """__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2851 return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2856 return _object_cast_to_ReadHDF5AssignmentContainer(o)
2858 ReadHDF5AssignmentContainer_swigregister = _IMP_domino.ReadHDF5AssignmentContainer_swigregister
2859 ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2861 class WriteAssignmentContainer(AssignmentContainer):
2862 """Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2866 def __init__(self, out_file, s, all_particles, name):
2867 """__init__(IMP::domino::WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2868 this = _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name)
2870 self.this.append(this)
2871 except __builtin__.Exception:
2874 def set_cache_size(self, words):
2875 """set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2876 return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2879 def get_assignments(self, *args):
2881 get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2882 get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2884 return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2887 def get_version_info(self):
2888 """get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2889 return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2893 """__str__(WriteAssignmentContainer self) -> std::string"""
2894 return _IMP_domino.WriteAssignmentContainer___str__(self)
2898 """__repr__(WriteAssignmentContainer self) -> std::string"""
2899 return _IMP_domino.WriteAssignmentContainer___repr__(self)
2904 return _object_cast_to_WriteAssignmentContainer(o)
2906 WriteAssignmentContainer_swigregister = _IMP_domino.WriteAssignmentContainer_swigregister
2907 WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2909 class ReadAssignmentContainer(AssignmentContainer):
2910 """Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2912 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2914 def __init__(self, out_file, s, all_particles, name):
2915 """__init__(IMP::domino::ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2916 this = _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name)
2918 self.this.append(this)
2919 except __builtin__.Exception:
2922 def set_cache_size(self, words):
2923 """set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2924 return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2927 def get_assignments(self, *args):
2929 get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2930 get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2932 return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2935 def get_version_info(self):
2936 """get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2937 return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2941 """__str__(ReadAssignmentContainer self) -> std::string"""
2942 return _IMP_domino.ReadAssignmentContainer___str__(self)
2946 """__repr__(ReadAssignmentContainer self) -> std::string"""
2947 return _IMP_domino.ReadAssignmentContainer___repr__(self)
2952 return _object_cast_to_ReadAssignmentContainer(o)
2954 ReadAssignmentContainer_swigregister = _IMP_domino.ReadAssignmentContainer_swigregister
2955 ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2957 class RangeViewAssignmentContainer(AssignmentContainer):
2958 """Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2960 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2962 def __init__(self, inner, begin, end):
2963 """__init__(IMP::domino::RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2964 this = _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end)
2966 self.this.append(this)
2967 except __builtin__.Exception:
2970 def get_assignments(self, *args):
2972 get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2973 get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2975 return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2978 def get_version_info(self):
2979 """get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2980 return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2984 """__str__(RangeViewAssignmentContainer self) -> std::string"""
2985 return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2989 """__repr__(RangeViewAssignmentContainer self) -> std::string"""
2990 return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2995 return _object_cast_to_RangeViewAssignmentContainer(o)
2997 RangeViewAssignmentContainer_swigregister = _IMP_domino.RangeViewAssignmentContainer_swigregister
2998 RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
3000 class HeapAssignmentContainer(AssignmentContainer):
3001 """Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
3003 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3005 def __init__(self, *args):
3007 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name) -> HeapAssignmentContainer
3008 __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf) -> HeapAssignmentContainer
3010 this = _IMP_domino.new_HeapAssignmentContainer(*args)
3012 self.this.append(this)
3013 except __builtin__.Exception:
3016 def get_assignments(self, *args):
3018 get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3019 get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
3021 return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
3024 def get_version_info(self):
3025 """get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
3026 return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
3030 """__str__(HeapAssignmentContainer self) -> std::string"""
3031 return _IMP_domino.HeapAssignmentContainer___str__(self)
3035 """__repr__(HeapAssignmentContainer self) -> std::string"""
3036 return _IMP_domino.HeapAssignmentContainer___repr__(self)
3041 return _object_cast_to_HeapAssignmentContainer(o)
3043 HeapAssignmentContainer_swigregister = _IMP_domino.HeapAssignmentContainer_swigregister
3044 HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
3046 class CappedAssignmentContainer(AssignmentContainer):
3047 """Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
3049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3051 def __init__(self, contained, max_states, name):
3052 """__init__(IMP::domino::CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
3053 this = _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name)
3055 self.this.append(this)
3056 except __builtin__.Exception:
3059 def get_assignments(self, *args):
3061 get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3062 get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
3064 return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
3067 def get_version_info(self):
3068 """get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
3069 return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
3073 """__str__(CappedAssignmentContainer self) -> std::string"""
3074 return _IMP_domino.CappedAssignmentContainer___str__(self)
3078 """__repr__(CappedAssignmentContainer self) -> std::string"""
3079 return _IMP_domino.CappedAssignmentContainer___repr__(self)
3084 return _object_cast_to_CappedAssignmentContainer(o)
3086 CappedAssignmentContainer_swigregister = _IMP_domino.CappedAssignmentContainer_swigregister
3087 CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
3090 """Proxy of C++ IMP::domino::AssignmentsTable class."""
3092 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3094 def __init__(self, *args):
3096 __init__(IMP::domino::AssignmentsTable self, std::string name) -> AssignmentsTable
3097 __init__(IMP::domino::AssignmentsTable self) -> AssignmentsTable
3099 if self.__class__ == AssignmentsTable:
3103 this = _IMP_domino.new_AssignmentsTable(_self, *args)
3105 self.this.append(this)
3106 except __builtin__.Exception:
3109 if self.__class__ != AssignmentsTable:
3110 _director_objects.register(self)
3115 def load_assignments(self, s, ac):
3116 """load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
3117 return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
3119 __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
3120 __del__ =
lambda self:
None
3123 """__str__(AssignmentsTable self) -> std::string"""
3124 return _IMP_domino.AssignmentsTable___str__(self)
3128 """__repr__(AssignmentsTable self) -> std::string"""
3129 return _IMP_domino.AssignmentsTable___repr__(self)
3134 return _object_cast_to_AssignmentsTable(o)
3137 def get_type_name(self):
3138 return self.__class__.__name__
3139 def do_show(self, out):
3141 def get_version_info(self):
3142 if"IMP::domino" ==
"IMP":
3143 return VersionInfo(self.__module__,
3144 __import__(self.__module__).get_module_version())
3147 __import__(self.__module__).get_module_version())
3150 return _object_cast_to_AssignmentsTable(o)
3152 def __disown__(self):
3154 _IMP_domino.disown_AssignmentsTable(self)
3155 return weakref_proxy(self)
3157 def do_destroy(self):
3158 """do_destroy(AssignmentsTable self)"""
3159 return _IMP_domino.AssignmentsTable_do_destroy(self)
3161 AssignmentsTable_swigregister = _IMP_domino.AssignmentsTable_swigregister
3162 AssignmentsTable_swigregister(AssignmentsTable)
3164 class SimpleAssignmentsTable(AssignmentsTable):
3165 """Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
3167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3169 def __init__(self, *args):
3171 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> SimpleAssignmentsTable
3172 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> SimpleAssignmentsTable
3173 __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst) -> SimpleAssignmentsTable
3175 this = _IMP_domino.new_SimpleAssignmentsTable(*args)
3177 self.this.append(this)
3178 except __builtin__.Exception:
3181 def get_version_info(self):
3182 """get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
3183 return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
3187 """__str__(SimpleAssignmentsTable self) -> std::string"""
3188 return _IMP_domino.SimpleAssignmentsTable___str__(self)
3192 """__repr__(SimpleAssignmentsTable self) -> std::string"""
3193 return _IMP_domino.SimpleAssignmentsTable___repr__(self)
3198 return _object_cast_to_SimpleAssignmentsTable(o)
3200 SimpleAssignmentsTable_swigregister = _IMP_domino.SimpleAssignmentsTable_swigregister
3201 SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
3203 class RecursiveAssignmentsTable(AssignmentsTable):
3204 """Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
3206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3208 def __init__(self, *args):
3210 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> RecursiveAssignmentsTable
3211 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> RecursiveAssignmentsTable
3212 __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst) -> RecursiveAssignmentsTable
3214 this = _IMP_domino.new_RecursiveAssignmentsTable(*args)
3216 self.this.append(this)
3217 except __builtin__.Exception:
3220 def get_version_info(self):
3221 """get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
3222 return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
3226 """__str__(RecursiveAssignmentsTable self) -> std::string"""
3227 return _IMP_domino.RecursiveAssignmentsTable___str__(self)
3231 """__repr__(RecursiveAssignmentsTable self) -> std::string"""
3232 return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
3237 return _object_cast_to_RecursiveAssignmentsTable(o)
3239 RecursiveAssignmentsTable_swigregister = _IMP_domino.RecursiveAssignmentsTable_swigregister
3240 RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
3242 class BranchAndBoundAssignmentsTable(AssignmentsTable):
3243 """Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
3245 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3247 def __init__(self, *args):
3249 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> BranchAndBoundAssignmentsTable
3250 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> BranchAndBoundAssignmentsTable
3251 __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst) -> BranchAndBoundAssignmentsTable
3253 this = _IMP_domino.new_BranchAndBoundAssignmentsTable(*args)
3255 self.this.append(this)
3256 except __builtin__.Exception:
3259 def get_version_info(self):
3260 """get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
3261 return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
3265 """__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3266 return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3270 """__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3271 return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3276 return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3278 BranchAndBoundAssignmentsTable_swigregister = _IMP_domino.BranchAndBoundAssignmentsTable_swigregister
3279 BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3281 class ListAssignmentsTable(AssignmentsTable):
3282 """Proxy of C++ IMP::domino::ListAssignmentsTable class."""
3284 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3286 def __init__(self, *args):
3288 __init__(IMP::domino::ListAssignmentsTable self, std::string name) -> ListAssignmentsTable
3289 __init__(IMP::domino::ListAssignmentsTable self) -> ListAssignmentsTable
3291 this = _IMP_domino.new_ListAssignmentsTable(*args)
3293 self.this.append(this)
3294 except __builtin__.Exception:
3297 def set_assignments(self, s, lsc):
3298 """set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3299 return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3302 def get_version_info(self):
3303 """get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3304 return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3308 """__str__(ListAssignmentsTable self) -> std::string"""
3309 return _IMP_domino.ListAssignmentsTable___str__(self)
3313 """__repr__(ListAssignmentsTable self) -> std::string"""
3314 return _IMP_domino.ListAssignmentsTable___repr__(self)
3319 return _object_cast_to_ListAssignmentsTable(o)
3321 ListAssignmentsTable_swigregister = _IMP_domino.ListAssignmentsTable_swigregister
3322 ListAssignmentsTable_swigregister(ListAssignmentsTable)
3326 """get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3327 return _IMP_domino.get_order(s, sft)
3328 class _SubsetGraphVertexIndex(object):
3329 """Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
3331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3332 __repr__ = _swig_repr
3335 """__init__(IMP::domino::SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3336 this = _IMP_domino.new__SubsetGraphVertexIndex()
3338 self.this.append(this)
3339 except __builtin__.Exception:
3341 __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3342 __del__ =
lambda self:
None
3343 _SubsetGraphVertexIndex_swigregister = _IMP_domino._SubsetGraphVertexIndex_swigregister
3344 _SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3346 class _InteractionGraphVertexIndex(object):
3347 """Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3350 __repr__ = _swig_repr
3353 """__init__(IMP::domino::InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3354 this = _IMP_domino.new__InteractionGraphVertexIndex()
3356 self.this.append(this)
3357 except __builtin__.Exception:
3359 __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3360 __del__ =
lambda self:
None
3361 _InteractionGraphVertexIndex_swigregister = _IMP_domino._InteractionGraphVertexIndex_swigregister
3362 _InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3366 """get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3367 return _IMP_domino.get_subsets(g)
3370 """get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3371 return _IMP_domino.get_junction_tree(ig)
3373 def get_triangulated(input):
3374 """get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3375 return _IMP_domino.get_triangulated(input)
3376 class _CliqueGraphVertexIndex(object):
3377 """Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3380 __repr__ = _swig_repr
3383 """__init__(IMP::domino::CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3384 this = _IMP_domino.new__CliqueGraphVertexIndex()
3386 self.this.append(this)
3387 except __builtin__.Exception:
3389 __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3390 __del__ =
lambda self:
None
3391 _CliqueGraphVertexIndex_swigregister = _IMP_domino._CliqueGraphVertexIndex_swigregister
3392 _CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3395 def get_clique_graph(input):
3396 """get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3397 return _IMP_domino.get_clique_graph(input)
3399 def get_minimum_spanning_tree(input):
3400 """get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3401 return _IMP_domino.get_minimum_spanning_tree(input)
3404 """get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3405 return _IMP_domino.get_restraint_graph(rs, pst)
3409 get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3410 get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3412 return _IMP_domino.get_interaction_graph(*args)
3415 """get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3416 return _IMP_domino.get_interaction_graph_geometry(ig)
3419 """get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3420 return _IMP_domino.get_subset_graph_geometry(ig)
3421 class _MergeTreeVertexIndex(object):
3422 """Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3425 __repr__ = _swig_repr
3428 """__init__(IMP::domino::MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3429 this = _IMP_domino.new__MergeTreeVertexIndex()
3431 self.this.append(this)
3432 except __builtin__.Exception:
3434 __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3435 __del__ =
lambda self:
None
3436 _MergeTreeVertexIndex_swigregister = _IMP_domino._MergeTreeVertexIndex_swigregister
3437 _MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3440 def show_as_graphviz(*args):
3442 show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3443 show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3444 show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3445 show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3447 return _IMP_domino.show_as_graphviz(*args)
3449 def get_vertex_index(*args):
3451 get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3452 get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3453 get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3454 get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3456 return _IMP_domino.get_vertex_index(*args)
3460 get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3461 get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3463 return _IMP_domino.get_merge_tree(*args)
3466 """get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3467 return _IMP_domino.get_balanced_merge_tree(junction_tree)
3469 def get_is_merge_tree(tree, all, verbose=True):
3471 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool
3472 get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all) -> bool
3474 return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3476 def write_merge_tree(tree, ps, out):
3477 """write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3478 return _IMP_domino.write_merge_tree(tree, ps, out)
3480 def read_merge_tree(input, ps):
3481 """read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3482 return _IMP_domino.read_merge_tree(input, ps)
3484 """Proxy of C++ IMP::domino::DiscreteSampler class."""
3486 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3488 def get_subset_filter_tables_to_use(self, rs, pst):
3489 """get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3490 return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3493 def get_assignments_table_to_use(self, *args):
3495 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max) -> AssignmentsTable
3496 get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts) -> AssignmentsTable
3498 return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3501 def do_sample(self):
3502 """do_sample(DiscreteSampler self) -> ConfigurationSet"""
3503 return _IMP_domino.DiscreteSampler_do_sample(self)
3506 def do_get_sample_assignments(self, all):
3507 """do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3508 return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3511 def get_restraints(self):
3512 """get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3513 return _IMP_domino.DiscreteSampler_get_restraints(self)
3516 def __init__(self, m, pst, name):
3517 """__init__(IMP::domino::DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3518 if self.__class__ == DiscreteSampler:
3522 this = _IMP_domino.new_DiscreteSampler(_self, m, pst, name)
3524 self.this.append(this)
3525 except __builtin__.Exception:
3528 if self.__class__ != DiscreteSampler:
3529 _director_objects.register(self)
3533 __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3534 __del__ =
lambda self:
None
3536 def set_restraints(self, rs):
3537 """set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3538 return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3541 def set_particle_states(self, p, se):
3542 """set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3543 return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3546 def get_sample_assignments(self, s):
3547 """get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3548 return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3551 def set_particle_states_table(self, cse):
3552 """set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3553 return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3556 def set_assignments_table(self, sst):
3557 """set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3558 return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3561 def get_particle_states_table(self):
3562 """get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3563 return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3566 def remove_subset_filter_table(self, d):
3567 """remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3568 return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3571 def remove_subset_filter_tables(self, d):
3572 """remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3573 return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3576 def set_subset_filter_tables(self, ps):
3577 """set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3578 return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3581 def set_subset_filter_tables_order(self, objs):
3582 """set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3583 return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3586 def add_subset_filter_table(self, obj):
3587 """add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3588 return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3591 def add_subset_filter_tables(self, objs):
3592 """add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3593 return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3596 def clear_subset_filter_tables(self):
3597 """clear_subset_filter_tables(DiscreteSampler self)"""
3598 return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3601 def get_number_of_subset_filter_tables(self):
3602 """get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3603 return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3606 def get_has_subset_filter_tables(self):
3607 """get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3608 return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3611 def get_subset_filter_table(self, i):
3612 """get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3613 return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3616 def get_subset_filter_tables(self):
3617 """get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3618 return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3621 def reserve_subset_filter_tables(self, sz):
3622 """reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3623 return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3626 def set_maximum_number_of_assignments(self, mx):
3627 """set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3628 return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3631 def get_maximum_number_of_assignments(self):
3632 """get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3633 return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3637 """__str__(DiscreteSampler self) -> std::string"""
3638 return _IMP_domino.DiscreteSampler___str__(self)
3642 """__repr__(DiscreteSampler self) -> std::string"""
3643 return _IMP_domino.DiscreteSampler___repr__(self)
3648 return _object_cast_to_DiscreteSampler(o)
3651 def get_type_name(self):
3652 return self.__class__.__name__
3653 def do_show(self, out):
3655 def get_version_info(self):
3656 if"IMP::domino" ==
"IMP":
3657 return VersionInfo(self.__module__,
3658 __import__(self.__module__).get_module_version())
3661 __import__(self.__module__).get_module_version())
3664 return _object_cast_to_DiscreteSampler(o)
3666 def __disown__(self):
3668 _IMP_domino.disown_DiscreteSampler(self)
3669 return weakref_proxy(self)
3671 def do_destroy(self):
3672 """do_destroy(DiscreteSampler self)"""
3673 return _IMP_domino.DiscreteSampler_do_destroy(self)
3675 DiscreteSampler_swigregister = _IMP_domino.DiscreteSampler_swigregister
3676 DiscreteSampler_swigregister(DiscreteSampler)
3678 class DominoSampler(DiscreteSampler):
3679 """Proxy of C++ IMP::domino::DominoSampler class."""
3681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3683 def __init__(self, *args):
3685 __init__(IMP::domino::DominoSampler self, Model m, std::string name) -> DominoSampler
3686 __init__(IMP::domino::DominoSampler self, Model m) -> DominoSampler
3687 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst, std::string name) -> DominoSampler
3688 __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst) -> DominoSampler
3690 this = _IMP_domino.new_DominoSampler(*args)
3692 self.this.append(this)
3693 except __builtin__.Exception:
3696 def do_get_sample_assignments(self, known):
3697 """do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3698 return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3701 def get_version_info(self):
3702 """get_version_info(DominoSampler self) -> VersionInfo"""
3703 return _IMP_domino.DominoSampler_get_version_info(self)
3706 def set_merge_tree(self, mt):
3707 """set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3708 return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3711 def set_use_cross_subset_filtering(self, tf):
3712 """set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3713 return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3716 def get_number_of_assignments_for_vertex(self, tree_vertex):
3717 """get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3718 return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3721 def get_sample_assignments_for_vertex(self, tree_vertex):
3722 """get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3723 return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3726 def get_vertex_assignments(self, *args):
3728 get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states) -> IMP::domino::Assignments
3729 get_vertex_assignments(DominoSampler self, unsigned int node_index) -> IMP::domino::Assignments
3730 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
3731 get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second) -> IMP::domino::Assignments
3733 return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3736 def load_vertex_assignments(self, *args):
3738 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states)
3739 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac)
3740 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states)
3741 load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac)
3743 return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3747 """__str__(DominoSampler self) -> std::string"""
3748 return _IMP_domino.DominoSampler___str__(self)
3752 """__repr__(DominoSampler self) -> std::string"""
3753 return _IMP_domino.DominoSampler___repr__(self)
3758 return _object_cast_to_DominoSampler(o)
3760 DominoSampler_swigregister = _IMP_domino.DominoSampler_swigregister
3761 DominoSampler_swigregister(DominoSampler)
3763 class BranchAndBoundSampler(DiscreteSampler):
3764 """Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3766 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3768 def __init__(self, *args):
3770 __init__(IMP::domino::BranchAndBoundSampler self, Model m, std::string name) -> BranchAndBoundSampler
3771 __init__(IMP::domino::BranchAndBoundSampler self, Model m) -> BranchAndBoundSampler
3772 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name) -> BranchAndBoundSampler
3773 __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst) -> BranchAndBoundSampler
3775 this = _IMP_domino.new_BranchAndBoundSampler(*args)
3777 self.this.append(this)
3778 except __builtin__.Exception:
3781 def do_get_sample_assignments(self, known):
3782 """do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3783 return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3786 def get_version_info(self):
3787 """get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3788 return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3792 """__str__(BranchAndBoundSampler self) -> std::string"""
3793 return _IMP_domino.BranchAndBoundSampler___str__(self)
3797 """__repr__(BranchAndBoundSampler self) -> std::string"""
3798 return _IMP_domino.BranchAndBoundSampler___repr__(self)
3803 return _object_cast_to_BranchAndBoundSampler(o)
3805 BranchAndBoundSampler_swigregister = _IMP_domino.BranchAndBoundSampler_swigregister
3806 BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3810 """load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3811 return _IMP_domino.load_particle_states(s, ss, pst)
3813 def get_restraints(s, pst, dg, rs):
3814 """get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3815 return _IMP_domino.get_restraints(s, pst, dg, rs)
3817 def get_index(particles, subset, excluded):
3818 """get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3819 return _IMP_domino.get_index(particles, subset, excluded)
3822 """get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3823 return _IMP_domino.get_partial_index(particles, subset, excluded)
3826 """get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3827 return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3830 """get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3831 return _IMP_domino.get_embedding(s, a, pst)
3834 """get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3835 return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3838 """get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3839 return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3842 """load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3843 return _IMP_domino.load_leaf_assignments(subset, at, ac)
3846 """load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3847 return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3850 """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)"""
3851 return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3854 """get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3855 return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3857 """Proxy of C++ IMP::domino::DependencyScoreState class."""
3859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3861 def __init__(self, m):
3862 """__init__(IMP::domino::DependencyScoreState self, Model m) -> DependencyScoreState"""
3863 this = _IMP_domino.new_DependencyScoreState(m)
3865 self.this.append(this)
3866 except __builtin__.Exception:
3869 def set_input_particles(self, pt):
3870 """set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3871 return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3874 def set_output_particles(self, pt):
3875 """set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3876 return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3879 def set_input_containers(self, pt):
3880 """set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3881 return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3884 def set_output_containers(self, pt):
3885 """set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3886 return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3889 def get_version_info(self):
3890 """get_version_info(DependencyScoreState self) -> VersionInfo"""
3891 return _IMP_domino.DependencyScoreState_get_version_info(self)
3895 """__str__(DependencyScoreState self) -> std::string"""
3896 return _IMP_domino.DependencyScoreState___str__(self)
3900 """__repr__(DependencyScoreState self) -> std::string"""
3901 return _IMP_domino.DependencyScoreState___repr__(self)
3906 return _object_cast_to_DependencyScoreState(o)
3908 DependencyScoreState_swigregister = _IMP_domino.DependencyScoreState_swigregister
3909 DependencyScoreState_swigregister(DependencyScoreState)
3912 def _get_ints_list(input):
3913 """_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3914 return _IMP_domino._get_ints_list(input)
3916 def get_module_version():
3917 """get_module_version() -> std::string const"""
3918 return _IMP_domino.get_module_version()
3921 """get_example_path(std::string fname) -> std::string"""
3922 return _IMP_domino.get_example_path(fname)
3925 """get_data_path(std::string fname) -> std::string"""
3926 return _IMP_domino.get_data_path(fname)
3928 from .
import _version_check
3929 _version_check.check_version(get_module_version())
3930 __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)