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