IMP logo
IMP Reference Guide  2.7.0
The Integrative Modeling Platform
domino/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
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 # This wrapper is part of IMP,
8 # Copyright 2007-2017 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17  def swig_import_helper():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_domino')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
24  return importlib.import_module('_IMP_domino')
25  _IMP_domino = swig_import_helper()
26  del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28  def swig_import_helper():
29  from os.path import dirname
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_domino', [dirname(__file__)])
34  except ImportError:
35  import _IMP_domino
36  return _IMP_domino
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_domino', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_domino = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_domino
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
78 def _swig_getattr(self, class_type, name):
79  if (name == "thisown"):
80  return self.this.own()
81  method = class_type.__swig_getmethods__.get(name, None)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_DOMINO_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_DOMINO_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_domino.delete_IMP_DOMINO_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
126  return _IMP_domino.IMP_DOMINO_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
132  incr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
133  """
134  return _IMP_domino.IMP_DOMINO_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_DOMINO_SwigPyIterator self, size_t n=1) -> IMP_DOMINO_SwigPyIterator
140  decr(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator
141  """
142  return _IMP_domino.IMP_DOMINO_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_domino.IMP_DOMINO_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
152  return _IMP_domino.IMP_DOMINO_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_DOMINO_SwigPyIterator self) -> IMP_DOMINO_SwigPyIterator"""
157  return _IMP_domino.IMP_DOMINO_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
162  return _IMP_domino.IMP_DOMINO_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
167  return _IMP_domino.IMP_DOMINO_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_DOMINO_SwigPyIterator self) -> PyObject *"""
172  return _IMP_domino.IMP_DOMINO_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
177  return _IMP_domino.IMP_DOMINO_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
182  return _IMP_domino.IMP_DOMINO_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> bool"""
187  return _IMP_domino.IMP_DOMINO_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
192  return _IMP_domino.IMP_DOMINO_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
197  return _IMP_domino.IMP_DOMINO_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator"""
202  return _IMP_domino.IMP_DOMINO_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_DOMINO_SwigPyIterator self, ptrdiff_t n) -> IMP_DOMINO_SwigPyIterator
208  __sub__(IMP_DOMINO_SwigPyIterator self, IMP_DOMINO_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_domino.IMP_DOMINO_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_DOMINO_SwigPyIterator_swigregister = _IMP_domino.IMP_DOMINO_SwigPyIterator_swigregister
215 IMP_DOMINO_SwigPyIterator_swigregister(IMP_DOMINO_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 IMP_DEBUG = _IMP_domino.IMP_DEBUG
224 IMP_RELEASE = _IMP_domino.IMP_RELEASE
225 IMP_SILENT = _IMP_domino.IMP_SILENT
226 IMP_PROGRESS = _IMP_domino.IMP_PROGRESS
227 IMP_TERSE = _IMP_domino.IMP_TERSE
228 IMP_VERBOSE = _IMP_domino.IMP_VERBOSE
229 IMP_MEMORY = _IMP_domino.IMP_MEMORY
230 IMP_NONE = _IMP_domino.IMP_NONE
231 IMP_USAGE = _IMP_domino.IMP_USAGE
232 IMP_INTERNAL = _IMP_domino.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_domino.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_domino.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_domino.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_domino.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_domino.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_domino.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_domino.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_domino.IMPKERNEL_SHOW_WARNINGS
242 
243 import sys
244 class _DirectorObjects(object):
245  """@internal Simple class to keep references to director objects
246  to prevent premature deletion."""
247  def __init__(self):
248  self._objects = []
249  def register(self, obj):
250  """Take a reference to a director object; will only work for
251  refcounted C++ classes"""
252  if hasattr(obj, 'get_ref_count'):
253  self._objects.append(obj)
254  def cleanup(self):
255  """Only drop our reference and allow cleanup by Python if no other
256  Python references exist (we hold 3 references: one in self._objects,
257  one in x, and one in the argument list for getrefcount) *and* no
258  other C++ references exist (the Python object always holds one)"""
259  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
260  or x.get_ref_count() > 1]
261 # Do in two steps so the references are kept until the end of the
262 # function (deleting references may trigger a fresh call to this method)
263  self._objects = objs
264  def get_object_count(self):
265  """Get number of director objects (useful for testing only)"""
266  return len(self._objects)
267 _director_objects = _DirectorObjects()
268 
269 class _ostream(object):
270  """Proxy of C++ std::ostream class."""
271 
272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
273 
274  def __init__(self, *args, **kwargs):
275  raise AttributeError("No constructor defined")
276  __repr__ = _swig_repr
277 
278  def write(self, osa_buf):
279  """write(_ostream self, char const * osa_buf)"""
280  return _IMP_domino._ostream_write(self, osa_buf)
281 
282 _ostream_swigregister = _IMP_domino._ostream_swigregister
283 _ostream_swigregister(_ostream)
284 
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_domino.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_domino.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_domino.IMP_HAS_NOEXCEPT
288 import IMP
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_domino.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_domino.IMPCGAL_SHOW_WARNINGS
294 import IMP.cgal
295 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_IMP_CGAL
296 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
297 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
298 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_RANDOM
299 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ALGEBRA_HAS_BOOST_SYSTEM
300 IMP_ALGEBRA_HAS_CGAL = _IMP_domino.IMP_ALGEBRA_HAS_CGAL
301 IMP_ALGEBRA_HAS_ANN = _IMP_domino.IMP_ALGEBRA_HAS_ANN
302 IMPALGEBRA_SHOW_WARNINGS = _IMP_domino.IMPALGEBRA_SHOW_WARNINGS
303 import IMP.algebra
304 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_domino.IMP_DISPLAY_HAS_IMP_CGAL
305 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
306 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
307 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_RANDOM
308 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DISPLAY_HAS_BOOST_SYSTEM
309 IMP_DISPLAY_HAS_CGAL = _IMP_domino.IMP_DISPLAY_HAS_CGAL
310 IMPDISPLAY_SHOW_WARNINGS = _IMP_domino.IMPDISPLAY_SHOW_WARNINGS
311 import IMP.display
312 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
313 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
314 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
315 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
316 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
317 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_CGAL
318 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_domino.IMP_SCORE_FUNCTOR_HAS_HDF5
319 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_domino.IMPSCOREFUNCTOR_SHOW_WARNINGS
320 import IMP.score_functor
321 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_domino.IMP_STATISTICS_HAS_IMP_CGAL
322 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
323 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
324 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_RANDOM
325 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_domino.IMP_STATISTICS_HAS_BOOST_SYSTEM
326 IMP_STATISTICS_HAS_CGAL = _IMP_domino.IMP_STATISTICS_HAS_CGAL
327 IMPSTATISTICS_SHOW_WARNINGS = _IMP_domino.IMPSTATISTICS_SHOW_WARNINGS
328 import IMP.statistics
329 IMP_CORE_HAS_IMP_CGAL = _IMP_domino.IMP_CORE_HAS_IMP_CGAL
330 IMP_CORE_HAS_IMP_KERNEL = _IMP_domino.IMP_CORE_HAS_IMP_KERNEL
331 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_FILESYSTEM
332 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 IMP_CORE_HAS_BOOST_RANDOM = _IMP_domino.IMP_CORE_HAS_BOOST_RANDOM
334 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CORE_HAS_BOOST_SYSTEM
335 IMP_CORE_HAS_CGAL = _IMP_domino.IMP_CORE_HAS_CGAL
336 IMP_CORE_HAS_HDF5 = _IMP_domino.IMP_CORE_HAS_HDF5
337 IMPCORE_SHOW_WARNINGS = _IMP_domino.IMPCORE_SHOW_WARNINGS
338 import IMP.core
339 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_domino.IMP_CONTAINER_HAS_IMP_ALGEBRA
340 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_domino.IMP_CONTAINER_HAS_IMP_CGAL
341 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_domino.IMP_CONTAINER_HAS_IMP_DISPLAY
342 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_domino.IMP_CONTAINER_HAS_IMP_KERNEL
343 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
344 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
345 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
346 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_RANDOM
347 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_domino.IMP_CONTAINER_HAS_BOOST_SYSTEM
348 IMP_CONTAINER_HAS_CGAL = _IMP_domino.IMP_CONTAINER_HAS_CGAL
349 IMP_CONTAINER_HAS_HDF5 = _IMP_domino.IMP_CONTAINER_HAS_HDF5
350 IMPCONTAINER_SHOW_WARNINGS = _IMP_domino.IMPCONTAINER_SHOW_WARNINGS
351 import IMP.container
352 IMP_ATOM_HAS_IMP_CGAL = _IMP_domino.IMP_ATOM_HAS_IMP_CGAL
353 IMP_ATOM_HAS_IMP_KERNEL = _IMP_domino.IMP_ATOM_HAS_IMP_KERNEL
354 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
355 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
356 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_domino.IMP_ATOM_HAS_BOOST_RANDOM
357 IMP_ATOM_HAS_BOOST_REGEX = _IMP_domino.IMP_ATOM_HAS_BOOST_REGEX
358 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_domino.IMP_ATOM_HAS_BOOST_SYSTEM
359 IMP_ATOM_HAS_CGAL = _IMP_domino.IMP_ATOM_HAS_CGAL
360 IMP_ATOM_HAS_HDF5 = _IMP_domino.IMP_ATOM_HAS_HDF5
361 IMPATOM_SHOW_WARNINGS = _IMP_domino.IMPATOM_SHOW_WARNINGS
362 IMP_ATOM_TYPE_INDEX = _IMP_domino.IMP_ATOM_TYPE_INDEX
363 IMP_RESIDUE_TYPE_INDEX = _IMP_domino.IMP_RESIDUE_TYPE_INDEX
364 IMP_HIERARCHY_TYPE_INDEX = _IMP_domino.IMP_HIERARCHY_TYPE_INDEX
365 import IMP.atom
366 IMP_RMF_HAS_IMP_CGAL = _IMP_domino.IMP_RMF_HAS_IMP_CGAL
367 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
368 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_FILESYSTEM
369 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
370 IMP_RMF_HAS_BOOST_RANDOM = _IMP_domino.IMP_RMF_HAS_BOOST_RANDOM
371 IMP_RMF_HAS_BOOST_REGEX = _IMP_domino.IMP_RMF_HAS_BOOST_REGEX
372 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_domino.IMP_RMF_HAS_BOOST_SYSTEM
373 IMP_RMF_HAS_CGAL = _IMP_domino.IMP_RMF_HAS_CGAL
374 IMP_RMF_HAS_HDF5 = _IMP_domino.IMP_RMF_HAS_HDF5
375 IMPRMF_SHOW_WARNINGS = _IMP_domino.IMPRMF_SHOW_WARNINGS
376 import IMP.rmf
377 import RMF
378 IMP_DOMINO_HAS_IMP_ATOM = _IMP_domino.IMP_DOMINO_HAS_IMP_ATOM
379 IMP_DOMINO_HAS_IMP_CGAL = _IMP_domino.IMP_DOMINO_HAS_IMP_CGAL
380 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_domino.IMP_DOMINO_HAS_IMP_KERNEL
381 IMP_DOMINO_HAS_IMP_RMF = _IMP_domino.IMP_DOMINO_HAS_IMP_RMF
382 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_domino.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
383 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_FILESYSTEM
384 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_domino.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
385 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_domino.IMP_DOMINO_HAS_BOOST_RANDOM
386 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_domino.IMP_DOMINO_HAS_BOOST_REGEX
387 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_domino.IMP_DOMINO_HAS_BOOST_SYSTEM
388 IMP_DOMINO_HAS_CGAL = _IMP_domino.IMP_DOMINO_HAS_CGAL
389 IMP_DOMINO_HAS_HDF5 = _IMP_domino.IMP_DOMINO_HAS_HDF5
390 IMP_DOMINO_HAS_RMF = _IMP_domino.IMP_DOMINO_HAS_RMF
391 IMPDOMINO_SHOW_WARNINGS = _IMP_domino.IMPDOMINO_SHOW_WARNINGS
392 import RMF_HDF5
393 
394 _object_types.append("DiscreteSampler")
395 
396 
397 def _object_cast_to_DiscreteSampler(o):
398  """_object_cast_to_DiscreteSampler(Object o) -> DiscreteSampler"""
399  return _IMP_domino._object_cast_to_DiscreteSampler(o)
400 
401 _object_types.append("ParticleStates")
402 
403 
404 def _object_cast_to_ParticleStates(o):
405  """_object_cast_to_ParticleStates(Object o) -> ParticleStates"""
406  return _IMP_domino._object_cast_to_ParticleStates(o)
407 
408 _object_types.append("SubsetFilter")
409 
410 
411 def _object_cast_to_SubsetFilter(o):
412  """_object_cast_to_SubsetFilter(Object o) -> SubsetFilter"""
413  return _IMP_domino._object_cast_to_SubsetFilter(o)
414 
415 _object_types.append("SubsetFilterTable")
416 
417 
418 def _object_cast_to_SubsetFilterTable(o):
419  """_object_cast_to_SubsetFilterTable(Object o) -> SubsetFilterTable"""
420  return _IMP_domino._object_cast_to_SubsetFilterTable(o)
421 
422 _object_types.append("AssignmentsTable")
423 
424 
425 def _object_cast_to_AssignmentsTable(o):
426  """_object_cast_to_AssignmentsTable(Object o) -> AssignmentsTable"""
427  return _IMP_domino._object_cast_to_AssignmentsTable(o)
428 
429 _object_types.append("AssignmentContainer")
430 
431 
432 def _object_cast_to_AssignmentContainer(o):
433  """_object_cast_to_AssignmentContainer(Object o) -> AssignmentContainer"""
434  return _IMP_domino._object_cast_to_AssignmentContainer(o)
436  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> class."""
437 
438  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
439  __repr__ = _swig_repr
440 
441  def __init__(self):
442  """__init__(IMP::internal::BoostDigraph<(IMP::domino::InteractionGraph,p.IMP::Particle,IMP::domino::ShowInteractionGraphVertex)> self) -> InteractionGraph"""
443  this = _IMP_domino.new_InteractionGraph()
444  try:
445  self.this.append(this)
446  except __builtin__.Exception:
447  self.this = this
448 
449  def get_graph(self):
450  """get_graph(InteractionGraph self) -> IMP::domino::InteractionGraph const &"""
451  return _IMP_domino.InteractionGraph_get_graph(self)
452 
453 
454  def get_vertices(self):
455  """get_vertices(InteractionGraph self) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
456  return _IMP_domino.InteractionGraph_get_vertices(self)
457 
458 
459  def get_vertex_name(self, i):
460  """get_vertex_name(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor i) -> Particle"""
461  return _IMP_domino.InteractionGraph_get_vertex_name(self, i)
462 
463 
464  def get_in_neighbors(self, v):
465  """get_in_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
466  return _IMP_domino.InteractionGraph_get_in_neighbors(self, v)
467 
468 
469  def get_out_neighbors(self, v):
470  """get_out_neighbors(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptors"""
471  return _IMP_domino.InteractionGraph_get_out_neighbors(self, v)
472 
473 
474  def show_graphviz(self, *args):
475  """
476  show_graphviz(InteractionGraph self, _ostream out)
477  show_graphviz(InteractionGraph self)
478  """
479  return _IMP_domino.InteractionGraph_show_graphviz(self, *args)
480 
481 
482  def get_graphviz_string(self):
483  """get_graphviz_string(InteractionGraph self) -> std::string"""
484  return _IMP_domino.InteractionGraph_get_graphviz_string(self)
485 
486 
487  def add_edge(self, v0, v1):
488  """add_edge(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor v1)"""
489  return _IMP_domino.InteractionGraph_add_edge(self, v0, v1)
490 
491 
492  def add_vertex(self, l):
493  """add_vertex(InteractionGraph self, Particle l) -> IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor"""
494  return _IMP_domino.InteractionGraph_add_vertex(self, l)
495 
496 
497  def remove_vertex(self, l):
498  """remove_vertex(InteractionGraph self, IMP::internal::BoostDigraph< IMP::domino::InteractionGraph,IMP::Particle *,IMP::domino::ShowInteractionGraphVertex >::VertexDescriptor l)"""
499  return _IMP_domino.InteractionGraph_remove_vertex(self, l)
500 
501  __swig_destroy__ = _IMP_domino.delete_InteractionGraph
502  __del__ = lambda self: None
503 InteractionGraph_swigregister = _IMP_domino.InteractionGraph_swigregister
504 InteractionGraph_swigregister(InteractionGraph)
505 
506 
507 _value_types.append("InteractionGraph")
508 
509 class SubsetGraph(IMP.Object):
510  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> class."""
511 
512  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
513  __repr__ = _swig_repr
514 
515  def __init__(self):
516  """__init__(IMP::internal::BoostDigraph<(IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex)> self) -> SubsetGraph"""
517  this = _IMP_domino.new_SubsetGraph()
518  try:
519  self.this.append(this)
520  except __builtin__.Exception:
521  self.this = this
522 
523  def get_graph(self):
524  """get_graph(SubsetGraph self) -> IMP::domino::SubsetGraph const &"""
525  return _IMP_domino.SubsetGraph_get_graph(self)
526 
527 
528  def get_vertices(self):
529  """get_vertices(SubsetGraph self) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
530  return _IMP_domino.SubsetGraph_get_vertices(self)
531 
532 
533  def get_vertex_name(self, i):
534  """get_vertex_name(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor i) -> Subset"""
535  return _IMP_domino.SubsetGraph_get_vertex_name(self, i)
536 
537 
538  def get_in_neighbors(self, v):
539  """get_in_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
540  return _IMP_domino.SubsetGraph_get_in_neighbors(self, v)
541 
542 
543  def get_out_neighbors(self, v):
544  """get_out_neighbors(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptors"""
545  return _IMP_domino.SubsetGraph_get_out_neighbors(self, v)
546 
547 
548  def show_graphviz(self, *args):
549  """
550  show_graphviz(SubsetGraph self, _ostream out)
551  show_graphviz(SubsetGraph self)
552  """
553  return _IMP_domino.SubsetGraph_show_graphviz(self, *args)
554 
555 
556  def get_graphviz_string(self):
557  """get_graphviz_string(SubsetGraph self) -> std::string"""
558  return _IMP_domino.SubsetGraph_get_graphviz_string(self)
559 
560 
561  def add_edge(self, v0, v1):
562  """add_edge(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor v1)"""
563  return _IMP_domino.SubsetGraph_add_edge(self, v0, v1)
564 
565 
566  def add_vertex(self, l):
567  """add_vertex(SubsetGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor"""
568  return _IMP_domino.SubsetGraph_add_vertex(self, l)
569 
570 
571  def remove_vertex(self, l):
572  """remove_vertex(SubsetGraph self, IMP::internal::BoostDigraph< IMP::domino::SubsetGraph,IMP::domino::Subset,IMP::domino::ShowSubsetGraphVertex >::VertexDescriptor l)"""
573  return _IMP_domino.SubsetGraph_remove_vertex(self, l)
574 
575  __swig_destroy__ = _IMP_domino.delete_SubsetGraph
576  __del__ = lambda self: None
577 SubsetGraph_swigregister = _IMP_domino.SubsetGraph_swigregister
578 SubsetGraph_swigregister(SubsetGraph)
579 
580 
581 _value_types.append("SubsetGraph")
582 
583 class CliqueGraph(IMP.Object):
584  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> class."""
585 
586  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
587  __repr__ = _swig_repr
588 
589  def __init__(self):
590  """__init__(IMP::internal::BoostDigraph<(IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex)> self) -> CliqueGraph"""
591  this = _IMP_domino.new_CliqueGraph()
592  try:
593  self.this.append(this)
594  except __builtin__.Exception:
595  self.this = this
596 
597  def get_graph(self):
598  """get_graph(CliqueGraph self) -> IMP::domino::CliqueGraph const &"""
599  return _IMP_domino.CliqueGraph_get_graph(self)
600 
601 
602  def get_vertices(self):
603  """get_vertices(CliqueGraph self) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
604  return _IMP_domino.CliqueGraph_get_vertices(self)
605 
606 
607  def get_vertex_name(self, i):
608  """get_vertex_name(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor i) -> Subset"""
609  return _IMP_domino.CliqueGraph_get_vertex_name(self, i)
610 
611 
612  def get_in_neighbors(self, v):
613  """get_in_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
614  return _IMP_domino.CliqueGraph_get_in_neighbors(self, v)
615 
616 
617  def get_out_neighbors(self, v):
618  """get_out_neighbors(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptors"""
619  return _IMP_domino.CliqueGraph_get_out_neighbors(self, v)
620 
621 
622  def show_graphviz(self, *args):
623  """
624  show_graphviz(CliqueGraph self, _ostream out)
625  show_graphviz(CliqueGraph self)
626  """
627  return _IMP_domino.CliqueGraph_show_graphviz(self, *args)
628 
629 
630  def get_graphviz_string(self):
631  """get_graphviz_string(CliqueGraph self) -> std::string"""
632  return _IMP_domino.CliqueGraph_get_graphviz_string(self)
633 
634 
635  def add_edge(self, v0, v1):
636  """add_edge(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor v1)"""
637  return _IMP_domino.CliqueGraph_add_edge(self, v0, v1)
638 
639 
640  def add_vertex(self, l):
641  """add_vertex(CliqueGraph self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor"""
642  return _IMP_domino.CliqueGraph_add_vertex(self, l)
643 
644 
645  def remove_vertex(self, l):
646  """remove_vertex(CliqueGraph self, IMP::internal::BoostDigraph< IMP::domino::CliqueGraph,IMP::domino::Subset,IMP::domino::ShowCliqueGraphVertex >::VertexDescriptor l)"""
647  return _IMP_domino.CliqueGraph_remove_vertex(self, l)
648 
649  __swig_destroy__ = _IMP_domino.delete_CliqueGraph
650  __del__ = lambda self: None
651 CliqueGraph_swigregister = _IMP_domino.CliqueGraph_swigregister
652 CliqueGraph_swigregister(CliqueGraph)
653 
654 
655 _value_types.append("CliqueGraph")
656 
657 class MergeTree(IMP.Object):
658  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> class."""
659 
660  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
661  __repr__ = _swig_repr
662 
663  def __init__(self):
664  """__init__(IMP::internal::BoostDigraph<(IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex)> self) -> MergeTree"""
665  this = _IMP_domino.new_MergeTree()
666  try:
667  self.this.append(this)
668  except __builtin__.Exception:
669  self.this = this
670 
671  def get_graph(self):
672  """get_graph(MergeTree self) -> IMP::domino::MergeTree const &"""
673  return _IMP_domino.MergeTree_get_graph(self)
674 
675 
676  def get_vertices(self):
677  """get_vertices(MergeTree self) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
678  return _IMP_domino.MergeTree_get_vertices(self)
679 
680 
681  def get_vertex_name(self, i):
682  """get_vertex_name(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor i) -> Subset"""
683  return _IMP_domino.MergeTree_get_vertex_name(self, i)
684 
685 
686  def get_in_neighbors(self, v):
687  """get_in_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
688  return _IMP_domino.MergeTree_get_in_neighbors(self, v)
689 
690 
691  def get_out_neighbors(self, v):
692  """get_out_neighbors(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptors"""
693  return _IMP_domino.MergeTree_get_out_neighbors(self, v)
694 
695 
696  def show_graphviz(self, *args):
697  """
698  show_graphviz(MergeTree self, _ostream out)
699  show_graphviz(MergeTree self)
700  """
701  return _IMP_domino.MergeTree_show_graphviz(self, *args)
702 
703 
704  def get_graphviz_string(self):
705  """get_graphviz_string(MergeTree self) -> std::string"""
706  return _IMP_domino.MergeTree_get_graphviz_string(self)
707 
708 
709  def add_edge(self, v0, v1):
710  """add_edge(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor v1)"""
711  return _IMP_domino.MergeTree_add_edge(self, v0, v1)
712 
713 
714  def add_vertex(self, l):
715  """add_vertex(MergeTree self, Subset l) -> IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor"""
716  return _IMP_domino.MergeTree_add_vertex(self, l)
717 
718 
719  def remove_vertex(self, l):
720  """remove_vertex(MergeTree self, IMP::internal::BoostDigraph< IMP::domino::MergeTree,IMP::domino::Subset,IMP::domino::ShowMergeTreeVertex >::VertexDescriptor l)"""
721  return _IMP_domino.MergeTree_remove_vertex(self, l)
722 
723  __swig_destroy__ = _IMP_domino.delete_MergeTree
724  __del__ = lambda self: None
725 MergeTree_swigregister = _IMP_domino.MergeTree_swigregister
726 MergeTree_swigregister(MergeTree)
727 
728 
729 _value_types.append("MergeTree")
730 
731 
732 _object_types.append("BranchAndBoundSampler")
733 
734 
735 def _object_cast_to_BranchAndBoundSampler(o):
736  """_object_cast_to_BranchAndBoundSampler(Object o) -> BranchAndBoundSampler"""
737  return _IMP_domino._object_cast_to_BranchAndBoundSampler(o)
738 
739 _object_types.append("BranchAndBoundAssignmentsTable")
740 
741 
742 def _object_cast_to_BranchAndBoundAssignmentsTable(o):
743  """_object_cast_to_BranchAndBoundAssignmentsTable(Object o) -> BranchAndBoundAssignmentsTable"""
744  return _IMP_domino._object_cast_to_BranchAndBoundAssignmentsTable(o)
745 
746 _object_types.append("RecursiveAssignmentsTable")
747 
748 
749 def _object_cast_to_RecursiveAssignmentsTable(o):
750  """_object_cast_to_RecursiveAssignmentsTable(Object o) -> RecursiveAssignmentsTable"""
751  return _IMP_domino._object_cast_to_RecursiveAssignmentsTable(o)
752 
753 _object_types.append("SimpleAssignmentsTable")
754 
755 
756 def _object_cast_to_SimpleAssignmentsTable(o):
757  """_object_cast_to_SimpleAssignmentsTable(Object o) -> SimpleAssignmentsTable"""
758  return _IMP_domino._object_cast_to_SimpleAssignmentsTable(o)
759 
760 _object_types.append("CompoundStates")
761 
762 
763 def _object_cast_to_CompoundStates(o):
764  """_object_cast_to_CompoundStates(Object o) -> CompoundStates"""
765  return _IMP_domino._object_cast_to_CompoundStates(o)
766 
767 _object_types.append("DisjointSetsSubsetFilterTable")
768 
769 
770 def _object_cast_to_DisjointSetsSubsetFilterTable(o):
771  """_object_cast_to_DisjointSetsSubsetFilterTable(Object o) -> DisjointSetsSubsetFilterTable"""
772  return _IMP_domino._object_cast_to_DisjointSetsSubsetFilterTable(o)
773 
774 _object_types.append("MinimumRestraintScoreSubsetFilterTable")
775 
776 
777 def _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o):
778  """_object_cast_to_MinimumRestraintScoreSubsetFilterTable(Object o) -> MinimumRestraintScoreSubsetFilterTable"""
779  return _IMP_domino._object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
780 
781 _object_types.append("DominoSampler")
782 
783 
784 def _object_cast_to_DominoSampler(o):
785  """_object_cast_to_DominoSampler(Object o) -> DominoSampler"""
786  return _IMP_domino._object_cast_to_DominoSampler(o)
787 
788 _object_types.append("EqualitySubsetFilterTable")
789 
790 
791 def _object_cast_to_EqualitySubsetFilterTable(o):
792  """_object_cast_to_EqualitySubsetFilterTable(Object o) -> EqualitySubsetFilterTable"""
793  return _IMP_domino._object_cast_to_EqualitySubsetFilterTable(o)
794 
795 _object_types.append("EquivalenceSubsetFilterTable")
796 
797 
798 def _object_cast_to_EquivalenceSubsetFilterTable(o):
799  """_object_cast_to_EquivalenceSubsetFilterTable(Object o) -> EquivalenceSubsetFilterTable"""
800  return _IMP_domino._object_cast_to_EquivalenceSubsetFilterTable(o)
801 
802 _object_types.append("EquivalenceAndExclusionSubsetFilterTable")
803 
804 
805 def _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o):
806  """_object_cast_to_EquivalenceAndExclusionSubsetFilterTable(Object o) -> EquivalenceAndExclusionSubsetFilterTable"""
807  return _IMP_domino._object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
808 
809 _object_types.append("ExclusionSubsetFilterTable")
810 
811 
812 def _object_cast_to_ExclusionSubsetFilterTable(o):
813  """_object_cast_to_ExclusionSubsetFilterTable(Object o) -> ExclusionSubsetFilterTable"""
814  return _IMP_domino._object_cast_to_ExclusionSubsetFilterTable(o)
815 
816 _object_types.append("IndexStates")
817 
818 
819 def _object_cast_to_IndexStates(o):
820  """_object_cast_to_IndexStates(Object o) -> IndexStates"""
821  return _IMP_domino._object_cast_to_IndexStates(o)
822 
823 _object_types.append("ListSubsetFilterTable")
824 
825 
826 def _object_cast_to_ListSubsetFilterTable(o):
827  """_object_cast_to_ListSubsetFilterTable(Object o) -> ListSubsetFilterTable"""
828  return _IMP_domino._object_cast_to_ListSubsetFilterTable(o)
829 
830 _object_types.append("ListAssignmentsTable")
831 
832 
833 def _object_cast_to_ListAssignmentsTable(o):
834  """_object_cast_to_ListAssignmentsTable(Object o) -> ListAssignmentsTable"""
835  return _IMP_domino._object_cast_to_ListAssignmentsTable(o)
836 
837 _object_types.append("ParticleStatesTable")
838 
839 
840 def _object_cast_to_ParticleStatesTable(o):
841  """_object_cast_to_ParticleStatesTable(Object o) -> ParticleStatesTable"""
842  return _IMP_domino._object_cast_to_ParticleStatesTable(o)
843 
844 _object_types.append("RecursiveStates")
845 
846 
847 def _object_cast_to_RecursiveStates(o):
848  """_object_cast_to_RecursiveStates(Object o) -> RecursiveStates"""
849  return _IMP_domino._object_cast_to_RecursiveStates(o)
850 
851 _object_types.append("ProbabilisticSubsetFilterTable")
852 
853 
854 def _object_cast_to_ProbabilisticSubsetFilterTable(o):
855  """_object_cast_to_ProbabilisticSubsetFilterTable(Object o) -> ProbabilisticSubsetFilterTable"""
856  return _IMP_domino._object_cast_to_ProbabilisticSubsetFilterTable(o)
857 
858 _object_types.append("RestraintScoreSubsetFilterTable")
859 
860 
861 def _object_cast_to_RestraintScoreSubsetFilterTable(o):
862  """_object_cast_to_RestraintScoreSubsetFilterTable(Object o) -> RestraintScoreSubsetFilterTable"""
863  return _IMP_domino._object_cast_to_RestraintScoreSubsetFilterTable(o)
864 
865 _object_types.append("RigidBodyStates")
866 
867 
868 def _object_cast_to_RigidBodyStates(o):
869  """_object_cast_to_RigidBodyStates(Object o) -> RigidBodyStates"""
870  return _IMP_domino._object_cast_to_RigidBodyStates(o)
871 
872 _object_types.append("XYZStates")
873 
874 
875 def _object_cast_to_XYZStates(o):
876  """_object_cast_to_XYZStates(Object o) -> XYZStates"""
877  return _IMP_domino._object_cast_to_XYZStates(o)
878 
879 _object_types.append("NestedRigidBodyStates")
880 
881 
882 def _object_cast_to_NestedRigidBodyStates(o):
883  """_object_cast_to_NestedRigidBodyStates(Object o) -> NestedRigidBodyStates"""
884  return _IMP_domino._object_cast_to_NestedRigidBodyStates(o)
885 
886 _object_types.append("DependencyScoreState")
887 
888 
889 def _object_cast_to_DependencyScoreState(o):
890  """_object_cast_to_DependencyScoreState(Object o) -> DependencyScoreState"""
891  return _IMP_domino._object_cast_to_DependencyScoreState(o)
892 
893 _object_types.append("PairListSubsetFilterTable")
894 
895 
896 def _object_cast_to_PairListSubsetFilterTable(o):
897  """_object_cast_to_PairListSubsetFilterTable(Object o) -> PairListSubsetFilterTable"""
898  return _IMP_domino._object_cast_to_PairListSubsetFilterTable(o)
899 
900 _object_types.append("ListAssignmentContainer")
901 
902 
903 def _object_cast_to_ListAssignmentContainer(o):
904  """_object_cast_to_ListAssignmentContainer(Object o) -> ListAssignmentContainer"""
905  return _IMP_domino._object_cast_to_ListAssignmentContainer(o)
906 
907 _object_types.append("PackedAssignmentContainer")
908 
909 
910 def _object_cast_to_PackedAssignmentContainer(o):
911  """_object_cast_to_PackedAssignmentContainer(Object o) -> PackedAssignmentContainer"""
912  return _IMP_domino._object_cast_to_PackedAssignmentContainer(o)
913 
914 _object_types.append("HeapAssignmentContainer")
915 
916 
917 def _object_cast_to_HeapAssignmentContainer(o):
918  """_object_cast_to_HeapAssignmentContainer(Object o) -> HeapAssignmentContainer"""
919  return _IMP_domino._object_cast_to_HeapAssignmentContainer(o)
920 
921 _object_types.append("RangeViewAssignmentContainer")
922 
923 
924 def _object_cast_to_RangeViewAssignmentContainer(o):
925  """_object_cast_to_RangeViewAssignmentContainer(Object o) -> RangeViewAssignmentContainer"""
926  return _IMP_domino._object_cast_to_RangeViewAssignmentContainer(o)
927 
928 _object_types.append("SampleAssignmentContainer")
929 
930 
931 def _object_cast_to_SampleAssignmentContainer(o):
932  """_object_cast_to_SampleAssignmentContainer(Object o) -> SampleAssignmentContainer"""
933  return _IMP_domino._object_cast_to_SampleAssignmentContainer(o)
934 
935 _object_types.append("PermutationStates")
936 
937 
938 def _object_cast_to_PermutationStates(o):
939  """_object_cast_to_PermutationStates(Object o) -> PermutationStates"""
940  return _IMP_domino._object_cast_to_PermutationStates(o)
941 
942 _object_types.append("WriteHDF5AssignmentContainer")
943 
944 
945 def _object_cast_to_WriteHDF5AssignmentContainer(o):
946  """_object_cast_to_WriteHDF5AssignmentContainer(Object o) -> WriteHDF5AssignmentContainer"""
947  return _IMP_domino._object_cast_to_WriteHDF5AssignmentContainer(o)
948 
949 _object_types.append("ReadHDF5AssignmentContainer")
950 
951 
952 def _object_cast_to_ReadHDF5AssignmentContainer(o):
953  """_object_cast_to_ReadHDF5AssignmentContainer(Object o) -> ReadHDF5AssignmentContainer"""
954  return _IMP_domino._object_cast_to_ReadHDF5AssignmentContainer(o)
955 
956 _object_types.append("ReadAssignmentContainer")
957 
958 
959 def _object_cast_to_ReadAssignmentContainer(o):
960  """_object_cast_to_ReadAssignmentContainer(Object o) -> ReadAssignmentContainer"""
961  return _IMP_domino._object_cast_to_ReadAssignmentContainer(o)
962 
963 _object_types.append("WriteAssignmentContainer")
964 
965 
966 def _object_cast_to_WriteAssignmentContainer(o):
967  """_object_cast_to_WriteAssignmentContainer(Object o) -> WriteAssignmentContainer"""
968  return _IMP_domino._object_cast_to_WriteAssignmentContainer(o)
969 
970 _object_types.append("CappedAssignmentContainer")
971 
972 
973 def _object_cast_to_CappedAssignmentContainer(o):
974  """_object_cast_to_CappedAssignmentContainer(Object o) -> CappedAssignmentContainer"""
975  return _IMP_domino._object_cast_to_CappedAssignmentContainer(o)
976 
977 _object_types.append("RestraintCache")
978 
979 
980 def _object_cast_to_RestraintCache(o):
981  """_object_cast_to_RestraintCache(Object o) -> RestraintCache"""
982  return _IMP_domino._object_cast_to_RestraintCache(o)
983 
984 Subsets=list
985 _plural_types.append("Subsets")
986 _value_types.append("Subset")
987 
988 
989 Assignments=list
990 _plural_types.append("Assignments")
991 _value_types.append("Assignment")
992 
993 
994 Slices=list
995 _plural_types.append("Slices")
996 _value_types.append("Slice")
997 
998 
999 Orders=list
1000 _plural_types.append("Orders")
1001 _value_types.append("Order")
1002 
1003 class _IntArray(IMP._Value):
1004  """Proxy of C++ IMP::ConstVector<(int)> class."""
1005 
1006  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1007  __repr__ = _swig_repr
1008  __swig_destroy__ = _IMP_domino.delete__IntArray
1009  __del__ = lambda self: None
1010 
1011  def __init__(self, *args):
1012  """
1013  __init__(IMP::ConstVector<(int)> self, unsigned int sz, int fill) -> _IntArray
1014  __init__(IMP::ConstVector<(int)> self) -> _IntArray
1015  """
1016  this = _IMP_domino.new__IntArray(*args)
1017  try:
1018  self.this.append(this)
1019  except __builtin__.Exception:
1020  self.this = this
1021 
1022  def __cmp__(self, o):
1023  """__cmp__(_IntArray self, _IntArray o) -> int"""
1024  return _IMP_domino._IntArray___cmp__(self, o)
1025 
1026 
1027  def __eq__(self, o):
1028  """__eq__(_IntArray self, _IntArray o) -> bool"""
1029  return _IMP_domino._IntArray___eq__(self, o)
1030 
1031 
1032  def __ne__(self, o):
1033  """__ne__(_IntArray self, _IntArray o) -> bool"""
1034  return _IMP_domino._IntArray___ne__(self, o)
1035 
1036 
1037  def __lt__(self, o):
1038  """__lt__(_IntArray self, _IntArray o) -> bool"""
1039  return _IMP_domino._IntArray___lt__(self, o)
1040 
1041 
1042  def __gt__(self, o):
1043  """__gt__(_IntArray self, _IntArray o) -> bool"""
1044  return _IMP_domino._IntArray___gt__(self, o)
1045 
1046 
1047  def __ge__(self, o):
1048  """__ge__(_IntArray self, _IntArray o) -> bool"""
1049  return _IMP_domino._IntArray___ge__(self, o)
1050 
1051 
1052  def __le__(self, o):
1053  """__le__(_IntArray self, _IntArray o) -> bool"""
1054  return _IMP_domino._IntArray___le__(self, o)
1055 
1056 
1057  def __getitem__(self, i):
1058  """__getitem__(_IntArray self, unsigned int i) -> int"""
1059  return _IMP_domino._IntArray___getitem__(self, i)
1060 
1061 
1062  def __len__(self):
1063  """__len__(_IntArray self) -> unsigned int"""
1064  return _IMP_domino._IntArray___len__(self)
1065 
1066 
1067  def show(self, *args):
1068  """
1069  show(_IntArray self, _ostream out)
1070  show(_IntArray self)
1071  """
1072  return _IMP_domino._IntArray_show(self, *args)
1073 
1074 
1075  def __hash__(self):
1076  """__hash__(_IntArray self) -> std::size_t"""
1077  return _IMP_domino._IntArray___hash__(self)
1078 
1079 _IntArray_swigregister = _IMP_domino._IntArray_swigregister
1080 _IntArray_swigregister(_IntArray)
1081 
1082 class _UIntArray(IMP._Value):
1083  """Proxy of C++ IMP::ConstVector<(unsigned int)> class."""
1084 
1085  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1086  __repr__ = _swig_repr
1087  __swig_destroy__ = _IMP_domino.delete__UIntArray
1088  __del__ = lambda self: None
1089 
1090  def __init__(self, *args):
1091  """
1092  __init__(IMP::ConstVector<(unsigned int)> self, unsigned int sz, unsigned int fill) -> _UIntArray
1093  __init__(IMP::ConstVector<(unsigned int)> self) -> _UIntArray
1094  """
1095  this = _IMP_domino.new__UIntArray(*args)
1096  try:
1097  self.this.append(this)
1098  except __builtin__.Exception:
1099  self.this = this
1100 
1101  def __cmp__(self, o):
1102  """__cmp__(_UIntArray self, _UIntArray o) -> int"""
1103  return _IMP_domino._UIntArray___cmp__(self, o)
1104 
1105 
1106  def __eq__(self, o):
1107  """__eq__(_UIntArray self, _UIntArray o) -> bool"""
1108  return _IMP_domino._UIntArray___eq__(self, o)
1109 
1110 
1111  def __ne__(self, o):
1112  """__ne__(_UIntArray self, _UIntArray o) -> bool"""
1113  return _IMP_domino._UIntArray___ne__(self, o)
1114 
1115 
1116  def __lt__(self, o):
1117  """__lt__(_UIntArray self, _UIntArray o) -> bool"""
1118  return _IMP_domino._UIntArray___lt__(self, o)
1119 
1120 
1121  def __gt__(self, o):
1122  """__gt__(_UIntArray self, _UIntArray o) -> bool"""
1123  return _IMP_domino._UIntArray___gt__(self, o)
1124 
1125 
1126  def __ge__(self, o):
1127  """__ge__(_UIntArray self, _UIntArray o) -> bool"""
1128  return _IMP_domino._UIntArray___ge__(self, o)
1129 
1130 
1131  def __le__(self, o):
1132  """__le__(_UIntArray self, _UIntArray o) -> bool"""
1133  return _IMP_domino._UIntArray___le__(self, o)
1134 
1135 
1136  def __getitem__(self, i):
1137  """__getitem__(_UIntArray self, unsigned int i) -> unsigned int"""
1138  return _IMP_domino._UIntArray___getitem__(self, i)
1139 
1140 
1141  def __len__(self):
1142  """__len__(_UIntArray self) -> unsigned int"""
1143  return _IMP_domino._UIntArray___len__(self)
1144 
1145 
1146  def show(self, *args):
1147  """
1148  show(_UIntArray self, _ostream out)
1149  show(_UIntArray self)
1150  """
1151  return _IMP_domino._UIntArray_show(self, *args)
1152 
1153 
1154  def __hash__(self):
1155  """__hash__(_UIntArray self) -> std::size_t"""
1156  return _IMP_domino._UIntArray___hash__(self)
1157 
1158 _UIntArray_swigregister = _IMP_domino._UIntArray_swigregister
1159 _UIntArray_swigregister(_UIntArray)
1160 
1161 class _ParticleArray(IMP._Value):
1162  """Proxy of C++ IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> class."""
1163 
1164  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1165  __repr__ = _swig_repr
1166  __swig_destroy__ = _IMP_domino.delete__ParticleArray
1167  __del__ = lambda self: None
1168 
1169  def __init__(self, *args):
1170  """
1171  __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self, unsigned int sz, IMP::WeakPointer< IMP::Particle > fill) -> _ParticleArray
1172  __init__(IMP::ConstVector<(IMP::WeakPointer<(Particle)>,p.Particle)> self) -> _ParticleArray
1173  """
1174  this = _IMP_domino.new__ParticleArray(*args)
1175  try:
1176  self.this.append(this)
1177  except __builtin__.Exception:
1178  self.this = this
1179 
1180  def __cmp__(self, o):
1181  """__cmp__(_ParticleArray self, _ParticleArray o) -> int"""
1182  return _IMP_domino._ParticleArray___cmp__(self, o)
1183 
1184 
1185  def __eq__(self, o):
1186  """__eq__(_ParticleArray self, _ParticleArray o) -> bool"""
1187  return _IMP_domino._ParticleArray___eq__(self, o)
1188 
1189 
1190  def __ne__(self, o):
1191  """__ne__(_ParticleArray self, _ParticleArray o) -> bool"""
1192  return _IMP_domino._ParticleArray___ne__(self, o)
1193 
1194 
1195  def __lt__(self, o):
1196  """__lt__(_ParticleArray self, _ParticleArray o) -> bool"""
1197  return _IMP_domino._ParticleArray___lt__(self, o)
1198 
1199 
1200  def __gt__(self, o):
1201  """__gt__(_ParticleArray self, _ParticleArray o) -> bool"""
1202  return _IMP_domino._ParticleArray___gt__(self, o)
1203 
1204 
1205  def __ge__(self, o):
1206  """__ge__(_ParticleArray self, _ParticleArray o) -> bool"""
1207  return _IMP_domino._ParticleArray___ge__(self, o)
1208 
1209 
1210  def __le__(self, o):
1211  """__le__(_ParticleArray self, _ParticleArray o) -> bool"""
1212  return _IMP_domino._ParticleArray___le__(self, o)
1213 
1214 
1215  def __getitem__(self, i):
1216  """__getitem__(_ParticleArray self, unsigned int i) -> Particle"""
1217  return _IMP_domino._ParticleArray___getitem__(self, i)
1218 
1219 
1220  def __len__(self):
1221  """__len__(_ParticleArray self) -> unsigned int"""
1222  return _IMP_domino._ParticleArray___len__(self)
1223 
1224 
1225  def show(self, *args):
1226  """
1227  show(_ParticleArray self, _ostream out)
1228  show(_ParticleArray self)
1229  """
1230  return _IMP_domino._ParticleArray_show(self, *args)
1231 
1232 
1233  def __hash__(self):
1234  """__hash__(_ParticleArray self) -> std::size_t"""
1235  return _IMP_domino._ParticleArray___hash__(self)
1236 
1237 _ParticleArray_swigregister = _IMP_domino._ParticleArray_swigregister
1238 _ParticleArray_swigregister(_ParticleArray)
1239 
1240 class Subset(_ParticleArray):
1241  """Proxy of C++ IMP::domino::Subset class."""
1242 
1243  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1244 
1245  def __init__(self, *args):
1246  """
1247  __init__(IMP::domino::Subset self, IMP::ParticlesTemp const & ps, bool arg3) -> Subset
1248  __init__(IMP::domino::Subset self) -> Subset
1249  __init__(IMP::domino::Subset self, IMP::ParticlesTemp ps) -> Subset
1250  """
1251  this = _IMP_domino.new_Subset(*args)
1252  try:
1253  self.this.append(this)
1254  except __builtin__.Exception:
1255  self.this = this
1256 
1257  def get_model(self):
1258  """get_model(Subset self) -> Model"""
1259  return _IMP_domino.Subset_get_model(self)
1260 
1261 
1262  def get_name(self):
1263  """get_name(Subset self) -> std::string"""
1264  return _IMP_domino.Subset_get_name(self)
1265 
1266 
1267  def get_contains(self, o):
1268  """get_contains(Subset self, Subset o) -> bool"""
1269  return _IMP_domino.Subset_get_contains(self, o)
1270 
1271 
1272  def __str__(self):
1273  """__str__(Subset self) -> std::string"""
1274  return _IMP_domino.Subset___str__(self)
1275 
1276 
1277  def __repr__(self):
1278  """__repr__(Subset self) -> std::string"""
1279  return _IMP_domino.Subset___repr__(self)
1280 
1281  __swig_destroy__ = _IMP_domino.delete_Subset
1282  __del__ = lambda self: None
1283 Subset_swigregister = _IMP_domino.Subset_swigregister
1284 Subset_swigregister(Subset)
1285 
1286 
1287 def get_union(a, b):
1288  """get_union(Subset a, Subset b) -> Subset"""
1289  return _IMP_domino.get_union(a, b)
1290 
1291 def get_intersection(a, b):
1292  """get_intersection(Subset a, Subset b) -> Subset"""
1293  return _IMP_domino.get_intersection(a, b)
1294 
1295 def get_difference(a, b):
1296  """get_difference(Subset a, Subset b) -> Subset"""
1297  return _IMP_domino.get_difference(a, b)
1298 class Assignment(_IntArray):
1299  """Proxy of C++ IMP::domino::Assignment class."""
1300 
1301  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1302 
1303  def __init__(self, *args):
1304  """
1305  __init__(IMP::domino::Assignment self) -> Assignment
1306  __init__(IMP::domino::Assignment self, unsigned int sz) -> Assignment
1307  __init__(IMP::domino::Assignment self, IMP::Ints const & i) -> Assignment
1308  """
1309  this = _IMP_domino.new_Assignment(*args)
1310  try:
1311  self.this.append(this)
1312  except __builtin__.Exception:
1313  self.this = this
1314 
1315  def __str__(self):
1316  """__str__(Assignment self) -> std::string"""
1317  return _IMP_domino.Assignment___str__(self)
1318 
1319 
1320  def __repr__(self):
1321  """__repr__(Assignment self) -> std::string"""
1322  return _IMP_domino.Assignment___repr__(self)
1323 
1324  __swig_destroy__ = _IMP_domino.delete_Assignment
1325  __del__ = lambda self: None
1326 Assignment_swigregister = _IMP_domino.Assignment_swigregister
1327 Assignment_swigregister(Assignment)
1328 
1329 class Slice(_UIntArray):
1330  """Proxy of C++ IMP::domino::Slice class."""
1331 
1332  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1333 
1334  def __init__(self, *args):
1335  """
1336  __init__(IMP::domino::Slice self) -> Slice
1337  __init__(IMP::domino::Slice self, Subset outer, Subset inner) -> Slice
1338  """
1339  this = _IMP_domino.new_Slice(*args)
1340  try:
1341  self.this.append(this)
1342  except __builtin__.Exception:
1343  self.this = this
1344 
1345  def get_sliced(self, *args):
1346  """
1347  get_sliced(Slice self, Assignment a) -> Assignment
1348  get_sliced(Slice self, Subset a) -> Subset
1349  """
1350  return _IMP_domino.Slice_get_sliced(self, *args)
1351 
1352 
1353  def __str__(self):
1354  """__str__(Slice self) -> std::string"""
1355  return _IMP_domino.Slice___str__(self)
1356 
1357 
1358  def __repr__(self):
1359  """__repr__(Slice self) -> std::string"""
1360  return _IMP_domino.Slice___repr__(self)
1361 
1362  __swig_destroy__ = _IMP_domino.delete_Slice
1363  __del__ = lambda self: None
1364 Slice_swigregister = _IMP_domino.Slice_swigregister
1365 Slice_swigregister(Slice)
1366 
1367 
1368 def get_slice(outer, inner, excluded):
1369  """get_slice(Subset outer, Subset inner, IMP::domino::Subsets const & excluded) -> Slice"""
1370  return _IMP_domino.get_slice(outer, inner, excluded)
1371 class Order(_UIntArray):
1372  """Proxy of C++ IMP::domino::Order class."""
1373 
1374  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1375 
1376  def __init__(self, *args):
1377  """
1378  __init__(IMP::domino::Order self) -> Order
1379  __init__(IMP::domino::Order self, Subset outer, IMP::ParticlesTemp const & order) -> Order
1380  """
1381  this = _IMP_domino.new_Order(*args)
1382  try:
1383  self.this.append(this)
1384  except __builtin__.Exception:
1385  self.this = this
1386 
1387  def get_list_ordered(self, a):
1388  """get_list_ordered(Order self, Assignment a) -> IMP::Ints"""
1389  return _IMP_domino.Order_get_list_ordered(self, a)
1390 
1391 
1392  def get_subset_ordered(self, a):
1393  """get_subset_ordered(Order self, IMP::Ints const & a) -> Assignment"""
1394  return _IMP_domino.Order_get_subset_ordered(self, a)
1395 
1396 
1397  def __str__(self):
1398  """__str__(Order self) -> std::string"""
1399  return _IMP_domino.Order___str__(self)
1400 
1401 
1402  def __repr__(self):
1403  """__repr__(Order self) -> std::string"""
1404  return _IMP_domino.Order___repr__(self)
1405 
1406  __swig_destroy__ = _IMP_domino.delete_Order
1407  __del__ = lambda self: None
1408 Order_swigregister = _IMP_domino.Order_swigregister
1409 Order_swigregister(Order)
1410 
1411 class ParticleStates(IMP.Object):
1412  """Proxy of C++ IMP::domino::ParticleStates class."""
1413 
1414  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1415 
1416  def __init__(self, *args):
1417  """
1418  __init__(IMP::domino::ParticleStates self, std::string name) -> ParticleStates
1419  __init__(IMP::domino::ParticleStates self) -> ParticleStates
1420  """
1421  if self.__class__ == ParticleStates:
1422  _self = None
1423  else:
1424  _self = self
1425  this = _IMP_domino.new_ParticleStates(_self, *args)
1426  try:
1427  self.this.append(this)
1428  except __builtin__.Exception:
1429  self.this = this
1430 
1431  if self.__class__ != ParticleStates:
1432  _director_objects.register(self)
1433 
1434 
1435 
1436 
1437  def get_number_of_particle_states(self):
1438  """get_number_of_particle_states(ParticleStates self) -> unsigned int"""
1439  return _IMP_domino.ParticleStates_get_number_of_particle_states(self)
1440 
1441 
1442  def load_particle_state(self, arg0, arg1):
1443  """load_particle_state(ParticleStates self, unsigned int arg0, Particle arg1)"""
1444  return _IMP_domino.ParticleStates_load_particle_state(self, arg0, arg1)
1445 
1446 
1447  def get_embedding(self, i):
1448  """get_embedding(ParticleStates self, unsigned int i) -> VectorKD"""
1449  return _IMP_domino.ParticleStates_get_embedding(self, i)
1450 
1451 
1452  def get_nearest_state(self, v):
1453  """get_nearest_state(ParticleStates self, VectorKD v) -> unsigned int"""
1454  return _IMP_domino.ParticleStates_get_nearest_state(self, v)
1455 
1456  __swig_destroy__ = _IMP_domino.delete_ParticleStates
1457  __del__ = lambda self: None
1458 
1459  def __str__(self):
1460  """__str__(ParticleStates self) -> std::string"""
1461  return _IMP_domino.ParticleStates___str__(self)
1462 
1463 
1464  def __repr__(self):
1465  """__repr__(ParticleStates self) -> std::string"""
1466  return _IMP_domino.ParticleStates___repr__(self)
1467 
1468 
1469  @staticmethod
1470  def get_from(o):
1471  return _object_cast_to_ParticleStates(o)
1472 
1473 
1474  def get_type_name(self):
1475  return self.__class__.__name__
1476  def do_show(self, out):
1477  pass
1478  def get_version_info(self):
1479  if"IMP::domino" == "IMP":
1480  return VersionInfo(self.__module__,
1481  __import__(self.__module__).get_module_version())
1482  else:
1483  return IMP.VersionInfo(self.__module__,
1484  __import__(self.__module__).get_module_version())
1485  @staticmethod
1486  def get_from(o):
1487  return _object_cast_to_ParticleStates(o)
1488 
1489  def __disown__(self):
1490  self.this.disown()
1491  _IMP_domino.disown_ParticleStates(self)
1492  return weakref_proxy(self)
1493 
1494  def do_destroy(self):
1495  """do_destroy(ParticleStates self)"""
1496  return _IMP_domino.ParticleStates_do_destroy(self)
1497 
1498 ParticleStates_swigregister = _IMP_domino.ParticleStates_swigregister
1499 ParticleStates_swigregister(ParticleStates)
1500 
1501 class ParticleStatesTable(IMP.Object):
1502  """Proxy of C++ IMP::domino::ParticleStatesTable class."""
1503 
1504  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1505 
1506  def __init__(self):
1507  """__init__(IMP::domino::ParticleStatesTable self) -> ParticleStatesTable"""
1508  this = _IMP_domino.new_ParticleStatesTable()
1509  try:
1510  self.this.append(this)
1511  except __builtin__.Exception:
1512  self.this = this
1513 
1514  def get_particle_states(self, p):
1515  """get_particle_states(ParticleStatesTable self, Particle p) -> ParticleStates"""
1516  return _IMP_domino.ParticleStatesTable_get_particle_states(self, p)
1517 
1518 
1519  def get_has_particle(self, p):
1520  """get_has_particle(ParticleStatesTable self, Particle p) -> bool"""
1521  return _IMP_domino.ParticleStatesTable_get_has_particle(self, p)
1522 
1523 
1524  def get_particles(self):
1525  """get_particles(ParticleStatesTable self) -> IMP::ParticlesTemp"""
1526  return _IMP_domino.ParticleStatesTable_get_particles(self)
1527 
1528 
1529  def get_subset(self):
1530  """get_subset(ParticleStatesTable self) -> Subset"""
1531  return _IMP_domino.ParticleStatesTable_get_subset(self)
1532 
1533 
1534  def set_particle_states(self, p, e):
1535  """set_particle_states(ParticleStatesTable self, Particle p, ParticleStates e)"""
1536  return _IMP_domino.ParticleStatesTable_set_particle_states(self, p, e)
1537 
1538 
1539  def get_version_info(self):
1540  """get_version_info(ParticleStatesTable self) -> VersionInfo"""
1541  return _IMP_domino.ParticleStatesTable_get_version_info(self)
1542 
1543 
1544  def __str__(self):
1545  """__str__(ParticleStatesTable self) -> std::string"""
1546  return _IMP_domino.ParticleStatesTable___str__(self)
1547 
1548 
1549  def __repr__(self):
1550  """__repr__(ParticleStatesTable self) -> std::string"""
1551  return _IMP_domino.ParticleStatesTable___repr__(self)
1552 
1553 
1554  @staticmethod
1555  def get_from(o):
1556  return _object_cast_to_ParticleStatesTable(o)
1557 
1558 ParticleStatesTable_swigregister = _IMP_domino.ParticleStatesTable_swigregister
1559 ParticleStatesTable_swigregister(ParticleStatesTable)
1560 
1561 class IndexStates(ParticleStates):
1562  """Proxy of C++ IMP::domino::IndexStates class."""
1563 
1564  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1565 
1566  def __init__(self, *args):
1567  """
1568  __init__(IMP::domino::IndexStates self, unsigned int n, IntKey k) -> IndexStates
1569  __init__(IMP::domino::IndexStates self, unsigned int n) -> IndexStates
1570  """
1571  this = _IMP_domino.new_IndexStates(*args)
1572  try:
1573  self.this.append(this)
1574  except __builtin__.Exception:
1575  self.this = this
1576 
1577  def get_version_info(self):
1578  """get_version_info(IndexStates self) -> VersionInfo"""
1579  return _IMP_domino.IndexStates_get_version_info(self)
1580 
1581 
1582  def __str__(self):
1583  """__str__(IndexStates self) -> std::string"""
1584  return _IMP_domino.IndexStates___str__(self)
1585 
1586 
1587  def __repr__(self):
1588  """__repr__(IndexStates self) -> std::string"""
1589  return _IMP_domino.IndexStates___repr__(self)
1590 
1591 
1592  @staticmethod
1593  def get_from(o):
1594  return _object_cast_to_IndexStates(o)
1595 
1596 IndexStates_swigregister = _IMP_domino.IndexStates_swigregister
1597 IndexStates_swigregister(IndexStates)
1598 
1599 class XYZStates(ParticleStates):
1600  """Proxy of C++ IMP::domino::XYZStates class."""
1601 
1602  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1603 
1604  def __init__(self, states):
1605  """__init__(IMP::domino::XYZStates self, IMP::algebra::Vector3Ds const & states) -> XYZStates"""
1606  this = _IMP_domino.new_XYZStates(states)
1607  try:
1608  self.this.append(this)
1609  except __builtin__.Exception:
1610  self.this = this
1611 
1612  def get_vector(self, i):
1613  """get_vector(XYZStates self, unsigned int i) -> Vector3D"""
1614  return _IMP_domino.XYZStates_get_vector(self, i)
1615 
1616 
1617  def get_version_info(self):
1618  """get_version_info(XYZStates self) -> VersionInfo"""
1619  return _IMP_domino.XYZStates_get_version_info(self)
1620 
1621 
1622  def __str__(self):
1623  """__str__(XYZStates self) -> std::string"""
1624  return _IMP_domino.XYZStates___str__(self)
1625 
1626 
1627  def __repr__(self):
1628  """__repr__(XYZStates self) -> std::string"""
1629  return _IMP_domino.XYZStates___repr__(self)
1630 
1631 
1632  @staticmethod
1633  def get_from(o):
1634  return _object_cast_to_XYZStates(o)
1635 
1636 XYZStates_swigregister = _IMP_domino.XYZStates_swigregister
1637 XYZStates_swigregister(XYZStates)
1638 
1639 class RigidBodyStates(ParticleStates):
1640  """Proxy of C++ IMP::domino::RigidBodyStates class."""
1641 
1642  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1643 
1644  def __init__(self, states, scale=1):
1645  """
1646  __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states, double scale=1) -> RigidBodyStates
1647  __init__(IMP::domino::RigidBodyStates self, IMP::algebra::ReferenceFrame3Ds const & states) -> RigidBodyStates
1648  """
1649  this = _IMP_domino.new_RigidBodyStates(states, scale)
1650  try:
1651  self.this.append(this)
1652  except __builtin__.Exception:
1653  self.this = this
1654 
1655  def get_reference_frame(self, i):
1656  """get_reference_frame(RigidBodyStates self, unsigned int i) -> ReferenceFrame3D"""
1657  return _IMP_domino.RigidBodyStates_get_reference_frame(self, i)
1658 
1659 
1660  def get_version_info(self):
1661  """get_version_info(RigidBodyStates self) -> VersionInfo"""
1662  return _IMP_domino.RigidBodyStates_get_version_info(self)
1663 
1664 
1665  def __str__(self):
1666  """__str__(RigidBodyStates self) -> std::string"""
1667  return _IMP_domino.RigidBodyStates___str__(self)
1668 
1669 
1670  def __repr__(self):
1671  """__repr__(RigidBodyStates self) -> std::string"""
1672  return _IMP_domino.RigidBodyStates___repr__(self)
1673 
1674 
1675  @staticmethod
1676  def get_from(o):
1677  return _object_cast_to_RigidBodyStates(o)
1678 
1679 RigidBodyStates_swigregister = _IMP_domino.RigidBodyStates_swigregister
1680 RigidBodyStates_swigregister(RigidBodyStates)
1681 
1682 class NestedRigidBodyStates(ParticleStates):
1683  """Proxy of C++ IMP::domino::NestedRigidBodyStates class."""
1684 
1685  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1686 
1687  def __init__(self, states, scale=100):
1688  """
1689  __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states, double scale=100) -> NestedRigidBodyStates
1690  __init__(IMP::domino::NestedRigidBodyStates self, IMP::algebra::Transformation3Ds const & states) -> NestedRigidBodyStates
1691  """
1692  this = _IMP_domino.new_NestedRigidBodyStates(states, scale)
1693  try:
1694  self.this.append(this)
1695  except __builtin__.Exception:
1696  self.this = this
1697 
1698  def get_transformation(self, i):
1699  """get_transformation(NestedRigidBodyStates self, unsigned int i) -> Transformation3D"""
1700  return _IMP_domino.NestedRigidBodyStates_get_transformation(self, i)
1701 
1702 
1703  def get_version_info(self):
1704  """get_version_info(NestedRigidBodyStates self) -> VersionInfo"""
1705  return _IMP_domino.NestedRigidBodyStates_get_version_info(self)
1706 
1707 
1708  def __str__(self):
1709  """__str__(NestedRigidBodyStates self) -> std::string"""
1710  return _IMP_domino.NestedRigidBodyStates___str__(self)
1711 
1712 
1713  def __repr__(self):
1714  """__repr__(NestedRigidBodyStates self) -> std::string"""
1715  return _IMP_domino.NestedRigidBodyStates___repr__(self)
1716 
1717 
1718  @staticmethod
1719  def get_from(o):
1720  return _object_cast_to_NestedRigidBodyStates(o)
1721 
1722 NestedRigidBodyStates_swigregister = _IMP_domino.NestedRigidBodyStates_swigregister
1723 NestedRigidBodyStates_swigregister(NestedRigidBodyStates)
1724 
1725 class CompoundStates(ParticleStates):
1726  """Proxy of C++ IMP::domino::CompoundStates class."""
1727 
1728  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1729 
1730  def __init__(self, a, b):
1731  """__init__(IMP::domino::CompoundStates self, ParticleStates a, ParticleStates b) -> CompoundStates"""
1732  this = _IMP_domino.new_CompoundStates(a, b)
1733  try:
1734  self.this.append(this)
1735  except __builtin__.Exception:
1736  self.this = this
1737 
1738  def get_version_info(self):
1739  """get_version_info(CompoundStates self) -> VersionInfo"""
1740  return _IMP_domino.CompoundStates_get_version_info(self)
1741 
1742 
1743  def __str__(self):
1744  """__str__(CompoundStates self) -> std::string"""
1745  return _IMP_domino.CompoundStates___str__(self)
1746 
1747 
1748  def __repr__(self):
1749  """__repr__(CompoundStates self) -> std::string"""
1750  return _IMP_domino.CompoundStates___repr__(self)
1751 
1752 
1753  @staticmethod
1754  def get_from(o):
1755  return _object_cast_to_CompoundStates(o)
1756 
1757 CompoundStates_swigregister = _IMP_domino.CompoundStates_swigregister
1758 CompoundStates_swigregister(CompoundStates)
1759 
1760 class RecursiveStates(ParticleStates):
1761  """Proxy of C++ IMP::domino::RecursiveStates class."""
1762 
1763  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1764 
1765  def __init__(self, p, s, ss, pst):
1766  """__init__(IMP::domino::RecursiveStates self, Particle p, Subset s, IMP::domino::Assignments const & ss, ParticleStatesTable pst) -> RecursiveStates"""
1767  this = _IMP_domino.new_RecursiveStates(p, s, ss, pst)
1768  try:
1769  self.this.append(this)
1770  except __builtin__.Exception:
1771  self.this = this
1772 
1773  def get_version_info(self):
1774  """get_version_info(RecursiveStates self) -> VersionInfo"""
1775  return _IMP_domino.RecursiveStates_get_version_info(self)
1776 
1777 
1778  def __str__(self):
1779  """__str__(RecursiveStates self) -> std::string"""
1780  return _IMP_domino.RecursiveStates___str__(self)
1781 
1782 
1783  def __repr__(self):
1784  """__repr__(RecursiveStates self) -> std::string"""
1785  return _IMP_domino.RecursiveStates___repr__(self)
1786 
1787 
1788  @staticmethod
1789  def get_from(o):
1790  return _object_cast_to_RecursiveStates(o)
1791 
1792 RecursiveStates_swigregister = _IMP_domino.RecursiveStates_swigregister
1793 RecursiveStates_swigregister(RecursiveStates)
1794 
1795 class PermutationStates(ParticleStates):
1796  """Proxy of C++ IMP::domino::PermutationStates class."""
1797 
1798  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1799 
1800  def __init__(self, inner):
1801  """__init__(IMP::domino::PermutationStates self, ParticleStates inner) -> PermutationStates"""
1802  this = _IMP_domino.new_PermutationStates(inner)
1803  try:
1804  self.this.append(this)
1805  except __builtin__.Exception:
1806  self.this = this
1807 
1808  def get_inner_state(self, i):
1809  """get_inner_state(PermutationStates self, unsigned int i) -> unsigned int"""
1810  return _IMP_domino.PermutationStates_get_inner_state(self, i)
1811 
1812 
1813  def get_version_info(self):
1814  """get_version_info(PermutationStates self) -> VersionInfo"""
1815  return _IMP_domino.PermutationStates_get_version_info(self)
1816 
1817 
1818  def __str__(self):
1819  """__str__(PermutationStates self) -> std::string"""
1820  return _IMP_domino.PermutationStates___str__(self)
1821 
1822 
1823  def __repr__(self):
1824  """__repr__(PermutationStates self) -> std::string"""
1825  return _IMP_domino.PermutationStates___repr__(self)
1826 
1827 
1828  @staticmethod
1829  def get_from(o):
1830  return _object_cast_to_PermutationStates(o)
1831 
1832 PermutationStates_swigregister = _IMP_domino.PermutationStates_swigregister
1833 PermutationStates_swigregister(PermutationStates)
1834 
1835 class _ParticlesAdaptor(IMP._InputAdaptor):
1836  """Proxy of C++ IMP::domino::ParticlesAdaptor class."""
1837 
1838  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1839  __repr__ = _swig_repr
1840 
1841  def __init__(self, *args):
1842  """
1843  ParticlesAdaptor(ParticleStatesTable pst) -> _ParticlesAdaptor
1844  __init__(IMP::domino::ParticlesAdaptor self, IMP::ParticlesTemp const & ps) -> _ParticlesAdaptor
1845  """
1846  this = _IMP_domino.new__ParticlesAdaptor(*args)
1847  try:
1848  self.this.append(this)
1849  except __builtin__.Exception:
1850  self.this = this
1851  __swig_destroy__ = _IMP_domino.delete__ParticlesAdaptor
1852  __del__ = lambda self: None
1853 _ParticlesAdaptor_swigregister = _IMP_domino._ParticlesAdaptor_swigregister
1854 _ParticlesAdaptor_swigregister(_ParticlesAdaptor)
1855 
1856 class RestraintCache(IMP.Object):
1857  """Proxy of C++ IMP::domino::RestraintCache class."""
1858 
1859  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1860 
1861  def __init__(self, *args):
1862  """
1863  __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst, unsigned int size) -> RestraintCache
1864  __init__(IMP::domino::RestraintCache self, ParticleStatesTable pst) -> RestraintCache
1865  """
1866  this = _IMP_domino.new_RestraintCache(*args)
1867  try:
1868  self.this.append(this)
1869  except __builtin__.Exception:
1870  self.this = this
1871 
1872  def add_restraints(self, rs):
1873  """add_restraints(RestraintCache self, _RestraintsAdaptor rs)"""
1874  return _IMP_domino.RestraintCache_add_restraints(self, rs)
1875 
1876 
1877  def get_score(self, *args):
1878  """
1879  get_score(RestraintCache self, Restraint r, Assignment a) -> double
1880  get_score(RestraintCache self, Restraint r, Subset s, Assignment a) -> double
1881  """
1882  return _IMP_domino.RestraintCache_get_score(self, *args)
1883 
1884 
1885  def load_last_score(self, r, s, a):
1886  """load_last_score(RestraintCache self, Restraint r, Subset s, Assignment a)"""
1887  return _IMP_domino.RestraintCache_load_last_score(self, r, s, a)
1888 
1889 
1890  def get_restraints(self, *args):
1891  """
1892  get_restraints(RestraintCache self, Subset s, IMP::domino::Subsets const & exclusions) -> IMP::RestraintsTemp
1893  get_restraints(RestraintCache self) -> IMP::RestraintsTemp
1894  """
1895  return _IMP_domino.RestraintCache_get_restraints(self, *args)
1896 
1897 
1898  def save_cache(self, particle_ordering, restraints, group, max_entries):
1899  """save_cache(RestraintCache self, IMP::ParticlesTemp const & particle_ordering, IMP::RestraintsTemp const & restraints, Group group, unsigned int max_entries)"""
1900  return _IMP_domino.RestraintCache_save_cache(self, particle_ordering, restraints, group, max_entries)
1901 
1902 
1903  def load_cache(self, ps, group):
1904  """load_cache(RestraintCache self, IMP::ParticlesTemp const & ps, ConstGroup group)"""
1905  return _IMP_domino.RestraintCache_load_cache(self, ps, group)
1906 
1907 
1908  def get_slice(self, r, s):
1909  """get_slice(RestraintCache self, Restraint r, Subset s) -> Slice"""
1910  return _IMP_domino.RestraintCache_get_slice(self, r, s)
1911 
1912 
1913  def get_number_of_entries(self):
1914  """get_number_of_entries(RestraintCache self) -> unsigned int"""
1915  return _IMP_domino.RestraintCache_get_number_of_entries(self)
1916 
1917 
1918  def validate(self):
1919  """validate(RestraintCache self)"""
1920  return _IMP_domino.RestraintCache_validate(self)
1921 
1922 
1923  def show_restraint_information(self, *args):
1924  """
1925  show_restraint_information(RestraintCache self, _ostream out)
1926  show_restraint_information(RestraintCache self)
1927  """
1928  return _IMP_domino.RestraintCache_show_restraint_information(self, *args)
1929 
1930 
1931  def get_hit_rate(self):
1932  """get_hit_rate(RestraintCache self) -> double"""
1933  return _IMP_domino.RestraintCache_get_hit_rate(self)
1934 
1935 
1936  def get_version_info(self):
1937  """get_version_info(RestraintCache self) -> VersionInfo"""
1938  return _IMP_domino.RestraintCache_get_version_info(self)
1939 
1940 
1941  def __str__(self):
1942  """__str__(RestraintCache self) -> std::string"""
1943  return _IMP_domino.RestraintCache___str__(self)
1944 
1945 
1946  def __repr__(self):
1947  """__repr__(RestraintCache self) -> std::string"""
1948  return _IMP_domino.RestraintCache___repr__(self)
1949 
1950 
1951  @staticmethod
1952  def get_from(o):
1953  return _object_cast_to_RestraintCache(o)
1954 
1955 RestraintCache_swigregister = _IMP_domino.RestraintCache_swigregister
1956 RestraintCache_swigregister(RestraintCache)
1957 
1958 class SubsetFilter(IMP.Object):
1959  """Proxy of C++ IMP::domino::SubsetFilter class."""
1960 
1961  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1962 
1963  def __init__(self, *args):
1964  """
1965  __init__(IMP::domino::SubsetFilter self, std::string name) -> SubsetFilter
1966  __init__(IMP::domino::SubsetFilter self) -> SubsetFilter
1967  """
1968  if self.__class__ == SubsetFilter:
1969  _self = None
1970  else:
1971  _self = self
1972  this = _IMP_domino.new_SubsetFilter(_self, *args)
1973  try:
1974  self.this.append(this)
1975  except __builtin__.Exception:
1976  self.this = this
1977 
1978  if self.__class__ != SubsetFilter:
1979  _director_objects.register(self)
1980 
1981 
1982 
1983 
1984  def get_is_ok(self, state):
1985  """get_is_ok(SubsetFilter self, Assignment state) -> bool"""
1986  return _IMP_domino.SubsetFilter_get_is_ok(self, state)
1987 
1988 
1989  def get_next_state(self, pos, state):
1990  """get_next_state(SubsetFilter self, int pos, Assignment state) -> int"""
1991  return _IMP_domino.SubsetFilter_get_next_state(self, pos, state)
1992 
1993  __swig_destroy__ = _IMP_domino.delete_SubsetFilter
1994  __del__ = lambda self: None
1995 
1996  def __str__(self):
1997  """__str__(SubsetFilter self) -> std::string"""
1998  return _IMP_domino.SubsetFilter___str__(self)
1999 
2000 
2001  def __repr__(self):
2002  """__repr__(SubsetFilter self) -> std::string"""
2003  return _IMP_domino.SubsetFilter___repr__(self)
2004 
2005 
2006  @staticmethod
2007  def get_from(o):
2008  return _object_cast_to_SubsetFilter(o)
2009 
2010 
2011  def get_type_name(self):
2012  return self.__class__.__name__
2013  def do_show(self, out):
2014  pass
2015  def get_version_info(self):
2016  if"IMP::domino" == "IMP":
2017  return VersionInfo(self.__module__,
2018  __import__(self.__module__).get_module_version())
2019  else:
2020  return IMP.VersionInfo(self.__module__,
2021  __import__(self.__module__).get_module_version())
2022  @staticmethod
2023  def get_from(o):
2024  return _object_cast_to_SubsetFilter(o)
2025 
2026  def __disown__(self):
2027  self.this.disown()
2028  _IMP_domino.disown_SubsetFilter(self)
2029  return weakref_proxy(self)
2030 
2031  def do_destroy(self):
2032  """do_destroy(SubsetFilter self)"""
2033  return _IMP_domino.SubsetFilter_do_destroy(self)
2034 
2035 SubsetFilter_swigregister = _IMP_domino.SubsetFilter_swigregister
2036 SubsetFilter_swigregister(SubsetFilter)
2037 
2038 class SubsetFilterTable(IMP.Object):
2039  """Proxy of C++ IMP::domino::SubsetFilterTable class."""
2040 
2041  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2042 
2043  def __init__(self, *args):
2044  """
2045  __init__(IMP::domino::SubsetFilterTable self, std::string name) -> SubsetFilterTable
2046  __init__(IMP::domino::SubsetFilterTable self) -> SubsetFilterTable
2047  """
2048  if self.__class__ == SubsetFilterTable:
2049  _self = None
2050  else:
2051  _self = self
2052  this = _IMP_domino.new_SubsetFilterTable(_self, *args)
2053  try:
2054  self.this.append(this)
2055  except __builtin__.Exception:
2056  self.this = this
2057 
2058  if self.__class__ != SubsetFilterTable:
2059  _director_objects.register(self)
2060 
2061 
2062 
2063 
2064  def get_subset_filter(self, s, prior_subsets):
2065  """get_subset_filter(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> SubsetFilter"""
2066  return _IMP_domino.SubsetFilterTable_get_subset_filter(self, s, prior_subsets)
2067 
2068 
2069  def get_strength(self, s, prior_subsets):
2070  """get_strength(SubsetFilterTable self, Subset s, IMP::domino::Subsets const & prior_subsets) -> double"""
2071  return _IMP_domino.SubsetFilterTable_get_strength(self, s, prior_subsets)
2072 
2073  __swig_destroy__ = _IMP_domino.delete_SubsetFilterTable
2074  __del__ = lambda self: None
2075 
2076  def __str__(self):
2077  """__str__(SubsetFilterTable self) -> std::string"""
2078  return _IMP_domino.SubsetFilterTable___str__(self)
2079 
2080 
2081  def __repr__(self):
2082  """__repr__(SubsetFilterTable self) -> std::string"""
2083  return _IMP_domino.SubsetFilterTable___repr__(self)
2084 
2085 
2086  @staticmethod
2087  def get_from(o):
2088  return _object_cast_to_SubsetFilterTable(o)
2089 
2090 
2091  def get_type_name(self):
2092  return self.__class__.__name__
2093  def do_show(self, out):
2094  pass
2095  def get_version_info(self):
2096  if"IMP::domino" == "IMP":
2097  return VersionInfo(self.__module__,
2098  __import__(self.__module__).get_module_version())
2099  else:
2100  return IMP.VersionInfo(self.__module__,
2101  __import__(self.__module__).get_module_version())
2102  @staticmethod
2103  def get_from(o):
2104  return _object_cast_to_SubsetFilterTable(o)
2105 
2106  def __disown__(self):
2107  self.this.disown()
2108  _IMP_domino.disown_SubsetFilterTable(self)
2109  return weakref_proxy(self)
2110 
2111  def do_destroy(self):
2112  """do_destroy(SubsetFilterTable self)"""
2113  return _IMP_domino.SubsetFilterTable_do_destroy(self)
2114 
2115 SubsetFilterTable_swigregister = _IMP_domino.SubsetFilterTable_swigregister
2116 SubsetFilterTable_swigregister(SubsetFilterTable)
2117 
2118 class RestraintScoreSubsetFilterTable(SubsetFilterTable):
2119  """Proxy of C++ IMP::domino::RestraintScoreSubsetFilterTable class."""
2120 
2121  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2122 
2123  def __init__(self, *args):
2124  """
2125  __init__(IMP::domino::RestraintScoreSubsetFilterTable self, RestraintCache rc) -> RestraintScoreSubsetFilterTable
2126  __init__(IMP::domino::RestraintScoreSubsetFilterTable self, _RestraintsAdaptor rs, ParticleStatesTable pst) -> RestraintScoreSubsetFilterTable
2127  """
2128  this = _IMP_domino.new_RestraintScoreSubsetFilterTable(*args)
2129  try:
2130  self.this.append(this)
2131  except __builtin__.Exception:
2132  self.this = this
2133 
2134  def get_version_info(self):
2135  """get_version_info(RestraintScoreSubsetFilterTable self) -> VersionInfo"""
2136  return _IMP_domino.RestraintScoreSubsetFilterTable_get_version_info(self)
2137 
2138 
2139  def __str__(self):
2140  """__str__(RestraintScoreSubsetFilterTable self) -> std::string"""
2141  return _IMP_domino.RestraintScoreSubsetFilterTable___str__(self)
2142 
2143 
2144  def __repr__(self):
2145  """__repr__(RestraintScoreSubsetFilterTable self) -> std::string"""
2146  return _IMP_domino.RestraintScoreSubsetFilterTable___repr__(self)
2147 
2148 
2149  @staticmethod
2150  def get_from(o):
2151  return _object_cast_to_RestraintScoreSubsetFilterTable(o)
2152 
2153 RestraintScoreSubsetFilterTable_swigregister = _IMP_domino.RestraintScoreSubsetFilterTable_swigregister
2154 RestraintScoreSubsetFilterTable_swigregister(RestraintScoreSubsetFilterTable)
2155 
2156 class MinimumRestraintScoreSubsetFilterTable(SubsetFilterTable):
2157  """Proxy of C++ IMP::domino::MinimumRestraintScoreSubsetFilterTable class."""
2158 
2159  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2160 
2161  def __init__(self, rs, rc, max_number_allowed_violations):
2162  """__init__(IMP::domino::MinimumRestraintScoreSubsetFilterTable self, IMP::RestraintsTemp const & rs, RestraintCache rc, int max_number_allowed_violations) -> MinimumRestraintScoreSubsetFilterTable"""
2163  this = _IMP_domino.new_MinimumRestraintScoreSubsetFilterTable(rs, rc, max_number_allowed_violations)
2164  try:
2165  self.this.append(this)
2166  except __builtin__.Exception:
2167  self.this = this
2168 
2169  def get_maximum_number_of_violated_restraints(self):
2170  """get_maximum_number_of_violated_restraints(MinimumRestraintScoreSubsetFilterTable self) -> int"""
2171  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_maximum_number_of_violated_restraints(self)
2172 
2173 
2174  def get_version_info(self):
2175  """get_version_info(MinimumRestraintScoreSubsetFilterTable self) -> VersionInfo"""
2176  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable_get_version_info(self)
2177 
2178 
2179  def __str__(self):
2180  """__str__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2181  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___str__(self)
2182 
2183 
2184  def __repr__(self):
2185  """__repr__(MinimumRestraintScoreSubsetFilterTable self) -> std::string"""
2186  return _IMP_domino.MinimumRestraintScoreSubsetFilterTable___repr__(self)
2187 
2188 
2189  @staticmethod
2190  def get_from(o):
2191  return _object_cast_to_MinimumRestraintScoreSubsetFilterTable(o)
2192 
2193 MinimumRestraintScoreSubsetFilterTable_swigregister = _IMP_domino.MinimumRestraintScoreSubsetFilterTable_swigregister
2194 MinimumRestraintScoreSubsetFilterTable_swigregister(MinimumRestraintScoreSubsetFilterTable)
2195 
2196 class DisjointSetsSubsetFilterTable(SubsetFilterTable):
2197  """Proxy of C++ IMP::domino::DisjointSetsSubsetFilterTable class."""
2198 
2199  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2200 
2201  def __init__(self, *args, **kwargs):
2202  raise AttributeError("No constructor defined - class is abstract")
2203 
2204  def add_set(self, ps):
2205  """add_set(DisjointSetsSubsetFilterTable self, IMP::ParticlesTemp const & ps)"""
2206  return _IMP_domino.DisjointSetsSubsetFilterTable_add_set(self, ps)
2207 
2208 
2209  def add_pair(self, pp):
2210  """add_pair(DisjointSetsSubsetFilterTable self, IMP::ParticlePair const & pp)"""
2211  return _IMP_domino.DisjointSetsSubsetFilterTable_add_pair(self, pp)
2212 
2213 
2214  def __str__(self):
2215  """__str__(DisjointSetsSubsetFilterTable self) -> std::string"""
2216  return _IMP_domino.DisjointSetsSubsetFilterTable___str__(self)
2217 
2218 
2219  def __repr__(self):
2220  """__repr__(DisjointSetsSubsetFilterTable self) -> std::string"""
2221  return _IMP_domino.DisjointSetsSubsetFilterTable___repr__(self)
2222 
2223 
2224  @staticmethod
2225  def get_from(o):
2226  return _object_cast_to_DisjointSetsSubsetFilterTable(o)
2227 
2228  __swig_destroy__ = _IMP_domino.delete_DisjointSetsSubsetFilterTable
2229  __del__ = lambda self: None
2230 DisjointSetsSubsetFilterTable_swigregister = _IMP_domino.DisjointSetsSubsetFilterTable_swigregister
2231 DisjointSetsSubsetFilterTable_swigregister(DisjointSetsSubsetFilterTable)
2232 
2233 class ExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2234  """Proxy of C++ IMP::domino::ExclusionSubsetFilterTable class."""
2235 
2236  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2237 
2238  def __init__(self, *args):
2239  """
2240  __init__(IMP::domino::ExclusionSubsetFilterTable self, ParticleStatesTable pst) -> ExclusionSubsetFilterTable
2241  __init__(IMP::domino::ExclusionSubsetFilterTable self) -> ExclusionSubsetFilterTable
2242  """
2243  this = _IMP_domino.new_ExclusionSubsetFilterTable(*args)
2244  try:
2245  self.this.append(this)
2246  except __builtin__.Exception:
2247  self.this = this
2248 
2249  def get_version_info(self):
2250  """get_version_info(ExclusionSubsetFilterTable self) -> VersionInfo"""
2251  return _IMP_domino.ExclusionSubsetFilterTable_get_version_info(self)
2252 
2253 
2254  def __str__(self):
2255  """__str__(ExclusionSubsetFilterTable self) -> std::string"""
2256  return _IMP_domino.ExclusionSubsetFilterTable___str__(self)
2257 
2258 
2259  def __repr__(self):
2260  """__repr__(ExclusionSubsetFilterTable self) -> std::string"""
2261  return _IMP_domino.ExclusionSubsetFilterTable___repr__(self)
2262 
2263 
2264  @staticmethod
2265  def get_from(o):
2266  return _object_cast_to_ExclusionSubsetFilterTable(o)
2267 
2268 ExclusionSubsetFilterTable_swigregister = _IMP_domino.ExclusionSubsetFilterTable_swigregister
2269 ExclusionSubsetFilterTable_swigregister(ExclusionSubsetFilterTable)
2270 
2271 class EqualitySubsetFilterTable(DisjointSetsSubsetFilterTable):
2272  """Proxy of C++ IMP::domino::EqualitySubsetFilterTable class."""
2273 
2274  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2275 
2276  def __init__(self, *args):
2277  """
2278  __init__(IMP::domino::EqualitySubsetFilterTable self, ParticleStatesTable pst) -> EqualitySubsetFilterTable
2279  __init__(IMP::domino::EqualitySubsetFilterTable self) -> EqualitySubsetFilterTable
2280  """
2281  this = _IMP_domino.new_EqualitySubsetFilterTable(*args)
2282  try:
2283  self.this.append(this)
2284  except __builtin__.Exception:
2285  self.this = this
2286 
2287  def get_version_info(self):
2288  """get_version_info(EqualitySubsetFilterTable self) -> VersionInfo"""
2289  return _IMP_domino.EqualitySubsetFilterTable_get_version_info(self)
2290 
2291 
2292  def __str__(self):
2293  """__str__(EqualitySubsetFilterTable self) -> std::string"""
2294  return _IMP_domino.EqualitySubsetFilterTable___str__(self)
2295 
2296 
2297  def __repr__(self):
2298  """__repr__(EqualitySubsetFilterTable self) -> std::string"""
2299  return _IMP_domino.EqualitySubsetFilterTable___repr__(self)
2300 
2301 
2302  @staticmethod
2303  def get_from(o):
2304  return _object_cast_to_EqualitySubsetFilterTable(o)
2305 
2306 EqualitySubsetFilterTable_swigregister = _IMP_domino.EqualitySubsetFilterTable_swigregister
2307 EqualitySubsetFilterTable_swigregister(EqualitySubsetFilterTable)
2308 
2309 class EquivalenceSubsetFilterTable(DisjointSetsSubsetFilterTable):
2310  """Proxy of C++ IMP::domino::EquivalenceSubsetFilterTable class."""
2311 
2312  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2313 
2314  def __init__(self, *args):
2315  """
2316  __init__(IMP::domino::EquivalenceSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceSubsetFilterTable
2317  __init__(IMP::domino::EquivalenceSubsetFilterTable self) -> EquivalenceSubsetFilterTable
2318  """
2319  this = _IMP_domino.new_EquivalenceSubsetFilterTable(*args)
2320  try:
2321  self.this.append(this)
2322  except __builtin__.Exception:
2323  self.this = this
2324 
2325  def get_version_info(self):
2326  """get_version_info(EquivalenceSubsetFilterTable self) -> VersionInfo"""
2327  return _IMP_domino.EquivalenceSubsetFilterTable_get_version_info(self)
2328 
2329 
2330  def __str__(self):
2331  """__str__(EquivalenceSubsetFilterTable self) -> std::string"""
2332  return _IMP_domino.EquivalenceSubsetFilterTable___str__(self)
2333 
2334 
2335  def __repr__(self):
2336  """__repr__(EquivalenceSubsetFilterTable self) -> std::string"""
2337  return _IMP_domino.EquivalenceSubsetFilterTable___repr__(self)
2338 
2339 
2340  @staticmethod
2341  def get_from(o):
2342  return _object_cast_to_EquivalenceSubsetFilterTable(o)
2343 
2344 EquivalenceSubsetFilterTable_swigregister = _IMP_domino.EquivalenceSubsetFilterTable_swigregister
2345 EquivalenceSubsetFilterTable_swigregister(EquivalenceSubsetFilterTable)
2346 
2347 class EquivalenceAndExclusionSubsetFilterTable(DisjointSetsSubsetFilterTable):
2348  """Proxy of C++ IMP::domino::EquivalenceAndExclusionSubsetFilterTable class."""
2349 
2350  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2351 
2352  def __init__(self, *args):
2353  """
2354  __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self, ParticleStatesTable pst) -> EquivalenceAndExclusionSubsetFilterTable
2355  __init__(IMP::domino::EquivalenceAndExclusionSubsetFilterTable self) -> EquivalenceAndExclusionSubsetFilterTable
2356  """
2357  this = _IMP_domino.new_EquivalenceAndExclusionSubsetFilterTable(*args)
2358  try:
2359  self.this.append(this)
2360  except __builtin__.Exception:
2361  self.this = this
2362 
2363  def get_version_info(self):
2364  """get_version_info(EquivalenceAndExclusionSubsetFilterTable self) -> VersionInfo"""
2365  return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_get_version_info(self)
2366 
2367 
2368  def __str__(self):
2369  """__str__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2370  return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___str__(self)
2371 
2372 
2373  def __repr__(self):
2374  """__repr__(EquivalenceAndExclusionSubsetFilterTable self) -> std::string"""
2375  return _IMP_domino.EquivalenceAndExclusionSubsetFilterTable___repr__(self)
2376 
2377 
2378  @staticmethod
2379  def get_from(o):
2380  return _object_cast_to_EquivalenceAndExclusionSubsetFilterTable(o)
2381 
2382 EquivalenceAndExclusionSubsetFilterTable_swigregister = _IMP_domino.EquivalenceAndExclusionSubsetFilterTable_swigregister
2383 EquivalenceAndExclusionSubsetFilterTable_swigregister(EquivalenceAndExclusionSubsetFilterTable)
2384 
2385 class ListSubsetFilterTable(SubsetFilterTable):
2386  """Proxy of C++ IMP::domino::ListSubsetFilterTable class."""
2387 
2388  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2389 
2390  def __init__(self, pst):
2391  """__init__(IMP::domino::ListSubsetFilterTable self, ParticleStatesTable pst) -> ListSubsetFilterTable"""
2392  this = _IMP_domino.new_ListSubsetFilterTable(pst)
2393  try:
2394  self.this.append(this)
2395  except __builtin__.Exception:
2396  self.this = this
2397 
2398  def get_ok_rate(self):
2399  """get_ok_rate(ListSubsetFilterTable self) -> double"""
2400  return _IMP_domino.ListSubsetFilterTable_get_ok_rate(self)
2401 
2402 
2403  def get_number_of_particle_states(self, p):
2404  """get_number_of_particle_states(ListSubsetFilterTable self, Particle p) -> unsigned int"""
2405  return _IMP_domino.ListSubsetFilterTable_get_number_of_particle_states(self, p)
2406 
2407 
2408  def set_allowed_states(self, p, states):
2409  """set_allowed_states(ListSubsetFilterTable self, Particle p, IMP::Ints const & states)"""
2410  return _IMP_domino.ListSubsetFilterTable_set_allowed_states(self, p, states)
2411 
2412 
2413  def get_version_info(self):
2414  """get_version_info(ListSubsetFilterTable self) -> VersionInfo"""
2415  return _IMP_domino.ListSubsetFilterTable_get_version_info(self)
2416 
2417 
2418  def __str__(self):
2419  """__str__(ListSubsetFilterTable self) -> std::string"""
2420  return _IMP_domino.ListSubsetFilterTable___str__(self)
2421 
2422 
2423  def __repr__(self):
2424  """__repr__(ListSubsetFilterTable self) -> std::string"""
2425  return _IMP_domino.ListSubsetFilterTable___repr__(self)
2426 
2427 
2428  @staticmethod
2429  def get_from(o):
2430  return _object_cast_to_ListSubsetFilterTable(o)
2431 
2432 ListSubsetFilterTable_swigregister = _IMP_domino.ListSubsetFilterTable_swigregister
2433 ListSubsetFilterTable_swigregister(ListSubsetFilterTable)
2434 
2435 class PairListSubsetFilterTable(SubsetFilterTable):
2436  """Proxy of C++ IMP::domino::PairListSubsetFilterTable class."""
2437 
2438  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2439 
2440  def __init__(self):
2441  """__init__(IMP::domino::PairListSubsetFilterTable self) -> PairListSubsetFilterTable"""
2442  this = _IMP_domino.new_PairListSubsetFilterTable()
2443  try:
2444  self.this.append(this)
2445  except __builtin__.Exception:
2446  self.this = this
2447 
2448  def set_allowed_states(self, p, states):
2449  """set_allowed_states(PairListSubsetFilterTable self, IMP::ParticlePair p, IMP::IntPairs const & states)"""
2450  return _IMP_domino.PairListSubsetFilterTable_set_allowed_states(self, p, states)
2451 
2452 
2453  def get_version_info(self):
2454  """get_version_info(PairListSubsetFilterTable self) -> VersionInfo"""
2455  return _IMP_domino.PairListSubsetFilterTable_get_version_info(self)
2456 
2457 
2458  def __str__(self):
2459  """__str__(PairListSubsetFilterTable self) -> std::string"""
2460  return _IMP_domino.PairListSubsetFilterTable___str__(self)
2461 
2462 
2463  def __repr__(self):
2464  """__repr__(PairListSubsetFilterTable self) -> std::string"""
2465  return _IMP_domino.PairListSubsetFilterTable___repr__(self)
2466 
2467 
2468  @staticmethod
2469  def get_from(o):
2470  return _object_cast_to_PairListSubsetFilterTable(o)
2471 
2472 PairListSubsetFilterTable_swigregister = _IMP_domino.PairListSubsetFilterTable_swigregister
2473 PairListSubsetFilterTable_swigregister(PairListSubsetFilterTable)
2474 
2475 class ProbabilisticSubsetFilterTable(SubsetFilterTable):
2476  """Proxy of C++ IMP::domino::ProbabilisticSubsetFilterTable class."""
2477 
2478  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2479 
2480  def __init__(self, p, leaves_only=False):
2481  """
2482  __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p, bool leaves_only=False) -> ProbabilisticSubsetFilterTable
2483  __init__(IMP::domino::ProbabilisticSubsetFilterTable self, double p) -> ProbabilisticSubsetFilterTable
2484  """
2485  this = _IMP_domino.new_ProbabilisticSubsetFilterTable(p, leaves_only)
2486  try:
2487  self.this.append(this)
2488  except __builtin__.Exception:
2489  self.this = this
2490 
2491  def get_version_info(self):
2492  """get_version_info(ProbabilisticSubsetFilterTable self) -> VersionInfo"""
2493  return _IMP_domino.ProbabilisticSubsetFilterTable_get_version_info(self)
2494 
2495 
2496  def __str__(self):
2497  """__str__(ProbabilisticSubsetFilterTable self) -> std::string"""
2498  return _IMP_domino.ProbabilisticSubsetFilterTable___str__(self)
2499 
2500 
2501  def __repr__(self):
2502  """__repr__(ProbabilisticSubsetFilterTable self) -> std::string"""
2503  return _IMP_domino.ProbabilisticSubsetFilterTable___repr__(self)
2504 
2505 
2506  @staticmethod
2507  def get_from(o):
2508  return _object_cast_to_ProbabilisticSubsetFilterTable(o)
2509 
2510 ProbabilisticSubsetFilterTable_swigregister = _IMP_domino.ProbabilisticSubsetFilterTable_swigregister
2511 ProbabilisticSubsetFilterTable_swigregister(ProbabilisticSubsetFilterTable)
2512 
2513 class AssignmentContainer(IMP.Object):
2514  """Proxy of C++ IMP::domino::AssignmentContainer class."""
2515 
2516  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2517 
2518  def __init__(self, *args):
2519  """
2520  __init__(IMP::domino::AssignmentContainer self, std::string name) -> AssignmentContainer
2521  __init__(IMP::domino::AssignmentContainer self) -> AssignmentContainer
2522  """
2523  if self.__class__ == AssignmentContainer:
2524  _self = None
2525  else:
2526  _self = self
2527  this = _IMP_domino.new_AssignmentContainer(_self, *args)
2528  try:
2529  self.this.append(this)
2530  except __builtin__.Exception:
2531  self.this = this
2532 
2533  if self.__class__ != AssignmentContainer:
2534  _director_objects.register(self)
2535 
2536 
2537 
2538 
2539  def get_number_of_assignments(self):
2540  """get_number_of_assignments(AssignmentContainer self) -> unsigned int"""
2541  return _IMP_domino.AssignmentContainer_get_number_of_assignments(self)
2542 
2543 
2544  def get_assignment(self, i):
2545  """get_assignment(AssignmentContainer self, unsigned int i) -> Assignment"""
2546  return _IMP_domino.AssignmentContainer_get_assignment(self, i)
2547 
2548 
2549  def get_assignments(self, *args):
2550  """
2551  get_assignments(AssignmentContainer self, IMP::IntRange ir) -> IMP::domino::Assignments
2552  get_assignments(AssignmentContainer self) -> IMP::domino::Assignments
2553  """
2554  return _IMP_domino.AssignmentContainer_get_assignments(self, *args)
2555 
2556 
2557  def add_assignment(self, a):
2558  """add_assignment(AssignmentContainer self, Assignment a)"""
2559  return _IMP_domino.AssignmentContainer_add_assignment(self, a)
2560 
2561 
2562  def add_assignments(self, asgn):
2563  """add_assignments(AssignmentContainer self, IMP::domino::Assignments const & asgn)"""
2564  return _IMP_domino.AssignmentContainer_add_assignments(self, asgn)
2565 
2566 
2567  def get_particle_assignments(self, i):
2568  """get_particle_assignments(AssignmentContainer self, unsigned int i) -> IMP::Ints"""
2569  return _IMP_domino.AssignmentContainer_get_particle_assignments(self, i)
2570 
2571  __swig_destroy__ = _IMP_domino.delete_AssignmentContainer
2572  __del__ = lambda self: None
2573 
2574  def __str__(self):
2575  """__str__(AssignmentContainer self) -> std::string"""
2576  return _IMP_domino.AssignmentContainer___str__(self)
2577 
2578 
2579  def __repr__(self):
2580  """__repr__(AssignmentContainer self) -> std::string"""
2581  return _IMP_domino.AssignmentContainer___repr__(self)
2582 
2583 
2584  @staticmethod
2585  def get_from(o):
2586  return _object_cast_to_AssignmentContainer(o)
2587 
2588 
2589  def get_type_name(self):
2590  return self.__class__.__name__
2591  def do_show(self, out):
2592  pass
2593  def get_version_info(self):
2594  if"IMP::domino" == "IMP":
2595  return VersionInfo(self.__module__,
2596  __import__(self.__module__).get_module_version())
2597  else:
2598  return IMP.VersionInfo(self.__module__,
2599  __import__(self.__module__).get_module_version())
2600  @staticmethod
2601  def get_from(o):
2602  return _object_cast_to_AssignmentContainer(o)
2603 
2604  def __disown__(self):
2605  self.this.disown()
2606  _IMP_domino.disown_AssignmentContainer(self)
2607  return weakref_proxy(self)
2608 
2609  def do_destroy(self):
2610  """do_destroy(AssignmentContainer self)"""
2611  return _IMP_domino.AssignmentContainer_do_destroy(self)
2612 
2613 AssignmentContainer_swigregister = _IMP_domino.AssignmentContainer_swigregister
2614 AssignmentContainer_swigregister(AssignmentContainer)
2615 
2616 class PackedAssignmentContainer(AssignmentContainer):
2617  """Proxy of C++ IMP::domino::PackedAssignmentContainer class."""
2618 
2619  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2620 
2621  def __init__(self, *args):
2622  """
2623  __init__(IMP::domino::PackedAssignmentContainer self, std::string name) -> PackedAssignmentContainer
2624  __init__(IMP::domino::PackedAssignmentContainer self) -> PackedAssignmentContainer
2625  """
2626  this = _IMP_domino.new_PackedAssignmentContainer(*args)
2627  try:
2628  self.this.append(this)
2629  except __builtin__.Exception:
2630  self.this = this
2631 
2632  def get_assignments(self, *args):
2633  """
2634  get_assignments(PackedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2635  get_assignments(PackedAssignmentContainer self) -> IMP::domino::Assignments
2636  """
2637  return _IMP_domino.PackedAssignmentContainer_get_assignments(self, *args)
2638 
2639 
2640  def get_version_info(self):
2641  """get_version_info(PackedAssignmentContainer self) -> VersionInfo"""
2642  return _IMP_domino.PackedAssignmentContainer_get_version_info(self)
2643 
2644 
2645  def __str__(self):
2646  """__str__(PackedAssignmentContainer self) -> std::string"""
2647  return _IMP_domino.PackedAssignmentContainer___str__(self)
2648 
2649 
2650  def __repr__(self):
2651  """__repr__(PackedAssignmentContainer self) -> std::string"""
2652  return _IMP_domino.PackedAssignmentContainer___repr__(self)
2653 
2654 
2655  @staticmethod
2656  def get_from(o):
2657  return _object_cast_to_PackedAssignmentContainer(o)
2658 
2659 PackedAssignmentContainer_swigregister = _IMP_domino.PackedAssignmentContainer_swigregister
2660 PackedAssignmentContainer_swigregister(PackedAssignmentContainer)
2661 
2662 class ListAssignmentContainer(AssignmentContainer):
2663  """Proxy of C++ IMP::domino::ListAssignmentContainer class."""
2664 
2665  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2666 
2667  def __init__(self, *args):
2668  """
2669  __init__(IMP::domino::ListAssignmentContainer self, std::string name) -> ListAssignmentContainer
2670  __init__(IMP::domino::ListAssignmentContainer self) -> ListAssignmentContainer
2671  """
2672  this = _IMP_domino.new_ListAssignmentContainer(*args)
2673  try:
2674  self.this.append(this)
2675  except __builtin__.Exception:
2676  self.this = this
2677 
2678  def get_assignments(self, *args):
2679  """
2680  get_assignments(ListAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2681  get_assignments(ListAssignmentContainer self) -> IMP::domino::Assignments
2682  """
2683  return _IMP_domino.ListAssignmentContainer_get_assignments(self, *args)
2684 
2685 
2686  def get_version_info(self):
2687  """get_version_info(ListAssignmentContainer self) -> VersionInfo"""
2688  return _IMP_domino.ListAssignmentContainer_get_version_info(self)
2689 
2690 
2691  def __str__(self):
2692  """__str__(ListAssignmentContainer self) -> std::string"""
2693  return _IMP_domino.ListAssignmentContainer___str__(self)
2694 
2695 
2696  def __repr__(self):
2697  """__repr__(ListAssignmentContainer self) -> std::string"""
2698  return _IMP_domino.ListAssignmentContainer___repr__(self)
2699 
2700 
2701  @staticmethod
2702  def get_from(o):
2703  return _object_cast_to_ListAssignmentContainer(o)
2704 
2705 ListAssignmentContainer_swigregister = _IMP_domino.ListAssignmentContainer_swigregister
2706 ListAssignmentContainer_swigregister(ListAssignmentContainer)
2707 
2708 class SampleAssignmentContainer(AssignmentContainer):
2709  """Proxy of C++ IMP::domino::SampleAssignmentContainer class."""
2710 
2711  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2712 
2713  def __init__(self, *args):
2714  """
2715  __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k, std::string name) -> SampleAssignmentContainer
2716  __init__(IMP::domino::SampleAssignmentContainer self, unsigned int k) -> SampleAssignmentContainer
2717  """
2718  this = _IMP_domino.new_SampleAssignmentContainer(*args)
2719  try:
2720  self.this.append(this)
2721  except __builtin__.Exception:
2722  self.this = this
2723 
2724  def get_assignments(self, *args):
2725  """
2726  get_assignments(SampleAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2727  get_assignments(SampleAssignmentContainer self) -> IMP::domino::Assignments
2728  """
2729  return _IMP_domino.SampleAssignmentContainer_get_assignments(self, *args)
2730 
2731 
2732  def get_version_info(self):
2733  """get_version_info(SampleAssignmentContainer self) -> VersionInfo"""
2734  return _IMP_domino.SampleAssignmentContainer_get_version_info(self)
2735 
2736 
2737  def __str__(self):
2738  """__str__(SampleAssignmentContainer self) -> std::string"""
2739  return _IMP_domino.SampleAssignmentContainer___str__(self)
2740 
2741 
2742  def __repr__(self):
2743  """__repr__(SampleAssignmentContainer self) -> std::string"""
2744  return _IMP_domino.SampleAssignmentContainer___repr__(self)
2745 
2746 
2747  @staticmethod
2748  def get_from(o):
2749  return _object_cast_to_SampleAssignmentContainer(o)
2750 
2751 SampleAssignmentContainer_swigregister = _IMP_domino.SampleAssignmentContainer_swigregister
2752 SampleAssignmentContainer_swigregister(SampleAssignmentContainer)
2753 
2754 class WriteHDF5AssignmentContainer(AssignmentContainer):
2755  """Proxy of C++ IMP::domino::WriteHDF5AssignmentContainer class."""
2756 
2757  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2758 
2759  def __init__(self, *args):
2760  """
2761  __init__(IMP::domino::WriteHDF5AssignmentContainer self, Group parent, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2762  __init__(IMP::domino::WriteHDF5AssignmentContainer self, IndexDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteHDF5AssignmentContainer
2763  """
2764  this = _IMP_domino.new_WriteHDF5AssignmentContainer(*args)
2765  try:
2766  self.this.append(this)
2767  except __builtin__.Exception:
2768  self.this = this
2769 
2770  def set_cache_size(self, words):
2771  """set_cache_size(WriteHDF5AssignmentContainer self, unsigned int words)"""
2772  return _IMP_domino.WriteHDF5AssignmentContainer_set_cache_size(self, words)
2773 
2774 
2775  def get_assignments(self, *args):
2776  """
2777  get_assignments(WriteHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2778  get_assignments(WriteHDF5AssignmentContainer self) -> IMP::domino::Assignments
2779  """
2780  return _IMP_domino.WriteHDF5AssignmentContainer_get_assignments(self, *args)
2781 
2782 
2783  def get_version_info(self):
2784  """get_version_info(WriteHDF5AssignmentContainer self) -> VersionInfo"""
2785  return _IMP_domino.WriteHDF5AssignmentContainer_get_version_info(self)
2786 
2787 
2788  def __str__(self):
2789  """__str__(WriteHDF5AssignmentContainer self) -> std::string"""
2790  return _IMP_domino.WriteHDF5AssignmentContainer___str__(self)
2791 
2792 
2793  def __repr__(self):
2794  """__repr__(WriteHDF5AssignmentContainer self) -> std::string"""
2795  return _IMP_domino.WriteHDF5AssignmentContainer___repr__(self)
2796 
2797 
2798  @staticmethod
2799  def get_from(o):
2800  return _object_cast_to_WriteHDF5AssignmentContainer(o)
2801 
2802 WriteHDF5AssignmentContainer_swigregister = _IMP_domino.WriteHDF5AssignmentContainer_swigregister
2803 WriteHDF5AssignmentContainer_swigregister(WriteHDF5AssignmentContainer)
2804 
2805 class ReadHDF5AssignmentContainer(AssignmentContainer):
2806  """Proxy of C++ IMP::domino::ReadHDF5AssignmentContainer class."""
2807 
2808  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2809 
2810  def __init__(self, dataset, s, all_particles, name):
2811  """__init__(IMP::domino::ReadHDF5AssignmentContainer self, IndexConstDataSet2D dataset, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadHDF5AssignmentContainer"""
2812  this = _IMP_domino.new_ReadHDF5AssignmentContainer(dataset, s, all_particles, name)
2813  try:
2814  self.this.append(this)
2815  except __builtin__.Exception:
2816  self.this = this
2817 
2818  def set_cache_size(self, words):
2819  """set_cache_size(ReadHDF5AssignmentContainer self, unsigned int words)"""
2820  return _IMP_domino.ReadHDF5AssignmentContainer_set_cache_size(self, words)
2821 
2822 
2823  def get_assignments(self, *args):
2824  """
2825  get_assignments(ReadHDF5AssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2826  get_assignments(ReadHDF5AssignmentContainer self) -> IMP::domino::Assignments
2827  """
2828  return _IMP_domino.ReadHDF5AssignmentContainer_get_assignments(self, *args)
2829 
2830 
2831  def get_version_info(self):
2832  """get_version_info(ReadHDF5AssignmentContainer self) -> VersionInfo"""
2833  return _IMP_domino.ReadHDF5AssignmentContainer_get_version_info(self)
2834 
2835 
2836  def __str__(self):
2837  """__str__(ReadHDF5AssignmentContainer self) -> std::string"""
2838  return _IMP_domino.ReadHDF5AssignmentContainer___str__(self)
2839 
2840 
2841  def __repr__(self):
2842  """__repr__(ReadHDF5AssignmentContainer self) -> std::string"""
2843  return _IMP_domino.ReadHDF5AssignmentContainer___repr__(self)
2844 
2845 
2846  @staticmethod
2847  def get_from(o):
2848  return _object_cast_to_ReadHDF5AssignmentContainer(o)
2849 
2850 ReadHDF5AssignmentContainer_swigregister = _IMP_domino.ReadHDF5AssignmentContainer_swigregister
2851 ReadHDF5AssignmentContainer_swigregister(ReadHDF5AssignmentContainer)
2852 
2853 class WriteAssignmentContainer(AssignmentContainer):
2854  """Proxy of C++ IMP::domino::WriteAssignmentContainer class."""
2855 
2856  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2857 
2858  def __init__(self, out_file, s, all_particles, name):
2859  """__init__(IMP::domino::WriteAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> WriteAssignmentContainer"""
2860  this = _IMP_domino.new_WriteAssignmentContainer(out_file, s, all_particles, name)
2861  try:
2862  self.this.append(this)
2863  except __builtin__.Exception:
2864  self.this = this
2865 
2866  def set_cache_size(self, words):
2867  """set_cache_size(WriteAssignmentContainer self, unsigned int words)"""
2868  return _IMP_domino.WriteAssignmentContainer_set_cache_size(self, words)
2869 
2870 
2871  def get_assignments(self, *args):
2872  """
2873  get_assignments(WriteAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2874  get_assignments(WriteAssignmentContainer self) -> IMP::domino::Assignments
2875  """
2876  return _IMP_domino.WriteAssignmentContainer_get_assignments(self, *args)
2877 
2878 
2879  def get_version_info(self):
2880  """get_version_info(WriteAssignmentContainer self) -> VersionInfo"""
2881  return _IMP_domino.WriteAssignmentContainer_get_version_info(self)
2882 
2883 
2884  def __str__(self):
2885  """__str__(WriteAssignmentContainer self) -> std::string"""
2886  return _IMP_domino.WriteAssignmentContainer___str__(self)
2887 
2888 
2889  def __repr__(self):
2890  """__repr__(WriteAssignmentContainer self) -> std::string"""
2891  return _IMP_domino.WriteAssignmentContainer___repr__(self)
2892 
2893 
2894  @staticmethod
2895  def get_from(o):
2896  return _object_cast_to_WriteAssignmentContainer(o)
2897 
2898 WriteAssignmentContainer_swigregister = _IMP_domino.WriteAssignmentContainer_swigregister
2899 WriteAssignmentContainer_swigregister(WriteAssignmentContainer)
2900 
2901 class ReadAssignmentContainer(AssignmentContainer):
2902  """Proxy of C++ IMP::domino::ReadAssignmentContainer class."""
2903 
2904  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2905 
2906  def __init__(self, out_file, s, all_particles, name):
2907  """__init__(IMP::domino::ReadAssignmentContainer self, std::string out_file, Subset s, IMP::ParticlesTemp const & all_particles, std::string name) -> ReadAssignmentContainer"""
2908  this = _IMP_domino.new_ReadAssignmentContainer(out_file, s, all_particles, name)
2909  try:
2910  self.this.append(this)
2911  except __builtin__.Exception:
2912  self.this = this
2913 
2914  def set_cache_size(self, words):
2915  """set_cache_size(ReadAssignmentContainer self, unsigned int words)"""
2916  return _IMP_domino.ReadAssignmentContainer_set_cache_size(self, words)
2917 
2918 
2919  def get_assignments(self, *args):
2920  """
2921  get_assignments(ReadAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2922  get_assignments(ReadAssignmentContainer self) -> IMP::domino::Assignments
2923  """
2924  return _IMP_domino.ReadAssignmentContainer_get_assignments(self, *args)
2925 
2926 
2927  def get_version_info(self):
2928  """get_version_info(ReadAssignmentContainer self) -> VersionInfo"""
2929  return _IMP_domino.ReadAssignmentContainer_get_version_info(self)
2930 
2931 
2932  def __str__(self):
2933  """__str__(ReadAssignmentContainer self) -> std::string"""
2934  return _IMP_domino.ReadAssignmentContainer___str__(self)
2935 
2936 
2937  def __repr__(self):
2938  """__repr__(ReadAssignmentContainer self) -> std::string"""
2939  return _IMP_domino.ReadAssignmentContainer___repr__(self)
2940 
2941 
2942  @staticmethod
2943  def get_from(o):
2944  return _object_cast_to_ReadAssignmentContainer(o)
2945 
2946 ReadAssignmentContainer_swigregister = _IMP_domino.ReadAssignmentContainer_swigregister
2947 ReadAssignmentContainer_swigregister(ReadAssignmentContainer)
2948 
2949 class RangeViewAssignmentContainer(AssignmentContainer):
2950  """Proxy of C++ IMP::domino::RangeViewAssignmentContainer class."""
2951 
2952  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2953 
2954  def __init__(self, inner, begin, end):
2955  """__init__(IMP::domino::RangeViewAssignmentContainer self, AssignmentContainer inner, unsigned int begin, unsigned int end) -> RangeViewAssignmentContainer"""
2956  this = _IMP_domino.new_RangeViewAssignmentContainer(inner, begin, end)
2957  try:
2958  self.this.append(this)
2959  except __builtin__.Exception:
2960  self.this = this
2961 
2962  def get_assignments(self, *args):
2963  """
2964  get_assignments(RangeViewAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
2965  get_assignments(RangeViewAssignmentContainer self) -> IMP::domino::Assignments
2966  """
2967  return _IMP_domino.RangeViewAssignmentContainer_get_assignments(self, *args)
2968 
2969 
2970  def get_version_info(self):
2971  """get_version_info(RangeViewAssignmentContainer self) -> VersionInfo"""
2972  return _IMP_domino.RangeViewAssignmentContainer_get_version_info(self)
2973 
2974 
2975  def __str__(self):
2976  """__str__(RangeViewAssignmentContainer self) -> std::string"""
2977  return _IMP_domino.RangeViewAssignmentContainer___str__(self)
2978 
2979 
2980  def __repr__(self):
2981  """__repr__(RangeViewAssignmentContainer self) -> std::string"""
2982  return _IMP_domino.RangeViewAssignmentContainer___repr__(self)
2983 
2984 
2985  @staticmethod
2986  def get_from(o):
2987  return _object_cast_to_RangeViewAssignmentContainer(o)
2988 
2989 RangeViewAssignmentContainer_swigregister = _IMP_domino.RangeViewAssignmentContainer_swigregister
2990 RangeViewAssignmentContainer_swigregister(RangeViewAssignmentContainer)
2991 
2992 class HeapAssignmentContainer(AssignmentContainer):
2993  """Proxy of C++ IMP::domino::HeapAssignmentContainer class."""
2994 
2995  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2996 
2997  def __init__(self, *args):
2998  """
2999  __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf, std::string name) -> HeapAssignmentContainer
3000  __init__(IMP::domino::HeapAssignmentContainer self, Subset subset, unsigned int k, RestraintCache rssf) -> HeapAssignmentContainer
3001  """
3002  this = _IMP_domino.new_HeapAssignmentContainer(*args)
3003  try:
3004  self.this.append(this)
3005  except __builtin__.Exception:
3006  self.this = this
3007 
3008  def get_assignments(self, *args):
3009  """
3010  get_assignments(HeapAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3011  get_assignments(HeapAssignmentContainer self) -> IMP::domino::Assignments
3012  """
3013  return _IMP_domino.HeapAssignmentContainer_get_assignments(self, *args)
3014 
3015 
3016  def get_version_info(self):
3017  """get_version_info(HeapAssignmentContainer self) -> VersionInfo"""
3018  return _IMP_domino.HeapAssignmentContainer_get_version_info(self)
3019 
3020 
3021  def __str__(self):
3022  """__str__(HeapAssignmentContainer self) -> std::string"""
3023  return _IMP_domino.HeapAssignmentContainer___str__(self)
3024 
3025 
3026  def __repr__(self):
3027  """__repr__(HeapAssignmentContainer self) -> std::string"""
3028  return _IMP_domino.HeapAssignmentContainer___repr__(self)
3029 
3030 
3031  @staticmethod
3032  def get_from(o):
3033  return _object_cast_to_HeapAssignmentContainer(o)
3034 
3035 HeapAssignmentContainer_swigregister = _IMP_domino.HeapAssignmentContainer_swigregister
3036 HeapAssignmentContainer_swigregister(HeapAssignmentContainer)
3037 
3038 class CappedAssignmentContainer(AssignmentContainer):
3039  """Proxy of C++ IMP::domino::CappedAssignmentContainer class."""
3040 
3041  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3042 
3043  def __init__(self, contained, max_states, name):
3044  """__init__(IMP::domino::CappedAssignmentContainer self, AssignmentContainer contained, int max_states, std::string name) -> CappedAssignmentContainer"""
3045  this = _IMP_domino.new_CappedAssignmentContainer(contained, max_states, name)
3046  try:
3047  self.this.append(this)
3048  except __builtin__.Exception:
3049  self.this = this
3050 
3051  def get_assignments(self, *args):
3052  """
3053  get_assignments(CappedAssignmentContainer self, IMP::IntRange r) -> IMP::domino::Assignments
3054  get_assignments(CappedAssignmentContainer self) -> IMP::domino::Assignments
3055  """
3056  return _IMP_domino.CappedAssignmentContainer_get_assignments(self, *args)
3057 
3058 
3059  def get_version_info(self):
3060  """get_version_info(CappedAssignmentContainer self) -> VersionInfo"""
3061  return _IMP_domino.CappedAssignmentContainer_get_version_info(self)
3062 
3063 
3064  def __str__(self):
3065  """__str__(CappedAssignmentContainer self) -> std::string"""
3066  return _IMP_domino.CappedAssignmentContainer___str__(self)
3067 
3068 
3069  def __repr__(self):
3070  """__repr__(CappedAssignmentContainer self) -> std::string"""
3071  return _IMP_domino.CappedAssignmentContainer___repr__(self)
3072 
3073 
3074  @staticmethod
3075  def get_from(o):
3076  return _object_cast_to_CappedAssignmentContainer(o)
3077 
3078 CappedAssignmentContainer_swigregister = _IMP_domino.CappedAssignmentContainer_swigregister
3079 CappedAssignmentContainer_swigregister(CappedAssignmentContainer)
3080 
3081 class AssignmentsTable(IMP.Object):
3082  """Proxy of C++ IMP::domino::AssignmentsTable class."""
3083 
3084  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3085 
3086  def __init__(self, *args):
3087  """
3088  __init__(IMP::domino::AssignmentsTable self, std::string name) -> AssignmentsTable
3089  __init__(IMP::domino::AssignmentsTable self) -> AssignmentsTable
3090  """
3091  if self.__class__ == AssignmentsTable:
3092  _self = None
3093  else:
3094  _self = self
3095  this = _IMP_domino.new_AssignmentsTable(_self, *args)
3096  try:
3097  self.this.append(this)
3098  except __builtin__.Exception:
3099  self.this = this
3100 
3101  if self.__class__ != AssignmentsTable:
3102  _director_objects.register(self)
3103 
3104 
3105 
3106 
3107  def load_assignments(self, s, ac):
3108  """load_assignments(AssignmentsTable self, Subset s, AssignmentContainer ac)"""
3109  return _IMP_domino.AssignmentsTable_load_assignments(self, s, ac)
3110 
3111  __swig_destroy__ = _IMP_domino.delete_AssignmentsTable
3112  __del__ = lambda self: None
3113 
3114  def __str__(self):
3115  """__str__(AssignmentsTable self) -> std::string"""
3116  return _IMP_domino.AssignmentsTable___str__(self)
3117 
3118 
3119  def __repr__(self):
3120  """__repr__(AssignmentsTable self) -> std::string"""
3121  return _IMP_domino.AssignmentsTable___repr__(self)
3122 
3123 
3124  @staticmethod
3125  def get_from(o):
3126  return _object_cast_to_AssignmentsTable(o)
3127 
3128 
3129  def get_type_name(self):
3130  return self.__class__.__name__
3131  def do_show(self, out):
3132  pass
3133  def get_version_info(self):
3134  if"IMP::domino" == "IMP":
3135  return VersionInfo(self.__module__,
3136  __import__(self.__module__).get_module_version())
3137  else:
3138  return IMP.VersionInfo(self.__module__,
3139  __import__(self.__module__).get_module_version())
3140  @staticmethod
3141  def get_from(o):
3142  return _object_cast_to_AssignmentsTable(o)
3143 
3144  def __disown__(self):
3145  self.this.disown()
3146  _IMP_domino.disown_AssignmentsTable(self)
3147  return weakref_proxy(self)
3148 
3149  def do_destroy(self):
3150  """do_destroy(AssignmentsTable self)"""
3151  return _IMP_domino.AssignmentsTable_do_destroy(self)
3152 
3153 AssignmentsTable_swigregister = _IMP_domino.AssignmentsTable_swigregister
3154 AssignmentsTable_swigregister(AssignmentsTable)
3155 
3156 class SimpleAssignmentsTable(AssignmentsTable):
3157  """Proxy of C++ IMP::domino::SimpleAssignmentsTable class."""
3158 
3159  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3160 
3161  def __init__(self, *args):
3162  """
3163  __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> SimpleAssignmentsTable
3164  __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> SimpleAssignmentsTable
3165  __init__(IMP::domino::SimpleAssignmentsTable self, ParticleStatesTable pst) -> SimpleAssignmentsTable
3166  """
3167  this = _IMP_domino.new_SimpleAssignmentsTable(*args)
3168  try:
3169  self.this.append(this)
3170  except __builtin__.Exception:
3171  self.this = this
3172 
3173  def get_version_info(self):
3174  """get_version_info(SimpleAssignmentsTable self) -> VersionInfo"""
3175  return _IMP_domino.SimpleAssignmentsTable_get_version_info(self)
3176 
3177 
3178  def __str__(self):
3179  """__str__(SimpleAssignmentsTable self) -> std::string"""
3180  return _IMP_domino.SimpleAssignmentsTable___str__(self)
3181 
3182 
3183  def __repr__(self):
3184  """__repr__(SimpleAssignmentsTable self) -> std::string"""
3185  return _IMP_domino.SimpleAssignmentsTable___repr__(self)
3186 
3187 
3188  @staticmethod
3189  def get_from(o):
3190  return _object_cast_to_SimpleAssignmentsTable(o)
3191 
3192 SimpleAssignmentsTable_swigregister = _IMP_domino.SimpleAssignmentsTable_swigregister
3193 SimpleAssignmentsTable_swigregister(SimpleAssignmentsTable)
3194 
3195 class RecursiveAssignmentsTable(AssignmentsTable):
3196  """Proxy of C++ IMP::domino::RecursiveAssignmentsTable class."""
3197 
3198  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3199 
3200  def __init__(self, *args):
3201  """
3202  __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> RecursiveAssignmentsTable
3203  __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> RecursiveAssignmentsTable
3204  __init__(IMP::domino::RecursiveAssignmentsTable self, ParticleStatesTable pst) -> RecursiveAssignmentsTable
3205  """
3206  this = _IMP_domino.new_RecursiveAssignmentsTable(*args)
3207  try:
3208  self.this.append(this)
3209  except __builtin__.Exception:
3210  self.this = this
3211 
3212  def get_version_info(self):
3213  """get_version_info(RecursiveAssignmentsTable self) -> VersionInfo"""
3214  return _IMP_domino.RecursiveAssignmentsTable_get_version_info(self)
3215 
3216 
3217  def __str__(self):
3218  """__str__(RecursiveAssignmentsTable self) -> std::string"""
3219  return _IMP_domino.RecursiveAssignmentsTable___str__(self)
3220 
3221 
3222  def __repr__(self):
3223  """__repr__(RecursiveAssignmentsTable self) -> std::string"""
3224  return _IMP_domino.RecursiveAssignmentsTable___repr__(self)
3225 
3226 
3227  @staticmethod
3228  def get_from(o):
3229  return _object_cast_to_RecursiveAssignmentsTable(o)
3230 
3231 RecursiveAssignmentsTable_swigregister = _IMP_domino.RecursiveAssignmentsTable_swigregister
3232 RecursiveAssignmentsTable_swigregister(RecursiveAssignmentsTable)
3233 
3234 class BranchAndBoundAssignmentsTable(AssignmentsTable):
3235  """Proxy of C++ IMP::domino::BranchAndBoundAssignmentsTable class."""
3236 
3237  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3238 
3239  def __init__(self, *args):
3240  """
3241  __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft, unsigned int max) -> BranchAndBoundAssignmentsTable
3242  __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst, IMP::domino::SubsetFilterTables const & sft) -> BranchAndBoundAssignmentsTable
3243  __init__(IMP::domino::BranchAndBoundAssignmentsTable self, ParticleStatesTable pst) -> BranchAndBoundAssignmentsTable
3244  """
3245  this = _IMP_domino.new_BranchAndBoundAssignmentsTable(*args)
3246  try:
3247  self.this.append(this)
3248  except __builtin__.Exception:
3249  self.this = this
3250 
3251  def get_version_info(self):
3252  """get_version_info(BranchAndBoundAssignmentsTable self) -> VersionInfo"""
3253  return _IMP_domino.BranchAndBoundAssignmentsTable_get_version_info(self)
3254 
3255 
3256  def __str__(self):
3257  """__str__(BranchAndBoundAssignmentsTable self) -> std::string"""
3258  return _IMP_domino.BranchAndBoundAssignmentsTable___str__(self)
3259 
3260 
3261  def __repr__(self):
3262  """__repr__(BranchAndBoundAssignmentsTable self) -> std::string"""
3263  return _IMP_domino.BranchAndBoundAssignmentsTable___repr__(self)
3264 
3265 
3266  @staticmethod
3267  def get_from(o):
3268  return _object_cast_to_BranchAndBoundAssignmentsTable(o)
3269 
3270 BranchAndBoundAssignmentsTable_swigregister = _IMP_domino.BranchAndBoundAssignmentsTable_swigregister
3271 BranchAndBoundAssignmentsTable_swigregister(BranchAndBoundAssignmentsTable)
3272 
3273 class ListAssignmentsTable(AssignmentsTable):
3274  """Proxy of C++ IMP::domino::ListAssignmentsTable class."""
3275 
3276  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3277 
3278  def __init__(self, *args):
3279  """
3280  __init__(IMP::domino::ListAssignmentsTable self, std::string name) -> ListAssignmentsTable
3281  __init__(IMP::domino::ListAssignmentsTable self) -> ListAssignmentsTable
3282  """
3283  this = _IMP_domino.new_ListAssignmentsTable(*args)
3284  try:
3285  self.this.append(this)
3286  except __builtin__.Exception:
3287  self.this = this
3288 
3289  def set_assignments(self, s, lsc):
3290  """set_assignments(ListAssignmentsTable self, Subset s, AssignmentContainer lsc)"""
3291  return _IMP_domino.ListAssignmentsTable_set_assignments(self, s, lsc)
3292 
3293 
3294  def get_version_info(self):
3295  """get_version_info(ListAssignmentsTable self) -> VersionInfo"""
3296  return _IMP_domino.ListAssignmentsTable_get_version_info(self)
3297 
3298 
3299  def __str__(self):
3300  """__str__(ListAssignmentsTable self) -> std::string"""
3301  return _IMP_domino.ListAssignmentsTable___str__(self)
3302 
3303 
3304  def __repr__(self):
3305  """__repr__(ListAssignmentsTable self) -> std::string"""
3306  return _IMP_domino.ListAssignmentsTable___repr__(self)
3307 
3308 
3309  @staticmethod
3310  def get_from(o):
3311  return _object_cast_to_ListAssignmentsTable(o)
3312 
3313 ListAssignmentsTable_swigregister = _IMP_domino.ListAssignmentsTable_swigregister
3314 ListAssignmentsTable_swigregister(ListAssignmentsTable)
3315 
3316 
3317 def get_order(s, sft):
3318  """get_order(Subset s, IMP::domino::SubsetFilterTables const & sft) -> IMP::ParticlesTemp"""
3319  return _IMP_domino.get_order(s, sft)
3320 class _SubsetGraphVertexIndex(object):
3321  """Proxy of C++ IMP::domino::SubsetGraphVertexIndex class."""
3322 
3323  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3324  __repr__ = _swig_repr
3325 
3326  def __init__(self):
3327  """__init__(IMP::domino::SubsetGraphVertexIndex self) -> _SubsetGraphVertexIndex"""
3328  this = _IMP_domino.new__SubsetGraphVertexIndex()
3329  try:
3330  self.this.append(this)
3331  except __builtin__.Exception:
3332  self.this = this
3333  __swig_destroy__ = _IMP_domino.delete__SubsetGraphVertexIndex
3334  __del__ = lambda self: None
3335 _SubsetGraphVertexIndex_swigregister = _IMP_domino._SubsetGraphVertexIndex_swigregister
3336 _SubsetGraphVertexIndex_swigregister(_SubsetGraphVertexIndex)
3337 
3338 class _InteractionGraphVertexIndex(object):
3339  """Proxy of C++ IMP::domino::InteractionGraphVertexIndex class."""
3340 
3341  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3342  __repr__ = _swig_repr
3343 
3344  def __init__(self):
3345  """__init__(IMP::domino::InteractionGraphVertexIndex self) -> _InteractionGraphVertexIndex"""
3346  this = _IMP_domino.new__InteractionGraphVertexIndex()
3347  try:
3348  self.this.append(this)
3349  except __builtin__.Exception:
3350  self.this = this
3351  __swig_destroy__ = _IMP_domino.delete__InteractionGraphVertexIndex
3352  __del__ = lambda self: None
3353 _InteractionGraphVertexIndex_swigregister = _IMP_domino._InteractionGraphVertexIndex_swigregister
3354 _InteractionGraphVertexIndex_swigregister(_InteractionGraphVertexIndex)
3355 
3356 
3357 def get_subsets(g):
3358  """get_subsets(IMP::domino::SubsetGraph const & g) -> IMP::domino::Subsets"""
3359  return _IMP_domino.get_subsets(g)
3360 
3361 def get_junction_tree(ig):
3362  """get_junction_tree(IMP::domino::InteractionGraph const & ig) -> IMP::domino::SubsetGraph"""
3363  return _IMP_domino.get_junction_tree(ig)
3364 
3365 def get_triangulated(input):
3366  """get_triangulated(IMP::domino::InteractionGraph const & input) -> IMP::domino::InteractionGraph"""
3367  return _IMP_domino.get_triangulated(input)
3368 class _CliqueGraphVertexIndex(object):
3369  """Proxy of C++ IMP::domino::CliqueGraphVertexIndex class."""
3370 
3371  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3372  __repr__ = _swig_repr
3373 
3374  def __init__(self):
3375  """__init__(IMP::domino::CliqueGraphVertexIndex self) -> _CliqueGraphVertexIndex"""
3376  this = _IMP_domino.new__CliqueGraphVertexIndex()
3377  try:
3378  self.this.append(this)
3379  except __builtin__.Exception:
3380  self.this = this
3381  __swig_destroy__ = _IMP_domino.delete__CliqueGraphVertexIndex
3382  __del__ = lambda self: None
3383 _CliqueGraphVertexIndex_swigregister = _IMP_domino._CliqueGraphVertexIndex_swigregister
3384 _CliqueGraphVertexIndex_swigregister(_CliqueGraphVertexIndex)
3385 
3386 
3387 def get_clique_graph(input):
3388  """get_clique_graph(IMP::domino::InteractionGraph const & input) -> IMP::domino::CliqueGraph"""
3389  return _IMP_domino.get_clique_graph(input)
3390 
3391 def get_minimum_spanning_tree(input):
3392  """get_minimum_spanning_tree(IMP::domino::CliqueGraph const & input) -> IMP::domino::SubsetGraph"""
3393  return _IMP_domino.get_minimum_spanning_tree(input)
3394 
3395 def get_restraint_graph(rs, pst):
3396  """get_restraint_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::SubsetGraph"""
3397  return _IMP_domino.get_restraint_graph(rs, pst)
3398 
3399 def get_interaction_graph(*args):
3400  """
3401  get_interaction_graph(_ScoringFunctionAdaptor rs, ParticleStatesTable pst) -> IMP::domino::InteractionGraph
3402  get_interaction_graph(_ScoringFunctionAdaptor rs, IMP::ParticlesTemp const & pst) -> IMP::domino::InteractionGraph
3403  """
3404  return _IMP_domino.get_interaction_graph(*args)
3405 
3407  """get_interaction_graph_geometry(IMP::domino::InteractionGraph const & ig) -> IMP::display::Geometries"""
3408  return _IMP_domino.get_interaction_graph_geometry(ig)
3409 
3411  """get_subset_graph_geometry(IMP::domino::SubsetGraph const & ig) -> IMP::display::Geometries"""
3412  return _IMP_domino.get_subset_graph_geometry(ig)
3413 class _MergeTreeVertexIndex(object):
3414  """Proxy of C++ IMP::domino::MergeTreeVertexIndex class."""
3415 
3416  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3417  __repr__ = _swig_repr
3418 
3419  def __init__(self):
3420  """__init__(IMP::domino::MergeTreeVertexIndex self) -> _MergeTreeVertexIndex"""
3421  this = _IMP_domino.new__MergeTreeVertexIndex()
3422  try:
3423  self.this.append(this)
3424  except __builtin__.Exception:
3425  self.this = this
3426  __swig_destroy__ = _IMP_domino.delete__MergeTreeVertexIndex
3427  __del__ = lambda self: None
3428 _MergeTreeVertexIndex_swigregister = _IMP_domino._MergeTreeVertexIndex_swigregister
3429 _MergeTreeVertexIndex_swigregister(_MergeTreeVertexIndex)
3430 
3431 
3432 def show_as_graphviz(*args):
3433  """
3434  show_as_graphviz(IMP::domino::SubsetGraph const & name, TextOutput out)
3435  show_as_graphviz(IMP::domino::InteractionGraph const & name, TextOutput out)
3436  show_as_graphviz(IMP::domino::CliqueGraph const & name, TextOutput out)
3437  show_as_graphviz(IMP::domino::MergeTree const & name, TextOutput out)
3438  """
3439  return _IMP_domino.show_as_graphviz(*args)
3440 
3441 def get_vertex_index(*args):
3442  """
3443  get_vertex_index(IMP::domino::SubsetGraph const & g) -> _SubsetGraphVertexIndex
3444  get_vertex_index(IMP::domino::InteractionGraph const & g) -> _InteractionGraphVertexIndex
3445  get_vertex_index(IMP::domino::CliqueGraph const & g) -> _CliqueGraphVertexIndex
3446  get_vertex_index(IMP::domino::MergeTree const & g) -> _MergeTreeVertexIndex
3447  """
3448  return _IMP_domino.get_vertex_index(*args)
3449 
3450 def get_merge_tree(*args):
3451  """
3452  get_merge_tree(_ScoringFunctionAdaptor input, ParticleStatesTable pst) -> IMP::domino::MergeTree
3453  get_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree
3454  """
3455  return _IMP_domino.get_merge_tree(*args)
3456 
3457 def get_balanced_merge_tree(junction_tree):
3458  """get_balanced_merge_tree(IMP::domino::SubsetGraph const & junction_tree) -> IMP::domino::MergeTree"""
3459  return _IMP_domino.get_balanced_merge_tree(junction_tree)
3460 
3461 def get_is_merge_tree(tree, all, verbose=True):
3462  """
3463  get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all, bool verbose=True) -> bool
3464  get_is_merge_tree(IMP::domino::MergeTree const & tree, Subset all) -> bool
3465  """
3466  return _IMP_domino.get_is_merge_tree(tree, all, verbose)
3467 
3468 def write_merge_tree(tree, ps, out):
3469  """write_merge_tree(IMP::domino::MergeTree const & tree, IMP::ParticlesTemp const & ps, _ostream out)"""
3470  return _IMP_domino.write_merge_tree(tree, ps, out)
3471 
3472 def read_merge_tree(input, ps):
3473  """read_merge_tree(std::istream & input, IMP::ParticlesTemp const & ps) -> IMP::domino::MergeTree"""
3474  return _IMP_domino.read_merge_tree(input, ps)
3475 class DiscreteSampler(IMP.Sampler):
3476  """Proxy of C++ IMP::domino::DiscreteSampler class."""
3477 
3478  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3479 
3480  def get_subset_filter_tables_to_use(self, rs, pst):
3481  """get_subset_filter_tables_to_use(DiscreteSampler self, IMP::RestraintsTemp const & rs, ParticleStatesTable pst) -> IMP::domino::SubsetFilterTables"""
3482  return _IMP_domino.DiscreteSampler_get_subset_filter_tables_to_use(self, rs, pst)
3483 
3484 
3485  def get_assignments_table_to_use(self, *args):
3486  """
3487  get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts, unsigned int max) -> AssignmentsTable
3488  get_assignments_table_to_use(DiscreteSampler self, IMP::domino::SubsetFilterTables const & sfts) -> AssignmentsTable
3489  """
3490  return _IMP_domino.DiscreteSampler_get_assignments_table_to_use(self, *args)
3491 
3492 
3493  def do_sample(self):
3494  """do_sample(DiscreteSampler self) -> ConfigurationSet"""
3495  return _IMP_domino.DiscreteSampler_do_sample(self)
3496 
3497 
3498  def do_get_sample_assignments(self, all):
3499  """do_get_sample_assignments(DiscreteSampler self, Subset all) -> IMP::domino::Assignments"""
3500  return _IMP_domino.DiscreteSampler_do_get_sample_assignments(self, all)
3501 
3502 
3503  def get_restraints(self):
3504  """get_restraints(DiscreteSampler self) -> IMP::RestraintsTemp"""
3505  return _IMP_domino.DiscreteSampler_get_restraints(self)
3506 
3507 
3508  def __init__(self, m, pst, name):
3509  """__init__(IMP::domino::DiscreteSampler self, Model m, ParticleStatesTable pst, std::string name) -> DiscreteSampler"""
3510  if self.__class__ == DiscreteSampler:
3511  _self = None
3512  else:
3513  _self = self
3514  this = _IMP_domino.new_DiscreteSampler(_self, m, pst, name)
3515  try:
3516  self.this.append(this)
3517  except __builtin__.Exception:
3518  self.this = this
3519 
3520  if self.__class__ != DiscreteSampler:
3521  _director_objects.register(self)
3522 
3523 
3524 
3525  __swig_destroy__ = _IMP_domino.delete_DiscreteSampler
3526  __del__ = lambda self: None
3527 
3528  def set_restraints(self, rs):
3529  """set_restraints(DiscreteSampler self, _RestraintsAdaptor rs)"""
3530  return _IMP_domino.DiscreteSampler_set_restraints(self, rs)
3531 
3532 
3533  def set_particle_states(self, p, se):
3534  """set_particle_states(DiscreteSampler self, Particle p, ParticleStates se)"""
3535  return _IMP_domino.DiscreteSampler_set_particle_states(self, p, se)
3536 
3537 
3538  def get_sample_assignments(self, s):
3539  """get_sample_assignments(DiscreteSampler self, Subset s) -> IMP::domino::Assignments"""
3540  return _IMP_domino.DiscreteSampler_get_sample_assignments(self, s)
3541 
3542 
3543  def set_particle_states_table(self, cse):
3544  """set_particle_states_table(DiscreteSampler self, ParticleStatesTable cse)"""
3545  return _IMP_domino.DiscreteSampler_set_particle_states_table(self, cse)
3546 
3547 
3548  def set_assignments_table(self, sst):
3549  """set_assignments_table(DiscreteSampler self, AssignmentsTable sst)"""
3550  return _IMP_domino.DiscreteSampler_set_assignments_table(self, sst)
3551 
3552 
3553  def get_particle_states_table(self):
3554  """get_particle_states_table(DiscreteSampler self) -> ParticleStatesTable"""
3555  return _IMP_domino.DiscreteSampler_get_particle_states_table(self)
3556 
3557 
3558  def remove_subset_filter_table(self, d):
3559  """remove_subset_filter_table(DiscreteSampler self, SubsetFilterTable d)"""
3560  return _IMP_domino.DiscreteSampler_remove_subset_filter_table(self, d)
3561 
3562 
3563  def remove_subset_filter_tables(self, d):
3564  """remove_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & d)"""
3565  return _IMP_domino.DiscreteSampler_remove_subset_filter_tables(self, d)
3566 
3567 
3568  def set_subset_filter_tables(self, ps):
3569  """set_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & ps)"""
3570  return _IMP_domino.DiscreteSampler_set_subset_filter_tables(self, ps)
3571 
3572 
3573  def set_subset_filter_tables_order(self, objs):
3574  """set_subset_filter_tables_order(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3575  return _IMP_domino.DiscreteSampler_set_subset_filter_tables_order(self, objs)
3576 
3577 
3578  def add_subset_filter_table(self, obj):
3579  """add_subset_filter_table(DiscreteSampler self, SubsetFilterTable obj) -> unsigned int"""
3580  return _IMP_domino.DiscreteSampler_add_subset_filter_table(self, obj)
3581 
3582 
3583  def add_subset_filter_tables(self, objs):
3584  """add_subset_filter_tables(DiscreteSampler self, IMP::domino::SubsetFilterTables const & objs)"""
3585  return _IMP_domino.DiscreteSampler_add_subset_filter_tables(self, objs)
3586 
3587 
3588  def clear_subset_filter_tables(self):
3589  """clear_subset_filter_tables(DiscreteSampler self)"""
3590  return _IMP_domino.DiscreteSampler_clear_subset_filter_tables(self)
3591 
3592 
3593  def get_number_of_subset_filter_tables(self):
3594  """get_number_of_subset_filter_tables(DiscreteSampler self) -> unsigned int"""
3595  return _IMP_domino.DiscreteSampler_get_number_of_subset_filter_tables(self)
3596 
3597 
3598  def get_has_subset_filter_tables(self):
3599  """get_has_subset_filter_tables(DiscreteSampler self) -> bool"""
3600  return _IMP_domino.DiscreteSampler_get_has_subset_filter_tables(self)
3601 
3602 
3603  def get_subset_filter_table(self, i):
3604  """get_subset_filter_table(DiscreteSampler self, unsigned int i) -> SubsetFilterTable"""
3605  return _IMP_domino.DiscreteSampler_get_subset_filter_table(self, i)
3606 
3607 
3608  def get_subset_filter_tables(self):
3609  """get_subset_filter_tables(DiscreteSampler self) -> IMP::domino::SubsetFilterTables"""
3610  return _IMP_domino.DiscreteSampler_get_subset_filter_tables(self)
3611 
3612 
3613  def reserve_subset_filter_tables(self, sz):
3614  """reserve_subset_filter_tables(DiscreteSampler self, unsigned int sz)"""
3615  return _IMP_domino.DiscreteSampler_reserve_subset_filter_tables(self, sz)
3616 
3617 
3618  def set_maximum_number_of_assignments(self, mx):
3619  """set_maximum_number_of_assignments(DiscreteSampler self, unsigned int mx)"""
3620  return _IMP_domino.DiscreteSampler_set_maximum_number_of_assignments(self, mx)
3621 
3622 
3623  def get_maximum_number_of_assignments(self):
3624  """get_maximum_number_of_assignments(DiscreteSampler self) -> unsigned int"""
3625  return _IMP_domino.DiscreteSampler_get_maximum_number_of_assignments(self)
3626 
3627 
3628  def __str__(self):
3629  """__str__(DiscreteSampler self) -> std::string"""
3630  return _IMP_domino.DiscreteSampler___str__(self)
3631 
3632 
3633  def __repr__(self):
3634  """__repr__(DiscreteSampler self) -> std::string"""
3635  return _IMP_domino.DiscreteSampler___repr__(self)
3636 
3637 
3638  @staticmethod
3639  def get_from(o):
3640  return _object_cast_to_DiscreteSampler(o)
3641 
3642 
3643  def get_type_name(self):
3644  return self.__class__.__name__
3645  def do_show(self, out):
3646  pass
3647  def get_version_info(self):
3648  if"IMP::domino" == "IMP":
3649  return VersionInfo(self.__module__,
3650  __import__(self.__module__).get_module_version())
3651  else:
3652  return IMP.VersionInfo(self.__module__,
3653  __import__(self.__module__).get_module_version())
3654  @staticmethod
3655  def get_from(o):
3656  return _object_cast_to_DiscreteSampler(o)
3657 
3658  def __disown__(self):
3659  self.this.disown()
3660  _IMP_domino.disown_DiscreteSampler(self)
3661  return weakref_proxy(self)
3662 
3663  def do_destroy(self):
3664  """do_destroy(DiscreteSampler self)"""
3665  return _IMP_domino.DiscreteSampler_do_destroy(self)
3666 
3667 DiscreteSampler_swigregister = _IMP_domino.DiscreteSampler_swigregister
3668 DiscreteSampler_swigregister(DiscreteSampler)
3669 
3670 class DominoSampler(DiscreteSampler):
3671  """Proxy of C++ IMP::domino::DominoSampler class."""
3672 
3673  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3674 
3675  def __init__(self, *args):
3676  """
3677  __init__(IMP::domino::DominoSampler self, Model m, std::string name) -> DominoSampler
3678  __init__(IMP::domino::DominoSampler self, Model m) -> DominoSampler
3679  __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst, std::string name) -> DominoSampler
3680  __init__(IMP::domino::DominoSampler self, Model m, ParticleStatesTable pst) -> DominoSampler
3681  """
3682  this = _IMP_domino.new_DominoSampler(*args)
3683  try:
3684  self.this.append(this)
3685  except __builtin__.Exception:
3686  self.this = this
3687 
3688  def do_get_sample_assignments(self, known):
3689  """do_get_sample_assignments(DominoSampler self, Subset known) -> IMP::domino::Assignments"""
3690  return _IMP_domino.DominoSampler_do_get_sample_assignments(self, known)
3691 
3692 
3693  def get_version_info(self):
3694  """get_version_info(DominoSampler self) -> VersionInfo"""
3695  return _IMP_domino.DominoSampler_get_version_info(self)
3696 
3697 
3698  def set_merge_tree(self, mt):
3699  """set_merge_tree(DominoSampler self, IMP::domino::MergeTree const & mt)"""
3700  return _IMP_domino.DominoSampler_set_merge_tree(self, mt)
3701 
3702 
3703  def set_use_cross_subset_filtering(self, tf):
3704  """set_use_cross_subset_filtering(DominoSampler self, bool tf)"""
3705  return _IMP_domino.DominoSampler_set_use_cross_subset_filtering(self, tf)
3706 
3707 
3708  def get_number_of_assignments_for_vertex(self, tree_vertex):
3709  """get_number_of_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> unsigned int"""
3710  return _IMP_domino.DominoSampler_get_number_of_assignments_for_vertex(self, tree_vertex)
3711 
3712 
3713  def get_sample_assignments_for_vertex(self, tree_vertex):
3714  """get_sample_assignments_for_vertex(DominoSampler self, unsigned int tree_vertex) -> IMP::domino::Assignments"""
3715  return _IMP_domino.DominoSampler_get_sample_assignments_for_vertex(self, tree_vertex)
3716 
3717 
3718  def get_vertex_assignments(self, *args):
3719  """
3720  get_vertex_assignments(DominoSampler self, unsigned int node_index, unsigned int max_states) -> IMP::domino::Assignments
3721  get_vertex_assignments(DominoSampler self, unsigned int node_index) -> IMP::domino::Assignments
3722  get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second, unsigned int max_states) -> IMP::domino::Assignments
3723  get_vertex_assignments(DominoSampler self, unsigned int node_index, IMP::domino::Assignments const & first, IMP::domino::Assignments const & second) -> IMP::domino::Assignments
3724  """
3725  return _IMP_domino.DominoSampler_get_vertex_assignments(self, *args)
3726 
3727 
3728  def load_vertex_assignments(self, *args):
3729  """
3730  load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac, unsigned int max_states)
3731  load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer ac)
3732  load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac, unsigned int max_states)
3733  load_vertex_assignments(DominoSampler self, unsigned int node_index, AssignmentContainer first, AssignmentContainer second, AssignmentContainer ac)
3734  """
3735  return _IMP_domino.DominoSampler_load_vertex_assignments(self, *args)
3736 
3737 
3738  def __str__(self):
3739  """__str__(DominoSampler self) -> std::string"""
3740  return _IMP_domino.DominoSampler___str__(self)
3741 
3742 
3743  def __repr__(self):
3744  """__repr__(DominoSampler self) -> std::string"""
3745  return _IMP_domino.DominoSampler___repr__(self)
3746 
3747 
3748  @staticmethod
3749  def get_from(o):
3750  return _object_cast_to_DominoSampler(o)
3751 
3752 DominoSampler_swigregister = _IMP_domino.DominoSampler_swigregister
3753 DominoSampler_swigregister(DominoSampler)
3754 
3755 class BranchAndBoundSampler(DiscreteSampler):
3756  """Proxy of C++ IMP::domino::BranchAndBoundSampler class."""
3757 
3758  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3759 
3760  def __init__(self, *args):
3761  """
3762  __init__(IMP::domino::BranchAndBoundSampler self, Model m, std::string name) -> BranchAndBoundSampler
3763  __init__(IMP::domino::BranchAndBoundSampler self, Model m) -> BranchAndBoundSampler
3764  __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst, std::string name) -> BranchAndBoundSampler
3765  __init__(IMP::domino::BranchAndBoundSampler self, Model m, ParticleStatesTable pst) -> BranchAndBoundSampler
3766  """
3767  this = _IMP_domino.new_BranchAndBoundSampler(*args)
3768  try:
3769  self.this.append(this)
3770  except __builtin__.Exception:
3771  self.this = this
3772 
3773  def do_get_sample_assignments(self, known):
3774  """do_get_sample_assignments(BranchAndBoundSampler self, Subset known) -> IMP::domino::Assignments"""
3775  return _IMP_domino.BranchAndBoundSampler_do_get_sample_assignments(self, known)
3776 
3777 
3778  def get_version_info(self):
3779  """get_version_info(BranchAndBoundSampler self) -> VersionInfo"""
3780  return _IMP_domino.BranchAndBoundSampler_get_version_info(self)
3781 
3782 
3783  def __str__(self):
3784  """__str__(BranchAndBoundSampler self) -> std::string"""
3785  return _IMP_domino.BranchAndBoundSampler___str__(self)
3786 
3787 
3788  def __repr__(self):
3789  """__repr__(BranchAndBoundSampler self) -> std::string"""
3790  return _IMP_domino.BranchAndBoundSampler___repr__(self)
3791 
3792 
3793  @staticmethod
3794  def get_from(o):
3795  return _object_cast_to_BranchAndBoundSampler(o)
3796 
3797 BranchAndBoundSampler_swigregister = _IMP_domino.BranchAndBoundSampler_swigregister
3798 BranchAndBoundSampler_swigregister(BranchAndBoundSampler)
3799 
3800 
3801 def load_particle_states(s, ss, pst):
3802  """load_particle_states(Subset s, Assignment ss, ParticleStatesTable pst)"""
3803  return _IMP_domino.load_particle_states(s, ss, pst)
3804 
3805 def get_restraints(s, pst, dg, rs):
3806  """get_restraints(Subset s, ParticleStatesTable pst, IMP::DependencyGraph const & dg, RestraintSet rs) -> IMP::RestraintsTemp"""
3807  return _IMP_domino.get_restraints(s, pst, dg, rs)
3808 
3809 def get_index(particles, subset, excluded):
3810  """get_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3811  return _IMP_domino.get_index(particles, subset, excluded)
3812 
3813 def get_partial_index(particles, subset, excluded):
3814  """get_partial_index(IMP::ParticlesTemp const & particles, Subset subset, IMP::domino::Subsets const & excluded) -> IMP::Ints"""
3815  return _IMP_domino.get_partial_index(particles, subset, excluded)
3816 
3817 def get_possible_interactions(ps, max_distance, pst):
3818  """get_possible_interactions(IMP::ParticlesTemp const & ps, double max_distance, ParticleStatesTable pst) -> IMP::ParticlePairsTemp"""
3819  return _IMP_domino.get_possible_interactions(ps, max_distance, pst)
3820 
3821 def get_embedding(s, a, pst):
3822  """get_embedding(Subset s, Assignment a, ParticleStatesTable pst) -> VectorKD"""
3823  return _IMP_domino.get_embedding(s, a, pst)
3824 
3825 def get_nearest_assignment(s, embedding, pst):
3826  """get_nearest_assignment(Subset s, VectorKD embedding, ParticleStatesTable pst) -> Assignment"""
3827  return _IMP_domino.get_nearest_assignment(s, embedding, pst)
3828 
3829 def get_distance_if_smaller_than(s, a, b, pst, metrics, max):
3830  """get_distance_if_smaller_than(Subset s, Assignment a, Assignment b, ParticleStatesTable pst, IMP::statistics::Metrics const & metrics, double max) -> double"""
3831  return _IMP_domino.get_distance_if_smaller_than(s, a, b, pst, metrics, max)
3832 
3833 def load_leaf_assignments(subset, at, ac):
3834  """load_leaf_assignments(Subset subset, AssignmentsTable at, AssignmentContainer ac)"""
3835  return _IMP_domino.load_leaf_assignments(subset, at, ac)
3836 
3837 def load_merged_assignments(first_subset, first, second_subset, second, filters, ret):
3838  """load_merged_assignments(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, AssignmentContainer ret)"""
3839  return _IMP_domino.load_merged_assignments(first_subset, first, second_subset, second, filters, ret)
3840 
3841 def load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret):
3842  """load_merged_assignments_random_order(Subset first_subset, AssignmentContainer first, Subset second_subset, AssignmentContainer second, IMP::domino::SubsetFilterTablesTemp const & filters, unsigned int maximum_tries, AssignmentContainer ret)"""
3843  return _IMP_domino.load_merged_assignments_random_order(first_subset, first, second_subset, second, filters, maximum_tries, ret)
3844 
3845 def get_state_clusters(subset, states, pst, resolution):
3846  """get_state_clusters(Subset subset, IMP::domino::Assignments const & states, ParticleStatesTable pst, double resolution) -> IMP::domino::Assignments"""
3847  return _IMP_domino.get_state_clusters(subset, states, pst, resolution)
3848 class DependencyScoreState(IMP.ScoreState):
3849  """Proxy of C++ IMP::domino::DependencyScoreState class."""
3850 
3851  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3852 
3853  def __init__(self, m):
3854  """__init__(IMP::domino::DependencyScoreState self, Model m) -> DependencyScoreState"""
3855  this = _IMP_domino.new_DependencyScoreState(m)
3856  try:
3857  self.this.append(this)
3858  except __builtin__.Exception:
3859  self.this = this
3860 
3861  def set_input_particles(self, pt):
3862  """set_input_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3863  return _IMP_domino.DependencyScoreState_set_input_particles(self, pt)
3864 
3865 
3866  def set_output_particles(self, pt):
3867  """set_output_particles(DependencyScoreState self, IMP::ParticlesTemp const & pt)"""
3868  return _IMP_domino.DependencyScoreState_set_output_particles(self, pt)
3869 
3870 
3871  def set_input_containers(self, pt):
3872  """set_input_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3873  return _IMP_domino.DependencyScoreState_set_input_containers(self, pt)
3874 
3875 
3876  def set_output_containers(self, pt):
3877  """set_output_containers(DependencyScoreState self, IMP::ContainersTemp const & pt)"""
3878  return _IMP_domino.DependencyScoreState_set_output_containers(self, pt)
3879 
3880 
3881  def get_version_info(self):
3882  """get_version_info(DependencyScoreState self) -> VersionInfo"""
3883  return _IMP_domino.DependencyScoreState_get_version_info(self)
3884 
3885 
3886  def __str__(self):
3887  """__str__(DependencyScoreState self) -> std::string"""
3888  return _IMP_domino.DependencyScoreState___str__(self)
3889 
3890 
3891  def __repr__(self):
3892  """__repr__(DependencyScoreState self) -> std::string"""
3893  return _IMP_domino.DependencyScoreState___repr__(self)
3894 
3895 
3896  @staticmethod
3897  def get_from(o):
3898  return _object_cast_to_DependencyScoreState(o)
3899 
3900 DependencyScoreState_swigregister = _IMP_domino.DependencyScoreState_swigregister
3901 DependencyScoreState_swigregister(DependencyScoreState)
3902 
3903 
3904 def _get_ints_list(input):
3905  """_get_ints_list(IMP::IntsList const & input) -> IMP::IntsList"""
3906  return _IMP_domino._get_ints_list(input)
3907 
3908 def get_module_version():
3909  """get_module_version() -> std::string const"""
3910  return _IMP_domino.get_module_version()
3911 
3912 def get_example_path(fname):
3913  """get_example_path(std::string fname) -> std::string"""
3914  return _IMP_domino.get_example_path(fname)
3915 
3916 def get_data_path(fname):
3917  """get_data_path(std::string fname) -> std::string"""
3918  return _IMP_domino.get_data_path(fname)
3919 
3920 from . import _version_check
3921 _version_check.check_version(get_module_version())
3922 __version__ = get_module_version()
3923 
3924 
3925 
Various classes to hold sets of particles.
Assignments get_state_clusters(const Subset &subset, const Assignments &states, ParticleStatesTable *pst, double resolution)
Return subset of the passed states which are representative.
SubsetGraph get_junction_tree(const InteractionGraph &ig)
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:274
Make CGAL functionality available to IMP.
BoundingBoxD< D > get_union(BoundingBoxD< D > a, const BoundingBoxD< D > &b)
Return the union bounding box.
Definition: BoundingBoxD.h:254
Assignment get_nearest_assignment(const Subset &s, const algebra::VectorKD &embedding, ParticleStatesTable *pst)
Return the nearest assignment from an embedding.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Subsets get_subsets(const SubsetGraph &g)
Gets all of the Subsets of a SubsetGraph.
double get_distance_if_smaller_than(const Subset &s, const Assignment &a, const Assignment &b, ParticleStatesTable *pst, const statistics::Metrics &metrics, double max)
Base class for all samplers.
Definition: Sampler.h:31
boost::graph SubsetGraph
Definition: subset_graphs.h:23
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
MergeTree get_balanced_merge_tree(const SubsetGraph &junction_tree)
Composable functors to implement scores via compile-time composition.
ParticlePairsTemp get_possible_interactions(const ParticlesTemp &ps, double max_distance, ParticleStatesTable *pst)
display::Geometries get_subset_graph_geometry(const SubsetGraph &ig)
InteractionGraph get_interaction_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
Code to compute statistical measures.
BoundingBoxD< D > get_intersection(const BoundingBoxD< D > &a, const BoundingBoxD< D > &b)
Return the intersecting bounding box.
Definition: BoundingBoxD.h:223
MergeTree get_merge_tree(ScoringFunctionAdaptor input, const ParticleStatesTable *pst)
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
ScoreStates maintain invariants in the Model.
Definition: ScoreState.h:53
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Ints get_partial_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
boost::graph MergeTree
void load_leaf_assignments(const Subset &subset, AssignmentsTable *at, AssignmentContainer *ac)
Fill in assignments for a leaf.
void load_merged_assignments(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, AssignmentContainer *ret)
Fill in assignments for an internal node.
algebra::VectorKD get_embedding(const Subset &s, const Assignment &a, ParticleStatesTable *pst)
Return an embedding for an assignment.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Version and module information for Objects.
Definition: VersionInfo.h:28
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
void load_merged_assignments_random_order(const Subset &first_subset, AssignmentContainer *first, const Subset &second_subset, AssignmentContainer *second, const SubsetFilterTablesTemp &filters, unsigned int maximum_tries, AssignmentContainer *ret)
Sample from the merged assignments.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
std::string show_graphviz(Graph g)
SubsetGraph get_restraint_graph(ScoringFunctionAdaptor rs, const ParticleStatesTable *pst)
display::Geometries get_interaction_graph_geometry(const InteractionGraph &ig)
void load_particle_states(const Subset &s, const Assignment &ss, const ParticleStatesTable *pst)
Load the appropriate state for each particle in a Subset.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
boost::graph InteractionGraph
Definition: subset_graphs.h:33
Support for the RMF file format for storing hierarchical molecular data and markup.
Slice get_slice(Subset outer, Subset inner, const Subsets &excluded)
Definition: Slice.h:66