11 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
19 import builtins
as __builtin__
25 strthis =
"proxy of " + self.this.__repr__()
26 except __builtin__.Exception:
28 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
31 def _swig_setattr_nondynamic_instance_variable(set):
32 def set_instance_attr(self, name, value):
34 set(self, name, value)
35 elif name ==
"thisown":
37 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
38 set(self, name, value)
40 raise AttributeError(
"You cannot add instance attributes to %s" % self)
41 return set_instance_attr
44 def _swig_setattr_nondynamic_class_variable(set):
45 def set_class_attr(cls, name, value):
46 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
49 raise AttributeError(
"You cannot add class attributes to %s" % cls)
53 def _swig_add_metaclass(metaclass):
54 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
56 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 class _SwigNonDynamicMeta(type):
61 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
62 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
67 class IMP_CONTAINER_SwigPyIterator(object):
68 r"""Proxy of C++ swig::IMP_CONTAINER_SwigPyIterator class."""
70 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
72 def __init__(self, *args, **kwargs):
73 raise AttributeError(
"No constructor defined - class is abstract")
75 __swig_destroy__ = _IMP_container.delete_IMP_CONTAINER_SwigPyIterator
78 r"""value(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
79 return _IMP_container.IMP_CONTAINER_SwigPyIterator_value(self)
82 r"""incr(IMP_CONTAINER_SwigPyIterator self, size_t n=1) -> IMP_CONTAINER_SwigPyIterator"""
83 return _IMP_container.IMP_CONTAINER_SwigPyIterator_incr(self, n)
86 r"""decr(IMP_CONTAINER_SwigPyIterator self, size_t n=1) -> IMP_CONTAINER_SwigPyIterator"""
87 return _IMP_container.IMP_CONTAINER_SwigPyIterator_decr(self, n)
89 def distance(self, x):
90 r"""distance(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> ptrdiff_t"""
91 return _IMP_container.IMP_CONTAINER_SwigPyIterator_distance(self, x)
94 r"""equal(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
95 return _IMP_container.IMP_CONTAINER_SwigPyIterator_equal(self, x)
98 r"""copy(IMP_CONTAINER_SwigPyIterator self) -> IMP_CONTAINER_SwigPyIterator"""
99 return _IMP_container.IMP_CONTAINER_SwigPyIterator_copy(self)
102 r"""next(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
103 return _IMP_container.IMP_CONTAINER_SwigPyIterator_next(self)
106 r"""__next__(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
107 return _IMP_container.IMP_CONTAINER_SwigPyIterator___next__(self)
110 r"""previous(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
111 return _IMP_container.IMP_CONTAINER_SwigPyIterator_previous(self)
113 def advance(self, n):
114 r"""advance(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
115 return _IMP_container.IMP_CONTAINER_SwigPyIterator_advance(self, n)
118 r"""__eq__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
119 return _IMP_container.IMP_CONTAINER_SwigPyIterator___eq__(self, x)
122 r"""__ne__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
123 return _IMP_container.IMP_CONTAINER_SwigPyIterator___ne__(self, x)
125 def __iadd__(self, n):
126 r"""__iadd__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
127 return _IMP_container.IMP_CONTAINER_SwigPyIterator___iadd__(self, n)
129 def __isub__(self, n):
130 r"""__isub__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
131 return _IMP_container.IMP_CONTAINER_SwigPyIterator___isub__(self, n)
133 def __add__(self, n):
134 r"""__add__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
135 return _IMP_container.IMP_CONTAINER_SwigPyIterator___add__(self, n)
137 def __sub__(self, *args):
139 __sub__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator
140 __sub__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> ptrdiff_t
142 return _IMP_container.IMP_CONTAINER_SwigPyIterator___sub__(self, *args)
147 _IMP_container.IMP_CONTAINER_SwigPyIterator_swigregister(IMP_CONTAINER_SwigPyIterator)
154 IMP_DEBUG = _IMP_container.IMP_DEBUG
156 IMP_RELEASE = _IMP_container.IMP_RELEASE
158 IMP_SILENT = _IMP_container.IMP_SILENT
160 IMP_PROGRESS = _IMP_container.IMP_PROGRESS
162 IMP_TERSE = _IMP_container.IMP_TERSE
164 IMP_VERBOSE = _IMP_container.IMP_VERBOSE
166 IMP_MEMORY = _IMP_container.IMP_MEMORY
168 IMP_NONE = _IMP_container.IMP_NONE
170 IMP_USAGE = _IMP_container.IMP_USAGE
172 IMP_INTERNAL = _IMP_container.IMP_INTERNAL
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_container.IMP_KERNEL_HAS_LOG4CXX
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_container.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_container.IMP_COMPILER_HAS_DEBUG_VECTOR
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_container.IMP_COMPILER_HAS_RANDOM_SHUFFLE
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_container.IMP_COMPILER_HAS_THREE_WAY
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_container.IMP_KERNEL_HAS_BOOST_RANDOM
186 IMP_KERNEL_HAS_NUMPY = _IMP_container.IMP_KERNEL_HAS_NUMPY
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_container.IMP_KERNEL_HAS_GPERFTOOLS
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_container.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_container.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
194 IMPKERNEL_SHOW_WARNINGS = _IMP_container.IMPKERNEL_SHOW_WARNINGS
198 class _DirectorObjects(object):
199 """@internal Simple class to keep references to director objects
200 to prevent premature deletion."""
203 def register(self, obj):
204 """Take a reference to a director object; will only work for
205 refcounted C++ classes"""
206 if hasattr(obj,
'get_ref_count'):
207 self._objects.append(obj)
209 """Only drop our reference and allow cleanup by Python if no other
210 Python references exist (we hold 3 references: one in self._objects,
211 one in x, and one in the argument list for getrefcount) *and* no
212 other C++ references exist (the Python object always holds one)"""
213 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
214 or x.get_ref_count() > 1]
218 def get_object_count(self):
219 """Get number of director objects (useful for testing only)"""
220 return len(self._objects)
221 _director_objects = _DirectorObjects()
223 class _ostream(object):
224 r"""Proxy of C++ std::ostream class."""
226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
228 def __init__(self, *args, **kwargs):
229 raise AttributeError(
"No constructor defined")
230 __repr__ = _swig_repr
232 def write(self, osa_buf):
233 r"""write(_ostream self, char const * osa_buf)"""
234 return _IMP_container._ostream_write(self, osa_buf)
237 _IMP_container._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_container.IMP_C_OPEN_BINARY
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CGAL_HAS_BOOST_FILESYSTEM
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_container.IMP_CGAL_HAS_BOOST_RANDOM
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_container.IMP_CGAL_HAS_BOOST_SYSTEM
249 IMP_CGAL_HAS_NUMPY = _IMP_container.IMP_CGAL_HAS_NUMPY
251 IMPCGAL_SHOW_WARNINGS = _IMP_container.IMPCGAL_SHOW_WARNINGS
254 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_container.IMP_ALGEBRA_HAS_IMP_CGAL
256 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
258 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
260 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_RANDOM
262 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_SYSTEM
264 IMP_ALGEBRA_HAS_CGAL = _IMP_container.IMP_ALGEBRA_HAS_CGAL
266 IMP_ALGEBRA_HAS_NUMPY = _IMP_container.IMP_ALGEBRA_HAS_NUMPY
268 IMP_ALGEBRA_HAS_ANN = _IMP_container.IMP_ALGEBRA_HAS_ANN
270 IMPALGEBRA_SHOW_WARNINGS = _IMP_container.IMPALGEBRA_SHOW_WARNINGS
273 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_container.IMP_DISPLAY_HAS_IMP_CGAL
275 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
277 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
279 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_container.IMP_DISPLAY_HAS_BOOST_RANDOM
281 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_container.IMP_DISPLAY_HAS_BOOST_SYSTEM
283 IMP_DISPLAY_HAS_CGAL = _IMP_container.IMP_DISPLAY_HAS_CGAL
285 IMP_DISPLAY_HAS_NUMPY = _IMP_container.IMP_DISPLAY_HAS_NUMPY
287 IMPDISPLAY_SHOW_WARNINGS = _IMP_container.IMPDISPLAY_SHOW_WARNINGS
290 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_container.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
292 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
294 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
296 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
298 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
300 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_container.IMP_SCORE_FUNCTOR_HAS_CGAL
302 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_container.IMP_SCORE_FUNCTOR_HAS_HDF5
304 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_container.IMP_SCORE_FUNCTOR_HAS_NUMPY
306 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_container.IMPSCOREFUNCTOR_SHOW_WARNINGS
309 IMP_CORE_HAS_IMP_CGAL = _IMP_container.IMP_CORE_HAS_IMP_CGAL
311 IMP_CORE_HAS_IMP_KERNEL = _IMP_container.IMP_CORE_HAS_IMP_KERNEL
313 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CORE_HAS_BOOST_FILESYSTEM
315 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
317 IMP_CORE_HAS_BOOST_RANDOM = _IMP_container.IMP_CORE_HAS_BOOST_RANDOM
319 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_container.IMP_CORE_HAS_BOOST_SYSTEM
321 IMP_CORE_HAS_CGAL = _IMP_container.IMP_CORE_HAS_CGAL
323 IMP_CORE_HAS_HDF5 = _IMP_container.IMP_CORE_HAS_HDF5
325 IMP_CORE_HAS_NUMPY = _IMP_container.IMP_CORE_HAS_NUMPY
327 IMPCORE_SHOW_WARNINGS = _IMP_container.IMPCORE_SHOW_WARNINGS
330 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_container.IMP_CONTAINER_HAS_IMP_ALGEBRA
332 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_container.IMP_CONTAINER_HAS_IMP_CGAL
334 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_container.IMP_CONTAINER_HAS_IMP_DISPLAY
336 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_container.IMP_CONTAINER_HAS_IMP_KERNEL
338 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_container.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
340 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
342 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
344 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_container.IMP_CONTAINER_HAS_BOOST_RANDOM
346 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_container.IMP_CONTAINER_HAS_BOOST_SYSTEM
348 IMP_CONTAINER_HAS_CGAL = _IMP_container.IMP_CONTAINER_HAS_CGAL
350 IMP_CONTAINER_HAS_HDF5 = _IMP_container.IMP_CONTAINER_HAS_HDF5
352 IMP_CONTAINER_HAS_NUMPY = _IMP_container.IMP_CONTAINER_HAS_NUMPY
354 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_container.IMP_CONTAINER_HAS_PYTHON_IHM
356 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_container.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
358 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_container.IMP_CONTAINER_HAS_ROBIN_MAP
360 IMPCONTAINER_SHOW_WARNINGS = _IMP_container.IMPCONTAINER_SHOW_WARNINGS
363 _object_types.append(
"AllBipartitePairContainer")
366 def _object_cast_to_AllBipartitePairContainer(o):
367 r"""_object_cast_to_AllBipartitePairContainer(Object o) -> AllBipartitePairContainer"""
368 return _IMP_container._object_cast_to_AllBipartitePairContainer(o)
370 _object_types.append(
"AllPairContainer")
373 def _object_cast_to_AllPairContainer(o):
374 r"""_object_cast_to_AllPairContainer(Object o) -> AllPairContainer"""
375 return _IMP_container._object_cast_to_AllPairContainer(o)
377 _object_types.append(
"CloseBipartitePairContainer")
380 def _object_cast_to_CloseBipartitePairContainer(o):
381 r"""_object_cast_to_CloseBipartitePairContainer(Object o) -> CloseBipartitePairContainer"""
382 return _IMP_container._object_cast_to_CloseBipartitePairContainer(o)
384 _object_types.append(
"ClosePairContainer")
387 def _object_cast_to_ClosePairContainer(o):
388 r"""_object_cast_to_ClosePairContainer(Object o) -> ClosePairContainer"""
389 return _IMP_container._object_cast_to_ClosePairContainer(o)
391 _object_types.append(
"ConnectingPairContainer")
394 def _object_cast_to_ConnectingPairContainer(o):
395 r"""_object_cast_to_ConnectingPairContainer(Object o) -> ConnectingPairContainer"""
396 return _IMP_container._object_cast_to_ConnectingPairContainer(o)
398 _object_types.append(
"ConsecutivePairContainer")
401 def _object_cast_to_ConsecutivePairContainer(o):
402 r"""_object_cast_to_ConsecutivePairContainer(Object o) -> ConsecutivePairContainer"""
403 return _IMP_container._object_cast_to_ConsecutivePairContainer(o)
405 _object_types.append(
"ExclusiveConsecutivePairContainer")
408 def _object_cast_to_ExclusiveConsecutivePairContainer(o):
409 r"""_object_cast_to_ExclusiveConsecutivePairContainer(Object o) -> ExclusiveConsecutivePairContainer"""
410 return _IMP_container._object_cast_to_ExclusiveConsecutivePairContainer(o)
412 _object_types.append(
"ExclusiveConsecutivePairFilter")
415 def _object_cast_to_ExclusiveConsecutivePairFilter(o):
416 r"""_object_cast_to_ExclusiveConsecutivePairFilter(Object o) -> ExclusiveConsecutivePairFilter"""
417 return _IMP_container._object_cast_to_ExclusiveConsecutivePairFilter(o)
419 _object_types.append(
"ConsecutivePairFilter")
422 def _object_cast_to_ConsecutivePairFilter(o):
423 r"""_object_cast_to_ConsecutivePairFilter(Object o) -> ConsecutivePairFilter"""
424 return _IMP_container._object_cast_to_ConsecutivePairFilter(o)
426 _object_types.append(
"ListPairContainer")
429 def _object_cast_to_ListPairContainer(o):
430 r"""_object_cast_to_ListPairContainer(Object o) -> ListPairContainer"""
431 return _IMP_container._object_cast_to_ListPairContainer(o)
433 _object_types.append(
"ListQuadContainer")
436 def _object_cast_to_ListQuadContainer(o):
437 r"""_object_cast_to_ListQuadContainer(Object o) -> ListQuadContainer"""
438 return _IMP_container._object_cast_to_ListQuadContainer(o)
440 _object_types.append(
"ListSingletonContainer")
443 def _object_cast_to_ListSingletonContainer(o):
444 r"""_object_cast_to_ListSingletonContainer(Object o) -> ListSingletonContainer"""
445 return _IMP_container._object_cast_to_ListSingletonContainer(o)
447 _object_types.append(
"ListTripletContainer")
450 def _object_cast_to_ListTripletContainer(o):
451 r"""_object_cast_to_ListTripletContainer(Object o) -> ListTripletContainer"""
452 return _IMP_container._object_cast_to_ListTripletContainer(o)
454 _object_types.append(
"DynamicListPairContainer")
457 def _object_cast_to_DynamicListPairContainer(o):
458 r"""_object_cast_to_DynamicListPairContainer(Object o) -> DynamicListPairContainer"""
459 return _IMP_container._object_cast_to_DynamicListPairContainer(o)
461 _object_types.append(
"DynamicListQuadContainer")
464 def _object_cast_to_DynamicListQuadContainer(o):
465 r"""_object_cast_to_DynamicListQuadContainer(Object o) -> DynamicListQuadContainer"""
466 return _IMP_container._object_cast_to_DynamicListQuadContainer(o)
468 _object_types.append(
"DynamicListSingletonContainer")
471 def _object_cast_to_DynamicListSingletonContainer(o):
472 r"""_object_cast_to_DynamicListSingletonContainer(Object o) -> DynamicListSingletonContainer"""
473 return _IMP_container._object_cast_to_DynamicListSingletonContainer(o)
475 _object_types.append(
"DynamicListTripletContainer")
478 def _object_cast_to_DynamicListTripletContainer(o):
479 r"""_object_cast_to_DynamicListTripletContainer(Object o) -> DynamicListTripletContainer"""
480 return _IMP_container._object_cast_to_DynamicListTripletContainer(o)
482 _object_types.append(
"MinimumPairRestraint")
485 def _object_cast_to_MinimumPairRestraint(o):
486 r"""_object_cast_to_MinimumPairRestraint(Object o) -> MinimumPairRestraint"""
487 return _IMP_container._object_cast_to_MinimumPairRestraint(o)
489 _object_types.append(
"MinimumPairScore")
492 def _object_cast_to_MinimumPairScore(o):
493 r"""_object_cast_to_MinimumPairScore(Object o) -> MinimumPairScore"""
494 return _IMP_container._object_cast_to_MinimumPairScore(o)
496 _object_types.append(
"MinimumQuadRestraint")
499 def _object_cast_to_MinimumQuadRestraint(o):
500 r"""_object_cast_to_MinimumQuadRestraint(Object o) -> MinimumQuadRestraint"""
501 return _IMP_container._object_cast_to_MinimumQuadRestraint(o)
503 _object_types.append(
"MinimumQuadScore")
506 def _object_cast_to_MinimumQuadScore(o):
507 r"""_object_cast_to_MinimumQuadScore(Object o) -> MinimumQuadScore"""
508 return _IMP_container._object_cast_to_MinimumQuadScore(o)
510 _object_types.append(
"MinimumSingletonRestraint")
513 def _object_cast_to_MinimumSingletonRestraint(o):
514 r"""_object_cast_to_MinimumSingletonRestraint(Object o) -> MinimumSingletonRestraint"""
515 return _IMP_container._object_cast_to_MinimumSingletonRestraint(o)
517 _object_types.append(
"MinimumSingletonScore")
520 def _object_cast_to_MinimumSingletonScore(o):
521 r"""_object_cast_to_MinimumSingletonScore(Object o) -> MinimumSingletonScore"""
522 return _IMP_container._object_cast_to_MinimumSingletonScore(o)
524 _object_types.append(
"MinimumTripletRestraint")
527 def _object_cast_to_MinimumTripletRestraint(o):
528 r"""_object_cast_to_MinimumTripletRestraint(Object o) -> MinimumTripletRestraint"""
529 return _IMP_container._object_cast_to_MinimumTripletRestraint(o)
531 _object_types.append(
"MinimumTripletScore")
534 def _object_cast_to_MinimumTripletScore(o):
535 r"""_object_cast_to_MinimumTripletScore(Object o) -> MinimumTripletScore"""
536 return _IMP_container._object_cast_to_MinimumTripletScore(o)
538 _object_types.append(
"PairContainerSet")
541 def _object_cast_to_PairContainerSet(o):
542 r"""_object_cast_to_PairContainerSet(Object o) -> PairContainerSet"""
543 return _IMP_container._object_cast_to_PairContainerSet(o)
545 _object_types.append(
"PairsConstraint")
548 def _object_cast_to_PairsConstraint(o):
549 r"""_object_cast_to_PairsConstraint(Object o) -> PairsConstraint"""
550 return _IMP_container._object_cast_to_PairsConstraint(o)
552 _object_types.append(
"PairsOptimizerState")
555 def _object_cast_to_PairsOptimizerState(o):
556 r"""_object_cast_to_PairsOptimizerState(Object o) -> PairsOptimizerState"""
557 return _IMP_container._object_cast_to_PairsOptimizerState(o)
559 _object_types.append(
"PairsRestraint")
562 def _object_cast_to_PairsRestraint(o):
563 r"""_object_cast_to_PairsRestraint(Object o) -> PairsRestraint"""
564 return _IMP_container._object_cast_to_PairsRestraint(o)
566 _object_types.append(
"QuadContainerSet")
569 def _object_cast_to_QuadContainerSet(o):
570 r"""_object_cast_to_QuadContainerSet(Object o) -> QuadContainerSet"""
571 return _IMP_container._object_cast_to_QuadContainerSet(o)
573 _object_types.append(
"QuadsConstraint")
576 def _object_cast_to_QuadsConstraint(o):
577 r"""_object_cast_to_QuadsConstraint(Object o) -> QuadsConstraint"""
578 return _IMP_container._object_cast_to_QuadsConstraint(o)
580 _object_types.append(
"QuadsOptimizerState")
583 def _object_cast_to_QuadsOptimizerState(o):
584 r"""_object_cast_to_QuadsOptimizerState(Object o) -> QuadsOptimizerState"""
585 return _IMP_container._object_cast_to_QuadsOptimizerState(o)
587 _object_types.append(
"QuadsRestraint")
590 def _object_cast_to_QuadsRestraint(o):
591 r"""_object_cast_to_QuadsRestraint(Object o) -> QuadsRestraint"""
592 return _IMP_container._object_cast_to_QuadsRestraint(o)
594 _object_types.append(
"SingletonContainerSet")
597 def _object_cast_to_SingletonContainerSet(o):
598 r"""_object_cast_to_SingletonContainerSet(Object o) -> SingletonContainerSet"""
599 return _IMP_container._object_cast_to_SingletonContainerSet(o)
601 _object_types.append(
"SingletonsConstraint")
604 def _object_cast_to_SingletonsConstraint(o):
605 r"""_object_cast_to_SingletonsConstraint(Object o) -> SingletonsConstraint"""
606 return _IMP_container._object_cast_to_SingletonsConstraint(o)
608 _object_types.append(
"SingletonsOptimizerState")
611 def _object_cast_to_SingletonsOptimizerState(o):
612 r"""_object_cast_to_SingletonsOptimizerState(Object o) -> SingletonsOptimizerState"""
613 return _IMP_container._object_cast_to_SingletonsOptimizerState(o)
615 _object_types.append(
"SingletonsRestraint")
618 def _object_cast_to_SingletonsRestraint(o):
619 r"""_object_cast_to_SingletonsRestraint(Object o) -> SingletonsRestraint"""
620 return _IMP_container._object_cast_to_SingletonsRestraint(o)
622 _object_types.append(
"TripletContainerSet")
625 def _object_cast_to_TripletContainerSet(o):
626 r"""_object_cast_to_TripletContainerSet(Object o) -> TripletContainerSet"""
627 return _IMP_container._object_cast_to_TripletContainerSet(o)
629 _object_types.append(
"TripletsConstraint")
632 def _object_cast_to_TripletsConstraint(o):
633 r"""_object_cast_to_TripletsConstraint(Object o) -> TripletsConstraint"""
634 return _IMP_container._object_cast_to_TripletsConstraint(o)
636 _object_types.append(
"TripletsOptimizerState")
639 def _object_cast_to_TripletsOptimizerState(o):
640 r"""_object_cast_to_TripletsOptimizerState(Object o) -> TripletsOptimizerState"""
641 return _IMP_container._object_cast_to_TripletsOptimizerState(o)
643 _object_types.append(
"TripletsRestraint")
646 def _object_cast_to_TripletsRestraint(o):
647 r"""_object_cast_to_TripletsRestraint(Object o) -> TripletsRestraint"""
648 return _IMP_container._object_cast_to_TripletsRestraint(o)
650 _object_types.append(
"InContainerSingletonFilter")
653 def _object_cast_to_InContainerSingletonFilter(o):
654 r"""_object_cast_to_InContainerSingletonFilter(Object o) -> InContainerSingletonFilter"""
655 return _IMP_container._object_cast_to_InContainerSingletonFilter(o)
657 _object_types.append(
"InContainerPairFilter")
660 def _object_cast_to_InContainerPairFilter(o):
661 r"""_object_cast_to_InContainerPairFilter(Object o) -> InContainerPairFilter"""
662 return _IMP_container._object_cast_to_InContainerPairFilter(o)
664 _object_types.append(
"InContainerTripletFilter")
667 def _object_cast_to_InContainerTripletFilter(o):
668 r"""_object_cast_to_InContainerTripletFilter(Object o) -> InContainerTripletFilter"""
669 return _IMP_container._object_cast_to_InContainerTripletFilter(o)
671 _object_types.append(
"InContainerQuadFilter")
674 def _object_cast_to_InContainerQuadFilter(o):
675 r"""_object_cast_to_InContainerQuadFilter(Object o) -> InContainerQuadFilter"""
676 return _IMP_container._object_cast_to_InContainerQuadFilter(o)
678 _object_types.append(
"SingletonContainerStatistics")
681 def _object_cast_to_SingletonContainerStatistics(o):
682 r"""_object_cast_to_SingletonContainerStatistics(Object o) -> SingletonContainerStatistics"""
683 return _IMP_container._object_cast_to_SingletonContainerStatistics(o)
685 _object_types.append(
"PairContainerStatistics")
688 def _object_cast_to_PairContainerStatistics(o):
689 r"""_object_cast_to_PairContainerStatistics(Object o) -> PairContainerStatistics"""
690 return _IMP_container._object_cast_to_PairContainerStatistics(o)
692 _object_types.append(
"TripletContainerStatistics")
695 def _object_cast_to_TripletContainerStatistics(o):
696 r"""_object_cast_to_TripletContainerStatistics(Object o) -> TripletContainerStatistics"""
697 return _IMP_container._object_cast_to_TripletContainerStatistics(o)
699 _object_types.append(
"QuadContainerStatistics")
702 def _object_cast_to_QuadContainerStatistics(o):
703 r"""_object_cast_to_QuadContainerStatistics(Object o) -> QuadContainerStatistics"""
704 return _IMP_container._object_cast_to_QuadContainerStatistics(o)
706 _object_types.append(
"EventSingletonsOptimizerState")
709 def _object_cast_to_EventSingletonsOptimizerState(o):
710 r"""_object_cast_to_EventSingletonsOptimizerState(Object o) -> EventSingletonsOptimizerState"""
711 return _IMP_container._object_cast_to_EventSingletonsOptimizerState(o)
713 _object_types.append(
"EventPairsOptimizerState")
716 def _object_cast_to_EventPairsOptimizerState(o):
717 r"""_object_cast_to_EventPairsOptimizerState(Object o) -> EventPairsOptimizerState"""
718 return _IMP_container._object_cast_to_EventPairsOptimizerState(o)
720 _object_types.append(
"EventTripletsOptimizerState")
723 def _object_cast_to_EventTripletsOptimizerState(o):
724 r"""_object_cast_to_EventTripletsOptimizerState(Object o) -> EventTripletsOptimizerState"""
725 return _IMP_container._object_cast_to_EventTripletsOptimizerState(o)
727 _object_types.append(
"EventQuadsOptimizerState")
730 def _object_cast_to_EventQuadsOptimizerState(o):
731 r"""_object_cast_to_EventQuadsOptimizerState(Object o) -> EventQuadsOptimizerState"""
732 return _IMP_container._object_cast_to_EventQuadsOptimizerState(o)
734 _object_types.append(
"PredicateSingletonsRestraint")
737 def _object_cast_to_PredicateSingletonsRestraint(o):
738 r"""_object_cast_to_PredicateSingletonsRestraint(Object o) -> PredicateSingletonsRestraint"""
739 return _IMP_container._object_cast_to_PredicateSingletonsRestraint(o)
741 _object_types.append(
"PredicatePairsRestraint")
744 def _object_cast_to_PredicatePairsRestraint(o):
745 r"""_object_cast_to_PredicatePairsRestraint(Object o) -> PredicatePairsRestraint"""
746 return _IMP_container._object_cast_to_PredicatePairsRestraint(o)
748 _object_types.append(
"PredicateTripletsRestraint")
751 def _object_cast_to_PredicateTripletsRestraint(o):
752 r"""_object_cast_to_PredicateTripletsRestraint(Object o) -> PredicateTripletsRestraint"""
753 return _IMP_container._object_cast_to_PredicateTripletsRestraint(o)
755 _object_types.append(
"PredicateQuadsRestraint")
758 def _object_cast_to_PredicateQuadsRestraint(o):
759 r"""_object_cast_to_PredicateQuadsRestraint(Object o) -> PredicateQuadsRestraint"""
760 return _IMP_container._object_cast_to_PredicateQuadsRestraint(o)
762 _object_types.append(
"DistributeSingletonsScoreState")
765 def _object_cast_to_DistributeSingletonsScoreState(o):
766 r"""_object_cast_to_DistributeSingletonsScoreState(Object o) -> DistributeSingletonsScoreState"""
767 return _IMP_container._object_cast_to_DistributeSingletonsScoreState(o)
769 _object_types.append(
"DistributePairsScoreState")
772 def _object_cast_to_DistributePairsScoreState(o):
773 r"""_object_cast_to_DistributePairsScoreState(Object o) -> DistributePairsScoreState"""
774 return _IMP_container._object_cast_to_DistributePairsScoreState(o)
776 _object_types.append(
"DistributeTripletsScoreState")
779 def _object_cast_to_DistributeTripletsScoreState(o):
780 r"""_object_cast_to_DistributeTripletsScoreState(Object o) -> DistributeTripletsScoreState"""
781 return _IMP_container._object_cast_to_DistributeTripletsScoreState(o)
783 _object_types.append(
"DistributeQuadsScoreState")
786 def _object_cast_to_DistributeQuadsScoreState(o):
787 r"""_object_cast_to_DistributeQuadsScoreState(Object o) -> DistributeQuadsScoreState"""
788 return _IMP_container._object_cast_to_DistributeQuadsScoreState(o)
790 r"""Proxy of C++ IMP::container::AllBipartitePairContainer class."""
792 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
794 def __init__(self, *args):
795 r"""__init__(AllBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, std::string name="AllBipartitePairContainer%1%") -> AllBipartitePairContainer"""
796 _IMP_container.AllBipartitePairContainer_swiginit(self, _IMP_container.new_AllBipartitePairContainer(*args))
798 def do_get_inputs(self):
799 r"""do_get_inputs(AllBipartitePairContainer self) -> IMP::ModelObjectsTemp"""
800 return _IMP_container.AllBipartitePairContainer_do_get_inputs(self)
802 def do_apply(self, sm):
803 r"""do_apply(AllBipartitePairContainer self, PairModifier sm)"""
804 return _IMP_container.AllBipartitePairContainer_do_apply(self, sm)
806 def do_apply_moved(self, sm, moved_pis, reset_pis):
807 r"""do_apply_moved(AllBipartitePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
808 return _IMP_container.AllBipartitePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
810 def get_version_info(self):
811 r"""get_version_info(AllBipartitePairContainer self) -> VersionInfo"""
812 return _IMP_container.AllBipartitePairContainer_get_version_info(self)
813 __swig_destroy__ = _IMP_container.delete_AllBipartitePairContainer
816 r"""__str__(AllBipartitePairContainer self) -> std::string"""
817 return _IMP_container.AllBipartitePairContainer___str__(self)
820 r"""__repr__(AllBipartitePairContainer self) -> std::string"""
821 return _IMP_container.AllBipartitePairContainer___repr__(self)
825 return _object_cast_to_AllBipartitePairContainer(o)
829 _IMP_container.AllBipartitePairContainer_swigregister(AllBipartitePairContainer)
831 r"""Proxy of C++ IMP::container::AllPairContainer class."""
833 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
835 def __init__(self, *args):
836 r"""__init__(AllPairContainer self, _SingletonContainerAdaptor c, std::string name="AllPairContainer%1%") -> AllPairContainer"""
837 _IMP_container.AllPairContainer_swiginit(self, _IMP_container.new_AllPairContainer(*args))
839 def do_get_inputs(self):
840 r"""do_get_inputs(AllPairContainer self) -> IMP::ModelObjectsTemp"""
841 return _IMP_container.AllPairContainer_do_get_inputs(self)
843 def do_apply(self, sm):
844 r"""do_apply(AllPairContainer self, PairModifier sm)"""
845 return _IMP_container.AllPairContainer_do_apply(self, sm)
847 def do_apply_moved(self, sm, moved_pis, reset_pis):
848 r"""do_apply_moved(AllPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
849 return _IMP_container.AllPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
851 def get_version_info(self):
852 r"""get_version_info(AllPairContainer self) -> VersionInfo"""
853 return _IMP_container.AllPairContainer_get_version_info(self)
854 __swig_destroy__ = _IMP_container.delete_AllPairContainer
857 r"""__str__(AllPairContainer self) -> std::string"""
858 return _IMP_container.AllPairContainer___str__(self)
861 r"""__repr__(AllPairContainer self) -> std::string"""
862 return _IMP_container.AllPairContainer___repr__(self)
866 return _object_cast_to_AllPairContainer(o)
870 _IMP_container.AllPairContainer_swigregister(AllPairContainer)
872 r"""Proxy of C++ IMP::container::CloseBipartitePairContainer class."""
874 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
876 def __init__(self, *args):
878 __init__(CloseBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, double distance, double slack=1, std::string name="CloseBipartitePairContainer%1%") -> CloseBipartitePairContainer
879 __init__(CloseBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, double distance, ClosePairsFinder cpf, double slack=1, std::string name="CloseBipartitePairContainer%1%") -> CloseBipartitePairContainer
880 __init__(CloseBipartitePairContainer self) -> CloseBipartitePairContainer
882 _IMP_container.CloseBipartitePairContainer_swiginit(self, _IMP_container.new_CloseBipartitePairContainer(*args))
883 def __get_pair_filters(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_filters, getfunc=self.get_pair_filter, erasefunc=self.erase_pair_filter, appendfunc=self.add_pair_filter, extendfunc=self.add_pair_filters, clearfunc=self.clear_pair_filters, indexfunc=self._python_index_pair_filter)
884 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
885 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
886 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
888 def remove_pair_filter(self, d):
889 r"""remove_pair_filter(CloseBipartitePairContainer self, PairPredicate d)"""
890 return _IMP_container.CloseBipartitePairContainer_remove_pair_filter(self, d)
892 def _python_index_pair_filter(self, d, start, stop):
893 r"""_python_index_pair_filter(CloseBipartitePairContainer self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
894 return _IMP_container.CloseBipartitePairContainer__python_index_pair_filter(self, d, start, stop)
896 def remove_pair_filters(self, d):
897 r"""remove_pair_filters(CloseBipartitePairContainer self, IMP::PairPredicates const & d)"""
898 return _IMP_container.CloseBipartitePairContainer_remove_pair_filters(self, d)
900 def set_pair_filters(self, ps):
901 r"""set_pair_filters(CloseBipartitePairContainer self, IMP::PairPredicates const & ps)"""
902 return _IMP_container.CloseBipartitePairContainer_set_pair_filters(self, ps)
904 def set_pair_filters_order(self, objs):
905 r"""set_pair_filters_order(CloseBipartitePairContainer self, IMP::PairPredicates const & objs)"""
906 return _IMP_container.CloseBipartitePairContainer_set_pair_filters_order(self, objs)
908 def add_pair_filter(self, obj):
909 r"""add_pair_filter(CloseBipartitePairContainer self, PairPredicate obj) -> unsigned int"""
910 return _IMP_container.CloseBipartitePairContainer_add_pair_filter(self, obj)
912 def add_pair_filters(self, objs):
913 r"""add_pair_filters(CloseBipartitePairContainer self, IMP::PairPredicates const & objs)"""
914 return _IMP_container.CloseBipartitePairContainer_add_pair_filters(self, objs)
916 def clear_pair_filters(self):
917 r"""clear_pair_filters(CloseBipartitePairContainer self)"""
918 return _IMP_container.CloseBipartitePairContainer_clear_pair_filters(self)
920 def get_number_of_pair_filters(self):
921 r"""get_number_of_pair_filters(CloseBipartitePairContainer self) -> unsigned int"""
922 return _IMP_container.CloseBipartitePairContainer_get_number_of_pair_filters(self)
924 def get_has_pair_filters(self):
925 r"""get_has_pair_filters(CloseBipartitePairContainer self) -> bool"""
926 return _IMP_container.CloseBipartitePairContainer_get_has_pair_filters(self)
928 def get_pair_filter(self, i):
929 r"""get_pair_filter(CloseBipartitePairContainer self, unsigned int i) -> PairPredicate"""
930 return _IMP_container.CloseBipartitePairContainer_get_pair_filter(self, i)
932 def get_pair_filters(self):
933 r"""get_pair_filters(CloseBipartitePairContainer self) -> IMP::PairPredicates"""
934 return _IMP_container.CloseBipartitePairContainer_get_pair_filters(self)
936 def erase_pair_filter(self, i):
937 r"""erase_pair_filter(CloseBipartitePairContainer self, unsigned int i)"""
938 return _IMP_container.CloseBipartitePairContainer_erase_pair_filter(self, i)
940 def reserve_pair_filters(self, sz):
941 r"""reserve_pair_filters(CloseBipartitePairContainer self, unsigned int sz)"""
942 return _IMP_container.CloseBipartitePairContainer_reserve_pair_filters(self, sz)
944 def do_get_inputs(self):
945 r"""do_get_inputs(CloseBipartitePairContainer self) -> IMP::ModelObjectsTemp"""
946 return _IMP_container.CloseBipartitePairContainer_do_get_inputs(self)
948 def do_apply(self, sm):
949 r"""do_apply(CloseBipartitePairContainer self, PairModifier sm)"""
950 return _IMP_container.CloseBipartitePairContainer_do_apply(self, sm)
952 def get_version_info(self):
953 r"""get_version_info(CloseBipartitePairContainer self) -> VersionInfo"""
954 return _IMP_container.CloseBipartitePairContainer_get_version_info(self)
955 __swig_destroy__ = _IMP_container.delete_CloseBipartitePairContainer
958 r"""__str__(CloseBipartitePairContainer self) -> std::string"""
959 return _IMP_container.CloseBipartitePairContainer___str__(self)
962 r"""__repr__(CloseBipartitePairContainer self) -> std::string"""
963 return _IMP_container.CloseBipartitePairContainer___repr__(self)
967 return _object_cast_to_CloseBipartitePairContainer(o)
970 def _get_as_binary(self):
971 r"""_get_as_binary(CloseBipartitePairContainer self) -> PyObject *"""
972 return _IMP_container.CloseBipartitePairContainer__get_as_binary(self)
974 def _set_from_binary(self, p):
975 r"""_set_from_binary(CloseBipartitePairContainer self, PyObject * p)"""
976 return _IMP_container.CloseBipartitePairContainer__set_from_binary(self, p)
978 def __getstate__(self):
979 p = self._get_as_binary()
980 if len(self.__dict__) > 1:
981 d = self.__dict__.copy()
986 def __setstate__(self, p):
987 if not hasattr(self,
'this'):
989 if isinstance(p, tuple):
991 self.__dict__.update(d)
992 return self._set_from_binary(p)
996 _IMP_container.CloseBipartitePairContainer_swigregister(CloseBipartitePairContainer)
998 r"""Proxy of C++ IMP::container::ClosePairContainer class."""
1000 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1002 def __init__(self, *args):
1004 __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
1005 __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, ClosePairsFinder cpf, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
1006 __init__(ClosePairContainer self) -> ClosePairContainer
1008 _IMP_container.ClosePairContainer_swiginit(self, _IMP_container.new_ClosePairContainer(*args))
1009 def __get_pair_filters(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_filters, getfunc=self.get_pair_filter, erasefunc=self.erase_pair_filter, appendfunc=self.add_pair_filter, extendfunc=self.add_pair_filters, clearfunc=self.clear_pair_filters, indexfunc=self._python_index_pair_filter)
1010 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
1011 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
1012 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
1014 def remove_pair_filter(self, d):
1015 r"""remove_pair_filter(ClosePairContainer self, PairPredicate d)"""
1016 return _IMP_container.ClosePairContainer_remove_pair_filter(self, d)
1018 def _python_index_pair_filter(self, d, start, stop):
1019 r"""_python_index_pair_filter(ClosePairContainer self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
1020 return _IMP_container.ClosePairContainer__python_index_pair_filter(self, d, start, stop)
1022 def remove_pair_filters(self, d):
1023 r"""remove_pair_filters(ClosePairContainer self, IMP::PairPredicates const & d)"""
1024 return _IMP_container.ClosePairContainer_remove_pair_filters(self, d)
1026 def set_pair_filters(self, ps):
1027 r"""set_pair_filters(ClosePairContainer self, IMP::PairPredicates const & ps)"""
1028 return _IMP_container.ClosePairContainer_set_pair_filters(self, ps)
1030 def set_pair_filters_order(self, objs):
1031 r"""set_pair_filters_order(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1032 return _IMP_container.ClosePairContainer_set_pair_filters_order(self, objs)
1034 def add_pair_filter(self, obj):
1035 r"""add_pair_filter(ClosePairContainer self, PairPredicate obj) -> unsigned int"""
1036 return _IMP_container.ClosePairContainer_add_pair_filter(self, obj)
1038 def add_pair_filters(self, objs):
1039 r"""add_pair_filters(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1040 return _IMP_container.ClosePairContainer_add_pair_filters(self, objs)
1042 def clear_pair_filters(self):
1043 r"""clear_pair_filters(ClosePairContainer self)"""
1044 return _IMP_container.ClosePairContainer_clear_pair_filters(self)
1046 def get_number_of_pair_filters(self):
1047 r"""get_number_of_pair_filters(ClosePairContainer self) -> unsigned int"""
1048 return _IMP_container.ClosePairContainer_get_number_of_pair_filters(self)
1050 def get_has_pair_filters(self):
1051 r"""get_has_pair_filters(ClosePairContainer self) -> bool"""
1052 return _IMP_container.ClosePairContainer_get_has_pair_filters(self)
1054 def get_pair_filter(self, i):
1055 r"""get_pair_filter(ClosePairContainer self, unsigned int i) -> PairPredicate"""
1056 return _IMP_container.ClosePairContainer_get_pair_filter(self, i)
1058 def get_pair_filters(self):
1059 r"""get_pair_filters(ClosePairContainer self) -> IMP::PairPredicates"""
1060 return _IMP_container.ClosePairContainer_get_pair_filters(self)
1062 def erase_pair_filter(self, i):
1063 r"""erase_pair_filter(ClosePairContainer self, unsigned int i)"""
1064 return _IMP_container.ClosePairContainer_erase_pair_filter(self, i)
1066 def reserve_pair_filters(self, sz):
1067 r"""reserve_pair_filters(ClosePairContainer self, unsigned int sz)"""
1068 return _IMP_container.ClosePairContainer_reserve_pair_filters(self, sz)
1070 def set_slack(self, s):
1071 r"""set_slack(ClosePairContainer self, double s)"""
1072 return _IMP_container.ClosePairContainer_set_slack(self, s)
1074 def get_slack(self):
1075 r"""get_slack(ClosePairContainer self) -> double"""
1076 return _IMP_container.ClosePairContainer_get_slack(self)
1078 def do_get_inputs(self):
1079 r"""do_get_inputs(ClosePairContainer self) -> IMP::ModelObjectsTemp"""
1080 return _IMP_container.ClosePairContainer_do_get_inputs(self)
1082 def do_apply(self, sm):
1083 r"""do_apply(ClosePairContainer self, PairModifier sm)"""
1084 return _IMP_container.ClosePairContainer_do_apply(self, sm)
1086 def get_number_of_update_calls(self):
1087 r"""get_number_of_update_calls(ClosePairContainer self) -> unsigned int"""
1088 return _IMP_container.ClosePairContainer_get_number_of_update_calls(self)
1090 def get_number_of_full_rebuilds(self):
1091 r"""get_number_of_full_rebuilds(ClosePairContainer self) -> unsigned int"""
1092 return _IMP_container.ClosePairContainer_get_number_of_full_rebuilds(self)
1094 def get_number_of_partial_rebuilds(self):
1095 r"""get_number_of_partial_rebuilds(ClosePairContainer self) -> unsigned int"""
1096 return _IMP_container.ClosePairContainer_get_number_of_partial_rebuilds(self)
1098 def get_version_info(self):
1099 r"""get_version_info(ClosePairContainer self) -> VersionInfo"""
1100 return _IMP_container.ClosePairContainer_get_version_info(self)
1101 __swig_destroy__ = _IMP_container.delete_ClosePairContainer
1104 r"""__str__(ClosePairContainer self) -> std::string"""
1105 return _IMP_container.ClosePairContainer___str__(self)
1108 r"""__repr__(ClosePairContainer self) -> std::string"""
1109 return _IMP_container.ClosePairContainer___repr__(self)
1113 return _object_cast_to_ClosePairContainer(o)
1116 def _get_as_binary(self):
1117 r"""_get_as_binary(ClosePairContainer self) -> PyObject *"""
1118 return _IMP_container.ClosePairContainer__get_as_binary(self)
1120 def _set_from_binary(self, p):
1121 r"""_set_from_binary(ClosePairContainer self, PyObject * p)"""
1122 return _IMP_container.ClosePairContainer__set_from_binary(self, p)
1124 def __getstate__(self):
1125 p = self._get_as_binary()
1126 if len(self.__dict__) > 1:
1127 d = self.__dict__.copy()
1132 def __setstate__(self, p):
1133 if not hasattr(self,
'this'):
1135 if isinstance(p, tuple):
1137 self.__dict__.update(d)
1138 return self._set_from_binary(p)
1142 _IMP_container.ClosePairContainer_swigregister(ClosePairContainer)
1145 r"""get_slack_estimate(Model m, IMP::ParticleIndexes ps, double upper_bound, double step, IMP::RestraintsTemp const & restraints, bool derivatives, Optimizer opt, ClosePairContainer cpc) -> double"""
1146 return _IMP_container.get_slack_estimate(m, ps, upper_bound, step, restraints, derivatives, opt, cpc)
1148 r"""Proxy of C++ IMP::container::ConnectingPairContainer class."""
1150 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1152 def __init__(self, sc, error):
1153 r"""__init__(ConnectingPairContainer self, SingletonContainer sc, double error) -> ConnectingPairContainer"""
1154 _IMP_container.ConnectingPairContainer_swiginit(self, _IMP_container.new_ConnectingPairContainer(sc, error))
1156 def do_get_inputs(self):
1157 r"""do_get_inputs(ConnectingPairContainer self) -> IMP::ModelObjectsTemp"""
1158 return _IMP_container.ConnectingPairContainer_do_get_inputs(self)
1160 def do_apply(self, sm):
1161 r"""do_apply(ConnectingPairContainer self, PairModifier sm)"""
1162 return _IMP_container.ConnectingPairContainer_do_apply(self, sm)
1164 def get_version_info(self):
1165 r"""get_version_info(ConnectingPairContainer self) -> VersionInfo"""
1166 return _IMP_container.ConnectingPairContainer_get_version_info(self)
1167 __swig_destroy__ = _IMP_container.delete_ConnectingPairContainer
1170 r"""__str__(ConnectingPairContainer self) -> std::string"""
1171 return _IMP_container.ConnectingPairContainer___str__(self)
1174 r"""__repr__(ConnectingPairContainer self) -> std::string"""
1175 return _IMP_container.ConnectingPairContainer___repr__(self)
1179 return _object_cast_to_ConnectingPairContainer(o)
1183 _IMP_container.ConnectingPairContainer_swigregister(ConnectingPairContainer)
1185 r"""Proxy of C++ IMP::container::ConsecutivePairContainer class."""
1187 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1189 def __init__(self, *args):
1190 r"""__init__(ConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ConsecutivePairContainer%1%") -> ConsecutivePairContainer"""
1191 _IMP_container.ConsecutivePairContainer_swiginit(self, _IMP_container.new_ConsecutivePairContainer(*args))
1193 def do_get_inputs(self):
1194 r"""do_get_inputs(ConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1195 return _IMP_container.ConsecutivePairContainer_do_get_inputs(self)
1197 def do_apply(self, sm):
1198 r"""do_apply(ConsecutivePairContainer self, PairModifier sm)"""
1199 return _IMP_container.ConsecutivePairContainer_do_apply(self, sm)
1201 def do_apply_moved(self, sm, moved_pis, reset_pis):
1202 r"""do_apply_moved(ConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1203 return _IMP_container.ConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1205 def get_version_info(self):
1206 r"""get_version_info(ConsecutivePairContainer self) -> VersionInfo"""
1207 return _IMP_container.ConsecutivePairContainer_get_version_info(self)
1208 __swig_destroy__ = _IMP_container.delete_ConsecutivePairContainer
1211 r"""__str__(ConsecutivePairContainer self) -> std::string"""
1212 return _IMP_container.ConsecutivePairContainer___str__(self)
1215 r"""__repr__(ConsecutivePairContainer self) -> std::string"""
1216 return _IMP_container.ConsecutivePairContainer___repr__(self)
1220 return _object_cast_to_ConsecutivePairContainer(o)
1224 _IMP_container.ConsecutivePairContainer_swigregister(ConsecutivePairContainer)
1226 r"""Proxy of C++ IMP::container::ConsecutivePairFilter class."""
1228 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1230 def __init__(self, cpc):
1231 r"""__init__(ConsecutivePairFilter self, ConsecutivePairContainer cpc) -> ConsecutivePairFilter"""
1232 _IMP_container.ConsecutivePairFilter_swiginit(self, _IMP_container.new_ConsecutivePairFilter(cpc))
1234 def do_get_inputs(self, m, pi):
1235 r"""do_get_inputs(ConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1236 return _IMP_container.ConsecutivePairFilter_do_get_inputs(self, m, pi)
1238 def get_value(self, *args):
1240 get_value(ConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1241 get_value(ConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1243 return _IMP_container.ConsecutivePairFilter_get_value(self, *args)
1245 def get_value_index(self, *args):
1247 get_value_index(ConsecutivePairFilter self, Model arg2, IMP::ParticleIndexPair const & pip) -> int
1248 get_value_index(ConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1250 return _IMP_container.ConsecutivePairFilter_get_value_index(self, *args)
1252 def get_version_info(self):
1253 r"""get_version_info(ConsecutivePairFilter self) -> VersionInfo"""
1254 return _IMP_container.ConsecutivePairFilter_get_version_info(self)
1255 __swig_destroy__ = _IMP_container.delete_ConsecutivePairFilter
1258 r"""__str__(ConsecutivePairFilter self) -> std::string"""
1259 return _IMP_container.ConsecutivePairFilter___str__(self)
1262 r"""__repr__(ConsecutivePairFilter self) -> std::string"""
1263 return _IMP_container.ConsecutivePairFilter___repr__(self)
1267 return _object_cast_to_ConsecutivePairFilter(o)
1271 _IMP_container.ConsecutivePairFilter_swigregister(ConsecutivePairFilter)
1273 r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairContainer class."""
1275 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1277 def __init__(self, *args):
1278 r"""__init__(ExclusiveConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ExclusiveConsecutivePairContainer%1%") -> ExclusiveConsecutivePairContainer"""
1279 _IMP_container.ExclusiveConsecutivePairContainer_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairContainer(*args))
1281 def do_get_inputs(self):
1282 r"""do_get_inputs(ExclusiveConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1283 return _IMP_container.ExclusiveConsecutivePairContainer_do_get_inputs(self)
1285 def do_apply(self, sm):
1286 r"""do_apply(ExclusiveConsecutivePairContainer self, PairModifier sm)"""
1287 return _IMP_container.ExclusiveConsecutivePairContainer_do_apply(self, sm)
1289 def do_apply_moved(self, sm, moved_pis, reset_pis):
1290 r"""do_apply_moved(ExclusiveConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1291 return _IMP_container.ExclusiveConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1293 def get_version_info(self):
1294 r"""get_version_info(ExclusiveConsecutivePairContainer self) -> VersionInfo"""
1295 return _IMP_container.ExclusiveConsecutivePairContainer_get_version_info(self)
1296 __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairContainer
1299 r"""__str__(ExclusiveConsecutivePairContainer self) -> std::string"""
1300 return _IMP_container.ExclusiveConsecutivePairContainer___str__(self)
1303 r"""__repr__(ExclusiveConsecutivePairContainer self) -> std::string"""
1304 return _IMP_container.ExclusiveConsecutivePairContainer___repr__(self)
1308 return _object_cast_to_ExclusiveConsecutivePairContainer(o)
1312 _IMP_container.ExclusiveConsecutivePairContainer_swigregister(ExclusiveConsecutivePairContainer)
1314 r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairFilter class."""
1316 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1319 r"""__init__(ExclusiveConsecutivePairFilter self) -> ExclusiveConsecutivePairFilter"""
1320 _IMP_container.ExclusiveConsecutivePairFilter_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairFilter())
1322 def do_get_inputs(self, m, pi):
1323 r"""do_get_inputs(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1324 return _IMP_container.ExclusiveConsecutivePairFilter_do_get_inputs(self, m, pi)
1326 def get_value(self, *args):
1328 get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1329 get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1331 return _IMP_container.ExclusiveConsecutivePairFilter_get_value(self, *args)
1333 def get_value_index(self, *args):
1335 get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPair const & pip) -> int
1336 get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1338 return _IMP_container.ExclusiveConsecutivePairFilter_get_value_index(self, *args)
1340 def get_version_info(self):
1341 r"""get_version_info(ExclusiveConsecutivePairFilter self) -> VersionInfo"""
1342 return _IMP_container.ExclusiveConsecutivePairFilter_get_version_info(self)
1343 __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairFilter
1346 r"""__str__(ExclusiveConsecutivePairFilter self) -> std::string"""
1347 return _IMP_container.ExclusiveConsecutivePairFilter___str__(self)
1350 r"""__repr__(ExclusiveConsecutivePairFilter self) -> std::string"""
1351 return _IMP_container.ExclusiveConsecutivePairFilter___repr__(self)
1355 return _object_cast_to_ExclusiveConsecutivePairFilter(o)
1359 _IMP_container.ExclusiveConsecutivePairFilter_swigregister(ExclusiveConsecutivePairFilter)
1361 r"""Proxy of C++ IMP::container::ListPairContainer class."""
1363 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1365 def __init__(self, *args):
1367 __init__(ListPairContainer self, Model m, IMP::ParticleIndexPairs const & contents, std::string name="ListPairContainer%1%") -> ListPairContainer
1368 __init__(ListPairContainer self, Model m, std::string name="ListPairContainer %1%") -> ListPairContainer
1369 __init__(ListPairContainer self, Model m, char const * name) -> ListPairContainer
1370 __init__(ListPairContainer self) -> ListPairContainer
1372 _IMP_container.ListPairContainer_swiginit(self, _IMP_container.new_ListPairContainer(*args))
1374 def add(self, *args):
1376 add(ListPairContainer self, IMP::ParticleIndexPair const & vt)
1377 add(ListPairContainer self, IMP::ParticleIndexPairs const & c)
1379 return _IMP_container.ListPairContainer_add(self, *args)
1382 r"""set(ListPairContainer self, IMP::ParticleIndexPairs cp)"""
1383 return _IMP_container.ListPairContainer_set(self, cp)
1386 r"""clear(ListPairContainer self)"""
1387 return _IMP_container.ListPairContainer_clear(self)
1389 def do_get_inputs(self):
1390 r"""do_get_inputs(ListPairContainer self) -> IMP::ModelObjectsTemp"""
1391 return _IMP_container.ListPairContainer_do_get_inputs(self)
1393 def do_apply(self, sm):
1394 r"""do_apply(ListPairContainer self, PairModifier sm)"""
1395 return _IMP_container.ListPairContainer_do_apply(self, sm)
1397 def do_apply_moved(self, sm, moved_pis, reset_pis):
1398 r"""do_apply_moved(ListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1399 return _IMP_container.ListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1401 def get_version_info(self):
1402 r"""get_version_info(ListPairContainer self) -> VersionInfo"""
1403 return _IMP_container.ListPairContainer_get_version_info(self)
1404 __swig_destroy__ = _IMP_container.delete_ListPairContainer
1407 r"""__str__(ListPairContainer self) -> std::string"""
1408 return _IMP_container.ListPairContainer___str__(self)
1411 r"""__repr__(ListPairContainer self) -> std::string"""
1412 return _IMP_container.ListPairContainer___repr__(self)
1416 return _object_cast_to_ListPairContainer(o)
1419 def _get_as_binary(self):
1420 r"""_get_as_binary(ListPairContainer self) -> PyObject *"""
1421 return _IMP_container.ListPairContainer__get_as_binary(self)
1423 def _set_from_binary(self, p):
1424 r"""_set_from_binary(ListPairContainer self, PyObject * p)"""
1425 return _IMP_container.ListPairContainer__set_from_binary(self, p)
1427 def __getstate__(self):
1428 p = self._get_as_binary()
1429 if len(self.__dict__) > 1:
1430 d = self.__dict__.copy()
1435 def __setstate__(self, p):
1436 if not hasattr(self,
'this'):
1438 if isinstance(p, tuple):
1440 self.__dict__.update(d)
1441 return self._set_from_binary(p)
1445 _IMP_container.ListPairContainer_swigregister(ListPairContainer)
1447 r"""Proxy of C++ IMP::container::ListQuadContainer class."""
1449 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1451 def __init__(self, *args):
1453 __init__(ListQuadContainer self, Model m, IMP::ParticleIndexQuads const & contents, std::string name="ListQuadContainer%1%") -> ListQuadContainer
1454 __init__(ListQuadContainer self, Model m, std::string name="ListQuadContainer %1%") -> ListQuadContainer
1455 __init__(ListQuadContainer self, Model m, char const * name) -> ListQuadContainer
1456 __init__(ListQuadContainer self) -> ListQuadContainer
1458 _IMP_container.ListQuadContainer_swiginit(self, _IMP_container.new_ListQuadContainer(*args))
1460 def add(self, *args):
1462 add(ListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1463 add(ListQuadContainer self, IMP::ParticleIndexQuads const & c)
1465 return _IMP_container.ListQuadContainer_add(self, *args)
1468 r"""set(ListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1469 return _IMP_container.ListQuadContainer_set(self, cp)
1472 r"""clear(ListQuadContainer self)"""
1473 return _IMP_container.ListQuadContainer_clear(self)
1475 def do_get_inputs(self):
1476 r"""do_get_inputs(ListQuadContainer self) -> IMP::ModelObjectsTemp"""
1477 return _IMP_container.ListQuadContainer_do_get_inputs(self)
1479 def do_apply(self, sm):
1480 r"""do_apply(ListQuadContainer self, QuadModifier sm)"""
1481 return _IMP_container.ListQuadContainer_do_apply(self, sm)
1483 def do_apply_moved(self, sm, moved_pis, reset_pis):
1484 r"""do_apply_moved(ListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1485 return _IMP_container.ListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1487 def get_version_info(self):
1488 r"""get_version_info(ListQuadContainer self) -> VersionInfo"""
1489 return _IMP_container.ListQuadContainer_get_version_info(self)
1490 __swig_destroy__ = _IMP_container.delete_ListQuadContainer
1493 r"""__str__(ListQuadContainer self) -> std::string"""
1494 return _IMP_container.ListQuadContainer___str__(self)
1497 r"""__repr__(ListQuadContainer self) -> std::string"""
1498 return _IMP_container.ListQuadContainer___repr__(self)
1502 return _object_cast_to_ListQuadContainer(o)
1505 def _get_as_binary(self):
1506 r"""_get_as_binary(ListQuadContainer self) -> PyObject *"""
1507 return _IMP_container.ListQuadContainer__get_as_binary(self)
1509 def _set_from_binary(self, p):
1510 r"""_set_from_binary(ListQuadContainer self, PyObject * p)"""
1511 return _IMP_container.ListQuadContainer__set_from_binary(self, p)
1513 def __getstate__(self):
1514 p = self._get_as_binary()
1515 if len(self.__dict__) > 1:
1516 d = self.__dict__.copy()
1521 def __setstate__(self, p):
1522 if not hasattr(self,
'this'):
1524 if isinstance(p, tuple):
1526 self.__dict__.update(d)
1527 return self._set_from_binary(p)
1531 _IMP_container.ListQuadContainer_swigregister(ListQuadContainer)
1533 r"""Proxy of C++ IMP::container::ListSingletonContainer class."""
1535 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1537 def __init__(self, *args):
1539 __init__(ListSingletonContainer self, Model m, IMP::ParticleIndexes const & contents, std::string name="ListSingletonContainer%1%") -> ListSingletonContainer
1540 __init__(ListSingletonContainer self, Model m, std::string name="ListSingletonContainer %1%") -> ListSingletonContainer
1541 __init__(ListSingletonContainer self, Model m, char const * name) -> ListSingletonContainer
1542 __init__(ListSingletonContainer self) -> ListSingletonContainer
1544 _IMP_container.ListSingletonContainer_swiginit(self, _IMP_container.new_ListSingletonContainer(*args))
1546 def add(self, *args):
1548 add(ListSingletonContainer self, ParticleIndex vt)
1549 add(ListSingletonContainer self, IMP::ParticleIndexes const & c)
1551 return _IMP_container.ListSingletonContainer_add(self, *args)
1554 r"""set(ListSingletonContainer self, IMP::ParticleIndexes cp)"""
1555 return _IMP_container.ListSingletonContainer_set(self, cp)
1558 r"""clear(ListSingletonContainer self)"""
1559 return _IMP_container.ListSingletonContainer_clear(self)
1561 def do_get_inputs(self):
1562 r"""do_get_inputs(ListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1563 return _IMP_container.ListSingletonContainer_do_get_inputs(self)
1565 def do_apply(self, sm):
1566 r"""do_apply(ListSingletonContainer self, SingletonModifier sm)"""
1567 return _IMP_container.ListSingletonContainer_do_apply(self, sm)
1569 def do_apply_moved(self, sm, moved_pis, reset_pis):
1570 r"""do_apply_moved(ListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1571 return _IMP_container.ListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1573 def get_version_info(self):
1574 r"""get_version_info(ListSingletonContainer self) -> VersionInfo"""
1575 return _IMP_container.ListSingletonContainer_get_version_info(self)
1576 __swig_destroy__ = _IMP_container.delete_ListSingletonContainer
1579 r"""__str__(ListSingletonContainer self) -> std::string"""
1580 return _IMP_container.ListSingletonContainer___str__(self)
1583 r"""__repr__(ListSingletonContainer self) -> std::string"""
1584 return _IMP_container.ListSingletonContainer___repr__(self)
1588 return _object_cast_to_ListSingletonContainer(o)
1591 def _get_as_binary(self):
1592 r"""_get_as_binary(ListSingletonContainer self) -> PyObject *"""
1593 return _IMP_container.ListSingletonContainer__get_as_binary(self)
1595 def _set_from_binary(self, p):
1596 r"""_set_from_binary(ListSingletonContainer self, PyObject * p)"""
1597 return _IMP_container.ListSingletonContainer__set_from_binary(self, p)
1599 def __getstate__(self):
1600 p = self._get_as_binary()
1601 if len(self.__dict__) > 1:
1602 d = self.__dict__.copy()
1607 def __setstate__(self, p):
1608 if not hasattr(self,
'this'):
1610 if isinstance(p, tuple):
1612 self.__dict__.update(d)
1613 return self._set_from_binary(p)
1617 _IMP_container.ListSingletonContainer_swigregister(ListSingletonContainer)
1619 r"""Proxy of C++ IMP::container::ListTripletContainer class."""
1621 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1623 def __init__(self, *args):
1625 __init__(ListTripletContainer self, Model m, IMP::ParticleIndexTriplets const & contents, std::string name="ListTripletContainer%1%") -> ListTripletContainer
1626 __init__(ListTripletContainer self, Model m, std::string name="ListTripletContainer %1%") -> ListTripletContainer
1627 __init__(ListTripletContainer self, Model m, char const * name) -> ListTripletContainer
1628 __init__(ListTripletContainer self) -> ListTripletContainer
1630 _IMP_container.ListTripletContainer_swiginit(self, _IMP_container.new_ListTripletContainer(*args))
1632 def add(self, *args):
1634 add(ListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1635 add(ListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1637 return _IMP_container.ListTripletContainer_add(self, *args)
1640 r"""set(ListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1641 return _IMP_container.ListTripletContainer_set(self, cp)
1644 r"""clear(ListTripletContainer self)"""
1645 return _IMP_container.ListTripletContainer_clear(self)
1647 def do_get_inputs(self):
1648 r"""do_get_inputs(ListTripletContainer self) -> IMP::ModelObjectsTemp"""
1649 return _IMP_container.ListTripletContainer_do_get_inputs(self)
1651 def do_apply(self, sm):
1652 r"""do_apply(ListTripletContainer self, TripletModifier sm)"""
1653 return _IMP_container.ListTripletContainer_do_apply(self, sm)
1655 def do_apply_moved(self, sm, moved_pis, reset_pis):
1656 r"""do_apply_moved(ListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1657 return _IMP_container.ListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1659 def get_version_info(self):
1660 r"""get_version_info(ListTripletContainer self) -> VersionInfo"""
1661 return _IMP_container.ListTripletContainer_get_version_info(self)
1662 __swig_destroy__ = _IMP_container.delete_ListTripletContainer
1665 r"""__str__(ListTripletContainer self) -> std::string"""
1666 return _IMP_container.ListTripletContainer___str__(self)
1669 r"""__repr__(ListTripletContainer self) -> std::string"""
1670 return _IMP_container.ListTripletContainer___repr__(self)
1674 return _object_cast_to_ListTripletContainer(o)
1677 def _get_as_binary(self):
1678 r"""_get_as_binary(ListTripletContainer self) -> PyObject *"""
1679 return _IMP_container.ListTripletContainer__get_as_binary(self)
1681 def _set_from_binary(self, p):
1682 r"""_set_from_binary(ListTripletContainer self, PyObject * p)"""
1683 return _IMP_container.ListTripletContainer__set_from_binary(self, p)
1685 def __getstate__(self):
1686 p = self._get_as_binary()
1687 if len(self.__dict__) > 1:
1688 d = self.__dict__.copy()
1693 def __setstate__(self, p):
1694 if not hasattr(self,
'this'):
1696 if isinstance(p, tuple):
1698 self.__dict__.update(d)
1699 return self._set_from_binary(p)
1703 _IMP_container.ListTripletContainer_swigregister(ListTripletContainer)
1705 r"""Proxy of C++ IMP::container::DynamicListPairContainer class."""
1707 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1709 def __init__(self, *args, **kwargs):
1710 raise AttributeError(
"No constructor defined - class is abstract")
1712 def add(self, *args):
1714 add(DynamicListPairContainer self, IMP::ParticleIndexPair const & vt)
1715 add(DynamicListPairContainer self, IMP::ParticleIndexPairs const & c)
1717 return _IMP_container.DynamicListPairContainer_add(self, *args)
1720 r"""set(DynamicListPairContainer self, IMP::ParticleIndexPairs cp)"""
1721 return _IMP_container.DynamicListPairContainer_set(self, cp)
1724 r"""clear(DynamicListPairContainer self)"""
1725 return _IMP_container.DynamicListPairContainer_clear(self)
1727 def do_get_inputs(self):
1728 r"""do_get_inputs(DynamicListPairContainer self) -> IMP::ModelObjectsTemp"""
1729 return _IMP_container.DynamicListPairContainer_do_get_inputs(self)
1731 def do_apply(self, sm):
1732 r"""do_apply(DynamicListPairContainer self, PairModifier sm)"""
1733 return _IMP_container.DynamicListPairContainer_do_apply(self, sm)
1735 def do_apply_moved(self, sm, moved_pis, reset_pis):
1736 r"""do_apply_moved(DynamicListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1737 return _IMP_container.DynamicListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1739 def get_version_info(self):
1740 r"""get_version_info(DynamicListPairContainer self) -> VersionInfo"""
1741 return _IMP_container.DynamicListPairContainer_get_version_info(self)
1742 __swig_destroy__ = _IMP_container.delete_DynamicListPairContainer
1745 r"""__str__(DynamicListPairContainer self) -> std::string"""
1746 return _IMP_container.DynamicListPairContainer___str__(self)
1749 r"""__repr__(DynamicListPairContainer self) -> std::string"""
1750 return _IMP_container.DynamicListPairContainer___repr__(self)
1754 return _object_cast_to_DynamicListPairContainer(o)
1758 _IMP_container.DynamicListPairContainer_swigregister(DynamicListPairContainer)
1760 r"""Proxy of C++ IMP::container::DynamicListQuadContainer class."""
1762 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1764 def __init__(self, *args, **kwargs):
1765 raise AttributeError(
"No constructor defined - class is abstract")
1767 def add(self, *args):
1769 add(DynamicListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1770 add(DynamicListQuadContainer self, IMP::ParticleIndexQuads const & c)
1772 return _IMP_container.DynamicListQuadContainer_add(self, *args)
1775 r"""set(DynamicListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1776 return _IMP_container.DynamicListQuadContainer_set(self, cp)
1779 r"""clear(DynamicListQuadContainer self)"""
1780 return _IMP_container.DynamicListQuadContainer_clear(self)
1782 def do_get_inputs(self):
1783 r"""do_get_inputs(DynamicListQuadContainer self) -> IMP::ModelObjectsTemp"""
1784 return _IMP_container.DynamicListQuadContainer_do_get_inputs(self)
1786 def do_apply(self, sm):
1787 r"""do_apply(DynamicListQuadContainer self, QuadModifier sm)"""
1788 return _IMP_container.DynamicListQuadContainer_do_apply(self, sm)
1790 def do_apply_moved(self, sm, moved_pis, reset_pis):
1791 r"""do_apply_moved(DynamicListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1792 return _IMP_container.DynamicListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1794 def get_version_info(self):
1795 r"""get_version_info(DynamicListQuadContainer self) -> VersionInfo"""
1796 return _IMP_container.DynamicListQuadContainer_get_version_info(self)
1797 __swig_destroy__ = _IMP_container.delete_DynamicListQuadContainer
1800 r"""__str__(DynamicListQuadContainer self) -> std::string"""
1801 return _IMP_container.DynamicListQuadContainer___str__(self)
1804 r"""__repr__(DynamicListQuadContainer self) -> std::string"""
1805 return _IMP_container.DynamicListQuadContainer___repr__(self)
1809 return _object_cast_to_DynamicListQuadContainer(o)
1813 _IMP_container.DynamicListQuadContainer_swigregister(DynamicListQuadContainer)
1815 r"""Proxy of C++ IMP::container::DynamicListSingletonContainer class."""
1817 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1819 def __init__(self, *args, **kwargs):
1820 raise AttributeError(
"No constructor defined - class is abstract")
1822 def add(self, *args):
1824 add(DynamicListSingletonContainer self, ParticleIndex vt)
1825 add(DynamicListSingletonContainer self, IMP::ParticleIndexes const & c)
1827 return _IMP_container.DynamicListSingletonContainer_add(self, *args)
1830 r"""set(DynamicListSingletonContainer self, IMP::ParticleIndexes cp)"""
1831 return _IMP_container.DynamicListSingletonContainer_set(self, cp)
1834 r"""clear(DynamicListSingletonContainer self)"""
1835 return _IMP_container.DynamicListSingletonContainer_clear(self)
1837 def do_get_inputs(self):
1838 r"""do_get_inputs(DynamicListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1839 return _IMP_container.DynamicListSingletonContainer_do_get_inputs(self)
1841 def do_apply(self, sm):
1842 r"""do_apply(DynamicListSingletonContainer self, SingletonModifier sm)"""
1843 return _IMP_container.DynamicListSingletonContainer_do_apply(self, sm)
1845 def do_apply_moved(self, sm, moved_pis, reset_pis):
1846 r"""do_apply_moved(DynamicListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1847 return _IMP_container.DynamicListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1849 def get_version_info(self):
1850 r"""get_version_info(DynamicListSingletonContainer self) -> VersionInfo"""
1851 return _IMP_container.DynamicListSingletonContainer_get_version_info(self)
1852 __swig_destroy__ = _IMP_container.delete_DynamicListSingletonContainer
1855 r"""__str__(DynamicListSingletonContainer self) -> std::string"""
1856 return _IMP_container.DynamicListSingletonContainer___str__(self)
1859 r"""__repr__(DynamicListSingletonContainer self) -> std::string"""
1860 return _IMP_container.DynamicListSingletonContainer___repr__(self)
1864 return _object_cast_to_DynamicListSingletonContainer(o)
1868 _IMP_container.DynamicListSingletonContainer_swigregister(DynamicListSingletonContainer)
1870 r"""Proxy of C++ IMP::container::DynamicListTripletContainer class."""
1872 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1874 def __init__(self, *args, **kwargs):
1875 raise AttributeError(
"No constructor defined - class is abstract")
1877 def add(self, *args):
1879 add(DynamicListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1880 add(DynamicListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1882 return _IMP_container.DynamicListTripletContainer_add(self, *args)
1885 r"""set(DynamicListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1886 return _IMP_container.DynamicListTripletContainer_set(self, cp)
1889 r"""clear(DynamicListTripletContainer self)"""
1890 return _IMP_container.DynamicListTripletContainer_clear(self)
1892 def do_get_inputs(self):
1893 r"""do_get_inputs(DynamicListTripletContainer self) -> IMP::ModelObjectsTemp"""
1894 return _IMP_container.DynamicListTripletContainer_do_get_inputs(self)
1896 def do_apply(self, sm):
1897 r"""do_apply(DynamicListTripletContainer self, TripletModifier sm)"""
1898 return _IMP_container.DynamicListTripletContainer_do_apply(self, sm)
1900 def do_apply_moved(self, sm, moved_pis, reset_pis):
1901 r"""do_apply_moved(DynamicListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1902 return _IMP_container.DynamicListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1904 def get_version_info(self):
1905 r"""get_version_info(DynamicListTripletContainer self) -> VersionInfo"""
1906 return _IMP_container.DynamicListTripletContainer_get_version_info(self)
1907 __swig_destroy__ = _IMP_container.delete_DynamicListTripletContainer
1910 r"""__str__(DynamicListTripletContainer self) -> std::string"""
1911 return _IMP_container.DynamicListTripletContainer___str__(self)
1914 r"""__repr__(DynamicListTripletContainer self) -> std::string"""
1915 return _IMP_container.DynamicListTripletContainer___repr__(self)
1919 return _object_cast_to_DynamicListTripletContainer(o)
1923 _IMP_container.DynamicListTripletContainer_swigregister(DynamicListTripletContainer)
1925 r"""Proxy of C++ IMP::container::MinimumPairRestraint class."""
1927 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1929 def __init__(self, *args):
1930 r"""__init__(MinimumPairRestraint self, PairScore f, _PairContainerAdaptor c, unsigned int n=1, std::string name="MinimumPairRestraint %1%") -> MinimumPairRestraint"""
1931 _IMP_container.MinimumPairRestraint_swiginit(self, _IMP_container.new_MinimumPairRestraint(*args))
1933 def do_get_inputs(self):
1934 r"""do_get_inputs(MinimumPairRestraint self) -> IMP::ModelObjectsTemp"""
1935 return _IMP_container.MinimumPairRestraint_do_get_inputs(self)
1937 def get_version_info(self):
1938 r"""get_version_info(MinimumPairRestraint self) -> VersionInfo"""
1939 return _IMP_container.MinimumPairRestraint_get_version_info(self)
1940 __swig_destroy__ = _IMP_container.delete_MinimumPairRestraint
1943 r"""set_n(MinimumPairRestraint self, unsigned int n)"""
1944 return _IMP_container.MinimumPairRestraint_set_n(self, n)
1946 def do_create_current_decomposition(self):
1947 r"""do_create_current_decomposition(MinimumPairRestraint self) -> IMP::Restraints"""
1948 return _IMP_container.MinimumPairRestraint_do_create_current_decomposition(self)
1951 r"""__str__(MinimumPairRestraint self) -> std::string"""
1952 return _IMP_container.MinimumPairRestraint___str__(self)
1955 r"""__repr__(MinimumPairRestraint self) -> std::string"""
1956 return _IMP_container.MinimumPairRestraint___repr__(self)
1960 return _object_cast_to_MinimumPairRestraint(o)
1964 _IMP_container.MinimumPairRestraint_swigregister(MinimumPairRestraint)
1966 r"""Proxy of C++ IMP::container::MinimumPairScore class."""
1968 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1970 def __init__(self, *args):
1971 r"""__init__(MinimumPairScore self, IMP::PairScoresTemp const & scores, unsigned int n=1, std::string name="PairScore %1%") -> MinimumPairScore"""
1972 _IMP_container.MinimumPairScore_swiginit(self, _IMP_container.new_MinimumPairScore(*args))
1974 def do_get_inputs(self, m, pis):
1975 r"""do_get_inputs(MinimumPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1976 return _IMP_container.MinimumPairScore_do_get_inputs(self, m, pis)
1978 def get_version_info(self):
1979 r"""get_version_info(MinimumPairScore self) -> VersionInfo"""
1980 return _IMP_container.MinimumPairScore_get_version_info(self)
1981 __swig_destroy__ = _IMP_container.delete_MinimumPairScore
1983 def do_create_current_decomposition(self, m, vt):
1984 r"""do_create_current_decomposition(MinimumPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
1985 return _IMP_container.MinimumPairScore_do_create_current_decomposition(self, m, vt)
1988 r"""__str__(MinimumPairScore self) -> std::string"""
1989 return _IMP_container.MinimumPairScore___str__(self)
1992 r"""__repr__(MinimumPairScore self) -> std::string"""
1993 return _IMP_container.MinimumPairScore___repr__(self)
1997 return _object_cast_to_MinimumPairScore(o)
2001 _IMP_container.MinimumPairScore_swigregister(MinimumPairScore)
2003 r"""Proxy of C++ IMP::container::MinimumQuadRestraint class."""
2005 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2007 def __init__(self, *args):
2008 r"""__init__(MinimumQuadRestraint self, QuadScore f, _QuadContainerAdaptor c, unsigned int n=1, std::string name="MinimumQuadRestraint %1%") -> MinimumQuadRestraint"""
2009 _IMP_container.MinimumQuadRestraint_swiginit(self, _IMP_container.new_MinimumQuadRestraint(*args))
2011 def do_get_inputs(self):
2012 r"""do_get_inputs(MinimumQuadRestraint self) -> IMP::ModelObjectsTemp"""
2013 return _IMP_container.MinimumQuadRestraint_do_get_inputs(self)
2015 def get_version_info(self):
2016 r"""get_version_info(MinimumQuadRestraint self) -> VersionInfo"""
2017 return _IMP_container.MinimumQuadRestraint_get_version_info(self)
2018 __swig_destroy__ = _IMP_container.delete_MinimumQuadRestraint
2021 r"""set_n(MinimumQuadRestraint self, unsigned int n)"""
2022 return _IMP_container.MinimumQuadRestraint_set_n(self, n)
2024 def do_create_current_decomposition(self):
2025 r"""do_create_current_decomposition(MinimumQuadRestraint self) -> IMP::Restraints"""
2026 return _IMP_container.MinimumQuadRestraint_do_create_current_decomposition(self)
2029 r"""__str__(MinimumQuadRestraint self) -> std::string"""
2030 return _IMP_container.MinimumQuadRestraint___str__(self)
2033 r"""__repr__(MinimumQuadRestraint self) -> std::string"""
2034 return _IMP_container.MinimumQuadRestraint___repr__(self)
2038 return _object_cast_to_MinimumQuadRestraint(o)
2042 _IMP_container.MinimumQuadRestraint_swigregister(MinimumQuadRestraint)
2044 r"""Proxy of C++ IMP::container::MinimumQuadScore class."""
2046 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2048 def __init__(self, *args):
2049 r"""__init__(MinimumQuadScore self, IMP::QuadScoresTemp const & scores, unsigned int n=1, std::string name="QuadScore %1%") -> MinimumQuadScore"""
2050 _IMP_container.MinimumQuadScore_swiginit(self, _IMP_container.new_MinimumQuadScore(*args))
2052 def do_get_inputs(self, m, pis):
2053 r"""do_get_inputs(MinimumQuadScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2054 return _IMP_container.MinimumQuadScore_do_get_inputs(self, m, pis)
2056 def get_version_info(self):
2057 r"""get_version_info(MinimumQuadScore self) -> VersionInfo"""
2058 return _IMP_container.MinimumQuadScore_get_version_info(self)
2059 __swig_destroy__ = _IMP_container.delete_MinimumQuadScore
2061 def do_create_current_decomposition(self, m, vt):
2062 r"""do_create_current_decomposition(MinimumQuadScore self, Model m, IMP::ParticleIndexQuad const & vt) -> IMP::Restraints"""
2063 return _IMP_container.MinimumQuadScore_do_create_current_decomposition(self, m, vt)
2066 r"""__str__(MinimumQuadScore self) -> std::string"""
2067 return _IMP_container.MinimumQuadScore___str__(self)
2070 r"""__repr__(MinimumQuadScore self) -> std::string"""
2071 return _IMP_container.MinimumQuadScore___repr__(self)
2075 return _object_cast_to_MinimumQuadScore(o)
2079 _IMP_container.MinimumQuadScore_swigregister(MinimumQuadScore)
2081 r"""Proxy of C++ IMP::container::MinimumSingletonRestraint class."""
2083 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2085 def __init__(self, *args):
2086 r"""__init__(MinimumSingletonRestraint self, SingletonScore f, _SingletonContainerAdaptor c, unsigned int n=1, std::string name="MinimumSingletonRestraint %1%") -> MinimumSingletonRestraint"""
2087 _IMP_container.MinimumSingletonRestraint_swiginit(self, _IMP_container.new_MinimumSingletonRestraint(*args))
2089 def do_get_inputs(self):
2090 r"""do_get_inputs(MinimumSingletonRestraint self) -> IMP::ModelObjectsTemp"""
2091 return _IMP_container.MinimumSingletonRestraint_do_get_inputs(self)
2093 def get_version_info(self):
2094 r"""get_version_info(MinimumSingletonRestraint self) -> VersionInfo"""
2095 return _IMP_container.MinimumSingletonRestraint_get_version_info(self)
2096 __swig_destroy__ = _IMP_container.delete_MinimumSingletonRestraint
2099 r"""set_n(MinimumSingletonRestraint self, unsigned int n)"""
2100 return _IMP_container.MinimumSingletonRestraint_set_n(self, n)
2102 def do_create_current_decomposition(self):
2103 r"""do_create_current_decomposition(MinimumSingletonRestraint self) -> IMP::Restraints"""
2104 return _IMP_container.MinimumSingletonRestraint_do_create_current_decomposition(self)
2107 r"""__str__(MinimumSingletonRestraint self) -> std::string"""
2108 return _IMP_container.MinimumSingletonRestraint___str__(self)
2111 r"""__repr__(MinimumSingletonRestraint self) -> std::string"""
2112 return _IMP_container.MinimumSingletonRestraint___repr__(self)
2116 return _object_cast_to_MinimumSingletonRestraint(o)
2120 _IMP_container.MinimumSingletonRestraint_swigregister(MinimumSingletonRestraint)
2122 r"""Proxy of C++ IMP::container::MinimumSingletonScore class."""
2124 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2126 def __init__(self, *args):
2127 r"""__init__(MinimumSingletonScore self, IMP::SingletonScoresTemp const & scores, unsigned int n=1, std::string name="SingletonScore %1%") -> MinimumSingletonScore"""
2128 _IMP_container.MinimumSingletonScore_swiginit(self, _IMP_container.new_MinimumSingletonScore(*args))
2130 def do_get_inputs(self, m, pis):
2131 r"""do_get_inputs(MinimumSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2132 return _IMP_container.MinimumSingletonScore_do_get_inputs(self, m, pis)
2134 def get_version_info(self):
2135 r"""get_version_info(MinimumSingletonScore self) -> VersionInfo"""
2136 return _IMP_container.MinimumSingletonScore_get_version_info(self)
2137 __swig_destroy__ = _IMP_container.delete_MinimumSingletonScore
2139 def do_create_current_decomposition(self, m, vt):
2140 r"""do_create_current_decomposition(MinimumSingletonScore self, Model m, ParticleIndex vt) -> IMP::Restraints"""
2141 return _IMP_container.MinimumSingletonScore_do_create_current_decomposition(self, m, vt)
2144 r"""__str__(MinimumSingletonScore self) -> std::string"""
2145 return _IMP_container.MinimumSingletonScore___str__(self)
2148 r"""__repr__(MinimumSingletonScore self) -> std::string"""
2149 return _IMP_container.MinimumSingletonScore___repr__(self)
2153 return _object_cast_to_MinimumSingletonScore(o)
2157 _IMP_container.MinimumSingletonScore_swigregister(MinimumSingletonScore)
2159 r"""Proxy of C++ IMP::container::MinimumTripletRestraint class."""
2161 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2163 def __init__(self, *args):
2164 r"""__init__(MinimumTripletRestraint self, TripletScore f, _TripletContainerAdaptor c, unsigned int n=1, std::string name="MinimumTripletRestraint %1%") -> MinimumTripletRestraint"""
2165 _IMP_container.MinimumTripletRestraint_swiginit(self, _IMP_container.new_MinimumTripletRestraint(*args))
2167 def do_get_inputs(self):
2168 r"""do_get_inputs(MinimumTripletRestraint self) -> IMP::ModelObjectsTemp"""
2169 return _IMP_container.MinimumTripletRestraint_do_get_inputs(self)
2171 def get_version_info(self):
2172 r"""get_version_info(MinimumTripletRestraint self) -> VersionInfo"""
2173 return _IMP_container.MinimumTripletRestraint_get_version_info(self)
2174 __swig_destroy__ = _IMP_container.delete_MinimumTripletRestraint
2177 r"""set_n(MinimumTripletRestraint self, unsigned int n)"""
2178 return _IMP_container.MinimumTripletRestraint_set_n(self, n)
2180 def do_create_current_decomposition(self):
2181 r"""do_create_current_decomposition(MinimumTripletRestraint self) -> IMP::Restraints"""
2182 return _IMP_container.MinimumTripletRestraint_do_create_current_decomposition(self)
2185 r"""__str__(MinimumTripletRestraint self) -> std::string"""
2186 return _IMP_container.MinimumTripletRestraint___str__(self)
2189 r"""__repr__(MinimumTripletRestraint self) -> std::string"""
2190 return _IMP_container.MinimumTripletRestraint___repr__(self)
2194 return _object_cast_to_MinimumTripletRestraint(o)
2198 _IMP_container.MinimumTripletRestraint_swigregister(MinimumTripletRestraint)
2200 r"""Proxy of C++ IMP::container::MinimumTripletScore class."""
2202 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2204 def __init__(self, *args):
2205 r"""__init__(MinimumTripletScore self, IMP::TripletScoresTemp const & scores, unsigned int n=1, std::string name="TripletScore %1%") -> MinimumTripletScore"""
2206 _IMP_container.MinimumTripletScore_swiginit(self, _IMP_container.new_MinimumTripletScore(*args))
2208 def do_get_inputs(self, m, pis):
2209 r"""do_get_inputs(MinimumTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2210 return _IMP_container.MinimumTripletScore_do_get_inputs(self, m, pis)
2212 def get_version_info(self):
2213 r"""get_version_info(MinimumTripletScore self) -> VersionInfo"""
2214 return _IMP_container.MinimumTripletScore_get_version_info(self)
2215 __swig_destroy__ = _IMP_container.delete_MinimumTripletScore
2217 def do_create_current_decomposition(self, m, vt):
2218 r"""do_create_current_decomposition(MinimumTripletScore self, Model m, IMP::ParticleIndexTriplet const & vt) -> IMP::Restraints"""
2219 return _IMP_container.MinimumTripletScore_do_create_current_decomposition(self, m, vt)
2222 r"""__str__(MinimumTripletScore self) -> std::string"""
2223 return _IMP_container.MinimumTripletScore___str__(self)
2226 r"""__repr__(MinimumTripletScore self) -> std::string"""
2227 return _IMP_container.MinimumTripletScore___repr__(self)
2231 return _object_cast_to_MinimumTripletScore(o)
2235 _IMP_container.MinimumTripletScore_swigregister(MinimumTripletScore)
2237 r"""Proxy of C++ IMP::container::PairContainerSet class."""
2239 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2241 def __init__(self, *args):
2243 __init__(PairContainerSet self, Model m, std::string name="PairContainerSet %1%") -> PairContainerSet
2244 __init__(PairContainerSet self, IMP::PairContainersTemp const & pc, std::string name="PairContainerSet %1%") -> PairContainerSet
2246 _IMP_container.PairContainerSet_swiginit(self, _IMP_container.new_PairContainerSet(*args))
2248 def do_apply(self, sm):
2249 r"""do_apply(PairContainerSet self, PairModifier sm)"""
2250 return _IMP_container.PairContainerSet_do_apply(self, sm)
2252 def do_apply_moved(self, sm, moved_pis, reset_pis):
2253 r"""do_apply_moved(PairContainerSet self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2254 return _IMP_container.PairContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2256 def get_version_info(self):
2257 r"""get_version_info(PairContainerSet self) -> VersionInfo"""
2258 return _IMP_container.PairContainerSet_get_version_info(self)
2259 __swig_destroy__ = _IMP_container.delete_PairContainerSet
2260 def __get_pair_containers(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_containers, getfunc=self.get_pair_container, erasefunc=self.erase_pair_container, appendfunc=self.add_pair_container, extendfunc=self.add_pair_containers, clearfunc=self.clear_pair_containers, indexfunc=self._python_index_pair_container)
2261 def __set_pair_containers(self, obj): IMP._list_util.set_varlist(self.pair_containers, obj)
2262 def __del_pair_containers(self): IMP._list_util.del_varlist(self.pair_containers)
2263 pair_containers = property(__get_pair_containers, __set_pair_containers, __del_pair_containers, doc=
"List of ##ucnames")
2265 def remove_pair_container(self, d):
2266 r"""remove_pair_container(PairContainerSet self, PairContainer d)"""
2267 return _IMP_container.PairContainerSet_remove_pair_container(self, d)
2269 def _python_index_pair_container(self, d, start, stop):
2270 r"""_python_index_pair_container(PairContainerSet self, PairContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2271 return _IMP_container.PairContainerSet__python_index_pair_container(self, d, start, stop)
2273 def remove_pair_containers(self, d):
2274 r"""remove_pair_containers(PairContainerSet self, IMP::PairContainers const & d)"""
2275 return _IMP_container.PairContainerSet_remove_pair_containers(self, d)
2277 def set_pair_containers(self, ps):
2278 r"""set_pair_containers(PairContainerSet self, IMP::PairContainers const & ps)"""
2279 return _IMP_container.PairContainerSet_set_pair_containers(self, ps)
2281 def set_pair_containers_order(self, objs):
2282 r"""set_pair_containers_order(PairContainerSet self, IMP::PairContainers const & objs)"""
2283 return _IMP_container.PairContainerSet_set_pair_containers_order(self, objs)
2285 def add_pair_container(self, obj):
2286 r"""add_pair_container(PairContainerSet self, PairContainer obj) -> unsigned int"""
2287 return _IMP_container.PairContainerSet_add_pair_container(self, obj)
2289 def add_pair_containers(self, objs):
2290 r"""add_pair_containers(PairContainerSet self, IMP::PairContainers const & objs)"""
2291 return _IMP_container.PairContainerSet_add_pair_containers(self, objs)
2293 def clear_pair_containers(self):
2294 r"""clear_pair_containers(PairContainerSet self)"""
2295 return _IMP_container.PairContainerSet_clear_pair_containers(self)
2297 def get_number_of_pair_containers(self):
2298 r"""get_number_of_pair_containers(PairContainerSet self) -> unsigned int"""
2299 return _IMP_container.PairContainerSet_get_number_of_pair_containers(self)
2301 def get_has_pair_containers(self):
2302 r"""get_has_pair_containers(PairContainerSet self) -> bool"""
2303 return _IMP_container.PairContainerSet_get_has_pair_containers(self)
2305 def get_pair_container(self, i):
2306 r"""get_pair_container(PairContainerSet self, unsigned int i) -> PairContainer"""
2307 return _IMP_container.PairContainerSet_get_pair_container(self, i)
2309 def get_pair_containers(self):
2310 r"""get_pair_containers(PairContainerSet self) -> IMP::PairContainers"""
2311 return _IMP_container.PairContainerSet_get_pair_containers(self)
2313 def erase_pair_container(self, i):
2314 r"""erase_pair_container(PairContainerSet self, unsigned int i)"""
2315 return _IMP_container.PairContainerSet_erase_pair_container(self, i)
2317 def reserve_pair_containers(self, sz):
2318 r"""reserve_pair_containers(PairContainerSet self, unsigned int sz)"""
2319 return _IMP_container.PairContainerSet_reserve_pair_containers(self, sz)
2321 def do_get_inputs(self):
2322 r"""do_get_inputs(PairContainerSet self) -> IMP::ModelObjectsTemp"""
2323 return _IMP_container.PairContainerSet_do_get_inputs(self)
2326 r"""__str__(PairContainerSet self) -> std::string"""
2327 return _IMP_container.PairContainerSet___str__(self)
2330 r"""__repr__(PairContainerSet self) -> std::string"""
2331 return _IMP_container.PairContainerSet___repr__(self)
2335 return _object_cast_to_PairContainerSet(o)
2339 _IMP_container.PairContainerSet_swigregister(PairContainerSet)
2341 r"""Proxy of C++ IMP::container::PairsConstraint class."""
2343 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2345 def __init__(self, *args):
2347 __init__(PairsConstraint self, PairModifier before, PairModifier after, _PairContainerAdaptor c, std::string name="PairsConstraint %1%") -> PairsConstraint
2348 __init__(PairsConstraint self) -> PairsConstraint
2350 _IMP_container.PairsConstraint_swiginit(self, _IMP_container.new_PairsConstraint(*args))
2352 def get_version_info(self):
2353 r"""get_version_info(PairsConstraint self) -> VersionInfo"""
2354 return _IMP_container.PairsConstraint_get_version_info(self)
2355 __swig_destroy__ = _IMP_container.delete_PairsConstraint
2358 r"""__str__(PairsConstraint self) -> std::string"""
2359 return _IMP_container.PairsConstraint___str__(self)
2362 r"""__repr__(PairsConstraint self) -> std::string"""
2363 return _IMP_container.PairsConstraint___repr__(self)
2367 return _object_cast_to_PairsConstraint(o)
2370 def _get_as_binary(self):
2371 r"""_get_as_binary(PairsConstraint self) -> PyObject *"""
2372 return _IMP_container.PairsConstraint__get_as_binary(self)
2374 def _set_from_binary(self, p):
2375 r"""_set_from_binary(PairsConstraint self, PyObject * p)"""
2376 return _IMP_container.PairsConstraint__set_from_binary(self, p)
2378 def __getstate__(self):
2379 p = self._get_as_binary()
2380 if len(self.__dict__) > 1:
2381 d = self.__dict__.copy()
2386 def __setstate__(self, p):
2387 if not hasattr(self,
'this'):
2389 if isinstance(p, tuple):
2391 self.__dict__.update(d)
2392 return self._set_from_binary(p)
2396 _IMP_container.PairsConstraint_swigregister(PairsConstraint)
2398 r"""Proxy of C++ IMP::container::PairsOptimizerState class."""
2400 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2402 def __init__(self, *args):
2403 r"""__init__(PairsOptimizerState self, _PairContainerAdaptor c, PairModifier gf, std::string name="PairsOptimizerState %1%") -> PairsOptimizerState"""
2404 _IMP_container.PairsOptimizerState_swiginit(self, _IMP_container.new_PairsOptimizerState(*args))
2406 def do_update(self, call):
2407 r"""do_update(PairsOptimizerState self, unsigned int call)"""
2408 return _IMP_container.PairsOptimizerState_do_update(self, call)
2410 def get_version_info(self):
2411 r"""get_version_info(PairsOptimizerState self) -> VersionInfo"""
2412 return _IMP_container.PairsOptimizerState_get_version_info(self)
2413 __swig_destroy__ = _IMP_container.delete_PairsOptimizerState
2416 r"""__str__(PairsOptimizerState self) -> std::string"""
2417 return _IMP_container.PairsOptimizerState___str__(self)
2420 r"""__repr__(PairsOptimizerState self) -> std::string"""
2421 return _IMP_container.PairsOptimizerState___repr__(self)
2425 return _object_cast_to_PairsOptimizerState(o)
2429 _IMP_container.PairsOptimizerState_swigregister(PairsOptimizerState)
2431 r"""Proxy of C++ IMP::container::PairsRestraint class."""
2433 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2435 def __init__(self, *args):
2437 __init__(PairsRestraint self, PairScore ss, _PairContainerAdaptor pc, std::string name="PairsRestraint %1%") -> PairsRestraint
2438 __init__(PairsRestraint self) -> PairsRestraint
2440 _IMP_container.PairsRestraint_swiginit(self, _IMP_container.new_PairsRestraint(*args))
2442 def do_get_inputs(self):
2443 r"""do_get_inputs(PairsRestraint self) -> IMP::ModelObjectsTemp"""
2444 return _IMP_container.PairsRestraint_do_get_inputs(self)
2446 def get_version_info(self):
2447 r"""get_version_info(PairsRestraint self) -> VersionInfo"""
2448 return _IMP_container.PairsRestraint_get_version_info(self)
2449 __swig_destroy__ = _IMP_container.delete_PairsRestraint
2452 r"""__str__(PairsRestraint self) -> std::string"""
2453 return _IMP_container.PairsRestraint___str__(self)
2456 r"""__repr__(PairsRestraint self) -> std::string"""
2457 return _IMP_container.PairsRestraint___repr__(self)
2461 return _object_cast_to_PairsRestraint(o)
2464 def _get_as_binary(self):
2465 r"""_get_as_binary(PairsRestraint self) -> PyObject *"""
2466 return _IMP_container.PairsRestraint__get_as_binary(self)
2468 def _set_from_binary(self, p):
2469 r"""_set_from_binary(PairsRestraint self, PyObject * p)"""
2470 return _IMP_container.PairsRestraint__set_from_binary(self, p)
2472 def __getstate__(self):
2473 p = self._get_as_binary()
2474 if len(self.__dict__) > 1:
2475 d = self.__dict__.copy()
2480 def __setstate__(self, p):
2481 if not hasattr(self,
'this'):
2483 if isinstance(p, tuple):
2485 self.__dict__.update(d)
2486 return self._set_from_binary(p)
2490 _IMP_container.PairsRestraint_swigregister(PairsRestraint)
2492 r"""Proxy of C++ IMP::container::QuadContainerSet class."""
2494 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2496 def __init__(self, *args):
2498 __init__(QuadContainerSet self, Model m, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2499 __init__(QuadContainerSet self, IMP::QuadContainersTemp const & pc, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2501 _IMP_container.QuadContainerSet_swiginit(self, _IMP_container.new_QuadContainerSet(*args))
2503 def do_apply(self, sm):
2504 r"""do_apply(QuadContainerSet self, QuadModifier sm)"""
2505 return _IMP_container.QuadContainerSet_do_apply(self, sm)
2507 def do_apply_moved(self, sm, moved_pis, reset_pis):
2508 r"""do_apply_moved(QuadContainerSet self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2509 return _IMP_container.QuadContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2511 def get_version_info(self):
2512 r"""get_version_info(QuadContainerSet self) -> VersionInfo"""
2513 return _IMP_container.QuadContainerSet_get_version_info(self)
2514 __swig_destroy__ = _IMP_container.delete_QuadContainerSet
2515 def __get_quad_containers(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_quad_containers, getfunc=self.get_quad_container, erasefunc=self.erase_quad_container, appendfunc=self.add_quad_container, extendfunc=self.add_quad_containers, clearfunc=self.clear_quad_containers, indexfunc=self._python_index_quad_container)
2516 def __set_quad_containers(self, obj): IMP._list_util.set_varlist(self.quad_containers, obj)
2517 def __del_quad_containers(self): IMP._list_util.del_varlist(self.quad_containers)
2518 quad_containers = property(__get_quad_containers, __set_quad_containers, __del_quad_containers, doc=
"List of ##ucnames")
2520 def remove_quad_container(self, d):
2521 r"""remove_quad_container(QuadContainerSet self, QuadContainer d)"""
2522 return _IMP_container.QuadContainerSet_remove_quad_container(self, d)
2524 def _python_index_quad_container(self, d, start, stop):
2525 r"""_python_index_quad_container(QuadContainerSet self, QuadContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2526 return _IMP_container.QuadContainerSet__python_index_quad_container(self, d, start, stop)
2528 def remove_quad_containers(self, d):
2529 r"""remove_quad_containers(QuadContainerSet self, IMP::QuadContainers const & d)"""
2530 return _IMP_container.QuadContainerSet_remove_quad_containers(self, d)
2532 def set_quad_containers(self, ps):
2533 r"""set_quad_containers(QuadContainerSet self, IMP::QuadContainers const & ps)"""
2534 return _IMP_container.QuadContainerSet_set_quad_containers(self, ps)
2536 def set_quad_containers_order(self, objs):
2537 r"""set_quad_containers_order(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2538 return _IMP_container.QuadContainerSet_set_quad_containers_order(self, objs)
2540 def add_quad_container(self, obj):
2541 r"""add_quad_container(QuadContainerSet self, QuadContainer obj) -> unsigned int"""
2542 return _IMP_container.QuadContainerSet_add_quad_container(self, obj)
2544 def add_quad_containers(self, objs):
2545 r"""add_quad_containers(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2546 return _IMP_container.QuadContainerSet_add_quad_containers(self, objs)
2548 def clear_quad_containers(self):
2549 r"""clear_quad_containers(QuadContainerSet self)"""
2550 return _IMP_container.QuadContainerSet_clear_quad_containers(self)
2552 def get_number_of_quad_containers(self):
2553 r"""get_number_of_quad_containers(QuadContainerSet self) -> unsigned int"""
2554 return _IMP_container.QuadContainerSet_get_number_of_quad_containers(self)
2556 def get_has_quad_containers(self):
2557 r"""get_has_quad_containers(QuadContainerSet self) -> bool"""
2558 return _IMP_container.QuadContainerSet_get_has_quad_containers(self)
2560 def get_quad_container(self, i):
2561 r"""get_quad_container(QuadContainerSet self, unsigned int i) -> QuadContainer"""
2562 return _IMP_container.QuadContainerSet_get_quad_container(self, i)
2564 def get_quad_containers(self):
2565 r"""get_quad_containers(QuadContainerSet self) -> IMP::QuadContainers"""
2566 return _IMP_container.QuadContainerSet_get_quad_containers(self)
2568 def erase_quad_container(self, i):
2569 r"""erase_quad_container(QuadContainerSet self, unsigned int i)"""
2570 return _IMP_container.QuadContainerSet_erase_quad_container(self, i)
2572 def reserve_quad_containers(self, sz):
2573 r"""reserve_quad_containers(QuadContainerSet self, unsigned int sz)"""
2574 return _IMP_container.QuadContainerSet_reserve_quad_containers(self, sz)
2576 def do_get_inputs(self):
2577 r"""do_get_inputs(QuadContainerSet self) -> IMP::ModelObjectsTemp"""
2578 return _IMP_container.QuadContainerSet_do_get_inputs(self)
2581 r"""__str__(QuadContainerSet self) -> std::string"""
2582 return _IMP_container.QuadContainerSet___str__(self)
2585 r"""__repr__(QuadContainerSet self) -> std::string"""
2586 return _IMP_container.QuadContainerSet___repr__(self)
2590 return _object_cast_to_QuadContainerSet(o)
2594 _IMP_container.QuadContainerSet_swigregister(QuadContainerSet)
2596 r"""Proxy of C++ IMP::container::QuadsConstraint class."""
2598 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2600 def __init__(self, *args):
2602 __init__(QuadsConstraint self, QuadModifier before, QuadModifier after, _QuadContainerAdaptor c, std::string name="QuadsConstraint %1%") -> QuadsConstraint
2603 __init__(QuadsConstraint self) -> QuadsConstraint
2605 _IMP_container.QuadsConstraint_swiginit(self, _IMP_container.new_QuadsConstraint(*args))
2607 def get_version_info(self):
2608 r"""get_version_info(QuadsConstraint self) -> VersionInfo"""
2609 return _IMP_container.QuadsConstraint_get_version_info(self)
2610 __swig_destroy__ = _IMP_container.delete_QuadsConstraint
2613 r"""__str__(QuadsConstraint self) -> std::string"""
2614 return _IMP_container.QuadsConstraint___str__(self)
2617 r"""__repr__(QuadsConstraint self) -> std::string"""
2618 return _IMP_container.QuadsConstraint___repr__(self)
2622 return _object_cast_to_QuadsConstraint(o)
2625 def _get_as_binary(self):
2626 r"""_get_as_binary(QuadsConstraint self) -> PyObject *"""
2627 return _IMP_container.QuadsConstraint__get_as_binary(self)
2629 def _set_from_binary(self, p):
2630 r"""_set_from_binary(QuadsConstraint self, PyObject * p)"""
2631 return _IMP_container.QuadsConstraint__set_from_binary(self, p)
2633 def __getstate__(self):
2634 p = self._get_as_binary()
2635 if len(self.__dict__) > 1:
2636 d = self.__dict__.copy()
2641 def __setstate__(self, p):
2642 if not hasattr(self,
'this'):
2644 if isinstance(p, tuple):
2646 self.__dict__.update(d)
2647 return self._set_from_binary(p)
2651 _IMP_container.QuadsConstraint_swigregister(QuadsConstraint)
2653 r"""Proxy of C++ IMP::container::QuadsOptimizerState class."""
2655 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2657 def __init__(self, *args):
2658 r"""__init__(QuadsOptimizerState self, _QuadContainerAdaptor c, QuadModifier gf, std::string name="QuadsOptimizerState %1%") -> QuadsOptimizerState"""
2659 _IMP_container.QuadsOptimizerState_swiginit(self, _IMP_container.new_QuadsOptimizerState(*args))
2661 def do_update(self, call):
2662 r"""do_update(QuadsOptimizerState self, unsigned int call)"""
2663 return _IMP_container.QuadsOptimizerState_do_update(self, call)
2665 def get_version_info(self):
2666 r"""get_version_info(QuadsOptimizerState self) -> VersionInfo"""
2667 return _IMP_container.QuadsOptimizerState_get_version_info(self)
2668 __swig_destroy__ = _IMP_container.delete_QuadsOptimizerState
2671 r"""__str__(QuadsOptimizerState self) -> std::string"""
2672 return _IMP_container.QuadsOptimizerState___str__(self)
2675 r"""__repr__(QuadsOptimizerState self) -> std::string"""
2676 return _IMP_container.QuadsOptimizerState___repr__(self)
2680 return _object_cast_to_QuadsOptimizerState(o)
2684 _IMP_container.QuadsOptimizerState_swigregister(QuadsOptimizerState)
2686 r"""Proxy of C++ IMP::container::QuadsRestraint class."""
2688 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2690 def __init__(self, *args):
2692 __init__(QuadsRestraint self, QuadScore ss, _QuadContainerAdaptor pc, std::string name="QuadsRestraint %1%") -> QuadsRestraint
2693 __init__(QuadsRestraint self) -> QuadsRestraint
2695 _IMP_container.QuadsRestraint_swiginit(self, _IMP_container.new_QuadsRestraint(*args))
2697 def do_get_inputs(self):
2698 r"""do_get_inputs(QuadsRestraint self) -> IMP::ModelObjectsTemp"""
2699 return _IMP_container.QuadsRestraint_do_get_inputs(self)
2701 def get_version_info(self):
2702 r"""get_version_info(QuadsRestraint self) -> VersionInfo"""
2703 return _IMP_container.QuadsRestraint_get_version_info(self)
2704 __swig_destroy__ = _IMP_container.delete_QuadsRestraint
2707 r"""__str__(QuadsRestraint self) -> std::string"""
2708 return _IMP_container.QuadsRestraint___str__(self)
2711 r"""__repr__(QuadsRestraint self) -> std::string"""
2712 return _IMP_container.QuadsRestraint___repr__(self)
2716 return _object_cast_to_QuadsRestraint(o)
2719 def _get_as_binary(self):
2720 r"""_get_as_binary(QuadsRestraint self) -> PyObject *"""
2721 return _IMP_container.QuadsRestraint__get_as_binary(self)
2723 def _set_from_binary(self, p):
2724 r"""_set_from_binary(QuadsRestraint self, PyObject * p)"""
2725 return _IMP_container.QuadsRestraint__set_from_binary(self, p)
2727 def __getstate__(self):
2728 p = self._get_as_binary()
2729 if len(self.__dict__) > 1:
2730 d = self.__dict__.copy()
2735 def __setstate__(self, p):
2736 if not hasattr(self,
'this'):
2738 if isinstance(p, tuple):
2740 self.__dict__.update(d)
2741 return self._set_from_binary(p)
2745 _IMP_container.QuadsRestraint_swigregister(QuadsRestraint)
2747 r"""Proxy of C++ IMP::container::SingletonContainerSet class."""
2749 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2751 def __init__(self, *args):
2753 __init__(SingletonContainerSet self, Model m, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2754 __init__(SingletonContainerSet self, IMP::SingletonContainersTemp const & pc, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2756 _IMP_container.SingletonContainerSet_swiginit(self, _IMP_container.new_SingletonContainerSet(*args))
2758 def do_apply(self, sm):
2759 r"""do_apply(SingletonContainerSet self, SingletonModifier sm)"""
2760 return _IMP_container.SingletonContainerSet_do_apply(self, sm)
2762 def do_apply_moved(self, sm, moved_pis, reset_pis):
2763 r"""do_apply_moved(SingletonContainerSet self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2764 return _IMP_container.SingletonContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2766 def get_version_info(self):
2767 r"""get_version_info(SingletonContainerSet self) -> VersionInfo"""
2768 return _IMP_container.SingletonContainerSet_get_version_info(self)
2769 __swig_destroy__ = _IMP_container.delete_SingletonContainerSet
2770 def __get_singleton_containers(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_singleton_containers, getfunc=self.get_singleton_container, erasefunc=self.erase_singleton_container, appendfunc=self.add_singleton_container, extendfunc=self.add_singleton_containers, clearfunc=self.clear_singleton_containers, indexfunc=self._python_index_singleton_container)
2771 def __set_singleton_containers(self, obj): IMP._list_util.set_varlist(self.singleton_containers, obj)
2772 def __del_singleton_containers(self): IMP._list_util.del_varlist(self.singleton_containers)
2773 singleton_containers = property(__get_singleton_containers, __set_singleton_containers, __del_singleton_containers, doc=
"List of ##ucnames")
2775 def remove_singleton_container(self, d):
2776 r"""remove_singleton_container(SingletonContainerSet self, SingletonContainer d)"""
2777 return _IMP_container.SingletonContainerSet_remove_singleton_container(self, d)
2779 def _python_index_singleton_container(self, d, start, stop):
2780 r"""_python_index_singleton_container(SingletonContainerSet self, SingletonContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2781 return _IMP_container.SingletonContainerSet__python_index_singleton_container(self, d, start, stop)
2783 def remove_singleton_containers(self, d):
2784 r"""remove_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & d)"""
2785 return _IMP_container.SingletonContainerSet_remove_singleton_containers(self, d)
2787 def set_singleton_containers(self, ps):
2788 r"""set_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & ps)"""
2789 return _IMP_container.SingletonContainerSet_set_singleton_containers(self, ps)
2791 def set_singleton_containers_order(self, objs):
2792 r"""set_singleton_containers_order(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2793 return _IMP_container.SingletonContainerSet_set_singleton_containers_order(self, objs)
2795 def add_singleton_container(self, obj):
2796 r"""add_singleton_container(SingletonContainerSet self, SingletonContainer obj) -> unsigned int"""
2797 return _IMP_container.SingletonContainerSet_add_singleton_container(self, obj)
2799 def add_singleton_containers(self, objs):
2800 r"""add_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2801 return _IMP_container.SingletonContainerSet_add_singleton_containers(self, objs)
2803 def clear_singleton_containers(self):
2804 r"""clear_singleton_containers(SingletonContainerSet self)"""
2805 return _IMP_container.SingletonContainerSet_clear_singleton_containers(self)
2807 def get_number_of_singleton_containers(self):
2808 r"""get_number_of_singleton_containers(SingletonContainerSet self) -> unsigned int"""
2809 return _IMP_container.SingletonContainerSet_get_number_of_singleton_containers(self)
2811 def get_has_singleton_containers(self):
2812 r"""get_has_singleton_containers(SingletonContainerSet self) -> bool"""
2813 return _IMP_container.SingletonContainerSet_get_has_singleton_containers(self)
2815 def get_singleton_container(self, i):
2816 r"""get_singleton_container(SingletonContainerSet self, unsigned int i) -> SingletonContainer"""
2817 return _IMP_container.SingletonContainerSet_get_singleton_container(self, i)
2819 def get_singleton_containers(self):
2820 r"""get_singleton_containers(SingletonContainerSet self) -> IMP::SingletonContainers"""
2821 return _IMP_container.SingletonContainerSet_get_singleton_containers(self)
2823 def erase_singleton_container(self, i):
2824 r"""erase_singleton_container(SingletonContainerSet self, unsigned int i)"""
2825 return _IMP_container.SingletonContainerSet_erase_singleton_container(self, i)
2827 def reserve_singleton_containers(self, sz):
2828 r"""reserve_singleton_containers(SingletonContainerSet self, unsigned int sz)"""
2829 return _IMP_container.SingletonContainerSet_reserve_singleton_containers(self, sz)
2831 def do_get_inputs(self):
2832 r"""do_get_inputs(SingletonContainerSet self) -> IMP::ModelObjectsTemp"""
2833 return _IMP_container.SingletonContainerSet_do_get_inputs(self)
2836 r"""__str__(SingletonContainerSet self) -> std::string"""
2837 return _IMP_container.SingletonContainerSet___str__(self)
2840 r"""__repr__(SingletonContainerSet self) -> std::string"""
2841 return _IMP_container.SingletonContainerSet___repr__(self)
2845 return _object_cast_to_SingletonContainerSet(o)
2849 _IMP_container.SingletonContainerSet_swigregister(SingletonContainerSet)
2851 r"""Proxy of C++ IMP::container::SingletonsConstraint class."""
2853 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2855 def __init__(self, *args):
2857 __init__(SingletonsConstraint self, SingletonModifier before, SingletonModifier after, _SingletonContainerAdaptor c, std::string name="SingletonsConstraint %1%") -> SingletonsConstraint
2858 __init__(SingletonsConstraint self) -> SingletonsConstraint
2860 _IMP_container.SingletonsConstraint_swiginit(self, _IMP_container.new_SingletonsConstraint(*args))
2862 def get_version_info(self):
2863 r"""get_version_info(SingletonsConstraint self) -> VersionInfo"""
2864 return _IMP_container.SingletonsConstraint_get_version_info(self)
2865 __swig_destroy__ = _IMP_container.delete_SingletonsConstraint
2868 r"""__str__(SingletonsConstraint self) -> std::string"""
2869 return _IMP_container.SingletonsConstraint___str__(self)
2872 r"""__repr__(SingletonsConstraint self) -> std::string"""
2873 return _IMP_container.SingletonsConstraint___repr__(self)
2877 return _object_cast_to_SingletonsConstraint(o)
2880 def _get_as_binary(self):
2881 r"""_get_as_binary(SingletonsConstraint self) -> PyObject *"""
2882 return _IMP_container.SingletonsConstraint__get_as_binary(self)
2884 def _set_from_binary(self, p):
2885 r"""_set_from_binary(SingletonsConstraint self, PyObject * p)"""
2886 return _IMP_container.SingletonsConstraint__set_from_binary(self, p)
2888 def __getstate__(self):
2889 p = self._get_as_binary()
2890 if len(self.__dict__) > 1:
2891 d = self.__dict__.copy()
2896 def __setstate__(self, p):
2897 if not hasattr(self,
'this'):
2899 if isinstance(p, tuple):
2901 self.__dict__.update(d)
2902 return self._set_from_binary(p)
2906 _IMP_container.SingletonsConstraint_swigregister(SingletonsConstraint)
2908 r"""Proxy of C++ IMP::container::SingletonsOptimizerState class."""
2910 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2912 def __init__(self, *args):
2913 r"""__init__(SingletonsOptimizerState self, _SingletonContainerAdaptor c, SingletonModifier gf, std::string name="SingletonsOptimizerState %1%") -> SingletonsOptimizerState"""
2914 _IMP_container.SingletonsOptimizerState_swiginit(self, _IMP_container.new_SingletonsOptimizerState(*args))
2916 def do_update(self, call):
2917 r"""do_update(SingletonsOptimizerState self, unsigned int call)"""
2918 return _IMP_container.SingletonsOptimizerState_do_update(self, call)
2920 def get_version_info(self):
2921 r"""get_version_info(SingletonsOptimizerState self) -> VersionInfo"""
2922 return _IMP_container.SingletonsOptimizerState_get_version_info(self)
2923 __swig_destroy__ = _IMP_container.delete_SingletonsOptimizerState
2926 r"""__str__(SingletonsOptimizerState self) -> std::string"""
2927 return _IMP_container.SingletonsOptimizerState___str__(self)
2930 r"""__repr__(SingletonsOptimizerState self) -> std::string"""
2931 return _IMP_container.SingletonsOptimizerState___repr__(self)
2935 return _object_cast_to_SingletonsOptimizerState(o)
2939 _IMP_container.SingletonsOptimizerState_swigregister(SingletonsOptimizerState)
2941 r"""Proxy of C++ IMP::container::SingletonsRestraint class."""
2943 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2945 def __init__(self, *args):
2947 __init__(SingletonsRestraint self, SingletonScore ss, _SingletonContainerAdaptor pc, std::string name="SingletonsRestraint %1%") -> SingletonsRestraint
2948 __init__(SingletonsRestraint self) -> SingletonsRestraint
2950 _IMP_container.SingletonsRestraint_swiginit(self, _IMP_container.new_SingletonsRestraint(*args))
2952 def do_get_inputs(self):
2953 r"""do_get_inputs(SingletonsRestraint self) -> IMP::ModelObjectsTemp"""
2954 return _IMP_container.SingletonsRestraint_do_get_inputs(self)
2956 def get_version_info(self):
2957 r"""get_version_info(SingletonsRestraint self) -> VersionInfo"""
2958 return _IMP_container.SingletonsRestraint_get_version_info(self)
2959 __swig_destroy__ = _IMP_container.delete_SingletonsRestraint
2962 r"""__str__(SingletonsRestraint self) -> std::string"""
2963 return _IMP_container.SingletonsRestraint___str__(self)
2966 r"""__repr__(SingletonsRestraint self) -> std::string"""
2967 return _IMP_container.SingletonsRestraint___repr__(self)
2971 return _object_cast_to_SingletonsRestraint(o)
2974 def _get_as_binary(self):
2975 r"""_get_as_binary(SingletonsRestraint self) -> PyObject *"""
2976 return _IMP_container.SingletonsRestraint__get_as_binary(self)
2978 def _set_from_binary(self, p):
2979 r"""_set_from_binary(SingletonsRestraint self, PyObject * p)"""
2980 return _IMP_container.SingletonsRestraint__set_from_binary(self, p)
2982 def __getstate__(self):
2983 p = self._get_as_binary()
2984 if len(self.__dict__) > 1:
2985 d = self.__dict__.copy()
2990 def __setstate__(self, p):
2991 if not hasattr(self,
'this'):
2993 if isinstance(p, tuple):
2995 self.__dict__.update(d)
2996 return self._set_from_binary(p)
3000 _IMP_container.SingletonsRestraint_swigregister(SingletonsRestraint)
3002 r"""Proxy of C++ IMP::container::TripletContainerSet class."""
3004 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3006 def __init__(self, *args):
3008 __init__(TripletContainerSet self, Model m, std::string name="TripletContainerSet %1%") -> TripletContainerSet
3009 __init__(TripletContainerSet self, IMP::TripletContainersTemp const & pc, std::string name="TripletContainerSet %1%") -> TripletContainerSet
3011 _IMP_container.TripletContainerSet_swiginit(self, _IMP_container.new_TripletContainerSet(*args))
3013 def do_apply(self, sm):
3014 r"""do_apply(TripletContainerSet self, TripletModifier sm)"""
3015 return _IMP_container.TripletContainerSet_do_apply(self, sm)
3017 def do_apply_moved(self, sm, moved_pis, reset_pis):
3018 r"""do_apply_moved(TripletContainerSet self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
3019 return _IMP_container.TripletContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
3021 def get_version_info(self):
3022 r"""get_version_info(TripletContainerSet self) -> VersionInfo"""
3023 return _IMP_container.TripletContainerSet_get_version_info(self)
3024 __swig_destroy__ = _IMP_container.delete_TripletContainerSet
3025 def __get_triplet_containers(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_triplet_containers, getfunc=self.get_triplet_container, erasefunc=self.erase_triplet_container, appendfunc=self.add_triplet_container, extendfunc=self.add_triplet_containers, clearfunc=self.clear_triplet_containers, indexfunc=self._python_index_triplet_container)
3026 def __set_triplet_containers(self, obj): IMP._list_util.set_varlist(self.triplet_containers, obj)
3027 def __del_triplet_containers(self): IMP._list_util.del_varlist(self.triplet_containers)
3028 triplet_containers = property(__get_triplet_containers, __set_triplet_containers, __del_triplet_containers, doc=
"List of ##ucnames")
3030 def remove_triplet_container(self, d):
3031 r"""remove_triplet_container(TripletContainerSet self, TripletContainer d)"""
3032 return _IMP_container.TripletContainerSet_remove_triplet_container(self, d)
3034 def _python_index_triplet_container(self, d, start, stop):
3035 r"""_python_index_triplet_container(TripletContainerSet self, TripletContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
3036 return _IMP_container.TripletContainerSet__python_index_triplet_container(self, d, start, stop)
3038 def remove_triplet_containers(self, d):
3039 r"""remove_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & d)"""
3040 return _IMP_container.TripletContainerSet_remove_triplet_containers(self, d)
3042 def set_triplet_containers(self, ps):
3043 r"""set_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & ps)"""
3044 return _IMP_container.TripletContainerSet_set_triplet_containers(self, ps)
3046 def set_triplet_containers_order(self, objs):
3047 r"""set_triplet_containers_order(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3048 return _IMP_container.TripletContainerSet_set_triplet_containers_order(self, objs)
3050 def add_triplet_container(self, obj):
3051 r"""add_triplet_container(TripletContainerSet self, TripletContainer obj) -> unsigned int"""
3052 return _IMP_container.TripletContainerSet_add_triplet_container(self, obj)
3054 def add_triplet_containers(self, objs):
3055 r"""add_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3056 return _IMP_container.TripletContainerSet_add_triplet_containers(self, objs)
3058 def clear_triplet_containers(self):
3059 r"""clear_triplet_containers(TripletContainerSet self)"""
3060 return _IMP_container.TripletContainerSet_clear_triplet_containers(self)
3062 def get_number_of_triplet_containers(self):
3063 r"""get_number_of_triplet_containers(TripletContainerSet self) -> unsigned int"""
3064 return _IMP_container.TripletContainerSet_get_number_of_triplet_containers(self)
3066 def get_has_triplet_containers(self):
3067 r"""get_has_triplet_containers(TripletContainerSet self) -> bool"""
3068 return _IMP_container.TripletContainerSet_get_has_triplet_containers(self)
3070 def get_triplet_container(self, i):
3071 r"""get_triplet_container(TripletContainerSet self, unsigned int i) -> TripletContainer"""
3072 return _IMP_container.TripletContainerSet_get_triplet_container(self, i)
3074 def get_triplet_containers(self):
3075 r"""get_triplet_containers(TripletContainerSet self) -> IMP::TripletContainers"""
3076 return _IMP_container.TripletContainerSet_get_triplet_containers(self)
3078 def erase_triplet_container(self, i):
3079 r"""erase_triplet_container(TripletContainerSet self, unsigned int i)"""
3080 return _IMP_container.TripletContainerSet_erase_triplet_container(self, i)
3082 def reserve_triplet_containers(self, sz):
3083 r"""reserve_triplet_containers(TripletContainerSet self, unsigned int sz)"""
3084 return _IMP_container.TripletContainerSet_reserve_triplet_containers(self, sz)
3086 def do_get_inputs(self):
3087 r"""do_get_inputs(TripletContainerSet self) -> IMP::ModelObjectsTemp"""
3088 return _IMP_container.TripletContainerSet_do_get_inputs(self)
3091 r"""__str__(TripletContainerSet self) -> std::string"""
3092 return _IMP_container.TripletContainerSet___str__(self)
3095 r"""__repr__(TripletContainerSet self) -> std::string"""
3096 return _IMP_container.TripletContainerSet___repr__(self)
3100 return _object_cast_to_TripletContainerSet(o)
3104 _IMP_container.TripletContainerSet_swigregister(TripletContainerSet)
3106 r"""Proxy of C++ IMP::container::TripletsConstraint class."""
3108 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3110 def __init__(self, *args):
3112 __init__(TripletsConstraint self, TripletModifier before, TripletModifier after, _TripletContainerAdaptor c, std::string name="TripletsConstraint %1%") -> TripletsConstraint
3113 __init__(TripletsConstraint self) -> TripletsConstraint
3115 _IMP_container.TripletsConstraint_swiginit(self, _IMP_container.new_TripletsConstraint(*args))
3117 def get_version_info(self):
3118 r"""get_version_info(TripletsConstraint self) -> VersionInfo"""
3119 return _IMP_container.TripletsConstraint_get_version_info(self)
3120 __swig_destroy__ = _IMP_container.delete_TripletsConstraint
3123 r"""__str__(TripletsConstraint self) -> std::string"""
3124 return _IMP_container.TripletsConstraint___str__(self)
3127 r"""__repr__(TripletsConstraint self) -> std::string"""
3128 return _IMP_container.TripletsConstraint___repr__(self)
3132 return _object_cast_to_TripletsConstraint(o)
3135 def _get_as_binary(self):
3136 r"""_get_as_binary(TripletsConstraint self) -> PyObject *"""
3137 return _IMP_container.TripletsConstraint__get_as_binary(self)
3139 def _set_from_binary(self, p):
3140 r"""_set_from_binary(TripletsConstraint self, PyObject * p)"""
3141 return _IMP_container.TripletsConstraint__set_from_binary(self, p)
3143 def __getstate__(self):
3144 p = self._get_as_binary()
3145 if len(self.__dict__) > 1:
3146 d = self.__dict__.copy()
3151 def __setstate__(self, p):
3152 if not hasattr(self,
'this'):
3154 if isinstance(p, tuple):
3156 self.__dict__.update(d)
3157 return self._set_from_binary(p)
3161 _IMP_container.TripletsConstraint_swigregister(TripletsConstraint)
3163 r"""Proxy of C++ IMP::container::TripletsOptimizerState class."""
3165 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3167 def __init__(self, *args):
3168 r"""__init__(TripletsOptimizerState self, _TripletContainerAdaptor c, TripletModifier gf, std::string name="TripletsOptimizerState %1%") -> TripletsOptimizerState"""
3169 _IMP_container.TripletsOptimizerState_swiginit(self, _IMP_container.new_TripletsOptimizerState(*args))
3171 def do_update(self, call):
3172 r"""do_update(TripletsOptimizerState self, unsigned int call)"""
3173 return _IMP_container.TripletsOptimizerState_do_update(self, call)
3175 def get_version_info(self):
3176 r"""get_version_info(TripletsOptimizerState self) -> VersionInfo"""
3177 return _IMP_container.TripletsOptimizerState_get_version_info(self)
3178 __swig_destroy__ = _IMP_container.delete_TripletsOptimizerState
3181 r"""__str__(TripletsOptimizerState self) -> std::string"""
3182 return _IMP_container.TripletsOptimizerState___str__(self)
3185 r"""__repr__(TripletsOptimizerState self) -> std::string"""
3186 return _IMP_container.TripletsOptimizerState___repr__(self)
3190 return _object_cast_to_TripletsOptimizerState(o)
3194 _IMP_container.TripletsOptimizerState_swigregister(TripletsOptimizerState)
3196 r"""Proxy of C++ IMP::container::TripletsRestraint class."""
3198 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3200 def __init__(self, *args):
3202 __init__(TripletsRestraint self, TripletScore ss, _TripletContainerAdaptor pc, std::string name="TripletsRestraint %1%") -> TripletsRestraint
3203 __init__(TripletsRestraint self) -> TripletsRestraint
3205 _IMP_container.TripletsRestraint_swiginit(self, _IMP_container.new_TripletsRestraint(*args))
3207 def do_get_inputs(self):
3208 r"""do_get_inputs(TripletsRestraint self) -> IMP::ModelObjectsTemp"""
3209 return _IMP_container.TripletsRestraint_do_get_inputs(self)
3211 def get_version_info(self):
3212 r"""get_version_info(TripletsRestraint self) -> VersionInfo"""
3213 return _IMP_container.TripletsRestraint_get_version_info(self)
3214 __swig_destroy__ = _IMP_container.delete_TripletsRestraint
3217 r"""__str__(TripletsRestraint self) -> std::string"""
3218 return _IMP_container.TripletsRestraint___str__(self)
3221 r"""__repr__(TripletsRestraint self) -> std::string"""
3222 return _IMP_container.TripletsRestraint___repr__(self)
3226 return _object_cast_to_TripletsRestraint(o)
3229 def _get_as_binary(self):
3230 r"""_get_as_binary(TripletsRestraint self) -> PyObject *"""
3231 return _IMP_container.TripletsRestraint__get_as_binary(self)
3233 def _set_from_binary(self, p):
3234 r"""_set_from_binary(TripletsRestraint self, PyObject * p)"""
3235 return _IMP_container.TripletsRestraint__set_from_binary(self, p)
3237 def __getstate__(self):
3238 p = self._get_as_binary()
3239 if len(self.__dict__) > 1:
3240 d = self.__dict__.copy()
3245 def __setstate__(self, p):
3246 if not hasattr(self,
'this'):
3248 if isinstance(p, tuple):
3250 self.__dict__.update(d)
3251 return self._set_from_binary(p)
3255 _IMP_container.TripletsRestraint_swigregister(TripletsRestraint)
3257 r"""Proxy of C++ IMP::container::InContainerSingletonFilter class."""
3259 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3261 def __init__(self, *args):
3263 __init__(InContainerSingletonFilter self, SingletonContainer c, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3264 __init__(InContainerSingletonFilter self, SingletonContainer c, bool handle_permutations, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3266 _IMP_container.InContainerSingletonFilter_swiginit(self, _IMP_container.new_InContainerSingletonFilter(*args))
3268 def do_get_inputs(self, m, pi):
3269 r"""do_get_inputs(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3270 return _IMP_container.InContainerSingletonFilter_do_get_inputs(self, m, pi)
3272 def get_value(self, *args):
3274 get_value(InContainerSingletonFilter self, Particle a) -> int
3275 get_value(InContainerSingletonFilter self, IMP::ParticlesTemp const & o) -> IMP::Ints
3277 return _IMP_container.InContainerSingletonFilter_get_value(self, *args)
3279 def get_value_index(self, *args):
3281 get_value_index(InContainerSingletonFilter self, Model arg2, ParticleIndex vt) -> int
3282 get_value_index(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
3284 return _IMP_container.InContainerSingletonFilter_get_value_index(self, *args)
3286 def get_version_info(self):
3287 r"""get_version_info(InContainerSingletonFilter self) -> VersionInfo"""
3288 return _IMP_container.InContainerSingletonFilter_get_version_info(self)
3289 __swig_destroy__ = _IMP_container.delete_InContainerSingletonFilter
3292 r"""__str__(InContainerSingletonFilter self) -> std::string"""
3293 return _IMP_container.InContainerSingletonFilter___str__(self)
3296 r"""__repr__(InContainerSingletonFilter self) -> std::string"""
3297 return _IMP_container.InContainerSingletonFilter___repr__(self)
3301 return _object_cast_to_InContainerSingletonFilter(o)
3305 _IMP_container.InContainerSingletonFilter_swigregister(InContainerSingletonFilter)
3307 r"""Proxy of C++ IMP::container::InContainerPairFilter class."""
3309 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3311 def __init__(self, *args):
3313 __init__(InContainerPairFilter self, PairContainer c, std::string name="PairFilter %1%") -> InContainerPairFilter
3314 __init__(InContainerPairFilter self, PairContainer c, bool handle_permutations, std::string name="PairFilter %1%") -> InContainerPairFilter
3316 _IMP_container.InContainerPairFilter_swiginit(self, _IMP_container.new_InContainerPairFilter(*args))
3318 def do_get_inputs(self, m, pi):
3319 r"""do_get_inputs(InContainerPairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3320 return _IMP_container.InContainerPairFilter_do_get_inputs(self, m, pi)
3322 def get_value(self, *args):
3324 get_value(InContainerPairFilter self, IMP::ParticlePair const & a) -> int
3325 get_value(InContainerPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
3327 return _IMP_container.InContainerPairFilter_get_value(self, *args)
3329 def get_value_index(self, *args):
3331 get_value_index(InContainerPairFilter self, Model arg2, IMP::ParticleIndexPair const & vt) -> int
3332 get_value_index(InContainerPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
3334 return _IMP_container.InContainerPairFilter_get_value_index(self, *args)
3336 def get_version_info(self):
3337 r"""get_version_info(InContainerPairFilter self) -> VersionInfo"""
3338 return _IMP_container.InContainerPairFilter_get_version_info(self)
3339 __swig_destroy__ = _IMP_container.delete_InContainerPairFilter
3342 r"""__str__(InContainerPairFilter self) -> std::string"""
3343 return _IMP_container.InContainerPairFilter___str__(self)
3346 r"""__repr__(InContainerPairFilter self) -> std::string"""
3347 return _IMP_container.InContainerPairFilter___repr__(self)
3351 return _object_cast_to_InContainerPairFilter(o)
3355 _IMP_container.InContainerPairFilter_swigregister(InContainerPairFilter)
3357 r"""Proxy of C++ IMP::container::InContainerTripletFilter class."""
3359 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3361 def __init__(self, *args):
3363 __init__(InContainerTripletFilter self, TripletContainer c, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3364 __init__(InContainerTripletFilter self, TripletContainer c, bool handle_permutations, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3366 _IMP_container.InContainerTripletFilter_swiginit(self, _IMP_container.new_InContainerTripletFilter(*args))
3368 def do_get_inputs(self, m, pi):
3369 r"""do_get_inputs(InContainerTripletFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3370 return _IMP_container.InContainerTripletFilter_do_get_inputs(self, m, pi)
3372 def get_value(self, *args):
3374 get_value(InContainerTripletFilter self, IMP::ParticleTriplet const & a) -> int
3375 get_value(InContainerTripletFilter self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
3377 return _IMP_container.InContainerTripletFilter_get_value(self, *args)
3379 def get_value_index(self, *args):
3381 get_value_index(InContainerTripletFilter self, Model arg2, IMP::ParticleIndexTriplet const & vt) -> int
3382 get_value_index(InContainerTripletFilter self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
3384 return _IMP_container.InContainerTripletFilter_get_value_index(self, *args)
3386 def get_version_info(self):
3387 r"""get_version_info(InContainerTripletFilter self) -> VersionInfo"""
3388 return _IMP_container.InContainerTripletFilter_get_version_info(self)
3389 __swig_destroy__ = _IMP_container.delete_InContainerTripletFilter
3392 r"""__str__(InContainerTripletFilter self) -> std::string"""
3393 return _IMP_container.InContainerTripletFilter___str__(self)
3396 r"""__repr__(InContainerTripletFilter self) -> std::string"""
3397 return _IMP_container.InContainerTripletFilter___repr__(self)
3401 return _object_cast_to_InContainerTripletFilter(o)
3405 _IMP_container.InContainerTripletFilter_swigregister(InContainerTripletFilter)
3407 r"""Proxy of C++ IMP::container::InContainerQuadFilter class."""
3409 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3411 def __init__(self, *args):
3413 __init__(InContainerQuadFilter self, QuadContainer c, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3414 __init__(InContainerQuadFilter self, QuadContainer c, bool handle_permutations, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3416 _IMP_container.InContainerQuadFilter_swiginit(self, _IMP_container.new_InContainerQuadFilter(*args))
3418 def do_get_inputs(self, m, pi):
3419 r"""do_get_inputs(InContainerQuadFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3420 return _IMP_container.InContainerQuadFilter_do_get_inputs(self, m, pi)
3422 def get_value(self, *args):
3424 get_value(InContainerQuadFilter self, IMP::ParticleQuad const & a) -> int
3425 get_value(InContainerQuadFilter self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
3427 return _IMP_container.InContainerQuadFilter_get_value(self, *args)
3429 def get_value_index(self, *args):
3431 get_value_index(InContainerQuadFilter self, Model arg2, IMP::ParticleIndexQuad const & vt) -> int
3432 get_value_index(InContainerQuadFilter self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
3434 return _IMP_container.InContainerQuadFilter_get_value_index(self, *args)
3436 def get_version_info(self):
3437 r"""get_version_info(InContainerQuadFilter self) -> VersionInfo"""
3438 return _IMP_container.InContainerQuadFilter_get_version_info(self)
3439 __swig_destroy__ = _IMP_container.delete_InContainerQuadFilter
3442 r"""__str__(InContainerQuadFilter self) -> std::string"""
3443 return _IMP_container.InContainerQuadFilter___str__(self)
3446 r"""__repr__(InContainerQuadFilter self) -> std::string"""
3447 return _IMP_container.InContainerQuadFilter___repr__(self)
3451 return _object_cast_to_InContainerQuadFilter(o)
3455 _IMP_container.InContainerQuadFilter_swigregister(InContainerQuadFilter)
3457 r"""Proxy of C++ IMP::container::SingletonContainerStatistics class."""
3459 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3461 def __init__(self, c):
3462 r"""__init__(SingletonContainerStatistics self, _SingletonContainerAdaptor c) -> SingletonContainerStatistics"""
3463 _IMP_container.SingletonContainerStatistics_swiginit(self, _IMP_container.new_SingletonContainerStatistics(c))
3465 def show_statistics(self, out):
3466 r"""show_statistics(SingletonContainerStatistics self, _ostream out)"""
3467 return _IMP_container.SingletonContainerStatistics_show_statistics(self, out)
3469 def set_track_unique(self, tf):
3470 r"""set_track_unique(SingletonContainerStatistics self, bool tf)"""
3471 return _IMP_container.SingletonContainerStatistics_set_track_unique(self, tf)
3473 def do_before_evaluate(self):
3474 r"""do_before_evaluate(SingletonContainerStatistics self)"""
3475 return _IMP_container.SingletonContainerStatistics_do_before_evaluate(self)
3477 def do_after_evaluate(self, da):
3478 r"""do_after_evaluate(SingletonContainerStatistics self, DerivativeAccumulator da)"""
3479 return _IMP_container.SingletonContainerStatistics_do_after_evaluate(self, da)
3481 def do_get_inputs(self):
3482 r"""do_get_inputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3483 return _IMP_container.SingletonContainerStatistics_do_get_inputs(self)
3485 def do_get_outputs(self):
3486 r"""do_get_outputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3487 return _IMP_container.SingletonContainerStatistics_do_get_outputs(self)
3489 def get_version_info(self):
3490 r"""get_version_info(SingletonContainerStatistics self) -> VersionInfo"""
3491 return _IMP_container.SingletonContainerStatistics_get_version_info(self)
3492 __swig_destroy__ = _IMP_container.delete_SingletonContainerStatistics
3495 r"""__str__(SingletonContainerStatistics self) -> std::string"""
3496 return _IMP_container.SingletonContainerStatistics___str__(self)
3499 r"""__repr__(SingletonContainerStatistics self) -> std::string"""
3500 return _IMP_container.SingletonContainerStatistics___repr__(self)
3504 return _object_cast_to_SingletonContainerStatistics(o)
3508 _IMP_container.SingletonContainerStatistics_swigregister(SingletonContainerStatistics)
3510 r"""Proxy of C++ IMP::container::PairContainerStatistics class."""
3512 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3514 def __init__(self, c):
3515 r"""__init__(PairContainerStatistics self, _PairContainerAdaptor c) -> PairContainerStatistics"""
3516 _IMP_container.PairContainerStatistics_swiginit(self, _IMP_container.new_PairContainerStatistics(c))
3518 def show_statistics(self, out):
3519 r"""show_statistics(PairContainerStatistics self, _ostream out)"""
3520 return _IMP_container.PairContainerStatistics_show_statistics(self, out)
3522 def set_track_unique(self, tf):
3523 r"""set_track_unique(PairContainerStatistics self, bool tf)"""
3524 return _IMP_container.PairContainerStatistics_set_track_unique(self, tf)
3526 def do_before_evaluate(self):
3527 r"""do_before_evaluate(PairContainerStatistics self)"""
3528 return _IMP_container.PairContainerStatistics_do_before_evaluate(self)
3530 def do_after_evaluate(self, da):
3531 r"""do_after_evaluate(PairContainerStatistics self, DerivativeAccumulator da)"""
3532 return _IMP_container.PairContainerStatistics_do_after_evaluate(self, da)
3534 def do_get_inputs(self):
3535 r"""do_get_inputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3536 return _IMP_container.PairContainerStatistics_do_get_inputs(self)
3538 def do_get_outputs(self):
3539 r"""do_get_outputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3540 return _IMP_container.PairContainerStatistics_do_get_outputs(self)
3542 def get_version_info(self):
3543 r"""get_version_info(PairContainerStatistics self) -> VersionInfo"""
3544 return _IMP_container.PairContainerStatistics_get_version_info(self)
3545 __swig_destroy__ = _IMP_container.delete_PairContainerStatistics
3548 r"""__str__(PairContainerStatistics self) -> std::string"""
3549 return _IMP_container.PairContainerStatistics___str__(self)
3552 r"""__repr__(PairContainerStatistics self) -> std::string"""
3553 return _IMP_container.PairContainerStatistics___repr__(self)
3557 return _object_cast_to_PairContainerStatistics(o)
3561 _IMP_container.PairContainerStatistics_swigregister(PairContainerStatistics)
3563 r"""Proxy of C++ IMP::container::TripletContainerStatistics class."""
3565 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3567 def __init__(self, c):
3568 r"""__init__(TripletContainerStatistics self, _TripletContainerAdaptor c) -> TripletContainerStatistics"""
3569 _IMP_container.TripletContainerStatistics_swiginit(self, _IMP_container.new_TripletContainerStatistics(c))
3571 def show_statistics(self, out):
3572 r"""show_statistics(TripletContainerStatistics self, _ostream out)"""
3573 return _IMP_container.TripletContainerStatistics_show_statistics(self, out)
3575 def set_track_unique(self, tf):
3576 r"""set_track_unique(TripletContainerStatistics self, bool tf)"""
3577 return _IMP_container.TripletContainerStatistics_set_track_unique(self, tf)
3579 def do_before_evaluate(self):
3580 r"""do_before_evaluate(TripletContainerStatistics self)"""
3581 return _IMP_container.TripletContainerStatistics_do_before_evaluate(self)
3583 def do_after_evaluate(self, da):
3584 r"""do_after_evaluate(TripletContainerStatistics self, DerivativeAccumulator da)"""
3585 return _IMP_container.TripletContainerStatistics_do_after_evaluate(self, da)
3587 def do_get_inputs(self):
3588 r"""do_get_inputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3589 return _IMP_container.TripletContainerStatistics_do_get_inputs(self)
3591 def do_get_outputs(self):
3592 r"""do_get_outputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3593 return _IMP_container.TripletContainerStatistics_do_get_outputs(self)
3595 def get_version_info(self):
3596 r"""get_version_info(TripletContainerStatistics self) -> VersionInfo"""
3597 return _IMP_container.TripletContainerStatistics_get_version_info(self)
3598 __swig_destroy__ = _IMP_container.delete_TripletContainerStatistics
3601 r"""__str__(TripletContainerStatistics self) -> std::string"""
3602 return _IMP_container.TripletContainerStatistics___str__(self)
3605 r"""__repr__(TripletContainerStatistics self) -> std::string"""
3606 return _IMP_container.TripletContainerStatistics___repr__(self)
3610 return _object_cast_to_TripletContainerStatistics(o)
3614 _IMP_container.TripletContainerStatistics_swigregister(TripletContainerStatistics)
3616 r"""Proxy of C++ IMP::container::QuadContainerStatistics class."""
3618 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3620 def __init__(self, c):
3621 r"""__init__(QuadContainerStatistics self, _QuadContainerAdaptor c) -> QuadContainerStatistics"""
3622 _IMP_container.QuadContainerStatistics_swiginit(self, _IMP_container.new_QuadContainerStatistics(c))
3624 def show_statistics(self, out):
3625 r"""show_statistics(QuadContainerStatistics self, _ostream out)"""
3626 return _IMP_container.QuadContainerStatistics_show_statistics(self, out)
3628 def set_track_unique(self, tf):
3629 r"""set_track_unique(QuadContainerStatistics self, bool tf)"""
3630 return _IMP_container.QuadContainerStatistics_set_track_unique(self, tf)
3632 def do_before_evaluate(self):
3633 r"""do_before_evaluate(QuadContainerStatistics self)"""
3634 return _IMP_container.QuadContainerStatistics_do_before_evaluate(self)
3636 def do_after_evaluate(self, da):
3637 r"""do_after_evaluate(QuadContainerStatistics self, DerivativeAccumulator da)"""
3638 return _IMP_container.QuadContainerStatistics_do_after_evaluate(self, da)
3640 def do_get_inputs(self):
3641 r"""do_get_inputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3642 return _IMP_container.QuadContainerStatistics_do_get_inputs(self)
3644 def do_get_outputs(self):
3645 r"""do_get_outputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3646 return _IMP_container.QuadContainerStatistics_do_get_outputs(self)
3648 def get_version_info(self):
3649 r"""get_version_info(QuadContainerStatistics self) -> VersionInfo"""
3650 return _IMP_container.QuadContainerStatistics_get_version_info(self)
3651 __swig_destroy__ = _IMP_container.delete_QuadContainerStatistics
3654 r"""__str__(QuadContainerStatistics self) -> std::string"""
3655 return _IMP_container.QuadContainerStatistics___str__(self)
3658 r"""__repr__(QuadContainerStatistics self) -> std::string"""
3659 return _IMP_container.QuadContainerStatistics___repr__(self)
3663 return _object_cast_to_QuadContainerStatistics(o)
3667 _IMP_container.QuadContainerStatistics_swigregister(QuadContainerStatistics)
3669 r"""Proxy of C++ IMP::container::EventSingletonsOptimizerState class."""
3671 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3673 def __init__(self, *args):
3674 r"""__init__(EventSingletonsOptimizerState self, SingletonPredicate pred, _SingletonContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstSingletonPredicate%1%") -> EventSingletonsOptimizerState"""
3675 _IMP_container.EventSingletonsOptimizerState_swiginit(self, _IMP_container.new_EventSingletonsOptimizerState(*args))
3677 def do_update(self, call):
3678 r"""do_update(EventSingletonsOptimizerState self, unsigned int call)"""
3679 return _IMP_container.EventSingletonsOptimizerState_do_update(self, call)
3681 def get_version_info(self):
3682 r"""get_version_info(EventSingletonsOptimizerState self) -> VersionInfo"""
3683 return _IMP_container.EventSingletonsOptimizerState_get_version_info(self)
3684 __swig_destroy__ = _IMP_container.delete_EventSingletonsOptimizerState
3687 r"""__str__(EventSingletonsOptimizerState self) -> std::string"""
3688 return _IMP_container.EventSingletonsOptimizerState___str__(self)
3691 r"""__repr__(EventSingletonsOptimizerState self) -> std::string"""
3692 return _IMP_container.EventSingletonsOptimizerState___repr__(self)
3696 return _object_cast_to_EventSingletonsOptimizerState(o)
3700 _IMP_container.EventSingletonsOptimizerState_swigregister(EventSingletonsOptimizerState)
3702 r"""Proxy of C++ IMP::container::EventPairsOptimizerState class."""
3704 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3706 def __init__(self, *args):
3707 r"""__init__(EventPairsOptimizerState self, PairPredicate pred, _PairContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstPairPredicate%1%") -> EventPairsOptimizerState"""
3708 _IMP_container.EventPairsOptimizerState_swiginit(self, _IMP_container.new_EventPairsOptimizerState(*args))
3710 def do_update(self, call):
3711 r"""do_update(EventPairsOptimizerState self, unsigned int call)"""
3712 return _IMP_container.EventPairsOptimizerState_do_update(self, call)
3714 def get_version_info(self):
3715 r"""get_version_info(EventPairsOptimizerState self) -> VersionInfo"""
3716 return _IMP_container.EventPairsOptimizerState_get_version_info(self)
3717 __swig_destroy__ = _IMP_container.delete_EventPairsOptimizerState
3720 r"""__str__(EventPairsOptimizerState self) -> std::string"""
3721 return _IMP_container.EventPairsOptimizerState___str__(self)
3724 r"""__repr__(EventPairsOptimizerState self) -> std::string"""
3725 return _IMP_container.EventPairsOptimizerState___repr__(self)
3729 return _object_cast_to_EventPairsOptimizerState(o)
3733 _IMP_container.EventPairsOptimizerState_swigregister(EventPairsOptimizerState)
3735 r"""Proxy of C++ IMP::container::EventTripletsOptimizerState class."""
3737 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3739 def __init__(self, *args):
3740 r"""__init__(EventTripletsOptimizerState self, TripletPredicate pred, _TripletContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstTripletPredicate%1%") -> EventTripletsOptimizerState"""
3741 _IMP_container.EventTripletsOptimizerState_swiginit(self, _IMP_container.new_EventTripletsOptimizerState(*args))
3743 def do_update(self, call):
3744 r"""do_update(EventTripletsOptimizerState self, unsigned int call)"""
3745 return _IMP_container.EventTripletsOptimizerState_do_update(self, call)
3747 def get_version_info(self):
3748 r"""get_version_info(EventTripletsOptimizerState self) -> VersionInfo"""
3749 return _IMP_container.EventTripletsOptimizerState_get_version_info(self)
3750 __swig_destroy__ = _IMP_container.delete_EventTripletsOptimizerState
3753 r"""__str__(EventTripletsOptimizerState self) -> std::string"""
3754 return _IMP_container.EventTripletsOptimizerState___str__(self)
3757 r"""__repr__(EventTripletsOptimizerState self) -> std::string"""
3758 return _IMP_container.EventTripletsOptimizerState___repr__(self)
3762 return _object_cast_to_EventTripletsOptimizerState(o)
3766 _IMP_container.EventTripletsOptimizerState_swigregister(EventTripletsOptimizerState)
3768 r"""Proxy of C++ IMP::container::EventQuadsOptimizerState class."""
3770 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3772 def __init__(self, *args):
3773 r"""__init__(EventQuadsOptimizerState self, QuadPredicate pred, _QuadContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstQuadPredicate%1%") -> EventQuadsOptimizerState"""
3774 _IMP_container.EventQuadsOptimizerState_swiginit(self, _IMP_container.new_EventQuadsOptimizerState(*args))
3776 def do_update(self, call):
3777 r"""do_update(EventQuadsOptimizerState self, unsigned int call)"""
3778 return _IMP_container.EventQuadsOptimizerState_do_update(self, call)
3780 def get_version_info(self):
3781 r"""get_version_info(EventQuadsOptimizerState self) -> VersionInfo"""
3782 return _IMP_container.EventQuadsOptimizerState_get_version_info(self)
3783 __swig_destroy__ = _IMP_container.delete_EventQuadsOptimizerState
3786 r"""__str__(EventQuadsOptimizerState self) -> std::string"""
3787 return _IMP_container.EventQuadsOptimizerState___str__(self)
3790 r"""__repr__(EventQuadsOptimizerState self) -> std::string"""
3791 return _IMP_container.EventQuadsOptimizerState___repr__(self)
3795 return _object_cast_to_EventQuadsOptimizerState(o)
3799 _IMP_container.EventQuadsOptimizerState_swigregister(EventQuadsOptimizerState)
3801 r"""Proxy of C++ IMP::container::PredicateSingletonsRestraint class."""
3803 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3805 def __init__(self, *args):
3807 __init__(PredicateSingletonsRestraint self, SingletonPredicate pred, _SingletonContainerAdaptor input, std::string name="PredicateSingletonsRestraint %1%") -> PredicateSingletonsRestraint
3808 __init__(PredicateSingletonsRestraint self) -> PredicateSingletonsRestraint
3810 _IMP_container.PredicateSingletonsRestraint_swiginit(self, _IMP_container.new_PredicateSingletonsRestraint(*args))
3812 def set_score(self, predicate_value, score):
3813 r"""set_score(PredicateSingletonsRestraint self, int predicate_value, SingletonScore score)"""
3814 return _IMP_container.PredicateSingletonsRestraint_set_score(self, predicate_value, score)
3816 def set_unknown_score(self, score):
3817 r"""set_unknown_score(PredicateSingletonsRestraint self, SingletonScore score)"""
3818 return _IMP_container.PredicateSingletonsRestraint_set_unknown_score(self, score)
3820 def set_is_complete(self, tf):
3821 r"""set_is_complete(PredicateSingletonsRestraint self, bool tf)"""
3822 return _IMP_container.PredicateSingletonsRestraint_set_is_complete(self, tf)
3825 r"""get_indexes(PredicateSingletonsRestraint self, int predicate_value) -> IMP::ParticleIndexes"""
3826 return _IMP_container.PredicateSingletonsRestraint_get_indexes(self, predicate_value)
3828 def do_add_score_and_derivatives(self, sa):
3829 r"""do_add_score_and_derivatives(PredicateSingletonsRestraint self, ScoreAccumulator sa)"""
3830 return _IMP_container.PredicateSingletonsRestraint_do_add_score_and_derivatives(self, sa)
3832 def do_get_inputs(self):
3833 r"""do_get_inputs(PredicateSingletonsRestraint self) -> IMP::ModelObjectsTemp"""
3834 return _IMP_container.PredicateSingletonsRestraint_do_get_inputs(self)
3836 def get_version_info(self):
3837 r"""get_version_info(PredicateSingletonsRestraint self) -> VersionInfo"""
3838 return _IMP_container.PredicateSingletonsRestraint_get_version_info(self)
3839 __swig_destroy__ = _IMP_container.delete_PredicateSingletonsRestraint
3842 r"""__str__(PredicateSingletonsRestraint self) -> std::string"""
3843 return _IMP_container.PredicateSingletonsRestraint___str__(self)
3846 r"""__repr__(PredicateSingletonsRestraint self) -> std::string"""
3847 return _IMP_container.PredicateSingletonsRestraint___repr__(self)
3851 return _object_cast_to_PredicateSingletonsRestraint(o)
3854 def _get_as_binary(self):
3855 r"""_get_as_binary(PredicateSingletonsRestraint self) -> PyObject *"""
3856 return _IMP_container.PredicateSingletonsRestraint__get_as_binary(self)
3858 def _set_from_binary(self, p):
3859 r"""_set_from_binary(PredicateSingletonsRestraint self, PyObject * p)"""
3860 return _IMP_container.PredicateSingletonsRestraint__set_from_binary(self, p)
3862 def __getstate__(self):
3863 p = self._get_as_binary()
3864 if len(self.__dict__) > 1:
3865 d = self.__dict__.copy()
3870 def __setstate__(self, p):
3871 if not hasattr(self,
'this'):
3873 if isinstance(p, tuple):
3875 self.__dict__.update(d)
3876 return self._set_from_binary(p)
3880 _IMP_container.PredicateSingletonsRestraint_swigregister(PredicateSingletonsRestraint)
3882 r"""Proxy of C++ IMP::container::PredicatePairsRestraint class."""
3884 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3886 def __init__(self, *args):
3888 __init__(PredicatePairsRestraint self, PairPredicate pred, _PairContainerAdaptor input, std::string name="PredicatePairsRestraint %1%") -> PredicatePairsRestraint
3889 __init__(PredicatePairsRestraint self) -> PredicatePairsRestraint
3891 _IMP_container.PredicatePairsRestraint_swiginit(self, _IMP_container.new_PredicatePairsRestraint(*args))
3893 def set_score(self, predicate_value, score):
3894 r"""set_score(PredicatePairsRestraint self, int predicate_value, PairScore score)"""
3895 return _IMP_container.PredicatePairsRestraint_set_score(self, predicate_value, score)
3897 def set_unknown_score(self, score):
3898 r"""set_unknown_score(PredicatePairsRestraint self, PairScore score)"""
3899 return _IMP_container.PredicatePairsRestraint_set_unknown_score(self, score)
3901 def set_is_complete(self, tf):
3902 r"""set_is_complete(PredicatePairsRestraint self, bool tf)"""
3903 return _IMP_container.PredicatePairsRestraint_set_is_complete(self, tf)
3906 r"""get_indexes(PredicatePairsRestraint self, int predicate_value) -> IMP::ParticleIndexPairs"""
3907 return _IMP_container.PredicatePairsRestraint_get_indexes(self, predicate_value)
3909 def do_add_score_and_derivatives(self, sa):
3910 r"""do_add_score_and_derivatives(PredicatePairsRestraint self, ScoreAccumulator sa)"""
3911 return _IMP_container.PredicatePairsRestraint_do_add_score_and_derivatives(self, sa)
3913 def do_get_inputs(self):
3914 r"""do_get_inputs(PredicatePairsRestraint self) -> IMP::ModelObjectsTemp"""
3915 return _IMP_container.PredicatePairsRestraint_do_get_inputs(self)
3917 def get_version_info(self):
3918 r"""get_version_info(PredicatePairsRestraint self) -> VersionInfo"""
3919 return _IMP_container.PredicatePairsRestraint_get_version_info(self)
3920 __swig_destroy__ = _IMP_container.delete_PredicatePairsRestraint
3923 r"""__str__(PredicatePairsRestraint self) -> std::string"""
3924 return _IMP_container.PredicatePairsRestraint___str__(self)
3927 r"""__repr__(PredicatePairsRestraint self) -> std::string"""
3928 return _IMP_container.PredicatePairsRestraint___repr__(self)
3932 return _object_cast_to_PredicatePairsRestraint(o)
3935 def _get_as_binary(self):
3936 r"""_get_as_binary(PredicatePairsRestraint self) -> PyObject *"""
3937 return _IMP_container.PredicatePairsRestraint__get_as_binary(self)
3939 def _set_from_binary(self, p):
3940 r"""_set_from_binary(PredicatePairsRestraint self, PyObject * p)"""
3941 return _IMP_container.PredicatePairsRestraint__set_from_binary(self, p)
3943 def __getstate__(self):
3944 p = self._get_as_binary()
3945 if len(self.__dict__) > 1:
3946 d = self.__dict__.copy()
3951 def __setstate__(self, p):
3952 if not hasattr(self,
'this'):
3954 if isinstance(p, tuple):
3956 self.__dict__.update(d)
3957 return self._set_from_binary(p)
3961 _IMP_container.PredicatePairsRestraint_swigregister(PredicatePairsRestraint)
3963 r"""Proxy of C++ IMP::container::PredicateTripletsRestraint class."""
3965 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3967 def __init__(self, *args):
3969 __init__(PredicateTripletsRestraint self, TripletPredicate pred, _TripletContainerAdaptor input, std::string name="PredicateTripletsRestraint %1%") -> PredicateTripletsRestraint
3970 __init__(PredicateTripletsRestraint self) -> PredicateTripletsRestraint
3972 _IMP_container.PredicateTripletsRestraint_swiginit(self, _IMP_container.new_PredicateTripletsRestraint(*args))
3974 def set_score(self, predicate_value, score):
3975 r"""set_score(PredicateTripletsRestraint self, int predicate_value, TripletScore score)"""
3976 return _IMP_container.PredicateTripletsRestraint_set_score(self, predicate_value, score)
3978 def set_unknown_score(self, score):
3979 r"""set_unknown_score(PredicateTripletsRestraint self, TripletScore score)"""
3980 return _IMP_container.PredicateTripletsRestraint_set_unknown_score(self, score)
3982 def set_is_complete(self, tf):
3983 r"""set_is_complete(PredicateTripletsRestraint self, bool tf)"""
3984 return _IMP_container.PredicateTripletsRestraint_set_is_complete(self, tf)
3987 r"""get_indexes(PredicateTripletsRestraint self, int predicate_value) -> IMP::ParticleIndexTriplets"""
3988 return _IMP_container.PredicateTripletsRestraint_get_indexes(self, predicate_value)
3990 def do_add_score_and_derivatives(self, sa):
3991 r"""do_add_score_and_derivatives(PredicateTripletsRestraint self, ScoreAccumulator sa)"""
3992 return _IMP_container.PredicateTripletsRestraint_do_add_score_and_derivatives(self, sa)
3994 def do_get_inputs(self):
3995 r"""do_get_inputs(PredicateTripletsRestraint self) -> IMP::ModelObjectsTemp"""
3996 return _IMP_container.PredicateTripletsRestraint_do_get_inputs(self)
3998 def get_version_info(self):
3999 r"""get_version_info(PredicateTripletsRestraint self) -> VersionInfo"""
4000 return _IMP_container.PredicateTripletsRestraint_get_version_info(self)
4001 __swig_destroy__ = _IMP_container.delete_PredicateTripletsRestraint
4004 r"""__str__(PredicateTripletsRestraint self) -> std::string"""
4005 return _IMP_container.PredicateTripletsRestraint___str__(self)
4008 r"""__repr__(PredicateTripletsRestraint self) -> std::string"""
4009 return _IMP_container.PredicateTripletsRestraint___repr__(self)
4013 return _object_cast_to_PredicateTripletsRestraint(o)
4016 def _get_as_binary(self):
4017 r"""_get_as_binary(PredicateTripletsRestraint self) -> PyObject *"""
4018 return _IMP_container.PredicateTripletsRestraint__get_as_binary(self)
4020 def _set_from_binary(self, p):
4021 r"""_set_from_binary(PredicateTripletsRestraint self, PyObject * p)"""
4022 return _IMP_container.PredicateTripletsRestraint__set_from_binary(self, p)
4024 def __getstate__(self):
4025 p = self._get_as_binary()
4026 if len(self.__dict__) > 1:
4027 d = self.__dict__.copy()
4032 def __setstate__(self, p):
4033 if not hasattr(self,
'this'):
4035 if isinstance(p, tuple):
4037 self.__dict__.update(d)
4038 return self._set_from_binary(p)
4042 _IMP_container.PredicateTripletsRestraint_swigregister(PredicateTripletsRestraint)
4044 r"""Proxy of C++ IMP::container::PredicateQuadsRestraint class."""
4046 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4048 def __init__(self, *args):
4050 __init__(PredicateQuadsRestraint self, QuadPredicate pred, _QuadContainerAdaptor input, std::string name="PredicateQuadsRestraint %1%") -> PredicateQuadsRestraint
4051 __init__(PredicateQuadsRestraint self) -> PredicateQuadsRestraint
4053 _IMP_container.PredicateQuadsRestraint_swiginit(self, _IMP_container.new_PredicateQuadsRestraint(*args))
4055 def set_score(self, predicate_value, score):
4056 r"""set_score(PredicateQuadsRestraint self, int predicate_value, QuadScore score)"""
4057 return _IMP_container.PredicateQuadsRestraint_set_score(self, predicate_value, score)
4059 def set_unknown_score(self, score):
4060 r"""set_unknown_score(PredicateQuadsRestraint self, QuadScore score)"""
4061 return _IMP_container.PredicateQuadsRestraint_set_unknown_score(self, score)
4063 def set_is_complete(self, tf):
4064 r"""set_is_complete(PredicateQuadsRestraint self, bool tf)"""
4065 return _IMP_container.PredicateQuadsRestraint_set_is_complete(self, tf)
4068 r"""get_indexes(PredicateQuadsRestraint self, int predicate_value) -> IMP::ParticleIndexQuads"""
4069 return _IMP_container.PredicateQuadsRestraint_get_indexes(self, predicate_value)
4071 def do_add_score_and_derivatives(self, sa):
4072 r"""do_add_score_and_derivatives(PredicateQuadsRestraint self, ScoreAccumulator sa)"""
4073 return _IMP_container.PredicateQuadsRestraint_do_add_score_and_derivatives(self, sa)
4075 def do_get_inputs(self):
4076 r"""do_get_inputs(PredicateQuadsRestraint self) -> IMP::ModelObjectsTemp"""
4077 return _IMP_container.PredicateQuadsRestraint_do_get_inputs(self)
4079 def get_version_info(self):
4080 r"""get_version_info(PredicateQuadsRestraint self) -> VersionInfo"""
4081 return _IMP_container.PredicateQuadsRestraint_get_version_info(self)
4082 __swig_destroy__ = _IMP_container.delete_PredicateQuadsRestraint
4085 r"""__str__(PredicateQuadsRestraint self) -> std::string"""
4086 return _IMP_container.PredicateQuadsRestraint___str__(self)
4089 r"""__repr__(PredicateQuadsRestraint self) -> std::string"""
4090 return _IMP_container.PredicateQuadsRestraint___repr__(self)
4094 return _object_cast_to_PredicateQuadsRestraint(o)
4097 def _get_as_binary(self):
4098 r"""_get_as_binary(PredicateQuadsRestraint self) -> PyObject *"""
4099 return _IMP_container.PredicateQuadsRestraint__get_as_binary(self)
4101 def _set_from_binary(self, p):
4102 r"""_set_from_binary(PredicateQuadsRestraint self, PyObject * p)"""
4103 return _IMP_container.PredicateQuadsRestraint__set_from_binary(self, p)
4105 def __getstate__(self):
4106 p = self._get_as_binary()
4107 if len(self.__dict__) > 1:
4108 d = self.__dict__.copy()
4113 def __setstate__(self, p):
4114 if not hasattr(self,
'this'):
4116 if isinstance(p, tuple):
4118 self.__dict__.update(d)
4119 return self._set_from_binary(p)
4123 _IMP_container.PredicateQuadsRestraint_swigregister(PredicateQuadsRestraint)
4125 r"""Proxy of C++ IMP::container::DistributeSingletonsScoreState class."""
4127 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4129 def __init__(self, *args):
4130 r"""__init__(DistributeSingletonsScoreState self, _SingletonContainerAdaptor input, std::string name="DistributeSingletonsScoreState %1%") -> DistributeSingletonsScoreState"""
4131 _IMP_container.DistributeSingletonsScoreState_swiginit(self, _IMP_container.new_DistributeSingletonsScoreState(*args))
4133 def add_predicate(self, predicate, value):
4134 r"""add_predicate(DistributeSingletonsScoreState self, SingletonPredicate predicate, int value) -> DynamicListSingletonContainer"""
4135 return _IMP_container.DistributeSingletonsScoreState_add_predicate(self, predicate, value)
4137 def do_before_evaluate(self):
4138 r"""do_before_evaluate(DistributeSingletonsScoreState self)"""
4139 return _IMP_container.DistributeSingletonsScoreState_do_before_evaluate(self)
4141 def do_after_evaluate(self, da):
4142 r"""do_after_evaluate(DistributeSingletonsScoreState self, DerivativeAccumulator da)"""
4143 return _IMP_container.DistributeSingletonsScoreState_do_after_evaluate(self, da)
4145 def do_get_inputs(self):
4146 r"""do_get_inputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4147 return _IMP_container.DistributeSingletonsScoreState_do_get_inputs(self)
4149 def do_get_outputs(self):
4150 r"""do_get_outputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4151 return _IMP_container.DistributeSingletonsScoreState_do_get_outputs(self)
4153 def get_version_info(self):
4154 r"""get_version_info(DistributeSingletonsScoreState self) -> VersionInfo"""
4155 return _IMP_container.DistributeSingletonsScoreState_get_version_info(self)
4156 __swig_destroy__ = _IMP_container.delete_DistributeSingletonsScoreState
4159 r"""__str__(DistributeSingletonsScoreState self) -> std::string"""
4160 return _IMP_container.DistributeSingletonsScoreState___str__(self)
4163 r"""__repr__(DistributeSingletonsScoreState self) -> std::string"""
4164 return _IMP_container.DistributeSingletonsScoreState___repr__(self)
4168 return _object_cast_to_DistributeSingletonsScoreState(o)
4172 _IMP_container.DistributeSingletonsScoreState_swigregister(DistributeSingletonsScoreState)
4174 r"""Proxy of C++ IMP::container::DistributePairsScoreState class."""
4176 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4178 def __init__(self, *args):
4179 r"""__init__(DistributePairsScoreState self, _PairContainerAdaptor input, std::string name="DistributePairsScoreState %1%") -> DistributePairsScoreState"""
4180 _IMP_container.DistributePairsScoreState_swiginit(self, _IMP_container.new_DistributePairsScoreState(*args))
4182 def add_predicate(self, predicate, value):
4183 r"""add_predicate(DistributePairsScoreState self, PairPredicate predicate, int value) -> DynamicListPairContainer"""
4184 return _IMP_container.DistributePairsScoreState_add_predicate(self, predicate, value)
4186 def do_before_evaluate(self):
4187 r"""do_before_evaluate(DistributePairsScoreState self)"""
4188 return _IMP_container.DistributePairsScoreState_do_before_evaluate(self)
4190 def do_after_evaluate(self, da):
4191 r"""do_after_evaluate(DistributePairsScoreState self, DerivativeAccumulator da)"""
4192 return _IMP_container.DistributePairsScoreState_do_after_evaluate(self, da)
4194 def do_get_inputs(self):
4195 r"""do_get_inputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4196 return _IMP_container.DistributePairsScoreState_do_get_inputs(self)
4198 def do_get_outputs(self):
4199 r"""do_get_outputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4200 return _IMP_container.DistributePairsScoreState_do_get_outputs(self)
4202 def get_version_info(self):
4203 r"""get_version_info(DistributePairsScoreState self) -> VersionInfo"""
4204 return _IMP_container.DistributePairsScoreState_get_version_info(self)
4205 __swig_destroy__ = _IMP_container.delete_DistributePairsScoreState
4208 r"""__str__(DistributePairsScoreState self) -> std::string"""
4209 return _IMP_container.DistributePairsScoreState___str__(self)
4212 r"""__repr__(DistributePairsScoreState self) -> std::string"""
4213 return _IMP_container.DistributePairsScoreState___repr__(self)
4217 return _object_cast_to_DistributePairsScoreState(o)
4221 _IMP_container.DistributePairsScoreState_swigregister(DistributePairsScoreState)
4223 r"""Proxy of C++ IMP::container::DistributeTripletsScoreState class."""
4225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4227 def __init__(self, *args):
4228 r"""__init__(DistributeTripletsScoreState self, _TripletContainerAdaptor input, std::string name="DistributeTripletsScoreState %1%") -> DistributeTripletsScoreState"""
4229 _IMP_container.DistributeTripletsScoreState_swiginit(self, _IMP_container.new_DistributeTripletsScoreState(*args))
4231 def add_predicate(self, predicate, value):
4232 r"""add_predicate(DistributeTripletsScoreState self, TripletPredicate predicate, int value) -> DynamicListTripletContainer"""
4233 return _IMP_container.DistributeTripletsScoreState_add_predicate(self, predicate, value)
4235 def do_before_evaluate(self):
4236 r"""do_before_evaluate(DistributeTripletsScoreState self)"""
4237 return _IMP_container.DistributeTripletsScoreState_do_before_evaluate(self)
4239 def do_after_evaluate(self, da):
4240 r"""do_after_evaluate(DistributeTripletsScoreState self, DerivativeAccumulator da)"""
4241 return _IMP_container.DistributeTripletsScoreState_do_after_evaluate(self, da)
4243 def do_get_inputs(self):
4244 r"""do_get_inputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4245 return _IMP_container.DistributeTripletsScoreState_do_get_inputs(self)
4247 def do_get_outputs(self):
4248 r"""do_get_outputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4249 return _IMP_container.DistributeTripletsScoreState_do_get_outputs(self)
4251 def get_version_info(self):
4252 r"""get_version_info(DistributeTripletsScoreState self) -> VersionInfo"""
4253 return _IMP_container.DistributeTripletsScoreState_get_version_info(self)
4254 __swig_destroy__ = _IMP_container.delete_DistributeTripletsScoreState
4257 r"""__str__(DistributeTripletsScoreState self) -> std::string"""
4258 return _IMP_container.DistributeTripletsScoreState___str__(self)
4261 r"""__repr__(DistributeTripletsScoreState self) -> std::string"""
4262 return _IMP_container.DistributeTripletsScoreState___repr__(self)
4266 return _object_cast_to_DistributeTripletsScoreState(o)
4270 _IMP_container.DistributeTripletsScoreState_swigregister(DistributeTripletsScoreState)
4272 r"""Proxy of C++ IMP::container::DistributeQuadsScoreState class."""
4274 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4276 def __init__(self, *args):
4277 r"""__init__(DistributeQuadsScoreState self, _QuadContainerAdaptor input, std::string name="DistributeQuadsScoreState %1%") -> DistributeQuadsScoreState"""
4278 _IMP_container.DistributeQuadsScoreState_swiginit(self, _IMP_container.new_DistributeQuadsScoreState(*args))
4280 def add_predicate(self, predicate, value):
4281 r"""add_predicate(DistributeQuadsScoreState self, QuadPredicate predicate, int value) -> DynamicListQuadContainer"""
4282 return _IMP_container.DistributeQuadsScoreState_add_predicate(self, predicate, value)
4284 def do_before_evaluate(self):
4285 r"""do_before_evaluate(DistributeQuadsScoreState self)"""
4286 return _IMP_container.DistributeQuadsScoreState_do_before_evaluate(self)
4288 def do_after_evaluate(self, da):
4289 r"""do_after_evaluate(DistributeQuadsScoreState self, DerivativeAccumulator da)"""
4290 return _IMP_container.DistributeQuadsScoreState_do_after_evaluate(self, da)
4292 def do_get_inputs(self):
4293 r"""do_get_inputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4294 return _IMP_container.DistributeQuadsScoreState_do_get_inputs(self)
4296 def do_get_outputs(self):
4297 r"""do_get_outputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4298 return _IMP_container.DistributeQuadsScoreState_do_get_outputs(self)
4300 def get_version_info(self):
4301 r"""get_version_info(DistributeQuadsScoreState self) -> VersionInfo"""
4302 return _IMP_container.DistributeQuadsScoreState_get_version_info(self)
4303 __swig_destroy__ = _IMP_container.delete_DistributeQuadsScoreState
4306 r"""__str__(DistributeQuadsScoreState self) -> std::string"""
4307 return _IMP_container.DistributeQuadsScoreState___str__(self)
4310 r"""__repr__(DistributeQuadsScoreState self) -> std::string"""
4311 return _IMP_container.DistributeQuadsScoreState___repr__(self)
4315 return _object_cast_to_DistributeQuadsScoreState(o)
4319 _IMP_container.DistributeQuadsScoreState_swigregister(DistributeQuadsScoreState)
4323 create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint
4324 create_restraint(PairScore ps, PairContainer pp) -> Restraint
4326 return _IMP_container.create_restraint(*args)
4329 r"""get_module_version() -> std::string const"""
4330 return _IMP_container.get_module_version()
4333 r"""get_example_path(std::string fname) -> std::string"""
4334 return _IMP_container.get_example_path(fname)
4337 r"""get_data_path(std::string fname) -> std::string"""
4338 return _IMP_container.get_data_path(fname)
4340 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
A shared container for Pairs.
double get_slack_estimate(Model *m, ParticleIndexes ps, double upper_bound, double step, const RestraintsTemp &restraints, bool derivatives, Optimizer *opt, ClosePairContainer *cpc)
Abstract predicate function.
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Composable functors to implement scores via compile-time composition.
Implement a constraint on the Model.
Abstract class for scoring object(s) of type ParticleIndexQuad.
Abstract predicate function.
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
A shared container for Quads.
A shared container for Singletons.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Shared optimizer state that is invoked upon commitment of new coordinates.
Abstract predicate function.
A shared container for Triplets.
Output IMP model data in various file formats.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.