14 from sys
import version_info
as _swig_python_version_info
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_CONTAINER_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_CONTAINER_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_container.delete_IMP_CONTAINER_SwigPyIterator
77 r"""value(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
78 return _IMP_container.IMP_CONTAINER_SwigPyIterator_value(self)
81 r"""incr(IMP_CONTAINER_SwigPyIterator self, size_t n=1) -> IMP_CONTAINER_SwigPyIterator"""
82 return _IMP_container.IMP_CONTAINER_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_CONTAINER_SwigPyIterator self, size_t n=1) -> IMP_CONTAINER_SwigPyIterator"""
86 return _IMP_container.IMP_CONTAINER_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_container.IMP_CONTAINER_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
94 return _IMP_container.IMP_CONTAINER_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_CONTAINER_SwigPyIterator self) -> IMP_CONTAINER_SwigPyIterator"""
98 return _IMP_container.IMP_CONTAINER_SwigPyIterator_copy(self)
101 r"""next(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
102 return _IMP_container.IMP_CONTAINER_SwigPyIterator_next(self)
105 r"""__next__(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
106 return _IMP_container.IMP_CONTAINER_SwigPyIterator___next__(self)
109 r"""previous(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
110 return _IMP_container.IMP_CONTAINER_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
114 return _IMP_container.IMP_CONTAINER_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
118 return _IMP_container.IMP_CONTAINER_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
122 return _IMP_container.IMP_CONTAINER_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
126 return _IMP_container.IMP_CONTAINER_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
130 return _IMP_container.IMP_CONTAINER_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
134 return _IMP_container.IMP_CONTAINER_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator
139 __sub__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_container.IMP_CONTAINER_SwigPyIterator___sub__(self, *args)
146 _IMP_container.IMP_CONTAINER_SwigPyIterator_swigregister(IMP_CONTAINER_SwigPyIterator)
153 IMP_DEBUG = _IMP_container.IMP_DEBUG
155 IMP_RELEASE = _IMP_container.IMP_RELEASE
157 IMP_SILENT = _IMP_container.IMP_SILENT
159 IMP_PROGRESS = _IMP_container.IMP_PROGRESS
161 IMP_TERSE = _IMP_container.IMP_TERSE
163 IMP_VERBOSE = _IMP_container.IMP_VERBOSE
165 IMP_MEMORY = _IMP_container.IMP_MEMORY
167 IMP_NONE = _IMP_container.IMP_NONE
169 IMP_USAGE = _IMP_container.IMP_USAGE
171 IMP_INTERNAL = _IMP_container.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_container.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_container.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_container.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_container.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_container.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_container.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_container.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_container.IMP_KERNEL_HAS_GPERFTOOLS
189 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_container.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
191 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_container.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
193 IMPKERNEL_SHOW_WARNINGS = _IMP_container.IMPKERNEL_SHOW_WARNINGS
197 class _DirectorObjects:
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 r"""Proxy of C++ std::ostream class."""
225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
227 def __init__(self, *args, **kwargs):
228 raise AttributeError(
"No constructor defined")
229 __repr__ = _swig_repr
231 def write(self, osa_buf):
232 r"""write(_ostream self, char const * osa_buf)"""
233 return _IMP_container._ostream_write(self, osa_buf)
236 _IMP_container._ostream_swigregister(_ostream)
237 IMP_C_OPEN_BINARY = _IMP_container.IMP_C_OPEN_BINARY
240 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CGAL_HAS_BOOST_FILESYSTEM
242 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
244 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_container.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_container.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_CGAL_HAS_NUMPY = _IMP_container.IMP_CGAL_HAS_NUMPY
250 IMPCGAL_SHOW_WARNINGS = _IMP_container.IMPCGAL_SHOW_WARNINGS
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_container.IMP_ALGEBRA_HAS_IMP_CGAL
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_SYSTEM
263 IMP_ALGEBRA_HAS_CGAL = _IMP_container.IMP_ALGEBRA_HAS_CGAL
265 IMP_ALGEBRA_HAS_NUMPY = _IMP_container.IMP_ALGEBRA_HAS_NUMPY
267 IMP_ALGEBRA_HAS_ANN = _IMP_container.IMP_ALGEBRA_HAS_ANN
269 IMPALGEBRA_SHOW_WARNINGS = _IMP_container.IMPALGEBRA_SHOW_WARNINGS
272 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_container.IMP_DISPLAY_HAS_IMP_CGAL
274 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
276 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
278 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_container.IMP_DISPLAY_HAS_BOOST_RANDOM
280 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_container.IMP_DISPLAY_HAS_BOOST_SYSTEM
282 IMP_DISPLAY_HAS_CGAL = _IMP_container.IMP_DISPLAY_HAS_CGAL
284 IMP_DISPLAY_HAS_NUMPY = _IMP_container.IMP_DISPLAY_HAS_NUMPY
286 IMPDISPLAY_SHOW_WARNINGS = _IMP_container.IMPDISPLAY_SHOW_WARNINGS
289 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_container.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
291 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
293 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
295 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
297 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
299 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_container.IMP_SCORE_FUNCTOR_HAS_CGAL
301 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_container.IMP_SCORE_FUNCTOR_HAS_HDF5
303 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_container.IMP_SCORE_FUNCTOR_HAS_NUMPY
305 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_container.IMPSCOREFUNCTOR_SHOW_WARNINGS
308 IMP_CORE_HAS_IMP_CGAL = _IMP_container.IMP_CORE_HAS_IMP_CGAL
310 IMP_CORE_HAS_IMP_KERNEL = _IMP_container.IMP_CORE_HAS_IMP_KERNEL
312 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CORE_HAS_BOOST_FILESYSTEM
314 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
316 IMP_CORE_HAS_BOOST_RANDOM = _IMP_container.IMP_CORE_HAS_BOOST_RANDOM
318 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_container.IMP_CORE_HAS_BOOST_SYSTEM
320 IMP_CORE_HAS_CGAL = _IMP_container.IMP_CORE_HAS_CGAL
322 IMP_CORE_HAS_HDF5 = _IMP_container.IMP_CORE_HAS_HDF5
324 IMP_CORE_HAS_NUMPY = _IMP_container.IMP_CORE_HAS_NUMPY
326 IMPCORE_SHOW_WARNINGS = _IMP_container.IMPCORE_SHOW_WARNINGS
329 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_container.IMP_CONTAINER_HAS_IMP_ALGEBRA
331 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_container.IMP_CONTAINER_HAS_IMP_CGAL
333 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_container.IMP_CONTAINER_HAS_IMP_DISPLAY
335 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_container.IMP_CONTAINER_HAS_IMP_KERNEL
337 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_container.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
339 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
341 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
343 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_container.IMP_CONTAINER_HAS_BOOST_RANDOM
345 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_container.IMP_CONTAINER_HAS_BOOST_SYSTEM
347 IMP_CONTAINER_HAS_CGAL = _IMP_container.IMP_CONTAINER_HAS_CGAL
349 IMP_CONTAINER_HAS_HDF5 = _IMP_container.IMP_CONTAINER_HAS_HDF5
351 IMP_CONTAINER_HAS_NUMPY = _IMP_container.IMP_CONTAINER_HAS_NUMPY
353 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_container.IMP_CONTAINER_HAS_PYTHON_IHM
355 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_container.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
357 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_container.IMP_CONTAINER_HAS_ROBIN_MAP
359 IMPCONTAINER_SHOW_WARNINGS = _IMP_container.IMPCONTAINER_SHOW_WARNINGS
362 _object_types.append(
"AllBipartitePairContainer")
365 def _object_cast_to_AllBipartitePairContainer(o):
366 r"""_object_cast_to_AllBipartitePairContainer(Object o) -> AllBipartitePairContainer"""
367 return _IMP_container._object_cast_to_AllBipartitePairContainer(o)
369 _object_types.append(
"AllPairContainer")
372 def _object_cast_to_AllPairContainer(o):
373 r"""_object_cast_to_AllPairContainer(Object o) -> AllPairContainer"""
374 return _IMP_container._object_cast_to_AllPairContainer(o)
376 _object_types.append(
"CloseBipartitePairContainer")
379 def _object_cast_to_CloseBipartitePairContainer(o):
380 r"""_object_cast_to_CloseBipartitePairContainer(Object o) -> CloseBipartitePairContainer"""
381 return _IMP_container._object_cast_to_CloseBipartitePairContainer(o)
383 _object_types.append(
"ClosePairContainer")
386 def _object_cast_to_ClosePairContainer(o):
387 r"""_object_cast_to_ClosePairContainer(Object o) -> ClosePairContainer"""
388 return _IMP_container._object_cast_to_ClosePairContainer(o)
390 _object_types.append(
"ConnectingPairContainer")
393 def _object_cast_to_ConnectingPairContainer(o):
394 r"""_object_cast_to_ConnectingPairContainer(Object o) -> ConnectingPairContainer"""
395 return _IMP_container._object_cast_to_ConnectingPairContainer(o)
397 _object_types.append(
"ConsecutivePairContainer")
400 def _object_cast_to_ConsecutivePairContainer(o):
401 r"""_object_cast_to_ConsecutivePairContainer(Object o) -> ConsecutivePairContainer"""
402 return _IMP_container._object_cast_to_ConsecutivePairContainer(o)
404 _object_types.append(
"ExclusiveConsecutivePairContainer")
407 def _object_cast_to_ExclusiveConsecutivePairContainer(o):
408 r"""_object_cast_to_ExclusiveConsecutivePairContainer(Object o) -> ExclusiveConsecutivePairContainer"""
409 return _IMP_container._object_cast_to_ExclusiveConsecutivePairContainer(o)
411 _object_types.append(
"ExclusiveConsecutivePairFilter")
414 def _object_cast_to_ExclusiveConsecutivePairFilter(o):
415 r"""_object_cast_to_ExclusiveConsecutivePairFilter(Object o) -> ExclusiveConsecutivePairFilter"""
416 return _IMP_container._object_cast_to_ExclusiveConsecutivePairFilter(o)
418 _object_types.append(
"ConsecutivePairFilter")
421 def _object_cast_to_ConsecutivePairFilter(o):
422 r"""_object_cast_to_ConsecutivePairFilter(Object o) -> ConsecutivePairFilter"""
423 return _IMP_container._object_cast_to_ConsecutivePairFilter(o)
425 _object_types.append(
"ListPairContainer")
428 def _object_cast_to_ListPairContainer(o):
429 r"""_object_cast_to_ListPairContainer(Object o) -> ListPairContainer"""
430 return _IMP_container._object_cast_to_ListPairContainer(o)
432 _object_types.append(
"ListQuadContainer")
435 def _object_cast_to_ListQuadContainer(o):
436 r"""_object_cast_to_ListQuadContainer(Object o) -> ListQuadContainer"""
437 return _IMP_container._object_cast_to_ListQuadContainer(o)
439 _object_types.append(
"ListSingletonContainer")
442 def _object_cast_to_ListSingletonContainer(o):
443 r"""_object_cast_to_ListSingletonContainer(Object o) -> ListSingletonContainer"""
444 return _IMP_container._object_cast_to_ListSingletonContainer(o)
446 _object_types.append(
"ListTripletContainer")
449 def _object_cast_to_ListTripletContainer(o):
450 r"""_object_cast_to_ListTripletContainer(Object o) -> ListTripletContainer"""
451 return _IMP_container._object_cast_to_ListTripletContainer(o)
453 _object_types.append(
"DynamicListPairContainer")
456 def _object_cast_to_DynamicListPairContainer(o):
457 r"""_object_cast_to_DynamicListPairContainer(Object o) -> DynamicListPairContainer"""
458 return _IMP_container._object_cast_to_DynamicListPairContainer(o)
460 _object_types.append(
"DynamicListQuadContainer")
463 def _object_cast_to_DynamicListQuadContainer(o):
464 r"""_object_cast_to_DynamicListQuadContainer(Object o) -> DynamicListQuadContainer"""
465 return _IMP_container._object_cast_to_DynamicListQuadContainer(o)
467 _object_types.append(
"DynamicListSingletonContainer")
470 def _object_cast_to_DynamicListSingletonContainer(o):
471 r"""_object_cast_to_DynamicListSingletonContainer(Object o) -> DynamicListSingletonContainer"""
472 return _IMP_container._object_cast_to_DynamicListSingletonContainer(o)
474 _object_types.append(
"DynamicListTripletContainer")
477 def _object_cast_to_DynamicListTripletContainer(o):
478 r"""_object_cast_to_DynamicListTripletContainer(Object o) -> DynamicListTripletContainer"""
479 return _IMP_container._object_cast_to_DynamicListTripletContainer(o)
481 _object_types.append(
"MinimumPairRestraint")
484 def _object_cast_to_MinimumPairRestraint(o):
485 r"""_object_cast_to_MinimumPairRestraint(Object o) -> MinimumPairRestraint"""
486 return _IMP_container._object_cast_to_MinimumPairRestraint(o)
488 _object_types.append(
"MinimumPairScore")
491 def _object_cast_to_MinimumPairScore(o):
492 r"""_object_cast_to_MinimumPairScore(Object o) -> MinimumPairScore"""
493 return _IMP_container._object_cast_to_MinimumPairScore(o)
495 _object_types.append(
"MinimumQuadRestraint")
498 def _object_cast_to_MinimumQuadRestraint(o):
499 r"""_object_cast_to_MinimumQuadRestraint(Object o) -> MinimumQuadRestraint"""
500 return _IMP_container._object_cast_to_MinimumQuadRestraint(o)
502 _object_types.append(
"MinimumQuadScore")
505 def _object_cast_to_MinimumQuadScore(o):
506 r"""_object_cast_to_MinimumQuadScore(Object o) -> MinimumQuadScore"""
507 return _IMP_container._object_cast_to_MinimumQuadScore(o)
509 _object_types.append(
"MinimumSingletonRestraint")
512 def _object_cast_to_MinimumSingletonRestraint(o):
513 r"""_object_cast_to_MinimumSingletonRestraint(Object o) -> MinimumSingletonRestraint"""
514 return _IMP_container._object_cast_to_MinimumSingletonRestraint(o)
516 _object_types.append(
"MinimumSingletonScore")
519 def _object_cast_to_MinimumSingletonScore(o):
520 r"""_object_cast_to_MinimumSingletonScore(Object o) -> MinimumSingletonScore"""
521 return _IMP_container._object_cast_to_MinimumSingletonScore(o)
523 _object_types.append(
"MinimumTripletRestraint")
526 def _object_cast_to_MinimumTripletRestraint(o):
527 r"""_object_cast_to_MinimumTripletRestraint(Object o) -> MinimumTripletRestraint"""
528 return _IMP_container._object_cast_to_MinimumTripletRestraint(o)
530 _object_types.append(
"MinimumTripletScore")
533 def _object_cast_to_MinimumTripletScore(o):
534 r"""_object_cast_to_MinimumTripletScore(Object o) -> MinimumTripletScore"""
535 return _IMP_container._object_cast_to_MinimumTripletScore(o)
537 _object_types.append(
"PairContainerSet")
540 def _object_cast_to_PairContainerSet(o):
541 r"""_object_cast_to_PairContainerSet(Object o) -> PairContainerSet"""
542 return _IMP_container._object_cast_to_PairContainerSet(o)
544 _object_types.append(
"PairsConstraint")
547 def _object_cast_to_PairsConstraint(o):
548 r"""_object_cast_to_PairsConstraint(Object o) -> PairsConstraint"""
549 return _IMP_container._object_cast_to_PairsConstraint(o)
551 _object_types.append(
"PairsOptimizerState")
554 def _object_cast_to_PairsOptimizerState(o):
555 r"""_object_cast_to_PairsOptimizerState(Object o) -> PairsOptimizerState"""
556 return _IMP_container._object_cast_to_PairsOptimizerState(o)
558 _object_types.append(
"PairsRestraint")
561 def _object_cast_to_PairsRestraint(o):
562 r"""_object_cast_to_PairsRestraint(Object o) -> PairsRestraint"""
563 return _IMP_container._object_cast_to_PairsRestraint(o)
565 _object_types.append(
"QuadContainerSet")
568 def _object_cast_to_QuadContainerSet(o):
569 r"""_object_cast_to_QuadContainerSet(Object o) -> QuadContainerSet"""
570 return _IMP_container._object_cast_to_QuadContainerSet(o)
572 _object_types.append(
"QuadsConstraint")
575 def _object_cast_to_QuadsConstraint(o):
576 r"""_object_cast_to_QuadsConstraint(Object o) -> QuadsConstraint"""
577 return _IMP_container._object_cast_to_QuadsConstraint(o)
579 _object_types.append(
"QuadsOptimizerState")
582 def _object_cast_to_QuadsOptimizerState(o):
583 r"""_object_cast_to_QuadsOptimizerState(Object o) -> QuadsOptimizerState"""
584 return _IMP_container._object_cast_to_QuadsOptimizerState(o)
586 _object_types.append(
"QuadsRestraint")
589 def _object_cast_to_QuadsRestraint(o):
590 r"""_object_cast_to_QuadsRestraint(Object o) -> QuadsRestraint"""
591 return _IMP_container._object_cast_to_QuadsRestraint(o)
593 _object_types.append(
"SingletonContainerSet")
596 def _object_cast_to_SingletonContainerSet(o):
597 r"""_object_cast_to_SingletonContainerSet(Object o) -> SingletonContainerSet"""
598 return _IMP_container._object_cast_to_SingletonContainerSet(o)
600 _object_types.append(
"SingletonsConstraint")
603 def _object_cast_to_SingletonsConstraint(o):
604 r"""_object_cast_to_SingletonsConstraint(Object o) -> SingletonsConstraint"""
605 return _IMP_container._object_cast_to_SingletonsConstraint(o)
607 _object_types.append(
"SingletonsOptimizerState")
610 def _object_cast_to_SingletonsOptimizerState(o):
611 r"""_object_cast_to_SingletonsOptimizerState(Object o) -> SingletonsOptimizerState"""
612 return _IMP_container._object_cast_to_SingletonsOptimizerState(o)
614 _object_types.append(
"SingletonsRestraint")
617 def _object_cast_to_SingletonsRestraint(o):
618 r"""_object_cast_to_SingletonsRestraint(Object o) -> SingletonsRestraint"""
619 return _IMP_container._object_cast_to_SingletonsRestraint(o)
621 _object_types.append(
"TripletContainerSet")
624 def _object_cast_to_TripletContainerSet(o):
625 r"""_object_cast_to_TripletContainerSet(Object o) -> TripletContainerSet"""
626 return _IMP_container._object_cast_to_TripletContainerSet(o)
628 _object_types.append(
"TripletsConstraint")
631 def _object_cast_to_TripletsConstraint(o):
632 r"""_object_cast_to_TripletsConstraint(Object o) -> TripletsConstraint"""
633 return _IMP_container._object_cast_to_TripletsConstraint(o)
635 _object_types.append(
"TripletsOptimizerState")
638 def _object_cast_to_TripletsOptimizerState(o):
639 r"""_object_cast_to_TripletsOptimizerState(Object o) -> TripletsOptimizerState"""
640 return _IMP_container._object_cast_to_TripletsOptimizerState(o)
642 _object_types.append(
"TripletsRestraint")
645 def _object_cast_to_TripletsRestraint(o):
646 r"""_object_cast_to_TripletsRestraint(Object o) -> TripletsRestraint"""
647 return _IMP_container._object_cast_to_TripletsRestraint(o)
649 _object_types.append(
"InContainerSingletonFilter")
652 def _object_cast_to_InContainerSingletonFilter(o):
653 r"""_object_cast_to_InContainerSingletonFilter(Object o) -> InContainerSingletonFilter"""
654 return _IMP_container._object_cast_to_InContainerSingletonFilter(o)
656 _object_types.append(
"InContainerPairFilter")
659 def _object_cast_to_InContainerPairFilter(o):
660 r"""_object_cast_to_InContainerPairFilter(Object o) -> InContainerPairFilter"""
661 return _IMP_container._object_cast_to_InContainerPairFilter(o)
663 _object_types.append(
"InContainerTripletFilter")
666 def _object_cast_to_InContainerTripletFilter(o):
667 r"""_object_cast_to_InContainerTripletFilter(Object o) -> InContainerTripletFilter"""
668 return _IMP_container._object_cast_to_InContainerTripletFilter(o)
670 _object_types.append(
"InContainerQuadFilter")
673 def _object_cast_to_InContainerQuadFilter(o):
674 r"""_object_cast_to_InContainerQuadFilter(Object o) -> InContainerQuadFilter"""
675 return _IMP_container._object_cast_to_InContainerQuadFilter(o)
677 _object_types.append(
"SingletonContainerStatistics")
680 def _object_cast_to_SingletonContainerStatistics(o):
681 r"""_object_cast_to_SingletonContainerStatistics(Object o) -> SingletonContainerStatistics"""
682 return _IMP_container._object_cast_to_SingletonContainerStatistics(o)
684 _object_types.append(
"PairContainerStatistics")
687 def _object_cast_to_PairContainerStatistics(o):
688 r"""_object_cast_to_PairContainerStatistics(Object o) -> PairContainerStatistics"""
689 return _IMP_container._object_cast_to_PairContainerStatistics(o)
691 _object_types.append(
"TripletContainerStatistics")
694 def _object_cast_to_TripletContainerStatistics(o):
695 r"""_object_cast_to_TripletContainerStatistics(Object o) -> TripletContainerStatistics"""
696 return _IMP_container._object_cast_to_TripletContainerStatistics(o)
698 _object_types.append(
"QuadContainerStatistics")
701 def _object_cast_to_QuadContainerStatistics(o):
702 r"""_object_cast_to_QuadContainerStatistics(Object o) -> QuadContainerStatistics"""
703 return _IMP_container._object_cast_to_QuadContainerStatistics(o)
705 _object_types.append(
"EventSingletonsOptimizerState")
708 def _object_cast_to_EventSingletonsOptimizerState(o):
709 r"""_object_cast_to_EventSingletonsOptimizerState(Object o) -> EventSingletonsOptimizerState"""
710 return _IMP_container._object_cast_to_EventSingletonsOptimizerState(o)
712 _object_types.append(
"EventPairsOptimizerState")
715 def _object_cast_to_EventPairsOptimizerState(o):
716 r"""_object_cast_to_EventPairsOptimizerState(Object o) -> EventPairsOptimizerState"""
717 return _IMP_container._object_cast_to_EventPairsOptimizerState(o)
719 _object_types.append(
"EventTripletsOptimizerState")
722 def _object_cast_to_EventTripletsOptimizerState(o):
723 r"""_object_cast_to_EventTripletsOptimizerState(Object o) -> EventTripletsOptimizerState"""
724 return _IMP_container._object_cast_to_EventTripletsOptimizerState(o)
726 _object_types.append(
"EventQuadsOptimizerState")
729 def _object_cast_to_EventQuadsOptimizerState(o):
730 r"""_object_cast_to_EventQuadsOptimizerState(Object o) -> EventQuadsOptimizerState"""
731 return _IMP_container._object_cast_to_EventQuadsOptimizerState(o)
733 _object_types.append(
"PredicateSingletonsRestraint")
736 def _object_cast_to_PredicateSingletonsRestraint(o):
737 r"""_object_cast_to_PredicateSingletonsRestraint(Object o) -> PredicateSingletonsRestraint"""
738 return _IMP_container._object_cast_to_PredicateSingletonsRestraint(o)
740 _object_types.append(
"PredicatePairsRestraint")
743 def _object_cast_to_PredicatePairsRestraint(o):
744 r"""_object_cast_to_PredicatePairsRestraint(Object o) -> PredicatePairsRestraint"""
745 return _IMP_container._object_cast_to_PredicatePairsRestraint(o)
747 _object_types.append(
"PredicateTripletsRestraint")
750 def _object_cast_to_PredicateTripletsRestraint(o):
751 r"""_object_cast_to_PredicateTripletsRestraint(Object o) -> PredicateTripletsRestraint"""
752 return _IMP_container._object_cast_to_PredicateTripletsRestraint(o)
754 _object_types.append(
"PredicateQuadsRestraint")
757 def _object_cast_to_PredicateQuadsRestraint(o):
758 r"""_object_cast_to_PredicateQuadsRestraint(Object o) -> PredicateQuadsRestraint"""
759 return _IMP_container._object_cast_to_PredicateQuadsRestraint(o)
761 _object_types.append(
"DistributeSingletonsScoreState")
764 def _object_cast_to_DistributeSingletonsScoreState(o):
765 r"""_object_cast_to_DistributeSingletonsScoreState(Object o) -> DistributeSingletonsScoreState"""
766 return _IMP_container._object_cast_to_DistributeSingletonsScoreState(o)
768 _object_types.append(
"DistributePairsScoreState")
771 def _object_cast_to_DistributePairsScoreState(o):
772 r"""_object_cast_to_DistributePairsScoreState(Object o) -> DistributePairsScoreState"""
773 return _IMP_container._object_cast_to_DistributePairsScoreState(o)
775 _object_types.append(
"DistributeTripletsScoreState")
778 def _object_cast_to_DistributeTripletsScoreState(o):
779 r"""_object_cast_to_DistributeTripletsScoreState(Object o) -> DistributeTripletsScoreState"""
780 return _IMP_container._object_cast_to_DistributeTripletsScoreState(o)
782 _object_types.append(
"DistributeQuadsScoreState")
785 def _object_cast_to_DistributeQuadsScoreState(o):
786 r"""_object_cast_to_DistributeQuadsScoreState(Object o) -> DistributeQuadsScoreState"""
787 return _IMP_container._object_cast_to_DistributeQuadsScoreState(o)
789 r"""Proxy of C++ IMP::container::AllBipartitePairContainer class."""
791 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
793 def __init__(self, *args):
794 r"""__init__(AllBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, std::string name="AllBipartitePairContainer%1%") -> AllBipartitePairContainer"""
795 _IMP_container.AllBipartitePairContainer_swiginit(self, _IMP_container.new_AllBipartitePairContainer(*args))
797 def do_get_inputs(self):
798 r"""do_get_inputs(AllBipartitePairContainer self) -> IMP::ModelObjectsTemp"""
799 return _IMP_container.AllBipartitePairContainer_do_get_inputs(self)
801 def do_apply(self, sm):
802 r"""do_apply(AllBipartitePairContainer self, PairModifier sm)"""
803 return _IMP_container.AllBipartitePairContainer_do_apply(self, sm)
805 def do_apply_moved(self, sm, moved_pis, reset_pis):
806 r"""do_apply_moved(AllBipartitePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
807 return _IMP_container.AllBipartitePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
809 def get_version_info(self):
810 r"""get_version_info(AllBipartitePairContainer self) -> VersionInfo"""
811 return _IMP_container.AllBipartitePairContainer_get_version_info(self)
812 __swig_destroy__ = _IMP_container.delete_AllBipartitePairContainer
815 r"""__str__(AllBipartitePairContainer self) -> std::string"""
816 return _IMP_container.AllBipartitePairContainer___str__(self)
819 r"""__repr__(AllBipartitePairContainer self) -> std::string"""
820 return _IMP_container.AllBipartitePairContainer___repr__(self)
824 return _object_cast_to_AllBipartitePairContainer(o)
828 _IMP_container.AllBipartitePairContainer_swigregister(AllBipartitePairContainer)
830 r"""Proxy of C++ IMP::container::AllPairContainer class."""
832 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
834 def __init__(self, *args):
835 r"""__init__(AllPairContainer self, _SingletonContainerAdaptor c, std::string name="AllPairContainer%1%") -> AllPairContainer"""
836 _IMP_container.AllPairContainer_swiginit(self, _IMP_container.new_AllPairContainer(*args))
838 def do_get_inputs(self):
839 r"""do_get_inputs(AllPairContainer self) -> IMP::ModelObjectsTemp"""
840 return _IMP_container.AllPairContainer_do_get_inputs(self)
842 def do_apply(self, sm):
843 r"""do_apply(AllPairContainer self, PairModifier sm)"""
844 return _IMP_container.AllPairContainer_do_apply(self, sm)
846 def do_apply_moved(self, sm, moved_pis, reset_pis):
847 r"""do_apply_moved(AllPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
848 return _IMP_container.AllPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
850 def get_version_info(self):
851 r"""get_version_info(AllPairContainer self) -> VersionInfo"""
852 return _IMP_container.AllPairContainer_get_version_info(self)
853 __swig_destroy__ = _IMP_container.delete_AllPairContainer
856 r"""__str__(AllPairContainer self) -> std::string"""
857 return _IMP_container.AllPairContainer___str__(self)
860 r"""__repr__(AllPairContainer self) -> std::string"""
861 return _IMP_container.AllPairContainer___repr__(self)
865 return _object_cast_to_AllPairContainer(o)
869 _IMP_container.AllPairContainer_swigregister(AllPairContainer)
871 r"""Proxy of C++ IMP::container::CloseBipartitePairContainer class."""
873 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
875 def __init__(self, *args):
877 __init__(CloseBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, double distance, double slack=1, std::string name="CloseBipartitePairContainer%1%") -> CloseBipartitePairContainer
878 __init__(CloseBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, double distance, ClosePairsFinder cpf, double slack=1, std::string name="CloseBipartitePairContainer%1%") -> CloseBipartitePairContainer
879 __init__(CloseBipartitePairContainer self) -> 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)
969 def _get_as_binary(self):
970 r"""_get_as_binary(CloseBipartitePairContainer self) -> PyObject *"""
971 return _IMP_container.CloseBipartitePairContainer__get_as_binary(self)
973 def _set_from_binary(self, p):
974 r"""_set_from_binary(CloseBipartitePairContainer self, PyObject * p)"""
975 return _IMP_container.CloseBipartitePairContainer__set_from_binary(self, p)
977 def __getstate__(self):
978 p = self._get_as_binary()
979 if len(self.__dict__) > 1:
980 d = self.__dict__.copy()
985 def __setstate__(self, p):
986 if not hasattr(self,
'this'):
988 if isinstance(p, tuple):
990 self.__dict__.update(d)
991 return self._set_from_binary(p)
995 _IMP_container.CloseBipartitePairContainer_swigregister(CloseBipartitePairContainer)
997 r"""Proxy of C++ IMP::container::ClosePairContainer class."""
999 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1001 def __init__(self, *args):
1003 __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
1004 __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, ClosePairsFinder cpf, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
1005 __init__(ClosePairContainer self) -> ClosePairContainer
1007 _IMP_container.ClosePairContainer_swiginit(self, _IMP_container.new_ClosePairContainer(*args))
1008 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)
1009 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
1010 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
1011 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
1013 def remove_pair_filter(self, d):
1014 r"""remove_pair_filter(ClosePairContainer self, PairPredicate d)"""
1015 return _IMP_container.ClosePairContainer_remove_pair_filter(self, d)
1017 def _python_index_pair_filter(self, d, start, stop):
1018 r"""_python_index_pair_filter(ClosePairContainer self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
1019 return _IMP_container.ClosePairContainer__python_index_pair_filter(self, d, start, stop)
1021 def remove_pair_filters(self, d):
1022 r"""remove_pair_filters(ClosePairContainer self, IMP::PairPredicates const & d)"""
1023 return _IMP_container.ClosePairContainer_remove_pair_filters(self, d)
1025 def set_pair_filters(self, ps):
1026 r"""set_pair_filters(ClosePairContainer self, IMP::PairPredicates const & ps)"""
1027 return _IMP_container.ClosePairContainer_set_pair_filters(self, ps)
1029 def set_pair_filters_order(self, objs):
1030 r"""set_pair_filters_order(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1031 return _IMP_container.ClosePairContainer_set_pair_filters_order(self, objs)
1033 def add_pair_filter(self, obj):
1034 r"""add_pair_filter(ClosePairContainer self, PairPredicate obj) -> unsigned int"""
1035 return _IMP_container.ClosePairContainer_add_pair_filter(self, obj)
1037 def add_pair_filters(self, objs):
1038 r"""add_pair_filters(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1039 return _IMP_container.ClosePairContainer_add_pair_filters(self, objs)
1041 def clear_pair_filters(self):
1042 r"""clear_pair_filters(ClosePairContainer self)"""
1043 return _IMP_container.ClosePairContainer_clear_pair_filters(self)
1045 def get_number_of_pair_filters(self):
1046 r"""get_number_of_pair_filters(ClosePairContainer self) -> unsigned int"""
1047 return _IMP_container.ClosePairContainer_get_number_of_pair_filters(self)
1049 def get_has_pair_filters(self):
1050 r"""get_has_pair_filters(ClosePairContainer self) -> bool"""
1051 return _IMP_container.ClosePairContainer_get_has_pair_filters(self)
1053 def get_pair_filter(self, i):
1054 r"""get_pair_filter(ClosePairContainer self, unsigned int i) -> PairPredicate"""
1055 return _IMP_container.ClosePairContainer_get_pair_filter(self, i)
1057 def get_pair_filters(self):
1058 r"""get_pair_filters(ClosePairContainer self) -> IMP::PairPredicates"""
1059 return _IMP_container.ClosePairContainer_get_pair_filters(self)
1061 def erase_pair_filter(self, i):
1062 r"""erase_pair_filter(ClosePairContainer self, unsigned int i)"""
1063 return _IMP_container.ClosePairContainer_erase_pair_filter(self, i)
1065 def reserve_pair_filters(self, sz):
1066 r"""reserve_pair_filters(ClosePairContainer self, unsigned int sz)"""
1067 return _IMP_container.ClosePairContainer_reserve_pair_filters(self, sz)
1069 def set_slack(self, s):
1070 r"""set_slack(ClosePairContainer self, double s)"""
1071 return _IMP_container.ClosePairContainer_set_slack(self, s)
1073 def get_slack(self):
1074 r"""get_slack(ClosePairContainer self) -> double"""
1075 return _IMP_container.ClosePairContainer_get_slack(self)
1077 def do_get_inputs(self):
1078 r"""do_get_inputs(ClosePairContainer self) -> IMP::ModelObjectsTemp"""
1079 return _IMP_container.ClosePairContainer_do_get_inputs(self)
1081 def do_apply(self, sm):
1082 r"""do_apply(ClosePairContainer self, PairModifier sm)"""
1083 return _IMP_container.ClosePairContainer_do_apply(self, sm)
1085 def get_number_of_update_calls(self):
1086 r"""get_number_of_update_calls(ClosePairContainer self) -> unsigned int"""
1087 return _IMP_container.ClosePairContainer_get_number_of_update_calls(self)
1089 def get_number_of_full_rebuilds(self):
1090 r"""get_number_of_full_rebuilds(ClosePairContainer self) -> unsigned int"""
1091 return _IMP_container.ClosePairContainer_get_number_of_full_rebuilds(self)
1093 def get_number_of_partial_rebuilds(self):
1094 r"""get_number_of_partial_rebuilds(ClosePairContainer self) -> unsigned int"""
1095 return _IMP_container.ClosePairContainer_get_number_of_partial_rebuilds(self)
1097 def get_version_info(self):
1098 r"""get_version_info(ClosePairContainer self) -> VersionInfo"""
1099 return _IMP_container.ClosePairContainer_get_version_info(self)
1100 __swig_destroy__ = _IMP_container.delete_ClosePairContainer
1103 r"""__str__(ClosePairContainer self) -> std::string"""
1104 return _IMP_container.ClosePairContainer___str__(self)
1107 r"""__repr__(ClosePairContainer self) -> std::string"""
1108 return _IMP_container.ClosePairContainer___repr__(self)
1112 return _object_cast_to_ClosePairContainer(o)
1115 def _get_as_binary(self):
1116 r"""_get_as_binary(ClosePairContainer self) -> PyObject *"""
1117 return _IMP_container.ClosePairContainer__get_as_binary(self)
1119 def _set_from_binary(self, p):
1120 r"""_set_from_binary(ClosePairContainer self, PyObject * p)"""
1121 return _IMP_container.ClosePairContainer__set_from_binary(self, p)
1123 def __getstate__(self):
1124 p = self._get_as_binary()
1125 if len(self.__dict__) > 1:
1126 d = self.__dict__.copy()
1131 def __setstate__(self, p):
1132 if not hasattr(self,
'this'):
1134 if isinstance(p, tuple):
1136 self.__dict__.update(d)
1137 return self._set_from_binary(p)
1141 _IMP_container.ClosePairContainer_swigregister(ClosePairContainer)
1144 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"""
1145 return _IMP_container.get_slack_estimate(m, ps, upper_bound, step, restraints, derivatives, opt, cpc)
1147 r"""Proxy of C++ IMP::container::ConnectingPairContainer class."""
1149 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1151 def __init__(self, sc, error):
1152 r"""__init__(ConnectingPairContainer self, SingletonContainer sc, double error) -> ConnectingPairContainer"""
1153 _IMP_container.ConnectingPairContainer_swiginit(self, _IMP_container.new_ConnectingPairContainer(sc, error))
1155 def do_get_inputs(self):
1156 r"""do_get_inputs(ConnectingPairContainer self) -> IMP::ModelObjectsTemp"""
1157 return _IMP_container.ConnectingPairContainer_do_get_inputs(self)
1159 def do_apply(self, sm):
1160 r"""do_apply(ConnectingPairContainer self, PairModifier sm)"""
1161 return _IMP_container.ConnectingPairContainer_do_apply(self, sm)
1163 def get_version_info(self):
1164 r"""get_version_info(ConnectingPairContainer self) -> VersionInfo"""
1165 return _IMP_container.ConnectingPairContainer_get_version_info(self)
1166 __swig_destroy__ = _IMP_container.delete_ConnectingPairContainer
1169 r"""__str__(ConnectingPairContainer self) -> std::string"""
1170 return _IMP_container.ConnectingPairContainer___str__(self)
1173 r"""__repr__(ConnectingPairContainer self) -> std::string"""
1174 return _IMP_container.ConnectingPairContainer___repr__(self)
1178 return _object_cast_to_ConnectingPairContainer(o)
1182 _IMP_container.ConnectingPairContainer_swigregister(ConnectingPairContainer)
1184 r"""Proxy of C++ IMP::container::ConsecutivePairContainer class."""
1186 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1188 def __init__(self, *args):
1189 r"""__init__(ConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ConsecutivePairContainer%1%") -> ConsecutivePairContainer"""
1190 _IMP_container.ConsecutivePairContainer_swiginit(self, _IMP_container.new_ConsecutivePairContainer(*args))
1192 def do_get_inputs(self):
1193 r"""do_get_inputs(ConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1194 return _IMP_container.ConsecutivePairContainer_do_get_inputs(self)
1196 def do_apply(self, sm):
1197 r"""do_apply(ConsecutivePairContainer self, PairModifier sm)"""
1198 return _IMP_container.ConsecutivePairContainer_do_apply(self, sm)
1200 def do_apply_moved(self, sm, moved_pis, reset_pis):
1201 r"""do_apply_moved(ConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1202 return _IMP_container.ConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1204 def get_version_info(self):
1205 r"""get_version_info(ConsecutivePairContainer self) -> VersionInfo"""
1206 return _IMP_container.ConsecutivePairContainer_get_version_info(self)
1207 __swig_destroy__ = _IMP_container.delete_ConsecutivePairContainer
1210 r"""__str__(ConsecutivePairContainer self) -> std::string"""
1211 return _IMP_container.ConsecutivePairContainer___str__(self)
1214 r"""__repr__(ConsecutivePairContainer self) -> std::string"""
1215 return _IMP_container.ConsecutivePairContainer___repr__(self)
1219 return _object_cast_to_ConsecutivePairContainer(o)
1223 _IMP_container.ConsecutivePairContainer_swigregister(ConsecutivePairContainer)
1225 r"""Proxy of C++ IMP::container::ConsecutivePairFilter class."""
1227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1229 def __init__(self, cpc):
1230 r"""__init__(ConsecutivePairFilter self, ConsecutivePairContainer cpc) -> ConsecutivePairFilter"""
1231 _IMP_container.ConsecutivePairFilter_swiginit(self, _IMP_container.new_ConsecutivePairFilter(cpc))
1233 def do_get_inputs(self, m, pi):
1234 r"""do_get_inputs(ConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1235 return _IMP_container.ConsecutivePairFilter_do_get_inputs(self, m, pi)
1237 def get_value(self, *args):
1239 get_value(ConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1240 get_value(ConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1242 return _IMP_container.ConsecutivePairFilter_get_value(self, *args)
1244 def get_value_index(self, *args):
1246 get_value_index(ConsecutivePairFilter self, Model arg2, IMP::ParticleIndexPair const & pip) -> int
1247 get_value_index(ConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1249 return _IMP_container.ConsecutivePairFilter_get_value_index(self, *args)
1251 def get_version_info(self):
1252 r"""get_version_info(ConsecutivePairFilter self) -> VersionInfo"""
1253 return _IMP_container.ConsecutivePairFilter_get_version_info(self)
1254 __swig_destroy__ = _IMP_container.delete_ConsecutivePairFilter
1257 r"""__str__(ConsecutivePairFilter self) -> std::string"""
1258 return _IMP_container.ConsecutivePairFilter___str__(self)
1261 r"""__repr__(ConsecutivePairFilter self) -> std::string"""
1262 return _IMP_container.ConsecutivePairFilter___repr__(self)
1266 return _object_cast_to_ConsecutivePairFilter(o)
1270 _IMP_container.ConsecutivePairFilter_swigregister(ConsecutivePairFilter)
1272 r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairContainer class."""
1274 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1276 def __init__(self, *args):
1277 r"""__init__(ExclusiveConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ExclusiveConsecutivePairContainer%1%") -> ExclusiveConsecutivePairContainer"""
1278 _IMP_container.ExclusiveConsecutivePairContainer_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairContainer(*args))
1280 def do_get_inputs(self):
1281 r"""do_get_inputs(ExclusiveConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1282 return _IMP_container.ExclusiveConsecutivePairContainer_do_get_inputs(self)
1284 def do_apply(self, sm):
1285 r"""do_apply(ExclusiveConsecutivePairContainer self, PairModifier sm)"""
1286 return _IMP_container.ExclusiveConsecutivePairContainer_do_apply(self, sm)
1288 def do_apply_moved(self, sm, moved_pis, reset_pis):
1289 r"""do_apply_moved(ExclusiveConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1290 return _IMP_container.ExclusiveConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1292 def get_version_info(self):
1293 r"""get_version_info(ExclusiveConsecutivePairContainer self) -> VersionInfo"""
1294 return _IMP_container.ExclusiveConsecutivePairContainer_get_version_info(self)
1295 __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairContainer
1298 r"""__str__(ExclusiveConsecutivePairContainer self) -> std::string"""
1299 return _IMP_container.ExclusiveConsecutivePairContainer___str__(self)
1302 r"""__repr__(ExclusiveConsecutivePairContainer self) -> std::string"""
1303 return _IMP_container.ExclusiveConsecutivePairContainer___repr__(self)
1307 return _object_cast_to_ExclusiveConsecutivePairContainer(o)
1311 _IMP_container.ExclusiveConsecutivePairContainer_swigregister(ExclusiveConsecutivePairContainer)
1313 r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairFilter class."""
1315 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1318 r"""__init__(ExclusiveConsecutivePairFilter self) -> ExclusiveConsecutivePairFilter"""
1319 _IMP_container.ExclusiveConsecutivePairFilter_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairFilter())
1321 def do_get_inputs(self, m, pi):
1322 r"""do_get_inputs(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1323 return _IMP_container.ExclusiveConsecutivePairFilter_do_get_inputs(self, m, pi)
1325 def get_value(self, *args):
1327 get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1328 get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1330 return _IMP_container.ExclusiveConsecutivePairFilter_get_value(self, *args)
1332 def get_value_index(self, *args):
1334 get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPair const & pip) -> int
1335 get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1337 return _IMP_container.ExclusiveConsecutivePairFilter_get_value_index(self, *args)
1339 def get_version_info(self):
1340 r"""get_version_info(ExclusiveConsecutivePairFilter self) -> VersionInfo"""
1341 return _IMP_container.ExclusiveConsecutivePairFilter_get_version_info(self)
1342 __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairFilter
1345 r"""__str__(ExclusiveConsecutivePairFilter self) -> std::string"""
1346 return _IMP_container.ExclusiveConsecutivePairFilter___str__(self)
1349 r"""__repr__(ExclusiveConsecutivePairFilter self) -> std::string"""
1350 return _IMP_container.ExclusiveConsecutivePairFilter___repr__(self)
1354 return _object_cast_to_ExclusiveConsecutivePairFilter(o)
1358 _IMP_container.ExclusiveConsecutivePairFilter_swigregister(ExclusiveConsecutivePairFilter)
1360 r"""Proxy of C++ IMP::container::ListPairContainer class."""
1362 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1364 def __init__(self, *args):
1366 __init__(ListPairContainer self, Model m, IMP::ParticleIndexPairs const & contents, std::string name="ListPairContainer%1%") -> ListPairContainer
1367 __init__(ListPairContainer self, Model m, std::string name="ListPairContainer %1%") -> ListPairContainer
1368 __init__(ListPairContainer self, Model m, char const * name) -> ListPairContainer
1369 __init__(ListPairContainer self) -> ListPairContainer
1371 _IMP_container.ListPairContainer_swiginit(self, _IMP_container.new_ListPairContainer(*args))
1373 def add(self, *args):
1375 add(ListPairContainer self, IMP::ParticleIndexPair const & vt)
1376 add(ListPairContainer self, IMP::ParticleIndexPairs const & c)
1378 return _IMP_container.ListPairContainer_add(self, *args)
1381 r"""set(ListPairContainer self, IMP::ParticleIndexPairs cp)"""
1382 return _IMP_container.ListPairContainer_set(self, cp)
1385 r"""clear(ListPairContainer self)"""
1386 return _IMP_container.ListPairContainer_clear(self)
1388 def do_get_inputs(self):
1389 r"""do_get_inputs(ListPairContainer self) -> IMP::ModelObjectsTemp"""
1390 return _IMP_container.ListPairContainer_do_get_inputs(self)
1392 def do_apply(self, sm):
1393 r"""do_apply(ListPairContainer self, PairModifier sm)"""
1394 return _IMP_container.ListPairContainer_do_apply(self, sm)
1396 def do_apply_moved(self, sm, moved_pis, reset_pis):
1397 r"""do_apply_moved(ListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1398 return _IMP_container.ListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1400 def get_version_info(self):
1401 r"""get_version_info(ListPairContainer self) -> VersionInfo"""
1402 return _IMP_container.ListPairContainer_get_version_info(self)
1403 __swig_destroy__ = _IMP_container.delete_ListPairContainer
1406 r"""__str__(ListPairContainer self) -> std::string"""
1407 return _IMP_container.ListPairContainer___str__(self)
1410 r"""__repr__(ListPairContainer self) -> std::string"""
1411 return _IMP_container.ListPairContainer___repr__(self)
1415 return _object_cast_to_ListPairContainer(o)
1418 def _get_as_binary(self):
1419 r"""_get_as_binary(ListPairContainer self) -> PyObject *"""
1420 return _IMP_container.ListPairContainer__get_as_binary(self)
1422 def _set_from_binary(self, p):
1423 r"""_set_from_binary(ListPairContainer self, PyObject * p)"""
1424 return _IMP_container.ListPairContainer__set_from_binary(self, p)
1426 def __getstate__(self):
1427 p = self._get_as_binary()
1428 if len(self.__dict__) > 1:
1429 d = self.__dict__.copy()
1434 def __setstate__(self, p):
1435 if not hasattr(self,
'this'):
1437 if isinstance(p, tuple):
1439 self.__dict__.update(d)
1440 return self._set_from_binary(p)
1444 _IMP_container.ListPairContainer_swigregister(ListPairContainer)
1446 r"""Proxy of C++ IMP::container::ListQuadContainer class."""
1448 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1450 def __init__(self, *args):
1452 __init__(ListQuadContainer self, Model m, IMP::ParticleIndexQuads const & contents, std::string name="ListQuadContainer%1%") -> ListQuadContainer
1453 __init__(ListQuadContainer self, Model m, std::string name="ListQuadContainer %1%") -> ListQuadContainer
1454 __init__(ListQuadContainer self, Model m, char const * name) -> ListQuadContainer
1455 __init__(ListQuadContainer self) -> ListQuadContainer
1457 _IMP_container.ListQuadContainer_swiginit(self, _IMP_container.new_ListQuadContainer(*args))
1459 def add(self, *args):
1461 add(ListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1462 add(ListQuadContainer self, IMP::ParticleIndexQuads const & c)
1464 return _IMP_container.ListQuadContainer_add(self, *args)
1467 r"""set(ListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1468 return _IMP_container.ListQuadContainer_set(self, cp)
1471 r"""clear(ListQuadContainer self)"""
1472 return _IMP_container.ListQuadContainer_clear(self)
1474 def do_get_inputs(self):
1475 r"""do_get_inputs(ListQuadContainer self) -> IMP::ModelObjectsTemp"""
1476 return _IMP_container.ListQuadContainer_do_get_inputs(self)
1478 def do_apply(self, sm):
1479 r"""do_apply(ListQuadContainer self, QuadModifier sm)"""
1480 return _IMP_container.ListQuadContainer_do_apply(self, sm)
1482 def do_apply_moved(self, sm, moved_pis, reset_pis):
1483 r"""do_apply_moved(ListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1484 return _IMP_container.ListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1486 def get_version_info(self):
1487 r"""get_version_info(ListQuadContainer self) -> VersionInfo"""
1488 return _IMP_container.ListQuadContainer_get_version_info(self)
1489 __swig_destroy__ = _IMP_container.delete_ListQuadContainer
1492 r"""__str__(ListQuadContainer self) -> std::string"""
1493 return _IMP_container.ListQuadContainer___str__(self)
1496 r"""__repr__(ListQuadContainer self) -> std::string"""
1497 return _IMP_container.ListQuadContainer___repr__(self)
1501 return _object_cast_to_ListQuadContainer(o)
1504 def _get_as_binary(self):
1505 r"""_get_as_binary(ListQuadContainer self) -> PyObject *"""
1506 return _IMP_container.ListQuadContainer__get_as_binary(self)
1508 def _set_from_binary(self, p):
1509 r"""_set_from_binary(ListQuadContainer self, PyObject * p)"""
1510 return _IMP_container.ListQuadContainer__set_from_binary(self, p)
1512 def __getstate__(self):
1513 p = self._get_as_binary()
1514 if len(self.__dict__) > 1:
1515 d = self.__dict__.copy()
1520 def __setstate__(self, p):
1521 if not hasattr(self,
'this'):
1523 if isinstance(p, tuple):
1525 self.__dict__.update(d)
1526 return self._set_from_binary(p)
1530 _IMP_container.ListQuadContainer_swigregister(ListQuadContainer)
1532 r"""Proxy of C++ IMP::container::ListSingletonContainer class."""
1534 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1536 def __init__(self, *args):
1538 __init__(ListSingletonContainer self, Model m, IMP::ParticleIndexes const & contents, std::string name="ListSingletonContainer%1%") -> ListSingletonContainer
1539 __init__(ListSingletonContainer self, Model m, std::string name="ListSingletonContainer %1%") -> ListSingletonContainer
1540 __init__(ListSingletonContainer self, Model m, char const * name) -> ListSingletonContainer
1541 __init__(ListSingletonContainer self) -> ListSingletonContainer
1543 _IMP_container.ListSingletonContainer_swiginit(self, _IMP_container.new_ListSingletonContainer(*args))
1545 def add(self, *args):
1547 add(ListSingletonContainer self, ParticleIndex vt)
1548 add(ListSingletonContainer self, IMP::ParticleIndexes const & c)
1550 return _IMP_container.ListSingletonContainer_add(self, *args)
1553 r"""set(ListSingletonContainer self, IMP::ParticleIndexes cp)"""
1554 return _IMP_container.ListSingletonContainer_set(self, cp)
1557 r"""clear(ListSingletonContainer self)"""
1558 return _IMP_container.ListSingletonContainer_clear(self)
1560 def do_get_inputs(self):
1561 r"""do_get_inputs(ListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1562 return _IMP_container.ListSingletonContainer_do_get_inputs(self)
1564 def do_apply(self, sm):
1565 r"""do_apply(ListSingletonContainer self, SingletonModifier sm)"""
1566 return _IMP_container.ListSingletonContainer_do_apply(self, sm)
1568 def do_apply_moved(self, sm, moved_pis, reset_pis):
1569 r"""do_apply_moved(ListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1570 return _IMP_container.ListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1572 def get_version_info(self):
1573 r"""get_version_info(ListSingletonContainer self) -> VersionInfo"""
1574 return _IMP_container.ListSingletonContainer_get_version_info(self)
1575 __swig_destroy__ = _IMP_container.delete_ListSingletonContainer
1578 r"""__str__(ListSingletonContainer self) -> std::string"""
1579 return _IMP_container.ListSingletonContainer___str__(self)
1582 r"""__repr__(ListSingletonContainer self) -> std::string"""
1583 return _IMP_container.ListSingletonContainer___repr__(self)
1587 return _object_cast_to_ListSingletonContainer(o)
1590 def _get_as_binary(self):
1591 r"""_get_as_binary(ListSingletonContainer self) -> PyObject *"""
1592 return _IMP_container.ListSingletonContainer__get_as_binary(self)
1594 def _set_from_binary(self, p):
1595 r"""_set_from_binary(ListSingletonContainer self, PyObject * p)"""
1596 return _IMP_container.ListSingletonContainer__set_from_binary(self, p)
1598 def __getstate__(self):
1599 p = self._get_as_binary()
1600 if len(self.__dict__) > 1:
1601 d = self.__dict__.copy()
1606 def __setstate__(self, p):
1607 if not hasattr(self,
'this'):
1609 if isinstance(p, tuple):
1611 self.__dict__.update(d)
1612 return self._set_from_binary(p)
1616 _IMP_container.ListSingletonContainer_swigregister(ListSingletonContainer)
1618 r"""Proxy of C++ IMP::container::ListTripletContainer class."""
1620 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1622 def __init__(self, *args):
1624 __init__(ListTripletContainer self, Model m, IMP::ParticleIndexTriplets const & contents, std::string name="ListTripletContainer%1%") -> ListTripletContainer
1625 __init__(ListTripletContainer self, Model m, std::string name="ListTripletContainer %1%") -> ListTripletContainer
1626 __init__(ListTripletContainer self, Model m, char const * name) -> ListTripletContainer
1627 __init__(ListTripletContainer self) -> ListTripletContainer
1629 _IMP_container.ListTripletContainer_swiginit(self, _IMP_container.new_ListTripletContainer(*args))
1631 def add(self, *args):
1633 add(ListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1634 add(ListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1636 return _IMP_container.ListTripletContainer_add(self, *args)
1639 r"""set(ListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1640 return _IMP_container.ListTripletContainer_set(self, cp)
1643 r"""clear(ListTripletContainer self)"""
1644 return _IMP_container.ListTripletContainer_clear(self)
1646 def do_get_inputs(self):
1647 r"""do_get_inputs(ListTripletContainer self) -> IMP::ModelObjectsTemp"""
1648 return _IMP_container.ListTripletContainer_do_get_inputs(self)
1650 def do_apply(self, sm):
1651 r"""do_apply(ListTripletContainer self, TripletModifier sm)"""
1652 return _IMP_container.ListTripletContainer_do_apply(self, sm)
1654 def do_apply_moved(self, sm, moved_pis, reset_pis):
1655 r"""do_apply_moved(ListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1656 return _IMP_container.ListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1658 def get_version_info(self):
1659 r"""get_version_info(ListTripletContainer self) -> VersionInfo"""
1660 return _IMP_container.ListTripletContainer_get_version_info(self)
1661 __swig_destroy__ = _IMP_container.delete_ListTripletContainer
1664 r"""__str__(ListTripletContainer self) -> std::string"""
1665 return _IMP_container.ListTripletContainer___str__(self)
1668 r"""__repr__(ListTripletContainer self) -> std::string"""
1669 return _IMP_container.ListTripletContainer___repr__(self)
1673 return _object_cast_to_ListTripletContainer(o)
1676 def _get_as_binary(self):
1677 r"""_get_as_binary(ListTripletContainer self) -> PyObject *"""
1678 return _IMP_container.ListTripletContainer__get_as_binary(self)
1680 def _set_from_binary(self, p):
1681 r"""_set_from_binary(ListTripletContainer self, PyObject * p)"""
1682 return _IMP_container.ListTripletContainer__set_from_binary(self, p)
1684 def __getstate__(self):
1685 p = self._get_as_binary()
1686 if len(self.__dict__) > 1:
1687 d = self.__dict__.copy()
1692 def __setstate__(self, p):
1693 if not hasattr(self,
'this'):
1695 if isinstance(p, tuple):
1697 self.__dict__.update(d)
1698 return self._set_from_binary(p)
1702 _IMP_container.ListTripletContainer_swigregister(ListTripletContainer)
1704 r"""Proxy of C++ IMP::container::DynamicListPairContainer class."""
1706 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1708 def __init__(self, *args, **kwargs):
1709 raise AttributeError(
"No constructor defined - class is abstract")
1711 def add(self, *args):
1713 add(DynamicListPairContainer self, IMP::ParticleIndexPair const & vt)
1714 add(DynamicListPairContainer self, IMP::ParticleIndexPairs const & c)
1716 return _IMP_container.DynamicListPairContainer_add(self, *args)
1719 r"""set(DynamicListPairContainer self, IMP::ParticleIndexPairs cp)"""
1720 return _IMP_container.DynamicListPairContainer_set(self, cp)
1723 r"""clear(DynamicListPairContainer self)"""
1724 return _IMP_container.DynamicListPairContainer_clear(self)
1726 def do_get_inputs(self):
1727 r"""do_get_inputs(DynamicListPairContainer self) -> IMP::ModelObjectsTemp"""
1728 return _IMP_container.DynamicListPairContainer_do_get_inputs(self)
1730 def do_apply(self, sm):
1731 r"""do_apply(DynamicListPairContainer self, PairModifier sm)"""
1732 return _IMP_container.DynamicListPairContainer_do_apply(self, sm)
1734 def do_apply_moved(self, sm, moved_pis, reset_pis):
1735 r"""do_apply_moved(DynamicListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1736 return _IMP_container.DynamicListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1738 def get_version_info(self):
1739 r"""get_version_info(DynamicListPairContainer self) -> VersionInfo"""
1740 return _IMP_container.DynamicListPairContainer_get_version_info(self)
1741 __swig_destroy__ = _IMP_container.delete_DynamicListPairContainer
1744 r"""__str__(DynamicListPairContainer self) -> std::string"""
1745 return _IMP_container.DynamicListPairContainer___str__(self)
1748 r"""__repr__(DynamicListPairContainer self) -> std::string"""
1749 return _IMP_container.DynamicListPairContainer___repr__(self)
1753 return _object_cast_to_DynamicListPairContainer(o)
1757 _IMP_container.DynamicListPairContainer_swigregister(DynamicListPairContainer)
1759 r"""Proxy of C++ IMP::container::DynamicListQuadContainer class."""
1761 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1763 def __init__(self, *args, **kwargs):
1764 raise AttributeError(
"No constructor defined - class is abstract")
1766 def add(self, *args):
1768 add(DynamicListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1769 add(DynamicListQuadContainer self, IMP::ParticleIndexQuads const & c)
1771 return _IMP_container.DynamicListQuadContainer_add(self, *args)
1774 r"""set(DynamicListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1775 return _IMP_container.DynamicListQuadContainer_set(self, cp)
1778 r"""clear(DynamicListQuadContainer self)"""
1779 return _IMP_container.DynamicListQuadContainer_clear(self)
1781 def do_get_inputs(self):
1782 r"""do_get_inputs(DynamicListQuadContainer self) -> IMP::ModelObjectsTemp"""
1783 return _IMP_container.DynamicListQuadContainer_do_get_inputs(self)
1785 def do_apply(self, sm):
1786 r"""do_apply(DynamicListQuadContainer self, QuadModifier sm)"""
1787 return _IMP_container.DynamicListQuadContainer_do_apply(self, sm)
1789 def do_apply_moved(self, sm, moved_pis, reset_pis):
1790 r"""do_apply_moved(DynamicListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1791 return _IMP_container.DynamicListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1793 def get_version_info(self):
1794 r"""get_version_info(DynamicListQuadContainer self) -> VersionInfo"""
1795 return _IMP_container.DynamicListQuadContainer_get_version_info(self)
1796 __swig_destroy__ = _IMP_container.delete_DynamicListQuadContainer
1799 r"""__str__(DynamicListQuadContainer self) -> std::string"""
1800 return _IMP_container.DynamicListQuadContainer___str__(self)
1803 r"""__repr__(DynamicListQuadContainer self) -> std::string"""
1804 return _IMP_container.DynamicListQuadContainer___repr__(self)
1808 return _object_cast_to_DynamicListQuadContainer(o)
1812 _IMP_container.DynamicListQuadContainer_swigregister(DynamicListQuadContainer)
1814 r"""Proxy of C++ IMP::container::DynamicListSingletonContainer class."""
1816 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1818 def __init__(self, *args, **kwargs):
1819 raise AttributeError(
"No constructor defined - class is abstract")
1821 def add(self, *args):
1823 add(DynamicListSingletonContainer self, ParticleIndex vt)
1824 add(DynamicListSingletonContainer self, IMP::ParticleIndexes const & c)
1826 return _IMP_container.DynamicListSingletonContainer_add(self, *args)
1829 r"""set(DynamicListSingletonContainer self, IMP::ParticleIndexes cp)"""
1830 return _IMP_container.DynamicListSingletonContainer_set(self, cp)
1833 r"""clear(DynamicListSingletonContainer self)"""
1834 return _IMP_container.DynamicListSingletonContainer_clear(self)
1836 def do_get_inputs(self):
1837 r"""do_get_inputs(DynamicListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1838 return _IMP_container.DynamicListSingletonContainer_do_get_inputs(self)
1840 def do_apply(self, sm):
1841 r"""do_apply(DynamicListSingletonContainer self, SingletonModifier sm)"""
1842 return _IMP_container.DynamicListSingletonContainer_do_apply(self, sm)
1844 def do_apply_moved(self, sm, moved_pis, reset_pis):
1845 r"""do_apply_moved(DynamicListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1846 return _IMP_container.DynamicListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1848 def get_version_info(self):
1849 r"""get_version_info(DynamicListSingletonContainer self) -> VersionInfo"""
1850 return _IMP_container.DynamicListSingletonContainer_get_version_info(self)
1851 __swig_destroy__ = _IMP_container.delete_DynamicListSingletonContainer
1854 r"""__str__(DynamicListSingletonContainer self) -> std::string"""
1855 return _IMP_container.DynamicListSingletonContainer___str__(self)
1858 r"""__repr__(DynamicListSingletonContainer self) -> std::string"""
1859 return _IMP_container.DynamicListSingletonContainer___repr__(self)
1863 return _object_cast_to_DynamicListSingletonContainer(o)
1867 _IMP_container.DynamicListSingletonContainer_swigregister(DynamicListSingletonContainer)
1869 r"""Proxy of C++ IMP::container::DynamicListTripletContainer class."""
1871 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1873 def __init__(self, *args, **kwargs):
1874 raise AttributeError(
"No constructor defined - class is abstract")
1876 def add(self, *args):
1878 add(DynamicListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1879 add(DynamicListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1881 return _IMP_container.DynamicListTripletContainer_add(self, *args)
1884 r"""set(DynamicListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1885 return _IMP_container.DynamicListTripletContainer_set(self, cp)
1888 r"""clear(DynamicListTripletContainer self)"""
1889 return _IMP_container.DynamicListTripletContainer_clear(self)
1891 def do_get_inputs(self):
1892 r"""do_get_inputs(DynamicListTripletContainer self) -> IMP::ModelObjectsTemp"""
1893 return _IMP_container.DynamicListTripletContainer_do_get_inputs(self)
1895 def do_apply(self, sm):
1896 r"""do_apply(DynamicListTripletContainer self, TripletModifier sm)"""
1897 return _IMP_container.DynamicListTripletContainer_do_apply(self, sm)
1899 def do_apply_moved(self, sm, moved_pis, reset_pis):
1900 r"""do_apply_moved(DynamicListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1901 return _IMP_container.DynamicListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1903 def get_version_info(self):
1904 r"""get_version_info(DynamicListTripletContainer self) -> VersionInfo"""
1905 return _IMP_container.DynamicListTripletContainer_get_version_info(self)
1906 __swig_destroy__ = _IMP_container.delete_DynamicListTripletContainer
1909 r"""__str__(DynamicListTripletContainer self) -> std::string"""
1910 return _IMP_container.DynamicListTripletContainer___str__(self)
1913 r"""__repr__(DynamicListTripletContainer self) -> std::string"""
1914 return _IMP_container.DynamicListTripletContainer___repr__(self)
1918 return _object_cast_to_DynamicListTripletContainer(o)
1922 _IMP_container.DynamicListTripletContainer_swigregister(DynamicListTripletContainer)
1924 r"""Proxy of C++ IMP::container::MinimumPairRestraint class."""
1926 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1928 def __init__(self, *args):
1929 r"""__init__(MinimumPairRestraint self, PairScore f, _PairContainerAdaptor c, unsigned int n=1, std::string name="MinimumPairRestraint %1%") -> MinimumPairRestraint"""
1930 _IMP_container.MinimumPairRestraint_swiginit(self, _IMP_container.new_MinimumPairRestraint(*args))
1932 def do_get_inputs(self):
1933 r"""do_get_inputs(MinimumPairRestraint self) -> IMP::ModelObjectsTemp"""
1934 return _IMP_container.MinimumPairRestraint_do_get_inputs(self)
1936 def get_version_info(self):
1937 r"""get_version_info(MinimumPairRestraint self) -> VersionInfo"""
1938 return _IMP_container.MinimumPairRestraint_get_version_info(self)
1939 __swig_destroy__ = _IMP_container.delete_MinimumPairRestraint
1942 r"""set_n(MinimumPairRestraint self, unsigned int n)"""
1943 return _IMP_container.MinimumPairRestraint_set_n(self, n)
1945 def do_create_current_decomposition(self):
1946 r"""do_create_current_decomposition(MinimumPairRestraint self) -> IMP::Restraints"""
1947 return _IMP_container.MinimumPairRestraint_do_create_current_decomposition(self)
1950 r"""__str__(MinimumPairRestraint self) -> std::string"""
1951 return _IMP_container.MinimumPairRestraint___str__(self)
1954 r"""__repr__(MinimumPairRestraint self) -> std::string"""
1955 return _IMP_container.MinimumPairRestraint___repr__(self)
1959 return _object_cast_to_MinimumPairRestraint(o)
1963 _IMP_container.MinimumPairRestraint_swigregister(MinimumPairRestraint)
1965 r"""Proxy of C++ IMP::container::MinimumPairScore class."""
1967 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1969 def __init__(self, *args):
1970 r"""__init__(MinimumPairScore self, IMP::PairScoresTemp const & scores, unsigned int n=1, std::string name="PairScore %1%") -> MinimumPairScore"""
1971 _IMP_container.MinimumPairScore_swiginit(self, _IMP_container.new_MinimumPairScore(*args))
1973 def do_get_inputs(self, m, pis):
1974 r"""do_get_inputs(MinimumPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1975 return _IMP_container.MinimumPairScore_do_get_inputs(self, m, pis)
1977 def get_version_info(self):
1978 r"""get_version_info(MinimumPairScore self) -> VersionInfo"""
1979 return _IMP_container.MinimumPairScore_get_version_info(self)
1980 __swig_destroy__ = _IMP_container.delete_MinimumPairScore
1982 def do_create_current_decomposition(self, m, vt):
1983 r"""do_create_current_decomposition(MinimumPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
1984 return _IMP_container.MinimumPairScore_do_create_current_decomposition(self, m, vt)
1987 r"""__str__(MinimumPairScore self) -> std::string"""
1988 return _IMP_container.MinimumPairScore___str__(self)
1991 r"""__repr__(MinimumPairScore self) -> std::string"""
1992 return _IMP_container.MinimumPairScore___repr__(self)
1996 return _object_cast_to_MinimumPairScore(o)
2000 _IMP_container.MinimumPairScore_swigregister(MinimumPairScore)
2002 r"""Proxy of C++ IMP::container::MinimumQuadRestraint class."""
2004 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2006 def __init__(self, *args):
2007 r"""__init__(MinimumQuadRestraint self, QuadScore f, _QuadContainerAdaptor c, unsigned int n=1, std::string name="MinimumQuadRestraint %1%") -> MinimumQuadRestraint"""
2008 _IMP_container.MinimumQuadRestraint_swiginit(self, _IMP_container.new_MinimumQuadRestraint(*args))
2010 def do_get_inputs(self):
2011 r"""do_get_inputs(MinimumQuadRestraint self) -> IMP::ModelObjectsTemp"""
2012 return _IMP_container.MinimumQuadRestraint_do_get_inputs(self)
2014 def get_version_info(self):
2015 r"""get_version_info(MinimumQuadRestraint self) -> VersionInfo"""
2016 return _IMP_container.MinimumQuadRestraint_get_version_info(self)
2017 __swig_destroy__ = _IMP_container.delete_MinimumQuadRestraint
2020 r"""set_n(MinimumQuadRestraint self, unsigned int n)"""
2021 return _IMP_container.MinimumQuadRestraint_set_n(self, n)
2023 def do_create_current_decomposition(self):
2024 r"""do_create_current_decomposition(MinimumQuadRestraint self) -> IMP::Restraints"""
2025 return _IMP_container.MinimumQuadRestraint_do_create_current_decomposition(self)
2028 r"""__str__(MinimumQuadRestraint self) -> std::string"""
2029 return _IMP_container.MinimumQuadRestraint___str__(self)
2032 r"""__repr__(MinimumQuadRestraint self) -> std::string"""
2033 return _IMP_container.MinimumQuadRestraint___repr__(self)
2037 return _object_cast_to_MinimumQuadRestraint(o)
2041 _IMP_container.MinimumQuadRestraint_swigregister(MinimumQuadRestraint)
2043 r"""Proxy of C++ IMP::container::MinimumQuadScore class."""
2045 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2047 def __init__(self, *args):
2048 r"""__init__(MinimumQuadScore self, IMP::QuadScoresTemp const & scores, unsigned int n=1, std::string name="QuadScore %1%") -> MinimumQuadScore"""
2049 _IMP_container.MinimumQuadScore_swiginit(self, _IMP_container.new_MinimumQuadScore(*args))
2051 def do_get_inputs(self, m, pis):
2052 r"""do_get_inputs(MinimumQuadScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2053 return _IMP_container.MinimumQuadScore_do_get_inputs(self, m, pis)
2055 def get_version_info(self):
2056 r"""get_version_info(MinimumQuadScore self) -> VersionInfo"""
2057 return _IMP_container.MinimumQuadScore_get_version_info(self)
2058 __swig_destroy__ = _IMP_container.delete_MinimumQuadScore
2060 def do_create_current_decomposition(self, m, vt):
2061 r"""do_create_current_decomposition(MinimumQuadScore self, Model m, IMP::ParticleIndexQuad const & vt) -> IMP::Restraints"""
2062 return _IMP_container.MinimumQuadScore_do_create_current_decomposition(self, m, vt)
2065 r"""__str__(MinimumQuadScore self) -> std::string"""
2066 return _IMP_container.MinimumQuadScore___str__(self)
2069 r"""__repr__(MinimumQuadScore self) -> std::string"""
2070 return _IMP_container.MinimumQuadScore___repr__(self)
2074 return _object_cast_to_MinimumQuadScore(o)
2078 _IMP_container.MinimumQuadScore_swigregister(MinimumQuadScore)
2080 r"""Proxy of C++ IMP::container::MinimumSingletonRestraint class."""
2082 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2084 def __init__(self, *args):
2085 r"""__init__(MinimumSingletonRestraint self, SingletonScore f, _SingletonContainerAdaptor c, unsigned int n=1, std::string name="MinimumSingletonRestraint %1%") -> MinimumSingletonRestraint"""
2086 _IMP_container.MinimumSingletonRestraint_swiginit(self, _IMP_container.new_MinimumSingletonRestraint(*args))
2088 def do_get_inputs(self):
2089 r"""do_get_inputs(MinimumSingletonRestraint self) -> IMP::ModelObjectsTemp"""
2090 return _IMP_container.MinimumSingletonRestraint_do_get_inputs(self)
2092 def get_version_info(self):
2093 r"""get_version_info(MinimumSingletonRestraint self) -> VersionInfo"""
2094 return _IMP_container.MinimumSingletonRestraint_get_version_info(self)
2095 __swig_destroy__ = _IMP_container.delete_MinimumSingletonRestraint
2098 r"""set_n(MinimumSingletonRestraint self, unsigned int n)"""
2099 return _IMP_container.MinimumSingletonRestraint_set_n(self, n)
2101 def do_create_current_decomposition(self):
2102 r"""do_create_current_decomposition(MinimumSingletonRestraint self) -> IMP::Restraints"""
2103 return _IMP_container.MinimumSingletonRestraint_do_create_current_decomposition(self)
2106 r"""__str__(MinimumSingletonRestraint self) -> std::string"""
2107 return _IMP_container.MinimumSingletonRestraint___str__(self)
2110 r"""__repr__(MinimumSingletonRestraint self) -> std::string"""
2111 return _IMP_container.MinimumSingletonRestraint___repr__(self)
2115 return _object_cast_to_MinimumSingletonRestraint(o)
2119 _IMP_container.MinimumSingletonRestraint_swigregister(MinimumSingletonRestraint)
2121 r"""Proxy of C++ IMP::container::MinimumSingletonScore class."""
2123 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2125 def __init__(self, *args):
2126 r"""__init__(MinimumSingletonScore self, IMP::SingletonScoresTemp const & scores, unsigned int n=1, std::string name="SingletonScore %1%") -> MinimumSingletonScore"""
2127 _IMP_container.MinimumSingletonScore_swiginit(self, _IMP_container.new_MinimumSingletonScore(*args))
2129 def do_get_inputs(self, m, pis):
2130 r"""do_get_inputs(MinimumSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2131 return _IMP_container.MinimumSingletonScore_do_get_inputs(self, m, pis)
2133 def get_version_info(self):
2134 r"""get_version_info(MinimumSingletonScore self) -> VersionInfo"""
2135 return _IMP_container.MinimumSingletonScore_get_version_info(self)
2136 __swig_destroy__ = _IMP_container.delete_MinimumSingletonScore
2138 def do_create_current_decomposition(self, m, vt):
2139 r"""do_create_current_decomposition(MinimumSingletonScore self, Model m, ParticleIndex vt) -> IMP::Restraints"""
2140 return _IMP_container.MinimumSingletonScore_do_create_current_decomposition(self, m, vt)
2143 r"""__str__(MinimumSingletonScore self) -> std::string"""
2144 return _IMP_container.MinimumSingletonScore___str__(self)
2147 r"""__repr__(MinimumSingletonScore self) -> std::string"""
2148 return _IMP_container.MinimumSingletonScore___repr__(self)
2152 return _object_cast_to_MinimumSingletonScore(o)
2156 _IMP_container.MinimumSingletonScore_swigregister(MinimumSingletonScore)
2158 r"""Proxy of C++ IMP::container::MinimumTripletRestraint class."""
2160 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2162 def __init__(self, *args):
2163 r"""__init__(MinimumTripletRestraint self, TripletScore f, _TripletContainerAdaptor c, unsigned int n=1, std::string name="MinimumTripletRestraint %1%") -> MinimumTripletRestraint"""
2164 _IMP_container.MinimumTripletRestraint_swiginit(self, _IMP_container.new_MinimumTripletRestraint(*args))
2166 def do_get_inputs(self):
2167 r"""do_get_inputs(MinimumTripletRestraint self) -> IMP::ModelObjectsTemp"""
2168 return _IMP_container.MinimumTripletRestraint_do_get_inputs(self)
2170 def get_version_info(self):
2171 r"""get_version_info(MinimumTripletRestraint self) -> VersionInfo"""
2172 return _IMP_container.MinimumTripletRestraint_get_version_info(self)
2173 __swig_destroy__ = _IMP_container.delete_MinimumTripletRestraint
2176 r"""set_n(MinimumTripletRestraint self, unsigned int n)"""
2177 return _IMP_container.MinimumTripletRestraint_set_n(self, n)
2179 def do_create_current_decomposition(self):
2180 r"""do_create_current_decomposition(MinimumTripletRestraint self) -> IMP::Restraints"""
2181 return _IMP_container.MinimumTripletRestraint_do_create_current_decomposition(self)
2184 r"""__str__(MinimumTripletRestraint self) -> std::string"""
2185 return _IMP_container.MinimumTripletRestraint___str__(self)
2188 r"""__repr__(MinimumTripletRestraint self) -> std::string"""
2189 return _IMP_container.MinimumTripletRestraint___repr__(self)
2193 return _object_cast_to_MinimumTripletRestraint(o)
2197 _IMP_container.MinimumTripletRestraint_swigregister(MinimumTripletRestraint)
2199 r"""Proxy of C++ IMP::container::MinimumTripletScore class."""
2201 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2203 def __init__(self, *args):
2204 r"""__init__(MinimumTripletScore self, IMP::TripletScoresTemp const & scores, unsigned int n=1, std::string name="TripletScore %1%") -> MinimumTripletScore"""
2205 _IMP_container.MinimumTripletScore_swiginit(self, _IMP_container.new_MinimumTripletScore(*args))
2207 def do_get_inputs(self, m, pis):
2208 r"""do_get_inputs(MinimumTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2209 return _IMP_container.MinimumTripletScore_do_get_inputs(self, m, pis)
2211 def get_version_info(self):
2212 r"""get_version_info(MinimumTripletScore self) -> VersionInfo"""
2213 return _IMP_container.MinimumTripletScore_get_version_info(self)
2214 __swig_destroy__ = _IMP_container.delete_MinimumTripletScore
2216 def do_create_current_decomposition(self, m, vt):
2217 r"""do_create_current_decomposition(MinimumTripletScore self, Model m, IMP::ParticleIndexTriplet const & vt) -> IMP::Restraints"""
2218 return _IMP_container.MinimumTripletScore_do_create_current_decomposition(self, m, vt)
2221 r"""__str__(MinimumTripletScore self) -> std::string"""
2222 return _IMP_container.MinimumTripletScore___str__(self)
2225 r"""__repr__(MinimumTripletScore self) -> std::string"""
2226 return _IMP_container.MinimumTripletScore___repr__(self)
2230 return _object_cast_to_MinimumTripletScore(o)
2234 _IMP_container.MinimumTripletScore_swigregister(MinimumTripletScore)
2236 r"""Proxy of C++ IMP::container::PairContainerSet class."""
2238 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2240 def __init__(self, *args):
2242 __init__(PairContainerSet self, Model m, std::string name="PairContainerSet %1%") -> PairContainerSet
2243 __init__(PairContainerSet self, IMP::PairContainersTemp const & pc, std::string name="PairContainerSet %1%") -> PairContainerSet
2245 _IMP_container.PairContainerSet_swiginit(self, _IMP_container.new_PairContainerSet(*args))
2247 def do_apply(self, sm):
2248 r"""do_apply(PairContainerSet self, PairModifier sm)"""
2249 return _IMP_container.PairContainerSet_do_apply(self, sm)
2251 def do_apply_moved(self, sm, moved_pis, reset_pis):
2252 r"""do_apply_moved(PairContainerSet self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2253 return _IMP_container.PairContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2255 def get_version_info(self):
2256 r"""get_version_info(PairContainerSet self) -> VersionInfo"""
2257 return _IMP_container.PairContainerSet_get_version_info(self)
2258 __swig_destroy__ = _IMP_container.delete_PairContainerSet
2259 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)
2260 def __set_pair_containers(self, obj): IMP._list_util.set_varlist(self.pair_containers, obj)
2261 def __del_pair_containers(self): IMP._list_util.del_varlist(self.pair_containers)
2262 pair_containers = property(__get_pair_containers, __set_pair_containers, __del_pair_containers, doc=
"List of ##ucnames")
2264 def remove_pair_container(self, d):
2265 r"""remove_pair_container(PairContainerSet self, PairContainer d)"""
2266 return _IMP_container.PairContainerSet_remove_pair_container(self, d)
2268 def _python_index_pair_container(self, d, start, stop):
2269 r"""_python_index_pair_container(PairContainerSet self, PairContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2270 return _IMP_container.PairContainerSet__python_index_pair_container(self, d, start, stop)
2272 def remove_pair_containers(self, d):
2273 r"""remove_pair_containers(PairContainerSet self, IMP::PairContainers const & d)"""
2274 return _IMP_container.PairContainerSet_remove_pair_containers(self, d)
2276 def set_pair_containers(self, ps):
2277 r"""set_pair_containers(PairContainerSet self, IMP::PairContainers const & ps)"""
2278 return _IMP_container.PairContainerSet_set_pair_containers(self, ps)
2280 def set_pair_containers_order(self, objs):
2281 r"""set_pair_containers_order(PairContainerSet self, IMP::PairContainers const & objs)"""
2282 return _IMP_container.PairContainerSet_set_pair_containers_order(self, objs)
2284 def add_pair_container(self, obj):
2285 r"""add_pair_container(PairContainerSet self, PairContainer obj) -> unsigned int"""
2286 return _IMP_container.PairContainerSet_add_pair_container(self, obj)
2288 def add_pair_containers(self, objs):
2289 r"""add_pair_containers(PairContainerSet self, IMP::PairContainers const & objs)"""
2290 return _IMP_container.PairContainerSet_add_pair_containers(self, objs)
2292 def clear_pair_containers(self):
2293 r"""clear_pair_containers(PairContainerSet self)"""
2294 return _IMP_container.PairContainerSet_clear_pair_containers(self)
2296 def get_number_of_pair_containers(self):
2297 r"""get_number_of_pair_containers(PairContainerSet self) -> unsigned int"""
2298 return _IMP_container.PairContainerSet_get_number_of_pair_containers(self)
2300 def get_has_pair_containers(self):
2301 r"""get_has_pair_containers(PairContainerSet self) -> bool"""
2302 return _IMP_container.PairContainerSet_get_has_pair_containers(self)
2304 def get_pair_container(self, i):
2305 r"""get_pair_container(PairContainerSet self, unsigned int i) -> PairContainer"""
2306 return _IMP_container.PairContainerSet_get_pair_container(self, i)
2308 def get_pair_containers(self):
2309 r"""get_pair_containers(PairContainerSet self) -> IMP::PairContainers"""
2310 return _IMP_container.PairContainerSet_get_pair_containers(self)
2312 def erase_pair_container(self, i):
2313 r"""erase_pair_container(PairContainerSet self, unsigned int i)"""
2314 return _IMP_container.PairContainerSet_erase_pair_container(self, i)
2316 def reserve_pair_containers(self, sz):
2317 r"""reserve_pair_containers(PairContainerSet self, unsigned int sz)"""
2318 return _IMP_container.PairContainerSet_reserve_pair_containers(self, sz)
2320 def do_get_inputs(self):
2321 r"""do_get_inputs(PairContainerSet self) -> IMP::ModelObjectsTemp"""
2322 return _IMP_container.PairContainerSet_do_get_inputs(self)
2325 r"""__str__(PairContainerSet self) -> std::string"""
2326 return _IMP_container.PairContainerSet___str__(self)
2329 r"""__repr__(PairContainerSet self) -> std::string"""
2330 return _IMP_container.PairContainerSet___repr__(self)
2334 return _object_cast_to_PairContainerSet(o)
2338 _IMP_container.PairContainerSet_swigregister(PairContainerSet)
2340 r"""Proxy of C++ IMP::container::PairsConstraint class."""
2342 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2344 def __init__(self, *args):
2346 __init__(PairsConstraint self, PairModifier before, PairModifier after, _PairContainerAdaptor c, std::string name="PairsConstraint %1%") -> PairsConstraint
2347 __init__(PairsConstraint self) -> PairsConstraint
2349 _IMP_container.PairsConstraint_swiginit(self, _IMP_container.new_PairsConstraint(*args))
2351 def get_version_info(self):
2352 r"""get_version_info(PairsConstraint self) -> VersionInfo"""
2353 return _IMP_container.PairsConstraint_get_version_info(self)
2354 __swig_destroy__ = _IMP_container.delete_PairsConstraint
2357 r"""__str__(PairsConstraint self) -> std::string"""
2358 return _IMP_container.PairsConstraint___str__(self)
2361 r"""__repr__(PairsConstraint self) -> std::string"""
2362 return _IMP_container.PairsConstraint___repr__(self)
2366 return _object_cast_to_PairsConstraint(o)
2369 def _get_as_binary(self):
2370 r"""_get_as_binary(PairsConstraint self) -> PyObject *"""
2371 return _IMP_container.PairsConstraint__get_as_binary(self)
2373 def _set_from_binary(self, p):
2374 r"""_set_from_binary(PairsConstraint self, PyObject * p)"""
2375 return _IMP_container.PairsConstraint__set_from_binary(self, p)
2377 def __getstate__(self):
2378 p = self._get_as_binary()
2379 if len(self.__dict__) > 1:
2380 d = self.__dict__.copy()
2385 def __setstate__(self, p):
2386 if not hasattr(self,
'this'):
2388 if isinstance(p, tuple):
2390 self.__dict__.update(d)
2391 return self._set_from_binary(p)
2395 _IMP_container.PairsConstraint_swigregister(PairsConstraint)
2397 r"""Proxy of C++ IMP::container::PairsOptimizerState class."""
2399 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2401 def __init__(self, *args):
2402 r"""__init__(PairsOptimizerState self, _PairContainerAdaptor c, PairModifier gf, std::string name="PairsOptimizerState %1%") -> PairsOptimizerState"""
2403 _IMP_container.PairsOptimizerState_swiginit(self, _IMP_container.new_PairsOptimizerState(*args))
2405 def do_update(self, call):
2406 r"""do_update(PairsOptimizerState self, unsigned int call)"""
2407 return _IMP_container.PairsOptimizerState_do_update(self, call)
2409 def get_version_info(self):
2410 r"""get_version_info(PairsOptimizerState self) -> VersionInfo"""
2411 return _IMP_container.PairsOptimizerState_get_version_info(self)
2412 __swig_destroy__ = _IMP_container.delete_PairsOptimizerState
2415 r"""__str__(PairsOptimizerState self) -> std::string"""
2416 return _IMP_container.PairsOptimizerState___str__(self)
2419 r"""__repr__(PairsOptimizerState self) -> std::string"""
2420 return _IMP_container.PairsOptimizerState___repr__(self)
2424 return _object_cast_to_PairsOptimizerState(o)
2428 _IMP_container.PairsOptimizerState_swigregister(PairsOptimizerState)
2430 r"""Proxy of C++ IMP::container::PairsRestraint class."""
2432 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2434 def __init__(self, *args):
2436 __init__(PairsRestraint self, PairScore ss, _PairContainerAdaptor pc, std::string name="PairsRestraint %1%") -> PairsRestraint
2437 __init__(PairsRestraint self) -> PairsRestraint
2439 _IMP_container.PairsRestraint_swiginit(self, _IMP_container.new_PairsRestraint(*args))
2441 def do_get_inputs(self):
2442 r"""do_get_inputs(PairsRestraint self) -> IMP::ModelObjectsTemp"""
2443 return _IMP_container.PairsRestraint_do_get_inputs(self)
2445 def get_version_info(self):
2446 r"""get_version_info(PairsRestraint self) -> VersionInfo"""
2447 return _IMP_container.PairsRestraint_get_version_info(self)
2448 __swig_destroy__ = _IMP_container.delete_PairsRestraint
2451 r"""__str__(PairsRestraint self) -> std::string"""
2452 return _IMP_container.PairsRestraint___str__(self)
2455 r"""__repr__(PairsRestraint self) -> std::string"""
2456 return _IMP_container.PairsRestraint___repr__(self)
2460 return _object_cast_to_PairsRestraint(o)
2463 def _get_as_binary(self):
2464 r"""_get_as_binary(PairsRestraint self) -> PyObject *"""
2465 return _IMP_container.PairsRestraint__get_as_binary(self)
2467 def _set_from_binary(self, p):
2468 r"""_set_from_binary(PairsRestraint self, PyObject * p)"""
2469 return _IMP_container.PairsRestraint__set_from_binary(self, p)
2471 def __getstate__(self):
2472 p = self._get_as_binary()
2473 if len(self.__dict__) > 1:
2474 d = self.__dict__.copy()
2479 def __setstate__(self, p):
2480 if not hasattr(self,
'this'):
2482 if isinstance(p, tuple):
2484 self.__dict__.update(d)
2485 return self._set_from_binary(p)
2489 _IMP_container.PairsRestraint_swigregister(PairsRestraint)
2491 r"""Proxy of C++ IMP::container::QuadContainerSet class."""
2493 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2495 def __init__(self, *args):
2497 __init__(QuadContainerSet self, Model m, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2498 __init__(QuadContainerSet self, IMP::QuadContainersTemp const & pc, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2500 _IMP_container.QuadContainerSet_swiginit(self, _IMP_container.new_QuadContainerSet(*args))
2502 def do_apply(self, sm):
2503 r"""do_apply(QuadContainerSet self, QuadModifier sm)"""
2504 return _IMP_container.QuadContainerSet_do_apply(self, sm)
2506 def do_apply_moved(self, sm, moved_pis, reset_pis):
2507 r"""do_apply_moved(QuadContainerSet self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2508 return _IMP_container.QuadContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2510 def get_version_info(self):
2511 r"""get_version_info(QuadContainerSet self) -> VersionInfo"""
2512 return _IMP_container.QuadContainerSet_get_version_info(self)
2513 __swig_destroy__ = _IMP_container.delete_QuadContainerSet
2514 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)
2515 def __set_quad_containers(self, obj): IMP._list_util.set_varlist(self.quad_containers, obj)
2516 def __del_quad_containers(self): IMP._list_util.del_varlist(self.quad_containers)
2517 quad_containers = property(__get_quad_containers, __set_quad_containers, __del_quad_containers, doc=
"List of ##ucnames")
2519 def remove_quad_container(self, d):
2520 r"""remove_quad_container(QuadContainerSet self, QuadContainer d)"""
2521 return _IMP_container.QuadContainerSet_remove_quad_container(self, d)
2523 def _python_index_quad_container(self, d, start, stop):
2524 r"""_python_index_quad_container(QuadContainerSet self, QuadContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2525 return _IMP_container.QuadContainerSet__python_index_quad_container(self, d, start, stop)
2527 def remove_quad_containers(self, d):
2528 r"""remove_quad_containers(QuadContainerSet self, IMP::QuadContainers const & d)"""
2529 return _IMP_container.QuadContainerSet_remove_quad_containers(self, d)
2531 def set_quad_containers(self, ps):
2532 r"""set_quad_containers(QuadContainerSet self, IMP::QuadContainers const & ps)"""
2533 return _IMP_container.QuadContainerSet_set_quad_containers(self, ps)
2535 def set_quad_containers_order(self, objs):
2536 r"""set_quad_containers_order(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2537 return _IMP_container.QuadContainerSet_set_quad_containers_order(self, objs)
2539 def add_quad_container(self, obj):
2540 r"""add_quad_container(QuadContainerSet self, QuadContainer obj) -> unsigned int"""
2541 return _IMP_container.QuadContainerSet_add_quad_container(self, obj)
2543 def add_quad_containers(self, objs):
2544 r"""add_quad_containers(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2545 return _IMP_container.QuadContainerSet_add_quad_containers(self, objs)
2547 def clear_quad_containers(self):
2548 r"""clear_quad_containers(QuadContainerSet self)"""
2549 return _IMP_container.QuadContainerSet_clear_quad_containers(self)
2551 def get_number_of_quad_containers(self):
2552 r"""get_number_of_quad_containers(QuadContainerSet self) -> unsigned int"""
2553 return _IMP_container.QuadContainerSet_get_number_of_quad_containers(self)
2555 def get_has_quad_containers(self):
2556 r"""get_has_quad_containers(QuadContainerSet self) -> bool"""
2557 return _IMP_container.QuadContainerSet_get_has_quad_containers(self)
2559 def get_quad_container(self, i):
2560 r"""get_quad_container(QuadContainerSet self, unsigned int i) -> QuadContainer"""
2561 return _IMP_container.QuadContainerSet_get_quad_container(self, i)
2563 def get_quad_containers(self):
2564 r"""get_quad_containers(QuadContainerSet self) -> IMP::QuadContainers"""
2565 return _IMP_container.QuadContainerSet_get_quad_containers(self)
2567 def erase_quad_container(self, i):
2568 r"""erase_quad_container(QuadContainerSet self, unsigned int i)"""
2569 return _IMP_container.QuadContainerSet_erase_quad_container(self, i)
2571 def reserve_quad_containers(self, sz):
2572 r"""reserve_quad_containers(QuadContainerSet self, unsigned int sz)"""
2573 return _IMP_container.QuadContainerSet_reserve_quad_containers(self, sz)
2575 def do_get_inputs(self):
2576 r"""do_get_inputs(QuadContainerSet self) -> IMP::ModelObjectsTemp"""
2577 return _IMP_container.QuadContainerSet_do_get_inputs(self)
2580 r"""__str__(QuadContainerSet self) -> std::string"""
2581 return _IMP_container.QuadContainerSet___str__(self)
2584 r"""__repr__(QuadContainerSet self) -> std::string"""
2585 return _IMP_container.QuadContainerSet___repr__(self)
2589 return _object_cast_to_QuadContainerSet(o)
2593 _IMP_container.QuadContainerSet_swigregister(QuadContainerSet)
2595 r"""Proxy of C++ IMP::container::QuadsConstraint class."""
2597 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2599 def __init__(self, *args):
2601 __init__(QuadsConstraint self, QuadModifier before, QuadModifier after, _QuadContainerAdaptor c, std::string name="QuadsConstraint %1%") -> QuadsConstraint
2602 __init__(QuadsConstraint self) -> QuadsConstraint
2604 _IMP_container.QuadsConstraint_swiginit(self, _IMP_container.new_QuadsConstraint(*args))
2606 def get_version_info(self):
2607 r"""get_version_info(QuadsConstraint self) -> VersionInfo"""
2608 return _IMP_container.QuadsConstraint_get_version_info(self)
2609 __swig_destroy__ = _IMP_container.delete_QuadsConstraint
2612 r"""__str__(QuadsConstraint self) -> std::string"""
2613 return _IMP_container.QuadsConstraint___str__(self)
2616 r"""__repr__(QuadsConstraint self) -> std::string"""
2617 return _IMP_container.QuadsConstraint___repr__(self)
2621 return _object_cast_to_QuadsConstraint(o)
2624 def _get_as_binary(self):
2625 r"""_get_as_binary(QuadsConstraint self) -> PyObject *"""
2626 return _IMP_container.QuadsConstraint__get_as_binary(self)
2628 def _set_from_binary(self, p):
2629 r"""_set_from_binary(QuadsConstraint self, PyObject * p)"""
2630 return _IMP_container.QuadsConstraint__set_from_binary(self, p)
2632 def __getstate__(self):
2633 p = self._get_as_binary()
2634 if len(self.__dict__) > 1:
2635 d = self.__dict__.copy()
2640 def __setstate__(self, p):
2641 if not hasattr(self,
'this'):
2643 if isinstance(p, tuple):
2645 self.__dict__.update(d)
2646 return self._set_from_binary(p)
2650 _IMP_container.QuadsConstraint_swigregister(QuadsConstraint)
2652 r"""Proxy of C++ IMP::container::QuadsOptimizerState class."""
2654 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2656 def __init__(self, *args):
2657 r"""__init__(QuadsOptimizerState self, _QuadContainerAdaptor c, QuadModifier gf, std::string name="QuadsOptimizerState %1%") -> QuadsOptimizerState"""
2658 _IMP_container.QuadsOptimizerState_swiginit(self, _IMP_container.new_QuadsOptimizerState(*args))
2660 def do_update(self, call):
2661 r"""do_update(QuadsOptimizerState self, unsigned int call)"""
2662 return _IMP_container.QuadsOptimizerState_do_update(self, call)
2664 def get_version_info(self):
2665 r"""get_version_info(QuadsOptimizerState self) -> VersionInfo"""
2666 return _IMP_container.QuadsOptimizerState_get_version_info(self)
2667 __swig_destroy__ = _IMP_container.delete_QuadsOptimizerState
2670 r"""__str__(QuadsOptimizerState self) -> std::string"""
2671 return _IMP_container.QuadsOptimizerState___str__(self)
2674 r"""__repr__(QuadsOptimizerState self) -> std::string"""
2675 return _IMP_container.QuadsOptimizerState___repr__(self)
2679 return _object_cast_to_QuadsOptimizerState(o)
2683 _IMP_container.QuadsOptimizerState_swigregister(QuadsOptimizerState)
2685 r"""Proxy of C++ IMP::container::QuadsRestraint class."""
2687 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2689 def __init__(self, *args):
2691 __init__(QuadsRestraint self, QuadScore ss, _QuadContainerAdaptor pc, std::string name="QuadsRestraint %1%") -> QuadsRestraint
2692 __init__(QuadsRestraint self) -> QuadsRestraint
2694 _IMP_container.QuadsRestraint_swiginit(self, _IMP_container.new_QuadsRestraint(*args))
2696 def do_get_inputs(self):
2697 r"""do_get_inputs(QuadsRestraint self) -> IMP::ModelObjectsTemp"""
2698 return _IMP_container.QuadsRestraint_do_get_inputs(self)
2700 def get_version_info(self):
2701 r"""get_version_info(QuadsRestraint self) -> VersionInfo"""
2702 return _IMP_container.QuadsRestraint_get_version_info(self)
2703 __swig_destroy__ = _IMP_container.delete_QuadsRestraint
2706 r"""__str__(QuadsRestraint self) -> std::string"""
2707 return _IMP_container.QuadsRestraint___str__(self)
2710 r"""__repr__(QuadsRestraint self) -> std::string"""
2711 return _IMP_container.QuadsRestraint___repr__(self)
2715 return _object_cast_to_QuadsRestraint(o)
2718 def _get_as_binary(self):
2719 r"""_get_as_binary(QuadsRestraint self) -> PyObject *"""
2720 return _IMP_container.QuadsRestraint__get_as_binary(self)
2722 def _set_from_binary(self, p):
2723 r"""_set_from_binary(QuadsRestraint self, PyObject * p)"""
2724 return _IMP_container.QuadsRestraint__set_from_binary(self, p)
2726 def __getstate__(self):
2727 p = self._get_as_binary()
2728 if len(self.__dict__) > 1:
2729 d = self.__dict__.copy()
2734 def __setstate__(self, p):
2735 if not hasattr(self,
'this'):
2737 if isinstance(p, tuple):
2739 self.__dict__.update(d)
2740 return self._set_from_binary(p)
2744 _IMP_container.QuadsRestraint_swigregister(QuadsRestraint)
2746 r"""Proxy of C++ IMP::container::SingletonContainerSet class."""
2748 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2750 def __init__(self, *args):
2752 __init__(SingletonContainerSet self, Model m, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2753 __init__(SingletonContainerSet self, IMP::SingletonContainersTemp const & pc, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2755 _IMP_container.SingletonContainerSet_swiginit(self, _IMP_container.new_SingletonContainerSet(*args))
2757 def do_apply(self, sm):
2758 r"""do_apply(SingletonContainerSet self, SingletonModifier sm)"""
2759 return _IMP_container.SingletonContainerSet_do_apply(self, sm)
2761 def do_apply_moved(self, sm, moved_pis, reset_pis):
2762 r"""do_apply_moved(SingletonContainerSet self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2763 return _IMP_container.SingletonContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2765 def get_version_info(self):
2766 r"""get_version_info(SingletonContainerSet self) -> VersionInfo"""
2767 return _IMP_container.SingletonContainerSet_get_version_info(self)
2768 __swig_destroy__ = _IMP_container.delete_SingletonContainerSet
2769 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)
2770 def __set_singleton_containers(self, obj): IMP._list_util.set_varlist(self.singleton_containers, obj)
2771 def __del_singleton_containers(self): IMP._list_util.del_varlist(self.singleton_containers)
2772 singleton_containers = property(__get_singleton_containers, __set_singleton_containers, __del_singleton_containers, doc=
"List of ##ucnames")
2774 def remove_singleton_container(self, d):
2775 r"""remove_singleton_container(SingletonContainerSet self, SingletonContainer d)"""
2776 return _IMP_container.SingletonContainerSet_remove_singleton_container(self, d)
2778 def _python_index_singleton_container(self, d, start, stop):
2779 r"""_python_index_singleton_container(SingletonContainerSet self, SingletonContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2780 return _IMP_container.SingletonContainerSet__python_index_singleton_container(self, d, start, stop)
2782 def remove_singleton_containers(self, d):
2783 r"""remove_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & d)"""
2784 return _IMP_container.SingletonContainerSet_remove_singleton_containers(self, d)
2786 def set_singleton_containers(self, ps):
2787 r"""set_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & ps)"""
2788 return _IMP_container.SingletonContainerSet_set_singleton_containers(self, ps)
2790 def set_singleton_containers_order(self, objs):
2791 r"""set_singleton_containers_order(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2792 return _IMP_container.SingletonContainerSet_set_singleton_containers_order(self, objs)
2794 def add_singleton_container(self, obj):
2795 r"""add_singleton_container(SingletonContainerSet self, SingletonContainer obj) -> unsigned int"""
2796 return _IMP_container.SingletonContainerSet_add_singleton_container(self, obj)
2798 def add_singleton_containers(self, objs):
2799 r"""add_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2800 return _IMP_container.SingletonContainerSet_add_singleton_containers(self, objs)
2802 def clear_singleton_containers(self):
2803 r"""clear_singleton_containers(SingletonContainerSet self)"""
2804 return _IMP_container.SingletonContainerSet_clear_singleton_containers(self)
2806 def get_number_of_singleton_containers(self):
2807 r"""get_number_of_singleton_containers(SingletonContainerSet self) -> unsigned int"""
2808 return _IMP_container.SingletonContainerSet_get_number_of_singleton_containers(self)
2810 def get_has_singleton_containers(self):
2811 r"""get_has_singleton_containers(SingletonContainerSet self) -> bool"""
2812 return _IMP_container.SingletonContainerSet_get_has_singleton_containers(self)
2814 def get_singleton_container(self, i):
2815 r"""get_singleton_container(SingletonContainerSet self, unsigned int i) -> SingletonContainer"""
2816 return _IMP_container.SingletonContainerSet_get_singleton_container(self, i)
2818 def get_singleton_containers(self):
2819 r"""get_singleton_containers(SingletonContainerSet self) -> IMP::SingletonContainers"""
2820 return _IMP_container.SingletonContainerSet_get_singleton_containers(self)
2822 def erase_singleton_container(self, i):
2823 r"""erase_singleton_container(SingletonContainerSet self, unsigned int i)"""
2824 return _IMP_container.SingletonContainerSet_erase_singleton_container(self, i)
2826 def reserve_singleton_containers(self, sz):
2827 r"""reserve_singleton_containers(SingletonContainerSet self, unsigned int sz)"""
2828 return _IMP_container.SingletonContainerSet_reserve_singleton_containers(self, sz)
2830 def do_get_inputs(self):
2831 r"""do_get_inputs(SingletonContainerSet self) -> IMP::ModelObjectsTemp"""
2832 return _IMP_container.SingletonContainerSet_do_get_inputs(self)
2835 r"""__str__(SingletonContainerSet self) -> std::string"""
2836 return _IMP_container.SingletonContainerSet___str__(self)
2839 r"""__repr__(SingletonContainerSet self) -> std::string"""
2840 return _IMP_container.SingletonContainerSet___repr__(self)
2844 return _object_cast_to_SingletonContainerSet(o)
2848 _IMP_container.SingletonContainerSet_swigregister(SingletonContainerSet)
2850 r"""Proxy of C++ IMP::container::SingletonsConstraint class."""
2852 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2854 def __init__(self, *args):
2856 __init__(SingletonsConstraint self, SingletonModifier before, SingletonModifier after, _SingletonContainerAdaptor c, std::string name="SingletonsConstraint %1%") -> SingletonsConstraint
2857 __init__(SingletonsConstraint self) -> SingletonsConstraint
2859 _IMP_container.SingletonsConstraint_swiginit(self, _IMP_container.new_SingletonsConstraint(*args))
2861 def get_version_info(self):
2862 r"""get_version_info(SingletonsConstraint self) -> VersionInfo"""
2863 return _IMP_container.SingletonsConstraint_get_version_info(self)
2864 __swig_destroy__ = _IMP_container.delete_SingletonsConstraint
2867 r"""__str__(SingletonsConstraint self) -> std::string"""
2868 return _IMP_container.SingletonsConstraint___str__(self)
2871 r"""__repr__(SingletonsConstraint self) -> std::string"""
2872 return _IMP_container.SingletonsConstraint___repr__(self)
2876 return _object_cast_to_SingletonsConstraint(o)
2879 def _get_as_binary(self):
2880 r"""_get_as_binary(SingletonsConstraint self) -> PyObject *"""
2881 return _IMP_container.SingletonsConstraint__get_as_binary(self)
2883 def _set_from_binary(self, p):
2884 r"""_set_from_binary(SingletonsConstraint self, PyObject * p)"""
2885 return _IMP_container.SingletonsConstraint__set_from_binary(self, p)
2887 def __getstate__(self):
2888 p = self._get_as_binary()
2889 if len(self.__dict__) > 1:
2890 d = self.__dict__.copy()
2895 def __setstate__(self, p):
2896 if not hasattr(self,
'this'):
2898 if isinstance(p, tuple):
2900 self.__dict__.update(d)
2901 return self._set_from_binary(p)
2905 _IMP_container.SingletonsConstraint_swigregister(SingletonsConstraint)
2907 r"""Proxy of C++ IMP::container::SingletonsOptimizerState class."""
2909 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2911 def __init__(self, *args):
2912 r"""__init__(SingletonsOptimizerState self, _SingletonContainerAdaptor c, SingletonModifier gf, std::string name="SingletonsOptimizerState %1%") -> SingletonsOptimizerState"""
2913 _IMP_container.SingletonsOptimizerState_swiginit(self, _IMP_container.new_SingletonsOptimizerState(*args))
2915 def do_update(self, call):
2916 r"""do_update(SingletonsOptimizerState self, unsigned int call)"""
2917 return _IMP_container.SingletonsOptimizerState_do_update(self, call)
2919 def get_version_info(self):
2920 r"""get_version_info(SingletonsOptimizerState self) -> VersionInfo"""
2921 return _IMP_container.SingletonsOptimizerState_get_version_info(self)
2922 __swig_destroy__ = _IMP_container.delete_SingletonsOptimizerState
2925 r"""__str__(SingletonsOptimizerState self) -> std::string"""
2926 return _IMP_container.SingletonsOptimizerState___str__(self)
2929 r"""__repr__(SingletonsOptimizerState self) -> std::string"""
2930 return _IMP_container.SingletonsOptimizerState___repr__(self)
2934 return _object_cast_to_SingletonsOptimizerState(o)
2938 _IMP_container.SingletonsOptimizerState_swigregister(SingletonsOptimizerState)
2940 r"""Proxy of C++ IMP::container::SingletonsRestraint class."""
2942 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2944 def __init__(self, *args):
2946 __init__(SingletonsRestraint self, SingletonScore ss, _SingletonContainerAdaptor pc, std::string name="SingletonsRestraint %1%") -> SingletonsRestraint
2947 __init__(SingletonsRestraint self) -> SingletonsRestraint
2949 _IMP_container.SingletonsRestraint_swiginit(self, _IMP_container.new_SingletonsRestraint(*args))
2951 def do_get_inputs(self):
2952 r"""do_get_inputs(SingletonsRestraint self) -> IMP::ModelObjectsTemp"""
2953 return _IMP_container.SingletonsRestraint_do_get_inputs(self)
2955 def get_version_info(self):
2956 r"""get_version_info(SingletonsRestraint self) -> VersionInfo"""
2957 return _IMP_container.SingletonsRestraint_get_version_info(self)
2958 __swig_destroy__ = _IMP_container.delete_SingletonsRestraint
2961 r"""__str__(SingletonsRestraint self) -> std::string"""
2962 return _IMP_container.SingletonsRestraint___str__(self)
2965 r"""__repr__(SingletonsRestraint self) -> std::string"""
2966 return _IMP_container.SingletonsRestraint___repr__(self)
2970 return _object_cast_to_SingletonsRestraint(o)
2973 def _get_as_binary(self):
2974 r"""_get_as_binary(SingletonsRestraint self) -> PyObject *"""
2975 return _IMP_container.SingletonsRestraint__get_as_binary(self)
2977 def _set_from_binary(self, p):
2978 r"""_set_from_binary(SingletonsRestraint self, PyObject * p)"""
2979 return _IMP_container.SingletonsRestraint__set_from_binary(self, p)
2981 def __getstate__(self):
2982 p = self._get_as_binary()
2983 if len(self.__dict__) > 1:
2984 d = self.__dict__.copy()
2989 def __setstate__(self, p):
2990 if not hasattr(self,
'this'):
2992 if isinstance(p, tuple):
2994 self.__dict__.update(d)
2995 return self._set_from_binary(p)
2999 _IMP_container.SingletonsRestraint_swigregister(SingletonsRestraint)
3001 r"""Proxy of C++ IMP::container::TripletContainerSet class."""
3003 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3005 def __init__(self, *args):
3007 __init__(TripletContainerSet self, Model m, std::string name="TripletContainerSet %1%") -> TripletContainerSet
3008 __init__(TripletContainerSet self, IMP::TripletContainersTemp const & pc, std::string name="TripletContainerSet %1%") -> TripletContainerSet
3010 _IMP_container.TripletContainerSet_swiginit(self, _IMP_container.new_TripletContainerSet(*args))
3012 def do_apply(self, sm):
3013 r"""do_apply(TripletContainerSet self, TripletModifier sm)"""
3014 return _IMP_container.TripletContainerSet_do_apply(self, sm)
3016 def do_apply_moved(self, sm, moved_pis, reset_pis):
3017 r"""do_apply_moved(TripletContainerSet self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
3018 return _IMP_container.TripletContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
3020 def get_version_info(self):
3021 r"""get_version_info(TripletContainerSet self) -> VersionInfo"""
3022 return _IMP_container.TripletContainerSet_get_version_info(self)
3023 __swig_destroy__ = _IMP_container.delete_TripletContainerSet
3024 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)
3025 def __set_triplet_containers(self, obj): IMP._list_util.set_varlist(self.triplet_containers, obj)
3026 def __del_triplet_containers(self): IMP._list_util.del_varlist(self.triplet_containers)
3027 triplet_containers = property(__get_triplet_containers, __set_triplet_containers, __del_triplet_containers, doc=
"List of ##ucnames")
3029 def remove_triplet_container(self, d):
3030 r"""remove_triplet_container(TripletContainerSet self, TripletContainer d)"""
3031 return _IMP_container.TripletContainerSet_remove_triplet_container(self, d)
3033 def _python_index_triplet_container(self, d, start, stop):
3034 r"""_python_index_triplet_container(TripletContainerSet self, TripletContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
3035 return _IMP_container.TripletContainerSet__python_index_triplet_container(self, d, start, stop)
3037 def remove_triplet_containers(self, d):
3038 r"""remove_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & d)"""
3039 return _IMP_container.TripletContainerSet_remove_triplet_containers(self, d)
3041 def set_triplet_containers(self, ps):
3042 r"""set_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & ps)"""
3043 return _IMP_container.TripletContainerSet_set_triplet_containers(self, ps)
3045 def set_triplet_containers_order(self, objs):
3046 r"""set_triplet_containers_order(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3047 return _IMP_container.TripletContainerSet_set_triplet_containers_order(self, objs)
3049 def add_triplet_container(self, obj):
3050 r"""add_triplet_container(TripletContainerSet self, TripletContainer obj) -> unsigned int"""
3051 return _IMP_container.TripletContainerSet_add_triplet_container(self, obj)
3053 def add_triplet_containers(self, objs):
3054 r"""add_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3055 return _IMP_container.TripletContainerSet_add_triplet_containers(self, objs)
3057 def clear_triplet_containers(self):
3058 r"""clear_triplet_containers(TripletContainerSet self)"""
3059 return _IMP_container.TripletContainerSet_clear_triplet_containers(self)
3061 def get_number_of_triplet_containers(self):
3062 r"""get_number_of_triplet_containers(TripletContainerSet self) -> unsigned int"""
3063 return _IMP_container.TripletContainerSet_get_number_of_triplet_containers(self)
3065 def get_has_triplet_containers(self):
3066 r"""get_has_triplet_containers(TripletContainerSet self) -> bool"""
3067 return _IMP_container.TripletContainerSet_get_has_triplet_containers(self)
3069 def get_triplet_container(self, i):
3070 r"""get_triplet_container(TripletContainerSet self, unsigned int i) -> TripletContainer"""
3071 return _IMP_container.TripletContainerSet_get_triplet_container(self, i)
3073 def get_triplet_containers(self):
3074 r"""get_triplet_containers(TripletContainerSet self) -> IMP::TripletContainers"""
3075 return _IMP_container.TripletContainerSet_get_triplet_containers(self)
3077 def erase_triplet_container(self, i):
3078 r"""erase_triplet_container(TripletContainerSet self, unsigned int i)"""
3079 return _IMP_container.TripletContainerSet_erase_triplet_container(self, i)
3081 def reserve_triplet_containers(self, sz):
3082 r"""reserve_triplet_containers(TripletContainerSet self, unsigned int sz)"""
3083 return _IMP_container.TripletContainerSet_reserve_triplet_containers(self, sz)
3085 def do_get_inputs(self):
3086 r"""do_get_inputs(TripletContainerSet self) -> IMP::ModelObjectsTemp"""
3087 return _IMP_container.TripletContainerSet_do_get_inputs(self)
3090 r"""__str__(TripletContainerSet self) -> std::string"""
3091 return _IMP_container.TripletContainerSet___str__(self)
3094 r"""__repr__(TripletContainerSet self) -> std::string"""
3095 return _IMP_container.TripletContainerSet___repr__(self)
3099 return _object_cast_to_TripletContainerSet(o)
3103 _IMP_container.TripletContainerSet_swigregister(TripletContainerSet)
3105 r"""Proxy of C++ IMP::container::TripletsConstraint class."""
3107 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3109 def __init__(self, *args):
3111 __init__(TripletsConstraint self, TripletModifier before, TripletModifier after, _TripletContainerAdaptor c, std::string name="TripletsConstraint %1%") -> TripletsConstraint
3112 __init__(TripletsConstraint self) -> TripletsConstraint
3114 _IMP_container.TripletsConstraint_swiginit(self, _IMP_container.new_TripletsConstraint(*args))
3116 def get_version_info(self):
3117 r"""get_version_info(TripletsConstraint self) -> VersionInfo"""
3118 return _IMP_container.TripletsConstraint_get_version_info(self)
3119 __swig_destroy__ = _IMP_container.delete_TripletsConstraint
3122 r"""__str__(TripletsConstraint self) -> std::string"""
3123 return _IMP_container.TripletsConstraint___str__(self)
3126 r"""__repr__(TripletsConstraint self) -> std::string"""
3127 return _IMP_container.TripletsConstraint___repr__(self)
3131 return _object_cast_to_TripletsConstraint(o)
3134 def _get_as_binary(self):
3135 r"""_get_as_binary(TripletsConstraint self) -> PyObject *"""
3136 return _IMP_container.TripletsConstraint__get_as_binary(self)
3138 def _set_from_binary(self, p):
3139 r"""_set_from_binary(TripletsConstraint self, PyObject * p)"""
3140 return _IMP_container.TripletsConstraint__set_from_binary(self, p)
3142 def __getstate__(self):
3143 p = self._get_as_binary()
3144 if len(self.__dict__) > 1:
3145 d = self.__dict__.copy()
3150 def __setstate__(self, p):
3151 if not hasattr(self,
'this'):
3153 if isinstance(p, tuple):
3155 self.__dict__.update(d)
3156 return self._set_from_binary(p)
3160 _IMP_container.TripletsConstraint_swigregister(TripletsConstraint)
3162 r"""Proxy of C++ IMP::container::TripletsOptimizerState class."""
3164 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3166 def __init__(self, *args):
3167 r"""__init__(TripletsOptimizerState self, _TripletContainerAdaptor c, TripletModifier gf, std::string name="TripletsOptimizerState %1%") -> TripletsOptimizerState"""
3168 _IMP_container.TripletsOptimizerState_swiginit(self, _IMP_container.new_TripletsOptimizerState(*args))
3170 def do_update(self, call):
3171 r"""do_update(TripletsOptimizerState self, unsigned int call)"""
3172 return _IMP_container.TripletsOptimizerState_do_update(self, call)
3174 def get_version_info(self):
3175 r"""get_version_info(TripletsOptimizerState self) -> VersionInfo"""
3176 return _IMP_container.TripletsOptimizerState_get_version_info(self)
3177 __swig_destroy__ = _IMP_container.delete_TripletsOptimizerState
3180 r"""__str__(TripletsOptimizerState self) -> std::string"""
3181 return _IMP_container.TripletsOptimizerState___str__(self)
3184 r"""__repr__(TripletsOptimizerState self) -> std::string"""
3185 return _IMP_container.TripletsOptimizerState___repr__(self)
3189 return _object_cast_to_TripletsOptimizerState(o)
3193 _IMP_container.TripletsOptimizerState_swigregister(TripletsOptimizerState)
3195 r"""Proxy of C++ IMP::container::TripletsRestraint class."""
3197 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3199 def __init__(self, *args):
3201 __init__(TripletsRestraint self, TripletScore ss, _TripletContainerAdaptor pc, std::string name="TripletsRestraint %1%") -> TripletsRestraint
3202 __init__(TripletsRestraint self) -> TripletsRestraint
3204 _IMP_container.TripletsRestraint_swiginit(self, _IMP_container.new_TripletsRestraint(*args))
3206 def do_get_inputs(self):
3207 r"""do_get_inputs(TripletsRestraint self) -> IMP::ModelObjectsTemp"""
3208 return _IMP_container.TripletsRestraint_do_get_inputs(self)
3210 def get_version_info(self):
3211 r"""get_version_info(TripletsRestraint self) -> VersionInfo"""
3212 return _IMP_container.TripletsRestraint_get_version_info(self)
3213 __swig_destroy__ = _IMP_container.delete_TripletsRestraint
3216 r"""__str__(TripletsRestraint self) -> std::string"""
3217 return _IMP_container.TripletsRestraint___str__(self)
3220 r"""__repr__(TripletsRestraint self) -> std::string"""
3221 return _IMP_container.TripletsRestraint___repr__(self)
3225 return _object_cast_to_TripletsRestraint(o)
3228 def _get_as_binary(self):
3229 r"""_get_as_binary(TripletsRestraint self) -> PyObject *"""
3230 return _IMP_container.TripletsRestraint__get_as_binary(self)
3232 def _set_from_binary(self, p):
3233 r"""_set_from_binary(TripletsRestraint self, PyObject * p)"""
3234 return _IMP_container.TripletsRestraint__set_from_binary(self, p)
3236 def __getstate__(self):
3237 p = self._get_as_binary()
3238 if len(self.__dict__) > 1:
3239 d = self.__dict__.copy()
3244 def __setstate__(self, p):
3245 if not hasattr(self,
'this'):
3247 if isinstance(p, tuple):
3249 self.__dict__.update(d)
3250 return self._set_from_binary(p)
3254 _IMP_container.TripletsRestraint_swigregister(TripletsRestraint)
3256 r"""Proxy of C++ IMP::container::InContainerSingletonFilter class."""
3258 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3260 def __init__(self, *args):
3262 __init__(InContainerSingletonFilter self, SingletonContainer c, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3263 __init__(InContainerSingletonFilter self, SingletonContainer c, bool handle_permutations, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3265 _IMP_container.InContainerSingletonFilter_swiginit(self, _IMP_container.new_InContainerSingletonFilter(*args))
3267 def do_get_inputs(self, m, pi):
3268 r"""do_get_inputs(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3269 return _IMP_container.InContainerSingletonFilter_do_get_inputs(self, m, pi)
3271 def get_value(self, *args):
3273 get_value(InContainerSingletonFilter self, Particle a) -> int
3274 get_value(InContainerSingletonFilter self, IMP::ParticlesTemp const & o) -> IMP::Ints
3276 return _IMP_container.InContainerSingletonFilter_get_value(self, *args)
3278 def get_value_index(self, *args):
3280 get_value_index(InContainerSingletonFilter self, Model arg2, ParticleIndex vt) -> int
3281 get_value_index(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
3283 return _IMP_container.InContainerSingletonFilter_get_value_index(self, *args)
3285 def get_version_info(self):
3286 r"""get_version_info(InContainerSingletonFilter self) -> VersionInfo"""
3287 return _IMP_container.InContainerSingletonFilter_get_version_info(self)
3288 __swig_destroy__ = _IMP_container.delete_InContainerSingletonFilter
3291 r"""__str__(InContainerSingletonFilter self) -> std::string"""
3292 return _IMP_container.InContainerSingletonFilter___str__(self)
3295 r"""__repr__(InContainerSingletonFilter self) -> std::string"""
3296 return _IMP_container.InContainerSingletonFilter___repr__(self)
3300 return _object_cast_to_InContainerSingletonFilter(o)
3304 _IMP_container.InContainerSingletonFilter_swigregister(InContainerSingletonFilter)
3306 r"""Proxy of C++ IMP::container::InContainerPairFilter class."""
3308 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3310 def __init__(self, *args):
3312 __init__(InContainerPairFilter self, PairContainer c, std::string name="PairFilter %1%") -> InContainerPairFilter
3313 __init__(InContainerPairFilter self, PairContainer c, bool handle_permutations, std::string name="PairFilter %1%") -> InContainerPairFilter
3315 _IMP_container.InContainerPairFilter_swiginit(self, _IMP_container.new_InContainerPairFilter(*args))
3317 def do_get_inputs(self, m, pi):
3318 r"""do_get_inputs(InContainerPairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3319 return _IMP_container.InContainerPairFilter_do_get_inputs(self, m, pi)
3321 def get_value(self, *args):
3323 get_value(InContainerPairFilter self, IMP::ParticlePair const & a) -> int
3324 get_value(InContainerPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
3326 return _IMP_container.InContainerPairFilter_get_value(self, *args)
3328 def get_value_index(self, *args):
3330 get_value_index(InContainerPairFilter self, Model arg2, IMP::ParticleIndexPair const & vt) -> int
3331 get_value_index(InContainerPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
3333 return _IMP_container.InContainerPairFilter_get_value_index(self, *args)
3335 def get_version_info(self):
3336 r"""get_version_info(InContainerPairFilter self) -> VersionInfo"""
3337 return _IMP_container.InContainerPairFilter_get_version_info(self)
3338 __swig_destroy__ = _IMP_container.delete_InContainerPairFilter
3341 r"""__str__(InContainerPairFilter self) -> std::string"""
3342 return _IMP_container.InContainerPairFilter___str__(self)
3345 r"""__repr__(InContainerPairFilter self) -> std::string"""
3346 return _IMP_container.InContainerPairFilter___repr__(self)
3350 return _object_cast_to_InContainerPairFilter(o)
3354 _IMP_container.InContainerPairFilter_swigregister(InContainerPairFilter)
3356 r"""Proxy of C++ IMP::container::InContainerTripletFilter class."""
3358 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3360 def __init__(self, *args):
3362 __init__(InContainerTripletFilter self, TripletContainer c, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3363 __init__(InContainerTripletFilter self, TripletContainer c, bool handle_permutations, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3365 _IMP_container.InContainerTripletFilter_swiginit(self, _IMP_container.new_InContainerTripletFilter(*args))
3367 def do_get_inputs(self, m, pi):
3368 r"""do_get_inputs(InContainerTripletFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3369 return _IMP_container.InContainerTripletFilter_do_get_inputs(self, m, pi)
3371 def get_value(self, *args):
3373 get_value(InContainerTripletFilter self, IMP::ParticleTriplet const & a) -> int
3374 get_value(InContainerTripletFilter self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
3376 return _IMP_container.InContainerTripletFilter_get_value(self, *args)
3378 def get_value_index(self, *args):
3380 get_value_index(InContainerTripletFilter self, Model arg2, IMP::ParticleIndexTriplet const & vt) -> int
3381 get_value_index(InContainerTripletFilter self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
3383 return _IMP_container.InContainerTripletFilter_get_value_index(self, *args)
3385 def get_version_info(self):
3386 r"""get_version_info(InContainerTripletFilter self) -> VersionInfo"""
3387 return _IMP_container.InContainerTripletFilter_get_version_info(self)
3388 __swig_destroy__ = _IMP_container.delete_InContainerTripletFilter
3391 r"""__str__(InContainerTripletFilter self) -> std::string"""
3392 return _IMP_container.InContainerTripletFilter___str__(self)
3395 r"""__repr__(InContainerTripletFilter self) -> std::string"""
3396 return _IMP_container.InContainerTripletFilter___repr__(self)
3400 return _object_cast_to_InContainerTripletFilter(o)
3404 _IMP_container.InContainerTripletFilter_swigregister(InContainerTripletFilter)
3406 r"""Proxy of C++ IMP::container::InContainerQuadFilter class."""
3408 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3410 def __init__(self, *args):
3412 __init__(InContainerQuadFilter self, QuadContainer c, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3413 __init__(InContainerQuadFilter self, QuadContainer c, bool handle_permutations, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3415 _IMP_container.InContainerQuadFilter_swiginit(self, _IMP_container.new_InContainerQuadFilter(*args))
3417 def do_get_inputs(self, m, pi):
3418 r"""do_get_inputs(InContainerQuadFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3419 return _IMP_container.InContainerQuadFilter_do_get_inputs(self, m, pi)
3421 def get_value(self, *args):
3423 get_value(InContainerQuadFilter self, IMP::ParticleQuad const & a) -> int
3424 get_value(InContainerQuadFilter self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
3426 return _IMP_container.InContainerQuadFilter_get_value(self, *args)
3428 def get_value_index(self, *args):
3430 get_value_index(InContainerQuadFilter self, Model arg2, IMP::ParticleIndexQuad const & vt) -> int
3431 get_value_index(InContainerQuadFilter self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
3433 return _IMP_container.InContainerQuadFilter_get_value_index(self, *args)
3435 def get_version_info(self):
3436 r"""get_version_info(InContainerQuadFilter self) -> VersionInfo"""
3437 return _IMP_container.InContainerQuadFilter_get_version_info(self)
3438 __swig_destroy__ = _IMP_container.delete_InContainerQuadFilter
3441 r"""__str__(InContainerQuadFilter self) -> std::string"""
3442 return _IMP_container.InContainerQuadFilter___str__(self)
3445 r"""__repr__(InContainerQuadFilter self) -> std::string"""
3446 return _IMP_container.InContainerQuadFilter___repr__(self)
3450 return _object_cast_to_InContainerQuadFilter(o)
3454 _IMP_container.InContainerQuadFilter_swigregister(InContainerQuadFilter)
3456 r"""Proxy of C++ IMP::container::SingletonContainerStatistics class."""
3458 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3460 def __init__(self, c):
3461 r"""__init__(SingletonContainerStatistics self, _SingletonContainerAdaptor c) -> SingletonContainerStatistics"""
3462 _IMP_container.SingletonContainerStatistics_swiginit(self, _IMP_container.new_SingletonContainerStatistics(c))
3464 def show_statistics(self, out):
3465 r"""show_statistics(SingletonContainerStatistics self, _ostream out)"""
3466 return _IMP_container.SingletonContainerStatistics_show_statistics(self, out)
3468 def set_track_unique(self, tf):
3469 r"""set_track_unique(SingletonContainerStatistics self, bool tf)"""
3470 return _IMP_container.SingletonContainerStatistics_set_track_unique(self, tf)
3472 def do_before_evaluate(self):
3473 r"""do_before_evaluate(SingletonContainerStatistics self)"""
3474 return _IMP_container.SingletonContainerStatistics_do_before_evaluate(self)
3476 def do_after_evaluate(self, da):
3477 r"""do_after_evaluate(SingletonContainerStatistics self, DerivativeAccumulator da)"""
3478 return _IMP_container.SingletonContainerStatistics_do_after_evaluate(self, da)
3480 def do_get_inputs(self):
3481 r"""do_get_inputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3482 return _IMP_container.SingletonContainerStatistics_do_get_inputs(self)
3484 def do_get_outputs(self):
3485 r"""do_get_outputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3486 return _IMP_container.SingletonContainerStatistics_do_get_outputs(self)
3488 def get_version_info(self):
3489 r"""get_version_info(SingletonContainerStatistics self) -> VersionInfo"""
3490 return _IMP_container.SingletonContainerStatistics_get_version_info(self)
3491 __swig_destroy__ = _IMP_container.delete_SingletonContainerStatistics
3494 r"""__str__(SingletonContainerStatistics self) -> std::string"""
3495 return _IMP_container.SingletonContainerStatistics___str__(self)
3498 r"""__repr__(SingletonContainerStatistics self) -> std::string"""
3499 return _IMP_container.SingletonContainerStatistics___repr__(self)
3503 return _object_cast_to_SingletonContainerStatistics(o)
3507 _IMP_container.SingletonContainerStatistics_swigregister(SingletonContainerStatistics)
3509 r"""Proxy of C++ IMP::container::PairContainerStatistics class."""
3511 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3513 def __init__(self, c):
3514 r"""__init__(PairContainerStatistics self, _PairContainerAdaptor c) -> PairContainerStatistics"""
3515 _IMP_container.PairContainerStatistics_swiginit(self, _IMP_container.new_PairContainerStatistics(c))
3517 def show_statistics(self, out):
3518 r"""show_statistics(PairContainerStatistics self, _ostream out)"""
3519 return _IMP_container.PairContainerStatistics_show_statistics(self, out)
3521 def set_track_unique(self, tf):
3522 r"""set_track_unique(PairContainerStatistics self, bool tf)"""
3523 return _IMP_container.PairContainerStatistics_set_track_unique(self, tf)
3525 def do_before_evaluate(self):
3526 r"""do_before_evaluate(PairContainerStatistics self)"""
3527 return _IMP_container.PairContainerStatistics_do_before_evaluate(self)
3529 def do_after_evaluate(self, da):
3530 r"""do_after_evaluate(PairContainerStatistics self, DerivativeAccumulator da)"""
3531 return _IMP_container.PairContainerStatistics_do_after_evaluate(self, da)
3533 def do_get_inputs(self):
3534 r"""do_get_inputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3535 return _IMP_container.PairContainerStatistics_do_get_inputs(self)
3537 def do_get_outputs(self):
3538 r"""do_get_outputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3539 return _IMP_container.PairContainerStatistics_do_get_outputs(self)
3541 def get_version_info(self):
3542 r"""get_version_info(PairContainerStatistics self) -> VersionInfo"""
3543 return _IMP_container.PairContainerStatistics_get_version_info(self)
3544 __swig_destroy__ = _IMP_container.delete_PairContainerStatistics
3547 r"""__str__(PairContainerStatistics self) -> std::string"""
3548 return _IMP_container.PairContainerStatistics___str__(self)
3551 r"""__repr__(PairContainerStatistics self) -> std::string"""
3552 return _IMP_container.PairContainerStatistics___repr__(self)
3556 return _object_cast_to_PairContainerStatistics(o)
3560 _IMP_container.PairContainerStatistics_swigregister(PairContainerStatistics)
3562 r"""Proxy of C++ IMP::container::TripletContainerStatistics class."""
3564 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3566 def __init__(self, c):
3567 r"""__init__(TripletContainerStatistics self, _TripletContainerAdaptor c) -> TripletContainerStatistics"""
3568 _IMP_container.TripletContainerStatistics_swiginit(self, _IMP_container.new_TripletContainerStatistics(c))
3570 def show_statistics(self, out):
3571 r"""show_statistics(TripletContainerStatistics self, _ostream out)"""
3572 return _IMP_container.TripletContainerStatistics_show_statistics(self, out)
3574 def set_track_unique(self, tf):
3575 r"""set_track_unique(TripletContainerStatistics self, bool tf)"""
3576 return _IMP_container.TripletContainerStatistics_set_track_unique(self, tf)
3578 def do_before_evaluate(self):
3579 r"""do_before_evaluate(TripletContainerStatistics self)"""
3580 return _IMP_container.TripletContainerStatistics_do_before_evaluate(self)
3582 def do_after_evaluate(self, da):
3583 r"""do_after_evaluate(TripletContainerStatistics self, DerivativeAccumulator da)"""
3584 return _IMP_container.TripletContainerStatistics_do_after_evaluate(self, da)
3586 def do_get_inputs(self):
3587 r"""do_get_inputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3588 return _IMP_container.TripletContainerStatistics_do_get_inputs(self)
3590 def do_get_outputs(self):
3591 r"""do_get_outputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3592 return _IMP_container.TripletContainerStatistics_do_get_outputs(self)
3594 def get_version_info(self):
3595 r"""get_version_info(TripletContainerStatistics self) -> VersionInfo"""
3596 return _IMP_container.TripletContainerStatistics_get_version_info(self)
3597 __swig_destroy__ = _IMP_container.delete_TripletContainerStatistics
3600 r"""__str__(TripletContainerStatistics self) -> std::string"""
3601 return _IMP_container.TripletContainerStatistics___str__(self)
3604 r"""__repr__(TripletContainerStatistics self) -> std::string"""
3605 return _IMP_container.TripletContainerStatistics___repr__(self)
3609 return _object_cast_to_TripletContainerStatistics(o)
3613 _IMP_container.TripletContainerStatistics_swigregister(TripletContainerStatistics)
3615 r"""Proxy of C++ IMP::container::QuadContainerStatistics class."""
3617 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3619 def __init__(self, c):
3620 r"""__init__(QuadContainerStatistics self, _QuadContainerAdaptor c) -> QuadContainerStatistics"""
3621 _IMP_container.QuadContainerStatistics_swiginit(self, _IMP_container.new_QuadContainerStatistics(c))
3623 def show_statistics(self, out):
3624 r"""show_statistics(QuadContainerStatistics self, _ostream out)"""
3625 return _IMP_container.QuadContainerStatistics_show_statistics(self, out)
3627 def set_track_unique(self, tf):
3628 r"""set_track_unique(QuadContainerStatistics self, bool tf)"""
3629 return _IMP_container.QuadContainerStatistics_set_track_unique(self, tf)
3631 def do_before_evaluate(self):
3632 r"""do_before_evaluate(QuadContainerStatistics self)"""
3633 return _IMP_container.QuadContainerStatistics_do_before_evaluate(self)
3635 def do_after_evaluate(self, da):
3636 r"""do_after_evaluate(QuadContainerStatistics self, DerivativeAccumulator da)"""
3637 return _IMP_container.QuadContainerStatistics_do_after_evaluate(self, da)
3639 def do_get_inputs(self):
3640 r"""do_get_inputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3641 return _IMP_container.QuadContainerStatistics_do_get_inputs(self)
3643 def do_get_outputs(self):
3644 r"""do_get_outputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3645 return _IMP_container.QuadContainerStatistics_do_get_outputs(self)
3647 def get_version_info(self):
3648 r"""get_version_info(QuadContainerStatistics self) -> VersionInfo"""
3649 return _IMP_container.QuadContainerStatistics_get_version_info(self)
3650 __swig_destroy__ = _IMP_container.delete_QuadContainerStatistics
3653 r"""__str__(QuadContainerStatistics self) -> std::string"""
3654 return _IMP_container.QuadContainerStatistics___str__(self)
3657 r"""__repr__(QuadContainerStatistics self) -> std::string"""
3658 return _IMP_container.QuadContainerStatistics___repr__(self)
3662 return _object_cast_to_QuadContainerStatistics(o)
3666 _IMP_container.QuadContainerStatistics_swigregister(QuadContainerStatistics)
3668 r"""Proxy of C++ IMP::container::EventSingletonsOptimizerState class."""
3670 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3672 def __init__(self, *args):
3673 r"""__init__(EventSingletonsOptimizerState self, SingletonPredicate pred, _SingletonContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstSingletonPredicate%1%") -> EventSingletonsOptimizerState"""
3674 _IMP_container.EventSingletonsOptimizerState_swiginit(self, _IMP_container.new_EventSingletonsOptimizerState(*args))
3676 def do_update(self, call):
3677 r"""do_update(EventSingletonsOptimizerState self, unsigned int call)"""
3678 return _IMP_container.EventSingletonsOptimizerState_do_update(self, call)
3680 def get_version_info(self):
3681 r"""get_version_info(EventSingletonsOptimizerState self) -> VersionInfo"""
3682 return _IMP_container.EventSingletonsOptimizerState_get_version_info(self)
3683 __swig_destroy__ = _IMP_container.delete_EventSingletonsOptimizerState
3686 r"""__str__(EventSingletonsOptimizerState self) -> std::string"""
3687 return _IMP_container.EventSingletonsOptimizerState___str__(self)
3690 r"""__repr__(EventSingletonsOptimizerState self) -> std::string"""
3691 return _IMP_container.EventSingletonsOptimizerState___repr__(self)
3695 return _object_cast_to_EventSingletonsOptimizerState(o)
3699 _IMP_container.EventSingletonsOptimizerState_swigregister(EventSingletonsOptimizerState)
3701 r"""Proxy of C++ IMP::container::EventPairsOptimizerState class."""
3703 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3705 def __init__(self, *args):
3706 r"""__init__(EventPairsOptimizerState self, PairPredicate pred, _PairContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstPairPredicate%1%") -> EventPairsOptimizerState"""
3707 _IMP_container.EventPairsOptimizerState_swiginit(self, _IMP_container.new_EventPairsOptimizerState(*args))
3709 def do_update(self, call):
3710 r"""do_update(EventPairsOptimizerState self, unsigned int call)"""
3711 return _IMP_container.EventPairsOptimizerState_do_update(self, call)
3713 def get_version_info(self):
3714 r"""get_version_info(EventPairsOptimizerState self) -> VersionInfo"""
3715 return _IMP_container.EventPairsOptimizerState_get_version_info(self)
3716 __swig_destroy__ = _IMP_container.delete_EventPairsOptimizerState
3719 r"""__str__(EventPairsOptimizerState self) -> std::string"""
3720 return _IMP_container.EventPairsOptimizerState___str__(self)
3723 r"""__repr__(EventPairsOptimizerState self) -> std::string"""
3724 return _IMP_container.EventPairsOptimizerState___repr__(self)
3728 return _object_cast_to_EventPairsOptimizerState(o)
3732 _IMP_container.EventPairsOptimizerState_swigregister(EventPairsOptimizerState)
3734 r"""Proxy of C++ IMP::container::EventTripletsOptimizerState class."""
3736 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3738 def __init__(self, *args):
3739 r"""__init__(EventTripletsOptimizerState self, TripletPredicate pred, _TripletContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstTripletPredicate%1%") -> EventTripletsOptimizerState"""
3740 _IMP_container.EventTripletsOptimizerState_swiginit(self, _IMP_container.new_EventTripletsOptimizerState(*args))
3742 def do_update(self, call):
3743 r"""do_update(EventTripletsOptimizerState self, unsigned int call)"""
3744 return _IMP_container.EventTripletsOptimizerState_do_update(self, call)
3746 def get_version_info(self):
3747 r"""get_version_info(EventTripletsOptimizerState self) -> VersionInfo"""
3748 return _IMP_container.EventTripletsOptimizerState_get_version_info(self)
3749 __swig_destroy__ = _IMP_container.delete_EventTripletsOptimizerState
3752 r"""__str__(EventTripletsOptimizerState self) -> std::string"""
3753 return _IMP_container.EventTripletsOptimizerState___str__(self)
3756 r"""__repr__(EventTripletsOptimizerState self) -> std::string"""
3757 return _IMP_container.EventTripletsOptimizerState___repr__(self)
3761 return _object_cast_to_EventTripletsOptimizerState(o)
3765 _IMP_container.EventTripletsOptimizerState_swigregister(EventTripletsOptimizerState)
3767 r"""Proxy of C++ IMP::container::EventQuadsOptimizerState class."""
3769 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3771 def __init__(self, *args):
3772 r"""__init__(EventQuadsOptimizerState self, QuadPredicate pred, _QuadContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstQuadPredicate%1%") -> EventQuadsOptimizerState"""
3773 _IMP_container.EventQuadsOptimizerState_swiginit(self, _IMP_container.new_EventQuadsOptimizerState(*args))
3775 def do_update(self, call):
3776 r"""do_update(EventQuadsOptimizerState self, unsigned int call)"""
3777 return _IMP_container.EventQuadsOptimizerState_do_update(self, call)
3779 def get_version_info(self):
3780 r"""get_version_info(EventQuadsOptimizerState self) -> VersionInfo"""
3781 return _IMP_container.EventQuadsOptimizerState_get_version_info(self)
3782 __swig_destroy__ = _IMP_container.delete_EventQuadsOptimizerState
3785 r"""__str__(EventQuadsOptimizerState self) -> std::string"""
3786 return _IMP_container.EventQuadsOptimizerState___str__(self)
3789 r"""__repr__(EventQuadsOptimizerState self) -> std::string"""
3790 return _IMP_container.EventQuadsOptimizerState___repr__(self)
3794 return _object_cast_to_EventQuadsOptimizerState(o)
3798 _IMP_container.EventQuadsOptimizerState_swigregister(EventQuadsOptimizerState)
3800 r"""Proxy of C++ IMP::container::PredicateSingletonsRestraint class."""
3802 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3804 def __init__(self, *args):
3806 __init__(PredicateSingletonsRestraint self, SingletonPredicate pred, _SingletonContainerAdaptor input, std::string name="PredicateSingletonsRestraint %1%") -> PredicateSingletonsRestraint
3807 __init__(PredicateSingletonsRestraint self) -> PredicateSingletonsRestraint
3809 _IMP_container.PredicateSingletonsRestraint_swiginit(self, _IMP_container.new_PredicateSingletonsRestraint(*args))
3811 def set_score(self, predicate_value, score):
3812 r"""set_score(PredicateSingletonsRestraint self, int predicate_value, SingletonScore score)"""
3813 return _IMP_container.PredicateSingletonsRestraint_set_score(self, predicate_value, score)
3815 def set_unknown_score(self, score):
3816 r"""set_unknown_score(PredicateSingletonsRestraint self, SingletonScore score)"""
3817 return _IMP_container.PredicateSingletonsRestraint_set_unknown_score(self, score)
3819 def set_is_complete(self, tf):
3820 r"""set_is_complete(PredicateSingletonsRestraint self, bool tf)"""
3821 return _IMP_container.PredicateSingletonsRestraint_set_is_complete(self, tf)
3824 r"""get_indexes(PredicateSingletonsRestraint self, int predicate_value) -> IMP::ParticleIndexes"""
3825 return _IMP_container.PredicateSingletonsRestraint_get_indexes(self, predicate_value)
3827 def do_add_score_and_derivatives(self, sa):
3828 r"""do_add_score_and_derivatives(PredicateSingletonsRestraint self, ScoreAccumulator sa)"""
3829 return _IMP_container.PredicateSingletonsRestraint_do_add_score_and_derivatives(self, sa)
3831 def do_get_inputs(self):
3832 r"""do_get_inputs(PredicateSingletonsRestraint self) -> IMP::ModelObjectsTemp"""
3833 return _IMP_container.PredicateSingletonsRestraint_do_get_inputs(self)
3835 def get_version_info(self):
3836 r"""get_version_info(PredicateSingletonsRestraint self) -> VersionInfo"""
3837 return _IMP_container.PredicateSingletonsRestraint_get_version_info(self)
3838 __swig_destroy__ = _IMP_container.delete_PredicateSingletonsRestraint
3841 r"""__str__(PredicateSingletonsRestraint self) -> std::string"""
3842 return _IMP_container.PredicateSingletonsRestraint___str__(self)
3845 r"""__repr__(PredicateSingletonsRestraint self) -> std::string"""
3846 return _IMP_container.PredicateSingletonsRestraint___repr__(self)
3850 return _object_cast_to_PredicateSingletonsRestraint(o)
3853 def _get_as_binary(self):
3854 r"""_get_as_binary(PredicateSingletonsRestraint self) -> PyObject *"""
3855 return _IMP_container.PredicateSingletonsRestraint__get_as_binary(self)
3857 def _set_from_binary(self, p):
3858 r"""_set_from_binary(PredicateSingletonsRestraint self, PyObject * p)"""
3859 return _IMP_container.PredicateSingletonsRestraint__set_from_binary(self, p)
3861 def __getstate__(self):
3862 p = self._get_as_binary()
3863 if len(self.__dict__) > 1:
3864 d = self.__dict__.copy()
3869 def __setstate__(self, p):
3870 if not hasattr(self,
'this'):
3872 if isinstance(p, tuple):
3874 self.__dict__.update(d)
3875 return self._set_from_binary(p)
3879 _IMP_container.PredicateSingletonsRestraint_swigregister(PredicateSingletonsRestraint)
3881 r"""Proxy of C++ IMP::container::PredicatePairsRestraint class."""
3883 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3885 def __init__(self, *args):
3887 __init__(PredicatePairsRestraint self, PairPredicate pred, _PairContainerAdaptor input, std::string name="PredicatePairsRestraint %1%") -> PredicatePairsRestraint
3888 __init__(PredicatePairsRestraint self) -> PredicatePairsRestraint
3890 _IMP_container.PredicatePairsRestraint_swiginit(self, _IMP_container.new_PredicatePairsRestraint(*args))
3892 def set_score(self, predicate_value, score):
3893 r"""set_score(PredicatePairsRestraint self, int predicate_value, PairScore score)"""
3894 return _IMP_container.PredicatePairsRestraint_set_score(self, predicate_value, score)
3896 def set_unknown_score(self, score):
3897 r"""set_unknown_score(PredicatePairsRestraint self, PairScore score)"""
3898 return _IMP_container.PredicatePairsRestraint_set_unknown_score(self, score)
3900 def set_is_complete(self, tf):
3901 r"""set_is_complete(PredicatePairsRestraint self, bool tf)"""
3902 return _IMP_container.PredicatePairsRestraint_set_is_complete(self, tf)
3905 r"""get_indexes(PredicatePairsRestraint self, int predicate_value) -> IMP::ParticleIndexPairs"""
3906 return _IMP_container.PredicatePairsRestraint_get_indexes(self, predicate_value)
3908 def do_add_score_and_derivatives(self, sa):
3909 r"""do_add_score_and_derivatives(PredicatePairsRestraint self, ScoreAccumulator sa)"""
3910 return _IMP_container.PredicatePairsRestraint_do_add_score_and_derivatives(self, sa)
3912 def do_get_inputs(self):
3913 r"""do_get_inputs(PredicatePairsRestraint self) -> IMP::ModelObjectsTemp"""
3914 return _IMP_container.PredicatePairsRestraint_do_get_inputs(self)
3916 def get_version_info(self):
3917 r"""get_version_info(PredicatePairsRestraint self) -> VersionInfo"""
3918 return _IMP_container.PredicatePairsRestraint_get_version_info(self)
3919 __swig_destroy__ = _IMP_container.delete_PredicatePairsRestraint
3922 r"""__str__(PredicatePairsRestraint self) -> std::string"""
3923 return _IMP_container.PredicatePairsRestraint___str__(self)
3926 r"""__repr__(PredicatePairsRestraint self) -> std::string"""
3927 return _IMP_container.PredicatePairsRestraint___repr__(self)
3931 return _object_cast_to_PredicatePairsRestraint(o)
3934 def _get_as_binary(self):
3935 r"""_get_as_binary(PredicatePairsRestraint self) -> PyObject *"""
3936 return _IMP_container.PredicatePairsRestraint__get_as_binary(self)
3938 def _set_from_binary(self, p):
3939 r"""_set_from_binary(PredicatePairsRestraint self, PyObject * p)"""
3940 return _IMP_container.PredicatePairsRestraint__set_from_binary(self, p)
3942 def __getstate__(self):
3943 p = self._get_as_binary()
3944 if len(self.__dict__) > 1:
3945 d = self.__dict__.copy()
3950 def __setstate__(self, p):
3951 if not hasattr(self,
'this'):
3953 if isinstance(p, tuple):
3955 self.__dict__.update(d)
3956 return self._set_from_binary(p)
3960 _IMP_container.PredicatePairsRestraint_swigregister(PredicatePairsRestraint)
3962 r"""Proxy of C++ IMP::container::PredicateTripletsRestraint class."""
3964 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3966 def __init__(self, *args):
3968 __init__(PredicateTripletsRestraint self, TripletPredicate pred, _TripletContainerAdaptor input, std::string name="PredicateTripletsRestraint %1%") -> PredicateTripletsRestraint
3969 __init__(PredicateTripletsRestraint self) -> PredicateTripletsRestraint
3971 _IMP_container.PredicateTripletsRestraint_swiginit(self, _IMP_container.new_PredicateTripletsRestraint(*args))
3973 def set_score(self, predicate_value, score):
3974 r"""set_score(PredicateTripletsRestraint self, int predicate_value, TripletScore score)"""
3975 return _IMP_container.PredicateTripletsRestraint_set_score(self, predicate_value, score)
3977 def set_unknown_score(self, score):
3978 r"""set_unknown_score(PredicateTripletsRestraint self, TripletScore score)"""
3979 return _IMP_container.PredicateTripletsRestraint_set_unknown_score(self, score)
3981 def set_is_complete(self, tf):
3982 r"""set_is_complete(PredicateTripletsRestraint self, bool tf)"""
3983 return _IMP_container.PredicateTripletsRestraint_set_is_complete(self, tf)
3986 r"""get_indexes(PredicateTripletsRestraint self, int predicate_value) -> IMP::ParticleIndexTriplets"""
3987 return _IMP_container.PredicateTripletsRestraint_get_indexes(self, predicate_value)
3989 def do_add_score_and_derivatives(self, sa):
3990 r"""do_add_score_and_derivatives(PredicateTripletsRestraint self, ScoreAccumulator sa)"""
3991 return _IMP_container.PredicateTripletsRestraint_do_add_score_and_derivatives(self, sa)
3993 def do_get_inputs(self):
3994 r"""do_get_inputs(PredicateTripletsRestraint self) -> IMP::ModelObjectsTemp"""
3995 return _IMP_container.PredicateTripletsRestraint_do_get_inputs(self)
3997 def get_version_info(self):
3998 r"""get_version_info(PredicateTripletsRestraint self) -> VersionInfo"""
3999 return _IMP_container.PredicateTripletsRestraint_get_version_info(self)
4000 __swig_destroy__ = _IMP_container.delete_PredicateTripletsRestraint
4003 r"""__str__(PredicateTripletsRestraint self) -> std::string"""
4004 return _IMP_container.PredicateTripletsRestraint___str__(self)
4007 r"""__repr__(PredicateTripletsRestraint self) -> std::string"""
4008 return _IMP_container.PredicateTripletsRestraint___repr__(self)
4012 return _object_cast_to_PredicateTripletsRestraint(o)
4015 def _get_as_binary(self):
4016 r"""_get_as_binary(PredicateTripletsRestraint self) -> PyObject *"""
4017 return _IMP_container.PredicateTripletsRestraint__get_as_binary(self)
4019 def _set_from_binary(self, p):
4020 r"""_set_from_binary(PredicateTripletsRestraint self, PyObject * p)"""
4021 return _IMP_container.PredicateTripletsRestraint__set_from_binary(self, p)
4023 def __getstate__(self):
4024 p = self._get_as_binary()
4025 if len(self.__dict__) > 1:
4026 d = self.__dict__.copy()
4031 def __setstate__(self, p):
4032 if not hasattr(self,
'this'):
4034 if isinstance(p, tuple):
4036 self.__dict__.update(d)
4037 return self._set_from_binary(p)
4041 _IMP_container.PredicateTripletsRestraint_swigregister(PredicateTripletsRestraint)
4043 r"""Proxy of C++ IMP::container::PredicateQuadsRestraint class."""
4045 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4047 def __init__(self, *args):
4049 __init__(PredicateQuadsRestraint self, QuadPredicate pred, _QuadContainerAdaptor input, std::string name="PredicateQuadsRestraint %1%") -> PredicateQuadsRestraint
4050 __init__(PredicateQuadsRestraint self) -> PredicateQuadsRestraint
4052 _IMP_container.PredicateQuadsRestraint_swiginit(self, _IMP_container.new_PredicateQuadsRestraint(*args))
4054 def set_score(self, predicate_value, score):
4055 r"""set_score(PredicateQuadsRestraint self, int predicate_value, QuadScore score)"""
4056 return _IMP_container.PredicateQuadsRestraint_set_score(self, predicate_value, score)
4058 def set_unknown_score(self, score):
4059 r"""set_unknown_score(PredicateQuadsRestraint self, QuadScore score)"""
4060 return _IMP_container.PredicateQuadsRestraint_set_unknown_score(self, score)
4062 def set_is_complete(self, tf):
4063 r"""set_is_complete(PredicateQuadsRestraint self, bool tf)"""
4064 return _IMP_container.PredicateQuadsRestraint_set_is_complete(self, tf)
4067 r"""get_indexes(PredicateQuadsRestraint self, int predicate_value) -> IMP::ParticleIndexQuads"""
4068 return _IMP_container.PredicateQuadsRestraint_get_indexes(self, predicate_value)
4070 def do_add_score_and_derivatives(self, sa):
4071 r"""do_add_score_and_derivatives(PredicateQuadsRestraint self, ScoreAccumulator sa)"""
4072 return _IMP_container.PredicateQuadsRestraint_do_add_score_and_derivatives(self, sa)
4074 def do_get_inputs(self):
4075 r"""do_get_inputs(PredicateQuadsRestraint self) -> IMP::ModelObjectsTemp"""
4076 return _IMP_container.PredicateQuadsRestraint_do_get_inputs(self)
4078 def get_version_info(self):
4079 r"""get_version_info(PredicateQuadsRestraint self) -> VersionInfo"""
4080 return _IMP_container.PredicateQuadsRestraint_get_version_info(self)
4081 __swig_destroy__ = _IMP_container.delete_PredicateQuadsRestraint
4084 r"""__str__(PredicateQuadsRestraint self) -> std::string"""
4085 return _IMP_container.PredicateQuadsRestraint___str__(self)
4088 r"""__repr__(PredicateQuadsRestraint self) -> std::string"""
4089 return _IMP_container.PredicateQuadsRestraint___repr__(self)
4093 return _object_cast_to_PredicateQuadsRestraint(o)
4096 def _get_as_binary(self):
4097 r"""_get_as_binary(PredicateQuadsRestraint self) -> PyObject *"""
4098 return _IMP_container.PredicateQuadsRestraint__get_as_binary(self)
4100 def _set_from_binary(self, p):
4101 r"""_set_from_binary(PredicateQuadsRestraint self, PyObject * p)"""
4102 return _IMP_container.PredicateQuadsRestraint__set_from_binary(self, p)
4104 def __getstate__(self):
4105 p = self._get_as_binary()
4106 if len(self.__dict__) > 1:
4107 d = self.__dict__.copy()
4112 def __setstate__(self, p):
4113 if not hasattr(self,
'this'):
4115 if isinstance(p, tuple):
4117 self.__dict__.update(d)
4118 return self._set_from_binary(p)
4122 _IMP_container.PredicateQuadsRestraint_swigregister(PredicateQuadsRestraint)
4124 r"""Proxy of C++ IMP::container::DistributeSingletonsScoreState class."""
4126 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4128 def __init__(self, *args):
4129 r"""__init__(DistributeSingletonsScoreState self, _SingletonContainerAdaptor input, std::string name="DistributeSingletonsScoreState %1%") -> DistributeSingletonsScoreState"""
4130 _IMP_container.DistributeSingletonsScoreState_swiginit(self, _IMP_container.new_DistributeSingletonsScoreState(*args))
4132 def add_predicate(self, predicate, value):
4133 r"""add_predicate(DistributeSingletonsScoreState self, SingletonPredicate predicate, int value) -> DynamicListSingletonContainer"""
4134 return _IMP_container.DistributeSingletonsScoreState_add_predicate(self, predicate, value)
4136 def do_before_evaluate(self):
4137 r"""do_before_evaluate(DistributeSingletonsScoreState self)"""
4138 return _IMP_container.DistributeSingletonsScoreState_do_before_evaluate(self)
4140 def do_after_evaluate(self, da):
4141 r"""do_after_evaluate(DistributeSingletonsScoreState self, DerivativeAccumulator da)"""
4142 return _IMP_container.DistributeSingletonsScoreState_do_after_evaluate(self, da)
4144 def do_get_inputs(self):
4145 r"""do_get_inputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4146 return _IMP_container.DistributeSingletonsScoreState_do_get_inputs(self)
4148 def do_get_outputs(self):
4149 r"""do_get_outputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4150 return _IMP_container.DistributeSingletonsScoreState_do_get_outputs(self)
4152 def get_version_info(self):
4153 r"""get_version_info(DistributeSingletonsScoreState self) -> VersionInfo"""
4154 return _IMP_container.DistributeSingletonsScoreState_get_version_info(self)
4155 __swig_destroy__ = _IMP_container.delete_DistributeSingletonsScoreState
4158 r"""__str__(DistributeSingletonsScoreState self) -> std::string"""
4159 return _IMP_container.DistributeSingletonsScoreState___str__(self)
4162 r"""__repr__(DistributeSingletonsScoreState self) -> std::string"""
4163 return _IMP_container.DistributeSingletonsScoreState___repr__(self)
4167 return _object_cast_to_DistributeSingletonsScoreState(o)
4171 _IMP_container.DistributeSingletonsScoreState_swigregister(DistributeSingletonsScoreState)
4173 r"""Proxy of C++ IMP::container::DistributePairsScoreState class."""
4175 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4177 def __init__(self, *args):
4178 r"""__init__(DistributePairsScoreState self, _PairContainerAdaptor input, std::string name="DistributePairsScoreState %1%") -> DistributePairsScoreState"""
4179 _IMP_container.DistributePairsScoreState_swiginit(self, _IMP_container.new_DistributePairsScoreState(*args))
4181 def add_predicate(self, predicate, value):
4182 r"""add_predicate(DistributePairsScoreState self, PairPredicate predicate, int value) -> DynamicListPairContainer"""
4183 return _IMP_container.DistributePairsScoreState_add_predicate(self, predicate, value)
4185 def do_before_evaluate(self):
4186 r"""do_before_evaluate(DistributePairsScoreState self)"""
4187 return _IMP_container.DistributePairsScoreState_do_before_evaluate(self)
4189 def do_after_evaluate(self, da):
4190 r"""do_after_evaluate(DistributePairsScoreState self, DerivativeAccumulator da)"""
4191 return _IMP_container.DistributePairsScoreState_do_after_evaluate(self, da)
4193 def do_get_inputs(self):
4194 r"""do_get_inputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4195 return _IMP_container.DistributePairsScoreState_do_get_inputs(self)
4197 def do_get_outputs(self):
4198 r"""do_get_outputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4199 return _IMP_container.DistributePairsScoreState_do_get_outputs(self)
4201 def get_version_info(self):
4202 r"""get_version_info(DistributePairsScoreState self) -> VersionInfo"""
4203 return _IMP_container.DistributePairsScoreState_get_version_info(self)
4204 __swig_destroy__ = _IMP_container.delete_DistributePairsScoreState
4207 r"""__str__(DistributePairsScoreState self) -> std::string"""
4208 return _IMP_container.DistributePairsScoreState___str__(self)
4211 r"""__repr__(DistributePairsScoreState self) -> std::string"""
4212 return _IMP_container.DistributePairsScoreState___repr__(self)
4216 return _object_cast_to_DistributePairsScoreState(o)
4220 _IMP_container.DistributePairsScoreState_swigregister(DistributePairsScoreState)
4222 r"""Proxy of C++ IMP::container::DistributeTripletsScoreState class."""
4224 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4226 def __init__(self, *args):
4227 r"""__init__(DistributeTripletsScoreState self, _TripletContainerAdaptor input, std::string name="DistributeTripletsScoreState %1%") -> DistributeTripletsScoreState"""
4228 _IMP_container.DistributeTripletsScoreState_swiginit(self, _IMP_container.new_DistributeTripletsScoreState(*args))
4230 def add_predicate(self, predicate, value):
4231 r"""add_predicate(DistributeTripletsScoreState self, TripletPredicate predicate, int value) -> DynamicListTripletContainer"""
4232 return _IMP_container.DistributeTripletsScoreState_add_predicate(self, predicate, value)
4234 def do_before_evaluate(self):
4235 r"""do_before_evaluate(DistributeTripletsScoreState self)"""
4236 return _IMP_container.DistributeTripletsScoreState_do_before_evaluate(self)
4238 def do_after_evaluate(self, da):
4239 r"""do_after_evaluate(DistributeTripletsScoreState self, DerivativeAccumulator da)"""
4240 return _IMP_container.DistributeTripletsScoreState_do_after_evaluate(self, da)
4242 def do_get_inputs(self):
4243 r"""do_get_inputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4244 return _IMP_container.DistributeTripletsScoreState_do_get_inputs(self)
4246 def do_get_outputs(self):
4247 r"""do_get_outputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4248 return _IMP_container.DistributeTripletsScoreState_do_get_outputs(self)
4250 def get_version_info(self):
4251 r"""get_version_info(DistributeTripletsScoreState self) -> VersionInfo"""
4252 return _IMP_container.DistributeTripletsScoreState_get_version_info(self)
4253 __swig_destroy__ = _IMP_container.delete_DistributeTripletsScoreState
4256 r"""__str__(DistributeTripletsScoreState self) -> std::string"""
4257 return _IMP_container.DistributeTripletsScoreState___str__(self)
4260 r"""__repr__(DistributeTripletsScoreState self) -> std::string"""
4261 return _IMP_container.DistributeTripletsScoreState___repr__(self)
4265 return _object_cast_to_DistributeTripletsScoreState(o)
4269 _IMP_container.DistributeTripletsScoreState_swigregister(DistributeTripletsScoreState)
4271 r"""Proxy of C++ IMP::container::DistributeQuadsScoreState class."""
4273 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4275 def __init__(self, *args):
4276 r"""__init__(DistributeQuadsScoreState self, _QuadContainerAdaptor input, std::string name="DistributeQuadsScoreState %1%") -> DistributeQuadsScoreState"""
4277 _IMP_container.DistributeQuadsScoreState_swiginit(self, _IMP_container.new_DistributeQuadsScoreState(*args))
4279 def add_predicate(self, predicate, value):
4280 r"""add_predicate(DistributeQuadsScoreState self, QuadPredicate predicate, int value) -> DynamicListQuadContainer"""
4281 return _IMP_container.DistributeQuadsScoreState_add_predicate(self, predicate, value)
4283 def do_before_evaluate(self):
4284 r"""do_before_evaluate(DistributeQuadsScoreState self)"""
4285 return _IMP_container.DistributeQuadsScoreState_do_before_evaluate(self)
4287 def do_after_evaluate(self, da):
4288 r"""do_after_evaluate(DistributeQuadsScoreState self, DerivativeAccumulator da)"""
4289 return _IMP_container.DistributeQuadsScoreState_do_after_evaluate(self, da)
4291 def do_get_inputs(self):
4292 r"""do_get_inputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4293 return _IMP_container.DistributeQuadsScoreState_do_get_inputs(self)
4295 def do_get_outputs(self):
4296 r"""do_get_outputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4297 return _IMP_container.DistributeQuadsScoreState_do_get_outputs(self)
4299 def get_version_info(self):
4300 r"""get_version_info(DistributeQuadsScoreState self) -> VersionInfo"""
4301 return _IMP_container.DistributeQuadsScoreState_get_version_info(self)
4302 __swig_destroy__ = _IMP_container.delete_DistributeQuadsScoreState
4305 r"""__str__(DistributeQuadsScoreState self) -> std::string"""
4306 return _IMP_container.DistributeQuadsScoreState___str__(self)
4309 r"""__repr__(DistributeQuadsScoreState self) -> std::string"""
4310 return _IMP_container.DistributeQuadsScoreState___repr__(self)
4314 return _object_cast_to_DistributeQuadsScoreState(o)
4318 _IMP_container.DistributeQuadsScoreState_swigregister(DistributeQuadsScoreState)
4322 create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint
4323 create_restraint(PairScore ps, PairContainer pp) -> Restraint
4325 return _IMP_container.create_restraint(*args)
4328 r"""get_module_version() -> std::string const"""
4329 return _IMP_container.get_module_version()
4332 r"""get_example_path(std::string fname) -> std::string"""
4333 return _IMP_container.get_example_path(fname)
4336 r"""get_data_path(std::string fname) -> std::string"""
4337 return _IMP_container.get_data_path(fname)
4339 from .
import _version_check
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
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.
Composable functors to implement scores via compile-time composition.
std::string get_module_version()
Return the version of this module, as a string.
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.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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...
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.
A restraint is a term in an IMP ScoringFunction.