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
881 _IMP_container.CloseBipartitePairContainer_swiginit(self, _IMP_container.new_CloseBipartitePairContainer(*args))
882 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)
883 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
884 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
885 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
887 def remove_pair_filter(self, d):
888 r"""remove_pair_filter(CloseBipartitePairContainer self, PairPredicate d)"""
889 return _IMP_container.CloseBipartitePairContainer_remove_pair_filter(self, d)
891 def _python_index_pair_filter(self, d, start, stop):
892 r"""_python_index_pair_filter(CloseBipartitePairContainer self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
893 return _IMP_container.CloseBipartitePairContainer__python_index_pair_filter(self, d, start, stop)
895 def remove_pair_filters(self, d):
896 r"""remove_pair_filters(CloseBipartitePairContainer self, IMP::PairPredicates const & d)"""
897 return _IMP_container.CloseBipartitePairContainer_remove_pair_filters(self, d)
899 def set_pair_filters(self, ps):
900 r"""set_pair_filters(CloseBipartitePairContainer self, IMP::PairPredicates const & ps)"""
901 return _IMP_container.CloseBipartitePairContainer_set_pair_filters(self, ps)
903 def set_pair_filters_order(self, objs):
904 r"""set_pair_filters_order(CloseBipartitePairContainer self, IMP::PairPredicates const & objs)"""
905 return _IMP_container.CloseBipartitePairContainer_set_pair_filters_order(self, objs)
907 def add_pair_filter(self, obj):
908 r"""add_pair_filter(CloseBipartitePairContainer self, PairPredicate obj) -> unsigned int"""
909 return _IMP_container.CloseBipartitePairContainer_add_pair_filter(self, obj)
911 def add_pair_filters(self, objs):
912 r"""add_pair_filters(CloseBipartitePairContainer self, IMP::PairPredicates const & objs)"""
913 return _IMP_container.CloseBipartitePairContainer_add_pair_filters(self, objs)
915 def clear_pair_filters(self):
916 r"""clear_pair_filters(CloseBipartitePairContainer self)"""
917 return _IMP_container.CloseBipartitePairContainer_clear_pair_filters(self)
919 def get_number_of_pair_filters(self):
920 r"""get_number_of_pair_filters(CloseBipartitePairContainer self) -> unsigned int"""
921 return _IMP_container.CloseBipartitePairContainer_get_number_of_pair_filters(self)
923 def get_has_pair_filters(self):
924 r"""get_has_pair_filters(CloseBipartitePairContainer self) -> bool"""
925 return _IMP_container.CloseBipartitePairContainer_get_has_pair_filters(self)
927 def get_pair_filter(self, i):
928 r"""get_pair_filter(CloseBipartitePairContainer self, unsigned int i) -> PairPredicate"""
929 return _IMP_container.CloseBipartitePairContainer_get_pair_filter(self, i)
931 def get_pair_filters(self):
932 r"""get_pair_filters(CloseBipartitePairContainer self) -> IMP::PairPredicates"""
933 return _IMP_container.CloseBipartitePairContainer_get_pair_filters(self)
935 def erase_pair_filter(self, i):
936 r"""erase_pair_filter(CloseBipartitePairContainer self, unsigned int i)"""
937 return _IMP_container.CloseBipartitePairContainer_erase_pair_filter(self, i)
939 def reserve_pair_filters(self, sz):
940 r"""reserve_pair_filters(CloseBipartitePairContainer self, unsigned int sz)"""
941 return _IMP_container.CloseBipartitePairContainer_reserve_pair_filters(self, sz)
943 def do_get_inputs(self):
944 r"""do_get_inputs(CloseBipartitePairContainer self) -> IMP::ModelObjectsTemp"""
945 return _IMP_container.CloseBipartitePairContainer_do_get_inputs(self)
947 def do_apply(self, sm):
948 r"""do_apply(CloseBipartitePairContainer self, PairModifier sm)"""
949 return _IMP_container.CloseBipartitePairContainer_do_apply(self, sm)
951 def get_version_info(self):
952 r"""get_version_info(CloseBipartitePairContainer self) -> VersionInfo"""
953 return _IMP_container.CloseBipartitePairContainer_get_version_info(self)
954 __swig_destroy__ = _IMP_container.delete_CloseBipartitePairContainer
957 r"""__str__(CloseBipartitePairContainer self) -> std::string"""
958 return _IMP_container.CloseBipartitePairContainer___str__(self)
961 r"""__repr__(CloseBipartitePairContainer self) -> std::string"""
962 return _IMP_container.CloseBipartitePairContainer___repr__(self)
966 return _object_cast_to_CloseBipartitePairContainer(o)
970 _IMP_container.CloseBipartitePairContainer_swigregister(CloseBipartitePairContainer)
972 r"""Proxy of C++ IMP::container::ClosePairContainer class."""
974 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
976 def __init__(self, *args):
978 __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
979 __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, ClosePairsFinder cpf, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
980 __init__(ClosePairContainer self) -> ClosePairContainer
982 _IMP_container.ClosePairContainer_swiginit(self, _IMP_container.new_ClosePairContainer(*args))
983 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)
984 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
985 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
986 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
988 def remove_pair_filter(self, d):
989 r"""remove_pair_filter(ClosePairContainer self, PairPredicate d)"""
990 return _IMP_container.ClosePairContainer_remove_pair_filter(self, d)
992 def _python_index_pair_filter(self, d, start, stop):
993 r"""_python_index_pair_filter(ClosePairContainer self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
994 return _IMP_container.ClosePairContainer__python_index_pair_filter(self, d, start, stop)
996 def remove_pair_filters(self, d):
997 r"""remove_pair_filters(ClosePairContainer self, IMP::PairPredicates const & d)"""
998 return _IMP_container.ClosePairContainer_remove_pair_filters(self, d)
1000 def set_pair_filters(self, ps):
1001 r"""set_pair_filters(ClosePairContainer self, IMP::PairPredicates const & ps)"""
1002 return _IMP_container.ClosePairContainer_set_pair_filters(self, ps)
1004 def set_pair_filters_order(self, objs):
1005 r"""set_pair_filters_order(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1006 return _IMP_container.ClosePairContainer_set_pair_filters_order(self, objs)
1008 def add_pair_filter(self, obj):
1009 r"""add_pair_filter(ClosePairContainer self, PairPredicate obj) -> unsigned int"""
1010 return _IMP_container.ClosePairContainer_add_pair_filter(self, obj)
1012 def add_pair_filters(self, objs):
1013 r"""add_pair_filters(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1014 return _IMP_container.ClosePairContainer_add_pair_filters(self, objs)
1016 def clear_pair_filters(self):
1017 r"""clear_pair_filters(ClosePairContainer self)"""
1018 return _IMP_container.ClosePairContainer_clear_pair_filters(self)
1020 def get_number_of_pair_filters(self):
1021 r"""get_number_of_pair_filters(ClosePairContainer self) -> unsigned int"""
1022 return _IMP_container.ClosePairContainer_get_number_of_pair_filters(self)
1024 def get_has_pair_filters(self):
1025 r"""get_has_pair_filters(ClosePairContainer self) -> bool"""
1026 return _IMP_container.ClosePairContainer_get_has_pair_filters(self)
1028 def get_pair_filter(self, i):
1029 r"""get_pair_filter(ClosePairContainer self, unsigned int i) -> PairPredicate"""
1030 return _IMP_container.ClosePairContainer_get_pair_filter(self, i)
1032 def get_pair_filters(self):
1033 r"""get_pair_filters(ClosePairContainer self) -> IMP::PairPredicates"""
1034 return _IMP_container.ClosePairContainer_get_pair_filters(self)
1036 def erase_pair_filter(self, i):
1037 r"""erase_pair_filter(ClosePairContainer self, unsigned int i)"""
1038 return _IMP_container.ClosePairContainer_erase_pair_filter(self, i)
1040 def reserve_pair_filters(self, sz):
1041 r"""reserve_pair_filters(ClosePairContainer self, unsigned int sz)"""
1042 return _IMP_container.ClosePairContainer_reserve_pair_filters(self, sz)
1044 def set_slack(self, s):
1045 r"""set_slack(ClosePairContainer self, double s)"""
1046 return _IMP_container.ClosePairContainer_set_slack(self, s)
1048 def get_slack(self):
1049 r"""get_slack(ClosePairContainer self) -> double"""
1050 return _IMP_container.ClosePairContainer_get_slack(self)
1052 def do_get_inputs(self):
1053 r"""do_get_inputs(ClosePairContainer self) -> IMP::ModelObjectsTemp"""
1054 return _IMP_container.ClosePairContainer_do_get_inputs(self)
1056 def do_apply(self, sm):
1057 r"""do_apply(ClosePairContainer self, PairModifier sm)"""
1058 return _IMP_container.ClosePairContainer_do_apply(self, sm)
1060 def get_number_of_update_calls(self):
1061 r"""get_number_of_update_calls(ClosePairContainer self) -> unsigned int"""
1062 return _IMP_container.ClosePairContainer_get_number_of_update_calls(self)
1064 def get_number_of_full_rebuilds(self):
1065 r"""get_number_of_full_rebuilds(ClosePairContainer self) -> unsigned int"""
1066 return _IMP_container.ClosePairContainer_get_number_of_full_rebuilds(self)
1068 def get_number_of_partial_rebuilds(self):
1069 r"""get_number_of_partial_rebuilds(ClosePairContainer self) -> unsigned int"""
1070 return _IMP_container.ClosePairContainer_get_number_of_partial_rebuilds(self)
1072 def get_version_info(self):
1073 r"""get_version_info(ClosePairContainer self) -> VersionInfo"""
1074 return _IMP_container.ClosePairContainer_get_version_info(self)
1075 __swig_destroy__ = _IMP_container.delete_ClosePairContainer
1078 r"""__str__(ClosePairContainer self) -> std::string"""
1079 return _IMP_container.ClosePairContainer___str__(self)
1082 r"""__repr__(ClosePairContainer self) -> std::string"""
1083 return _IMP_container.ClosePairContainer___repr__(self)
1087 return _object_cast_to_ClosePairContainer(o)
1090 def _get_as_binary(self):
1091 r"""_get_as_binary(ClosePairContainer self) -> PyObject *"""
1092 return _IMP_container.ClosePairContainer__get_as_binary(self)
1094 def _set_from_binary(self, p):
1095 r"""_set_from_binary(ClosePairContainer self, PyObject * p)"""
1096 return _IMP_container.ClosePairContainer__set_from_binary(self, p)
1098 def __getstate__(self):
1099 p = self._get_as_binary()
1100 if len(self.__dict__) > 1:
1101 d = self.__dict__.copy()
1106 def __setstate__(self, p):
1107 if not hasattr(self,
'this'):
1109 if isinstance(p, tuple):
1111 self.__dict__.update(d)
1112 return self._set_from_binary(p)
1116 _IMP_container.ClosePairContainer_swigregister(ClosePairContainer)
1119 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"""
1120 return _IMP_container.get_slack_estimate(m, ps, upper_bound, step, restraints, derivatives, opt, cpc)
1122 r"""Proxy of C++ IMP::container::ConnectingPairContainer class."""
1124 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1126 def __init__(self, sc, error):
1127 r"""__init__(ConnectingPairContainer self, SingletonContainer sc, double error) -> ConnectingPairContainer"""
1128 _IMP_container.ConnectingPairContainer_swiginit(self, _IMP_container.new_ConnectingPairContainer(sc, error))
1130 def do_get_inputs(self):
1131 r"""do_get_inputs(ConnectingPairContainer self) -> IMP::ModelObjectsTemp"""
1132 return _IMP_container.ConnectingPairContainer_do_get_inputs(self)
1134 def do_apply(self, sm):
1135 r"""do_apply(ConnectingPairContainer self, PairModifier sm)"""
1136 return _IMP_container.ConnectingPairContainer_do_apply(self, sm)
1138 def get_version_info(self):
1139 r"""get_version_info(ConnectingPairContainer self) -> VersionInfo"""
1140 return _IMP_container.ConnectingPairContainer_get_version_info(self)
1141 __swig_destroy__ = _IMP_container.delete_ConnectingPairContainer
1144 r"""__str__(ConnectingPairContainer self) -> std::string"""
1145 return _IMP_container.ConnectingPairContainer___str__(self)
1148 r"""__repr__(ConnectingPairContainer self) -> std::string"""
1149 return _IMP_container.ConnectingPairContainer___repr__(self)
1153 return _object_cast_to_ConnectingPairContainer(o)
1157 _IMP_container.ConnectingPairContainer_swigregister(ConnectingPairContainer)
1159 r"""Proxy of C++ IMP::container::ConsecutivePairContainer class."""
1161 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1163 def __init__(self, *args):
1164 r"""__init__(ConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ConsecutivePairContainer%1%") -> ConsecutivePairContainer"""
1165 _IMP_container.ConsecutivePairContainer_swiginit(self, _IMP_container.new_ConsecutivePairContainer(*args))
1167 def do_get_inputs(self):
1168 r"""do_get_inputs(ConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1169 return _IMP_container.ConsecutivePairContainer_do_get_inputs(self)
1171 def do_apply(self, sm):
1172 r"""do_apply(ConsecutivePairContainer self, PairModifier sm)"""
1173 return _IMP_container.ConsecutivePairContainer_do_apply(self, sm)
1175 def do_apply_moved(self, sm, moved_pis, reset_pis):
1176 r"""do_apply_moved(ConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1177 return _IMP_container.ConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1179 def get_version_info(self):
1180 r"""get_version_info(ConsecutivePairContainer self) -> VersionInfo"""
1181 return _IMP_container.ConsecutivePairContainer_get_version_info(self)
1182 __swig_destroy__ = _IMP_container.delete_ConsecutivePairContainer
1185 r"""__str__(ConsecutivePairContainer self) -> std::string"""
1186 return _IMP_container.ConsecutivePairContainer___str__(self)
1189 r"""__repr__(ConsecutivePairContainer self) -> std::string"""
1190 return _IMP_container.ConsecutivePairContainer___repr__(self)
1194 return _object_cast_to_ConsecutivePairContainer(o)
1198 _IMP_container.ConsecutivePairContainer_swigregister(ConsecutivePairContainer)
1200 r"""Proxy of C++ IMP::container::ConsecutivePairFilter class."""
1202 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1204 def __init__(self, cpc):
1205 r"""__init__(ConsecutivePairFilter self, ConsecutivePairContainer cpc) -> ConsecutivePairFilter"""
1206 _IMP_container.ConsecutivePairFilter_swiginit(self, _IMP_container.new_ConsecutivePairFilter(cpc))
1208 def do_get_inputs(self, m, pi):
1209 r"""do_get_inputs(ConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1210 return _IMP_container.ConsecutivePairFilter_do_get_inputs(self, m, pi)
1212 def get_value(self, *args):
1214 get_value(ConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1215 get_value(ConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1217 return _IMP_container.ConsecutivePairFilter_get_value(self, *args)
1219 def get_value_index(self, *args):
1221 get_value_index(ConsecutivePairFilter self, Model arg2, IMP::ParticleIndexPair const & pip) -> int
1222 get_value_index(ConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1224 return _IMP_container.ConsecutivePairFilter_get_value_index(self, *args)
1226 def get_version_info(self):
1227 r"""get_version_info(ConsecutivePairFilter self) -> VersionInfo"""
1228 return _IMP_container.ConsecutivePairFilter_get_version_info(self)
1229 __swig_destroy__ = _IMP_container.delete_ConsecutivePairFilter
1232 r"""__str__(ConsecutivePairFilter self) -> std::string"""
1233 return _IMP_container.ConsecutivePairFilter___str__(self)
1236 r"""__repr__(ConsecutivePairFilter self) -> std::string"""
1237 return _IMP_container.ConsecutivePairFilter___repr__(self)
1241 return _object_cast_to_ConsecutivePairFilter(o)
1245 _IMP_container.ConsecutivePairFilter_swigregister(ConsecutivePairFilter)
1247 r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairContainer class."""
1249 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1251 def __init__(self, *args):
1252 r"""__init__(ExclusiveConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ExclusiveConsecutivePairContainer%1%") -> ExclusiveConsecutivePairContainer"""
1253 _IMP_container.ExclusiveConsecutivePairContainer_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairContainer(*args))
1255 def do_get_inputs(self):
1256 r"""do_get_inputs(ExclusiveConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1257 return _IMP_container.ExclusiveConsecutivePairContainer_do_get_inputs(self)
1259 def do_apply(self, sm):
1260 r"""do_apply(ExclusiveConsecutivePairContainer self, PairModifier sm)"""
1261 return _IMP_container.ExclusiveConsecutivePairContainer_do_apply(self, sm)
1263 def do_apply_moved(self, sm, moved_pis, reset_pis):
1264 r"""do_apply_moved(ExclusiveConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1265 return _IMP_container.ExclusiveConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1267 def get_version_info(self):
1268 r"""get_version_info(ExclusiveConsecutivePairContainer self) -> VersionInfo"""
1269 return _IMP_container.ExclusiveConsecutivePairContainer_get_version_info(self)
1270 __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairContainer
1273 r"""__str__(ExclusiveConsecutivePairContainer self) -> std::string"""
1274 return _IMP_container.ExclusiveConsecutivePairContainer___str__(self)
1277 r"""__repr__(ExclusiveConsecutivePairContainer self) -> std::string"""
1278 return _IMP_container.ExclusiveConsecutivePairContainer___repr__(self)
1282 return _object_cast_to_ExclusiveConsecutivePairContainer(o)
1286 _IMP_container.ExclusiveConsecutivePairContainer_swigregister(ExclusiveConsecutivePairContainer)
1288 r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairFilter class."""
1290 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1293 r"""__init__(ExclusiveConsecutivePairFilter self) -> ExclusiveConsecutivePairFilter"""
1294 _IMP_container.ExclusiveConsecutivePairFilter_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairFilter())
1296 def do_get_inputs(self, m, pi):
1297 r"""do_get_inputs(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1298 return _IMP_container.ExclusiveConsecutivePairFilter_do_get_inputs(self, m, pi)
1300 def get_value(self, *args):
1302 get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1303 get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1305 return _IMP_container.ExclusiveConsecutivePairFilter_get_value(self, *args)
1307 def get_value_index(self, *args):
1309 get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPair const & pip) -> int
1310 get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1312 return _IMP_container.ExclusiveConsecutivePairFilter_get_value_index(self, *args)
1314 def get_version_info(self):
1315 r"""get_version_info(ExclusiveConsecutivePairFilter self) -> VersionInfo"""
1316 return _IMP_container.ExclusiveConsecutivePairFilter_get_version_info(self)
1317 __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairFilter
1320 r"""__str__(ExclusiveConsecutivePairFilter self) -> std::string"""
1321 return _IMP_container.ExclusiveConsecutivePairFilter___str__(self)
1324 r"""__repr__(ExclusiveConsecutivePairFilter self) -> std::string"""
1325 return _IMP_container.ExclusiveConsecutivePairFilter___repr__(self)
1329 return _object_cast_to_ExclusiveConsecutivePairFilter(o)
1333 _IMP_container.ExclusiveConsecutivePairFilter_swigregister(ExclusiveConsecutivePairFilter)
1335 r"""Proxy of C++ IMP::container::ListPairContainer class."""
1337 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1339 def __init__(self, *args):
1341 __init__(ListPairContainer self, Model m, IMP::ParticleIndexPairs const & contents, std::string name="ListPairContainer%1%") -> ListPairContainer
1342 __init__(ListPairContainer self, Model m, std::string name="ListPairContainer %1%") -> ListPairContainer
1343 __init__(ListPairContainer self, Model m, char const * name) -> ListPairContainer
1344 __init__(ListPairContainer self) -> ListPairContainer
1346 _IMP_container.ListPairContainer_swiginit(self, _IMP_container.new_ListPairContainer(*args))
1348 def add(self, *args):
1350 add(ListPairContainer self, IMP::ParticleIndexPair const & vt)
1351 add(ListPairContainer self, IMP::ParticleIndexPairs const & c)
1353 return _IMP_container.ListPairContainer_add(self, *args)
1356 r"""set(ListPairContainer self, IMP::ParticleIndexPairs cp)"""
1357 return _IMP_container.ListPairContainer_set(self, cp)
1360 r"""clear(ListPairContainer self)"""
1361 return _IMP_container.ListPairContainer_clear(self)
1363 def do_get_inputs(self):
1364 r"""do_get_inputs(ListPairContainer self) -> IMP::ModelObjectsTemp"""
1365 return _IMP_container.ListPairContainer_do_get_inputs(self)
1367 def do_apply(self, sm):
1368 r"""do_apply(ListPairContainer self, PairModifier sm)"""
1369 return _IMP_container.ListPairContainer_do_apply(self, sm)
1371 def do_apply_moved(self, sm, moved_pis, reset_pis):
1372 r"""do_apply_moved(ListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1373 return _IMP_container.ListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1375 def get_version_info(self):
1376 r"""get_version_info(ListPairContainer self) -> VersionInfo"""
1377 return _IMP_container.ListPairContainer_get_version_info(self)
1378 __swig_destroy__ = _IMP_container.delete_ListPairContainer
1381 r"""__str__(ListPairContainer self) -> std::string"""
1382 return _IMP_container.ListPairContainer___str__(self)
1385 r"""__repr__(ListPairContainer self) -> std::string"""
1386 return _IMP_container.ListPairContainer___repr__(self)
1390 return _object_cast_to_ListPairContainer(o)
1393 def _get_as_binary(self):
1394 r"""_get_as_binary(ListPairContainer self) -> PyObject *"""
1395 return _IMP_container.ListPairContainer__get_as_binary(self)
1397 def _set_from_binary(self, p):
1398 r"""_set_from_binary(ListPairContainer self, PyObject * p)"""
1399 return _IMP_container.ListPairContainer__set_from_binary(self, p)
1401 def __getstate__(self):
1402 p = self._get_as_binary()
1403 if len(self.__dict__) > 1:
1404 d = self.__dict__.copy()
1409 def __setstate__(self, p):
1410 if not hasattr(self,
'this'):
1412 if isinstance(p, tuple):
1414 self.__dict__.update(d)
1415 return self._set_from_binary(p)
1419 _IMP_container.ListPairContainer_swigregister(ListPairContainer)
1421 r"""Proxy of C++ IMP::container::ListQuadContainer class."""
1423 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1425 def __init__(self, *args):
1427 __init__(ListQuadContainer self, Model m, IMP::ParticleIndexQuads const & contents, std::string name="ListQuadContainer%1%") -> ListQuadContainer
1428 __init__(ListQuadContainer self, Model m, std::string name="ListQuadContainer %1%") -> ListQuadContainer
1429 __init__(ListQuadContainer self, Model m, char const * name) -> ListQuadContainer
1430 __init__(ListQuadContainer self) -> ListQuadContainer
1432 _IMP_container.ListQuadContainer_swiginit(self, _IMP_container.new_ListQuadContainer(*args))
1434 def add(self, *args):
1436 add(ListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1437 add(ListQuadContainer self, IMP::ParticleIndexQuads const & c)
1439 return _IMP_container.ListQuadContainer_add(self, *args)
1442 r"""set(ListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1443 return _IMP_container.ListQuadContainer_set(self, cp)
1446 r"""clear(ListQuadContainer self)"""
1447 return _IMP_container.ListQuadContainer_clear(self)
1449 def do_get_inputs(self):
1450 r"""do_get_inputs(ListQuadContainer self) -> IMP::ModelObjectsTemp"""
1451 return _IMP_container.ListQuadContainer_do_get_inputs(self)
1453 def do_apply(self, sm):
1454 r"""do_apply(ListQuadContainer self, QuadModifier sm)"""
1455 return _IMP_container.ListQuadContainer_do_apply(self, sm)
1457 def do_apply_moved(self, sm, moved_pis, reset_pis):
1458 r"""do_apply_moved(ListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1459 return _IMP_container.ListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1461 def get_version_info(self):
1462 r"""get_version_info(ListQuadContainer self) -> VersionInfo"""
1463 return _IMP_container.ListQuadContainer_get_version_info(self)
1464 __swig_destroy__ = _IMP_container.delete_ListQuadContainer
1467 r"""__str__(ListQuadContainer self) -> std::string"""
1468 return _IMP_container.ListQuadContainer___str__(self)
1471 r"""__repr__(ListQuadContainer self) -> std::string"""
1472 return _IMP_container.ListQuadContainer___repr__(self)
1476 return _object_cast_to_ListQuadContainer(o)
1479 def _get_as_binary(self):
1480 r"""_get_as_binary(ListQuadContainer self) -> PyObject *"""
1481 return _IMP_container.ListQuadContainer__get_as_binary(self)
1483 def _set_from_binary(self, p):
1484 r"""_set_from_binary(ListQuadContainer self, PyObject * p)"""
1485 return _IMP_container.ListQuadContainer__set_from_binary(self, p)
1487 def __getstate__(self):
1488 p = self._get_as_binary()
1489 if len(self.__dict__) > 1:
1490 d = self.__dict__.copy()
1495 def __setstate__(self, p):
1496 if not hasattr(self,
'this'):
1498 if isinstance(p, tuple):
1500 self.__dict__.update(d)
1501 return self._set_from_binary(p)
1505 _IMP_container.ListQuadContainer_swigregister(ListQuadContainer)
1507 r"""Proxy of C++ IMP::container::ListSingletonContainer class."""
1509 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1511 def __init__(self, *args):
1513 __init__(ListSingletonContainer self, Model m, IMP::ParticleIndexes const & contents, std::string name="ListSingletonContainer%1%") -> ListSingletonContainer
1514 __init__(ListSingletonContainer self, Model m, std::string name="ListSingletonContainer %1%") -> ListSingletonContainer
1515 __init__(ListSingletonContainer self, Model m, char const * name) -> ListSingletonContainer
1516 __init__(ListSingletonContainer self) -> ListSingletonContainer
1518 _IMP_container.ListSingletonContainer_swiginit(self, _IMP_container.new_ListSingletonContainer(*args))
1520 def add(self, *args):
1522 add(ListSingletonContainer self, ParticleIndex vt)
1523 add(ListSingletonContainer self, IMP::ParticleIndexes const & c)
1525 return _IMP_container.ListSingletonContainer_add(self, *args)
1528 r"""set(ListSingletonContainer self, IMP::ParticleIndexes cp)"""
1529 return _IMP_container.ListSingletonContainer_set(self, cp)
1532 r"""clear(ListSingletonContainer self)"""
1533 return _IMP_container.ListSingletonContainer_clear(self)
1535 def do_get_inputs(self):
1536 r"""do_get_inputs(ListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1537 return _IMP_container.ListSingletonContainer_do_get_inputs(self)
1539 def do_apply(self, sm):
1540 r"""do_apply(ListSingletonContainer self, SingletonModifier sm)"""
1541 return _IMP_container.ListSingletonContainer_do_apply(self, sm)
1543 def do_apply_moved(self, sm, moved_pis, reset_pis):
1544 r"""do_apply_moved(ListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1545 return _IMP_container.ListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1547 def get_version_info(self):
1548 r"""get_version_info(ListSingletonContainer self) -> VersionInfo"""
1549 return _IMP_container.ListSingletonContainer_get_version_info(self)
1550 __swig_destroy__ = _IMP_container.delete_ListSingletonContainer
1553 r"""__str__(ListSingletonContainer self) -> std::string"""
1554 return _IMP_container.ListSingletonContainer___str__(self)
1557 r"""__repr__(ListSingletonContainer self) -> std::string"""
1558 return _IMP_container.ListSingletonContainer___repr__(self)
1562 return _object_cast_to_ListSingletonContainer(o)
1565 def _get_as_binary(self):
1566 r"""_get_as_binary(ListSingletonContainer self) -> PyObject *"""
1567 return _IMP_container.ListSingletonContainer__get_as_binary(self)
1569 def _set_from_binary(self, p):
1570 r"""_set_from_binary(ListSingletonContainer self, PyObject * p)"""
1571 return _IMP_container.ListSingletonContainer__set_from_binary(self, p)
1573 def __getstate__(self):
1574 p = self._get_as_binary()
1575 if len(self.__dict__) > 1:
1576 d = self.__dict__.copy()
1581 def __setstate__(self, p):
1582 if not hasattr(self,
'this'):
1584 if isinstance(p, tuple):
1586 self.__dict__.update(d)
1587 return self._set_from_binary(p)
1591 _IMP_container.ListSingletonContainer_swigregister(ListSingletonContainer)
1593 r"""Proxy of C++ IMP::container::ListTripletContainer class."""
1595 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1597 def __init__(self, *args):
1599 __init__(ListTripletContainer self, Model m, IMP::ParticleIndexTriplets const & contents, std::string name="ListTripletContainer%1%") -> ListTripletContainer
1600 __init__(ListTripletContainer self, Model m, std::string name="ListTripletContainer %1%") -> ListTripletContainer
1601 __init__(ListTripletContainer self, Model m, char const * name) -> ListTripletContainer
1602 __init__(ListTripletContainer self) -> ListTripletContainer
1604 _IMP_container.ListTripletContainer_swiginit(self, _IMP_container.new_ListTripletContainer(*args))
1606 def add(self, *args):
1608 add(ListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1609 add(ListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1611 return _IMP_container.ListTripletContainer_add(self, *args)
1614 r"""set(ListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1615 return _IMP_container.ListTripletContainer_set(self, cp)
1618 r"""clear(ListTripletContainer self)"""
1619 return _IMP_container.ListTripletContainer_clear(self)
1621 def do_get_inputs(self):
1622 r"""do_get_inputs(ListTripletContainer self) -> IMP::ModelObjectsTemp"""
1623 return _IMP_container.ListTripletContainer_do_get_inputs(self)
1625 def do_apply(self, sm):
1626 r"""do_apply(ListTripletContainer self, TripletModifier sm)"""
1627 return _IMP_container.ListTripletContainer_do_apply(self, sm)
1629 def do_apply_moved(self, sm, moved_pis, reset_pis):
1630 r"""do_apply_moved(ListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1631 return _IMP_container.ListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1633 def get_version_info(self):
1634 r"""get_version_info(ListTripletContainer self) -> VersionInfo"""
1635 return _IMP_container.ListTripletContainer_get_version_info(self)
1636 __swig_destroy__ = _IMP_container.delete_ListTripletContainer
1639 r"""__str__(ListTripletContainer self) -> std::string"""
1640 return _IMP_container.ListTripletContainer___str__(self)
1643 r"""__repr__(ListTripletContainer self) -> std::string"""
1644 return _IMP_container.ListTripletContainer___repr__(self)
1648 return _object_cast_to_ListTripletContainer(o)
1651 def _get_as_binary(self):
1652 r"""_get_as_binary(ListTripletContainer self) -> PyObject *"""
1653 return _IMP_container.ListTripletContainer__get_as_binary(self)
1655 def _set_from_binary(self, p):
1656 r"""_set_from_binary(ListTripletContainer self, PyObject * p)"""
1657 return _IMP_container.ListTripletContainer__set_from_binary(self, p)
1659 def __getstate__(self):
1660 p = self._get_as_binary()
1661 if len(self.__dict__) > 1:
1662 d = self.__dict__.copy()
1667 def __setstate__(self, p):
1668 if not hasattr(self,
'this'):
1670 if isinstance(p, tuple):
1672 self.__dict__.update(d)
1673 return self._set_from_binary(p)
1677 _IMP_container.ListTripletContainer_swigregister(ListTripletContainer)
1679 r"""Proxy of C++ IMP::container::DynamicListPairContainer class."""
1681 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1683 def __init__(self, *args, **kwargs):
1684 raise AttributeError(
"No constructor defined - class is abstract")
1686 def add(self, *args):
1688 add(DynamicListPairContainer self, IMP::ParticleIndexPair const & vt)
1689 add(DynamicListPairContainer self, IMP::ParticleIndexPairs const & c)
1691 return _IMP_container.DynamicListPairContainer_add(self, *args)
1694 r"""set(DynamicListPairContainer self, IMP::ParticleIndexPairs cp)"""
1695 return _IMP_container.DynamicListPairContainer_set(self, cp)
1698 r"""clear(DynamicListPairContainer self)"""
1699 return _IMP_container.DynamicListPairContainer_clear(self)
1701 def do_get_inputs(self):
1702 r"""do_get_inputs(DynamicListPairContainer self) -> IMP::ModelObjectsTemp"""
1703 return _IMP_container.DynamicListPairContainer_do_get_inputs(self)
1705 def do_apply(self, sm):
1706 r"""do_apply(DynamicListPairContainer self, PairModifier sm)"""
1707 return _IMP_container.DynamicListPairContainer_do_apply(self, sm)
1709 def do_apply_moved(self, sm, moved_pis, reset_pis):
1710 r"""do_apply_moved(DynamicListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1711 return _IMP_container.DynamicListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1713 def get_version_info(self):
1714 r"""get_version_info(DynamicListPairContainer self) -> VersionInfo"""
1715 return _IMP_container.DynamicListPairContainer_get_version_info(self)
1716 __swig_destroy__ = _IMP_container.delete_DynamicListPairContainer
1719 r"""__str__(DynamicListPairContainer self) -> std::string"""
1720 return _IMP_container.DynamicListPairContainer___str__(self)
1723 r"""__repr__(DynamicListPairContainer self) -> std::string"""
1724 return _IMP_container.DynamicListPairContainer___repr__(self)
1728 return _object_cast_to_DynamicListPairContainer(o)
1732 _IMP_container.DynamicListPairContainer_swigregister(DynamicListPairContainer)
1734 r"""Proxy of C++ IMP::container::DynamicListQuadContainer class."""
1736 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1738 def __init__(self, *args, **kwargs):
1739 raise AttributeError(
"No constructor defined - class is abstract")
1741 def add(self, *args):
1743 add(DynamicListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1744 add(DynamicListQuadContainer self, IMP::ParticleIndexQuads const & c)
1746 return _IMP_container.DynamicListQuadContainer_add(self, *args)
1749 r"""set(DynamicListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1750 return _IMP_container.DynamicListQuadContainer_set(self, cp)
1753 r"""clear(DynamicListQuadContainer self)"""
1754 return _IMP_container.DynamicListQuadContainer_clear(self)
1756 def do_get_inputs(self):
1757 r"""do_get_inputs(DynamicListQuadContainer self) -> IMP::ModelObjectsTemp"""
1758 return _IMP_container.DynamicListQuadContainer_do_get_inputs(self)
1760 def do_apply(self, sm):
1761 r"""do_apply(DynamicListQuadContainer self, QuadModifier sm)"""
1762 return _IMP_container.DynamicListQuadContainer_do_apply(self, sm)
1764 def do_apply_moved(self, sm, moved_pis, reset_pis):
1765 r"""do_apply_moved(DynamicListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1766 return _IMP_container.DynamicListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1768 def get_version_info(self):
1769 r"""get_version_info(DynamicListQuadContainer self) -> VersionInfo"""
1770 return _IMP_container.DynamicListQuadContainer_get_version_info(self)
1771 __swig_destroy__ = _IMP_container.delete_DynamicListQuadContainer
1774 r"""__str__(DynamicListQuadContainer self) -> std::string"""
1775 return _IMP_container.DynamicListQuadContainer___str__(self)
1778 r"""__repr__(DynamicListQuadContainer self) -> std::string"""
1779 return _IMP_container.DynamicListQuadContainer___repr__(self)
1783 return _object_cast_to_DynamicListQuadContainer(o)
1787 _IMP_container.DynamicListQuadContainer_swigregister(DynamicListQuadContainer)
1789 r"""Proxy of C++ IMP::container::DynamicListSingletonContainer class."""
1791 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1793 def __init__(self, *args, **kwargs):
1794 raise AttributeError(
"No constructor defined - class is abstract")
1796 def add(self, *args):
1798 add(DynamicListSingletonContainer self, ParticleIndex vt)
1799 add(DynamicListSingletonContainer self, IMP::ParticleIndexes const & c)
1801 return _IMP_container.DynamicListSingletonContainer_add(self, *args)
1804 r"""set(DynamicListSingletonContainer self, IMP::ParticleIndexes cp)"""
1805 return _IMP_container.DynamicListSingletonContainer_set(self, cp)
1808 r"""clear(DynamicListSingletonContainer self)"""
1809 return _IMP_container.DynamicListSingletonContainer_clear(self)
1811 def do_get_inputs(self):
1812 r"""do_get_inputs(DynamicListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1813 return _IMP_container.DynamicListSingletonContainer_do_get_inputs(self)
1815 def do_apply(self, sm):
1816 r"""do_apply(DynamicListSingletonContainer self, SingletonModifier sm)"""
1817 return _IMP_container.DynamicListSingletonContainer_do_apply(self, sm)
1819 def do_apply_moved(self, sm, moved_pis, reset_pis):
1820 r"""do_apply_moved(DynamicListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1821 return _IMP_container.DynamicListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1823 def get_version_info(self):
1824 r"""get_version_info(DynamicListSingletonContainer self) -> VersionInfo"""
1825 return _IMP_container.DynamicListSingletonContainer_get_version_info(self)
1826 __swig_destroy__ = _IMP_container.delete_DynamicListSingletonContainer
1829 r"""__str__(DynamicListSingletonContainer self) -> std::string"""
1830 return _IMP_container.DynamicListSingletonContainer___str__(self)
1833 r"""__repr__(DynamicListSingletonContainer self) -> std::string"""
1834 return _IMP_container.DynamicListSingletonContainer___repr__(self)
1838 return _object_cast_to_DynamicListSingletonContainer(o)
1842 _IMP_container.DynamicListSingletonContainer_swigregister(DynamicListSingletonContainer)
1844 r"""Proxy of C++ IMP::container::DynamicListTripletContainer class."""
1846 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1848 def __init__(self, *args, **kwargs):
1849 raise AttributeError(
"No constructor defined - class is abstract")
1851 def add(self, *args):
1853 add(DynamicListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1854 add(DynamicListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1856 return _IMP_container.DynamicListTripletContainer_add(self, *args)
1859 r"""set(DynamicListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1860 return _IMP_container.DynamicListTripletContainer_set(self, cp)
1863 r"""clear(DynamicListTripletContainer self)"""
1864 return _IMP_container.DynamicListTripletContainer_clear(self)
1866 def do_get_inputs(self):
1867 r"""do_get_inputs(DynamicListTripletContainer self) -> IMP::ModelObjectsTemp"""
1868 return _IMP_container.DynamicListTripletContainer_do_get_inputs(self)
1870 def do_apply(self, sm):
1871 r"""do_apply(DynamicListTripletContainer self, TripletModifier sm)"""
1872 return _IMP_container.DynamicListTripletContainer_do_apply(self, sm)
1874 def do_apply_moved(self, sm, moved_pis, reset_pis):
1875 r"""do_apply_moved(DynamicListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1876 return _IMP_container.DynamicListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1878 def get_version_info(self):
1879 r"""get_version_info(DynamicListTripletContainer self) -> VersionInfo"""
1880 return _IMP_container.DynamicListTripletContainer_get_version_info(self)
1881 __swig_destroy__ = _IMP_container.delete_DynamicListTripletContainer
1884 r"""__str__(DynamicListTripletContainer self) -> std::string"""
1885 return _IMP_container.DynamicListTripletContainer___str__(self)
1888 r"""__repr__(DynamicListTripletContainer self) -> std::string"""
1889 return _IMP_container.DynamicListTripletContainer___repr__(self)
1893 return _object_cast_to_DynamicListTripletContainer(o)
1897 _IMP_container.DynamicListTripletContainer_swigregister(DynamicListTripletContainer)
1899 r"""Proxy of C++ IMP::container::MinimumPairRestraint class."""
1901 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1903 def __init__(self, *args):
1904 r"""__init__(MinimumPairRestraint self, PairScore f, _PairContainerAdaptor c, unsigned int n=1, std::string name="MinimumPairRestraint %1%") -> MinimumPairRestraint"""
1905 _IMP_container.MinimumPairRestraint_swiginit(self, _IMP_container.new_MinimumPairRestraint(*args))
1907 def do_get_inputs(self):
1908 r"""do_get_inputs(MinimumPairRestraint self) -> IMP::ModelObjectsTemp"""
1909 return _IMP_container.MinimumPairRestraint_do_get_inputs(self)
1911 def get_version_info(self):
1912 r"""get_version_info(MinimumPairRestraint self) -> VersionInfo"""
1913 return _IMP_container.MinimumPairRestraint_get_version_info(self)
1914 __swig_destroy__ = _IMP_container.delete_MinimumPairRestraint
1917 r"""set_n(MinimumPairRestraint self, unsigned int n)"""
1918 return _IMP_container.MinimumPairRestraint_set_n(self, n)
1920 def do_create_current_decomposition(self):
1921 r"""do_create_current_decomposition(MinimumPairRestraint self) -> IMP::Restraints"""
1922 return _IMP_container.MinimumPairRestraint_do_create_current_decomposition(self)
1925 r"""__str__(MinimumPairRestraint self) -> std::string"""
1926 return _IMP_container.MinimumPairRestraint___str__(self)
1929 r"""__repr__(MinimumPairRestraint self) -> std::string"""
1930 return _IMP_container.MinimumPairRestraint___repr__(self)
1934 return _object_cast_to_MinimumPairRestraint(o)
1938 _IMP_container.MinimumPairRestraint_swigregister(MinimumPairRestraint)
1940 r"""Proxy of C++ IMP::container::MinimumPairScore class."""
1942 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1944 def __init__(self, *args):
1945 r"""__init__(MinimumPairScore self, IMP::PairScoresTemp const & scores, unsigned int n=1, std::string name="PairScore %1%") -> MinimumPairScore"""
1946 _IMP_container.MinimumPairScore_swiginit(self, _IMP_container.new_MinimumPairScore(*args))
1948 def do_get_inputs(self, m, pis):
1949 r"""do_get_inputs(MinimumPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1950 return _IMP_container.MinimumPairScore_do_get_inputs(self, m, pis)
1952 def get_version_info(self):
1953 r"""get_version_info(MinimumPairScore self) -> VersionInfo"""
1954 return _IMP_container.MinimumPairScore_get_version_info(self)
1955 __swig_destroy__ = _IMP_container.delete_MinimumPairScore
1957 def do_create_current_decomposition(self, m, vt):
1958 r"""do_create_current_decomposition(MinimumPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
1959 return _IMP_container.MinimumPairScore_do_create_current_decomposition(self, m, vt)
1962 r"""__str__(MinimumPairScore self) -> std::string"""
1963 return _IMP_container.MinimumPairScore___str__(self)
1966 r"""__repr__(MinimumPairScore self) -> std::string"""
1967 return _IMP_container.MinimumPairScore___repr__(self)
1971 return _object_cast_to_MinimumPairScore(o)
1975 _IMP_container.MinimumPairScore_swigregister(MinimumPairScore)
1977 r"""Proxy of C++ IMP::container::MinimumQuadRestraint class."""
1979 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1981 def __init__(self, *args):
1982 r"""__init__(MinimumQuadRestraint self, QuadScore f, _QuadContainerAdaptor c, unsigned int n=1, std::string name="MinimumQuadRestraint %1%") -> MinimumQuadRestraint"""
1983 _IMP_container.MinimumQuadRestraint_swiginit(self, _IMP_container.new_MinimumQuadRestraint(*args))
1985 def do_get_inputs(self):
1986 r"""do_get_inputs(MinimumQuadRestraint self) -> IMP::ModelObjectsTemp"""
1987 return _IMP_container.MinimumQuadRestraint_do_get_inputs(self)
1989 def get_version_info(self):
1990 r"""get_version_info(MinimumQuadRestraint self) -> VersionInfo"""
1991 return _IMP_container.MinimumQuadRestraint_get_version_info(self)
1992 __swig_destroy__ = _IMP_container.delete_MinimumQuadRestraint
1995 r"""set_n(MinimumQuadRestraint self, unsigned int n)"""
1996 return _IMP_container.MinimumQuadRestraint_set_n(self, n)
1998 def do_create_current_decomposition(self):
1999 r"""do_create_current_decomposition(MinimumQuadRestraint self) -> IMP::Restraints"""
2000 return _IMP_container.MinimumQuadRestraint_do_create_current_decomposition(self)
2003 r"""__str__(MinimumQuadRestraint self) -> std::string"""
2004 return _IMP_container.MinimumQuadRestraint___str__(self)
2007 r"""__repr__(MinimumQuadRestraint self) -> std::string"""
2008 return _IMP_container.MinimumQuadRestraint___repr__(self)
2012 return _object_cast_to_MinimumQuadRestraint(o)
2016 _IMP_container.MinimumQuadRestraint_swigregister(MinimumQuadRestraint)
2018 r"""Proxy of C++ IMP::container::MinimumQuadScore class."""
2020 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2022 def __init__(self, *args):
2023 r"""__init__(MinimumQuadScore self, IMP::QuadScoresTemp const & scores, unsigned int n=1, std::string name="QuadScore %1%") -> MinimumQuadScore"""
2024 _IMP_container.MinimumQuadScore_swiginit(self, _IMP_container.new_MinimumQuadScore(*args))
2026 def do_get_inputs(self, m, pis):
2027 r"""do_get_inputs(MinimumQuadScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2028 return _IMP_container.MinimumQuadScore_do_get_inputs(self, m, pis)
2030 def get_version_info(self):
2031 r"""get_version_info(MinimumQuadScore self) -> VersionInfo"""
2032 return _IMP_container.MinimumQuadScore_get_version_info(self)
2033 __swig_destroy__ = _IMP_container.delete_MinimumQuadScore
2035 def do_create_current_decomposition(self, m, vt):
2036 r"""do_create_current_decomposition(MinimumQuadScore self, Model m, IMP::ParticleIndexQuad const & vt) -> IMP::Restraints"""
2037 return _IMP_container.MinimumQuadScore_do_create_current_decomposition(self, m, vt)
2040 r"""__str__(MinimumQuadScore self) -> std::string"""
2041 return _IMP_container.MinimumQuadScore___str__(self)
2044 r"""__repr__(MinimumQuadScore self) -> std::string"""
2045 return _IMP_container.MinimumQuadScore___repr__(self)
2049 return _object_cast_to_MinimumQuadScore(o)
2053 _IMP_container.MinimumQuadScore_swigregister(MinimumQuadScore)
2055 r"""Proxy of C++ IMP::container::MinimumSingletonRestraint class."""
2057 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2059 def __init__(self, *args):
2060 r"""__init__(MinimumSingletonRestraint self, SingletonScore f, _SingletonContainerAdaptor c, unsigned int n=1, std::string name="MinimumSingletonRestraint %1%") -> MinimumSingletonRestraint"""
2061 _IMP_container.MinimumSingletonRestraint_swiginit(self, _IMP_container.new_MinimumSingletonRestraint(*args))
2063 def do_get_inputs(self):
2064 r"""do_get_inputs(MinimumSingletonRestraint self) -> IMP::ModelObjectsTemp"""
2065 return _IMP_container.MinimumSingletonRestraint_do_get_inputs(self)
2067 def get_version_info(self):
2068 r"""get_version_info(MinimumSingletonRestraint self) -> VersionInfo"""
2069 return _IMP_container.MinimumSingletonRestraint_get_version_info(self)
2070 __swig_destroy__ = _IMP_container.delete_MinimumSingletonRestraint
2073 r"""set_n(MinimumSingletonRestraint self, unsigned int n)"""
2074 return _IMP_container.MinimumSingletonRestraint_set_n(self, n)
2076 def do_create_current_decomposition(self):
2077 r"""do_create_current_decomposition(MinimumSingletonRestraint self) -> IMP::Restraints"""
2078 return _IMP_container.MinimumSingletonRestraint_do_create_current_decomposition(self)
2081 r"""__str__(MinimumSingletonRestraint self) -> std::string"""
2082 return _IMP_container.MinimumSingletonRestraint___str__(self)
2085 r"""__repr__(MinimumSingletonRestraint self) -> std::string"""
2086 return _IMP_container.MinimumSingletonRestraint___repr__(self)
2090 return _object_cast_to_MinimumSingletonRestraint(o)
2094 _IMP_container.MinimumSingletonRestraint_swigregister(MinimumSingletonRestraint)
2096 r"""Proxy of C++ IMP::container::MinimumSingletonScore class."""
2098 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2100 def __init__(self, *args):
2101 r"""__init__(MinimumSingletonScore self, IMP::SingletonScoresTemp const & scores, unsigned int n=1, std::string name="SingletonScore %1%") -> MinimumSingletonScore"""
2102 _IMP_container.MinimumSingletonScore_swiginit(self, _IMP_container.new_MinimumSingletonScore(*args))
2104 def do_get_inputs(self, m, pis):
2105 r"""do_get_inputs(MinimumSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2106 return _IMP_container.MinimumSingletonScore_do_get_inputs(self, m, pis)
2108 def get_version_info(self):
2109 r"""get_version_info(MinimumSingletonScore self) -> VersionInfo"""
2110 return _IMP_container.MinimumSingletonScore_get_version_info(self)
2111 __swig_destroy__ = _IMP_container.delete_MinimumSingletonScore
2113 def do_create_current_decomposition(self, m, vt):
2114 r"""do_create_current_decomposition(MinimumSingletonScore self, Model m, ParticleIndex vt) -> IMP::Restraints"""
2115 return _IMP_container.MinimumSingletonScore_do_create_current_decomposition(self, m, vt)
2118 r"""__str__(MinimumSingletonScore self) -> std::string"""
2119 return _IMP_container.MinimumSingletonScore___str__(self)
2122 r"""__repr__(MinimumSingletonScore self) -> std::string"""
2123 return _IMP_container.MinimumSingletonScore___repr__(self)
2127 return _object_cast_to_MinimumSingletonScore(o)
2131 _IMP_container.MinimumSingletonScore_swigregister(MinimumSingletonScore)
2133 r"""Proxy of C++ IMP::container::MinimumTripletRestraint class."""
2135 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2137 def __init__(self, *args):
2138 r"""__init__(MinimumTripletRestraint self, TripletScore f, _TripletContainerAdaptor c, unsigned int n=1, std::string name="MinimumTripletRestraint %1%") -> MinimumTripletRestraint"""
2139 _IMP_container.MinimumTripletRestraint_swiginit(self, _IMP_container.new_MinimumTripletRestraint(*args))
2141 def do_get_inputs(self):
2142 r"""do_get_inputs(MinimumTripletRestraint self) -> IMP::ModelObjectsTemp"""
2143 return _IMP_container.MinimumTripletRestraint_do_get_inputs(self)
2145 def get_version_info(self):
2146 r"""get_version_info(MinimumTripletRestraint self) -> VersionInfo"""
2147 return _IMP_container.MinimumTripletRestraint_get_version_info(self)
2148 __swig_destroy__ = _IMP_container.delete_MinimumTripletRestraint
2151 r"""set_n(MinimumTripletRestraint self, unsigned int n)"""
2152 return _IMP_container.MinimumTripletRestraint_set_n(self, n)
2154 def do_create_current_decomposition(self):
2155 r"""do_create_current_decomposition(MinimumTripletRestraint self) -> IMP::Restraints"""
2156 return _IMP_container.MinimumTripletRestraint_do_create_current_decomposition(self)
2159 r"""__str__(MinimumTripletRestraint self) -> std::string"""
2160 return _IMP_container.MinimumTripletRestraint___str__(self)
2163 r"""__repr__(MinimumTripletRestraint self) -> std::string"""
2164 return _IMP_container.MinimumTripletRestraint___repr__(self)
2168 return _object_cast_to_MinimumTripletRestraint(o)
2172 _IMP_container.MinimumTripletRestraint_swigregister(MinimumTripletRestraint)
2174 r"""Proxy of C++ IMP::container::MinimumTripletScore class."""
2176 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2178 def __init__(self, *args):
2179 r"""__init__(MinimumTripletScore self, IMP::TripletScoresTemp const & scores, unsigned int n=1, std::string name="TripletScore %1%") -> MinimumTripletScore"""
2180 _IMP_container.MinimumTripletScore_swiginit(self, _IMP_container.new_MinimumTripletScore(*args))
2182 def do_get_inputs(self, m, pis):
2183 r"""do_get_inputs(MinimumTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2184 return _IMP_container.MinimumTripletScore_do_get_inputs(self, m, pis)
2186 def get_version_info(self):
2187 r"""get_version_info(MinimumTripletScore self) -> VersionInfo"""
2188 return _IMP_container.MinimumTripletScore_get_version_info(self)
2189 __swig_destroy__ = _IMP_container.delete_MinimumTripletScore
2191 def do_create_current_decomposition(self, m, vt):
2192 r"""do_create_current_decomposition(MinimumTripletScore self, Model m, IMP::ParticleIndexTriplet const & vt) -> IMP::Restraints"""
2193 return _IMP_container.MinimumTripletScore_do_create_current_decomposition(self, m, vt)
2196 r"""__str__(MinimumTripletScore self) -> std::string"""
2197 return _IMP_container.MinimumTripletScore___str__(self)
2200 r"""__repr__(MinimumTripletScore self) -> std::string"""
2201 return _IMP_container.MinimumTripletScore___repr__(self)
2205 return _object_cast_to_MinimumTripletScore(o)
2209 _IMP_container.MinimumTripletScore_swigregister(MinimumTripletScore)
2211 r"""Proxy of C++ IMP::container::PairContainerSet class."""
2213 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2215 def __init__(self, *args):
2217 __init__(PairContainerSet self, Model m, std::string name="PairContainerSet %1%") -> PairContainerSet
2218 __init__(PairContainerSet self, IMP::PairContainersTemp const & pc, std::string name="PairContainerSet %1%") -> PairContainerSet
2220 _IMP_container.PairContainerSet_swiginit(self, _IMP_container.new_PairContainerSet(*args))
2222 def do_apply(self, sm):
2223 r"""do_apply(PairContainerSet self, PairModifier sm)"""
2224 return _IMP_container.PairContainerSet_do_apply(self, sm)
2226 def do_apply_moved(self, sm, moved_pis, reset_pis):
2227 r"""do_apply_moved(PairContainerSet self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2228 return _IMP_container.PairContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2230 def get_version_info(self):
2231 r"""get_version_info(PairContainerSet self) -> VersionInfo"""
2232 return _IMP_container.PairContainerSet_get_version_info(self)
2233 __swig_destroy__ = _IMP_container.delete_PairContainerSet
2234 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)
2235 def __set_pair_containers(self, obj): IMP._list_util.set_varlist(self.pair_containers, obj)
2236 def __del_pair_containers(self): IMP._list_util.del_varlist(self.pair_containers)
2237 pair_containers = property(__get_pair_containers, __set_pair_containers, __del_pair_containers, doc=
"List of ##ucnames")
2239 def remove_pair_container(self, d):
2240 r"""remove_pair_container(PairContainerSet self, PairContainer d)"""
2241 return _IMP_container.PairContainerSet_remove_pair_container(self, d)
2243 def _python_index_pair_container(self, d, start, stop):
2244 r"""_python_index_pair_container(PairContainerSet self, PairContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2245 return _IMP_container.PairContainerSet__python_index_pair_container(self, d, start, stop)
2247 def remove_pair_containers(self, d):
2248 r"""remove_pair_containers(PairContainerSet self, IMP::PairContainers const & d)"""
2249 return _IMP_container.PairContainerSet_remove_pair_containers(self, d)
2251 def set_pair_containers(self, ps):
2252 r"""set_pair_containers(PairContainerSet self, IMP::PairContainers const & ps)"""
2253 return _IMP_container.PairContainerSet_set_pair_containers(self, ps)
2255 def set_pair_containers_order(self, objs):
2256 r"""set_pair_containers_order(PairContainerSet self, IMP::PairContainers const & objs)"""
2257 return _IMP_container.PairContainerSet_set_pair_containers_order(self, objs)
2259 def add_pair_container(self, obj):
2260 r"""add_pair_container(PairContainerSet self, PairContainer obj) -> unsigned int"""
2261 return _IMP_container.PairContainerSet_add_pair_container(self, obj)
2263 def add_pair_containers(self, objs):
2264 r"""add_pair_containers(PairContainerSet self, IMP::PairContainers const & objs)"""
2265 return _IMP_container.PairContainerSet_add_pair_containers(self, objs)
2267 def clear_pair_containers(self):
2268 r"""clear_pair_containers(PairContainerSet self)"""
2269 return _IMP_container.PairContainerSet_clear_pair_containers(self)
2271 def get_number_of_pair_containers(self):
2272 r"""get_number_of_pair_containers(PairContainerSet self) -> unsigned int"""
2273 return _IMP_container.PairContainerSet_get_number_of_pair_containers(self)
2275 def get_has_pair_containers(self):
2276 r"""get_has_pair_containers(PairContainerSet self) -> bool"""
2277 return _IMP_container.PairContainerSet_get_has_pair_containers(self)
2279 def get_pair_container(self, i):
2280 r"""get_pair_container(PairContainerSet self, unsigned int i) -> PairContainer"""
2281 return _IMP_container.PairContainerSet_get_pair_container(self, i)
2283 def get_pair_containers(self):
2284 r"""get_pair_containers(PairContainerSet self) -> IMP::PairContainers"""
2285 return _IMP_container.PairContainerSet_get_pair_containers(self)
2287 def erase_pair_container(self, i):
2288 r"""erase_pair_container(PairContainerSet self, unsigned int i)"""
2289 return _IMP_container.PairContainerSet_erase_pair_container(self, i)
2291 def reserve_pair_containers(self, sz):
2292 r"""reserve_pair_containers(PairContainerSet self, unsigned int sz)"""
2293 return _IMP_container.PairContainerSet_reserve_pair_containers(self, sz)
2295 def do_get_inputs(self):
2296 r"""do_get_inputs(PairContainerSet self) -> IMP::ModelObjectsTemp"""
2297 return _IMP_container.PairContainerSet_do_get_inputs(self)
2300 r"""__str__(PairContainerSet self) -> std::string"""
2301 return _IMP_container.PairContainerSet___str__(self)
2304 r"""__repr__(PairContainerSet self) -> std::string"""
2305 return _IMP_container.PairContainerSet___repr__(self)
2309 return _object_cast_to_PairContainerSet(o)
2313 _IMP_container.PairContainerSet_swigregister(PairContainerSet)
2315 r"""Proxy of C++ IMP::container::PairsConstraint class."""
2317 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2319 def __init__(self, *args):
2321 __init__(PairsConstraint self, PairModifier before, PairModifier after, _PairContainerAdaptor c, std::string name="PairsConstraint %1%") -> PairsConstraint
2322 __init__(PairsConstraint self) -> PairsConstraint
2324 _IMP_container.PairsConstraint_swiginit(self, _IMP_container.new_PairsConstraint(*args))
2326 def get_version_info(self):
2327 r"""get_version_info(PairsConstraint self) -> VersionInfo"""
2328 return _IMP_container.PairsConstraint_get_version_info(self)
2329 __swig_destroy__ = _IMP_container.delete_PairsConstraint
2332 r"""__str__(PairsConstraint self) -> std::string"""
2333 return _IMP_container.PairsConstraint___str__(self)
2336 r"""__repr__(PairsConstraint self) -> std::string"""
2337 return _IMP_container.PairsConstraint___repr__(self)
2341 return _object_cast_to_PairsConstraint(o)
2344 def _get_as_binary(self):
2345 r"""_get_as_binary(PairsConstraint self) -> PyObject *"""
2346 return _IMP_container.PairsConstraint__get_as_binary(self)
2348 def _set_from_binary(self, p):
2349 r"""_set_from_binary(PairsConstraint self, PyObject * p)"""
2350 return _IMP_container.PairsConstraint__set_from_binary(self, p)
2352 def __getstate__(self):
2353 p = self._get_as_binary()
2354 if len(self.__dict__) > 1:
2355 d = self.__dict__.copy()
2360 def __setstate__(self, p):
2361 if not hasattr(self,
'this'):
2363 if isinstance(p, tuple):
2365 self.__dict__.update(d)
2366 return self._set_from_binary(p)
2370 _IMP_container.PairsConstraint_swigregister(PairsConstraint)
2372 r"""Proxy of C++ IMP::container::PairsOptimizerState class."""
2374 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2376 def __init__(self, *args):
2377 r"""__init__(PairsOptimizerState self, _PairContainerAdaptor c, PairModifier gf, std::string name="PairsOptimizerState %1%") -> PairsOptimizerState"""
2378 _IMP_container.PairsOptimizerState_swiginit(self, _IMP_container.new_PairsOptimizerState(*args))
2380 def do_update(self, call):
2381 r"""do_update(PairsOptimizerState self, unsigned int call)"""
2382 return _IMP_container.PairsOptimizerState_do_update(self, call)
2384 def get_version_info(self):
2385 r"""get_version_info(PairsOptimizerState self) -> VersionInfo"""
2386 return _IMP_container.PairsOptimizerState_get_version_info(self)
2387 __swig_destroy__ = _IMP_container.delete_PairsOptimizerState
2390 r"""__str__(PairsOptimizerState self) -> std::string"""
2391 return _IMP_container.PairsOptimizerState___str__(self)
2394 r"""__repr__(PairsOptimizerState self) -> std::string"""
2395 return _IMP_container.PairsOptimizerState___repr__(self)
2399 return _object_cast_to_PairsOptimizerState(o)
2403 _IMP_container.PairsOptimizerState_swigregister(PairsOptimizerState)
2405 r"""Proxy of C++ IMP::container::PairsRestraint class."""
2407 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2409 def __init__(self, *args):
2411 __init__(PairsRestraint self, PairScore ss, _PairContainerAdaptor pc, std::string name="PairsRestraint %1%") -> PairsRestraint
2412 __init__(PairsRestraint self) -> PairsRestraint
2414 _IMP_container.PairsRestraint_swiginit(self, _IMP_container.new_PairsRestraint(*args))
2416 def do_get_inputs(self):
2417 r"""do_get_inputs(PairsRestraint self) -> IMP::ModelObjectsTemp"""
2418 return _IMP_container.PairsRestraint_do_get_inputs(self)
2420 def get_version_info(self):
2421 r"""get_version_info(PairsRestraint self) -> VersionInfo"""
2422 return _IMP_container.PairsRestraint_get_version_info(self)
2423 __swig_destroy__ = _IMP_container.delete_PairsRestraint
2426 r"""__str__(PairsRestraint self) -> std::string"""
2427 return _IMP_container.PairsRestraint___str__(self)
2430 r"""__repr__(PairsRestraint self) -> std::string"""
2431 return _IMP_container.PairsRestraint___repr__(self)
2435 return _object_cast_to_PairsRestraint(o)
2438 def _get_as_binary(self):
2439 r"""_get_as_binary(PairsRestraint self) -> PyObject *"""
2440 return _IMP_container.PairsRestraint__get_as_binary(self)
2442 def _set_from_binary(self, p):
2443 r"""_set_from_binary(PairsRestraint self, PyObject * p)"""
2444 return _IMP_container.PairsRestraint__set_from_binary(self, p)
2446 def __getstate__(self):
2447 p = self._get_as_binary()
2448 if len(self.__dict__) > 1:
2449 d = self.__dict__.copy()
2454 def __setstate__(self, p):
2455 if not hasattr(self,
'this'):
2457 if isinstance(p, tuple):
2459 self.__dict__.update(d)
2460 return self._set_from_binary(p)
2464 _IMP_container.PairsRestraint_swigregister(PairsRestraint)
2466 r"""Proxy of C++ IMP::container::QuadContainerSet class."""
2468 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2470 def __init__(self, *args):
2472 __init__(QuadContainerSet self, Model m, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2473 __init__(QuadContainerSet self, IMP::QuadContainersTemp const & pc, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2475 _IMP_container.QuadContainerSet_swiginit(self, _IMP_container.new_QuadContainerSet(*args))
2477 def do_apply(self, sm):
2478 r"""do_apply(QuadContainerSet self, QuadModifier sm)"""
2479 return _IMP_container.QuadContainerSet_do_apply(self, sm)
2481 def do_apply_moved(self, sm, moved_pis, reset_pis):
2482 r"""do_apply_moved(QuadContainerSet self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2483 return _IMP_container.QuadContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2485 def get_version_info(self):
2486 r"""get_version_info(QuadContainerSet self) -> VersionInfo"""
2487 return _IMP_container.QuadContainerSet_get_version_info(self)
2488 __swig_destroy__ = _IMP_container.delete_QuadContainerSet
2489 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)
2490 def __set_quad_containers(self, obj): IMP._list_util.set_varlist(self.quad_containers, obj)
2491 def __del_quad_containers(self): IMP._list_util.del_varlist(self.quad_containers)
2492 quad_containers = property(__get_quad_containers, __set_quad_containers, __del_quad_containers, doc=
"List of ##ucnames")
2494 def remove_quad_container(self, d):
2495 r"""remove_quad_container(QuadContainerSet self, QuadContainer d)"""
2496 return _IMP_container.QuadContainerSet_remove_quad_container(self, d)
2498 def _python_index_quad_container(self, d, start, stop):
2499 r"""_python_index_quad_container(QuadContainerSet self, QuadContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2500 return _IMP_container.QuadContainerSet__python_index_quad_container(self, d, start, stop)
2502 def remove_quad_containers(self, d):
2503 r"""remove_quad_containers(QuadContainerSet self, IMP::QuadContainers const & d)"""
2504 return _IMP_container.QuadContainerSet_remove_quad_containers(self, d)
2506 def set_quad_containers(self, ps):
2507 r"""set_quad_containers(QuadContainerSet self, IMP::QuadContainers const & ps)"""
2508 return _IMP_container.QuadContainerSet_set_quad_containers(self, ps)
2510 def set_quad_containers_order(self, objs):
2511 r"""set_quad_containers_order(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2512 return _IMP_container.QuadContainerSet_set_quad_containers_order(self, objs)
2514 def add_quad_container(self, obj):
2515 r"""add_quad_container(QuadContainerSet self, QuadContainer obj) -> unsigned int"""
2516 return _IMP_container.QuadContainerSet_add_quad_container(self, obj)
2518 def add_quad_containers(self, objs):
2519 r"""add_quad_containers(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2520 return _IMP_container.QuadContainerSet_add_quad_containers(self, objs)
2522 def clear_quad_containers(self):
2523 r"""clear_quad_containers(QuadContainerSet self)"""
2524 return _IMP_container.QuadContainerSet_clear_quad_containers(self)
2526 def get_number_of_quad_containers(self):
2527 r"""get_number_of_quad_containers(QuadContainerSet self) -> unsigned int"""
2528 return _IMP_container.QuadContainerSet_get_number_of_quad_containers(self)
2530 def get_has_quad_containers(self):
2531 r"""get_has_quad_containers(QuadContainerSet self) -> bool"""
2532 return _IMP_container.QuadContainerSet_get_has_quad_containers(self)
2534 def get_quad_container(self, i):
2535 r"""get_quad_container(QuadContainerSet self, unsigned int i) -> QuadContainer"""
2536 return _IMP_container.QuadContainerSet_get_quad_container(self, i)
2538 def get_quad_containers(self):
2539 r"""get_quad_containers(QuadContainerSet self) -> IMP::QuadContainers"""
2540 return _IMP_container.QuadContainerSet_get_quad_containers(self)
2542 def erase_quad_container(self, i):
2543 r"""erase_quad_container(QuadContainerSet self, unsigned int i)"""
2544 return _IMP_container.QuadContainerSet_erase_quad_container(self, i)
2546 def reserve_quad_containers(self, sz):
2547 r"""reserve_quad_containers(QuadContainerSet self, unsigned int sz)"""
2548 return _IMP_container.QuadContainerSet_reserve_quad_containers(self, sz)
2550 def do_get_inputs(self):
2551 r"""do_get_inputs(QuadContainerSet self) -> IMP::ModelObjectsTemp"""
2552 return _IMP_container.QuadContainerSet_do_get_inputs(self)
2555 r"""__str__(QuadContainerSet self) -> std::string"""
2556 return _IMP_container.QuadContainerSet___str__(self)
2559 r"""__repr__(QuadContainerSet self) -> std::string"""
2560 return _IMP_container.QuadContainerSet___repr__(self)
2564 return _object_cast_to_QuadContainerSet(o)
2568 _IMP_container.QuadContainerSet_swigregister(QuadContainerSet)
2570 r"""Proxy of C++ IMP::container::QuadsConstraint class."""
2572 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2574 def __init__(self, *args):
2576 __init__(QuadsConstraint self, QuadModifier before, QuadModifier after, _QuadContainerAdaptor c, std::string name="QuadsConstraint %1%") -> QuadsConstraint
2577 __init__(QuadsConstraint self) -> QuadsConstraint
2579 _IMP_container.QuadsConstraint_swiginit(self, _IMP_container.new_QuadsConstraint(*args))
2581 def get_version_info(self):
2582 r"""get_version_info(QuadsConstraint self) -> VersionInfo"""
2583 return _IMP_container.QuadsConstraint_get_version_info(self)
2584 __swig_destroy__ = _IMP_container.delete_QuadsConstraint
2587 r"""__str__(QuadsConstraint self) -> std::string"""
2588 return _IMP_container.QuadsConstraint___str__(self)
2591 r"""__repr__(QuadsConstraint self) -> std::string"""
2592 return _IMP_container.QuadsConstraint___repr__(self)
2596 return _object_cast_to_QuadsConstraint(o)
2599 def _get_as_binary(self):
2600 r"""_get_as_binary(QuadsConstraint self) -> PyObject *"""
2601 return _IMP_container.QuadsConstraint__get_as_binary(self)
2603 def _set_from_binary(self, p):
2604 r"""_set_from_binary(QuadsConstraint self, PyObject * p)"""
2605 return _IMP_container.QuadsConstraint__set_from_binary(self, p)
2607 def __getstate__(self):
2608 p = self._get_as_binary()
2609 if len(self.__dict__) > 1:
2610 d = self.__dict__.copy()
2615 def __setstate__(self, p):
2616 if not hasattr(self,
'this'):
2618 if isinstance(p, tuple):
2620 self.__dict__.update(d)
2621 return self._set_from_binary(p)
2625 _IMP_container.QuadsConstraint_swigregister(QuadsConstraint)
2627 r"""Proxy of C++ IMP::container::QuadsOptimizerState class."""
2629 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2631 def __init__(self, *args):
2632 r"""__init__(QuadsOptimizerState self, _QuadContainerAdaptor c, QuadModifier gf, std::string name="QuadsOptimizerState %1%") -> QuadsOptimizerState"""
2633 _IMP_container.QuadsOptimizerState_swiginit(self, _IMP_container.new_QuadsOptimizerState(*args))
2635 def do_update(self, call):
2636 r"""do_update(QuadsOptimizerState self, unsigned int call)"""
2637 return _IMP_container.QuadsOptimizerState_do_update(self, call)
2639 def get_version_info(self):
2640 r"""get_version_info(QuadsOptimizerState self) -> VersionInfo"""
2641 return _IMP_container.QuadsOptimizerState_get_version_info(self)
2642 __swig_destroy__ = _IMP_container.delete_QuadsOptimizerState
2645 r"""__str__(QuadsOptimizerState self) -> std::string"""
2646 return _IMP_container.QuadsOptimizerState___str__(self)
2649 r"""__repr__(QuadsOptimizerState self) -> std::string"""
2650 return _IMP_container.QuadsOptimizerState___repr__(self)
2654 return _object_cast_to_QuadsOptimizerState(o)
2658 _IMP_container.QuadsOptimizerState_swigregister(QuadsOptimizerState)
2660 r"""Proxy of C++ IMP::container::QuadsRestraint class."""
2662 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2664 def __init__(self, *args):
2666 __init__(QuadsRestraint self, QuadScore ss, _QuadContainerAdaptor pc, std::string name="QuadsRestraint %1%") -> QuadsRestraint
2667 __init__(QuadsRestraint self) -> QuadsRestraint
2669 _IMP_container.QuadsRestraint_swiginit(self, _IMP_container.new_QuadsRestraint(*args))
2671 def do_get_inputs(self):
2672 r"""do_get_inputs(QuadsRestraint self) -> IMP::ModelObjectsTemp"""
2673 return _IMP_container.QuadsRestraint_do_get_inputs(self)
2675 def get_version_info(self):
2676 r"""get_version_info(QuadsRestraint self) -> VersionInfo"""
2677 return _IMP_container.QuadsRestraint_get_version_info(self)
2678 __swig_destroy__ = _IMP_container.delete_QuadsRestraint
2681 r"""__str__(QuadsRestraint self) -> std::string"""
2682 return _IMP_container.QuadsRestraint___str__(self)
2685 r"""__repr__(QuadsRestraint self) -> std::string"""
2686 return _IMP_container.QuadsRestraint___repr__(self)
2690 return _object_cast_to_QuadsRestraint(o)
2693 def _get_as_binary(self):
2694 r"""_get_as_binary(QuadsRestraint self) -> PyObject *"""
2695 return _IMP_container.QuadsRestraint__get_as_binary(self)
2697 def _set_from_binary(self, p):
2698 r"""_set_from_binary(QuadsRestraint self, PyObject * p)"""
2699 return _IMP_container.QuadsRestraint__set_from_binary(self, p)
2701 def __getstate__(self):
2702 p = self._get_as_binary()
2703 if len(self.__dict__) > 1:
2704 d = self.__dict__.copy()
2709 def __setstate__(self, p):
2710 if not hasattr(self,
'this'):
2712 if isinstance(p, tuple):
2714 self.__dict__.update(d)
2715 return self._set_from_binary(p)
2719 _IMP_container.QuadsRestraint_swigregister(QuadsRestraint)
2721 r"""Proxy of C++ IMP::container::SingletonContainerSet class."""
2723 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2725 def __init__(self, *args):
2727 __init__(SingletonContainerSet self, Model m, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2728 __init__(SingletonContainerSet self, IMP::SingletonContainersTemp const & pc, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2730 _IMP_container.SingletonContainerSet_swiginit(self, _IMP_container.new_SingletonContainerSet(*args))
2732 def do_apply(self, sm):
2733 r"""do_apply(SingletonContainerSet self, SingletonModifier sm)"""
2734 return _IMP_container.SingletonContainerSet_do_apply(self, sm)
2736 def do_apply_moved(self, sm, moved_pis, reset_pis):
2737 r"""do_apply_moved(SingletonContainerSet self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2738 return _IMP_container.SingletonContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2740 def get_version_info(self):
2741 r"""get_version_info(SingletonContainerSet self) -> VersionInfo"""
2742 return _IMP_container.SingletonContainerSet_get_version_info(self)
2743 __swig_destroy__ = _IMP_container.delete_SingletonContainerSet
2744 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)
2745 def __set_singleton_containers(self, obj): IMP._list_util.set_varlist(self.singleton_containers, obj)
2746 def __del_singleton_containers(self): IMP._list_util.del_varlist(self.singleton_containers)
2747 singleton_containers = property(__get_singleton_containers, __set_singleton_containers, __del_singleton_containers, doc=
"List of ##ucnames")
2749 def remove_singleton_container(self, d):
2750 r"""remove_singleton_container(SingletonContainerSet self, SingletonContainer d)"""
2751 return _IMP_container.SingletonContainerSet_remove_singleton_container(self, d)
2753 def _python_index_singleton_container(self, d, start, stop):
2754 r"""_python_index_singleton_container(SingletonContainerSet self, SingletonContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2755 return _IMP_container.SingletonContainerSet__python_index_singleton_container(self, d, start, stop)
2757 def remove_singleton_containers(self, d):
2758 r"""remove_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & d)"""
2759 return _IMP_container.SingletonContainerSet_remove_singleton_containers(self, d)
2761 def set_singleton_containers(self, ps):
2762 r"""set_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & ps)"""
2763 return _IMP_container.SingletonContainerSet_set_singleton_containers(self, ps)
2765 def set_singleton_containers_order(self, objs):
2766 r"""set_singleton_containers_order(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2767 return _IMP_container.SingletonContainerSet_set_singleton_containers_order(self, objs)
2769 def add_singleton_container(self, obj):
2770 r"""add_singleton_container(SingletonContainerSet self, SingletonContainer obj) -> unsigned int"""
2771 return _IMP_container.SingletonContainerSet_add_singleton_container(self, obj)
2773 def add_singleton_containers(self, objs):
2774 r"""add_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2775 return _IMP_container.SingletonContainerSet_add_singleton_containers(self, objs)
2777 def clear_singleton_containers(self):
2778 r"""clear_singleton_containers(SingletonContainerSet self)"""
2779 return _IMP_container.SingletonContainerSet_clear_singleton_containers(self)
2781 def get_number_of_singleton_containers(self):
2782 r"""get_number_of_singleton_containers(SingletonContainerSet self) -> unsigned int"""
2783 return _IMP_container.SingletonContainerSet_get_number_of_singleton_containers(self)
2785 def get_has_singleton_containers(self):
2786 r"""get_has_singleton_containers(SingletonContainerSet self) -> bool"""
2787 return _IMP_container.SingletonContainerSet_get_has_singleton_containers(self)
2789 def get_singleton_container(self, i):
2790 r"""get_singleton_container(SingletonContainerSet self, unsigned int i) -> SingletonContainer"""
2791 return _IMP_container.SingletonContainerSet_get_singleton_container(self, i)
2793 def get_singleton_containers(self):
2794 r"""get_singleton_containers(SingletonContainerSet self) -> IMP::SingletonContainers"""
2795 return _IMP_container.SingletonContainerSet_get_singleton_containers(self)
2797 def erase_singleton_container(self, i):
2798 r"""erase_singleton_container(SingletonContainerSet self, unsigned int i)"""
2799 return _IMP_container.SingletonContainerSet_erase_singleton_container(self, i)
2801 def reserve_singleton_containers(self, sz):
2802 r"""reserve_singleton_containers(SingletonContainerSet self, unsigned int sz)"""
2803 return _IMP_container.SingletonContainerSet_reserve_singleton_containers(self, sz)
2805 def do_get_inputs(self):
2806 r"""do_get_inputs(SingletonContainerSet self) -> IMP::ModelObjectsTemp"""
2807 return _IMP_container.SingletonContainerSet_do_get_inputs(self)
2810 r"""__str__(SingletonContainerSet self) -> std::string"""
2811 return _IMP_container.SingletonContainerSet___str__(self)
2814 r"""__repr__(SingletonContainerSet self) -> std::string"""
2815 return _IMP_container.SingletonContainerSet___repr__(self)
2819 return _object_cast_to_SingletonContainerSet(o)
2823 _IMP_container.SingletonContainerSet_swigregister(SingletonContainerSet)
2825 r"""Proxy of C++ IMP::container::SingletonsConstraint class."""
2827 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2829 def __init__(self, *args):
2831 __init__(SingletonsConstraint self, SingletonModifier before, SingletonModifier after, _SingletonContainerAdaptor c, std::string name="SingletonsConstraint %1%") -> SingletonsConstraint
2832 __init__(SingletonsConstraint self) -> SingletonsConstraint
2834 _IMP_container.SingletonsConstraint_swiginit(self, _IMP_container.new_SingletonsConstraint(*args))
2836 def get_version_info(self):
2837 r"""get_version_info(SingletonsConstraint self) -> VersionInfo"""
2838 return _IMP_container.SingletonsConstraint_get_version_info(self)
2839 __swig_destroy__ = _IMP_container.delete_SingletonsConstraint
2842 r"""__str__(SingletonsConstraint self) -> std::string"""
2843 return _IMP_container.SingletonsConstraint___str__(self)
2846 r"""__repr__(SingletonsConstraint self) -> std::string"""
2847 return _IMP_container.SingletonsConstraint___repr__(self)
2851 return _object_cast_to_SingletonsConstraint(o)
2854 def _get_as_binary(self):
2855 r"""_get_as_binary(SingletonsConstraint self) -> PyObject *"""
2856 return _IMP_container.SingletonsConstraint__get_as_binary(self)
2858 def _set_from_binary(self, p):
2859 r"""_set_from_binary(SingletonsConstraint self, PyObject * p)"""
2860 return _IMP_container.SingletonsConstraint__set_from_binary(self, p)
2862 def __getstate__(self):
2863 p = self._get_as_binary()
2864 if len(self.__dict__) > 1:
2865 d = self.__dict__.copy()
2870 def __setstate__(self, p):
2871 if not hasattr(self,
'this'):
2873 if isinstance(p, tuple):
2875 self.__dict__.update(d)
2876 return self._set_from_binary(p)
2880 _IMP_container.SingletonsConstraint_swigregister(SingletonsConstraint)
2882 r"""Proxy of C++ IMP::container::SingletonsOptimizerState class."""
2884 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2886 def __init__(self, *args):
2887 r"""__init__(SingletonsOptimizerState self, _SingletonContainerAdaptor c, SingletonModifier gf, std::string name="SingletonsOptimizerState %1%") -> SingletonsOptimizerState"""
2888 _IMP_container.SingletonsOptimizerState_swiginit(self, _IMP_container.new_SingletonsOptimizerState(*args))
2890 def do_update(self, call):
2891 r"""do_update(SingletonsOptimizerState self, unsigned int call)"""
2892 return _IMP_container.SingletonsOptimizerState_do_update(self, call)
2894 def get_version_info(self):
2895 r"""get_version_info(SingletonsOptimizerState self) -> VersionInfo"""
2896 return _IMP_container.SingletonsOptimizerState_get_version_info(self)
2897 __swig_destroy__ = _IMP_container.delete_SingletonsOptimizerState
2900 r"""__str__(SingletonsOptimizerState self) -> std::string"""
2901 return _IMP_container.SingletonsOptimizerState___str__(self)
2904 r"""__repr__(SingletonsOptimizerState self) -> std::string"""
2905 return _IMP_container.SingletonsOptimizerState___repr__(self)
2909 return _object_cast_to_SingletonsOptimizerState(o)
2913 _IMP_container.SingletonsOptimizerState_swigregister(SingletonsOptimizerState)
2915 r"""Proxy of C++ IMP::container::SingletonsRestraint class."""
2917 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2919 def __init__(self, *args):
2921 __init__(SingletonsRestraint self, SingletonScore ss, _SingletonContainerAdaptor pc, std::string name="SingletonsRestraint %1%") -> SingletonsRestraint
2922 __init__(SingletonsRestraint self) -> SingletonsRestraint
2924 _IMP_container.SingletonsRestraint_swiginit(self, _IMP_container.new_SingletonsRestraint(*args))
2926 def do_get_inputs(self):
2927 r"""do_get_inputs(SingletonsRestraint self) -> IMP::ModelObjectsTemp"""
2928 return _IMP_container.SingletonsRestraint_do_get_inputs(self)
2930 def get_version_info(self):
2931 r"""get_version_info(SingletonsRestraint self) -> VersionInfo"""
2932 return _IMP_container.SingletonsRestraint_get_version_info(self)
2933 __swig_destroy__ = _IMP_container.delete_SingletonsRestraint
2936 r"""__str__(SingletonsRestraint self) -> std::string"""
2937 return _IMP_container.SingletonsRestraint___str__(self)
2940 r"""__repr__(SingletonsRestraint self) -> std::string"""
2941 return _IMP_container.SingletonsRestraint___repr__(self)
2945 return _object_cast_to_SingletonsRestraint(o)
2948 def _get_as_binary(self):
2949 r"""_get_as_binary(SingletonsRestraint self) -> PyObject *"""
2950 return _IMP_container.SingletonsRestraint__get_as_binary(self)
2952 def _set_from_binary(self, p):
2953 r"""_set_from_binary(SingletonsRestraint self, PyObject * p)"""
2954 return _IMP_container.SingletonsRestraint__set_from_binary(self, p)
2956 def __getstate__(self):
2957 p = self._get_as_binary()
2958 if len(self.__dict__) > 1:
2959 d = self.__dict__.copy()
2964 def __setstate__(self, p):
2965 if not hasattr(self,
'this'):
2967 if isinstance(p, tuple):
2969 self.__dict__.update(d)
2970 return self._set_from_binary(p)
2974 _IMP_container.SingletonsRestraint_swigregister(SingletonsRestraint)
2976 r"""Proxy of C++ IMP::container::TripletContainerSet class."""
2978 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2980 def __init__(self, *args):
2982 __init__(TripletContainerSet self, Model m, std::string name="TripletContainerSet %1%") -> TripletContainerSet
2983 __init__(TripletContainerSet self, IMP::TripletContainersTemp const & pc, std::string name="TripletContainerSet %1%") -> TripletContainerSet
2985 _IMP_container.TripletContainerSet_swiginit(self, _IMP_container.new_TripletContainerSet(*args))
2987 def do_apply(self, sm):
2988 r"""do_apply(TripletContainerSet self, TripletModifier sm)"""
2989 return _IMP_container.TripletContainerSet_do_apply(self, sm)
2991 def do_apply_moved(self, sm, moved_pis, reset_pis):
2992 r"""do_apply_moved(TripletContainerSet self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2993 return _IMP_container.TripletContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2995 def get_version_info(self):
2996 r"""get_version_info(TripletContainerSet self) -> VersionInfo"""
2997 return _IMP_container.TripletContainerSet_get_version_info(self)
2998 __swig_destroy__ = _IMP_container.delete_TripletContainerSet
2999 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)
3000 def __set_triplet_containers(self, obj): IMP._list_util.set_varlist(self.triplet_containers, obj)
3001 def __del_triplet_containers(self): IMP._list_util.del_varlist(self.triplet_containers)
3002 triplet_containers = property(__get_triplet_containers, __set_triplet_containers, __del_triplet_containers, doc=
"List of ##ucnames")
3004 def remove_triplet_container(self, d):
3005 r"""remove_triplet_container(TripletContainerSet self, TripletContainer d)"""
3006 return _IMP_container.TripletContainerSet_remove_triplet_container(self, d)
3008 def _python_index_triplet_container(self, d, start, stop):
3009 r"""_python_index_triplet_container(TripletContainerSet self, TripletContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
3010 return _IMP_container.TripletContainerSet__python_index_triplet_container(self, d, start, stop)
3012 def remove_triplet_containers(self, d):
3013 r"""remove_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & d)"""
3014 return _IMP_container.TripletContainerSet_remove_triplet_containers(self, d)
3016 def set_triplet_containers(self, ps):
3017 r"""set_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & ps)"""
3018 return _IMP_container.TripletContainerSet_set_triplet_containers(self, ps)
3020 def set_triplet_containers_order(self, objs):
3021 r"""set_triplet_containers_order(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3022 return _IMP_container.TripletContainerSet_set_triplet_containers_order(self, objs)
3024 def add_triplet_container(self, obj):
3025 r"""add_triplet_container(TripletContainerSet self, TripletContainer obj) -> unsigned int"""
3026 return _IMP_container.TripletContainerSet_add_triplet_container(self, obj)
3028 def add_triplet_containers(self, objs):
3029 r"""add_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3030 return _IMP_container.TripletContainerSet_add_triplet_containers(self, objs)
3032 def clear_triplet_containers(self):
3033 r"""clear_triplet_containers(TripletContainerSet self)"""
3034 return _IMP_container.TripletContainerSet_clear_triplet_containers(self)
3036 def get_number_of_triplet_containers(self):
3037 r"""get_number_of_triplet_containers(TripletContainerSet self) -> unsigned int"""
3038 return _IMP_container.TripletContainerSet_get_number_of_triplet_containers(self)
3040 def get_has_triplet_containers(self):
3041 r"""get_has_triplet_containers(TripletContainerSet self) -> bool"""
3042 return _IMP_container.TripletContainerSet_get_has_triplet_containers(self)
3044 def get_triplet_container(self, i):
3045 r"""get_triplet_container(TripletContainerSet self, unsigned int i) -> TripletContainer"""
3046 return _IMP_container.TripletContainerSet_get_triplet_container(self, i)
3048 def get_triplet_containers(self):
3049 r"""get_triplet_containers(TripletContainerSet self) -> IMP::TripletContainers"""
3050 return _IMP_container.TripletContainerSet_get_triplet_containers(self)
3052 def erase_triplet_container(self, i):
3053 r"""erase_triplet_container(TripletContainerSet self, unsigned int i)"""
3054 return _IMP_container.TripletContainerSet_erase_triplet_container(self, i)
3056 def reserve_triplet_containers(self, sz):
3057 r"""reserve_triplet_containers(TripletContainerSet self, unsigned int sz)"""
3058 return _IMP_container.TripletContainerSet_reserve_triplet_containers(self, sz)
3060 def do_get_inputs(self):
3061 r"""do_get_inputs(TripletContainerSet self) -> IMP::ModelObjectsTemp"""
3062 return _IMP_container.TripletContainerSet_do_get_inputs(self)
3065 r"""__str__(TripletContainerSet self) -> std::string"""
3066 return _IMP_container.TripletContainerSet___str__(self)
3069 r"""__repr__(TripletContainerSet self) -> std::string"""
3070 return _IMP_container.TripletContainerSet___repr__(self)
3074 return _object_cast_to_TripletContainerSet(o)
3078 _IMP_container.TripletContainerSet_swigregister(TripletContainerSet)
3080 r"""Proxy of C++ IMP::container::TripletsConstraint class."""
3082 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3084 def __init__(self, *args):
3086 __init__(TripletsConstraint self, TripletModifier before, TripletModifier after, _TripletContainerAdaptor c, std::string name="TripletsConstraint %1%") -> TripletsConstraint
3087 __init__(TripletsConstraint self) -> TripletsConstraint
3089 _IMP_container.TripletsConstraint_swiginit(self, _IMP_container.new_TripletsConstraint(*args))
3091 def get_version_info(self):
3092 r"""get_version_info(TripletsConstraint self) -> VersionInfo"""
3093 return _IMP_container.TripletsConstraint_get_version_info(self)
3094 __swig_destroy__ = _IMP_container.delete_TripletsConstraint
3097 r"""__str__(TripletsConstraint self) -> std::string"""
3098 return _IMP_container.TripletsConstraint___str__(self)
3101 r"""__repr__(TripletsConstraint self) -> std::string"""
3102 return _IMP_container.TripletsConstraint___repr__(self)
3106 return _object_cast_to_TripletsConstraint(o)
3109 def _get_as_binary(self):
3110 r"""_get_as_binary(TripletsConstraint self) -> PyObject *"""
3111 return _IMP_container.TripletsConstraint__get_as_binary(self)
3113 def _set_from_binary(self, p):
3114 r"""_set_from_binary(TripletsConstraint self, PyObject * p)"""
3115 return _IMP_container.TripletsConstraint__set_from_binary(self, p)
3117 def __getstate__(self):
3118 p = self._get_as_binary()
3119 if len(self.__dict__) > 1:
3120 d = self.__dict__.copy()
3125 def __setstate__(self, p):
3126 if not hasattr(self,
'this'):
3128 if isinstance(p, tuple):
3130 self.__dict__.update(d)
3131 return self._set_from_binary(p)
3135 _IMP_container.TripletsConstraint_swigregister(TripletsConstraint)
3137 r"""Proxy of C++ IMP::container::TripletsOptimizerState class."""
3139 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3141 def __init__(self, *args):
3142 r"""__init__(TripletsOptimizerState self, _TripletContainerAdaptor c, TripletModifier gf, std::string name="TripletsOptimizerState %1%") -> TripletsOptimizerState"""
3143 _IMP_container.TripletsOptimizerState_swiginit(self, _IMP_container.new_TripletsOptimizerState(*args))
3145 def do_update(self, call):
3146 r"""do_update(TripletsOptimizerState self, unsigned int call)"""
3147 return _IMP_container.TripletsOptimizerState_do_update(self, call)
3149 def get_version_info(self):
3150 r"""get_version_info(TripletsOptimizerState self) -> VersionInfo"""
3151 return _IMP_container.TripletsOptimizerState_get_version_info(self)
3152 __swig_destroy__ = _IMP_container.delete_TripletsOptimizerState
3155 r"""__str__(TripletsOptimizerState self) -> std::string"""
3156 return _IMP_container.TripletsOptimizerState___str__(self)
3159 r"""__repr__(TripletsOptimizerState self) -> std::string"""
3160 return _IMP_container.TripletsOptimizerState___repr__(self)
3164 return _object_cast_to_TripletsOptimizerState(o)
3168 _IMP_container.TripletsOptimizerState_swigregister(TripletsOptimizerState)
3170 r"""Proxy of C++ IMP::container::TripletsRestraint class."""
3172 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3174 def __init__(self, *args):
3176 __init__(TripletsRestraint self, TripletScore ss, _TripletContainerAdaptor pc, std::string name="TripletsRestraint %1%") -> TripletsRestraint
3177 __init__(TripletsRestraint self) -> TripletsRestraint
3179 _IMP_container.TripletsRestraint_swiginit(self, _IMP_container.new_TripletsRestraint(*args))
3181 def do_get_inputs(self):
3182 r"""do_get_inputs(TripletsRestraint self) -> IMP::ModelObjectsTemp"""
3183 return _IMP_container.TripletsRestraint_do_get_inputs(self)
3185 def get_version_info(self):
3186 r"""get_version_info(TripletsRestraint self) -> VersionInfo"""
3187 return _IMP_container.TripletsRestraint_get_version_info(self)
3188 __swig_destroy__ = _IMP_container.delete_TripletsRestraint
3191 r"""__str__(TripletsRestraint self) -> std::string"""
3192 return _IMP_container.TripletsRestraint___str__(self)
3195 r"""__repr__(TripletsRestraint self) -> std::string"""
3196 return _IMP_container.TripletsRestraint___repr__(self)
3200 return _object_cast_to_TripletsRestraint(o)
3203 def _get_as_binary(self):
3204 r"""_get_as_binary(TripletsRestraint self) -> PyObject *"""
3205 return _IMP_container.TripletsRestraint__get_as_binary(self)
3207 def _set_from_binary(self, p):
3208 r"""_set_from_binary(TripletsRestraint self, PyObject * p)"""
3209 return _IMP_container.TripletsRestraint__set_from_binary(self, p)
3211 def __getstate__(self):
3212 p = self._get_as_binary()
3213 if len(self.__dict__) > 1:
3214 d = self.__dict__.copy()
3219 def __setstate__(self, p):
3220 if not hasattr(self,
'this'):
3222 if isinstance(p, tuple):
3224 self.__dict__.update(d)
3225 return self._set_from_binary(p)
3229 _IMP_container.TripletsRestraint_swigregister(TripletsRestraint)
3231 r"""Proxy of C++ IMP::container::InContainerSingletonFilter class."""
3233 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3235 def __init__(self, *args):
3237 __init__(InContainerSingletonFilter self, SingletonContainer c, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3238 __init__(InContainerSingletonFilter self, SingletonContainer c, bool handle_permutations, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3240 _IMP_container.InContainerSingletonFilter_swiginit(self, _IMP_container.new_InContainerSingletonFilter(*args))
3242 def do_get_inputs(self, m, pi):
3243 r"""do_get_inputs(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3244 return _IMP_container.InContainerSingletonFilter_do_get_inputs(self, m, pi)
3246 def get_value(self, *args):
3248 get_value(InContainerSingletonFilter self, Particle a) -> int
3249 get_value(InContainerSingletonFilter self, IMP::ParticlesTemp const & o) -> IMP::Ints
3251 return _IMP_container.InContainerSingletonFilter_get_value(self, *args)
3253 def get_value_index(self, *args):
3255 get_value_index(InContainerSingletonFilter self, Model arg2, ParticleIndex vt) -> int
3256 get_value_index(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
3258 return _IMP_container.InContainerSingletonFilter_get_value_index(self, *args)
3260 def get_version_info(self):
3261 r"""get_version_info(InContainerSingletonFilter self) -> VersionInfo"""
3262 return _IMP_container.InContainerSingletonFilter_get_version_info(self)
3263 __swig_destroy__ = _IMP_container.delete_InContainerSingletonFilter
3266 r"""__str__(InContainerSingletonFilter self) -> std::string"""
3267 return _IMP_container.InContainerSingletonFilter___str__(self)
3270 r"""__repr__(InContainerSingletonFilter self) -> std::string"""
3271 return _IMP_container.InContainerSingletonFilter___repr__(self)
3275 return _object_cast_to_InContainerSingletonFilter(o)
3279 _IMP_container.InContainerSingletonFilter_swigregister(InContainerSingletonFilter)
3281 r"""Proxy of C++ IMP::container::InContainerPairFilter class."""
3283 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3285 def __init__(self, *args):
3287 __init__(InContainerPairFilter self, PairContainer c, std::string name="PairFilter %1%") -> InContainerPairFilter
3288 __init__(InContainerPairFilter self, PairContainer c, bool handle_permutations, std::string name="PairFilter %1%") -> InContainerPairFilter
3290 _IMP_container.InContainerPairFilter_swiginit(self, _IMP_container.new_InContainerPairFilter(*args))
3292 def do_get_inputs(self, m, pi):
3293 r"""do_get_inputs(InContainerPairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3294 return _IMP_container.InContainerPairFilter_do_get_inputs(self, m, pi)
3296 def get_value(self, *args):
3298 get_value(InContainerPairFilter self, IMP::ParticlePair const & a) -> int
3299 get_value(InContainerPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
3301 return _IMP_container.InContainerPairFilter_get_value(self, *args)
3303 def get_value_index(self, *args):
3305 get_value_index(InContainerPairFilter self, Model arg2, IMP::ParticleIndexPair const & vt) -> int
3306 get_value_index(InContainerPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
3308 return _IMP_container.InContainerPairFilter_get_value_index(self, *args)
3310 def get_version_info(self):
3311 r"""get_version_info(InContainerPairFilter self) -> VersionInfo"""
3312 return _IMP_container.InContainerPairFilter_get_version_info(self)
3313 __swig_destroy__ = _IMP_container.delete_InContainerPairFilter
3316 r"""__str__(InContainerPairFilter self) -> std::string"""
3317 return _IMP_container.InContainerPairFilter___str__(self)
3320 r"""__repr__(InContainerPairFilter self) -> std::string"""
3321 return _IMP_container.InContainerPairFilter___repr__(self)
3325 return _object_cast_to_InContainerPairFilter(o)
3329 _IMP_container.InContainerPairFilter_swigregister(InContainerPairFilter)
3331 r"""Proxy of C++ IMP::container::InContainerTripletFilter class."""
3333 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3335 def __init__(self, *args):
3337 __init__(InContainerTripletFilter self, TripletContainer c, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3338 __init__(InContainerTripletFilter self, TripletContainer c, bool handle_permutations, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3340 _IMP_container.InContainerTripletFilter_swiginit(self, _IMP_container.new_InContainerTripletFilter(*args))
3342 def do_get_inputs(self, m, pi):
3343 r"""do_get_inputs(InContainerTripletFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3344 return _IMP_container.InContainerTripletFilter_do_get_inputs(self, m, pi)
3346 def get_value(self, *args):
3348 get_value(InContainerTripletFilter self, IMP::ParticleTriplet const & a) -> int
3349 get_value(InContainerTripletFilter self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
3351 return _IMP_container.InContainerTripletFilter_get_value(self, *args)
3353 def get_value_index(self, *args):
3355 get_value_index(InContainerTripletFilter self, Model arg2, IMP::ParticleIndexTriplet const & vt) -> int
3356 get_value_index(InContainerTripletFilter self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
3358 return _IMP_container.InContainerTripletFilter_get_value_index(self, *args)
3360 def get_version_info(self):
3361 r"""get_version_info(InContainerTripletFilter self) -> VersionInfo"""
3362 return _IMP_container.InContainerTripletFilter_get_version_info(self)
3363 __swig_destroy__ = _IMP_container.delete_InContainerTripletFilter
3366 r"""__str__(InContainerTripletFilter self) -> std::string"""
3367 return _IMP_container.InContainerTripletFilter___str__(self)
3370 r"""__repr__(InContainerTripletFilter self) -> std::string"""
3371 return _IMP_container.InContainerTripletFilter___repr__(self)
3375 return _object_cast_to_InContainerTripletFilter(o)
3379 _IMP_container.InContainerTripletFilter_swigregister(InContainerTripletFilter)
3381 r"""Proxy of C++ IMP::container::InContainerQuadFilter class."""
3383 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3385 def __init__(self, *args):
3387 __init__(InContainerQuadFilter self, QuadContainer c, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3388 __init__(InContainerQuadFilter self, QuadContainer c, bool handle_permutations, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3390 _IMP_container.InContainerQuadFilter_swiginit(self, _IMP_container.new_InContainerQuadFilter(*args))
3392 def do_get_inputs(self, m, pi):
3393 r"""do_get_inputs(InContainerQuadFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3394 return _IMP_container.InContainerQuadFilter_do_get_inputs(self, m, pi)
3396 def get_value(self, *args):
3398 get_value(InContainerQuadFilter self, IMP::ParticleQuad const & a) -> int
3399 get_value(InContainerQuadFilter self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
3401 return _IMP_container.InContainerQuadFilter_get_value(self, *args)
3403 def get_value_index(self, *args):
3405 get_value_index(InContainerQuadFilter self, Model arg2, IMP::ParticleIndexQuad const & vt) -> int
3406 get_value_index(InContainerQuadFilter self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
3408 return _IMP_container.InContainerQuadFilter_get_value_index(self, *args)
3410 def get_version_info(self):
3411 r"""get_version_info(InContainerQuadFilter self) -> VersionInfo"""
3412 return _IMP_container.InContainerQuadFilter_get_version_info(self)
3413 __swig_destroy__ = _IMP_container.delete_InContainerQuadFilter
3416 r"""__str__(InContainerQuadFilter self) -> std::string"""
3417 return _IMP_container.InContainerQuadFilter___str__(self)
3420 r"""__repr__(InContainerQuadFilter self) -> std::string"""
3421 return _IMP_container.InContainerQuadFilter___repr__(self)
3425 return _object_cast_to_InContainerQuadFilter(o)
3429 _IMP_container.InContainerQuadFilter_swigregister(InContainerQuadFilter)
3431 r"""Proxy of C++ IMP::container::SingletonContainerStatistics class."""
3433 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3435 def __init__(self, c):
3436 r"""__init__(SingletonContainerStatistics self, _SingletonContainerAdaptor c) -> SingletonContainerStatistics"""
3437 _IMP_container.SingletonContainerStatistics_swiginit(self, _IMP_container.new_SingletonContainerStatistics(c))
3439 def show_statistics(self, out):
3440 r"""show_statistics(SingletonContainerStatistics self, _ostream out)"""
3441 return _IMP_container.SingletonContainerStatistics_show_statistics(self, out)
3443 def set_track_unique(self, tf):
3444 r"""set_track_unique(SingletonContainerStatistics self, bool tf)"""
3445 return _IMP_container.SingletonContainerStatistics_set_track_unique(self, tf)
3447 def do_before_evaluate(self):
3448 r"""do_before_evaluate(SingletonContainerStatistics self)"""
3449 return _IMP_container.SingletonContainerStatistics_do_before_evaluate(self)
3451 def do_after_evaluate(self, da):
3452 r"""do_after_evaluate(SingletonContainerStatistics self, DerivativeAccumulator da)"""
3453 return _IMP_container.SingletonContainerStatistics_do_after_evaluate(self, da)
3455 def do_get_inputs(self):
3456 r"""do_get_inputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3457 return _IMP_container.SingletonContainerStatistics_do_get_inputs(self)
3459 def do_get_outputs(self):
3460 r"""do_get_outputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3461 return _IMP_container.SingletonContainerStatistics_do_get_outputs(self)
3463 def get_version_info(self):
3464 r"""get_version_info(SingletonContainerStatistics self) -> VersionInfo"""
3465 return _IMP_container.SingletonContainerStatistics_get_version_info(self)
3466 __swig_destroy__ = _IMP_container.delete_SingletonContainerStatistics
3469 r"""__str__(SingletonContainerStatistics self) -> std::string"""
3470 return _IMP_container.SingletonContainerStatistics___str__(self)
3473 r"""__repr__(SingletonContainerStatistics self) -> std::string"""
3474 return _IMP_container.SingletonContainerStatistics___repr__(self)
3478 return _object_cast_to_SingletonContainerStatistics(o)
3482 _IMP_container.SingletonContainerStatistics_swigregister(SingletonContainerStatistics)
3484 r"""Proxy of C++ IMP::container::PairContainerStatistics class."""
3486 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3488 def __init__(self, c):
3489 r"""__init__(PairContainerStatistics self, _PairContainerAdaptor c) -> PairContainerStatistics"""
3490 _IMP_container.PairContainerStatistics_swiginit(self, _IMP_container.new_PairContainerStatistics(c))
3492 def show_statistics(self, out):
3493 r"""show_statistics(PairContainerStatistics self, _ostream out)"""
3494 return _IMP_container.PairContainerStatistics_show_statistics(self, out)
3496 def set_track_unique(self, tf):
3497 r"""set_track_unique(PairContainerStatistics self, bool tf)"""
3498 return _IMP_container.PairContainerStatistics_set_track_unique(self, tf)
3500 def do_before_evaluate(self):
3501 r"""do_before_evaluate(PairContainerStatistics self)"""
3502 return _IMP_container.PairContainerStatistics_do_before_evaluate(self)
3504 def do_after_evaluate(self, da):
3505 r"""do_after_evaluate(PairContainerStatistics self, DerivativeAccumulator da)"""
3506 return _IMP_container.PairContainerStatistics_do_after_evaluate(self, da)
3508 def do_get_inputs(self):
3509 r"""do_get_inputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3510 return _IMP_container.PairContainerStatistics_do_get_inputs(self)
3512 def do_get_outputs(self):
3513 r"""do_get_outputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3514 return _IMP_container.PairContainerStatistics_do_get_outputs(self)
3516 def get_version_info(self):
3517 r"""get_version_info(PairContainerStatistics self) -> VersionInfo"""
3518 return _IMP_container.PairContainerStatistics_get_version_info(self)
3519 __swig_destroy__ = _IMP_container.delete_PairContainerStatistics
3522 r"""__str__(PairContainerStatistics self) -> std::string"""
3523 return _IMP_container.PairContainerStatistics___str__(self)
3526 r"""__repr__(PairContainerStatistics self) -> std::string"""
3527 return _IMP_container.PairContainerStatistics___repr__(self)
3531 return _object_cast_to_PairContainerStatistics(o)
3535 _IMP_container.PairContainerStatistics_swigregister(PairContainerStatistics)
3537 r"""Proxy of C++ IMP::container::TripletContainerStatistics class."""
3539 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3541 def __init__(self, c):
3542 r"""__init__(TripletContainerStatistics self, _TripletContainerAdaptor c) -> TripletContainerStatistics"""
3543 _IMP_container.TripletContainerStatistics_swiginit(self, _IMP_container.new_TripletContainerStatistics(c))
3545 def show_statistics(self, out):
3546 r"""show_statistics(TripletContainerStatistics self, _ostream out)"""
3547 return _IMP_container.TripletContainerStatistics_show_statistics(self, out)
3549 def set_track_unique(self, tf):
3550 r"""set_track_unique(TripletContainerStatistics self, bool tf)"""
3551 return _IMP_container.TripletContainerStatistics_set_track_unique(self, tf)
3553 def do_before_evaluate(self):
3554 r"""do_before_evaluate(TripletContainerStatistics self)"""
3555 return _IMP_container.TripletContainerStatistics_do_before_evaluate(self)
3557 def do_after_evaluate(self, da):
3558 r"""do_after_evaluate(TripletContainerStatistics self, DerivativeAccumulator da)"""
3559 return _IMP_container.TripletContainerStatistics_do_after_evaluate(self, da)
3561 def do_get_inputs(self):
3562 r"""do_get_inputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3563 return _IMP_container.TripletContainerStatistics_do_get_inputs(self)
3565 def do_get_outputs(self):
3566 r"""do_get_outputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3567 return _IMP_container.TripletContainerStatistics_do_get_outputs(self)
3569 def get_version_info(self):
3570 r"""get_version_info(TripletContainerStatistics self) -> VersionInfo"""
3571 return _IMP_container.TripletContainerStatistics_get_version_info(self)
3572 __swig_destroy__ = _IMP_container.delete_TripletContainerStatistics
3575 r"""__str__(TripletContainerStatistics self) -> std::string"""
3576 return _IMP_container.TripletContainerStatistics___str__(self)
3579 r"""__repr__(TripletContainerStatistics self) -> std::string"""
3580 return _IMP_container.TripletContainerStatistics___repr__(self)
3584 return _object_cast_to_TripletContainerStatistics(o)
3588 _IMP_container.TripletContainerStatistics_swigregister(TripletContainerStatistics)
3590 r"""Proxy of C++ IMP::container::QuadContainerStatistics class."""
3592 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3594 def __init__(self, c):
3595 r"""__init__(QuadContainerStatistics self, _QuadContainerAdaptor c) -> QuadContainerStatistics"""
3596 _IMP_container.QuadContainerStatistics_swiginit(self, _IMP_container.new_QuadContainerStatistics(c))
3598 def show_statistics(self, out):
3599 r"""show_statistics(QuadContainerStatistics self, _ostream out)"""
3600 return _IMP_container.QuadContainerStatistics_show_statistics(self, out)
3602 def set_track_unique(self, tf):
3603 r"""set_track_unique(QuadContainerStatistics self, bool tf)"""
3604 return _IMP_container.QuadContainerStatistics_set_track_unique(self, tf)
3606 def do_before_evaluate(self):
3607 r"""do_before_evaluate(QuadContainerStatistics self)"""
3608 return _IMP_container.QuadContainerStatistics_do_before_evaluate(self)
3610 def do_after_evaluate(self, da):
3611 r"""do_after_evaluate(QuadContainerStatistics self, DerivativeAccumulator da)"""
3612 return _IMP_container.QuadContainerStatistics_do_after_evaluate(self, da)
3614 def do_get_inputs(self):
3615 r"""do_get_inputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3616 return _IMP_container.QuadContainerStatistics_do_get_inputs(self)
3618 def do_get_outputs(self):
3619 r"""do_get_outputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3620 return _IMP_container.QuadContainerStatistics_do_get_outputs(self)
3622 def get_version_info(self):
3623 r"""get_version_info(QuadContainerStatistics self) -> VersionInfo"""
3624 return _IMP_container.QuadContainerStatistics_get_version_info(self)
3625 __swig_destroy__ = _IMP_container.delete_QuadContainerStatistics
3628 r"""__str__(QuadContainerStatistics self) -> std::string"""
3629 return _IMP_container.QuadContainerStatistics___str__(self)
3632 r"""__repr__(QuadContainerStatistics self) -> std::string"""
3633 return _IMP_container.QuadContainerStatistics___repr__(self)
3637 return _object_cast_to_QuadContainerStatistics(o)
3641 _IMP_container.QuadContainerStatistics_swigregister(QuadContainerStatistics)
3643 r"""Proxy of C++ IMP::container::EventSingletonsOptimizerState class."""
3645 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3647 def __init__(self, *args):
3648 r"""__init__(EventSingletonsOptimizerState self, SingletonPredicate pred, _SingletonContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstSingletonPredicate%1%") -> EventSingletonsOptimizerState"""
3649 _IMP_container.EventSingletonsOptimizerState_swiginit(self, _IMP_container.new_EventSingletonsOptimizerState(*args))
3651 def do_update(self, call):
3652 r"""do_update(EventSingletonsOptimizerState self, unsigned int call)"""
3653 return _IMP_container.EventSingletonsOptimizerState_do_update(self, call)
3655 def get_version_info(self):
3656 r"""get_version_info(EventSingletonsOptimizerState self) -> VersionInfo"""
3657 return _IMP_container.EventSingletonsOptimizerState_get_version_info(self)
3658 __swig_destroy__ = _IMP_container.delete_EventSingletonsOptimizerState
3661 r"""__str__(EventSingletonsOptimizerState self) -> std::string"""
3662 return _IMP_container.EventSingletonsOptimizerState___str__(self)
3665 r"""__repr__(EventSingletonsOptimizerState self) -> std::string"""
3666 return _IMP_container.EventSingletonsOptimizerState___repr__(self)
3670 return _object_cast_to_EventSingletonsOptimizerState(o)
3674 _IMP_container.EventSingletonsOptimizerState_swigregister(EventSingletonsOptimizerState)
3676 r"""Proxy of C++ IMP::container::EventPairsOptimizerState class."""
3678 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3680 def __init__(self, *args):
3681 r"""__init__(EventPairsOptimizerState self, PairPredicate pred, _PairContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstPairPredicate%1%") -> EventPairsOptimizerState"""
3682 _IMP_container.EventPairsOptimizerState_swiginit(self, _IMP_container.new_EventPairsOptimizerState(*args))
3684 def do_update(self, call):
3685 r"""do_update(EventPairsOptimizerState self, unsigned int call)"""
3686 return _IMP_container.EventPairsOptimizerState_do_update(self, call)
3688 def get_version_info(self):
3689 r"""get_version_info(EventPairsOptimizerState self) -> VersionInfo"""
3690 return _IMP_container.EventPairsOptimizerState_get_version_info(self)
3691 __swig_destroy__ = _IMP_container.delete_EventPairsOptimizerState
3694 r"""__str__(EventPairsOptimizerState self) -> std::string"""
3695 return _IMP_container.EventPairsOptimizerState___str__(self)
3698 r"""__repr__(EventPairsOptimizerState self) -> std::string"""
3699 return _IMP_container.EventPairsOptimizerState___repr__(self)
3703 return _object_cast_to_EventPairsOptimizerState(o)
3707 _IMP_container.EventPairsOptimizerState_swigregister(EventPairsOptimizerState)
3709 r"""Proxy of C++ IMP::container::EventTripletsOptimizerState class."""
3711 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3713 def __init__(self, *args):
3714 r"""__init__(EventTripletsOptimizerState self, TripletPredicate pred, _TripletContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstTripletPredicate%1%") -> EventTripletsOptimizerState"""
3715 _IMP_container.EventTripletsOptimizerState_swiginit(self, _IMP_container.new_EventTripletsOptimizerState(*args))
3717 def do_update(self, call):
3718 r"""do_update(EventTripletsOptimizerState self, unsigned int call)"""
3719 return _IMP_container.EventTripletsOptimizerState_do_update(self, call)
3721 def get_version_info(self):
3722 r"""get_version_info(EventTripletsOptimizerState self) -> VersionInfo"""
3723 return _IMP_container.EventTripletsOptimizerState_get_version_info(self)
3724 __swig_destroy__ = _IMP_container.delete_EventTripletsOptimizerState
3727 r"""__str__(EventTripletsOptimizerState self) -> std::string"""
3728 return _IMP_container.EventTripletsOptimizerState___str__(self)
3731 r"""__repr__(EventTripletsOptimizerState self) -> std::string"""
3732 return _IMP_container.EventTripletsOptimizerState___repr__(self)
3736 return _object_cast_to_EventTripletsOptimizerState(o)
3740 _IMP_container.EventTripletsOptimizerState_swigregister(EventTripletsOptimizerState)
3742 r"""Proxy of C++ IMP::container::EventQuadsOptimizerState class."""
3744 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3746 def __init__(self, *args):
3747 r"""__init__(EventQuadsOptimizerState self, QuadPredicate pred, _QuadContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstQuadPredicate%1%") -> EventQuadsOptimizerState"""
3748 _IMP_container.EventQuadsOptimizerState_swiginit(self, _IMP_container.new_EventQuadsOptimizerState(*args))
3750 def do_update(self, call):
3751 r"""do_update(EventQuadsOptimizerState self, unsigned int call)"""
3752 return _IMP_container.EventQuadsOptimizerState_do_update(self, call)
3754 def get_version_info(self):
3755 r"""get_version_info(EventQuadsOptimizerState self) -> VersionInfo"""
3756 return _IMP_container.EventQuadsOptimizerState_get_version_info(self)
3757 __swig_destroy__ = _IMP_container.delete_EventQuadsOptimizerState
3760 r"""__str__(EventQuadsOptimizerState self) -> std::string"""
3761 return _IMP_container.EventQuadsOptimizerState___str__(self)
3764 r"""__repr__(EventQuadsOptimizerState self) -> std::string"""
3765 return _IMP_container.EventQuadsOptimizerState___repr__(self)
3769 return _object_cast_to_EventQuadsOptimizerState(o)
3773 _IMP_container.EventQuadsOptimizerState_swigregister(EventQuadsOptimizerState)
3775 r"""Proxy of C++ IMP::container::PredicateSingletonsRestraint class."""
3777 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3779 def __init__(self, *args):
3781 __init__(PredicateSingletonsRestraint self, SingletonPredicate pred, _SingletonContainerAdaptor input, std::string name="PredicateSingletonsRestraint %1%") -> PredicateSingletonsRestraint
3782 __init__(PredicateSingletonsRestraint self) -> PredicateSingletonsRestraint
3784 _IMP_container.PredicateSingletonsRestraint_swiginit(self, _IMP_container.new_PredicateSingletonsRestraint(*args))
3786 def set_score(self, predicate_value, score):
3787 r"""set_score(PredicateSingletonsRestraint self, int predicate_value, SingletonScore score)"""
3788 return _IMP_container.PredicateSingletonsRestraint_set_score(self, predicate_value, score)
3790 def set_unknown_score(self, score):
3791 r"""set_unknown_score(PredicateSingletonsRestraint self, SingletonScore score)"""
3792 return _IMP_container.PredicateSingletonsRestraint_set_unknown_score(self, score)
3794 def set_is_complete(self, tf):
3795 r"""set_is_complete(PredicateSingletonsRestraint self, bool tf)"""
3796 return _IMP_container.PredicateSingletonsRestraint_set_is_complete(self, tf)
3799 r"""get_indexes(PredicateSingletonsRestraint self, int predicate_value) -> IMP::ParticleIndexes"""
3800 return _IMP_container.PredicateSingletonsRestraint_get_indexes(self, predicate_value)
3802 def do_add_score_and_derivatives(self, sa):
3803 r"""do_add_score_and_derivatives(PredicateSingletonsRestraint self, ScoreAccumulator sa)"""
3804 return _IMP_container.PredicateSingletonsRestraint_do_add_score_and_derivatives(self, sa)
3806 def do_get_inputs(self):
3807 r"""do_get_inputs(PredicateSingletonsRestraint self) -> IMP::ModelObjectsTemp"""
3808 return _IMP_container.PredicateSingletonsRestraint_do_get_inputs(self)
3810 def get_version_info(self):
3811 r"""get_version_info(PredicateSingletonsRestraint self) -> VersionInfo"""
3812 return _IMP_container.PredicateSingletonsRestraint_get_version_info(self)
3813 __swig_destroy__ = _IMP_container.delete_PredicateSingletonsRestraint
3816 r"""__str__(PredicateSingletonsRestraint self) -> std::string"""
3817 return _IMP_container.PredicateSingletonsRestraint___str__(self)
3820 r"""__repr__(PredicateSingletonsRestraint self) -> std::string"""
3821 return _IMP_container.PredicateSingletonsRestraint___repr__(self)
3825 return _object_cast_to_PredicateSingletonsRestraint(o)
3828 def _get_as_binary(self):
3829 r"""_get_as_binary(PredicateSingletonsRestraint self) -> PyObject *"""
3830 return _IMP_container.PredicateSingletonsRestraint__get_as_binary(self)
3832 def _set_from_binary(self, p):
3833 r"""_set_from_binary(PredicateSingletonsRestraint self, PyObject * p)"""
3834 return _IMP_container.PredicateSingletonsRestraint__set_from_binary(self, p)
3836 def __getstate__(self):
3837 p = self._get_as_binary()
3838 if len(self.__dict__) > 1:
3839 d = self.__dict__.copy()
3844 def __setstate__(self, p):
3845 if not hasattr(self,
'this'):
3847 if isinstance(p, tuple):
3849 self.__dict__.update(d)
3850 return self._set_from_binary(p)
3854 _IMP_container.PredicateSingletonsRestraint_swigregister(PredicateSingletonsRestraint)
3856 r"""Proxy of C++ IMP::container::PredicatePairsRestraint class."""
3858 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3860 def __init__(self, *args):
3862 __init__(PredicatePairsRestraint self, PairPredicate pred, _PairContainerAdaptor input, std::string name="PredicatePairsRestraint %1%") -> PredicatePairsRestraint
3863 __init__(PredicatePairsRestraint self) -> PredicatePairsRestraint
3865 _IMP_container.PredicatePairsRestraint_swiginit(self, _IMP_container.new_PredicatePairsRestraint(*args))
3867 def set_score(self, predicate_value, score):
3868 r"""set_score(PredicatePairsRestraint self, int predicate_value, PairScore score)"""
3869 return _IMP_container.PredicatePairsRestraint_set_score(self, predicate_value, score)
3871 def set_unknown_score(self, score):
3872 r"""set_unknown_score(PredicatePairsRestraint self, PairScore score)"""
3873 return _IMP_container.PredicatePairsRestraint_set_unknown_score(self, score)
3875 def set_is_complete(self, tf):
3876 r"""set_is_complete(PredicatePairsRestraint self, bool tf)"""
3877 return _IMP_container.PredicatePairsRestraint_set_is_complete(self, tf)
3880 r"""get_indexes(PredicatePairsRestraint self, int predicate_value) -> IMP::ParticleIndexPairs"""
3881 return _IMP_container.PredicatePairsRestraint_get_indexes(self, predicate_value)
3883 def do_add_score_and_derivatives(self, sa):
3884 r"""do_add_score_and_derivatives(PredicatePairsRestraint self, ScoreAccumulator sa)"""
3885 return _IMP_container.PredicatePairsRestraint_do_add_score_and_derivatives(self, sa)
3887 def do_get_inputs(self):
3888 r"""do_get_inputs(PredicatePairsRestraint self) -> IMP::ModelObjectsTemp"""
3889 return _IMP_container.PredicatePairsRestraint_do_get_inputs(self)
3891 def get_version_info(self):
3892 r"""get_version_info(PredicatePairsRestraint self) -> VersionInfo"""
3893 return _IMP_container.PredicatePairsRestraint_get_version_info(self)
3894 __swig_destroy__ = _IMP_container.delete_PredicatePairsRestraint
3897 r"""__str__(PredicatePairsRestraint self) -> std::string"""
3898 return _IMP_container.PredicatePairsRestraint___str__(self)
3901 r"""__repr__(PredicatePairsRestraint self) -> std::string"""
3902 return _IMP_container.PredicatePairsRestraint___repr__(self)
3906 return _object_cast_to_PredicatePairsRestraint(o)
3909 def _get_as_binary(self):
3910 r"""_get_as_binary(PredicatePairsRestraint self) -> PyObject *"""
3911 return _IMP_container.PredicatePairsRestraint__get_as_binary(self)
3913 def _set_from_binary(self, p):
3914 r"""_set_from_binary(PredicatePairsRestraint self, PyObject * p)"""
3915 return _IMP_container.PredicatePairsRestraint__set_from_binary(self, p)
3917 def __getstate__(self):
3918 p = self._get_as_binary()
3919 if len(self.__dict__) > 1:
3920 d = self.__dict__.copy()
3925 def __setstate__(self, p):
3926 if not hasattr(self,
'this'):
3928 if isinstance(p, tuple):
3930 self.__dict__.update(d)
3931 return self._set_from_binary(p)
3935 _IMP_container.PredicatePairsRestraint_swigregister(PredicatePairsRestraint)
3937 r"""Proxy of C++ IMP::container::PredicateTripletsRestraint class."""
3939 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3941 def __init__(self, *args):
3943 __init__(PredicateTripletsRestraint self, TripletPredicate pred, _TripletContainerAdaptor input, std::string name="PredicateTripletsRestraint %1%") -> PredicateTripletsRestraint
3944 __init__(PredicateTripletsRestraint self) -> PredicateTripletsRestraint
3946 _IMP_container.PredicateTripletsRestraint_swiginit(self, _IMP_container.new_PredicateTripletsRestraint(*args))
3948 def set_score(self, predicate_value, score):
3949 r"""set_score(PredicateTripletsRestraint self, int predicate_value, TripletScore score)"""
3950 return _IMP_container.PredicateTripletsRestraint_set_score(self, predicate_value, score)
3952 def set_unknown_score(self, score):
3953 r"""set_unknown_score(PredicateTripletsRestraint self, TripletScore score)"""
3954 return _IMP_container.PredicateTripletsRestraint_set_unknown_score(self, score)
3956 def set_is_complete(self, tf):
3957 r"""set_is_complete(PredicateTripletsRestraint self, bool tf)"""
3958 return _IMP_container.PredicateTripletsRestraint_set_is_complete(self, tf)
3961 r"""get_indexes(PredicateTripletsRestraint self, int predicate_value) -> IMP::ParticleIndexTriplets"""
3962 return _IMP_container.PredicateTripletsRestraint_get_indexes(self, predicate_value)
3964 def do_add_score_and_derivatives(self, sa):
3965 r"""do_add_score_and_derivatives(PredicateTripletsRestraint self, ScoreAccumulator sa)"""
3966 return _IMP_container.PredicateTripletsRestraint_do_add_score_and_derivatives(self, sa)
3968 def do_get_inputs(self):
3969 r"""do_get_inputs(PredicateTripletsRestraint self) -> IMP::ModelObjectsTemp"""
3970 return _IMP_container.PredicateTripletsRestraint_do_get_inputs(self)
3972 def get_version_info(self):
3973 r"""get_version_info(PredicateTripletsRestraint self) -> VersionInfo"""
3974 return _IMP_container.PredicateTripletsRestraint_get_version_info(self)
3975 __swig_destroy__ = _IMP_container.delete_PredicateTripletsRestraint
3978 r"""__str__(PredicateTripletsRestraint self) -> std::string"""
3979 return _IMP_container.PredicateTripletsRestraint___str__(self)
3982 r"""__repr__(PredicateTripletsRestraint self) -> std::string"""
3983 return _IMP_container.PredicateTripletsRestraint___repr__(self)
3987 return _object_cast_to_PredicateTripletsRestraint(o)
3990 def _get_as_binary(self):
3991 r"""_get_as_binary(PredicateTripletsRestraint self) -> PyObject *"""
3992 return _IMP_container.PredicateTripletsRestraint__get_as_binary(self)
3994 def _set_from_binary(self, p):
3995 r"""_set_from_binary(PredicateTripletsRestraint self, PyObject * p)"""
3996 return _IMP_container.PredicateTripletsRestraint__set_from_binary(self, p)
3998 def __getstate__(self):
3999 p = self._get_as_binary()
4000 if len(self.__dict__) > 1:
4001 d = self.__dict__.copy()
4006 def __setstate__(self, p):
4007 if not hasattr(self,
'this'):
4009 if isinstance(p, tuple):
4011 self.__dict__.update(d)
4012 return self._set_from_binary(p)
4016 _IMP_container.PredicateTripletsRestraint_swigregister(PredicateTripletsRestraint)
4018 r"""Proxy of C++ IMP::container::PredicateQuadsRestraint class."""
4020 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4022 def __init__(self, *args):
4024 __init__(PredicateQuadsRestraint self, QuadPredicate pred, _QuadContainerAdaptor input, std::string name="PredicateQuadsRestraint %1%") -> PredicateQuadsRestraint
4025 __init__(PredicateQuadsRestraint self) -> PredicateQuadsRestraint
4027 _IMP_container.PredicateQuadsRestraint_swiginit(self, _IMP_container.new_PredicateQuadsRestraint(*args))
4029 def set_score(self, predicate_value, score):
4030 r"""set_score(PredicateQuadsRestraint self, int predicate_value, QuadScore score)"""
4031 return _IMP_container.PredicateQuadsRestraint_set_score(self, predicate_value, score)
4033 def set_unknown_score(self, score):
4034 r"""set_unknown_score(PredicateQuadsRestraint self, QuadScore score)"""
4035 return _IMP_container.PredicateQuadsRestraint_set_unknown_score(self, score)
4037 def set_is_complete(self, tf):
4038 r"""set_is_complete(PredicateQuadsRestraint self, bool tf)"""
4039 return _IMP_container.PredicateQuadsRestraint_set_is_complete(self, tf)
4042 r"""get_indexes(PredicateQuadsRestraint self, int predicate_value) -> IMP::ParticleIndexQuads"""
4043 return _IMP_container.PredicateQuadsRestraint_get_indexes(self, predicate_value)
4045 def do_add_score_and_derivatives(self, sa):
4046 r"""do_add_score_and_derivatives(PredicateQuadsRestraint self, ScoreAccumulator sa)"""
4047 return _IMP_container.PredicateQuadsRestraint_do_add_score_and_derivatives(self, sa)
4049 def do_get_inputs(self):
4050 r"""do_get_inputs(PredicateQuadsRestraint self) -> IMP::ModelObjectsTemp"""
4051 return _IMP_container.PredicateQuadsRestraint_do_get_inputs(self)
4053 def get_version_info(self):
4054 r"""get_version_info(PredicateQuadsRestraint self) -> VersionInfo"""
4055 return _IMP_container.PredicateQuadsRestraint_get_version_info(self)
4056 __swig_destroy__ = _IMP_container.delete_PredicateQuadsRestraint
4059 r"""__str__(PredicateQuadsRestraint self) -> std::string"""
4060 return _IMP_container.PredicateQuadsRestraint___str__(self)
4063 r"""__repr__(PredicateQuadsRestraint self) -> std::string"""
4064 return _IMP_container.PredicateQuadsRestraint___repr__(self)
4068 return _object_cast_to_PredicateQuadsRestraint(o)
4071 def _get_as_binary(self):
4072 r"""_get_as_binary(PredicateQuadsRestraint self) -> PyObject *"""
4073 return _IMP_container.PredicateQuadsRestraint__get_as_binary(self)
4075 def _set_from_binary(self, p):
4076 r"""_set_from_binary(PredicateQuadsRestraint self, PyObject * p)"""
4077 return _IMP_container.PredicateQuadsRestraint__set_from_binary(self, p)
4079 def __getstate__(self):
4080 p = self._get_as_binary()
4081 if len(self.__dict__) > 1:
4082 d = self.__dict__.copy()
4087 def __setstate__(self, p):
4088 if not hasattr(self,
'this'):
4090 if isinstance(p, tuple):
4092 self.__dict__.update(d)
4093 return self._set_from_binary(p)
4097 _IMP_container.PredicateQuadsRestraint_swigregister(PredicateQuadsRestraint)
4099 r"""Proxy of C++ IMP::container::DistributeSingletonsScoreState class."""
4101 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4103 def __init__(self, *args):
4104 r"""__init__(DistributeSingletonsScoreState self, _SingletonContainerAdaptor input, std::string name="DistributeSingletonsScoreState %1%") -> DistributeSingletonsScoreState"""
4105 _IMP_container.DistributeSingletonsScoreState_swiginit(self, _IMP_container.new_DistributeSingletonsScoreState(*args))
4107 def add_predicate(self, predicate, value):
4108 r"""add_predicate(DistributeSingletonsScoreState self, SingletonPredicate predicate, int value) -> DynamicListSingletonContainer"""
4109 return _IMP_container.DistributeSingletonsScoreState_add_predicate(self, predicate, value)
4111 def do_before_evaluate(self):
4112 r"""do_before_evaluate(DistributeSingletonsScoreState self)"""
4113 return _IMP_container.DistributeSingletonsScoreState_do_before_evaluate(self)
4115 def do_after_evaluate(self, da):
4116 r"""do_after_evaluate(DistributeSingletonsScoreState self, DerivativeAccumulator da)"""
4117 return _IMP_container.DistributeSingletonsScoreState_do_after_evaluate(self, da)
4119 def do_get_inputs(self):
4120 r"""do_get_inputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4121 return _IMP_container.DistributeSingletonsScoreState_do_get_inputs(self)
4123 def do_get_outputs(self):
4124 r"""do_get_outputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4125 return _IMP_container.DistributeSingletonsScoreState_do_get_outputs(self)
4127 def get_version_info(self):
4128 r"""get_version_info(DistributeSingletonsScoreState self) -> VersionInfo"""
4129 return _IMP_container.DistributeSingletonsScoreState_get_version_info(self)
4130 __swig_destroy__ = _IMP_container.delete_DistributeSingletonsScoreState
4133 r"""__str__(DistributeSingletonsScoreState self) -> std::string"""
4134 return _IMP_container.DistributeSingletonsScoreState___str__(self)
4137 r"""__repr__(DistributeSingletonsScoreState self) -> std::string"""
4138 return _IMP_container.DistributeSingletonsScoreState___repr__(self)
4142 return _object_cast_to_DistributeSingletonsScoreState(o)
4146 _IMP_container.DistributeSingletonsScoreState_swigregister(DistributeSingletonsScoreState)
4148 r"""Proxy of C++ IMP::container::DistributePairsScoreState class."""
4150 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4152 def __init__(self, *args):
4153 r"""__init__(DistributePairsScoreState self, _PairContainerAdaptor input, std::string name="DistributePairsScoreState %1%") -> DistributePairsScoreState"""
4154 _IMP_container.DistributePairsScoreState_swiginit(self, _IMP_container.new_DistributePairsScoreState(*args))
4156 def add_predicate(self, predicate, value):
4157 r"""add_predicate(DistributePairsScoreState self, PairPredicate predicate, int value) -> DynamicListPairContainer"""
4158 return _IMP_container.DistributePairsScoreState_add_predicate(self, predicate, value)
4160 def do_before_evaluate(self):
4161 r"""do_before_evaluate(DistributePairsScoreState self)"""
4162 return _IMP_container.DistributePairsScoreState_do_before_evaluate(self)
4164 def do_after_evaluate(self, da):
4165 r"""do_after_evaluate(DistributePairsScoreState self, DerivativeAccumulator da)"""
4166 return _IMP_container.DistributePairsScoreState_do_after_evaluate(self, da)
4168 def do_get_inputs(self):
4169 r"""do_get_inputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4170 return _IMP_container.DistributePairsScoreState_do_get_inputs(self)
4172 def do_get_outputs(self):
4173 r"""do_get_outputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4174 return _IMP_container.DistributePairsScoreState_do_get_outputs(self)
4176 def get_version_info(self):
4177 r"""get_version_info(DistributePairsScoreState self) -> VersionInfo"""
4178 return _IMP_container.DistributePairsScoreState_get_version_info(self)
4179 __swig_destroy__ = _IMP_container.delete_DistributePairsScoreState
4182 r"""__str__(DistributePairsScoreState self) -> std::string"""
4183 return _IMP_container.DistributePairsScoreState___str__(self)
4186 r"""__repr__(DistributePairsScoreState self) -> std::string"""
4187 return _IMP_container.DistributePairsScoreState___repr__(self)
4191 return _object_cast_to_DistributePairsScoreState(o)
4195 _IMP_container.DistributePairsScoreState_swigregister(DistributePairsScoreState)
4197 r"""Proxy of C++ IMP::container::DistributeTripletsScoreState class."""
4199 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4201 def __init__(self, *args):
4202 r"""__init__(DistributeTripletsScoreState self, _TripletContainerAdaptor input, std::string name="DistributeTripletsScoreState %1%") -> DistributeTripletsScoreState"""
4203 _IMP_container.DistributeTripletsScoreState_swiginit(self, _IMP_container.new_DistributeTripletsScoreState(*args))
4205 def add_predicate(self, predicate, value):
4206 r"""add_predicate(DistributeTripletsScoreState self, TripletPredicate predicate, int value) -> DynamicListTripletContainer"""
4207 return _IMP_container.DistributeTripletsScoreState_add_predicate(self, predicate, value)
4209 def do_before_evaluate(self):
4210 r"""do_before_evaluate(DistributeTripletsScoreState self)"""
4211 return _IMP_container.DistributeTripletsScoreState_do_before_evaluate(self)
4213 def do_after_evaluate(self, da):
4214 r"""do_after_evaluate(DistributeTripletsScoreState self, DerivativeAccumulator da)"""
4215 return _IMP_container.DistributeTripletsScoreState_do_after_evaluate(self, da)
4217 def do_get_inputs(self):
4218 r"""do_get_inputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4219 return _IMP_container.DistributeTripletsScoreState_do_get_inputs(self)
4221 def do_get_outputs(self):
4222 r"""do_get_outputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4223 return _IMP_container.DistributeTripletsScoreState_do_get_outputs(self)
4225 def get_version_info(self):
4226 r"""get_version_info(DistributeTripletsScoreState self) -> VersionInfo"""
4227 return _IMP_container.DistributeTripletsScoreState_get_version_info(self)
4228 __swig_destroy__ = _IMP_container.delete_DistributeTripletsScoreState
4231 r"""__str__(DistributeTripletsScoreState self) -> std::string"""
4232 return _IMP_container.DistributeTripletsScoreState___str__(self)
4235 r"""__repr__(DistributeTripletsScoreState self) -> std::string"""
4236 return _IMP_container.DistributeTripletsScoreState___repr__(self)
4240 return _object_cast_to_DistributeTripletsScoreState(o)
4244 _IMP_container.DistributeTripletsScoreState_swigregister(DistributeTripletsScoreState)
4246 r"""Proxy of C++ IMP::container::DistributeQuadsScoreState class."""
4248 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4250 def __init__(self, *args):
4251 r"""__init__(DistributeQuadsScoreState self, _QuadContainerAdaptor input, std::string name="DistributeQuadsScoreState %1%") -> DistributeQuadsScoreState"""
4252 _IMP_container.DistributeQuadsScoreState_swiginit(self, _IMP_container.new_DistributeQuadsScoreState(*args))
4254 def add_predicate(self, predicate, value):
4255 r"""add_predicate(DistributeQuadsScoreState self, QuadPredicate predicate, int value) -> DynamicListQuadContainer"""
4256 return _IMP_container.DistributeQuadsScoreState_add_predicate(self, predicate, value)
4258 def do_before_evaluate(self):
4259 r"""do_before_evaluate(DistributeQuadsScoreState self)"""
4260 return _IMP_container.DistributeQuadsScoreState_do_before_evaluate(self)
4262 def do_after_evaluate(self, da):
4263 r"""do_after_evaluate(DistributeQuadsScoreState self, DerivativeAccumulator da)"""
4264 return _IMP_container.DistributeQuadsScoreState_do_after_evaluate(self, da)
4266 def do_get_inputs(self):
4267 r"""do_get_inputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4268 return _IMP_container.DistributeQuadsScoreState_do_get_inputs(self)
4270 def do_get_outputs(self):
4271 r"""do_get_outputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4272 return _IMP_container.DistributeQuadsScoreState_do_get_outputs(self)
4274 def get_version_info(self):
4275 r"""get_version_info(DistributeQuadsScoreState self) -> VersionInfo"""
4276 return _IMP_container.DistributeQuadsScoreState_get_version_info(self)
4277 __swig_destroy__ = _IMP_container.delete_DistributeQuadsScoreState
4280 r"""__str__(DistributeQuadsScoreState self) -> std::string"""
4281 return _IMP_container.DistributeQuadsScoreState___str__(self)
4284 r"""__repr__(DistributeQuadsScoreState self) -> std::string"""
4285 return _IMP_container.DistributeQuadsScoreState___repr__(self)
4289 return _object_cast_to_DistributeQuadsScoreState(o)
4293 _IMP_container.DistributeQuadsScoreState_swigregister(DistributeQuadsScoreState)
4297 create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint
4298 create_restraint(PairScore ps, PairContainer pp) -> Restraint
4300 return _IMP_container.create_restraint(*args)
4303 r"""get_module_version() -> std::string const"""
4304 return _IMP_container.get_module_version()
4307 r"""get_example_path(std::string fname) -> std::string"""
4308 return _IMP_container.get_example_path(fname)
4311 r"""get_data_path(std::string fname) -> std::string"""
4312 return _IMP_container.get_data_path(fname)
4314 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.