IMP logo
IMP Reference Guide  2.19.0
The Integrative Modeling Platform
container/__init__.py
1 # This file was automatically generated by SWIG (https://www.swig.org).
2 # Version 4.1.1
3 #
4 # Do not make changes to this file unless you know what you are doing - modify
5 # the SWIG interface file instead.
6 
7 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2023 IMP Inventors. All rights reserved.
10 
11 from __future__ import print_function, division, absolute_import
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 import _IMP_container
17 
18 try:
19  import builtins as __builtin__
20 except ImportError:
21  import __builtin__
22 
23 def _swig_repr(self):
24  try:
25  strthis = "proxy of " + self.this.__repr__()
26  except __builtin__.Exception:
27  strthis = ""
28  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
29 
30 
31 def _swig_setattr_nondynamic_instance_variable(set):
32  def set_instance_attr(self, name, value):
33  if name == "this":
34  set(self, name, value)
35  elif name == "thisown":
36  self.this.own(value)
37  elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
38  set(self, name, value)
39  else:
40  raise AttributeError("You cannot add instance attributes to %s" % self)
41  return set_instance_attr
42 
43 
44 def _swig_setattr_nondynamic_class_variable(set):
45  def set_class_attr(cls, name, value):
46  if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
47  set(cls, name, value)
48  else:
49  raise AttributeError("You cannot add class attributes to %s" % cls)
50  return set_class_attr
51 
52 
53 def _swig_add_metaclass(metaclass):
54  """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55  def wrapper(cls):
56  return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
57  return wrapper
58 
59 
60 class _SwigNonDynamicMeta(type):
61  """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
62  __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
63 
64 
65 import weakref
66 
67 class IMP_CONTAINER_SwigPyIterator(object):
68  r"""Proxy of C++ swig::IMP_CONTAINER_SwigPyIterator class."""
69 
70  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
71 
72  def __init__(self, *args, **kwargs):
73  raise AttributeError("No constructor defined - class is abstract")
74  __repr__ = _swig_repr
75  __swig_destroy__ = _IMP_container.delete_IMP_CONTAINER_SwigPyIterator
76 
77  def value(self):
78  r"""value(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
79  return _IMP_container.IMP_CONTAINER_SwigPyIterator_value(self)
80 
81  def incr(self, n=1):
82  r"""incr(IMP_CONTAINER_SwigPyIterator self, size_t n=1) -> IMP_CONTAINER_SwigPyIterator"""
83  return _IMP_container.IMP_CONTAINER_SwigPyIterator_incr(self, n)
84 
85  def decr(self, n=1):
86  r"""decr(IMP_CONTAINER_SwigPyIterator self, size_t n=1) -> IMP_CONTAINER_SwigPyIterator"""
87  return _IMP_container.IMP_CONTAINER_SwigPyIterator_decr(self, n)
88 
89  def distance(self, x):
90  r"""distance(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> ptrdiff_t"""
91  return _IMP_container.IMP_CONTAINER_SwigPyIterator_distance(self, x)
92 
93  def equal(self, x):
94  r"""equal(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
95  return _IMP_container.IMP_CONTAINER_SwigPyIterator_equal(self, x)
96 
97  def copy(self):
98  r"""copy(IMP_CONTAINER_SwigPyIterator self) -> IMP_CONTAINER_SwigPyIterator"""
99  return _IMP_container.IMP_CONTAINER_SwigPyIterator_copy(self)
100 
101  def next(self):
102  r"""next(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
103  return _IMP_container.IMP_CONTAINER_SwigPyIterator_next(self)
104 
105  def __next__(self):
106  r"""__next__(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
107  return _IMP_container.IMP_CONTAINER_SwigPyIterator___next__(self)
108 
109  def previous(self):
110  r"""previous(IMP_CONTAINER_SwigPyIterator self) -> PyObject *"""
111  return _IMP_container.IMP_CONTAINER_SwigPyIterator_previous(self)
112 
113  def advance(self, n):
114  r"""advance(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
115  return _IMP_container.IMP_CONTAINER_SwigPyIterator_advance(self, n)
116 
117  def __eq__(self, x):
118  r"""__eq__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
119  return _IMP_container.IMP_CONTAINER_SwigPyIterator___eq__(self, x)
120 
121  def __ne__(self, x):
122  r"""__ne__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> bool"""
123  return _IMP_container.IMP_CONTAINER_SwigPyIterator___ne__(self, x)
124 
125  def __iadd__(self, n):
126  r"""__iadd__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
127  return _IMP_container.IMP_CONTAINER_SwigPyIterator___iadd__(self, n)
128 
129  def __isub__(self, n):
130  r"""__isub__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
131  return _IMP_container.IMP_CONTAINER_SwigPyIterator___isub__(self, n)
132 
133  def __add__(self, n):
134  r"""__add__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator"""
135  return _IMP_container.IMP_CONTAINER_SwigPyIterator___add__(self, n)
136 
137  def __sub__(self, *args):
138  r"""
139  __sub__(IMP_CONTAINER_SwigPyIterator self, ptrdiff_t n) -> IMP_CONTAINER_SwigPyIterator
140  __sub__(IMP_CONTAINER_SwigPyIterator self, IMP_CONTAINER_SwigPyIterator x) -> ptrdiff_t
141  """
142  return _IMP_container.IMP_CONTAINER_SwigPyIterator___sub__(self, *args)
143  def __iter__(self):
144  return self
145 
146 # Register IMP_CONTAINER_SwigPyIterator in _IMP_container:
147 _IMP_container.IMP_CONTAINER_SwigPyIterator_swigregister(IMP_CONTAINER_SwigPyIterator)
148 
149 _value_types=[]
150 _object_types=[]
151 _raii_types=[]
152 _plural_types=[]
153 
154 IMP_DEBUG = _IMP_container.IMP_DEBUG
155 
156 IMP_RELEASE = _IMP_container.IMP_RELEASE
157 
158 IMP_SILENT = _IMP_container.IMP_SILENT
159 
160 IMP_PROGRESS = _IMP_container.IMP_PROGRESS
161 
162 IMP_TERSE = _IMP_container.IMP_TERSE
163 
164 IMP_VERBOSE = _IMP_container.IMP_VERBOSE
165 
166 IMP_MEMORY = _IMP_container.IMP_MEMORY
167 
168 IMP_NONE = _IMP_container.IMP_NONE
169 
170 IMP_USAGE = _IMP_container.IMP_USAGE
171 
172 IMP_INTERNAL = _IMP_container.IMP_INTERNAL
173 
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_container.IMP_KERNEL_HAS_LOG4CXX
175 
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_container.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_container.IMP_COMPILER_HAS_DEBUG_VECTOR
179 
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_container.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_container.IMP_COMPILER_HAS_THREE_WAY
183 
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_container.IMP_KERNEL_HAS_BOOST_RANDOM
185 
186 IMP_KERNEL_HAS_NUMPY = _IMP_container.IMP_KERNEL_HAS_NUMPY
187 
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_container.IMP_KERNEL_HAS_GPERFTOOLS
189 
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_container.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
191 
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_container.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
193 
194 IMPKERNEL_SHOW_WARNINGS = _IMP_container.IMPKERNEL_SHOW_WARNINGS
195 
196 
197 import sys
198 class _DirectorObjects(object):
199  """@internal Simple class to keep references to director objects
200  to prevent premature deletion."""
201  def __init__(self):
202  self._objects = []
203  def register(self, obj):
204  """Take a reference to a director object; will only work for
205  refcounted C++ classes"""
206  if hasattr(obj, 'get_ref_count'):
207  self._objects.append(obj)
208  def cleanup(self):
209  """Only drop our reference and allow cleanup by Python if no other
210  Python references exist (we hold 3 references: one in self._objects,
211  one in x, and one in the argument list for getrefcount) *and* no
212  other C++ references exist (the Python object always holds one)"""
213  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
214  or x.get_ref_count() > 1]
215 # Do in two steps so the references are kept until the end of the
216 # function (deleting references may trigger a fresh call to this method)
217  self._objects = objs
218  def get_object_count(self):
219  """Get number of director objects (useful for testing only)"""
220  return len(self._objects)
221 _director_objects = _DirectorObjects()
222 
223 class _ostream(object):
224  r"""Proxy of C++ std::ostream class."""
225 
226  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
227 
228  def __init__(self, *args, **kwargs):
229  raise AttributeError("No constructor defined")
230  __repr__ = _swig_repr
231 
232  def write(self, osa_buf):
233  r"""write(_ostream self, char const * osa_buf)"""
234  return _IMP_container._ostream_write(self, osa_buf)
235 
236 # Register _ostream in _IMP_container:
237 _IMP_container._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_container.IMP_C_OPEN_BINARY
239 
240 import IMP
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CGAL_HAS_BOOST_FILESYSTEM
242 
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
244 
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_container.IMP_CGAL_HAS_BOOST_RANDOM
246 
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_container.IMP_CGAL_HAS_BOOST_SYSTEM
248 
249 IMP_CGAL_HAS_NUMPY = _IMP_container.IMP_CGAL_HAS_NUMPY
250 
251 IMPCGAL_SHOW_WARNINGS = _IMP_container.IMPCGAL_SHOW_WARNINGS
252 
253 import IMP.cgal
254 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_container.IMP_ALGEBRA_HAS_IMP_CGAL
255 
256 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 
258 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 
260 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 
262 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_container.IMP_ALGEBRA_HAS_BOOST_SYSTEM
263 
264 IMP_ALGEBRA_HAS_CGAL = _IMP_container.IMP_ALGEBRA_HAS_CGAL
265 
266 IMP_ALGEBRA_HAS_NUMPY = _IMP_container.IMP_ALGEBRA_HAS_NUMPY
267 
268 IMP_ALGEBRA_HAS_ANN = _IMP_container.IMP_ALGEBRA_HAS_ANN
269 
270 IMPALGEBRA_SHOW_WARNINGS = _IMP_container.IMPALGEBRA_SHOW_WARNINGS
271 
272 import IMP.algebra
273 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_container.IMP_DISPLAY_HAS_IMP_CGAL
274 
275 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
276 
277 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
278 
279 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_container.IMP_DISPLAY_HAS_BOOST_RANDOM
280 
281 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_container.IMP_DISPLAY_HAS_BOOST_SYSTEM
282 
283 IMP_DISPLAY_HAS_CGAL = _IMP_container.IMP_DISPLAY_HAS_CGAL
284 
285 IMP_DISPLAY_HAS_NUMPY = _IMP_container.IMP_DISPLAY_HAS_NUMPY
286 
287 IMPDISPLAY_SHOW_WARNINGS = _IMP_container.IMPDISPLAY_SHOW_WARNINGS
288 
289 import IMP.display
290 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_container.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
291 
292 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
293 
294 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
295 
296 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
297 
298 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_container.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
299 
300 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_container.IMP_SCORE_FUNCTOR_HAS_CGAL
301 
302 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_container.IMP_SCORE_FUNCTOR_HAS_HDF5
303 
304 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_container.IMP_SCORE_FUNCTOR_HAS_NUMPY
305 
306 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_container.IMPSCOREFUNCTOR_SHOW_WARNINGS
307 
308 import IMP.score_functor
309 IMP_CORE_HAS_IMP_CGAL = _IMP_container.IMP_CORE_HAS_IMP_CGAL
310 
311 IMP_CORE_HAS_IMP_KERNEL = _IMP_container.IMP_CORE_HAS_IMP_KERNEL
312 
313 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CORE_HAS_BOOST_FILESYSTEM
314 
315 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
316 
317 IMP_CORE_HAS_BOOST_RANDOM = _IMP_container.IMP_CORE_HAS_BOOST_RANDOM
318 
319 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_container.IMP_CORE_HAS_BOOST_SYSTEM
320 
321 IMP_CORE_HAS_CGAL = _IMP_container.IMP_CORE_HAS_CGAL
322 
323 IMP_CORE_HAS_HDF5 = _IMP_container.IMP_CORE_HAS_HDF5
324 
325 IMP_CORE_HAS_NUMPY = _IMP_container.IMP_CORE_HAS_NUMPY
326 
327 IMPCORE_SHOW_WARNINGS = _IMP_container.IMPCORE_SHOW_WARNINGS
328 
329 import IMP.core
330 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_container.IMP_CONTAINER_HAS_IMP_ALGEBRA
331 
332 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_container.IMP_CONTAINER_HAS_IMP_CGAL
333 
334 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_container.IMP_CONTAINER_HAS_IMP_DISPLAY
335 
336 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_container.IMP_CONTAINER_HAS_IMP_KERNEL
337 
338 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_container.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
339 
340 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_container.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
341 
342 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_container.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
343 
344 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_container.IMP_CONTAINER_HAS_BOOST_RANDOM
345 
346 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_container.IMP_CONTAINER_HAS_BOOST_SYSTEM
347 
348 IMP_CONTAINER_HAS_CGAL = _IMP_container.IMP_CONTAINER_HAS_CGAL
349 
350 IMP_CONTAINER_HAS_HDF5 = _IMP_container.IMP_CONTAINER_HAS_HDF5
351 
352 IMP_CONTAINER_HAS_NUMPY = _IMP_container.IMP_CONTAINER_HAS_NUMPY
353 
354 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_container.IMP_CONTAINER_HAS_PYTHON_IHM
355 
356 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_container.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
357 
358 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_container.IMP_CONTAINER_HAS_ROBIN_MAP
359 
360 IMPCONTAINER_SHOW_WARNINGS = _IMP_container.IMPCONTAINER_SHOW_WARNINGS
361 
362 
363 _object_types.append("AllBipartitePairContainer")
364 
365 
366 def _object_cast_to_AllBipartitePairContainer(o):
367  r"""_object_cast_to_AllBipartitePairContainer(Object o) -> AllBipartitePairContainer"""
368  return _IMP_container._object_cast_to_AllBipartitePairContainer(o)
369 
370 _object_types.append("AllPairContainer")
371 
372 
373 def _object_cast_to_AllPairContainer(o):
374  r"""_object_cast_to_AllPairContainer(Object o) -> AllPairContainer"""
375  return _IMP_container._object_cast_to_AllPairContainer(o)
376 
377 _object_types.append("CloseBipartitePairContainer")
378 
379 
380 def _object_cast_to_CloseBipartitePairContainer(o):
381  r"""_object_cast_to_CloseBipartitePairContainer(Object o) -> CloseBipartitePairContainer"""
382  return _IMP_container._object_cast_to_CloseBipartitePairContainer(o)
383 
384 _object_types.append("ClosePairContainer")
385 
386 
387 def _object_cast_to_ClosePairContainer(o):
388  r"""_object_cast_to_ClosePairContainer(Object o) -> ClosePairContainer"""
389  return _IMP_container._object_cast_to_ClosePairContainer(o)
390 
391 _object_types.append("ConnectingPairContainer")
392 
393 
394 def _object_cast_to_ConnectingPairContainer(o):
395  r"""_object_cast_to_ConnectingPairContainer(Object o) -> ConnectingPairContainer"""
396  return _IMP_container._object_cast_to_ConnectingPairContainer(o)
397 
398 _object_types.append("ConsecutivePairContainer")
399 
400 
401 def _object_cast_to_ConsecutivePairContainer(o):
402  r"""_object_cast_to_ConsecutivePairContainer(Object o) -> ConsecutivePairContainer"""
403  return _IMP_container._object_cast_to_ConsecutivePairContainer(o)
404 
405 _object_types.append("ExclusiveConsecutivePairContainer")
406 
407 
408 def _object_cast_to_ExclusiveConsecutivePairContainer(o):
409  r"""_object_cast_to_ExclusiveConsecutivePairContainer(Object o) -> ExclusiveConsecutivePairContainer"""
410  return _IMP_container._object_cast_to_ExclusiveConsecutivePairContainer(o)
411 
412 _object_types.append("ExclusiveConsecutivePairFilter")
413 
414 
415 def _object_cast_to_ExclusiveConsecutivePairFilter(o):
416  r"""_object_cast_to_ExclusiveConsecutivePairFilter(Object o) -> ExclusiveConsecutivePairFilter"""
417  return _IMP_container._object_cast_to_ExclusiveConsecutivePairFilter(o)
418 
419 _object_types.append("ConsecutivePairFilter")
420 
421 
422 def _object_cast_to_ConsecutivePairFilter(o):
423  r"""_object_cast_to_ConsecutivePairFilter(Object o) -> ConsecutivePairFilter"""
424  return _IMP_container._object_cast_to_ConsecutivePairFilter(o)
425 
426 _object_types.append("ListPairContainer")
427 
428 
429 def _object_cast_to_ListPairContainer(o):
430  r"""_object_cast_to_ListPairContainer(Object o) -> ListPairContainer"""
431  return _IMP_container._object_cast_to_ListPairContainer(o)
432 
433 _object_types.append("ListQuadContainer")
434 
435 
436 def _object_cast_to_ListQuadContainer(o):
437  r"""_object_cast_to_ListQuadContainer(Object o) -> ListQuadContainer"""
438  return _IMP_container._object_cast_to_ListQuadContainer(o)
439 
440 _object_types.append("ListSingletonContainer")
441 
442 
443 def _object_cast_to_ListSingletonContainer(o):
444  r"""_object_cast_to_ListSingletonContainer(Object o) -> ListSingletonContainer"""
445  return _IMP_container._object_cast_to_ListSingletonContainer(o)
446 
447 _object_types.append("ListTripletContainer")
448 
449 
450 def _object_cast_to_ListTripletContainer(o):
451  r"""_object_cast_to_ListTripletContainer(Object o) -> ListTripletContainer"""
452  return _IMP_container._object_cast_to_ListTripletContainer(o)
453 
454 _object_types.append("DynamicListPairContainer")
455 
456 
457 def _object_cast_to_DynamicListPairContainer(o):
458  r"""_object_cast_to_DynamicListPairContainer(Object o) -> DynamicListPairContainer"""
459  return _IMP_container._object_cast_to_DynamicListPairContainer(o)
460 
461 _object_types.append("DynamicListQuadContainer")
462 
463 
464 def _object_cast_to_DynamicListQuadContainer(o):
465  r"""_object_cast_to_DynamicListQuadContainer(Object o) -> DynamicListQuadContainer"""
466  return _IMP_container._object_cast_to_DynamicListQuadContainer(o)
467 
468 _object_types.append("DynamicListSingletonContainer")
469 
470 
471 def _object_cast_to_DynamicListSingletonContainer(o):
472  r"""_object_cast_to_DynamicListSingletonContainer(Object o) -> DynamicListSingletonContainer"""
473  return _IMP_container._object_cast_to_DynamicListSingletonContainer(o)
474 
475 _object_types.append("DynamicListTripletContainer")
476 
477 
478 def _object_cast_to_DynamicListTripletContainer(o):
479  r"""_object_cast_to_DynamicListTripletContainer(Object o) -> DynamicListTripletContainer"""
480  return _IMP_container._object_cast_to_DynamicListTripletContainer(o)
481 
482 _object_types.append("MinimumPairRestraint")
483 
484 
485 def _object_cast_to_MinimumPairRestraint(o):
486  r"""_object_cast_to_MinimumPairRestraint(Object o) -> MinimumPairRestraint"""
487  return _IMP_container._object_cast_to_MinimumPairRestraint(o)
488 
489 _object_types.append("MinimumPairScore")
490 
491 
492 def _object_cast_to_MinimumPairScore(o):
493  r"""_object_cast_to_MinimumPairScore(Object o) -> MinimumPairScore"""
494  return _IMP_container._object_cast_to_MinimumPairScore(o)
495 
496 _object_types.append("MinimumQuadRestraint")
497 
498 
499 def _object_cast_to_MinimumQuadRestraint(o):
500  r"""_object_cast_to_MinimumQuadRestraint(Object o) -> MinimumQuadRestraint"""
501  return _IMP_container._object_cast_to_MinimumQuadRestraint(o)
502 
503 _object_types.append("MinimumQuadScore")
504 
505 
506 def _object_cast_to_MinimumQuadScore(o):
507  r"""_object_cast_to_MinimumQuadScore(Object o) -> MinimumQuadScore"""
508  return _IMP_container._object_cast_to_MinimumQuadScore(o)
509 
510 _object_types.append("MinimumSingletonRestraint")
511 
512 
513 def _object_cast_to_MinimumSingletonRestraint(o):
514  r"""_object_cast_to_MinimumSingletonRestraint(Object o) -> MinimumSingletonRestraint"""
515  return _IMP_container._object_cast_to_MinimumSingletonRestraint(o)
516 
517 _object_types.append("MinimumSingletonScore")
518 
519 
520 def _object_cast_to_MinimumSingletonScore(o):
521  r"""_object_cast_to_MinimumSingletonScore(Object o) -> MinimumSingletonScore"""
522  return _IMP_container._object_cast_to_MinimumSingletonScore(o)
523 
524 _object_types.append("MinimumTripletRestraint")
525 
526 
527 def _object_cast_to_MinimumTripletRestraint(o):
528  r"""_object_cast_to_MinimumTripletRestraint(Object o) -> MinimumTripletRestraint"""
529  return _IMP_container._object_cast_to_MinimumTripletRestraint(o)
530 
531 _object_types.append("MinimumTripletScore")
532 
533 
534 def _object_cast_to_MinimumTripletScore(o):
535  r"""_object_cast_to_MinimumTripletScore(Object o) -> MinimumTripletScore"""
536  return _IMP_container._object_cast_to_MinimumTripletScore(o)
537 
538 _object_types.append("PairContainerSet")
539 
540 
541 def _object_cast_to_PairContainerSet(o):
542  r"""_object_cast_to_PairContainerSet(Object o) -> PairContainerSet"""
543  return _IMP_container._object_cast_to_PairContainerSet(o)
544 
545 _object_types.append("PairsConstraint")
546 
547 
548 def _object_cast_to_PairsConstraint(o):
549  r"""_object_cast_to_PairsConstraint(Object o) -> PairsConstraint"""
550  return _IMP_container._object_cast_to_PairsConstraint(o)
551 
552 _object_types.append("PairsOptimizerState")
553 
554 
555 def _object_cast_to_PairsOptimizerState(o):
556  r"""_object_cast_to_PairsOptimizerState(Object o) -> PairsOptimizerState"""
557  return _IMP_container._object_cast_to_PairsOptimizerState(o)
558 
559 _object_types.append("PairsRestraint")
560 
561 
562 def _object_cast_to_PairsRestraint(o):
563  r"""_object_cast_to_PairsRestraint(Object o) -> PairsRestraint"""
564  return _IMP_container._object_cast_to_PairsRestraint(o)
565 
566 _object_types.append("QuadContainerSet")
567 
568 
569 def _object_cast_to_QuadContainerSet(o):
570  r"""_object_cast_to_QuadContainerSet(Object o) -> QuadContainerSet"""
571  return _IMP_container._object_cast_to_QuadContainerSet(o)
572 
573 _object_types.append("QuadsConstraint")
574 
575 
576 def _object_cast_to_QuadsConstraint(o):
577  r"""_object_cast_to_QuadsConstraint(Object o) -> QuadsConstraint"""
578  return _IMP_container._object_cast_to_QuadsConstraint(o)
579 
580 _object_types.append("QuadsOptimizerState")
581 
582 
583 def _object_cast_to_QuadsOptimizerState(o):
584  r"""_object_cast_to_QuadsOptimizerState(Object o) -> QuadsOptimizerState"""
585  return _IMP_container._object_cast_to_QuadsOptimizerState(o)
586 
587 _object_types.append("QuadsRestraint")
588 
589 
590 def _object_cast_to_QuadsRestraint(o):
591  r"""_object_cast_to_QuadsRestraint(Object o) -> QuadsRestraint"""
592  return _IMP_container._object_cast_to_QuadsRestraint(o)
593 
594 _object_types.append("SingletonContainerSet")
595 
596 
597 def _object_cast_to_SingletonContainerSet(o):
598  r"""_object_cast_to_SingletonContainerSet(Object o) -> SingletonContainerSet"""
599  return _IMP_container._object_cast_to_SingletonContainerSet(o)
600 
601 _object_types.append("SingletonsConstraint")
602 
603 
604 def _object_cast_to_SingletonsConstraint(o):
605  r"""_object_cast_to_SingletonsConstraint(Object o) -> SingletonsConstraint"""
606  return _IMP_container._object_cast_to_SingletonsConstraint(o)
607 
608 _object_types.append("SingletonsOptimizerState")
609 
610 
611 def _object_cast_to_SingletonsOptimizerState(o):
612  r"""_object_cast_to_SingletonsOptimizerState(Object o) -> SingletonsOptimizerState"""
613  return _IMP_container._object_cast_to_SingletonsOptimizerState(o)
614 
615 _object_types.append("SingletonsRestraint")
616 
617 
618 def _object_cast_to_SingletonsRestraint(o):
619  r"""_object_cast_to_SingletonsRestraint(Object o) -> SingletonsRestraint"""
620  return _IMP_container._object_cast_to_SingletonsRestraint(o)
621 
622 _object_types.append("TripletContainerSet")
623 
624 
625 def _object_cast_to_TripletContainerSet(o):
626  r"""_object_cast_to_TripletContainerSet(Object o) -> TripletContainerSet"""
627  return _IMP_container._object_cast_to_TripletContainerSet(o)
628 
629 _object_types.append("TripletsConstraint")
630 
631 
632 def _object_cast_to_TripletsConstraint(o):
633  r"""_object_cast_to_TripletsConstraint(Object o) -> TripletsConstraint"""
634  return _IMP_container._object_cast_to_TripletsConstraint(o)
635 
636 _object_types.append("TripletsOptimizerState")
637 
638 
639 def _object_cast_to_TripletsOptimizerState(o):
640  r"""_object_cast_to_TripletsOptimizerState(Object o) -> TripletsOptimizerState"""
641  return _IMP_container._object_cast_to_TripletsOptimizerState(o)
642 
643 _object_types.append("TripletsRestraint")
644 
645 
646 def _object_cast_to_TripletsRestraint(o):
647  r"""_object_cast_to_TripletsRestraint(Object o) -> TripletsRestraint"""
648  return _IMP_container._object_cast_to_TripletsRestraint(o)
649 
650 _object_types.append("InContainerSingletonFilter")
651 
652 
653 def _object_cast_to_InContainerSingletonFilter(o):
654  r"""_object_cast_to_InContainerSingletonFilter(Object o) -> InContainerSingletonFilter"""
655  return _IMP_container._object_cast_to_InContainerSingletonFilter(o)
656 
657 _object_types.append("InContainerPairFilter")
658 
659 
660 def _object_cast_to_InContainerPairFilter(o):
661  r"""_object_cast_to_InContainerPairFilter(Object o) -> InContainerPairFilter"""
662  return _IMP_container._object_cast_to_InContainerPairFilter(o)
663 
664 _object_types.append("InContainerTripletFilter")
665 
666 
667 def _object_cast_to_InContainerTripletFilter(o):
668  r"""_object_cast_to_InContainerTripletFilter(Object o) -> InContainerTripletFilter"""
669  return _IMP_container._object_cast_to_InContainerTripletFilter(o)
670 
671 _object_types.append("InContainerQuadFilter")
672 
673 
674 def _object_cast_to_InContainerQuadFilter(o):
675  r"""_object_cast_to_InContainerQuadFilter(Object o) -> InContainerQuadFilter"""
676  return _IMP_container._object_cast_to_InContainerQuadFilter(o)
677 
678 _object_types.append("SingletonContainerStatistics")
679 
680 
681 def _object_cast_to_SingletonContainerStatistics(o):
682  r"""_object_cast_to_SingletonContainerStatistics(Object o) -> SingletonContainerStatistics"""
683  return _IMP_container._object_cast_to_SingletonContainerStatistics(o)
684 
685 _object_types.append("PairContainerStatistics")
686 
687 
688 def _object_cast_to_PairContainerStatistics(o):
689  r"""_object_cast_to_PairContainerStatistics(Object o) -> PairContainerStatistics"""
690  return _IMP_container._object_cast_to_PairContainerStatistics(o)
691 
692 _object_types.append("TripletContainerStatistics")
693 
694 
695 def _object_cast_to_TripletContainerStatistics(o):
696  r"""_object_cast_to_TripletContainerStatistics(Object o) -> TripletContainerStatistics"""
697  return _IMP_container._object_cast_to_TripletContainerStatistics(o)
698 
699 _object_types.append("QuadContainerStatistics")
700 
701 
702 def _object_cast_to_QuadContainerStatistics(o):
703  r"""_object_cast_to_QuadContainerStatistics(Object o) -> QuadContainerStatistics"""
704  return _IMP_container._object_cast_to_QuadContainerStatistics(o)
705 
706 _object_types.append("EventSingletonsOptimizerState")
707 
708 
709 def _object_cast_to_EventSingletonsOptimizerState(o):
710  r"""_object_cast_to_EventSingletonsOptimizerState(Object o) -> EventSingletonsOptimizerState"""
711  return _IMP_container._object_cast_to_EventSingletonsOptimizerState(o)
712 
713 _object_types.append("EventPairsOptimizerState")
714 
715 
716 def _object_cast_to_EventPairsOptimizerState(o):
717  r"""_object_cast_to_EventPairsOptimizerState(Object o) -> EventPairsOptimizerState"""
718  return _IMP_container._object_cast_to_EventPairsOptimizerState(o)
719 
720 _object_types.append("EventTripletsOptimizerState")
721 
722 
723 def _object_cast_to_EventTripletsOptimizerState(o):
724  r"""_object_cast_to_EventTripletsOptimizerState(Object o) -> EventTripletsOptimizerState"""
725  return _IMP_container._object_cast_to_EventTripletsOptimizerState(o)
726 
727 _object_types.append("EventQuadsOptimizerState")
728 
729 
730 def _object_cast_to_EventQuadsOptimizerState(o):
731  r"""_object_cast_to_EventQuadsOptimizerState(Object o) -> EventQuadsOptimizerState"""
732  return _IMP_container._object_cast_to_EventQuadsOptimizerState(o)
733 
734 _object_types.append("PredicateSingletonsRestraint")
735 
736 
737 def _object_cast_to_PredicateSingletonsRestraint(o):
738  r"""_object_cast_to_PredicateSingletonsRestraint(Object o) -> PredicateSingletonsRestraint"""
739  return _IMP_container._object_cast_to_PredicateSingletonsRestraint(o)
740 
741 _object_types.append("PredicatePairsRestraint")
742 
743 
744 def _object_cast_to_PredicatePairsRestraint(o):
745  r"""_object_cast_to_PredicatePairsRestraint(Object o) -> PredicatePairsRestraint"""
746  return _IMP_container._object_cast_to_PredicatePairsRestraint(o)
747 
748 _object_types.append("PredicateTripletsRestraint")
749 
750 
751 def _object_cast_to_PredicateTripletsRestraint(o):
752  r"""_object_cast_to_PredicateTripletsRestraint(Object o) -> PredicateTripletsRestraint"""
753  return _IMP_container._object_cast_to_PredicateTripletsRestraint(o)
754 
755 _object_types.append("PredicateQuadsRestraint")
756 
757 
758 def _object_cast_to_PredicateQuadsRestraint(o):
759  r"""_object_cast_to_PredicateQuadsRestraint(Object o) -> PredicateQuadsRestraint"""
760  return _IMP_container._object_cast_to_PredicateQuadsRestraint(o)
761 
762 _object_types.append("DistributeSingletonsScoreState")
763 
764 
765 def _object_cast_to_DistributeSingletonsScoreState(o):
766  r"""_object_cast_to_DistributeSingletonsScoreState(Object o) -> DistributeSingletonsScoreState"""
767  return _IMP_container._object_cast_to_DistributeSingletonsScoreState(o)
768 
769 _object_types.append("DistributePairsScoreState")
770 
771 
772 def _object_cast_to_DistributePairsScoreState(o):
773  r"""_object_cast_to_DistributePairsScoreState(Object o) -> DistributePairsScoreState"""
774  return _IMP_container._object_cast_to_DistributePairsScoreState(o)
775 
776 _object_types.append("DistributeTripletsScoreState")
777 
778 
779 def _object_cast_to_DistributeTripletsScoreState(o):
780  r"""_object_cast_to_DistributeTripletsScoreState(Object o) -> DistributeTripletsScoreState"""
781  return _IMP_container._object_cast_to_DistributeTripletsScoreState(o)
782 
783 _object_types.append("DistributeQuadsScoreState")
784 
785 
786 def _object_cast_to_DistributeQuadsScoreState(o):
787  r"""_object_cast_to_DistributeQuadsScoreState(Object o) -> DistributeQuadsScoreState"""
788  return _IMP_container._object_cast_to_DistributeQuadsScoreState(o)
789 class AllBipartitePairContainer(IMP.PairContainer):
790  r"""Proxy of C++ IMP::container::AllBipartitePairContainer class."""
791 
792  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
793 
794  def __init__(self, *args):
795  r"""__init__(AllBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, std::string name="AllBipartitePairContainer%1%") -> AllBipartitePairContainer"""
796  _IMP_container.AllBipartitePairContainer_swiginit(self, _IMP_container.new_AllBipartitePairContainer(*args))
797 
798  def do_get_inputs(self):
799  r"""do_get_inputs(AllBipartitePairContainer self) -> IMP::ModelObjectsTemp"""
800  return _IMP_container.AllBipartitePairContainer_do_get_inputs(self)
801 
802  def do_apply(self, sm):
803  r"""do_apply(AllBipartitePairContainer self, PairModifier sm)"""
804  return _IMP_container.AllBipartitePairContainer_do_apply(self, sm)
805 
806  def do_apply_moved(self, sm, moved_pis, reset_pis):
807  r"""do_apply_moved(AllBipartitePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
808  return _IMP_container.AllBipartitePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
809 
810  def get_version_info(self):
811  r"""get_version_info(AllBipartitePairContainer self) -> VersionInfo"""
812  return _IMP_container.AllBipartitePairContainer_get_version_info(self)
813  __swig_destroy__ = _IMP_container.delete_AllBipartitePairContainer
814 
815  def __str__(self):
816  r"""__str__(AllBipartitePairContainer self) -> std::string"""
817  return _IMP_container.AllBipartitePairContainer___str__(self)
818 
819  def __repr__(self):
820  r"""__repr__(AllBipartitePairContainer self) -> std::string"""
821  return _IMP_container.AllBipartitePairContainer___repr__(self)
822 
823  @staticmethod
824  def get_from(o):
825  return _object_cast_to_AllBipartitePairContainer(o)
826 
827 
828 # Register AllBipartitePairContainer in _IMP_container:
829 _IMP_container.AllBipartitePairContainer_swigregister(AllBipartitePairContainer)
830 class AllPairContainer(IMP.PairContainer):
831  r"""Proxy of C++ IMP::container::AllPairContainer class."""
832 
833  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
834 
835  def __init__(self, *args):
836  r"""__init__(AllPairContainer self, _SingletonContainerAdaptor c, std::string name="AllPairContainer%1%") -> AllPairContainer"""
837  _IMP_container.AllPairContainer_swiginit(self, _IMP_container.new_AllPairContainer(*args))
838 
839  def do_get_inputs(self):
840  r"""do_get_inputs(AllPairContainer self) -> IMP::ModelObjectsTemp"""
841  return _IMP_container.AllPairContainer_do_get_inputs(self)
842 
843  def do_apply(self, sm):
844  r"""do_apply(AllPairContainer self, PairModifier sm)"""
845  return _IMP_container.AllPairContainer_do_apply(self, sm)
846 
847  def do_apply_moved(self, sm, moved_pis, reset_pis):
848  r"""do_apply_moved(AllPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
849  return _IMP_container.AllPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
850 
851  def get_version_info(self):
852  r"""get_version_info(AllPairContainer self) -> VersionInfo"""
853  return _IMP_container.AllPairContainer_get_version_info(self)
854  __swig_destroy__ = _IMP_container.delete_AllPairContainer
855 
856  def __str__(self):
857  r"""__str__(AllPairContainer self) -> std::string"""
858  return _IMP_container.AllPairContainer___str__(self)
859 
860  def __repr__(self):
861  r"""__repr__(AllPairContainer self) -> std::string"""
862  return _IMP_container.AllPairContainer___repr__(self)
863 
864  @staticmethod
865  def get_from(o):
866  return _object_cast_to_AllPairContainer(o)
867 
868 
869 # Register AllPairContainer in _IMP_container:
870 _IMP_container.AllPairContainer_swigregister(AllPairContainer)
871 class CloseBipartitePairContainer(IMP.PairContainer):
872  r"""Proxy of C++ IMP::container::CloseBipartitePairContainer class."""
873 
874  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
875 
876  def __init__(self, *args):
877  r"""
878  __init__(CloseBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, double distance, double slack=1, std::string name="CloseBipartitePairContainer%1%") -> CloseBipartitePairContainer
879  __init__(CloseBipartitePairContainer self, _SingletonContainerAdaptor a, _SingletonContainerAdaptor b, double distance, ClosePairsFinder cpf, double slack=1, std::string name="CloseBipartitePairContainer%1%") -> CloseBipartitePairContainer
880  """
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")
886 
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)
890 
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)
894 
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)
898 
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)
902 
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)
906 
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)
910 
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)
914 
915  def clear_pair_filters(self):
916  r"""clear_pair_filters(CloseBipartitePairContainer self)"""
917  return _IMP_container.CloseBipartitePairContainer_clear_pair_filters(self)
918 
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)
922 
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)
926 
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)
930 
931  def get_pair_filters(self):
932  r"""get_pair_filters(CloseBipartitePairContainer self) -> IMP::PairPredicates"""
933  return _IMP_container.CloseBipartitePairContainer_get_pair_filters(self)
934 
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)
938 
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)
942 
943  def do_get_inputs(self):
944  r"""do_get_inputs(CloseBipartitePairContainer self) -> IMP::ModelObjectsTemp"""
945  return _IMP_container.CloseBipartitePairContainer_do_get_inputs(self)
946 
947  def do_apply(self, sm):
948  r"""do_apply(CloseBipartitePairContainer self, PairModifier sm)"""
949  return _IMP_container.CloseBipartitePairContainer_do_apply(self, sm)
950 
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
955 
956  def __str__(self):
957  r"""__str__(CloseBipartitePairContainer self) -> std::string"""
958  return _IMP_container.CloseBipartitePairContainer___str__(self)
959 
960  def __repr__(self):
961  r"""__repr__(CloseBipartitePairContainer self) -> std::string"""
962  return _IMP_container.CloseBipartitePairContainer___repr__(self)
963 
964  @staticmethod
965  def get_from(o):
966  return _object_cast_to_CloseBipartitePairContainer(o)
967 
968 
969 # Register CloseBipartitePairContainer in _IMP_container:
970 _IMP_container.CloseBipartitePairContainer_swigregister(CloseBipartitePairContainer)
971 class ClosePairContainer(IMP.PairContainer):
972  r"""Proxy of C++ IMP::container::ClosePairContainer class."""
973 
974  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
975 
976  def __init__(self, *args):
977  r"""
978  __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
979  __init__(ClosePairContainer self, _SingletonContainerAdaptor c, double distance_cutoff, ClosePairsFinder cpf, double slack=1, std::string name="ClosePairContainer%1%") -> ClosePairContainer
980  __init__(ClosePairContainer self) -> ClosePairContainer
981  """
982  _IMP_container.ClosePairContainer_swiginit(self, _IMP_container.new_ClosePairContainer(*args))
983  def __get_pair_filters(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_filters, getfunc=self.get_pair_filter, erasefunc=self.erase_pair_filter, appendfunc=self.add_pair_filter, extendfunc=self.add_pair_filters, clearfunc=self.clear_pair_filters, indexfunc=self._python_index_pair_filter)
984  def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
985  def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
986  pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc="List of ##ucnames")
987 
988  def remove_pair_filter(self, d):
989  r"""remove_pair_filter(ClosePairContainer self, PairPredicate d)"""
990  return _IMP_container.ClosePairContainer_remove_pair_filter(self, d)
991 
992  def _python_index_pair_filter(self, d, start, stop):
993  r"""_python_index_pair_filter(ClosePairContainer self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
994  return _IMP_container.ClosePairContainer__python_index_pair_filter(self, d, start, stop)
995 
996  def remove_pair_filters(self, d):
997  r"""remove_pair_filters(ClosePairContainer self, IMP::PairPredicates const & d)"""
998  return _IMP_container.ClosePairContainer_remove_pair_filters(self, d)
999 
1000  def set_pair_filters(self, ps):
1001  r"""set_pair_filters(ClosePairContainer self, IMP::PairPredicates const & ps)"""
1002  return _IMP_container.ClosePairContainer_set_pair_filters(self, ps)
1003 
1004  def set_pair_filters_order(self, objs):
1005  r"""set_pair_filters_order(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1006  return _IMP_container.ClosePairContainer_set_pair_filters_order(self, objs)
1007 
1008  def add_pair_filter(self, obj):
1009  r"""add_pair_filter(ClosePairContainer self, PairPredicate obj) -> unsigned int"""
1010  return _IMP_container.ClosePairContainer_add_pair_filter(self, obj)
1011 
1012  def add_pair_filters(self, objs):
1013  r"""add_pair_filters(ClosePairContainer self, IMP::PairPredicates const & objs)"""
1014  return _IMP_container.ClosePairContainer_add_pair_filters(self, objs)
1015 
1016  def clear_pair_filters(self):
1017  r"""clear_pair_filters(ClosePairContainer self)"""
1018  return _IMP_container.ClosePairContainer_clear_pair_filters(self)
1019 
1020  def get_number_of_pair_filters(self):
1021  r"""get_number_of_pair_filters(ClosePairContainer self) -> unsigned int"""
1022  return _IMP_container.ClosePairContainer_get_number_of_pair_filters(self)
1023 
1024  def get_has_pair_filters(self):
1025  r"""get_has_pair_filters(ClosePairContainer self) -> bool"""
1026  return _IMP_container.ClosePairContainer_get_has_pair_filters(self)
1027 
1028  def get_pair_filter(self, i):
1029  r"""get_pair_filter(ClosePairContainer self, unsigned int i) -> PairPredicate"""
1030  return _IMP_container.ClosePairContainer_get_pair_filter(self, i)
1031 
1032  def get_pair_filters(self):
1033  r"""get_pair_filters(ClosePairContainer self) -> IMP::PairPredicates"""
1034  return _IMP_container.ClosePairContainer_get_pair_filters(self)
1035 
1036  def erase_pair_filter(self, i):
1037  r"""erase_pair_filter(ClosePairContainer self, unsigned int i)"""
1038  return _IMP_container.ClosePairContainer_erase_pair_filter(self, i)
1039 
1040  def reserve_pair_filters(self, sz):
1041  r"""reserve_pair_filters(ClosePairContainer self, unsigned int sz)"""
1042  return _IMP_container.ClosePairContainer_reserve_pair_filters(self, sz)
1043 
1044  def set_slack(self, s):
1045  r"""set_slack(ClosePairContainer self, double s)"""
1046  return _IMP_container.ClosePairContainer_set_slack(self, s)
1047 
1048  def get_slack(self):
1049  r"""get_slack(ClosePairContainer self) -> double"""
1050  return _IMP_container.ClosePairContainer_get_slack(self)
1051 
1052  def do_get_inputs(self):
1053  r"""do_get_inputs(ClosePairContainer self) -> IMP::ModelObjectsTemp"""
1054  return _IMP_container.ClosePairContainer_do_get_inputs(self)
1055 
1056  def do_apply(self, sm):
1057  r"""do_apply(ClosePairContainer self, PairModifier sm)"""
1058  return _IMP_container.ClosePairContainer_do_apply(self, sm)
1059 
1060  def get_number_of_update_calls(self):
1061  r"""get_number_of_update_calls(ClosePairContainer self) -> unsigned int"""
1062  return _IMP_container.ClosePairContainer_get_number_of_update_calls(self)
1063 
1064  def get_number_of_full_rebuilds(self):
1065  r"""get_number_of_full_rebuilds(ClosePairContainer self) -> unsigned int"""
1066  return _IMP_container.ClosePairContainer_get_number_of_full_rebuilds(self)
1067 
1068  def get_number_of_partial_rebuilds(self):
1069  r"""get_number_of_partial_rebuilds(ClosePairContainer self) -> unsigned int"""
1070  return _IMP_container.ClosePairContainer_get_number_of_partial_rebuilds(self)
1071 
1072  def get_version_info(self):
1073  r"""get_version_info(ClosePairContainer self) -> VersionInfo"""
1074  return _IMP_container.ClosePairContainer_get_version_info(self)
1075  __swig_destroy__ = _IMP_container.delete_ClosePairContainer
1076 
1077  def __str__(self):
1078  r"""__str__(ClosePairContainer self) -> std::string"""
1079  return _IMP_container.ClosePairContainer___str__(self)
1080 
1081  def __repr__(self):
1082  r"""__repr__(ClosePairContainer self) -> std::string"""
1083  return _IMP_container.ClosePairContainer___repr__(self)
1084 
1085  @staticmethod
1086  def get_from(o):
1087  return _object_cast_to_ClosePairContainer(o)
1088 
1089 
1090  def _get_as_binary(self):
1091  r"""_get_as_binary(ClosePairContainer self) -> PyObject *"""
1092  return _IMP_container.ClosePairContainer__get_as_binary(self)
1093 
1094  def _set_from_binary(self, p):
1095  r"""_set_from_binary(ClosePairContainer self, PyObject * p)"""
1096  return _IMP_container.ClosePairContainer__set_from_binary(self, p)
1097 
1098  def __getstate__(self):
1099  p = self._get_as_binary()
1100  if len(self.__dict__) > 1:
1101  d = self.__dict__.copy()
1102  del d['this']
1103  p = (d, p)
1104  return p
1105 
1106  def __setstate__(self, p):
1107  if not hasattr(self, 'this'):
1108  self.__init__()
1109  if isinstance(p, tuple):
1110  d, p = p
1111  self.__dict__.update(d)
1112  return self._set_from_binary(p)
1113 
1114 
1115 # Register ClosePairContainer in _IMP_container:
1116 _IMP_container.ClosePairContainer_swigregister(ClosePairContainer)
1117 
1118 def get_slack_estimate(m, ps, upper_bound, step, restraints, derivatives, opt, cpc):
1119  r"""get_slack_estimate(Model m, IMP::ParticleIndexes ps, double upper_bound, double step, IMP::RestraintsTemp const & restraints, bool derivatives, Optimizer opt, ClosePairContainer cpc) -> double"""
1120  return _IMP_container.get_slack_estimate(m, ps, upper_bound, step, restraints, derivatives, opt, cpc)
1121 class ConnectingPairContainer(IMP.PairContainer):
1122  r"""Proxy of C++ IMP::container::ConnectingPairContainer class."""
1123 
1124  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1125 
1126  def __init__(self, sc, error):
1127  r"""__init__(ConnectingPairContainer self, SingletonContainer sc, double error) -> ConnectingPairContainer"""
1128  _IMP_container.ConnectingPairContainer_swiginit(self, _IMP_container.new_ConnectingPairContainer(sc, error))
1129 
1130  def do_get_inputs(self):
1131  r"""do_get_inputs(ConnectingPairContainer self) -> IMP::ModelObjectsTemp"""
1132  return _IMP_container.ConnectingPairContainer_do_get_inputs(self)
1133 
1134  def do_apply(self, sm):
1135  r"""do_apply(ConnectingPairContainer self, PairModifier sm)"""
1136  return _IMP_container.ConnectingPairContainer_do_apply(self, sm)
1137 
1138  def get_version_info(self):
1139  r"""get_version_info(ConnectingPairContainer self) -> VersionInfo"""
1140  return _IMP_container.ConnectingPairContainer_get_version_info(self)
1141  __swig_destroy__ = _IMP_container.delete_ConnectingPairContainer
1142 
1143  def __str__(self):
1144  r"""__str__(ConnectingPairContainer self) -> std::string"""
1145  return _IMP_container.ConnectingPairContainer___str__(self)
1146 
1147  def __repr__(self):
1148  r"""__repr__(ConnectingPairContainer self) -> std::string"""
1149  return _IMP_container.ConnectingPairContainer___repr__(self)
1150 
1151  @staticmethod
1152  def get_from(o):
1153  return _object_cast_to_ConnectingPairContainer(o)
1154 
1155 
1156 # Register ConnectingPairContainer in _IMP_container:
1157 _IMP_container.ConnectingPairContainer_swigregister(ConnectingPairContainer)
1158 class ConsecutivePairContainer(IMP.PairContainer):
1159  r"""Proxy of C++ IMP::container::ConsecutivePairContainer class."""
1160 
1161  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1162 
1163  def __init__(self, *args):
1164  r"""__init__(ConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ConsecutivePairContainer%1%") -> ConsecutivePairContainer"""
1165  _IMP_container.ConsecutivePairContainer_swiginit(self, _IMP_container.new_ConsecutivePairContainer(*args))
1166 
1167  def do_get_inputs(self):
1168  r"""do_get_inputs(ConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1169  return _IMP_container.ConsecutivePairContainer_do_get_inputs(self)
1170 
1171  def do_apply(self, sm):
1172  r"""do_apply(ConsecutivePairContainer self, PairModifier sm)"""
1173  return _IMP_container.ConsecutivePairContainer_do_apply(self, sm)
1174 
1175  def do_apply_moved(self, sm, moved_pis, reset_pis):
1176  r"""do_apply_moved(ConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1177  return _IMP_container.ConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1178 
1179  def get_version_info(self):
1180  r"""get_version_info(ConsecutivePairContainer self) -> VersionInfo"""
1181  return _IMP_container.ConsecutivePairContainer_get_version_info(self)
1182  __swig_destroy__ = _IMP_container.delete_ConsecutivePairContainer
1183 
1184  def __str__(self):
1185  r"""__str__(ConsecutivePairContainer self) -> std::string"""
1186  return _IMP_container.ConsecutivePairContainer___str__(self)
1187 
1188  def __repr__(self):
1189  r"""__repr__(ConsecutivePairContainer self) -> std::string"""
1190  return _IMP_container.ConsecutivePairContainer___repr__(self)
1191 
1192  @staticmethod
1193  def get_from(o):
1194  return _object_cast_to_ConsecutivePairContainer(o)
1195 
1196 
1197 # Register ConsecutivePairContainer in _IMP_container:
1198 _IMP_container.ConsecutivePairContainer_swigregister(ConsecutivePairContainer)
1199 class ConsecutivePairFilter(IMP.PairPredicate):
1200  r"""Proxy of C++ IMP::container::ConsecutivePairFilter class."""
1201 
1202  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1203 
1204  def __init__(self, cpc):
1205  r"""__init__(ConsecutivePairFilter self, ConsecutivePairContainer cpc) -> ConsecutivePairFilter"""
1206  _IMP_container.ConsecutivePairFilter_swiginit(self, _IMP_container.new_ConsecutivePairFilter(cpc))
1207 
1208  def do_get_inputs(self, m, pi):
1209  r"""do_get_inputs(ConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1210  return _IMP_container.ConsecutivePairFilter_do_get_inputs(self, m, pi)
1211 
1212  def get_value(self, *args):
1213  r"""
1214  get_value(ConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1215  get_value(ConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1216  """
1217  return _IMP_container.ConsecutivePairFilter_get_value(self, *args)
1218 
1219  def get_value_index(self, *args):
1220  r"""
1221  get_value_index(ConsecutivePairFilter self, Model arg2, IMP::ParticleIndexPair const & pip) -> int
1222  get_value_index(ConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1223  """
1224  return _IMP_container.ConsecutivePairFilter_get_value_index(self, *args)
1225 
1226  def get_version_info(self):
1227  r"""get_version_info(ConsecutivePairFilter self) -> VersionInfo"""
1228  return _IMP_container.ConsecutivePairFilter_get_version_info(self)
1229  __swig_destroy__ = _IMP_container.delete_ConsecutivePairFilter
1230 
1231  def __str__(self):
1232  r"""__str__(ConsecutivePairFilter self) -> std::string"""
1233  return _IMP_container.ConsecutivePairFilter___str__(self)
1234 
1235  def __repr__(self):
1236  r"""__repr__(ConsecutivePairFilter self) -> std::string"""
1237  return _IMP_container.ConsecutivePairFilter___repr__(self)
1238 
1239  @staticmethod
1240  def get_from(o):
1241  return _object_cast_to_ConsecutivePairFilter(o)
1242 
1243 
1244 # Register ConsecutivePairFilter in _IMP_container:
1245 _IMP_container.ConsecutivePairFilter_swigregister(ConsecutivePairFilter)
1246 class ExclusiveConsecutivePairContainer(IMP.PairContainer):
1247  r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairContainer class."""
1248 
1249  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1250 
1251  def __init__(self, *args):
1252  r"""__init__(ExclusiveConsecutivePairContainer self, Model m, IMP::ParticleIndexes const & ps, std::string name="ExclusiveConsecutivePairContainer%1%") -> ExclusiveConsecutivePairContainer"""
1253  _IMP_container.ExclusiveConsecutivePairContainer_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairContainer(*args))
1254 
1255  def do_get_inputs(self):
1256  r"""do_get_inputs(ExclusiveConsecutivePairContainer self) -> IMP::ModelObjectsTemp"""
1257  return _IMP_container.ExclusiveConsecutivePairContainer_do_get_inputs(self)
1258 
1259  def do_apply(self, sm):
1260  r"""do_apply(ExclusiveConsecutivePairContainer self, PairModifier sm)"""
1261  return _IMP_container.ExclusiveConsecutivePairContainer_do_apply(self, sm)
1262 
1263  def do_apply_moved(self, sm, moved_pis, reset_pis):
1264  r"""do_apply_moved(ExclusiveConsecutivePairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1265  return _IMP_container.ExclusiveConsecutivePairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1266 
1267  def get_version_info(self):
1268  r"""get_version_info(ExclusiveConsecutivePairContainer self) -> VersionInfo"""
1269  return _IMP_container.ExclusiveConsecutivePairContainer_get_version_info(self)
1270  __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairContainer
1271 
1272  def __str__(self):
1273  r"""__str__(ExclusiveConsecutivePairContainer self) -> std::string"""
1274  return _IMP_container.ExclusiveConsecutivePairContainer___str__(self)
1275 
1276  def __repr__(self):
1277  r"""__repr__(ExclusiveConsecutivePairContainer self) -> std::string"""
1278  return _IMP_container.ExclusiveConsecutivePairContainer___repr__(self)
1279 
1280  @staticmethod
1281  def get_from(o):
1282  return _object_cast_to_ExclusiveConsecutivePairContainer(o)
1283 
1284 
1285 # Register ExclusiveConsecutivePairContainer in _IMP_container:
1286 _IMP_container.ExclusiveConsecutivePairContainer_swigregister(ExclusiveConsecutivePairContainer)
1287 class ExclusiveConsecutivePairFilter(IMP.PairPredicate):
1288  r"""Proxy of C++ IMP::container::ExclusiveConsecutivePairFilter class."""
1289 
1290  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1291 
1292  def __init__(self):
1293  r"""__init__(ExclusiveConsecutivePairFilter self) -> ExclusiveConsecutivePairFilter"""
1294  _IMP_container.ExclusiveConsecutivePairFilter_swiginit(self, _IMP_container.new_ExclusiveConsecutivePairFilter())
1295 
1296  def do_get_inputs(self, m, pi):
1297  r"""do_get_inputs(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
1298  return _IMP_container.ExclusiveConsecutivePairFilter_do_get_inputs(self, m, pi)
1299 
1300  def get_value(self, *args):
1301  r"""
1302  get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePair const & a) -> int
1303  get_value(ExclusiveConsecutivePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1304  """
1305  return _IMP_container.ExclusiveConsecutivePairFilter_get_value(self, *args)
1306 
1307  def get_value_index(self, *args):
1308  r"""
1309  get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPair const & pip) -> int
1310  get_value_index(ExclusiveConsecutivePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1311  """
1312  return _IMP_container.ExclusiveConsecutivePairFilter_get_value_index(self, *args)
1313 
1314  def get_version_info(self):
1315  r"""get_version_info(ExclusiveConsecutivePairFilter self) -> VersionInfo"""
1316  return _IMP_container.ExclusiveConsecutivePairFilter_get_version_info(self)
1317  __swig_destroy__ = _IMP_container.delete_ExclusiveConsecutivePairFilter
1318 
1319  def __str__(self):
1320  r"""__str__(ExclusiveConsecutivePairFilter self) -> std::string"""
1321  return _IMP_container.ExclusiveConsecutivePairFilter___str__(self)
1322 
1323  def __repr__(self):
1324  r"""__repr__(ExclusiveConsecutivePairFilter self) -> std::string"""
1325  return _IMP_container.ExclusiveConsecutivePairFilter___repr__(self)
1326 
1327  @staticmethod
1328  def get_from(o):
1329  return _object_cast_to_ExclusiveConsecutivePairFilter(o)
1330 
1331 
1332 # Register ExclusiveConsecutivePairFilter in _IMP_container:
1333 _IMP_container.ExclusiveConsecutivePairFilter_swigregister(ExclusiveConsecutivePairFilter)
1334 class ListPairContainer(IMP.PairContainer):
1335  r"""Proxy of C++ IMP::container::ListPairContainer class."""
1336 
1337  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1338 
1339  def __init__(self, *args):
1340  r"""
1341  __init__(ListPairContainer self, Model m, IMP::ParticleIndexPairs const & contents, std::string name="ListPairContainer%1%") -> ListPairContainer
1342  __init__(ListPairContainer self, Model m, std::string name="ListPairContainer %1%") -> ListPairContainer
1343  __init__(ListPairContainer self, Model m, char const * name) -> ListPairContainer
1344  __init__(ListPairContainer self) -> ListPairContainer
1345  """
1346  _IMP_container.ListPairContainer_swiginit(self, _IMP_container.new_ListPairContainer(*args))
1347 
1348  def add(self, *args):
1349  r"""
1350  add(ListPairContainer self, IMP::ParticleIndexPair const & vt)
1351  add(ListPairContainer self, IMP::ParticleIndexPairs const & c)
1352  """
1353  return _IMP_container.ListPairContainer_add(self, *args)
1354 
1355  def set(self, cp):
1356  r"""set(ListPairContainer self, IMP::ParticleIndexPairs cp)"""
1357  return _IMP_container.ListPairContainer_set(self, cp)
1358 
1359  def clear(self):
1360  r"""clear(ListPairContainer self)"""
1361  return _IMP_container.ListPairContainer_clear(self)
1362 
1363  def do_get_inputs(self):
1364  r"""do_get_inputs(ListPairContainer self) -> IMP::ModelObjectsTemp"""
1365  return _IMP_container.ListPairContainer_do_get_inputs(self)
1366 
1367  def do_apply(self, sm):
1368  r"""do_apply(ListPairContainer self, PairModifier sm)"""
1369  return _IMP_container.ListPairContainer_do_apply(self, sm)
1370 
1371  def do_apply_moved(self, sm, moved_pis, reset_pis):
1372  r"""do_apply_moved(ListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1373  return _IMP_container.ListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1374 
1375  def get_version_info(self):
1376  r"""get_version_info(ListPairContainer self) -> VersionInfo"""
1377  return _IMP_container.ListPairContainer_get_version_info(self)
1378  __swig_destroy__ = _IMP_container.delete_ListPairContainer
1379 
1380  def __str__(self):
1381  r"""__str__(ListPairContainer self) -> std::string"""
1382  return _IMP_container.ListPairContainer___str__(self)
1383 
1384  def __repr__(self):
1385  r"""__repr__(ListPairContainer self) -> std::string"""
1386  return _IMP_container.ListPairContainer___repr__(self)
1387 
1388  @staticmethod
1389  def get_from(o):
1390  return _object_cast_to_ListPairContainer(o)
1391 
1392 
1393  def _get_as_binary(self):
1394  r"""_get_as_binary(ListPairContainer self) -> PyObject *"""
1395  return _IMP_container.ListPairContainer__get_as_binary(self)
1396 
1397  def _set_from_binary(self, p):
1398  r"""_set_from_binary(ListPairContainer self, PyObject * p)"""
1399  return _IMP_container.ListPairContainer__set_from_binary(self, p)
1400 
1401  def __getstate__(self):
1402  p = self._get_as_binary()
1403  if len(self.__dict__) > 1:
1404  d = self.__dict__.copy()
1405  del d['this']
1406  p = (d, p)
1407  return p
1408 
1409  def __setstate__(self, p):
1410  if not hasattr(self, 'this'):
1411  self.__init__()
1412  if isinstance(p, tuple):
1413  d, p = p
1414  self.__dict__.update(d)
1415  return self._set_from_binary(p)
1416 
1417 
1418 # Register ListPairContainer in _IMP_container:
1419 _IMP_container.ListPairContainer_swigregister(ListPairContainer)
1420 class ListQuadContainer(IMP.QuadContainer):
1421  r"""Proxy of C++ IMP::container::ListQuadContainer class."""
1422 
1423  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1424 
1425  def __init__(self, *args):
1426  r"""
1427  __init__(ListQuadContainer self, Model m, IMP::ParticleIndexQuads const & contents, std::string name="ListQuadContainer%1%") -> ListQuadContainer
1428  __init__(ListQuadContainer self, Model m, std::string name="ListQuadContainer %1%") -> ListQuadContainer
1429  __init__(ListQuadContainer self, Model m, char const * name) -> ListQuadContainer
1430  __init__(ListQuadContainer self) -> ListQuadContainer
1431  """
1432  _IMP_container.ListQuadContainer_swiginit(self, _IMP_container.new_ListQuadContainer(*args))
1433 
1434  def add(self, *args):
1435  r"""
1436  add(ListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1437  add(ListQuadContainer self, IMP::ParticleIndexQuads const & c)
1438  """
1439  return _IMP_container.ListQuadContainer_add(self, *args)
1440 
1441  def set(self, cp):
1442  r"""set(ListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1443  return _IMP_container.ListQuadContainer_set(self, cp)
1444 
1445  def clear(self):
1446  r"""clear(ListQuadContainer self)"""
1447  return _IMP_container.ListQuadContainer_clear(self)
1448 
1449  def do_get_inputs(self):
1450  r"""do_get_inputs(ListQuadContainer self) -> IMP::ModelObjectsTemp"""
1451  return _IMP_container.ListQuadContainer_do_get_inputs(self)
1452 
1453  def do_apply(self, sm):
1454  r"""do_apply(ListQuadContainer self, QuadModifier sm)"""
1455  return _IMP_container.ListQuadContainer_do_apply(self, sm)
1456 
1457  def do_apply_moved(self, sm, moved_pis, reset_pis):
1458  r"""do_apply_moved(ListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1459  return _IMP_container.ListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1460 
1461  def get_version_info(self):
1462  r"""get_version_info(ListQuadContainer self) -> VersionInfo"""
1463  return _IMP_container.ListQuadContainer_get_version_info(self)
1464  __swig_destroy__ = _IMP_container.delete_ListQuadContainer
1465 
1466  def __str__(self):
1467  r"""__str__(ListQuadContainer self) -> std::string"""
1468  return _IMP_container.ListQuadContainer___str__(self)
1469 
1470  def __repr__(self):
1471  r"""__repr__(ListQuadContainer self) -> std::string"""
1472  return _IMP_container.ListQuadContainer___repr__(self)
1473 
1474  @staticmethod
1475  def get_from(o):
1476  return _object_cast_to_ListQuadContainer(o)
1477 
1478 
1479  def _get_as_binary(self):
1480  r"""_get_as_binary(ListQuadContainer self) -> PyObject *"""
1481  return _IMP_container.ListQuadContainer__get_as_binary(self)
1482 
1483  def _set_from_binary(self, p):
1484  r"""_set_from_binary(ListQuadContainer self, PyObject * p)"""
1485  return _IMP_container.ListQuadContainer__set_from_binary(self, p)
1486 
1487  def __getstate__(self):
1488  p = self._get_as_binary()
1489  if len(self.__dict__) > 1:
1490  d = self.__dict__.copy()
1491  del d['this']
1492  p = (d, p)
1493  return p
1494 
1495  def __setstate__(self, p):
1496  if not hasattr(self, 'this'):
1497  self.__init__()
1498  if isinstance(p, tuple):
1499  d, p = p
1500  self.__dict__.update(d)
1501  return self._set_from_binary(p)
1502 
1503 
1504 # Register ListQuadContainer in _IMP_container:
1505 _IMP_container.ListQuadContainer_swigregister(ListQuadContainer)
1506 class ListSingletonContainer(IMP.SingletonContainer):
1507  r"""Proxy of C++ IMP::container::ListSingletonContainer class."""
1508 
1509  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1510 
1511  def __init__(self, *args):
1512  r"""
1513  __init__(ListSingletonContainer self, Model m, IMP::ParticleIndexes const & contents, std::string name="ListSingletonContainer%1%") -> ListSingletonContainer
1514  __init__(ListSingletonContainer self, Model m, std::string name="ListSingletonContainer %1%") -> ListSingletonContainer
1515  __init__(ListSingletonContainer self, Model m, char const * name) -> ListSingletonContainer
1516  __init__(ListSingletonContainer self) -> ListSingletonContainer
1517  """
1518  _IMP_container.ListSingletonContainer_swiginit(self, _IMP_container.new_ListSingletonContainer(*args))
1519 
1520  def add(self, *args):
1521  r"""
1522  add(ListSingletonContainer self, ParticleIndex vt)
1523  add(ListSingletonContainer self, IMP::ParticleIndexes const & c)
1524  """
1525  return _IMP_container.ListSingletonContainer_add(self, *args)
1526 
1527  def set(self, cp):
1528  r"""set(ListSingletonContainer self, IMP::ParticleIndexes cp)"""
1529  return _IMP_container.ListSingletonContainer_set(self, cp)
1530 
1531  def clear(self):
1532  r"""clear(ListSingletonContainer self)"""
1533  return _IMP_container.ListSingletonContainer_clear(self)
1534 
1535  def do_get_inputs(self):
1536  r"""do_get_inputs(ListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1537  return _IMP_container.ListSingletonContainer_do_get_inputs(self)
1538 
1539  def do_apply(self, sm):
1540  r"""do_apply(ListSingletonContainer self, SingletonModifier sm)"""
1541  return _IMP_container.ListSingletonContainer_do_apply(self, sm)
1542 
1543  def do_apply_moved(self, sm, moved_pis, reset_pis):
1544  r"""do_apply_moved(ListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1545  return _IMP_container.ListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1546 
1547  def get_version_info(self):
1548  r"""get_version_info(ListSingletonContainer self) -> VersionInfo"""
1549  return _IMP_container.ListSingletonContainer_get_version_info(self)
1550  __swig_destroy__ = _IMP_container.delete_ListSingletonContainer
1551 
1552  def __str__(self):
1553  r"""__str__(ListSingletonContainer self) -> std::string"""
1554  return _IMP_container.ListSingletonContainer___str__(self)
1555 
1556  def __repr__(self):
1557  r"""__repr__(ListSingletonContainer self) -> std::string"""
1558  return _IMP_container.ListSingletonContainer___repr__(self)
1559 
1560  @staticmethod
1561  def get_from(o):
1562  return _object_cast_to_ListSingletonContainer(o)
1563 
1564 
1565  def _get_as_binary(self):
1566  r"""_get_as_binary(ListSingletonContainer self) -> PyObject *"""
1567  return _IMP_container.ListSingletonContainer__get_as_binary(self)
1568 
1569  def _set_from_binary(self, p):
1570  r"""_set_from_binary(ListSingletonContainer self, PyObject * p)"""
1571  return _IMP_container.ListSingletonContainer__set_from_binary(self, p)
1572 
1573  def __getstate__(self):
1574  p = self._get_as_binary()
1575  if len(self.__dict__) > 1:
1576  d = self.__dict__.copy()
1577  del d['this']
1578  p = (d, p)
1579  return p
1580 
1581  def __setstate__(self, p):
1582  if not hasattr(self, 'this'):
1583  self.__init__()
1584  if isinstance(p, tuple):
1585  d, p = p
1586  self.__dict__.update(d)
1587  return self._set_from_binary(p)
1588 
1589 
1590 # Register ListSingletonContainer in _IMP_container:
1591 _IMP_container.ListSingletonContainer_swigregister(ListSingletonContainer)
1592 class ListTripletContainer(IMP.TripletContainer):
1593  r"""Proxy of C++ IMP::container::ListTripletContainer class."""
1594 
1595  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1596 
1597  def __init__(self, *args):
1598  r"""
1599  __init__(ListTripletContainer self, Model m, IMP::ParticleIndexTriplets const & contents, std::string name="ListTripletContainer%1%") -> ListTripletContainer
1600  __init__(ListTripletContainer self, Model m, std::string name="ListTripletContainer %1%") -> ListTripletContainer
1601  __init__(ListTripletContainer self, Model m, char const * name) -> ListTripletContainer
1602  __init__(ListTripletContainer self) -> ListTripletContainer
1603  """
1604  _IMP_container.ListTripletContainer_swiginit(self, _IMP_container.new_ListTripletContainer(*args))
1605 
1606  def add(self, *args):
1607  r"""
1608  add(ListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1609  add(ListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1610  """
1611  return _IMP_container.ListTripletContainer_add(self, *args)
1612 
1613  def set(self, cp):
1614  r"""set(ListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1615  return _IMP_container.ListTripletContainer_set(self, cp)
1616 
1617  def clear(self):
1618  r"""clear(ListTripletContainer self)"""
1619  return _IMP_container.ListTripletContainer_clear(self)
1620 
1621  def do_get_inputs(self):
1622  r"""do_get_inputs(ListTripletContainer self) -> IMP::ModelObjectsTemp"""
1623  return _IMP_container.ListTripletContainer_do_get_inputs(self)
1624 
1625  def do_apply(self, sm):
1626  r"""do_apply(ListTripletContainer self, TripletModifier sm)"""
1627  return _IMP_container.ListTripletContainer_do_apply(self, sm)
1628 
1629  def do_apply_moved(self, sm, moved_pis, reset_pis):
1630  r"""do_apply_moved(ListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1631  return _IMP_container.ListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1632 
1633  def get_version_info(self):
1634  r"""get_version_info(ListTripletContainer self) -> VersionInfo"""
1635  return _IMP_container.ListTripletContainer_get_version_info(self)
1636  __swig_destroy__ = _IMP_container.delete_ListTripletContainer
1637 
1638  def __str__(self):
1639  r"""__str__(ListTripletContainer self) -> std::string"""
1640  return _IMP_container.ListTripletContainer___str__(self)
1641 
1642  def __repr__(self):
1643  r"""__repr__(ListTripletContainer self) -> std::string"""
1644  return _IMP_container.ListTripletContainer___repr__(self)
1645 
1646  @staticmethod
1647  def get_from(o):
1648  return _object_cast_to_ListTripletContainer(o)
1649 
1650 
1651  def _get_as_binary(self):
1652  r"""_get_as_binary(ListTripletContainer self) -> PyObject *"""
1653  return _IMP_container.ListTripletContainer__get_as_binary(self)
1654 
1655  def _set_from_binary(self, p):
1656  r"""_set_from_binary(ListTripletContainer self, PyObject * p)"""
1657  return _IMP_container.ListTripletContainer__set_from_binary(self, p)
1658 
1659  def __getstate__(self):
1660  p = self._get_as_binary()
1661  if len(self.__dict__) > 1:
1662  d = self.__dict__.copy()
1663  del d['this']
1664  p = (d, p)
1665  return p
1666 
1667  def __setstate__(self, p):
1668  if not hasattr(self, 'this'):
1669  self.__init__()
1670  if isinstance(p, tuple):
1671  d, p = p
1672  self.__dict__.update(d)
1673  return self._set_from_binary(p)
1674 
1675 
1676 # Register ListTripletContainer in _IMP_container:
1677 _IMP_container.ListTripletContainer_swigregister(ListTripletContainer)
1678 class DynamicListPairContainer(IMP.PairContainer):
1679  r"""Proxy of C++ IMP::container::DynamicListPairContainer class."""
1680 
1681  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1682 
1683  def __init__(self, *args, **kwargs):
1684  raise AttributeError("No constructor defined - class is abstract")
1685 
1686  def add(self, *args):
1687  r"""
1688  add(DynamicListPairContainer self, IMP::ParticleIndexPair const & vt)
1689  add(DynamicListPairContainer self, IMP::ParticleIndexPairs const & c)
1690  """
1691  return _IMP_container.DynamicListPairContainer_add(self, *args)
1692 
1693  def set(self, cp):
1694  r"""set(DynamicListPairContainer self, IMP::ParticleIndexPairs cp)"""
1695  return _IMP_container.DynamicListPairContainer_set(self, cp)
1696 
1697  def clear(self):
1698  r"""clear(DynamicListPairContainer self)"""
1699  return _IMP_container.DynamicListPairContainer_clear(self)
1700 
1701  def do_get_inputs(self):
1702  r"""do_get_inputs(DynamicListPairContainer self) -> IMP::ModelObjectsTemp"""
1703  return _IMP_container.DynamicListPairContainer_do_get_inputs(self)
1704 
1705  def do_apply(self, sm):
1706  r"""do_apply(DynamicListPairContainer self, PairModifier sm)"""
1707  return _IMP_container.DynamicListPairContainer_do_apply(self, sm)
1708 
1709  def do_apply_moved(self, sm, moved_pis, reset_pis):
1710  r"""do_apply_moved(DynamicListPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1711  return _IMP_container.DynamicListPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1712 
1713  def get_version_info(self):
1714  r"""get_version_info(DynamicListPairContainer self) -> VersionInfo"""
1715  return _IMP_container.DynamicListPairContainer_get_version_info(self)
1716  __swig_destroy__ = _IMP_container.delete_DynamicListPairContainer
1717 
1718  def __str__(self):
1719  r"""__str__(DynamicListPairContainer self) -> std::string"""
1720  return _IMP_container.DynamicListPairContainer___str__(self)
1721 
1722  def __repr__(self):
1723  r"""__repr__(DynamicListPairContainer self) -> std::string"""
1724  return _IMP_container.DynamicListPairContainer___repr__(self)
1725 
1726  @staticmethod
1727  def get_from(o):
1728  return _object_cast_to_DynamicListPairContainer(o)
1729 
1730 
1731 # Register DynamicListPairContainer in _IMP_container:
1732 _IMP_container.DynamicListPairContainer_swigregister(DynamicListPairContainer)
1733 class DynamicListQuadContainer(IMP.QuadContainer):
1734  r"""Proxy of C++ IMP::container::DynamicListQuadContainer class."""
1735 
1736  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1737 
1738  def __init__(self, *args, **kwargs):
1739  raise AttributeError("No constructor defined - class is abstract")
1740 
1741  def add(self, *args):
1742  r"""
1743  add(DynamicListQuadContainer self, IMP::ParticleIndexQuad const & vt)
1744  add(DynamicListQuadContainer self, IMP::ParticleIndexQuads const & c)
1745  """
1746  return _IMP_container.DynamicListQuadContainer_add(self, *args)
1747 
1748  def set(self, cp):
1749  r"""set(DynamicListQuadContainer self, IMP::ParticleIndexQuads cp)"""
1750  return _IMP_container.DynamicListQuadContainer_set(self, cp)
1751 
1752  def clear(self):
1753  r"""clear(DynamicListQuadContainer self)"""
1754  return _IMP_container.DynamicListQuadContainer_clear(self)
1755 
1756  def do_get_inputs(self):
1757  r"""do_get_inputs(DynamicListQuadContainer self) -> IMP::ModelObjectsTemp"""
1758  return _IMP_container.DynamicListQuadContainer_do_get_inputs(self)
1759 
1760  def do_apply(self, sm):
1761  r"""do_apply(DynamicListQuadContainer self, QuadModifier sm)"""
1762  return _IMP_container.DynamicListQuadContainer_do_apply(self, sm)
1763 
1764  def do_apply_moved(self, sm, moved_pis, reset_pis):
1765  r"""do_apply_moved(DynamicListQuadContainer self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1766  return _IMP_container.DynamicListQuadContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1767 
1768  def get_version_info(self):
1769  r"""get_version_info(DynamicListQuadContainer self) -> VersionInfo"""
1770  return _IMP_container.DynamicListQuadContainer_get_version_info(self)
1771  __swig_destroy__ = _IMP_container.delete_DynamicListQuadContainer
1772 
1773  def __str__(self):
1774  r"""__str__(DynamicListQuadContainer self) -> std::string"""
1775  return _IMP_container.DynamicListQuadContainer___str__(self)
1776 
1777  def __repr__(self):
1778  r"""__repr__(DynamicListQuadContainer self) -> std::string"""
1779  return _IMP_container.DynamicListQuadContainer___repr__(self)
1780 
1781  @staticmethod
1782  def get_from(o):
1783  return _object_cast_to_DynamicListQuadContainer(o)
1784 
1785 
1786 # Register DynamicListQuadContainer in _IMP_container:
1787 _IMP_container.DynamicListQuadContainer_swigregister(DynamicListQuadContainer)
1788 class DynamicListSingletonContainer(IMP.SingletonContainer):
1789  r"""Proxy of C++ IMP::container::DynamicListSingletonContainer class."""
1790 
1791  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1792 
1793  def __init__(self, *args, **kwargs):
1794  raise AttributeError("No constructor defined - class is abstract")
1795 
1796  def add(self, *args):
1797  r"""
1798  add(DynamicListSingletonContainer self, ParticleIndex vt)
1799  add(DynamicListSingletonContainer self, IMP::ParticleIndexes const & c)
1800  """
1801  return _IMP_container.DynamicListSingletonContainer_add(self, *args)
1802 
1803  def set(self, cp):
1804  r"""set(DynamicListSingletonContainer self, IMP::ParticleIndexes cp)"""
1805  return _IMP_container.DynamicListSingletonContainer_set(self, cp)
1806 
1807  def clear(self):
1808  r"""clear(DynamicListSingletonContainer self)"""
1809  return _IMP_container.DynamicListSingletonContainer_clear(self)
1810 
1811  def do_get_inputs(self):
1812  r"""do_get_inputs(DynamicListSingletonContainer self) -> IMP::ModelObjectsTemp"""
1813  return _IMP_container.DynamicListSingletonContainer_do_get_inputs(self)
1814 
1815  def do_apply(self, sm):
1816  r"""do_apply(DynamicListSingletonContainer self, SingletonModifier sm)"""
1817  return _IMP_container.DynamicListSingletonContainer_do_apply(self, sm)
1818 
1819  def do_apply_moved(self, sm, moved_pis, reset_pis):
1820  r"""do_apply_moved(DynamicListSingletonContainer self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1821  return _IMP_container.DynamicListSingletonContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1822 
1823  def get_version_info(self):
1824  r"""get_version_info(DynamicListSingletonContainer self) -> VersionInfo"""
1825  return _IMP_container.DynamicListSingletonContainer_get_version_info(self)
1826  __swig_destroy__ = _IMP_container.delete_DynamicListSingletonContainer
1827 
1828  def __str__(self):
1829  r"""__str__(DynamicListSingletonContainer self) -> std::string"""
1830  return _IMP_container.DynamicListSingletonContainer___str__(self)
1831 
1832  def __repr__(self):
1833  r"""__repr__(DynamicListSingletonContainer self) -> std::string"""
1834  return _IMP_container.DynamicListSingletonContainer___repr__(self)
1835 
1836  @staticmethod
1837  def get_from(o):
1838  return _object_cast_to_DynamicListSingletonContainer(o)
1839 
1840 
1841 # Register DynamicListSingletonContainer in _IMP_container:
1842 _IMP_container.DynamicListSingletonContainer_swigregister(DynamicListSingletonContainer)
1843 class DynamicListTripletContainer(IMP.TripletContainer):
1844  r"""Proxy of C++ IMP::container::DynamicListTripletContainer class."""
1845 
1846  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1847 
1848  def __init__(self, *args, **kwargs):
1849  raise AttributeError("No constructor defined - class is abstract")
1850 
1851  def add(self, *args):
1852  r"""
1853  add(DynamicListTripletContainer self, IMP::ParticleIndexTriplet const & vt)
1854  add(DynamicListTripletContainer self, IMP::ParticleIndexTriplets const & c)
1855  """
1856  return _IMP_container.DynamicListTripletContainer_add(self, *args)
1857 
1858  def set(self, cp):
1859  r"""set(DynamicListTripletContainer self, IMP::ParticleIndexTriplets cp)"""
1860  return _IMP_container.DynamicListTripletContainer_set(self, cp)
1861 
1862  def clear(self):
1863  r"""clear(DynamicListTripletContainer self)"""
1864  return _IMP_container.DynamicListTripletContainer_clear(self)
1865 
1866  def do_get_inputs(self):
1867  r"""do_get_inputs(DynamicListTripletContainer self) -> IMP::ModelObjectsTemp"""
1868  return _IMP_container.DynamicListTripletContainer_do_get_inputs(self)
1869 
1870  def do_apply(self, sm):
1871  r"""do_apply(DynamicListTripletContainer self, TripletModifier sm)"""
1872  return _IMP_container.DynamicListTripletContainer_do_apply(self, sm)
1873 
1874  def do_apply_moved(self, sm, moved_pis, reset_pis):
1875  r"""do_apply_moved(DynamicListTripletContainer self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1876  return _IMP_container.DynamicListTripletContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
1877 
1878  def get_version_info(self):
1879  r"""get_version_info(DynamicListTripletContainer self) -> VersionInfo"""
1880  return _IMP_container.DynamicListTripletContainer_get_version_info(self)
1881  __swig_destroy__ = _IMP_container.delete_DynamicListTripletContainer
1882 
1883  def __str__(self):
1884  r"""__str__(DynamicListTripletContainer self) -> std::string"""
1885  return _IMP_container.DynamicListTripletContainer___str__(self)
1886 
1887  def __repr__(self):
1888  r"""__repr__(DynamicListTripletContainer self) -> std::string"""
1889  return _IMP_container.DynamicListTripletContainer___repr__(self)
1890 
1891  @staticmethod
1892  def get_from(o):
1893  return _object_cast_to_DynamicListTripletContainer(o)
1894 
1895 
1896 # Register DynamicListTripletContainer in _IMP_container:
1897 _IMP_container.DynamicListTripletContainer_swigregister(DynamicListTripletContainer)
1898 class MinimumPairRestraint(IMP.Restraint):
1899  r"""Proxy of C++ IMP::container::MinimumPairRestraint class."""
1900 
1901  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1902 
1903  def __init__(self, *args):
1904  r"""__init__(MinimumPairRestraint self, PairScore f, _PairContainerAdaptor c, unsigned int n=1, std::string name="MinimumPairRestraint %1%") -> MinimumPairRestraint"""
1905  _IMP_container.MinimumPairRestraint_swiginit(self, _IMP_container.new_MinimumPairRestraint(*args))
1906 
1907  def do_get_inputs(self):
1908  r"""do_get_inputs(MinimumPairRestraint self) -> IMP::ModelObjectsTemp"""
1909  return _IMP_container.MinimumPairRestraint_do_get_inputs(self)
1910 
1911  def get_version_info(self):
1912  r"""get_version_info(MinimumPairRestraint self) -> VersionInfo"""
1913  return _IMP_container.MinimumPairRestraint_get_version_info(self)
1914  __swig_destroy__ = _IMP_container.delete_MinimumPairRestraint
1915 
1916  def set_n(self, n):
1917  r"""set_n(MinimumPairRestraint self, unsigned int n)"""
1918  return _IMP_container.MinimumPairRestraint_set_n(self, n)
1919 
1920  def do_create_current_decomposition(self):
1921  r"""do_create_current_decomposition(MinimumPairRestraint self) -> IMP::Restraints"""
1922  return _IMP_container.MinimumPairRestraint_do_create_current_decomposition(self)
1923 
1924  def __str__(self):
1925  r"""__str__(MinimumPairRestraint self) -> std::string"""
1926  return _IMP_container.MinimumPairRestraint___str__(self)
1927 
1928  def __repr__(self):
1929  r"""__repr__(MinimumPairRestraint self) -> std::string"""
1930  return _IMP_container.MinimumPairRestraint___repr__(self)
1931 
1932  @staticmethod
1933  def get_from(o):
1934  return _object_cast_to_MinimumPairRestraint(o)
1935 
1936 
1937 # Register MinimumPairRestraint in _IMP_container:
1938 _IMP_container.MinimumPairRestraint_swigregister(MinimumPairRestraint)
1939 class MinimumPairScore(IMP.PairScore):
1940  r"""Proxy of C++ IMP::container::MinimumPairScore class."""
1941 
1942  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1943 
1944  def __init__(self, *args):
1945  r"""__init__(MinimumPairScore self, IMP::PairScoresTemp const & scores, unsigned int n=1, std::string name="PairScore %1%") -> MinimumPairScore"""
1946  _IMP_container.MinimumPairScore_swiginit(self, _IMP_container.new_MinimumPairScore(*args))
1947 
1948  def do_get_inputs(self, m, pis):
1949  r"""do_get_inputs(MinimumPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1950  return _IMP_container.MinimumPairScore_do_get_inputs(self, m, pis)
1951 
1952  def get_version_info(self):
1953  r"""get_version_info(MinimumPairScore self) -> VersionInfo"""
1954  return _IMP_container.MinimumPairScore_get_version_info(self)
1955  __swig_destroy__ = _IMP_container.delete_MinimumPairScore
1956 
1957  def do_create_current_decomposition(self, m, vt):
1958  r"""do_create_current_decomposition(MinimumPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
1959  return _IMP_container.MinimumPairScore_do_create_current_decomposition(self, m, vt)
1960 
1961  def __str__(self):
1962  r"""__str__(MinimumPairScore self) -> std::string"""
1963  return _IMP_container.MinimumPairScore___str__(self)
1964 
1965  def __repr__(self):
1966  r"""__repr__(MinimumPairScore self) -> std::string"""
1967  return _IMP_container.MinimumPairScore___repr__(self)
1968 
1969  @staticmethod
1970  def get_from(o):
1971  return _object_cast_to_MinimumPairScore(o)
1972 
1973 
1974 # Register MinimumPairScore in _IMP_container:
1975 _IMP_container.MinimumPairScore_swigregister(MinimumPairScore)
1976 class MinimumQuadRestraint(IMP.Restraint):
1977  r"""Proxy of C++ IMP::container::MinimumQuadRestraint class."""
1978 
1979  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
1980 
1981  def __init__(self, *args):
1982  r"""__init__(MinimumQuadRestraint self, QuadScore f, _QuadContainerAdaptor c, unsigned int n=1, std::string name="MinimumQuadRestraint %1%") -> MinimumQuadRestraint"""
1983  _IMP_container.MinimumQuadRestraint_swiginit(self, _IMP_container.new_MinimumQuadRestraint(*args))
1984 
1985  def do_get_inputs(self):
1986  r"""do_get_inputs(MinimumQuadRestraint self) -> IMP::ModelObjectsTemp"""
1987  return _IMP_container.MinimumQuadRestraint_do_get_inputs(self)
1988 
1989  def get_version_info(self):
1990  r"""get_version_info(MinimumQuadRestraint self) -> VersionInfo"""
1991  return _IMP_container.MinimumQuadRestraint_get_version_info(self)
1992  __swig_destroy__ = _IMP_container.delete_MinimumQuadRestraint
1993 
1994  def set_n(self, n):
1995  r"""set_n(MinimumQuadRestraint self, unsigned int n)"""
1996  return _IMP_container.MinimumQuadRestraint_set_n(self, n)
1997 
1998  def do_create_current_decomposition(self):
1999  r"""do_create_current_decomposition(MinimumQuadRestraint self) -> IMP::Restraints"""
2000  return _IMP_container.MinimumQuadRestraint_do_create_current_decomposition(self)
2001 
2002  def __str__(self):
2003  r"""__str__(MinimumQuadRestraint self) -> std::string"""
2004  return _IMP_container.MinimumQuadRestraint___str__(self)
2005 
2006  def __repr__(self):
2007  r"""__repr__(MinimumQuadRestraint self) -> std::string"""
2008  return _IMP_container.MinimumQuadRestraint___repr__(self)
2009 
2010  @staticmethod
2011  def get_from(o):
2012  return _object_cast_to_MinimumQuadRestraint(o)
2013 
2014 
2015 # Register MinimumQuadRestraint in _IMP_container:
2016 _IMP_container.MinimumQuadRestraint_swigregister(MinimumQuadRestraint)
2017 class MinimumQuadScore(IMP.QuadScore):
2018  r"""Proxy of C++ IMP::container::MinimumQuadScore class."""
2019 
2020  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2021 
2022  def __init__(self, *args):
2023  r"""__init__(MinimumQuadScore self, IMP::QuadScoresTemp const & scores, unsigned int n=1, std::string name="QuadScore %1%") -> MinimumQuadScore"""
2024  _IMP_container.MinimumQuadScore_swiginit(self, _IMP_container.new_MinimumQuadScore(*args))
2025 
2026  def do_get_inputs(self, m, pis):
2027  r"""do_get_inputs(MinimumQuadScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2028  return _IMP_container.MinimumQuadScore_do_get_inputs(self, m, pis)
2029 
2030  def get_version_info(self):
2031  r"""get_version_info(MinimumQuadScore self) -> VersionInfo"""
2032  return _IMP_container.MinimumQuadScore_get_version_info(self)
2033  __swig_destroy__ = _IMP_container.delete_MinimumQuadScore
2034 
2035  def do_create_current_decomposition(self, m, vt):
2036  r"""do_create_current_decomposition(MinimumQuadScore self, Model m, IMP::ParticleIndexQuad const & vt) -> IMP::Restraints"""
2037  return _IMP_container.MinimumQuadScore_do_create_current_decomposition(self, m, vt)
2038 
2039  def __str__(self):
2040  r"""__str__(MinimumQuadScore self) -> std::string"""
2041  return _IMP_container.MinimumQuadScore___str__(self)
2042 
2043  def __repr__(self):
2044  r"""__repr__(MinimumQuadScore self) -> std::string"""
2045  return _IMP_container.MinimumQuadScore___repr__(self)
2046 
2047  @staticmethod
2048  def get_from(o):
2049  return _object_cast_to_MinimumQuadScore(o)
2050 
2051 
2052 # Register MinimumQuadScore in _IMP_container:
2053 _IMP_container.MinimumQuadScore_swigregister(MinimumQuadScore)
2054 class MinimumSingletonRestraint(IMP.Restraint):
2055  r"""Proxy of C++ IMP::container::MinimumSingletonRestraint class."""
2056 
2057  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2058 
2059  def __init__(self, *args):
2060  r"""__init__(MinimumSingletonRestraint self, SingletonScore f, _SingletonContainerAdaptor c, unsigned int n=1, std::string name="MinimumSingletonRestraint %1%") -> MinimumSingletonRestraint"""
2061  _IMP_container.MinimumSingletonRestraint_swiginit(self, _IMP_container.new_MinimumSingletonRestraint(*args))
2062 
2063  def do_get_inputs(self):
2064  r"""do_get_inputs(MinimumSingletonRestraint self) -> IMP::ModelObjectsTemp"""
2065  return _IMP_container.MinimumSingletonRestraint_do_get_inputs(self)
2066 
2067  def get_version_info(self):
2068  r"""get_version_info(MinimumSingletonRestraint self) -> VersionInfo"""
2069  return _IMP_container.MinimumSingletonRestraint_get_version_info(self)
2070  __swig_destroy__ = _IMP_container.delete_MinimumSingletonRestraint
2071 
2072  def set_n(self, n):
2073  r"""set_n(MinimumSingletonRestraint self, unsigned int n)"""
2074  return _IMP_container.MinimumSingletonRestraint_set_n(self, n)
2075 
2076  def do_create_current_decomposition(self):
2077  r"""do_create_current_decomposition(MinimumSingletonRestraint self) -> IMP::Restraints"""
2078  return _IMP_container.MinimumSingletonRestraint_do_create_current_decomposition(self)
2079 
2080  def __str__(self):
2081  r"""__str__(MinimumSingletonRestraint self) -> std::string"""
2082  return _IMP_container.MinimumSingletonRestraint___str__(self)
2083 
2084  def __repr__(self):
2085  r"""__repr__(MinimumSingletonRestraint self) -> std::string"""
2086  return _IMP_container.MinimumSingletonRestraint___repr__(self)
2087 
2088  @staticmethod
2089  def get_from(o):
2090  return _object_cast_to_MinimumSingletonRestraint(o)
2091 
2092 
2093 # Register MinimumSingletonRestraint in _IMP_container:
2094 _IMP_container.MinimumSingletonRestraint_swigregister(MinimumSingletonRestraint)
2095 class MinimumSingletonScore(IMP.SingletonScore):
2096  r"""Proxy of C++ IMP::container::MinimumSingletonScore class."""
2097 
2098  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2099 
2100  def __init__(self, *args):
2101  r"""__init__(MinimumSingletonScore self, IMP::SingletonScoresTemp const & scores, unsigned int n=1, std::string name="SingletonScore %1%") -> MinimumSingletonScore"""
2102  _IMP_container.MinimumSingletonScore_swiginit(self, _IMP_container.new_MinimumSingletonScore(*args))
2103 
2104  def do_get_inputs(self, m, pis):
2105  r"""do_get_inputs(MinimumSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2106  return _IMP_container.MinimumSingletonScore_do_get_inputs(self, m, pis)
2107 
2108  def get_version_info(self):
2109  r"""get_version_info(MinimumSingletonScore self) -> VersionInfo"""
2110  return _IMP_container.MinimumSingletonScore_get_version_info(self)
2111  __swig_destroy__ = _IMP_container.delete_MinimumSingletonScore
2112 
2113  def do_create_current_decomposition(self, m, vt):
2114  r"""do_create_current_decomposition(MinimumSingletonScore self, Model m, ParticleIndex vt) -> IMP::Restraints"""
2115  return _IMP_container.MinimumSingletonScore_do_create_current_decomposition(self, m, vt)
2116 
2117  def __str__(self):
2118  r"""__str__(MinimumSingletonScore self) -> std::string"""
2119  return _IMP_container.MinimumSingletonScore___str__(self)
2120 
2121  def __repr__(self):
2122  r"""__repr__(MinimumSingletonScore self) -> std::string"""
2123  return _IMP_container.MinimumSingletonScore___repr__(self)
2124 
2125  @staticmethod
2126  def get_from(o):
2127  return _object_cast_to_MinimumSingletonScore(o)
2128 
2129 
2130 # Register MinimumSingletonScore in _IMP_container:
2131 _IMP_container.MinimumSingletonScore_swigregister(MinimumSingletonScore)
2132 class MinimumTripletRestraint(IMP.Restraint):
2133  r"""Proxy of C++ IMP::container::MinimumTripletRestraint class."""
2134 
2135  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2136 
2137  def __init__(self, *args):
2138  r"""__init__(MinimumTripletRestraint self, TripletScore f, _TripletContainerAdaptor c, unsigned int n=1, std::string name="MinimumTripletRestraint %1%") -> MinimumTripletRestraint"""
2139  _IMP_container.MinimumTripletRestraint_swiginit(self, _IMP_container.new_MinimumTripletRestraint(*args))
2140 
2141  def do_get_inputs(self):
2142  r"""do_get_inputs(MinimumTripletRestraint self) -> IMP::ModelObjectsTemp"""
2143  return _IMP_container.MinimumTripletRestraint_do_get_inputs(self)
2144 
2145  def get_version_info(self):
2146  r"""get_version_info(MinimumTripletRestraint self) -> VersionInfo"""
2147  return _IMP_container.MinimumTripletRestraint_get_version_info(self)
2148  __swig_destroy__ = _IMP_container.delete_MinimumTripletRestraint
2149 
2150  def set_n(self, n):
2151  r"""set_n(MinimumTripletRestraint self, unsigned int n)"""
2152  return _IMP_container.MinimumTripletRestraint_set_n(self, n)
2153 
2154  def do_create_current_decomposition(self):
2155  r"""do_create_current_decomposition(MinimumTripletRestraint self) -> IMP::Restraints"""
2156  return _IMP_container.MinimumTripletRestraint_do_create_current_decomposition(self)
2157 
2158  def __str__(self):
2159  r"""__str__(MinimumTripletRestraint self) -> std::string"""
2160  return _IMP_container.MinimumTripletRestraint___str__(self)
2161 
2162  def __repr__(self):
2163  r"""__repr__(MinimumTripletRestraint self) -> std::string"""
2164  return _IMP_container.MinimumTripletRestraint___repr__(self)
2165 
2166  @staticmethod
2167  def get_from(o):
2168  return _object_cast_to_MinimumTripletRestraint(o)
2169 
2170 
2171 # Register MinimumTripletRestraint in _IMP_container:
2172 _IMP_container.MinimumTripletRestraint_swigregister(MinimumTripletRestraint)
2173 class MinimumTripletScore(IMP.TripletScore):
2174  r"""Proxy of C++ IMP::container::MinimumTripletScore class."""
2175 
2176  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2177 
2178  def __init__(self, *args):
2179  r"""__init__(MinimumTripletScore self, IMP::TripletScoresTemp const & scores, unsigned int n=1, std::string name="TripletScore %1%") -> MinimumTripletScore"""
2180  _IMP_container.MinimumTripletScore_swiginit(self, _IMP_container.new_MinimumTripletScore(*args))
2181 
2182  def do_get_inputs(self, m, pis):
2183  r"""do_get_inputs(MinimumTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2184  return _IMP_container.MinimumTripletScore_do_get_inputs(self, m, pis)
2185 
2186  def get_version_info(self):
2187  r"""get_version_info(MinimumTripletScore self) -> VersionInfo"""
2188  return _IMP_container.MinimumTripletScore_get_version_info(self)
2189  __swig_destroy__ = _IMP_container.delete_MinimumTripletScore
2190 
2191  def do_create_current_decomposition(self, m, vt):
2192  r"""do_create_current_decomposition(MinimumTripletScore self, Model m, IMP::ParticleIndexTriplet const & vt) -> IMP::Restraints"""
2193  return _IMP_container.MinimumTripletScore_do_create_current_decomposition(self, m, vt)
2194 
2195  def __str__(self):
2196  r"""__str__(MinimumTripletScore self) -> std::string"""
2197  return _IMP_container.MinimumTripletScore___str__(self)
2198 
2199  def __repr__(self):
2200  r"""__repr__(MinimumTripletScore self) -> std::string"""
2201  return _IMP_container.MinimumTripletScore___repr__(self)
2202 
2203  @staticmethod
2204  def get_from(o):
2205  return _object_cast_to_MinimumTripletScore(o)
2206 
2207 
2208 # Register MinimumTripletScore in _IMP_container:
2209 _IMP_container.MinimumTripletScore_swigregister(MinimumTripletScore)
2210 class PairContainerSet(IMP.PairContainer):
2211  r"""Proxy of C++ IMP::container::PairContainerSet class."""
2212 
2213  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2214 
2215  def __init__(self, *args):
2216  r"""
2217  __init__(PairContainerSet self, Model m, std::string name="PairContainerSet %1%") -> PairContainerSet
2218  __init__(PairContainerSet self, IMP::PairContainersTemp const & pc, std::string name="PairContainerSet %1%") -> PairContainerSet
2219  """
2220  _IMP_container.PairContainerSet_swiginit(self, _IMP_container.new_PairContainerSet(*args))
2221 
2222  def do_apply(self, sm):
2223  r"""do_apply(PairContainerSet self, PairModifier sm)"""
2224  return _IMP_container.PairContainerSet_do_apply(self, sm)
2225 
2226  def do_apply_moved(self, sm, moved_pis, reset_pis):
2227  r"""do_apply_moved(PairContainerSet self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2228  return _IMP_container.PairContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2229 
2230  def get_version_info(self):
2231  r"""get_version_info(PairContainerSet self) -> VersionInfo"""
2232  return _IMP_container.PairContainerSet_get_version_info(self)
2233  __swig_destroy__ = _IMP_container.delete_PairContainerSet
2234  def __get_pair_containers(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_containers, getfunc=self.get_pair_container, erasefunc=self.erase_pair_container, appendfunc=self.add_pair_container, extendfunc=self.add_pair_containers, clearfunc=self.clear_pair_containers, indexfunc=self._python_index_pair_container)
2235  def __set_pair_containers(self, obj): IMP._list_util.set_varlist(self.pair_containers, obj)
2236  def __del_pair_containers(self): IMP._list_util.del_varlist(self.pair_containers)
2237  pair_containers = property(__get_pair_containers, __set_pair_containers, __del_pair_containers, doc="List of ##ucnames")
2238 
2239  def remove_pair_container(self, d):
2240  r"""remove_pair_container(PairContainerSet self, PairContainer d)"""
2241  return _IMP_container.PairContainerSet_remove_pair_container(self, d)
2242 
2243  def _python_index_pair_container(self, d, start, stop):
2244  r"""_python_index_pair_container(PairContainerSet self, PairContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2245  return _IMP_container.PairContainerSet__python_index_pair_container(self, d, start, stop)
2246 
2247  def remove_pair_containers(self, d):
2248  r"""remove_pair_containers(PairContainerSet self, IMP::PairContainers const & d)"""
2249  return _IMP_container.PairContainerSet_remove_pair_containers(self, d)
2250 
2251  def set_pair_containers(self, ps):
2252  r"""set_pair_containers(PairContainerSet self, IMP::PairContainers const & ps)"""
2253  return _IMP_container.PairContainerSet_set_pair_containers(self, ps)
2254 
2255  def set_pair_containers_order(self, objs):
2256  r"""set_pair_containers_order(PairContainerSet self, IMP::PairContainers const & objs)"""
2257  return _IMP_container.PairContainerSet_set_pair_containers_order(self, objs)
2258 
2259  def add_pair_container(self, obj):
2260  r"""add_pair_container(PairContainerSet self, PairContainer obj) -> unsigned int"""
2261  return _IMP_container.PairContainerSet_add_pair_container(self, obj)
2262 
2263  def add_pair_containers(self, objs):
2264  r"""add_pair_containers(PairContainerSet self, IMP::PairContainers const & objs)"""
2265  return _IMP_container.PairContainerSet_add_pair_containers(self, objs)
2266 
2267  def clear_pair_containers(self):
2268  r"""clear_pair_containers(PairContainerSet self)"""
2269  return _IMP_container.PairContainerSet_clear_pair_containers(self)
2270 
2271  def get_number_of_pair_containers(self):
2272  r"""get_number_of_pair_containers(PairContainerSet self) -> unsigned int"""
2273  return _IMP_container.PairContainerSet_get_number_of_pair_containers(self)
2274 
2275  def get_has_pair_containers(self):
2276  r"""get_has_pair_containers(PairContainerSet self) -> bool"""
2277  return _IMP_container.PairContainerSet_get_has_pair_containers(self)
2278 
2279  def get_pair_container(self, i):
2280  r"""get_pair_container(PairContainerSet self, unsigned int i) -> PairContainer"""
2281  return _IMP_container.PairContainerSet_get_pair_container(self, i)
2282 
2283  def get_pair_containers(self):
2284  r"""get_pair_containers(PairContainerSet self) -> IMP::PairContainers"""
2285  return _IMP_container.PairContainerSet_get_pair_containers(self)
2286 
2287  def erase_pair_container(self, i):
2288  r"""erase_pair_container(PairContainerSet self, unsigned int i)"""
2289  return _IMP_container.PairContainerSet_erase_pair_container(self, i)
2290 
2291  def reserve_pair_containers(self, sz):
2292  r"""reserve_pair_containers(PairContainerSet self, unsigned int sz)"""
2293  return _IMP_container.PairContainerSet_reserve_pair_containers(self, sz)
2294 
2295  def do_get_inputs(self):
2296  r"""do_get_inputs(PairContainerSet self) -> IMP::ModelObjectsTemp"""
2297  return _IMP_container.PairContainerSet_do_get_inputs(self)
2298 
2299  def __str__(self):
2300  r"""__str__(PairContainerSet self) -> std::string"""
2301  return _IMP_container.PairContainerSet___str__(self)
2302 
2303  def __repr__(self):
2304  r"""__repr__(PairContainerSet self) -> std::string"""
2305  return _IMP_container.PairContainerSet___repr__(self)
2306 
2307  @staticmethod
2308  def get_from(o):
2309  return _object_cast_to_PairContainerSet(o)
2310 
2311 
2312 # Register PairContainerSet in _IMP_container:
2313 _IMP_container.PairContainerSet_swigregister(PairContainerSet)
2314 class PairsConstraint(IMP.Constraint):
2315  r"""Proxy of C++ IMP::container::PairsConstraint class."""
2316 
2317  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2318 
2319  def __init__(self, *args):
2320  r"""
2321  __init__(PairsConstraint self, PairModifier before, PairModifier after, _PairContainerAdaptor c, std::string name="PairsConstraint %1%") -> PairsConstraint
2322  __init__(PairsConstraint self) -> PairsConstraint
2323  """
2324  _IMP_container.PairsConstraint_swiginit(self, _IMP_container.new_PairsConstraint(*args))
2325 
2326  def get_version_info(self):
2327  r"""get_version_info(PairsConstraint self) -> VersionInfo"""
2328  return _IMP_container.PairsConstraint_get_version_info(self)
2329  __swig_destroy__ = _IMP_container.delete_PairsConstraint
2330 
2331  def __str__(self):
2332  r"""__str__(PairsConstraint self) -> std::string"""
2333  return _IMP_container.PairsConstraint___str__(self)
2334 
2335  def __repr__(self):
2336  r"""__repr__(PairsConstraint self) -> std::string"""
2337  return _IMP_container.PairsConstraint___repr__(self)
2338 
2339  @staticmethod
2340  def get_from(o):
2341  return _object_cast_to_PairsConstraint(o)
2342 
2343 
2344  def _get_as_binary(self):
2345  r"""_get_as_binary(PairsConstraint self) -> PyObject *"""
2346  return _IMP_container.PairsConstraint__get_as_binary(self)
2347 
2348  def _set_from_binary(self, p):
2349  r"""_set_from_binary(PairsConstraint self, PyObject * p)"""
2350  return _IMP_container.PairsConstraint__set_from_binary(self, p)
2351 
2352  def __getstate__(self):
2353  p = self._get_as_binary()
2354  if len(self.__dict__) > 1:
2355  d = self.__dict__.copy()
2356  del d['this']
2357  p = (d, p)
2358  return p
2359 
2360  def __setstate__(self, p):
2361  if not hasattr(self, 'this'):
2362  self.__init__()
2363  if isinstance(p, tuple):
2364  d, p = p
2365  self.__dict__.update(d)
2366  return self._set_from_binary(p)
2367 
2368 
2369 # Register PairsConstraint in _IMP_container:
2370 _IMP_container.PairsConstraint_swigregister(PairsConstraint)
2371 class PairsOptimizerState(IMP.OptimizerState):
2372  r"""Proxy of C++ IMP::container::PairsOptimizerState class."""
2373 
2374  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2375 
2376  def __init__(self, *args):
2377  r"""__init__(PairsOptimizerState self, _PairContainerAdaptor c, PairModifier gf, std::string name="PairsOptimizerState %1%") -> PairsOptimizerState"""
2378  _IMP_container.PairsOptimizerState_swiginit(self, _IMP_container.new_PairsOptimizerState(*args))
2379 
2380  def do_update(self, call):
2381  r"""do_update(PairsOptimizerState self, unsigned int call)"""
2382  return _IMP_container.PairsOptimizerState_do_update(self, call)
2383 
2384  def get_version_info(self):
2385  r"""get_version_info(PairsOptimizerState self) -> VersionInfo"""
2386  return _IMP_container.PairsOptimizerState_get_version_info(self)
2387  __swig_destroy__ = _IMP_container.delete_PairsOptimizerState
2388 
2389  def __str__(self):
2390  r"""__str__(PairsOptimizerState self) -> std::string"""
2391  return _IMP_container.PairsOptimizerState___str__(self)
2392 
2393  def __repr__(self):
2394  r"""__repr__(PairsOptimizerState self) -> std::string"""
2395  return _IMP_container.PairsOptimizerState___repr__(self)
2396 
2397  @staticmethod
2398  def get_from(o):
2399  return _object_cast_to_PairsOptimizerState(o)
2400 
2401 
2402 # Register PairsOptimizerState in _IMP_container:
2403 _IMP_container.PairsOptimizerState_swigregister(PairsOptimizerState)
2404 class PairsRestraint(IMP.Restraint):
2405  r"""Proxy of C++ IMP::container::PairsRestraint class."""
2406 
2407  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2408 
2409  def __init__(self, *args):
2410  r"""
2411  __init__(PairsRestraint self, PairScore ss, _PairContainerAdaptor pc, std::string name="PairsRestraint %1%") -> PairsRestraint
2412  __init__(PairsRestraint self) -> PairsRestraint
2413  """
2414  _IMP_container.PairsRestraint_swiginit(self, _IMP_container.new_PairsRestraint(*args))
2415 
2416  def do_get_inputs(self):
2417  r"""do_get_inputs(PairsRestraint self) -> IMP::ModelObjectsTemp"""
2418  return _IMP_container.PairsRestraint_do_get_inputs(self)
2419 
2420  def get_version_info(self):
2421  r"""get_version_info(PairsRestraint self) -> VersionInfo"""
2422  return _IMP_container.PairsRestraint_get_version_info(self)
2423  __swig_destroy__ = _IMP_container.delete_PairsRestraint
2424 
2425  def __str__(self):
2426  r"""__str__(PairsRestraint self) -> std::string"""
2427  return _IMP_container.PairsRestraint___str__(self)
2428 
2429  def __repr__(self):
2430  r"""__repr__(PairsRestraint self) -> std::string"""
2431  return _IMP_container.PairsRestraint___repr__(self)
2432 
2433  @staticmethod
2434  def get_from(o):
2435  return _object_cast_to_PairsRestraint(o)
2436 
2437 
2438  def _get_as_binary(self):
2439  r"""_get_as_binary(PairsRestraint self) -> PyObject *"""
2440  return _IMP_container.PairsRestraint__get_as_binary(self)
2441 
2442  def _set_from_binary(self, p):
2443  r"""_set_from_binary(PairsRestraint self, PyObject * p)"""
2444  return _IMP_container.PairsRestraint__set_from_binary(self, p)
2445 
2446  def __getstate__(self):
2447  p = self._get_as_binary()
2448  if len(self.__dict__) > 1:
2449  d = self.__dict__.copy()
2450  del d['this']
2451  p = (d, p)
2452  return p
2453 
2454  def __setstate__(self, p):
2455  if not hasattr(self, 'this'):
2456  self.__init__()
2457  if isinstance(p, tuple):
2458  d, p = p
2459  self.__dict__.update(d)
2460  return self._set_from_binary(p)
2461 
2462 
2463 # Register PairsRestraint in _IMP_container:
2464 _IMP_container.PairsRestraint_swigregister(PairsRestraint)
2465 class QuadContainerSet(IMP.QuadContainer):
2466  r"""Proxy of C++ IMP::container::QuadContainerSet class."""
2467 
2468  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2469 
2470  def __init__(self, *args):
2471  r"""
2472  __init__(QuadContainerSet self, Model m, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2473  __init__(QuadContainerSet self, IMP::QuadContainersTemp const & pc, std::string name="QuadContainerSet %1%") -> QuadContainerSet
2474  """
2475  _IMP_container.QuadContainerSet_swiginit(self, _IMP_container.new_QuadContainerSet(*args))
2476 
2477  def do_apply(self, sm):
2478  r"""do_apply(QuadContainerSet self, QuadModifier sm)"""
2479  return _IMP_container.QuadContainerSet_do_apply(self, sm)
2480 
2481  def do_apply_moved(self, sm, moved_pis, reset_pis):
2482  r"""do_apply_moved(QuadContainerSet self, QuadModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2483  return _IMP_container.QuadContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2484 
2485  def get_version_info(self):
2486  r"""get_version_info(QuadContainerSet self) -> VersionInfo"""
2487  return _IMP_container.QuadContainerSet_get_version_info(self)
2488  __swig_destroy__ = _IMP_container.delete_QuadContainerSet
2489  def __get_quad_containers(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_quad_containers, getfunc=self.get_quad_container, erasefunc=self.erase_quad_container, appendfunc=self.add_quad_container, extendfunc=self.add_quad_containers, clearfunc=self.clear_quad_containers, indexfunc=self._python_index_quad_container)
2490  def __set_quad_containers(self, obj): IMP._list_util.set_varlist(self.quad_containers, obj)
2491  def __del_quad_containers(self): IMP._list_util.del_varlist(self.quad_containers)
2492  quad_containers = property(__get_quad_containers, __set_quad_containers, __del_quad_containers, doc="List of ##ucnames")
2493 
2494  def remove_quad_container(self, d):
2495  r"""remove_quad_container(QuadContainerSet self, QuadContainer d)"""
2496  return _IMP_container.QuadContainerSet_remove_quad_container(self, d)
2497 
2498  def _python_index_quad_container(self, d, start, stop):
2499  r"""_python_index_quad_container(QuadContainerSet self, QuadContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2500  return _IMP_container.QuadContainerSet__python_index_quad_container(self, d, start, stop)
2501 
2502  def remove_quad_containers(self, d):
2503  r"""remove_quad_containers(QuadContainerSet self, IMP::QuadContainers const & d)"""
2504  return _IMP_container.QuadContainerSet_remove_quad_containers(self, d)
2505 
2506  def set_quad_containers(self, ps):
2507  r"""set_quad_containers(QuadContainerSet self, IMP::QuadContainers const & ps)"""
2508  return _IMP_container.QuadContainerSet_set_quad_containers(self, ps)
2509 
2510  def set_quad_containers_order(self, objs):
2511  r"""set_quad_containers_order(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2512  return _IMP_container.QuadContainerSet_set_quad_containers_order(self, objs)
2513 
2514  def add_quad_container(self, obj):
2515  r"""add_quad_container(QuadContainerSet self, QuadContainer obj) -> unsigned int"""
2516  return _IMP_container.QuadContainerSet_add_quad_container(self, obj)
2517 
2518  def add_quad_containers(self, objs):
2519  r"""add_quad_containers(QuadContainerSet self, IMP::QuadContainers const & objs)"""
2520  return _IMP_container.QuadContainerSet_add_quad_containers(self, objs)
2521 
2522  def clear_quad_containers(self):
2523  r"""clear_quad_containers(QuadContainerSet self)"""
2524  return _IMP_container.QuadContainerSet_clear_quad_containers(self)
2525 
2526  def get_number_of_quad_containers(self):
2527  r"""get_number_of_quad_containers(QuadContainerSet self) -> unsigned int"""
2528  return _IMP_container.QuadContainerSet_get_number_of_quad_containers(self)
2529 
2530  def get_has_quad_containers(self):
2531  r"""get_has_quad_containers(QuadContainerSet self) -> bool"""
2532  return _IMP_container.QuadContainerSet_get_has_quad_containers(self)
2533 
2534  def get_quad_container(self, i):
2535  r"""get_quad_container(QuadContainerSet self, unsigned int i) -> QuadContainer"""
2536  return _IMP_container.QuadContainerSet_get_quad_container(self, i)
2537 
2538  def get_quad_containers(self):
2539  r"""get_quad_containers(QuadContainerSet self) -> IMP::QuadContainers"""
2540  return _IMP_container.QuadContainerSet_get_quad_containers(self)
2541 
2542  def erase_quad_container(self, i):
2543  r"""erase_quad_container(QuadContainerSet self, unsigned int i)"""
2544  return _IMP_container.QuadContainerSet_erase_quad_container(self, i)
2545 
2546  def reserve_quad_containers(self, sz):
2547  r"""reserve_quad_containers(QuadContainerSet self, unsigned int sz)"""
2548  return _IMP_container.QuadContainerSet_reserve_quad_containers(self, sz)
2549 
2550  def do_get_inputs(self):
2551  r"""do_get_inputs(QuadContainerSet self) -> IMP::ModelObjectsTemp"""
2552  return _IMP_container.QuadContainerSet_do_get_inputs(self)
2553 
2554  def __str__(self):
2555  r"""__str__(QuadContainerSet self) -> std::string"""
2556  return _IMP_container.QuadContainerSet___str__(self)
2557 
2558  def __repr__(self):
2559  r"""__repr__(QuadContainerSet self) -> std::string"""
2560  return _IMP_container.QuadContainerSet___repr__(self)
2561 
2562  @staticmethod
2563  def get_from(o):
2564  return _object_cast_to_QuadContainerSet(o)
2565 
2566 
2567 # Register QuadContainerSet in _IMP_container:
2568 _IMP_container.QuadContainerSet_swigregister(QuadContainerSet)
2569 class QuadsConstraint(IMP.Constraint):
2570  r"""Proxy of C++ IMP::container::QuadsConstraint class."""
2571 
2572  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2573 
2574  def __init__(self, *args):
2575  r"""
2576  __init__(QuadsConstraint self, QuadModifier before, QuadModifier after, _QuadContainerAdaptor c, std::string name="QuadsConstraint %1%") -> QuadsConstraint
2577  __init__(QuadsConstraint self) -> QuadsConstraint
2578  """
2579  _IMP_container.QuadsConstraint_swiginit(self, _IMP_container.new_QuadsConstraint(*args))
2580 
2581  def get_version_info(self):
2582  r"""get_version_info(QuadsConstraint self) -> VersionInfo"""
2583  return _IMP_container.QuadsConstraint_get_version_info(self)
2584  __swig_destroy__ = _IMP_container.delete_QuadsConstraint
2585 
2586  def __str__(self):
2587  r"""__str__(QuadsConstraint self) -> std::string"""
2588  return _IMP_container.QuadsConstraint___str__(self)
2589 
2590  def __repr__(self):
2591  r"""__repr__(QuadsConstraint self) -> std::string"""
2592  return _IMP_container.QuadsConstraint___repr__(self)
2593 
2594  @staticmethod
2595  def get_from(o):
2596  return _object_cast_to_QuadsConstraint(o)
2597 
2598 
2599  def _get_as_binary(self):
2600  r"""_get_as_binary(QuadsConstraint self) -> PyObject *"""
2601  return _IMP_container.QuadsConstraint__get_as_binary(self)
2602 
2603  def _set_from_binary(self, p):
2604  r"""_set_from_binary(QuadsConstraint self, PyObject * p)"""
2605  return _IMP_container.QuadsConstraint__set_from_binary(self, p)
2606 
2607  def __getstate__(self):
2608  p = self._get_as_binary()
2609  if len(self.__dict__) > 1:
2610  d = self.__dict__.copy()
2611  del d['this']
2612  p = (d, p)
2613  return p
2614 
2615  def __setstate__(self, p):
2616  if not hasattr(self, 'this'):
2617  self.__init__()
2618  if isinstance(p, tuple):
2619  d, p = p
2620  self.__dict__.update(d)
2621  return self._set_from_binary(p)
2622 
2623 
2624 # Register QuadsConstraint in _IMP_container:
2625 _IMP_container.QuadsConstraint_swigregister(QuadsConstraint)
2626 class QuadsOptimizerState(IMP.OptimizerState):
2627  r"""Proxy of C++ IMP::container::QuadsOptimizerState class."""
2628 
2629  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2630 
2631  def __init__(self, *args):
2632  r"""__init__(QuadsOptimizerState self, _QuadContainerAdaptor c, QuadModifier gf, std::string name="QuadsOptimizerState %1%") -> QuadsOptimizerState"""
2633  _IMP_container.QuadsOptimizerState_swiginit(self, _IMP_container.new_QuadsOptimizerState(*args))
2634 
2635  def do_update(self, call):
2636  r"""do_update(QuadsOptimizerState self, unsigned int call)"""
2637  return _IMP_container.QuadsOptimizerState_do_update(self, call)
2638 
2639  def get_version_info(self):
2640  r"""get_version_info(QuadsOptimizerState self) -> VersionInfo"""
2641  return _IMP_container.QuadsOptimizerState_get_version_info(self)
2642  __swig_destroy__ = _IMP_container.delete_QuadsOptimizerState
2643 
2644  def __str__(self):
2645  r"""__str__(QuadsOptimizerState self) -> std::string"""
2646  return _IMP_container.QuadsOptimizerState___str__(self)
2647 
2648  def __repr__(self):
2649  r"""__repr__(QuadsOptimizerState self) -> std::string"""
2650  return _IMP_container.QuadsOptimizerState___repr__(self)
2651 
2652  @staticmethod
2653  def get_from(o):
2654  return _object_cast_to_QuadsOptimizerState(o)
2655 
2656 
2657 # Register QuadsOptimizerState in _IMP_container:
2658 _IMP_container.QuadsOptimizerState_swigregister(QuadsOptimizerState)
2659 class QuadsRestraint(IMP.Restraint):
2660  r"""Proxy of C++ IMP::container::QuadsRestraint class."""
2661 
2662  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2663 
2664  def __init__(self, *args):
2665  r"""
2666  __init__(QuadsRestraint self, QuadScore ss, _QuadContainerAdaptor pc, std::string name="QuadsRestraint %1%") -> QuadsRestraint
2667  __init__(QuadsRestraint self) -> QuadsRestraint
2668  """
2669  _IMP_container.QuadsRestraint_swiginit(self, _IMP_container.new_QuadsRestraint(*args))
2670 
2671  def do_get_inputs(self):
2672  r"""do_get_inputs(QuadsRestraint self) -> IMP::ModelObjectsTemp"""
2673  return _IMP_container.QuadsRestraint_do_get_inputs(self)
2674 
2675  def get_version_info(self):
2676  r"""get_version_info(QuadsRestraint self) -> VersionInfo"""
2677  return _IMP_container.QuadsRestraint_get_version_info(self)
2678  __swig_destroy__ = _IMP_container.delete_QuadsRestraint
2679 
2680  def __str__(self):
2681  r"""__str__(QuadsRestraint self) -> std::string"""
2682  return _IMP_container.QuadsRestraint___str__(self)
2683 
2684  def __repr__(self):
2685  r"""__repr__(QuadsRestraint self) -> std::string"""
2686  return _IMP_container.QuadsRestraint___repr__(self)
2687 
2688  @staticmethod
2689  def get_from(o):
2690  return _object_cast_to_QuadsRestraint(o)
2691 
2692 
2693  def _get_as_binary(self):
2694  r"""_get_as_binary(QuadsRestraint self) -> PyObject *"""
2695  return _IMP_container.QuadsRestraint__get_as_binary(self)
2696 
2697  def _set_from_binary(self, p):
2698  r"""_set_from_binary(QuadsRestraint self, PyObject * p)"""
2699  return _IMP_container.QuadsRestraint__set_from_binary(self, p)
2700 
2701  def __getstate__(self):
2702  p = self._get_as_binary()
2703  if len(self.__dict__) > 1:
2704  d = self.__dict__.copy()
2705  del d['this']
2706  p = (d, p)
2707  return p
2708 
2709  def __setstate__(self, p):
2710  if not hasattr(self, 'this'):
2711  self.__init__()
2712  if isinstance(p, tuple):
2713  d, p = p
2714  self.__dict__.update(d)
2715  return self._set_from_binary(p)
2716 
2717 
2718 # Register QuadsRestraint in _IMP_container:
2719 _IMP_container.QuadsRestraint_swigregister(QuadsRestraint)
2720 class SingletonContainerSet(IMP.SingletonContainer):
2721  r"""Proxy of C++ IMP::container::SingletonContainerSet class."""
2722 
2723  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2724 
2725  def __init__(self, *args):
2726  r"""
2727  __init__(SingletonContainerSet self, Model m, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2728  __init__(SingletonContainerSet self, IMP::SingletonContainersTemp const & pc, std::string name="SingletonContainerSet %1%") -> SingletonContainerSet
2729  """
2730  _IMP_container.SingletonContainerSet_swiginit(self, _IMP_container.new_SingletonContainerSet(*args))
2731 
2732  def do_apply(self, sm):
2733  r"""do_apply(SingletonContainerSet self, SingletonModifier sm)"""
2734  return _IMP_container.SingletonContainerSet_do_apply(self, sm)
2735 
2736  def do_apply_moved(self, sm, moved_pis, reset_pis):
2737  r"""do_apply_moved(SingletonContainerSet self, SingletonModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2738  return _IMP_container.SingletonContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2739 
2740  def get_version_info(self):
2741  r"""get_version_info(SingletonContainerSet self) -> VersionInfo"""
2742  return _IMP_container.SingletonContainerSet_get_version_info(self)
2743  __swig_destroy__ = _IMP_container.delete_SingletonContainerSet
2744  def __get_singleton_containers(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_singleton_containers, getfunc=self.get_singleton_container, erasefunc=self.erase_singleton_container, appendfunc=self.add_singleton_container, extendfunc=self.add_singleton_containers, clearfunc=self.clear_singleton_containers, indexfunc=self._python_index_singleton_container)
2745  def __set_singleton_containers(self, obj): IMP._list_util.set_varlist(self.singleton_containers, obj)
2746  def __del_singleton_containers(self): IMP._list_util.del_varlist(self.singleton_containers)
2747  singleton_containers = property(__get_singleton_containers, __set_singleton_containers, __del_singleton_containers, doc="List of ##ucnames")
2748 
2749  def remove_singleton_container(self, d):
2750  r"""remove_singleton_container(SingletonContainerSet self, SingletonContainer d)"""
2751  return _IMP_container.SingletonContainerSet_remove_singleton_container(self, d)
2752 
2753  def _python_index_singleton_container(self, d, start, stop):
2754  r"""_python_index_singleton_container(SingletonContainerSet self, SingletonContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
2755  return _IMP_container.SingletonContainerSet__python_index_singleton_container(self, d, start, stop)
2756 
2757  def remove_singleton_containers(self, d):
2758  r"""remove_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & d)"""
2759  return _IMP_container.SingletonContainerSet_remove_singleton_containers(self, d)
2760 
2761  def set_singleton_containers(self, ps):
2762  r"""set_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & ps)"""
2763  return _IMP_container.SingletonContainerSet_set_singleton_containers(self, ps)
2764 
2765  def set_singleton_containers_order(self, objs):
2766  r"""set_singleton_containers_order(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2767  return _IMP_container.SingletonContainerSet_set_singleton_containers_order(self, objs)
2768 
2769  def add_singleton_container(self, obj):
2770  r"""add_singleton_container(SingletonContainerSet self, SingletonContainer obj) -> unsigned int"""
2771  return _IMP_container.SingletonContainerSet_add_singleton_container(self, obj)
2772 
2773  def add_singleton_containers(self, objs):
2774  r"""add_singleton_containers(SingletonContainerSet self, IMP::SingletonContainers const & objs)"""
2775  return _IMP_container.SingletonContainerSet_add_singleton_containers(self, objs)
2776 
2777  def clear_singleton_containers(self):
2778  r"""clear_singleton_containers(SingletonContainerSet self)"""
2779  return _IMP_container.SingletonContainerSet_clear_singleton_containers(self)
2780 
2781  def get_number_of_singleton_containers(self):
2782  r"""get_number_of_singleton_containers(SingletonContainerSet self) -> unsigned int"""
2783  return _IMP_container.SingletonContainerSet_get_number_of_singleton_containers(self)
2784 
2785  def get_has_singleton_containers(self):
2786  r"""get_has_singleton_containers(SingletonContainerSet self) -> bool"""
2787  return _IMP_container.SingletonContainerSet_get_has_singleton_containers(self)
2788 
2789  def get_singleton_container(self, i):
2790  r"""get_singleton_container(SingletonContainerSet self, unsigned int i) -> SingletonContainer"""
2791  return _IMP_container.SingletonContainerSet_get_singleton_container(self, i)
2792 
2793  def get_singleton_containers(self):
2794  r"""get_singleton_containers(SingletonContainerSet self) -> IMP::SingletonContainers"""
2795  return _IMP_container.SingletonContainerSet_get_singleton_containers(self)
2796 
2797  def erase_singleton_container(self, i):
2798  r"""erase_singleton_container(SingletonContainerSet self, unsigned int i)"""
2799  return _IMP_container.SingletonContainerSet_erase_singleton_container(self, i)
2800 
2801  def reserve_singleton_containers(self, sz):
2802  r"""reserve_singleton_containers(SingletonContainerSet self, unsigned int sz)"""
2803  return _IMP_container.SingletonContainerSet_reserve_singleton_containers(self, sz)
2804 
2805  def do_get_inputs(self):
2806  r"""do_get_inputs(SingletonContainerSet self) -> IMP::ModelObjectsTemp"""
2807  return _IMP_container.SingletonContainerSet_do_get_inputs(self)
2808 
2809  def __str__(self):
2810  r"""__str__(SingletonContainerSet self) -> std::string"""
2811  return _IMP_container.SingletonContainerSet___str__(self)
2812 
2813  def __repr__(self):
2814  r"""__repr__(SingletonContainerSet self) -> std::string"""
2815  return _IMP_container.SingletonContainerSet___repr__(self)
2816 
2817  @staticmethod
2818  def get_from(o):
2819  return _object_cast_to_SingletonContainerSet(o)
2820 
2821 
2822 # Register SingletonContainerSet in _IMP_container:
2823 _IMP_container.SingletonContainerSet_swigregister(SingletonContainerSet)
2824 class SingletonsConstraint(IMP.Constraint):
2825  r"""Proxy of C++ IMP::container::SingletonsConstraint class."""
2826 
2827  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2828 
2829  def __init__(self, *args):
2830  r"""
2831  __init__(SingletonsConstraint self, SingletonModifier before, SingletonModifier after, _SingletonContainerAdaptor c, std::string name="SingletonsConstraint %1%") -> SingletonsConstraint
2832  __init__(SingletonsConstraint self) -> SingletonsConstraint
2833  """
2834  _IMP_container.SingletonsConstraint_swiginit(self, _IMP_container.new_SingletonsConstraint(*args))
2835 
2836  def get_version_info(self):
2837  r"""get_version_info(SingletonsConstraint self) -> VersionInfo"""
2838  return _IMP_container.SingletonsConstraint_get_version_info(self)
2839  __swig_destroy__ = _IMP_container.delete_SingletonsConstraint
2840 
2841  def __str__(self):
2842  r"""__str__(SingletonsConstraint self) -> std::string"""
2843  return _IMP_container.SingletonsConstraint___str__(self)
2844 
2845  def __repr__(self):
2846  r"""__repr__(SingletonsConstraint self) -> std::string"""
2847  return _IMP_container.SingletonsConstraint___repr__(self)
2848 
2849  @staticmethod
2850  def get_from(o):
2851  return _object_cast_to_SingletonsConstraint(o)
2852 
2853 
2854  def _get_as_binary(self):
2855  r"""_get_as_binary(SingletonsConstraint self) -> PyObject *"""
2856  return _IMP_container.SingletonsConstraint__get_as_binary(self)
2857 
2858  def _set_from_binary(self, p):
2859  r"""_set_from_binary(SingletonsConstraint self, PyObject * p)"""
2860  return _IMP_container.SingletonsConstraint__set_from_binary(self, p)
2861 
2862  def __getstate__(self):
2863  p = self._get_as_binary()
2864  if len(self.__dict__) > 1:
2865  d = self.__dict__.copy()
2866  del d['this']
2867  p = (d, p)
2868  return p
2869 
2870  def __setstate__(self, p):
2871  if not hasattr(self, 'this'):
2872  self.__init__()
2873  if isinstance(p, tuple):
2874  d, p = p
2875  self.__dict__.update(d)
2876  return self._set_from_binary(p)
2877 
2878 
2879 # Register SingletonsConstraint in _IMP_container:
2880 _IMP_container.SingletonsConstraint_swigregister(SingletonsConstraint)
2881 class SingletonsOptimizerState(IMP.OptimizerState):
2882  r"""Proxy of C++ IMP::container::SingletonsOptimizerState class."""
2883 
2884  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2885 
2886  def __init__(self, *args):
2887  r"""__init__(SingletonsOptimizerState self, _SingletonContainerAdaptor c, SingletonModifier gf, std::string name="SingletonsOptimizerState %1%") -> SingletonsOptimizerState"""
2888  _IMP_container.SingletonsOptimizerState_swiginit(self, _IMP_container.new_SingletonsOptimizerState(*args))
2889 
2890  def do_update(self, call):
2891  r"""do_update(SingletonsOptimizerState self, unsigned int call)"""
2892  return _IMP_container.SingletonsOptimizerState_do_update(self, call)
2893 
2894  def get_version_info(self):
2895  r"""get_version_info(SingletonsOptimizerState self) -> VersionInfo"""
2896  return _IMP_container.SingletonsOptimizerState_get_version_info(self)
2897  __swig_destroy__ = _IMP_container.delete_SingletonsOptimizerState
2898 
2899  def __str__(self):
2900  r"""__str__(SingletonsOptimizerState self) -> std::string"""
2901  return _IMP_container.SingletonsOptimizerState___str__(self)
2902 
2903  def __repr__(self):
2904  r"""__repr__(SingletonsOptimizerState self) -> std::string"""
2905  return _IMP_container.SingletonsOptimizerState___repr__(self)
2906 
2907  @staticmethod
2908  def get_from(o):
2909  return _object_cast_to_SingletonsOptimizerState(o)
2910 
2911 
2912 # Register SingletonsOptimizerState in _IMP_container:
2913 _IMP_container.SingletonsOptimizerState_swigregister(SingletonsOptimizerState)
2914 class SingletonsRestraint(IMP.Restraint):
2915  r"""Proxy of C++ IMP::container::SingletonsRestraint class."""
2916 
2917  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2918 
2919  def __init__(self, *args):
2920  r"""
2921  __init__(SingletonsRestraint self, SingletonScore ss, _SingletonContainerAdaptor pc, std::string name="SingletonsRestraint %1%") -> SingletonsRestraint
2922  __init__(SingletonsRestraint self) -> SingletonsRestraint
2923  """
2924  _IMP_container.SingletonsRestraint_swiginit(self, _IMP_container.new_SingletonsRestraint(*args))
2925 
2926  def do_get_inputs(self):
2927  r"""do_get_inputs(SingletonsRestraint self) -> IMP::ModelObjectsTemp"""
2928  return _IMP_container.SingletonsRestraint_do_get_inputs(self)
2929 
2930  def get_version_info(self):
2931  r"""get_version_info(SingletonsRestraint self) -> VersionInfo"""
2932  return _IMP_container.SingletonsRestraint_get_version_info(self)
2933  __swig_destroy__ = _IMP_container.delete_SingletonsRestraint
2934 
2935  def __str__(self):
2936  r"""__str__(SingletonsRestraint self) -> std::string"""
2937  return _IMP_container.SingletonsRestraint___str__(self)
2938 
2939  def __repr__(self):
2940  r"""__repr__(SingletonsRestraint self) -> std::string"""
2941  return _IMP_container.SingletonsRestraint___repr__(self)
2942 
2943  @staticmethod
2944  def get_from(o):
2945  return _object_cast_to_SingletonsRestraint(o)
2946 
2947 
2948  def _get_as_binary(self):
2949  r"""_get_as_binary(SingletonsRestraint self) -> PyObject *"""
2950  return _IMP_container.SingletonsRestraint__get_as_binary(self)
2951 
2952  def _set_from_binary(self, p):
2953  r"""_set_from_binary(SingletonsRestraint self, PyObject * p)"""
2954  return _IMP_container.SingletonsRestraint__set_from_binary(self, p)
2955 
2956  def __getstate__(self):
2957  p = self._get_as_binary()
2958  if len(self.__dict__) > 1:
2959  d = self.__dict__.copy()
2960  del d['this']
2961  p = (d, p)
2962  return p
2963 
2964  def __setstate__(self, p):
2965  if not hasattr(self, 'this'):
2966  self.__init__()
2967  if isinstance(p, tuple):
2968  d, p = p
2969  self.__dict__.update(d)
2970  return self._set_from_binary(p)
2971 
2972 
2973 # Register SingletonsRestraint in _IMP_container:
2974 _IMP_container.SingletonsRestraint_swigregister(SingletonsRestraint)
2975 class TripletContainerSet(IMP.TripletContainer):
2976  r"""Proxy of C++ IMP::container::TripletContainerSet class."""
2977 
2978  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
2979 
2980  def __init__(self, *args):
2981  r"""
2982  __init__(TripletContainerSet self, Model m, std::string name="TripletContainerSet %1%") -> TripletContainerSet
2983  __init__(TripletContainerSet self, IMP::TripletContainersTemp const & pc, std::string name="TripletContainerSet %1%") -> TripletContainerSet
2984  """
2985  _IMP_container.TripletContainerSet_swiginit(self, _IMP_container.new_TripletContainerSet(*args))
2986 
2987  def do_apply(self, sm):
2988  r"""do_apply(TripletContainerSet self, TripletModifier sm)"""
2989  return _IMP_container.TripletContainerSet_do_apply(self, sm)
2990 
2991  def do_apply_moved(self, sm, moved_pis, reset_pis):
2992  r"""do_apply_moved(TripletContainerSet self, TripletModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
2993  return _IMP_container.TripletContainerSet_do_apply_moved(self, sm, moved_pis, reset_pis)
2994 
2995  def get_version_info(self):
2996  r"""get_version_info(TripletContainerSet self) -> VersionInfo"""
2997  return _IMP_container.TripletContainerSet_get_version_info(self)
2998  __swig_destroy__ = _IMP_container.delete_TripletContainerSet
2999  def __get_triplet_containers(self): return IMP._list_util.VarList(getdimfunc=self.get_number_of_triplet_containers, getfunc=self.get_triplet_container, erasefunc=self.erase_triplet_container, appendfunc=self.add_triplet_container, extendfunc=self.add_triplet_containers, clearfunc=self.clear_triplet_containers, indexfunc=self._python_index_triplet_container)
3000  def __set_triplet_containers(self, obj): IMP._list_util.set_varlist(self.triplet_containers, obj)
3001  def __del_triplet_containers(self): IMP._list_util.del_varlist(self.triplet_containers)
3002  triplet_containers = property(__get_triplet_containers, __set_triplet_containers, __del_triplet_containers, doc="List of ##ucnames")
3003 
3004  def remove_triplet_container(self, d):
3005  r"""remove_triplet_container(TripletContainerSet self, TripletContainer d)"""
3006  return _IMP_container.TripletContainerSet_remove_triplet_container(self, d)
3007 
3008  def _python_index_triplet_container(self, d, start, stop):
3009  r"""_python_index_triplet_container(TripletContainerSet self, TripletContainer d, unsigned int start, unsigned int stop) -> unsigned int"""
3010  return _IMP_container.TripletContainerSet__python_index_triplet_container(self, d, start, stop)
3011 
3012  def remove_triplet_containers(self, d):
3013  r"""remove_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & d)"""
3014  return _IMP_container.TripletContainerSet_remove_triplet_containers(self, d)
3015 
3016  def set_triplet_containers(self, ps):
3017  r"""set_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & ps)"""
3018  return _IMP_container.TripletContainerSet_set_triplet_containers(self, ps)
3019 
3020  def set_triplet_containers_order(self, objs):
3021  r"""set_triplet_containers_order(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3022  return _IMP_container.TripletContainerSet_set_triplet_containers_order(self, objs)
3023 
3024  def add_triplet_container(self, obj):
3025  r"""add_triplet_container(TripletContainerSet self, TripletContainer obj) -> unsigned int"""
3026  return _IMP_container.TripletContainerSet_add_triplet_container(self, obj)
3027 
3028  def add_triplet_containers(self, objs):
3029  r"""add_triplet_containers(TripletContainerSet self, IMP::TripletContainers const & objs)"""
3030  return _IMP_container.TripletContainerSet_add_triplet_containers(self, objs)
3031 
3032  def clear_triplet_containers(self):
3033  r"""clear_triplet_containers(TripletContainerSet self)"""
3034  return _IMP_container.TripletContainerSet_clear_triplet_containers(self)
3035 
3036  def get_number_of_triplet_containers(self):
3037  r"""get_number_of_triplet_containers(TripletContainerSet self) -> unsigned int"""
3038  return _IMP_container.TripletContainerSet_get_number_of_triplet_containers(self)
3039 
3040  def get_has_triplet_containers(self):
3041  r"""get_has_triplet_containers(TripletContainerSet self) -> bool"""
3042  return _IMP_container.TripletContainerSet_get_has_triplet_containers(self)
3043 
3044  def get_triplet_container(self, i):
3045  r"""get_triplet_container(TripletContainerSet self, unsigned int i) -> TripletContainer"""
3046  return _IMP_container.TripletContainerSet_get_triplet_container(self, i)
3047 
3048  def get_triplet_containers(self):
3049  r"""get_triplet_containers(TripletContainerSet self) -> IMP::TripletContainers"""
3050  return _IMP_container.TripletContainerSet_get_triplet_containers(self)
3051 
3052  def erase_triplet_container(self, i):
3053  r"""erase_triplet_container(TripletContainerSet self, unsigned int i)"""
3054  return _IMP_container.TripletContainerSet_erase_triplet_container(self, i)
3055 
3056  def reserve_triplet_containers(self, sz):
3057  r"""reserve_triplet_containers(TripletContainerSet self, unsigned int sz)"""
3058  return _IMP_container.TripletContainerSet_reserve_triplet_containers(self, sz)
3059 
3060  def do_get_inputs(self):
3061  r"""do_get_inputs(TripletContainerSet self) -> IMP::ModelObjectsTemp"""
3062  return _IMP_container.TripletContainerSet_do_get_inputs(self)
3063 
3064  def __str__(self):
3065  r"""__str__(TripletContainerSet self) -> std::string"""
3066  return _IMP_container.TripletContainerSet___str__(self)
3067 
3068  def __repr__(self):
3069  r"""__repr__(TripletContainerSet self) -> std::string"""
3070  return _IMP_container.TripletContainerSet___repr__(self)
3071 
3072  @staticmethod
3073  def get_from(o):
3074  return _object_cast_to_TripletContainerSet(o)
3075 
3076 
3077 # Register TripletContainerSet in _IMP_container:
3078 _IMP_container.TripletContainerSet_swigregister(TripletContainerSet)
3079 class TripletsConstraint(IMP.Constraint):
3080  r"""Proxy of C++ IMP::container::TripletsConstraint class."""
3081 
3082  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3083 
3084  def __init__(self, *args):
3085  r"""
3086  __init__(TripletsConstraint self, TripletModifier before, TripletModifier after, _TripletContainerAdaptor c, std::string name="TripletsConstraint %1%") -> TripletsConstraint
3087  __init__(TripletsConstraint self) -> TripletsConstraint
3088  """
3089  _IMP_container.TripletsConstraint_swiginit(self, _IMP_container.new_TripletsConstraint(*args))
3090 
3091  def get_version_info(self):
3092  r"""get_version_info(TripletsConstraint self) -> VersionInfo"""
3093  return _IMP_container.TripletsConstraint_get_version_info(self)
3094  __swig_destroy__ = _IMP_container.delete_TripletsConstraint
3095 
3096  def __str__(self):
3097  r"""__str__(TripletsConstraint self) -> std::string"""
3098  return _IMP_container.TripletsConstraint___str__(self)
3099 
3100  def __repr__(self):
3101  r"""__repr__(TripletsConstraint self) -> std::string"""
3102  return _IMP_container.TripletsConstraint___repr__(self)
3103 
3104  @staticmethod
3105  def get_from(o):
3106  return _object_cast_to_TripletsConstraint(o)
3107 
3108 
3109  def _get_as_binary(self):
3110  r"""_get_as_binary(TripletsConstraint self) -> PyObject *"""
3111  return _IMP_container.TripletsConstraint__get_as_binary(self)
3112 
3113  def _set_from_binary(self, p):
3114  r"""_set_from_binary(TripletsConstraint self, PyObject * p)"""
3115  return _IMP_container.TripletsConstraint__set_from_binary(self, p)
3116 
3117  def __getstate__(self):
3118  p = self._get_as_binary()
3119  if len(self.__dict__) > 1:
3120  d = self.__dict__.copy()
3121  del d['this']
3122  p = (d, p)
3123  return p
3124 
3125  def __setstate__(self, p):
3126  if not hasattr(self, 'this'):
3127  self.__init__()
3128  if isinstance(p, tuple):
3129  d, p = p
3130  self.__dict__.update(d)
3131  return self._set_from_binary(p)
3132 
3133 
3134 # Register TripletsConstraint in _IMP_container:
3135 _IMP_container.TripletsConstraint_swigregister(TripletsConstraint)
3136 class TripletsOptimizerState(IMP.OptimizerState):
3137  r"""Proxy of C++ IMP::container::TripletsOptimizerState class."""
3138 
3139  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3140 
3141  def __init__(self, *args):
3142  r"""__init__(TripletsOptimizerState self, _TripletContainerAdaptor c, TripletModifier gf, std::string name="TripletsOptimizerState %1%") -> TripletsOptimizerState"""
3143  _IMP_container.TripletsOptimizerState_swiginit(self, _IMP_container.new_TripletsOptimizerState(*args))
3144 
3145  def do_update(self, call):
3146  r"""do_update(TripletsOptimizerState self, unsigned int call)"""
3147  return _IMP_container.TripletsOptimizerState_do_update(self, call)
3148 
3149  def get_version_info(self):
3150  r"""get_version_info(TripletsOptimizerState self) -> VersionInfo"""
3151  return _IMP_container.TripletsOptimizerState_get_version_info(self)
3152  __swig_destroy__ = _IMP_container.delete_TripletsOptimizerState
3153 
3154  def __str__(self):
3155  r"""__str__(TripletsOptimizerState self) -> std::string"""
3156  return _IMP_container.TripletsOptimizerState___str__(self)
3157 
3158  def __repr__(self):
3159  r"""__repr__(TripletsOptimizerState self) -> std::string"""
3160  return _IMP_container.TripletsOptimizerState___repr__(self)
3161 
3162  @staticmethod
3163  def get_from(o):
3164  return _object_cast_to_TripletsOptimizerState(o)
3165 
3166 
3167 # Register TripletsOptimizerState in _IMP_container:
3168 _IMP_container.TripletsOptimizerState_swigregister(TripletsOptimizerState)
3169 class TripletsRestraint(IMP.Restraint):
3170  r"""Proxy of C++ IMP::container::TripletsRestraint class."""
3171 
3172  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3173 
3174  def __init__(self, *args):
3175  r"""
3176  __init__(TripletsRestraint self, TripletScore ss, _TripletContainerAdaptor pc, std::string name="TripletsRestraint %1%") -> TripletsRestraint
3177  __init__(TripletsRestraint self) -> TripletsRestraint
3178  """
3179  _IMP_container.TripletsRestraint_swiginit(self, _IMP_container.new_TripletsRestraint(*args))
3180 
3181  def do_get_inputs(self):
3182  r"""do_get_inputs(TripletsRestraint self) -> IMP::ModelObjectsTemp"""
3183  return _IMP_container.TripletsRestraint_do_get_inputs(self)
3184 
3185  def get_version_info(self):
3186  r"""get_version_info(TripletsRestraint self) -> VersionInfo"""
3187  return _IMP_container.TripletsRestraint_get_version_info(self)
3188  __swig_destroy__ = _IMP_container.delete_TripletsRestraint
3189 
3190  def __str__(self):
3191  r"""__str__(TripletsRestraint self) -> std::string"""
3192  return _IMP_container.TripletsRestraint___str__(self)
3193 
3194  def __repr__(self):
3195  r"""__repr__(TripletsRestraint self) -> std::string"""
3196  return _IMP_container.TripletsRestraint___repr__(self)
3197 
3198  @staticmethod
3199  def get_from(o):
3200  return _object_cast_to_TripletsRestraint(o)
3201 
3202 
3203  def _get_as_binary(self):
3204  r"""_get_as_binary(TripletsRestraint self) -> PyObject *"""
3205  return _IMP_container.TripletsRestraint__get_as_binary(self)
3206 
3207  def _set_from_binary(self, p):
3208  r"""_set_from_binary(TripletsRestraint self, PyObject * p)"""
3209  return _IMP_container.TripletsRestraint__set_from_binary(self, p)
3210 
3211  def __getstate__(self):
3212  p = self._get_as_binary()
3213  if len(self.__dict__) > 1:
3214  d = self.__dict__.copy()
3215  del d['this']
3216  p = (d, p)
3217  return p
3218 
3219  def __setstate__(self, p):
3220  if not hasattr(self, 'this'):
3221  self.__init__()
3222  if isinstance(p, tuple):
3223  d, p = p
3224  self.__dict__.update(d)
3225  return self._set_from_binary(p)
3226 
3227 
3228 # Register TripletsRestraint in _IMP_container:
3229 _IMP_container.TripletsRestraint_swigregister(TripletsRestraint)
3230 class InContainerSingletonFilter(IMP.SingletonPredicate):
3231  r"""Proxy of C++ IMP::container::InContainerSingletonFilter class."""
3232 
3233  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3234 
3235  def __init__(self, *args):
3236  r"""
3237  __init__(InContainerSingletonFilter self, SingletonContainer c, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3238  __init__(InContainerSingletonFilter self, SingletonContainer c, bool handle_permutations, std::string name="SingletonFilter %1%") -> InContainerSingletonFilter
3239  """
3240  _IMP_container.InContainerSingletonFilter_swiginit(self, _IMP_container.new_InContainerSingletonFilter(*args))
3241 
3242  def do_get_inputs(self, m, pi):
3243  r"""do_get_inputs(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3244  return _IMP_container.InContainerSingletonFilter_do_get_inputs(self, m, pi)
3245 
3246  def get_value(self, *args):
3247  r"""
3248  get_value(InContainerSingletonFilter self, Particle a) -> int
3249  get_value(InContainerSingletonFilter self, IMP::ParticlesTemp const & o) -> IMP::Ints
3250  """
3251  return _IMP_container.InContainerSingletonFilter_get_value(self, *args)
3252 
3253  def get_value_index(self, *args):
3254  r"""
3255  get_value_index(InContainerSingletonFilter self, Model arg2, ParticleIndex vt) -> int
3256  get_value_index(InContainerSingletonFilter self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
3257  """
3258  return _IMP_container.InContainerSingletonFilter_get_value_index(self, *args)
3259 
3260  def get_version_info(self):
3261  r"""get_version_info(InContainerSingletonFilter self) -> VersionInfo"""
3262  return _IMP_container.InContainerSingletonFilter_get_version_info(self)
3263  __swig_destroy__ = _IMP_container.delete_InContainerSingletonFilter
3264 
3265  def __str__(self):
3266  r"""__str__(InContainerSingletonFilter self) -> std::string"""
3267  return _IMP_container.InContainerSingletonFilter___str__(self)
3268 
3269  def __repr__(self):
3270  r"""__repr__(InContainerSingletonFilter self) -> std::string"""
3271  return _IMP_container.InContainerSingletonFilter___repr__(self)
3272 
3273  @staticmethod
3274  def get_from(o):
3275  return _object_cast_to_InContainerSingletonFilter(o)
3276 
3277 
3278 # Register InContainerSingletonFilter in _IMP_container:
3279 _IMP_container.InContainerSingletonFilter_swigregister(InContainerSingletonFilter)
3280 class InContainerPairFilter(IMP.PairPredicate):
3281  r"""Proxy of C++ IMP::container::InContainerPairFilter class."""
3282 
3283  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3284 
3285  def __init__(self, *args):
3286  r"""
3287  __init__(InContainerPairFilter self, PairContainer c, std::string name="PairFilter %1%") -> InContainerPairFilter
3288  __init__(InContainerPairFilter self, PairContainer c, bool handle_permutations, std::string name="PairFilter %1%") -> InContainerPairFilter
3289  """
3290  _IMP_container.InContainerPairFilter_swiginit(self, _IMP_container.new_InContainerPairFilter(*args))
3291 
3292  def do_get_inputs(self, m, pi):
3293  r"""do_get_inputs(InContainerPairFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3294  return _IMP_container.InContainerPairFilter_do_get_inputs(self, m, pi)
3295 
3296  def get_value(self, *args):
3297  r"""
3298  get_value(InContainerPairFilter self, IMP::ParticlePair const & a) -> int
3299  get_value(InContainerPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
3300  """
3301  return _IMP_container.InContainerPairFilter_get_value(self, *args)
3302 
3303  def get_value_index(self, *args):
3304  r"""
3305  get_value_index(InContainerPairFilter self, Model arg2, IMP::ParticleIndexPair const & vt) -> int
3306  get_value_index(InContainerPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
3307  """
3308  return _IMP_container.InContainerPairFilter_get_value_index(self, *args)
3309 
3310  def get_version_info(self):
3311  r"""get_version_info(InContainerPairFilter self) -> VersionInfo"""
3312  return _IMP_container.InContainerPairFilter_get_version_info(self)
3313  __swig_destroy__ = _IMP_container.delete_InContainerPairFilter
3314 
3315  def __str__(self):
3316  r"""__str__(InContainerPairFilter self) -> std::string"""
3317  return _IMP_container.InContainerPairFilter___str__(self)
3318 
3319  def __repr__(self):
3320  r"""__repr__(InContainerPairFilter self) -> std::string"""
3321  return _IMP_container.InContainerPairFilter___repr__(self)
3322 
3323  @staticmethod
3324  def get_from(o):
3325  return _object_cast_to_InContainerPairFilter(o)
3326 
3327 
3328 # Register InContainerPairFilter in _IMP_container:
3329 _IMP_container.InContainerPairFilter_swigregister(InContainerPairFilter)
3330 class InContainerTripletFilter(IMP.TripletPredicate):
3331  r"""Proxy of C++ IMP::container::InContainerTripletFilter class."""
3332 
3333  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3334 
3335  def __init__(self, *args):
3336  r"""
3337  __init__(InContainerTripletFilter self, TripletContainer c, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3338  __init__(InContainerTripletFilter self, TripletContainer c, bool handle_permutations, std::string name="TripletFilter %1%") -> InContainerTripletFilter
3339  """
3340  _IMP_container.InContainerTripletFilter_swiginit(self, _IMP_container.new_InContainerTripletFilter(*args))
3341 
3342  def do_get_inputs(self, m, pi):
3343  r"""do_get_inputs(InContainerTripletFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3344  return _IMP_container.InContainerTripletFilter_do_get_inputs(self, m, pi)
3345 
3346  def get_value(self, *args):
3347  r"""
3348  get_value(InContainerTripletFilter self, IMP::ParticleTriplet const & a) -> int
3349  get_value(InContainerTripletFilter self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
3350  """
3351  return _IMP_container.InContainerTripletFilter_get_value(self, *args)
3352 
3353  def get_value_index(self, *args):
3354  r"""
3355  get_value_index(InContainerTripletFilter self, Model arg2, IMP::ParticleIndexTriplet const & vt) -> int
3356  get_value_index(InContainerTripletFilter self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
3357  """
3358  return _IMP_container.InContainerTripletFilter_get_value_index(self, *args)
3359 
3360  def get_version_info(self):
3361  r"""get_version_info(InContainerTripletFilter self) -> VersionInfo"""
3362  return _IMP_container.InContainerTripletFilter_get_version_info(self)
3363  __swig_destroy__ = _IMP_container.delete_InContainerTripletFilter
3364 
3365  def __str__(self):
3366  r"""__str__(InContainerTripletFilter self) -> std::string"""
3367  return _IMP_container.InContainerTripletFilter___str__(self)
3368 
3369  def __repr__(self):
3370  r"""__repr__(InContainerTripletFilter self) -> std::string"""
3371  return _IMP_container.InContainerTripletFilter___repr__(self)
3372 
3373  @staticmethod
3374  def get_from(o):
3375  return _object_cast_to_InContainerTripletFilter(o)
3376 
3377 
3378 # Register InContainerTripletFilter in _IMP_container:
3379 _IMP_container.InContainerTripletFilter_swigregister(InContainerTripletFilter)
3380 class InContainerQuadFilter(IMP.QuadPredicate):
3381  r"""Proxy of C++ IMP::container::InContainerQuadFilter class."""
3382 
3383  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3384 
3385  def __init__(self, *args):
3386  r"""
3387  __init__(InContainerQuadFilter self, QuadContainer c, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3388  __init__(InContainerQuadFilter self, QuadContainer c, bool handle_permutations, std::string name="QuadFilter %1%") -> InContainerQuadFilter
3389  """
3390  _IMP_container.InContainerQuadFilter_swiginit(self, _IMP_container.new_InContainerQuadFilter(*args))
3391 
3392  def do_get_inputs(self, m, pi):
3393  r"""do_get_inputs(InContainerQuadFilter self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
3394  return _IMP_container.InContainerQuadFilter_do_get_inputs(self, m, pi)
3395 
3396  def get_value(self, *args):
3397  r"""
3398  get_value(InContainerQuadFilter self, IMP::ParticleQuad const & a) -> int
3399  get_value(InContainerQuadFilter self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
3400  """
3401  return _IMP_container.InContainerQuadFilter_get_value(self, *args)
3402 
3403  def get_value_index(self, *args):
3404  r"""
3405  get_value_index(InContainerQuadFilter self, Model arg2, IMP::ParticleIndexQuad const & vt) -> int
3406  get_value_index(InContainerQuadFilter self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
3407  """
3408  return _IMP_container.InContainerQuadFilter_get_value_index(self, *args)
3409 
3410  def get_version_info(self):
3411  r"""get_version_info(InContainerQuadFilter self) -> VersionInfo"""
3412  return _IMP_container.InContainerQuadFilter_get_version_info(self)
3413  __swig_destroy__ = _IMP_container.delete_InContainerQuadFilter
3414 
3415  def __str__(self):
3416  r"""__str__(InContainerQuadFilter self) -> std::string"""
3417  return _IMP_container.InContainerQuadFilter___str__(self)
3418 
3419  def __repr__(self):
3420  r"""__repr__(InContainerQuadFilter self) -> std::string"""
3421  return _IMP_container.InContainerQuadFilter___repr__(self)
3422 
3423  @staticmethod
3424  def get_from(o):
3425  return _object_cast_to_InContainerQuadFilter(o)
3426 
3427 
3428 # Register InContainerQuadFilter in _IMP_container:
3429 _IMP_container.InContainerQuadFilter_swigregister(InContainerQuadFilter)
3430 class SingletonContainerStatistics(IMP.ScoreState):
3431  r"""Proxy of C++ IMP::container::SingletonContainerStatistics class."""
3432 
3433  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3434 
3435  def __init__(self, c):
3436  r"""__init__(SingletonContainerStatistics self, _SingletonContainerAdaptor c) -> SingletonContainerStatistics"""
3437  _IMP_container.SingletonContainerStatistics_swiginit(self, _IMP_container.new_SingletonContainerStatistics(c))
3438 
3439  def show_statistics(self, out):
3440  r"""show_statistics(SingletonContainerStatistics self, _ostream out)"""
3441  return _IMP_container.SingletonContainerStatistics_show_statistics(self, out)
3442 
3443  def set_track_unique(self, tf):
3444  r"""set_track_unique(SingletonContainerStatistics self, bool tf)"""
3445  return _IMP_container.SingletonContainerStatistics_set_track_unique(self, tf)
3446 
3447  def do_before_evaluate(self):
3448  r"""do_before_evaluate(SingletonContainerStatistics self)"""
3449  return _IMP_container.SingletonContainerStatistics_do_before_evaluate(self)
3450 
3451  def do_after_evaluate(self, da):
3452  r"""do_after_evaluate(SingletonContainerStatistics self, DerivativeAccumulator da)"""
3453  return _IMP_container.SingletonContainerStatistics_do_after_evaluate(self, da)
3454 
3455  def do_get_inputs(self):
3456  r"""do_get_inputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3457  return _IMP_container.SingletonContainerStatistics_do_get_inputs(self)
3458 
3459  def do_get_outputs(self):
3460  r"""do_get_outputs(SingletonContainerStatistics self) -> IMP::ModelObjectsTemp"""
3461  return _IMP_container.SingletonContainerStatistics_do_get_outputs(self)
3462 
3463  def get_version_info(self):
3464  r"""get_version_info(SingletonContainerStatistics self) -> VersionInfo"""
3465  return _IMP_container.SingletonContainerStatistics_get_version_info(self)
3466  __swig_destroy__ = _IMP_container.delete_SingletonContainerStatistics
3467 
3468  def __str__(self):
3469  r"""__str__(SingletonContainerStatistics self) -> std::string"""
3470  return _IMP_container.SingletonContainerStatistics___str__(self)
3471 
3472  def __repr__(self):
3473  r"""__repr__(SingletonContainerStatistics self) -> std::string"""
3474  return _IMP_container.SingletonContainerStatistics___repr__(self)
3475 
3476  @staticmethod
3477  def get_from(o):
3478  return _object_cast_to_SingletonContainerStatistics(o)
3479 
3480 
3481 # Register SingletonContainerStatistics in _IMP_container:
3482 _IMP_container.SingletonContainerStatistics_swigregister(SingletonContainerStatistics)
3483 class PairContainerStatistics(IMP.ScoreState):
3484  r"""Proxy of C++ IMP::container::PairContainerStatistics class."""
3485 
3486  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3487 
3488  def __init__(self, c):
3489  r"""__init__(PairContainerStatistics self, _PairContainerAdaptor c) -> PairContainerStatistics"""
3490  _IMP_container.PairContainerStatistics_swiginit(self, _IMP_container.new_PairContainerStatistics(c))
3491 
3492  def show_statistics(self, out):
3493  r"""show_statistics(PairContainerStatistics self, _ostream out)"""
3494  return _IMP_container.PairContainerStatistics_show_statistics(self, out)
3495 
3496  def set_track_unique(self, tf):
3497  r"""set_track_unique(PairContainerStatistics self, bool tf)"""
3498  return _IMP_container.PairContainerStatistics_set_track_unique(self, tf)
3499 
3500  def do_before_evaluate(self):
3501  r"""do_before_evaluate(PairContainerStatistics self)"""
3502  return _IMP_container.PairContainerStatistics_do_before_evaluate(self)
3503 
3504  def do_after_evaluate(self, da):
3505  r"""do_after_evaluate(PairContainerStatistics self, DerivativeAccumulator da)"""
3506  return _IMP_container.PairContainerStatistics_do_after_evaluate(self, da)
3507 
3508  def do_get_inputs(self):
3509  r"""do_get_inputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3510  return _IMP_container.PairContainerStatistics_do_get_inputs(self)
3511 
3512  def do_get_outputs(self):
3513  r"""do_get_outputs(PairContainerStatistics self) -> IMP::ModelObjectsTemp"""
3514  return _IMP_container.PairContainerStatistics_do_get_outputs(self)
3515 
3516  def get_version_info(self):
3517  r"""get_version_info(PairContainerStatistics self) -> VersionInfo"""
3518  return _IMP_container.PairContainerStatistics_get_version_info(self)
3519  __swig_destroy__ = _IMP_container.delete_PairContainerStatistics
3520 
3521  def __str__(self):
3522  r"""__str__(PairContainerStatistics self) -> std::string"""
3523  return _IMP_container.PairContainerStatistics___str__(self)
3524 
3525  def __repr__(self):
3526  r"""__repr__(PairContainerStatistics self) -> std::string"""
3527  return _IMP_container.PairContainerStatistics___repr__(self)
3528 
3529  @staticmethod
3530  def get_from(o):
3531  return _object_cast_to_PairContainerStatistics(o)
3532 
3533 
3534 # Register PairContainerStatistics in _IMP_container:
3535 _IMP_container.PairContainerStatistics_swigregister(PairContainerStatistics)
3536 class TripletContainerStatistics(IMP.ScoreState):
3537  r"""Proxy of C++ IMP::container::TripletContainerStatistics class."""
3538 
3539  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3540 
3541  def __init__(self, c):
3542  r"""__init__(TripletContainerStatistics self, _TripletContainerAdaptor c) -> TripletContainerStatistics"""
3543  _IMP_container.TripletContainerStatistics_swiginit(self, _IMP_container.new_TripletContainerStatistics(c))
3544 
3545  def show_statistics(self, out):
3546  r"""show_statistics(TripletContainerStatistics self, _ostream out)"""
3547  return _IMP_container.TripletContainerStatistics_show_statistics(self, out)
3548 
3549  def set_track_unique(self, tf):
3550  r"""set_track_unique(TripletContainerStatistics self, bool tf)"""
3551  return _IMP_container.TripletContainerStatistics_set_track_unique(self, tf)
3552 
3553  def do_before_evaluate(self):
3554  r"""do_before_evaluate(TripletContainerStatistics self)"""
3555  return _IMP_container.TripletContainerStatistics_do_before_evaluate(self)
3556 
3557  def do_after_evaluate(self, da):
3558  r"""do_after_evaluate(TripletContainerStatistics self, DerivativeAccumulator da)"""
3559  return _IMP_container.TripletContainerStatistics_do_after_evaluate(self, da)
3560 
3561  def do_get_inputs(self):
3562  r"""do_get_inputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3563  return _IMP_container.TripletContainerStatistics_do_get_inputs(self)
3564 
3565  def do_get_outputs(self):
3566  r"""do_get_outputs(TripletContainerStatistics self) -> IMP::ModelObjectsTemp"""
3567  return _IMP_container.TripletContainerStatistics_do_get_outputs(self)
3568 
3569  def get_version_info(self):
3570  r"""get_version_info(TripletContainerStatistics self) -> VersionInfo"""
3571  return _IMP_container.TripletContainerStatistics_get_version_info(self)
3572  __swig_destroy__ = _IMP_container.delete_TripletContainerStatistics
3573 
3574  def __str__(self):
3575  r"""__str__(TripletContainerStatistics self) -> std::string"""
3576  return _IMP_container.TripletContainerStatistics___str__(self)
3577 
3578  def __repr__(self):
3579  r"""__repr__(TripletContainerStatistics self) -> std::string"""
3580  return _IMP_container.TripletContainerStatistics___repr__(self)
3581 
3582  @staticmethod
3583  def get_from(o):
3584  return _object_cast_to_TripletContainerStatistics(o)
3585 
3586 
3587 # Register TripletContainerStatistics in _IMP_container:
3588 _IMP_container.TripletContainerStatistics_swigregister(TripletContainerStatistics)
3589 class QuadContainerStatistics(IMP.ScoreState):
3590  r"""Proxy of C++ IMP::container::QuadContainerStatistics class."""
3591 
3592  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3593 
3594  def __init__(self, c):
3595  r"""__init__(QuadContainerStatistics self, _QuadContainerAdaptor c) -> QuadContainerStatistics"""
3596  _IMP_container.QuadContainerStatistics_swiginit(self, _IMP_container.new_QuadContainerStatistics(c))
3597 
3598  def show_statistics(self, out):
3599  r"""show_statistics(QuadContainerStatistics self, _ostream out)"""
3600  return _IMP_container.QuadContainerStatistics_show_statistics(self, out)
3601 
3602  def set_track_unique(self, tf):
3603  r"""set_track_unique(QuadContainerStatistics self, bool tf)"""
3604  return _IMP_container.QuadContainerStatistics_set_track_unique(self, tf)
3605 
3606  def do_before_evaluate(self):
3607  r"""do_before_evaluate(QuadContainerStatistics self)"""
3608  return _IMP_container.QuadContainerStatistics_do_before_evaluate(self)
3609 
3610  def do_after_evaluate(self, da):
3611  r"""do_after_evaluate(QuadContainerStatistics self, DerivativeAccumulator da)"""
3612  return _IMP_container.QuadContainerStatistics_do_after_evaluate(self, da)
3613 
3614  def do_get_inputs(self):
3615  r"""do_get_inputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3616  return _IMP_container.QuadContainerStatistics_do_get_inputs(self)
3617 
3618  def do_get_outputs(self):
3619  r"""do_get_outputs(QuadContainerStatistics self) -> IMP::ModelObjectsTemp"""
3620  return _IMP_container.QuadContainerStatistics_do_get_outputs(self)
3621 
3622  def get_version_info(self):
3623  r"""get_version_info(QuadContainerStatistics self) -> VersionInfo"""
3624  return _IMP_container.QuadContainerStatistics_get_version_info(self)
3625  __swig_destroy__ = _IMP_container.delete_QuadContainerStatistics
3626 
3627  def __str__(self):
3628  r"""__str__(QuadContainerStatistics self) -> std::string"""
3629  return _IMP_container.QuadContainerStatistics___str__(self)
3630 
3631  def __repr__(self):
3632  r"""__repr__(QuadContainerStatistics self) -> std::string"""
3633  return _IMP_container.QuadContainerStatistics___repr__(self)
3634 
3635  @staticmethod
3636  def get_from(o):
3637  return _object_cast_to_QuadContainerStatistics(o)
3638 
3639 
3640 # Register QuadContainerStatistics in _IMP_container:
3641 _IMP_container.QuadContainerStatistics_swigregister(QuadContainerStatistics)
3642 class EventSingletonsOptimizerState(IMP.OptimizerState):
3643  r"""Proxy of C++ IMP::container::EventSingletonsOptimizerState class."""
3644 
3645  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3646 
3647  def __init__(self, *args):
3648  r"""__init__(EventSingletonsOptimizerState self, SingletonPredicate pred, _SingletonContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstSingletonPredicate%1%") -> EventSingletonsOptimizerState"""
3649  _IMP_container.EventSingletonsOptimizerState_swiginit(self, _IMP_container.new_EventSingletonsOptimizerState(*args))
3650 
3651  def do_update(self, call):
3652  r"""do_update(EventSingletonsOptimizerState self, unsigned int call)"""
3653  return _IMP_container.EventSingletonsOptimizerState_do_update(self, call)
3654 
3655  def get_version_info(self):
3656  r"""get_version_info(EventSingletonsOptimizerState self) -> VersionInfo"""
3657  return _IMP_container.EventSingletonsOptimizerState_get_version_info(self)
3658  __swig_destroy__ = _IMP_container.delete_EventSingletonsOptimizerState
3659 
3660  def __str__(self):
3661  r"""__str__(EventSingletonsOptimizerState self) -> std::string"""
3662  return _IMP_container.EventSingletonsOptimizerState___str__(self)
3663 
3664  def __repr__(self):
3665  r"""__repr__(EventSingletonsOptimizerState self) -> std::string"""
3666  return _IMP_container.EventSingletonsOptimizerState___repr__(self)
3667 
3668  @staticmethod
3669  def get_from(o):
3670  return _object_cast_to_EventSingletonsOptimizerState(o)
3671 
3672 
3673 # Register EventSingletonsOptimizerState in _IMP_container:
3674 _IMP_container.EventSingletonsOptimizerState_swigregister(EventSingletonsOptimizerState)
3675 class EventPairsOptimizerState(IMP.OptimizerState):
3676  r"""Proxy of C++ IMP::container::EventPairsOptimizerState class."""
3677 
3678  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3679 
3680  def __init__(self, *args):
3681  r"""__init__(EventPairsOptimizerState self, PairPredicate pred, _PairContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstPairPredicate%1%") -> EventPairsOptimizerState"""
3682  _IMP_container.EventPairsOptimizerState_swiginit(self, _IMP_container.new_EventPairsOptimizerState(*args))
3683 
3684  def do_update(self, call):
3685  r"""do_update(EventPairsOptimizerState self, unsigned int call)"""
3686  return _IMP_container.EventPairsOptimizerState_do_update(self, call)
3687 
3688  def get_version_info(self):
3689  r"""get_version_info(EventPairsOptimizerState self) -> VersionInfo"""
3690  return _IMP_container.EventPairsOptimizerState_get_version_info(self)
3691  __swig_destroy__ = _IMP_container.delete_EventPairsOptimizerState
3692 
3693  def __str__(self):
3694  r"""__str__(EventPairsOptimizerState self) -> std::string"""
3695  return _IMP_container.EventPairsOptimizerState___str__(self)
3696 
3697  def __repr__(self):
3698  r"""__repr__(EventPairsOptimizerState self) -> std::string"""
3699  return _IMP_container.EventPairsOptimizerState___repr__(self)
3700 
3701  @staticmethod
3702  def get_from(o):
3703  return _object_cast_to_EventPairsOptimizerState(o)
3704 
3705 
3706 # Register EventPairsOptimizerState in _IMP_container:
3707 _IMP_container.EventPairsOptimizerState_swigregister(EventPairsOptimizerState)
3708 class EventTripletsOptimizerState(IMP.OptimizerState):
3709  r"""Proxy of C++ IMP::container::EventTripletsOptimizerState class."""
3710 
3711  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3712 
3713  def __init__(self, *args):
3714  r"""__init__(EventTripletsOptimizerState self, TripletPredicate pred, _TripletContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstTripletPredicate%1%") -> EventTripletsOptimizerState"""
3715  _IMP_container.EventTripletsOptimizerState_swiginit(self, _IMP_container.new_EventTripletsOptimizerState(*args))
3716 
3717  def do_update(self, call):
3718  r"""do_update(EventTripletsOptimizerState self, unsigned int call)"""
3719  return _IMP_container.EventTripletsOptimizerState_do_update(self, call)
3720 
3721  def get_version_info(self):
3722  r"""get_version_info(EventTripletsOptimizerState self) -> VersionInfo"""
3723  return _IMP_container.EventTripletsOptimizerState_get_version_info(self)
3724  __swig_destroy__ = _IMP_container.delete_EventTripletsOptimizerState
3725 
3726  def __str__(self):
3727  r"""__str__(EventTripletsOptimizerState self) -> std::string"""
3728  return _IMP_container.EventTripletsOptimizerState___str__(self)
3729 
3730  def __repr__(self):
3731  r"""__repr__(EventTripletsOptimizerState self) -> std::string"""
3732  return _IMP_container.EventTripletsOptimizerState___repr__(self)
3733 
3734  @staticmethod
3735  def get_from(o):
3736  return _object_cast_to_EventTripletsOptimizerState(o)
3737 
3738 
3739 # Register EventTripletsOptimizerState in _IMP_container:
3740 _IMP_container.EventTripletsOptimizerState_swigregister(EventTripletsOptimizerState)
3741 class EventQuadsOptimizerState(IMP.OptimizerState):
3742  r"""Proxy of C++ IMP::container::EventQuadsOptimizerState class."""
3743 
3744  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3745 
3746  def __init__(self, *args):
3747  r"""__init__(EventQuadsOptimizerState self, QuadPredicate pred, _QuadContainerAdaptor container, int value, int min_count, int max_count, std::string name="ConstQuadPredicate%1%") -> EventQuadsOptimizerState"""
3748  _IMP_container.EventQuadsOptimizerState_swiginit(self, _IMP_container.new_EventQuadsOptimizerState(*args))
3749 
3750  def do_update(self, call):
3751  r"""do_update(EventQuadsOptimizerState self, unsigned int call)"""
3752  return _IMP_container.EventQuadsOptimizerState_do_update(self, call)
3753 
3754  def get_version_info(self):
3755  r"""get_version_info(EventQuadsOptimizerState self) -> VersionInfo"""
3756  return _IMP_container.EventQuadsOptimizerState_get_version_info(self)
3757  __swig_destroy__ = _IMP_container.delete_EventQuadsOptimizerState
3758 
3759  def __str__(self):
3760  r"""__str__(EventQuadsOptimizerState self) -> std::string"""
3761  return _IMP_container.EventQuadsOptimizerState___str__(self)
3762 
3763  def __repr__(self):
3764  r"""__repr__(EventQuadsOptimizerState self) -> std::string"""
3765  return _IMP_container.EventQuadsOptimizerState___repr__(self)
3766 
3767  @staticmethod
3768  def get_from(o):
3769  return _object_cast_to_EventQuadsOptimizerState(o)
3770 
3771 
3772 # Register EventQuadsOptimizerState in _IMP_container:
3773 _IMP_container.EventQuadsOptimizerState_swigregister(EventQuadsOptimizerState)
3774 class PredicateSingletonsRestraint(IMP.Restraint):
3775  r"""Proxy of C++ IMP::container::PredicateSingletonsRestraint class."""
3776 
3777  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3778 
3779  def __init__(self, *args):
3780  r"""
3781  __init__(PredicateSingletonsRestraint self, SingletonPredicate pred, _SingletonContainerAdaptor input, std::string name="PredicateSingletonsRestraint %1%") -> PredicateSingletonsRestraint
3782  __init__(PredicateSingletonsRestraint self) -> PredicateSingletonsRestraint
3783  """
3784  _IMP_container.PredicateSingletonsRestraint_swiginit(self, _IMP_container.new_PredicateSingletonsRestraint(*args))
3785 
3786  def set_score(self, predicate_value, score):
3787  r"""set_score(PredicateSingletonsRestraint self, int predicate_value, SingletonScore score)"""
3788  return _IMP_container.PredicateSingletonsRestraint_set_score(self, predicate_value, score)
3789 
3790  def set_unknown_score(self, score):
3791  r"""set_unknown_score(PredicateSingletonsRestraint self, SingletonScore score)"""
3792  return _IMP_container.PredicateSingletonsRestraint_set_unknown_score(self, score)
3793 
3794  def set_is_complete(self, tf):
3795  r"""set_is_complete(PredicateSingletonsRestraint self, bool tf)"""
3796  return _IMP_container.PredicateSingletonsRestraint_set_is_complete(self, tf)
3797 
3798  def get_indexes(self, predicate_value):
3799  r"""get_indexes(PredicateSingletonsRestraint self, int predicate_value) -> IMP::ParticleIndexes"""
3800  return _IMP_container.PredicateSingletonsRestraint_get_indexes(self, predicate_value)
3801 
3802  def do_add_score_and_derivatives(self, sa):
3803  r"""do_add_score_and_derivatives(PredicateSingletonsRestraint self, ScoreAccumulator sa)"""
3804  return _IMP_container.PredicateSingletonsRestraint_do_add_score_and_derivatives(self, sa)
3805 
3806  def do_get_inputs(self):
3807  r"""do_get_inputs(PredicateSingletonsRestraint self) -> IMP::ModelObjectsTemp"""
3808  return _IMP_container.PredicateSingletonsRestraint_do_get_inputs(self)
3809 
3810  def get_version_info(self):
3811  r"""get_version_info(PredicateSingletonsRestraint self) -> VersionInfo"""
3812  return _IMP_container.PredicateSingletonsRestraint_get_version_info(self)
3813  __swig_destroy__ = _IMP_container.delete_PredicateSingletonsRestraint
3814 
3815  def __str__(self):
3816  r"""__str__(PredicateSingletonsRestraint self) -> std::string"""
3817  return _IMP_container.PredicateSingletonsRestraint___str__(self)
3818 
3819  def __repr__(self):
3820  r"""__repr__(PredicateSingletonsRestraint self) -> std::string"""
3821  return _IMP_container.PredicateSingletonsRestraint___repr__(self)
3822 
3823  @staticmethod
3824  def get_from(o):
3825  return _object_cast_to_PredicateSingletonsRestraint(o)
3826 
3827 
3828  def _get_as_binary(self):
3829  r"""_get_as_binary(PredicateSingletonsRestraint self) -> PyObject *"""
3830  return _IMP_container.PredicateSingletonsRestraint__get_as_binary(self)
3831 
3832  def _set_from_binary(self, p):
3833  r"""_set_from_binary(PredicateSingletonsRestraint self, PyObject * p)"""
3834  return _IMP_container.PredicateSingletonsRestraint__set_from_binary(self, p)
3835 
3836  def __getstate__(self):
3837  p = self._get_as_binary()
3838  if len(self.__dict__) > 1:
3839  d = self.__dict__.copy()
3840  del d['this']
3841  p = (d, p)
3842  return p
3843 
3844  def __setstate__(self, p):
3845  if not hasattr(self, 'this'):
3846  self.__init__()
3847  if isinstance(p, tuple):
3848  d, p = p
3849  self.__dict__.update(d)
3850  return self._set_from_binary(p)
3851 
3852 
3853 # Register PredicateSingletonsRestraint in _IMP_container:
3854 _IMP_container.PredicateSingletonsRestraint_swigregister(PredicateSingletonsRestraint)
3855 class PredicatePairsRestraint(IMP.Restraint):
3856  r"""Proxy of C++ IMP::container::PredicatePairsRestraint class."""
3857 
3858  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3859 
3860  def __init__(self, *args):
3861  r"""
3862  __init__(PredicatePairsRestraint self, PairPredicate pred, _PairContainerAdaptor input, std::string name="PredicatePairsRestraint %1%") -> PredicatePairsRestraint
3863  __init__(PredicatePairsRestraint self) -> PredicatePairsRestraint
3864  """
3865  _IMP_container.PredicatePairsRestraint_swiginit(self, _IMP_container.new_PredicatePairsRestraint(*args))
3866 
3867  def set_score(self, predicate_value, score):
3868  r"""set_score(PredicatePairsRestraint self, int predicate_value, PairScore score)"""
3869  return _IMP_container.PredicatePairsRestraint_set_score(self, predicate_value, score)
3870 
3871  def set_unknown_score(self, score):
3872  r"""set_unknown_score(PredicatePairsRestraint self, PairScore score)"""
3873  return _IMP_container.PredicatePairsRestraint_set_unknown_score(self, score)
3874 
3875  def set_is_complete(self, tf):
3876  r"""set_is_complete(PredicatePairsRestraint self, bool tf)"""
3877  return _IMP_container.PredicatePairsRestraint_set_is_complete(self, tf)
3878 
3879  def get_indexes(self, predicate_value):
3880  r"""get_indexes(PredicatePairsRestraint self, int predicate_value) -> IMP::ParticleIndexPairs"""
3881  return _IMP_container.PredicatePairsRestraint_get_indexes(self, predicate_value)
3882 
3883  def do_add_score_and_derivatives(self, sa):
3884  r"""do_add_score_and_derivatives(PredicatePairsRestraint self, ScoreAccumulator sa)"""
3885  return _IMP_container.PredicatePairsRestraint_do_add_score_and_derivatives(self, sa)
3886 
3887  def do_get_inputs(self):
3888  r"""do_get_inputs(PredicatePairsRestraint self) -> IMP::ModelObjectsTemp"""
3889  return _IMP_container.PredicatePairsRestraint_do_get_inputs(self)
3890 
3891  def get_version_info(self):
3892  r"""get_version_info(PredicatePairsRestraint self) -> VersionInfo"""
3893  return _IMP_container.PredicatePairsRestraint_get_version_info(self)
3894  __swig_destroy__ = _IMP_container.delete_PredicatePairsRestraint
3895 
3896  def __str__(self):
3897  r"""__str__(PredicatePairsRestraint self) -> std::string"""
3898  return _IMP_container.PredicatePairsRestraint___str__(self)
3899 
3900  def __repr__(self):
3901  r"""__repr__(PredicatePairsRestraint self) -> std::string"""
3902  return _IMP_container.PredicatePairsRestraint___repr__(self)
3903 
3904  @staticmethod
3905  def get_from(o):
3906  return _object_cast_to_PredicatePairsRestraint(o)
3907 
3908 
3909  def _get_as_binary(self):
3910  r"""_get_as_binary(PredicatePairsRestraint self) -> PyObject *"""
3911  return _IMP_container.PredicatePairsRestraint__get_as_binary(self)
3912 
3913  def _set_from_binary(self, p):
3914  r"""_set_from_binary(PredicatePairsRestraint self, PyObject * p)"""
3915  return _IMP_container.PredicatePairsRestraint__set_from_binary(self, p)
3916 
3917  def __getstate__(self):
3918  p = self._get_as_binary()
3919  if len(self.__dict__) > 1:
3920  d = self.__dict__.copy()
3921  del d['this']
3922  p = (d, p)
3923  return p
3924 
3925  def __setstate__(self, p):
3926  if not hasattr(self, 'this'):
3927  self.__init__()
3928  if isinstance(p, tuple):
3929  d, p = p
3930  self.__dict__.update(d)
3931  return self._set_from_binary(p)
3932 
3933 
3934 # Register PredicatePairsRestraint in _IMP_container:
3935 _IMP_container.PredicatePairsRestraint_swigregister(PredicatePairsRestraint)
3936 class PredicateTripletsRestraint(IMP.Restraint):
3937  r"""Proxy of C++ IMP::container::PredicateTripletsRestraint class."""
3938 
3939  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
3940 
3941  def __init__(self, *args):
3942  r"""
3943  __init__(PredicateTripletsRestraint self, TripletPredicate pred, _TripletContainerAdaptor input, std::string name="PredicateTripletsRestraint %1%") -> PredicateTripletsRestraint
3944  __init__(PredicateTripletsRestraint self) -> PredicateTripletsRestraint
3945  """
3946  _IMP_container.PredicateTripletsRestraint_swiginit(self, _IMP_container.new_PredicateTripletsRestraint(*args))
3947 
3948  def set_score(self, predicate_value, score):
3949  r"""set_score(PredicateTripletsRestraint self, int predicate_value, TripletScore score)"""
3950  return _IMP_container.PredicateTripletsRestraint_set_score(self, predicate_value, score)
3951 
3952  def set_unknown_score(self, score):
3953  r"""set_unknown_score(PredicateTripletsRestraint self, TripletScore score)"""
3954  return _IMP_container.PredicateTripletsRestraint_set_unknown_score(self, score)
3955 
3956  def set_is_complete(self, tf):
3957  r"""set_is_complete(PredicateTripletsRestraint self, bool tf)"""
3958  return _IMP_container.PredicateTripletsRestraint_set_is_complete(self, tf)
3959 
3960  def get_indexes(self, predicate_value):
3961  r"""get_indexes(PredicateTripletsRestraint self, int predicate_value) -> IMP::ParticleIndexTriplets"""
3962  return _IMP_container.PredicateTripletsRestraint_get_indexes(self, predicate_value)
3963 
3964  def do_add_score_and_derivatives(self, sa):
3965  r"""do_add_score_and_derivatives(PredicateTripletsRestraint self, ScoreAccumulator sa)"""
3966  return _IMP_container.PredicateTripletsRestraint_do_add_score_and_derivatives(self, sa)
3967 
3968  def do_get_inputs(self):
3969  r"""do_get_inputs(PredicateTripletsRestraint self) -> IMP::ModelObjectsTemp"""
3970  return _IMP_container.PredicateTripletsRestraint_do_get_inputs(self)
3971 
3972  def get_version_info(self):
3973  r"""get_version_info(PredicateTripletsRestraint self) -> VersionInfo"""
3974  return _IMP_container.PredicateTripletsRestraint_get_version_info(self)
3975  __swig_destroy__ = _IMP_container.delete_PredicateTripletsRestraint
3976 
3977  def __str__(self):
3978  r"""__str__(PredicateTripletsRestraint self) -> std::string"""
3979  return _IMP_container.PredicateTripletsRestraint___str__(self)
3980 
3981  def __repr__(self):
3982  r"""__repr__(PredicateTripletsRestraint self) -> std::string"""
3983  return _IMP_container.PredicateTripletsRestraint___repr__(self)
3984 
3985  @staticmethod
3986  def get_from(o):
3987  return _object_cast_to_PredicateTripletsRestraint(o)
3988 
3989 
3990  def _get_as_binary(self):
3991  r"""_get_as_binary(PredicateTripletsRestraint self) -> PyObject *"""
3992  return _IMP_container.PredicateTripletsRestraint__get_as_binary(self)
3993 
3994  def _set_from_binary(self, p):
3995  r"""_set_from_binary(PredicateTripletsRestraint self, PyObject * p)"""
3996  return _IMP_container.PredicateTripletsRestraint__set_from_binary(self, p)
3997 
3998  def __getstate__(self):
3999  p = self._get_as_binary()
4000  if len(self.__dict__) > 1:
4001  d = self.__dict__.copy()
4002  del d['this']
4003  p = (d, p)
4004  return p
4005 
4006  def __setstate__(self, p):
4007  if not hasattr(self, 'this'):
4008  self.__init__()
4009  if isinstance(p, tuple):
4010  d, p = p
4011  self.__dict__.update(d)
4012  return self._set_from_binary(p)
4013 
4014 
4015 # Register PredicateTripletsRestraint in _IMP_container:
4016 _IMP_container.PredicateTripletsRestraint_swigregister(PredicateTripletsRestraint)
4017 class PredicateQuadsRestraint(IMP.Restraint):
4018  r"""Proxy of C++ IMP::container::PredicateQuadsRestraint class."""
4019 
4020  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4021 
4022  def __init__(self, *args):
4023  r"""
4024  __init__(PredicateQuadsRestraint self, QuadPredicate pred, _QuadContainerAdaptor input, std::string name="PredicateQuadsRestraint %1%") -> PredicateQuadsRestraint
4025  __init__(PredicateQuadsRestraint self) -> PredicateQuadsRestraint
4026  """
4027  _IMP_container.PredicateQuadsRestraint_swiginit(self, _IMP_container.new_PredicateQuadsRestraint(*args))
4028 
4029  def set_score(self, predicate_value, score):
4030  r"""set_score(PredicateQuadsRestraint self, int predicate_value, QuadScore score)"""
4031  return _IMP_container.PredicateQuadsRestraint_set_score(self, predicate_value, score)
4032 
4033  def set_unknown_score(self, score):
4034  r"""set_unknown_score(PredicateQuadsRestraint self, QuadScore score)"""
4035  return _IMP_container.PredicateQuadsRestraint_set_unknown_score(self, score)
4036 
4037  def set_is_complete(self, tf):
4038  r"""set_is_complete(PredicateQuadsRestraint self, bool tf)"""
4039  return _IMP_container.PredicateQuadsRestraint_set_is_complete(self, tf)
4040 
4041  def get_indexes(self, predicate_value):
4042  r"""get_indexes(PredicateQuadsRestraint self, int predicate_value) -> IMP::ParticleIndexQuads"""
4043  return _IMP_container.PredicateQuadsRestraint_get_indexes(self, predicate_value)
4044 
4045  def do_add_score_and_derivatives(self, sa):
4046  r"""do_add_score_and_derivatives(PredicateQuadsRestraint self, ScoreAccumulator sa)"""
4047  return _IMP_container.PredicateQuadsRestraint_do_add_score_and_derivatives(self, sa)
4048 
4049  def do_get_inputs(self):
4050  r"""do_get_inputs(PredicateQuadsRestraint self) -> IMP::ModelObjectsTemp"""
4051  return _IMP_container.PredicateQuadsRestraint_do_get_inputs(self)
4052 
4053  def get_version_info(self):
4054  r"""get_version_info(PredicateQuadsRestraint self) -> VersionInfo"""
4055  return _IMP_container.PredicateQuadsRestraint_get_version_info(self)
4056  __swig_destroy__ = _IMP_container.delete_PredicateQuadsRestraint
4057 
4058  def __str__(self):
4059  r"""__str__(PredicateQuadsRestraint self) -> std::string"""
4060  return _IMP_container.PredicateQuadsRestraint___str__(self)
4061 
4062  def __repr__(self):
4063  r"""__repr__(PredicateQuadsRestraint self) -> std::string"""
4064  return _IMP_container.PredicateQuadsRestraint___repr__(self)
4065 
4066  @staticmethod
4067  def get_from(o):
4068  return _object_cast_to_PredicateQuadsRestraint(o)
4069 
4070 
4071  def _get_as_binary(self):
4072  r"""_get_as_binary(PredicateQuadsRestraint self) -> PyObject *"""
4073  return _IMP_container.PredicateQuadsRestraint__get_as_binary(self)
4074 
4075  def _set_from_binary(self, p):
4076  r"""_set_from_binary(PredicateQuadsRestraint self, PyObject * p)"""
4077  return _IMP_container.PredicateQuadsRestraint__set_from_binary(self, p)
4078 
4079  def __getstate__(self):
4080  p = self._get_as_binary()
4081  if len(self.__dict__) > 1:
4082  d = self.__dict__.copy()
4083  del d['this']
4084  p = (d, p)
4085  return p
4086 
4087  def __setstate__(self, p):
4088  if not hasattr(self, 'this'):
4089  self.__init__()
4090  if isinstance(p, tuple):
4091  d, p = p
4092  self.__dict__.update(d)
4093  return self._set_from_binary(p)
4094 
4095 
4096 # Register PredicateQuadsRestraint in _IMP_container:
4097 _IMP_container.PredicateQuadsRestraint_swigregister(PredicateQuadsRestraint)
4098 class DistributeSingletonsScoreState(IMP.ScoreState):
4099  r"""Proxy of C++ IMP::container::DistributeSingletonsScoreState class."""
4100 
4101  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4102 
4103  def __init__(self, *args):
4104  r"""__init__(DistributeSingletonsScoreState self, _SingletonContainerAdaptor input, std::string name="DistributeSingletonsScoreState %1%") -> DistributeSingletonsScoreState"""
4105  _IMP_container.DistributeSingletonsScoreState_swiginit(self, _IMP_container.new_DistributeSingletonsScoreState(*args))
4106 
4107  def add_predicate(self, predicate, value):
4108  r"""add_predicate(DistributeSingletonsScoreState self, SingletonPredicate predicate, int value) -> DynamicListSingletonContainer"""
4109  return _IMP_container.DistributeSingletonsScoreState_add_predicate(self, predicate, value)
4110 
4111  def do_before_evaluate(self):
4112  r"""do_before_evaluate(DistributeSingletonsScoreState self)"""
4113  return _IMP_container.DistributeSingletonsScoreState_do_before_evaluate(self)
4114 
4115  def do_after_evaluate(self, da):
4116  r"""do_after_evaluate(DistributeSingletonsScoreState self, DerivativeAccumulator da)"""
4117  return _IMP_container.DistributeSingletonsScoreState_do_after_evaluate(self, da)
4118 
4119  def do_get_inputs(self):
4120  r"""do_get_inputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4121  return _IMP_container.DistributeSingletonsScoreState_do_get_inputs(self)
4122 
4123  def do_get_outputs(self):
4124  r"""do_get_outputs(DistributeSingletonsScoreState self) -> IMP::ModelObjectsTemp"""
4125  return _IMP_container.DistributeSingletonsScoreState_do_get_outputs(self)
4126 
4127  def get_version_info(self):
4128  r"""get_version_info(DistributeSingletonsScoreState self) -> VersionInfo"""
4129  return _IMP_container.DistributeSingletonsScoreState_get_version_info(self)
4130  __swig_destroy__ = _IMP_container.delete_DistributeSingletonsScoreState
4131 
4132  def __str__(self):
4133  r"""__str__(DistributeSingletonsScoreState self) -> std::string"""
4134  return _IMP_container.DistributeSingletonsScoreState___str__(self)
4135 
4136  def __repr__(self):
4137  r"""__repr__(DistributeSingletonsScoreState self) -> std::string"""
4138  return _IMP_container.DistributeSingletonsScoreState___repr__(self)
4139 
4140  @staticmethod
4141  def get_from(o):
4142  return _object_cast_to_DistributeSingletonsScoreState(o)
4143 
4144 
4145 # Register DistributeSingletonsScoreState in _IMP_container:
4146 _IMP_container.DistributeSingletonsScoreState_swigregister(DistributeSingletonsScoreState)
4147 class DistributePairsScoreState(IMP.ScoreState):
4148  r"""Proxy of C++ IMP::container::DistributePairsScoreState class."""
4149 
4150  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4151 
4152  def __init__(self, *args):
4153  r"""__init__(DistributePairsScoreState self, _PairContainerAdaptor input, std::string name="DistributePairsScoreState %1%") -> DistributePairsScoreState"""
4154  _IMP_container.DistributePairsScoreState_swiginit(self, _IMP_container.new_DistributePairsScoreState(*args))
4155 
4156  def add_predicate(self, predicate, value):
4157  r"""add_predicate(DistributePairsScoreState self, PairPredicate predicate, int value) -> DynamicListPairContainer"""
4158  return _IMP_container.DistributePairsScoreState_add_predicate(self, predicate, value)
4159 
4160  def do_before_evaluate(self):
4161  r"""do_before_evaluate(DistributePairsScoreState self)"""
4162  return _IMP_container.DistributePairsScoreState_do_before_evaluate(self)
4163 
4164  def do_after_evaluate(self, da):
4165  r"""do_after_evaluate(DistributePairsScoreState self, DerivativeAccumulator da)"""
4166  return _IMP_container.DistributePairsScoreState_do_after_evaluate(self, da)
4167 
4168  def do_get_inputs(self):
4169  r"""do_get_inputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4170  return _IMP_container.DistributePairsScoreState_do_get_inputs(self)
4171 
4172  def do_get_outputs(self):
4173  r"""do_get_outputs(DistributePairsScoreState self) -> IMP::ModelObjectsTemp"""
4174  return _IMP_container.DistributePairsScoreState_do_get_outputs(self)
4175 
4176  def get_version_info(self):
4177  r"""get_version_info(DistributePairsScoreState self) -> VersionInfo"""
4178  return _IMP_container.DistributePairsScoreState_get_version_info(self)
4179  __swig_destroy__ = _IMP_container.delete_DistributePairsScoreState
4180 
4181  def __str__(self):
4182  r"""__str__(DistributePairsScoreState self) -> std::string"""
4183  return _IMP_container.DistributePairsScoreState___str__(self)
4184 
4185  def __repr__(self):
4186  r"""__repr__(DistributePairsScoreState self) -> std::string"""
4187  return _IMP_container.DistributePairsScoreState___repr__(self)
4188 
4189  @staticmethod
4190  def get_from(o):
4191  return _object_cast_to_DistributePairsScoreState(o)
4192 
4193 
4194 # Register DistributePairsScoreState in _IMP_container:
4195 _IMP_container.DistributePairsScoreState_swigregister(DistributePairsScoreState)
4196 class DistributeTripletsScoreState(IMP.ScoreState):
4197  r"""Proxy of C++ IMP::container::DistributeTripletsScoreState class."""
4198 
4199  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4200 
4201  def __init__(self, *args):
4202  r"""__init__(DistributeTripletsScoreState self, _TripletContainerAdaptor input, std::string name="DistributeTripletsScoreState %1%") -> DistributeTripletsScoreState"""
4203  _IMP_container.DistributeTripletsScoreState_swiginit(self, _IMP_container.new_DistributeTripletsScoreState(*args))
4204 
4205  def add_predicate(self, predicate, value):
4206  r"""add_predicate(DistributeTripletsScoreState self, TripletPredicate predicate, int value) -> DynamicListTripletContainer"""
4207  return _IMP_container.DistributeTripletsScoreState_add_predicate(self, predicate, value)
4208 
4209  def do_before_evaluate(self):
4210  r"""do_before_evaluate(DistributeTripletsScoreState self)"""
4211  return _IMP_container.DistributeTripletsScoreState_do_before_evaluate(self)
4212 
4213  def do_after_evaluate(self, da):
4214  r"""do_after_evaluate(DistributeTripletsScoreState self, DerivativeAccumulator da)"""
4215  return _IMP_container.DistributeTripletsScoreState_do_after_evaluate(self, da)
4216 
4217  def do_get_inputs(self):
4218  r"""do_get_inputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4219  return _IMP_container.DistributeTripletsScoreState_do_get_inputs(self)
4220 
4221  def do_get_outputs(self):
4222  r"""do_get_outputs(DistributeTripletsScoreState self) -> IMP::ModelObjectsTemp"""
4223  return _IMP_container.DistributeTripletsScoreState_do_get_outputs(self)
4224 
4225  def get_version_info(self):
4226  r"""get_version_info(DistributeTripletsScoreState self) -> VersionInfo"""
4227  return _IMP_container.DistributeTripletsScoreState_get_version_info(self)
4228  __swig_destroy__ = _IMP_container.delete_DistributeTripletsScoreState
4229 
4230  def __str__(self):
4231  r"""__str__(DistributeTripletsScoreState self) -> std::string"""
4232  return _IMP_container.DistributeTripletsScoreState___str__(self)
4233 
4234  def __repr__(self):
4235  r"""__repr__(DistributeTripletsScoreState self) -> std::string"""
4236  return _IMP_container.DistributeTripletsScoreState___repr__(self)
4237 
4238  @staticmethod
4239  def get_from(o):
4240  return _object_cast_to_DistributeTripletsScoreState(o)
4241 
4242 
4243 # Register DistributeTripletsScoreState in _IMP_container:
4244 _IMP_container.DistributeTripletsScoreState_swigregister(DistributeTripletsScoreState)
4245 class DistributeQuadsScoreState(IMP.ScoreState):
4246  r"""Proxy of C++ IMP::container::DistributeQuadsScoreState class."""
4247 
4248  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
4249 
4250  def __init__(self, *args):
4251  r"""__init__(DistributeQuadsScoreState self, _QuadContainerAdaptor input, std::string name="DistributeQuadsScoreState %1%") -> DistributeQuadsScoreState"""
4252  _IMP_container.DistributeQuadsScoreState_swiginit(self, _IMP_container.new_DistributeQuadsScoreState(*args))
4253 
4254  def add_predicate(self, predicate, value):
4255  r"""add_predicate(DistributeQuadsScoreState self, QuadPredicate predicate, int value) -> DynamicListQuadContainer"""
4256  return _IMP_container.DistributeQuadsScoreState_add_predicate(self, predicate, value)
4257 
4258  def do_before_evaluate(self):
4259  r"""do_before_evaluate(DistributeQuadsScoreState self)"""
4260  return _IMP_container.DistributeQuadsScoreState_do_before_evaluate(self)
4261 
4262  def do_after_evaluate(self, da):
4263  r"""do_after_evaluate(DistributeQuadsScoreState self, DerivativeAccumulator da)"""
4264  return _IMP_container.DistributeQuadsScoreState_do_after_evaluate(self, da)
4265 
4266  def do_get_inputs(self):
4267  r"""do_get_inputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4268  return _IMP_container.DistributeQuadsScoreState_do_get_inputs(self)
4269 
4270  def do_get_outputs(self):
4271  r"""do_get_outputs(DistributeQuadsScoreState self) -> IMP::ModelObjectsTemp"""
4272  return _IMP_container.DistributeQuadsScoreState_do_get_outputs(self)
4273 
4274  def get_version_info(self):
4275  r"""get_version_info(DistributeQuadsScoreState self) -> VersionInfo"""
4276  return _IMP_container.DistributeQuadsScoreState_get_version_info(self)
4277  __swig_destroy__ = _IMP_container.delete_DistributeQuadsScoreState
4278 
4279  def __str__(self):
4280  r"""__str__(DistributeQuadsScoreState self) -> std::string"""
4281  return _IMP_container.DistributeQuadsScoreState___str__(self)
4282 
4283  def __repr__(self):
4284  r"""__repr__(DistributeQuadsScoreState self) -> std::string"""
4285  return _IMP_container.DistributeQuadsScoreState___repr__(self)
4286 
4287  @staticmethod
4288  def get_from(o):
4289  return _object_cast_to_DistributeQuadsScoreState(o)
4290 
4291 
4292 # Register DistributeQuadsScoreState in _IMP_container:
4293 _IMP_container.DistributeQuadsScoreState_swigregister(DistributeQuadsScoreState)
4294 
4295 def create_restraint(*args):
4296  r"""
4297  create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint
4298  create_restraint(PairScore ps, PairContainer pp) -> Restraint
4299  """
4300  return _IMP_container.create_restraint(*args)
4301 
4302 def get_module_version():
4303  r"""get_module_version() -> std::string const"""
4304  return _IMP_container.get_module_version()
4305 
4306 def get_example_path(fname):
4307  r"""get_example_path(std::string fname) -> std::string"""
4308  return _IMP_container.get_example_path(fname)
4309 
4310 def get_data_path(fname):
4311  r"""get_data_path(std::string fname) -> std::string"""
4312  return _IMP_container.get_data_path(fname)
4313 
4314 from . import _version_check
4315 _version_check.check_version(get_module_version())
4316 __version__ = get_module_version()
4317 
4318 
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:44
A shared container for Pairs.
Definition: PairContainer.h:39
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.
Definition: QuadPredicate.h:31
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
Definition: generic.h:36
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Composable functors to implement scores via compile-time composition.
Implement a constraint on the Model.
Definition: Constraint.h:49
Abstract class for scoring object(s) of type ParticleIndexQuad.
Definition: QuadScore.h:44
Abstract predicate function.
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Definition: ScoreState.h:56
A shared container for Quads.
Definition: QuadContainer.h:39
A shared container for Singletons.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
Definition: PairPredicate.h:31
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Shared optimizer state that is invoked upon commitment of new coordinates.
Abstract predicate function.
A shared container for Triplets.
Output IMP model data in various file formats.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
Definition: TripletScore.h:44
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:56