IMP logo
IMP Reference Guide  2.15.0
The Integrative Modeling Platform
misc/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
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-2021 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_misc', [dirname(__file__)])
23  except ImportError:
24  import _IMP_misc
25  return _IMP_misc
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_misc', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_misc = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_misc
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:
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:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_MISC_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_MISC_SwigPyIterator class"""
115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
116 
117  def __init__(self, *args, **kwargs):
118  raise AttributeError("No constructor defined - class is abstract")
119  __repr__ = _swig_repr
120  __swig_destroy__ = _IMP_misc.delete_IMP_MISC_SwigPyIterator
121  __del__ = lambda self: None
122 
123  def value(self):
124  """value(IMP_MISC_SwigPyIterator self) -> PyObject *"""
125  return _IMP_misc.IMP_MISC_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
131  incr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
132  """
133  return _IMP_misc.IMP_MISC_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
139  decr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
140  """
141  return _IMP_misc.IMP_MISC_SwigPyIterator_decr(self, n)
142 
143 
144  def distance(self, x):
145  """distance(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t"""
146  return _IMP_misc.IMP_MISC_SwigPyIterator_distance(self, x)
147 
148 
149  def equal(self, x):
150  """equal(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
151  return _IMP_misc.IMP_MISC_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator"""
156  return _IMP_misc.IMP_MISC_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_MISC_SwigPyIterator self) -> PyObject *"""
161  return _IMP_misc.IMP_MISC_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_MISC_SwigPyIterator self) -> PyObject *"""
166  return _IMP_misc.IMP_MISC_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_MISC_SwigPyIterator self) -> PyObject *"""
171  return _IMP_misc.IMP_MISC_SwigPyIterator_previous(self)
172 
173 
174  def advance(self, n):
175  """advance(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
176  return _IMP_misc.IMP_MISC_SwigPyIterator_advance(self, n)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
181  return _IMP_misc.IMP_MISC_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
186  return _IMP_misc.IMP_MISC_SwigPyIterator___ne__(self, x)
187 
188 
189  def __iadd__(self, n):
190  """__iadd__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
191  return _IMP_misc.IMP_MISC_SwigPyIterator___iadd__(self, n)
192 
193 
194  def __isub__(self, n):
195  """__isub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
196  return _IMP_misc.IMP_MISC_SwigPyIterator___isub__(self, n)
197 
198 
199  def __add__(self, n):
200  """__add__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
201  return _IMP_misc.IMP_MISC_SwigPyIterator___add__(self, n)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator
207  __sub__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_misc.IMP_MISC_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_MISC_SwigPyIterator_swigregister = _IMP_misc.IMP_MISC_SwigPyIterator_swigregister
214 IMP_MISC_SwigPyIterator_swigregister(IMP_MISC_SwigPyIterator)
215 
216 
217 _value_types=[]
218 _object_types=[]
219 _raii_types=[]
220 _plural_types=[]
221 
222 
223 _IMP_misc.IMP_DEBUG_swigconstant(_IMP_misc)
224 IMP_DEBUG = _IMP_misc.IMP_DEBUG
225 
226 _IMP_misc.IMP_RELEASE_swigconstant(_IMP_misc)
227 IMP_RELEASE = _IMP_misc.IMP_RELEASE
228 
229 _IMP_misc.IMP_SILENT_swigconstant(_IMP_misc)
230 IMP_SILENT = _IMP_misc.IMP_SILENT
231 
232 _IMP_misc.IMP_PROGRESS_swigconstant(_IMP_misc)
233 IMP_PROGRESS = _IMP_misc.IMP_PROGRESS
234 
235 _IMP_misc.IMP_TERSE_swigconstant(_IMP_misc)
236 IMP_TERSE = _IMP_misc.IMP_TERSE
237 
238 _IMP_misc.IMP_VERBOSE_swigconstant(_IMP_misc)
239 IMP_VERBOSE = _IMP_misc.IMP_VERBOSE
240 
241 _IMP_misc.IMP_MEMORY_swigconstant(_IMP_misc)
242 IMP_MEMORY = _IMP_misc.IMP_MEMORY
243 
244 _IMP_misc.IMP_NONE_swigconstant(_IMP_misc)
245 IMP_NONE = _IMP_misc.IMP_NONE
246 
247 _IMP_misc.IMP_USAGE_swigconstant(_IMP_misc)
248 IMP_USAGE = _IMP_misc.IMP_USAGE
249 
250 _IMP_misc.IMP_INTERNAL_swigconstant(_IMP_misc)
251 IMP_INTERNAL = _IMP_misc.IMP_INTERNAL
252 
253 _IMP_misc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_misc)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_misc.IMP_KERNEL_HAS_LOG4CXX
255 
256 _IMP_misc.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_misc)
257 IMP_COMPILER_HAS_AUTO = _IMP_misc.IMP_COMPILER_HAS_AUTO
258 
259 _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_misc)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR
261 
262 _IMP_misc.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_misc)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_misc.IMP_COMPILER_HAS_UNIQUE_PTR
264 
265 _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM
267 
268 _IMP_misc.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_misc)
269 IMP_KERNEL_HAS_NUMPY = _IMP_misc.IMP_KERNEL_HAS_NUMPY
270 
271 _IMP_misc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_misc)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_misc.IMP_KERNEL_HAS_GPERFTOOLS
273 
274 _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_misc)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
276 
277 _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_misc)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
279 
280 _IMP_misc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_misc)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_misc.IMPKERNEL_SHOW_WARNINGS
282 
283 import sys
284 class _DirectorObjects(object):
285  """@internal Simple class to keep references to director objects
286  to prevent premature deletion."""
287  def __init__(self):
288  self._objects = []
289  def register(self, obj):
290  """Take a reference to a director object; will only work for
291  refcounted C++ classes"""
292  if hasattr(obj, 'get_ref_count'):
293  self._objects.append(obj)
294  def cleanup(self):
295  """Only drop our reference and allow cleanup by Python if no other
296  Python references exist (we hold 3 references: one in self._objects,
297  one in x, and one in the argument list for getrefcount) *and* no
298  other C++ references exist (the Python object always holds one)"""
299  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
300  or x.get_ref_count() > 1]
301 # Do in two steps so the references are kept until the end of the
302 # function (deleting references may trigger a fresh call to this method)
303  self._objects = objs
304  def get_object_count(self):
305  """Get number of director objects (useful for testing only)"""
306  return len(self._objects)
307 _director_objects = _DirectorObjects()
308 
309 class _ostream(object):
310  """Proxy of C++ std::ostream class"""
311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
312 
313  def __init__(self, *args, **kwargs):
314  raise AttributeError("No constructor defined")
315  __repr__ = _swig_repr
316 
317  def write(self, osa_buf):
318  """write(_ostream self, char const * osa_buf)"""
319  return _IMP_misc._ostream_write(self, osa_buf)
320 
321 _ostream_swigregister = _IMP_misc._ostream_swigregister
322 _ostream_swigregister(_ostream)
323 
324 
325 _IMP_misc.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_misc)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_misc.IMP_COMPILER_HAS_OVERRIDE
327 
328 _IMP_misc.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_misc)
329 IMP_COMPILER_HAS_FINAL = _IMP_misc.IMP_COMPILER_HAS_FINAL
330 
331 _IMP_misc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_misc)
332 IMP_HAS_NOEXCEPT = _IMP_misc.IMP_HAS_NOEXCEPT
333 
334 _IMP_misc.IMP_C_OPEN_BINARY_swigconstant(_IMP_misc)
335 IMP_C_OPEN_BINARY = _IMP_misc.IMP_C_OPEN_BINARY
336 import IMP
337 
338 _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM
340 
341 _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
343 
344 _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM
346 
347 _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM
349 
350 _IMP_misc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_misc)
351 IMP_CGAL_HAS_NUMPY = _IMP_misc.IMP_CGAL_HAS_NUMPY
352 
353 _IMP_misc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_misc)
354 IMPCGAL_SHOW_WARNINGS = _IMP_misc.IMPCGAL_SHOW_WARNINGS
355 import IMP.cgal
356 
357 _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_misc)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL
359 
360 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 
363 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 
366 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 
369 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
371 
372 _IMP_misc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_misc)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_CGAL
374 
375 _IMP_misc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_misc)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_misc.IMP_ALGEBRA_HAS_NUMPY
377 
378 _IMP_misc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_misc)
379 IMP_ALGEBRA_HAS_ANN = _IMP_misc.IMP_ALGEBRA_HAS_ANN
380 
381 _IMP_misc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_misc)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_misc.IMPALGEBRA_SHOW_WARNINGS
383 import IMP.algebra
384 
385 _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_misc)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL
387 
388 _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
390 
391 _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
393 
394 _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM
396 
397 _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM
399 
400 _IMP_misc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_misc)
401 IMP_DISPLAY_HAS_CGAL = _IMP_misc.IMP_DISPLAY_HAS_CGAL
402 
403 _IMP_misc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_misc)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_misc.IMP_DISPLAY_HAS_NUMPY
405 
406 _IMP_misc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_misc)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_misc.IMPDISPLAY_SHOW_WARNINGS
408 import IMP.display
409 
410 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_misc)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
412 
413 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
415 
416 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
418 
419 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
421 
422 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
424 
425 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_misc)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL
427 
428 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_misc)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5
430 
431 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_misc)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_NUMPY
433 
434 _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_misc)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS
436 import IMP.score_functor
437 
438 _IMP_misc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_misc)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_misc.IMP_CORE_HAS_IMP_CGAL
440 
441 _IMP_misc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_misc.IMP_CORE_HAS_IMP_KERNEL
443 
444 _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM
446 
447 _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
449 
450 _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM
452 
453 _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM
455 
456 _IMP_misc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_misc)
457 IMP_CORE_HAS_CGAL = _IMP_misc.IMP_CORE_HAS_CGAL
458 
459 _IMP_misc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_misc)
460 IMP_CORE_HAS_HDF5 = _IMP_misc.IMP_CORE_HAS_HDF5
461 
462 _IMP_misc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_misc)
463 IMP_CORE_HAS_NUMPY = _IMP_misc.IMP_CORE_HAS_NUMPY
464 
465 _IMP_misc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_misc)
466 IMPCORE_SHOW_WARNINGS = _IMP_misc.IMPCORE_SHOW_WARNINGS
467 import IMP.core
468 
469 _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
470 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA
471 
472 _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_misc)
473 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL
474 
475 _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
476 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY
477 
478 _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
479 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL
480 
481 _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
482 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
483 
484 _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
485 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
486 
487 _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
488 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
489 
490 _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
491 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM
492 
493 _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
494 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM
495 
496 _IMP_misc.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_misc)
497 IMP_CONTAINER_HAS_CGAL = _IMP_misc.IMP_CONTAINER_HAS_CGAL
498 
499 _IMP_misc.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_misc)
500 IMP_CONTAINER_HAS_HDF5 = _IMP_misc.IMP_CONTAINER_HAS_HDF5
501 
502 _IMP_misc.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_misc)
503 IMP_CONTAINER_HAS_NUMPY = _IMP_misc.IMP_CONTAINER_HAS_NUMPY
504 
505 _IMP_misc.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
506 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_misc.IMP_CONTAINER_HAS_PYTHON_IHM
507 
508 _IMP_misc.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_misc)
509 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_misc.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
510 
511 _IMP_misc.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_misc)
512 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_misc.IMP_CONTAINER_HAS_ROBIN_MAP
513 
514 _IMP_misc.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_misc)
515 IMPCONTAINER_SHOW_WARNINGS = _IMP_misc.IMPCONTAINER_SHOW_WARNINGS
516 import IMP.container
517 
518 _IMP_misc.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_misc)
519 IMP_ATOM_HAS_IMP_CGAL = _IMP_misc.IMP_ATOM_HAS_IMP_CGAL
520 
521 _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
522 IMP_ATOM_HAS_IMP_KERNEL = _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL
523 
524 _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
525 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
526 
527 _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
528 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
529 
530 _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
531 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM
532 
533 _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
534 IMP_ATOM_HAS_BOOST_REGEX = _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX
535 
536 _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
537 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM
538 
539 _IMP_misc.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_misc)
540 IMP_ATOM_HAS_CGAL = _IMP_misc.IMP_ATOM_HAS_CGAL
541 
542 _IMP_misc.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_misc)
543 IMP_ATOM_HAS_HDF5 = _IMP_misc.IMP_ATOM_HAS_HDF5
544 
545 _IMP_misc.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_misc)
546 IMP_ATOM_HAS_NUMPY = _IMP_misc.IMP_ATOM_HAS_NUMPY
547 
548 _IMP_misc.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
549 IMP_ATOM_HAS_PYTHON_IHM = _IMP_misc.IMP_ATOM_HAS_PYTHON_IHM
550 
551 _IMP_misc.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_misc)
552 IMPATOM_SHOW_WARNINGS = _IMP_misc.IMPATOM_SHOW_WARNINGS
553 
554 _IMP_misc.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_misc)
555 IMP_ATOM_TYPE_INDEX = _IMP_misc.IMP_ATOM_TYPE_INDEX
556 
557 _IMP_misc.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_misc)
558 IMP_RESIDUE_TYPE_INDEX = _IMP_misc.IMP_RESIDUE_TYPE_INDEX
559 
560 _IMP_misc.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_misc)
561 IMP_HIERARCHY_TYPE_INDEX = _IMP_misc.IMP_HIERARCHY_TYPE_INDEX
562 
563 _IMP_misc.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_misc)
564 IMP_CHAIN_TYPE_INDEX = _IMP_misc.IMP_CHAIN_TYPE_INDEX
565 import IMP.atom
566 
567 _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
568 IMP_MISC_HAS_IMP_ALGEBRA = _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA
569 
570 _IMP_misc.IMP_MISC_HAS_IMP_CGAL_swigconstant(_IMP_misc)
571 IMP_MISC_HAS_IMP_CGAL = _IMP_misc.IMP_MISC_HAS_IMP_CGAL
572 
573 _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER_swigconstant(_IMP_misc)
574 IMP_MISC_HAS_IMP_CONTAINER = _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER
575 
576 _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
577 IMP_MISC_HAS_IMP_DISPLAY = _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY
578 
579 _IMP_misc.IMP_MISC_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
580 IMP_MISC_HAS_IMP_KERNEL = _IMP_misc.IMP_MISC_HAS_IMP_KERNEL
581 
582 _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
583 IMP_MISC_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR
584 
585 _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
586 IMP_MISC_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM
587 
588 _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
589 IMP_MISC_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS
590 
591 _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
592 IMP_MISC_HAS_BOOST_RANDOM = _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM
593 
594 _IMP_misc.IMP_MISC_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
595 IMP_MISC_HAS_BOOST_REGEX = _IMP_misc.IMP_MISC_HAS_BOOST_REGEX
596 
597 _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
598 IMP_MISC_HAS_BOOST_SYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM
599 
600 _IMP_misc.IMP_MISC_HAS_CGAL_swigconstant(_IMP_misc)
601 IMP_MISC_HAS_CGAL = _IMP_misc.IMP_MISC_HAS_CGAL
602 
603 _IMP_misc.IMP_MISC_HAS_HDF5_swigconstant(_IMP_misc)
604 IMP_MISC_HAS_HDF5 = _IMP_misc.IMP_MISC_HAS_HDF5
605 
606 _IMP_misc.IMP_MISC_HAS_NUMPY_swigconstant(_IMP_misc)
607 IMP_MISC_HAS_NUMPY = _IMP_misc.IMP_MISC_HAS_NUMPY
608 
609 _IMP_misc.IMP_MISC_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
610 IMP_MISC_HAS_PYTHON_IHM = _IMP_misc.IMP_MISC_HAS_PYTHON_IHM
611 
612 _IMP_misc.IMPMISC_SHOW_WARNINGS_swigconstant(_IMP_misc)
613 IMPMISC_SHOW_WARNINGS = _IMP_misc.IMPMISC_SHOW_WARNINGS
614 
615 _object_types.append("WormLikeChain")
616 
617 
618 def _object_cast_to_WormLikeChain(o):
619  """_object_cast_to_WormLikeChain(Object o) -> WormLikeChain"""
620  return _IMP_misc._object_cast_to_WormLikeChain(o)
621 
622 _object_types.append("FreelyJointedChain")
623 
624 
625 def _object_cast_to_FreelyJointedChain(o):
626  """_object_cast_to_FreelyJointedChain(Object o) -> FreelyJointedChain"""
627  return _IMP_misc._object_cast_to_FreelyJointedChain(o)
628 
629 _object_types.append("StateAdaptor")
630 
631 
632 def _object_cast_to_StateAdaptor(o):
633  """_object_cast_to_StateAdaptor(Object o) -> StateAdaptor"""
634  return _IMP_misc._object_cast_to_StateAdaptor(o)
635 
636 _object_types.append("CommonEndpointPairFilter")
637 
638 
639 def _object_cast_to_CommonEndpointPairFilter(o):
640  """_object_cast_to_CommonEndpointPairFilter(Object o) -> CommonEndpointPairFilter"""
641  return _IMP_misc._object_cast_to_CommonEndpointPairFilter(o)
642 
643 _object_types.append("LogPairScore")
644 
645 
646 def _object_cast_to_LogPairScore(o):
647  """_object_cast_to_LogPairScore(Object o) -> LogPairScore"""
648  return _IMP_misc._object_cast_to_LogPairScore(o)
649 
650 _object_types.append("LowestRefinedPairScore")
651 
652 
653 def _object_cast_to_LowestRefinedPairScore(o):
654  """_object_cast_to_LowestRefinedPairScore(Object o) -> LowestRefinedPairScore"""
655  return _IMP_misc._object_cast_to_LowestRefinedPairScore(o)
656 
657 _object_types.append("SoftCylinderPairScore")
658 
659 
660 def _object_cast_to_SoftCylinderPairScore(o):
661  """_object_cast_to_SoftCylinderPairScore(Object o) -> SoftCylinderPairScore"""
662  return _IMP_misc._object_cast_to_SoftCylinderPairScore(o)
663 
664 _object_types.append("DecayPairContainerOptimizerState")
665 
666 
667 def _object_cast_to_DecayPairContainerOptimizerState(o):
668  """_object_cast_to_DecayPairContainerOptimizerState(Object o) -> DecayPairContainerOptimizerState"""
669  return _IMP_misc._object_cast_to_DecayPairContainerOptimizerState(o)
670 
671 def CustomXYZRs(l=[]):
672  return [CustomXYZR(x) for x in l]
673 _plural_types.append("CustomXYZRs")
674 
675 
676 _value_types.append("CustomXYZR")
677 
678 class WormLikeChain(IMP.UnaryFunction):
679  """Proxy of C++ IMP::misc::WormLikeChain class"""
680  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
681 
682  def __init__(self, l_max, lp):
683  """__init__(IMP::misc::WormLikeChain self, IMP::Float l_max, IMP::Float lp) -> WormLikeChain"""
684  this = _IMP_misc.new_WormLikeChain(l_max, lp)
685  try:
686  self.this.append(this)
687  except:
688  self.this = this
689 
690  def get_version_info(self):
691  """get_version_info(WormLikeChain self) -> VersionInfo"""
692  return _IMP_misc.WormLikeChain_get_version_info(self)
693 
694 
695  def do_show(self, out):
696  """do_show(WormLikeChain self, _ostream out)"""
697  return _IMP_misc.WormLikeChain_do_show(self, out)
698 
699 
700  def __str__(self):
701  """__str__(WormLikeChain self) -> std::string"""
702  return _IMP_misc.WormLikeChain___str__(self)
703 
704 
705  def __repr__(self):
706  """__repr__(WormLikeChain self) -> std::string"""
707  return _IMP_misc.WormLikeChain___repr__(self)
708 
709 
710  @staticmethod
711  def get_from(o):
712  return _object_cast_to_WormLikeChain(o)
713 
714 WormLikeChain_swigregister = _IMP_misc.WormLikeChain_swigregister
715 WormLikeChain_swigregister(WormLikeChain)
716 
717 class FreelyJointedChain(IMP.UnaryFunction):
718  """Proxy of C++ IMP::misc::FreelyJointedChain class"""
719  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
720 
721  def __init__(self, link_num, link_length):
722  """__init__(IMP::misc::FreelyJointedChain self, int link_num, double link_length) -> FreelyJointedChain"""
723  this = _IMP_misc.new_FreelyJointedChain(link_num, link_length)
724  try:
725  self.this.append(this)
726  except:
727  self.this = this
728 
729  def get_version_info(self):
730  """get_version_info(FreelyJointedChain self) -> VersionInfo"""
731  return _IMP_misc.FreelyJointedChain_get_version_info(self)
732 
733 
734  def get_link_number(self):
735  """get_link_number(FreelyJointedChain self) -> int"""
736  return _IMP_misc.FreelyJointedChain_get_link_number(self)
737 
738 
739  def get_link_length(self):
740  """get_link_length(FreelyJointedChain self) -> double"""
741  return _IMP_misc.FreelyJointedChain_get_link_length(self)
742 
743 
744  def set_link_number(self, N):
745  """set_link_number(FreelyJointedChain self, int N)"""
746  return _IMP_misc.FreelyJointedChain_set_link_number(self, N)
747 
748 
749  def set_link_length(self, b):
750  """set_link_length(FreelyJointedChain self, double b)"""
751  return _IMP_misc.FreelyJointedChain_set_link_length(self, b)
752 
753 
754  def get_distance_at_minimum(self):
755  """get_distance_at_minimum(FreelyJointedChain self) -> double"""
756  return _IMP_misc.FreelyJointedChain_get_distance_at_minimum(self)
757 
758 
759  def get_average_distance(self):
760  """get_average_distance(FreelyJointedChain self) -> double"""
761  return _IMP_misc.FreelyJointedChain_get_average_distance(self)
762 
763 
764  def __str__(self):
765  """__str__(FreelyJointedChain self) -> std::string"""
766  return _IMP_misc.FreelyJointedChain___str__(self)
767 
768 
769  def __repr__(self):
770  """__repr__(FreelyJointedChain self) -> std::string"""
771  return _IMP_misc.FreelyJointedChain___repr__(self)
772 
773 
774  @staticmethod
775  def get_from(o):
776  return _object_cast_to_FreelyJointedChain(o)
777 
778 FreelyJointedChain_swigregister = _IMP_misc.FreelyJointedChain_swigregister
779 FreelyJointedChain_swigregister(FreelyJointedChain)
780 
781 class LowestRefinedPairScore(IMP.PairScore):
782  """Proxy of C++ IMP::misc::LowestRefinedPairScore class"""
783  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
784 
785  def __init__(self, r, f):
786  """__init__(IMP::misc::LowestRefinedPairScore self, Refiner r, PairScore f) -> LowestRefinedPairScore"""
787  this = _IMP_misc.new_LowestRefinedPairScore(r, f)
788  try:
789  self.this.append(this)
790  except:
791  self.this = this
792 
793  def do_get_inputs(self, m, pis):
794  """do_get_inputs(LowestRefinedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
795  return _IMP_misc.LowestRefinedPairScore_do_get_inputs(self, m, pis)
796 
797 
798  def get_version_info(self):
799  """get_version_info(LowestRefinedPairScore self) -> VersionInfo"""
800  return _IMP_misc.LowestRefinedPairScore_get_version_info(self)
801 
802 
803  def __str__(self):
804  """__str__(LowestRefinedPairScore self) -> std::string"""
805  return _IMP_misc.LowestRefinedPairScore___str__(self)
806 
807 
808  def __repr__(self):
809  """__repr__(LowestRefinedPairScore self) -> std::string"""
810  return _IMP_misc.LowestRefinedPairScore___repr__(self)
811 
812 
813  @staticmethod
814  def get_from(o):
815  return _object_cast_to_LowestRefinedPairScore(o)
816 
817 LowestRefinedPairScore_swigregister = _IMP_misc.LowestRefinedPairScore_swigregister
818 LowestRefinedPairScore_swigregister(LowestRefinedPairScore)
819 
820 class LogPairScore(IMP.PairScore):
821  """Proxy of C++ IMP::misc::LogPairScore class"""
822  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
823 
824  def __init__(self):
825  """__init__(IMP::misc::LogPairScore self) -> LogPairScore"""
826  this = _IMP_misc.new_LogPairScore()
827  try:
828  self.this.append(this)
829  except:
830  self.this = this
831 
832  def do_get_inputs(self, arg2, arg3):
833  """do_get_inputs(LogPairScore self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
834  return _IMP_misc.LogPairScore_do_get_inputs(self, arg2, arg3)
835 
836 
837  def get_version_info(self):
838  """get_version_info(LogPairScore self) -> VersionInfo"""
839  return _IMP_misc.LogPairScore_get_version_info(self)
840 
841 
842  def get_particle_pairs(self):
843  """get_particle_pairs(LogPairScore self) -> IMP::ParticlePairsTemp"""
844  return _IMP_misc.LogPairScore_get_particle_pairs(self)
845 
846 
847  def clear(self):
848  """clear(LogPairScore self)"""
849  return _IMP_misc.LogPairScore_clear(self)
850 
851 
852  def get_contains(self, pp):
853  """get_contains(LogPairScore self, IMP::ParticlePair const & pp) -> bool"""
854  return _IMP_misc.LogPairScore_get_contains(self, pp)
855 
856 
857  def __str__(self):
858  """__str__(LogPairScore self) -> std::string"""
859  return _IMP_misc.LogPairScore___str__(self)
860 
861 
862  def __repr__(self):
863  """__repr__(LogPairScore self) -> std::string"""
864  return _IMP_misc.LogPairScore___repr__(self)
865 
866 
867  @staticmethod
868  def get_from(o):
869  return _object_cast_to_LogPairScore(o)
870 
871 LogPairScore_swigregister = _IMP_misc.LogPairScore_swigregister
872 LogPairScore_swigregister(LogPairScore)
873 
874 class StateAdaptor(IMP.ScoreState):
875  """Proxy of C++ IMP::misc::StateAdaptor class"""
876  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
877 
878  def __init__(self, m, before, after):
879  """__init__(IMP::misc::StateAdaptor self, Model m, OptimizerState before, OptimizerState after) -> StateAdaptor"""
880  this = _IMP_misc.new_StateAdaptor(m, before, after)
881  try:
882  self.this.append(this)
883  except:
884  self.this = this
885 
886  def do_before_evaluate(self):
887  """do_before_evaluate(StateAdaptor self)"""
888  return _IMP_misc.StateAdaptor_do_before_evaluate(self)
889 
890 
891  def do_after_evaluate(self, da):
892  """do_after_evaluate(StateAdaptor self, DerivativeAccumulator da)"""
893  return _IMP_misc.StateAdaptor_do_after_evaluate(self, da)
894 
895 
896  def do_get_inputs(self):
897  """do_get_inputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
898  return _IMP_misc.StateAdaptor_do_get_inputs(self)
899 
900 
901  def do_get_outputs(self):
902  """do_get_outputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
903  return _IMP_misc.StateAdaptor_do_get_outputs(self)
904 
905 
906  def get_version_info(self):
907  """get_version_info(StateAdaptor self) -> VersionInfo"""
908  return _IMP_misc.StateAdaptor_get_version_info(self)
909 
910 
911  def __str__(self):
912  """__str__(StateAdaptor self) -> std::string"""
913  return _IMP_misc.StateAdaptor___str__(self)
914 
915 
916  def __repr__(self):
917  """__repr__(StateAdaptor self) -> std::string"""
918  return _IMP_misc.StateAdaptor___repr__(self)
919 
920 
921  @staticmethod
922  def get_from(o):
923  return _object_cast_to_StateAdaptor(o)
924 
925 StateAdaptor_swigregister = _IMP_misc.StateAdaptor_swigregister
926 StateAdaptor_swigregister(StateAdaptor)
927 
928 class CommonEndpointPairFilter(IMP.PairPredicate):
929  """Proxy of C++ IMP::misc::CommonEndpointPairFilter class"""
930  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
931 
932  def __init__(self):
933  """__init__(IMP::misc::CommonEndpointPairFilter self) -> CommonEndpointPairFilter"""
934  this = _IMP_misc.new_CommonEndpointPairFilter()
935  try:
936  self.this.append(this)
937  except:
938  self.this = this
939 
940  def do_get_inputs(self, m, pis):
941  """do_get_inputs(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
942  return _IMP_misc.CommonEndpointPairFilter_do_get_inputs(self, m, pis)
943 
944 
945  def get_value(self, *args):
946  """
947  get_value(CommonEndpointPairFilter self, IMP::ParticlePair const & a) -> int
948  get_value(CommonEndpointPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
949  """
950  return _IMP_misc.CommonEndpointPairFilter_get_value(self, *args)
951 
952 
953  def get_value_index(self, *args):
954  """
955  get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
956  get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
957  """
958  return _IMP_misc.CommonEndpointPairFilter_get_value_index(self, *args)
959 
960 
961  def get_version_info(self):
962  """get_version_info(CommonEndpointPairFilter self) -> VersionInfo"""
963  return _IMP_misc.CommonEndpointPairFilter_get_version_info(self)
964 
965 
966  def __str__(self):
967  """__str__(CommonEndpointPairFilter self) -> std::string"""
968  return _IMP_misc.CommonEndpointPairFilter___str__(self)
969 
970 
971  def __repr__(self):
972  """__repr__(CommonEndpointPairFilter self) -> std::string"""
973  return _IMP_misc.CommonEndpointPairFilter___repr__(self)
974 
975 
976  @staticmethod
977  def get_from(o):
978  return _object_cast_to_CommonEndpointPairFilter(o)
979 
980 CommonEndpointPairFilter_swigregister = _IMP_misc.CommonEndpointPairFilter_swigregister
981 CommonEndpointPairFilter_swigregister(CommonEndpointPairFilter)
982 
983 class CustomXYZR(IMP.core.XYZ):
984  """Proxy of C++ IMP::misc::CustomXYZR class"""
985  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
986 
987  def get_decorator_traits(self):
988  """get_decorator_traits(CustomXYZR self) -> FloatKey"""
989  return _IMP_misc.CustomXYZR_get_decorator_traits(self)
990 
991 
992  def get_default_decorator_traits():
993  """get_default_decorator_traits() -> FloatKey"""
994  return _IMP_misc.CustomXYZR_get_default_decorator_traits()
995 
996  get_default_decorator_traits = staticmethod(get_default_decorator_traits)
997 
998  def __init__(self, *args):
999  """
1000  __init__(IMP::misc::CustomXYZR self) -> CustomXYZR
1001  __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id, FloatKey tr) -> CustomXYZR
1002  __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id) -> CustomXYZR
1003  __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1004  __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d) -> CustomXYZR
1005  """
1006  this = _IMP_misc.new_CustomXYZR(*args)
1007  try:
1008  self.this.append(this)
1009  except:
1010  self.this = this
1011 
1012  def show(self, *args):
1013  """
1014  show(CustomXYZR self, _ostream out)
1015  show(CustomXYZR self)
1016  """
1017  return _IMP_misc.CustomXYZR_show(self, *args)
1018 
1019 
1020  def setup_particle(*args):
1021  """
1022  setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1023  setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1024  setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1025  setup_particle(_ParticleAdaptor d) -> CustomXYZR
1026  setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1027  setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1028  setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1029  setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1030  setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1031  setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1032  setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1033  setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1034  """
1035  return _IMP_misc.CustomXYZR_setup_particle(*args)
1036 
1037  setup_particle = staticmethod(setup_particle)
1038 
1039  def get_is_setup(*args):
1040  """
1041  get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1042  get_is_setup(_ParticleAdaptor p) -> bool
1043  get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1044  get_is_setup(Model m, ParticleIndex pi) -> bool
1045  """
1046  return _IMP_misc.CustomXYZR_get_is_setup(*args)
1047 
1048  get_is_setup = staticmethod(get_is_setup)
1049 
1050  def get_radius(self):
1051  """get_radius(CustomXYZR self) -> IMP::Float"""
1052  return _IMP_misc.CustomXYZR_get_radius(self)
1053 
1054 
1055  def set_radius(self, t):
1056  """set_radius(CustomXYZR self, IMP::Float t)"""
1057  return _IMP_misc.CustomXYZR_set_radius(self, t)
1058 
1059 
1060  def get_sphere(self):
1061  """get_sphere(CustomXYZR self) -> Sphere3D"""
1062  return _IMP_misc.CustomXYZR_get_sphere(self)
1063 
1064 
1065  def set_sphere(self, s):
1066  """set_sphere(CustomXYZR self, Sphere3D s)"""
1067  return _IMP_misc.CustomXYZR_set_sphere(self, s)
1068 
1069 
1070  def get_default_radius_key():
1071  """get_default_radius_key() -> FloatKey"""
1072  return _IMP_misc.CustomXYZR_get_default_radius_key()
1073 
1074  get_default_radius_key = staticmethod(get_default_radius_key)
1075 
1076  def add_to_radius_derivative(self, v, d):
1077  """add_to_radius_derivative(CustomXYZR self, double v, DerivativeAccumulator d)"""
1078  return _IMP_misc.CustomXYZR_add_to_radius_derivative(self, v, d)
1079 
1080 
1081  def get_traits(self):
1082  """get_traits(CustomXYZR self) -> FloatKey"""
1083  return _IMP_misc.CustomXYZR_get_traits(self)
1084 
1085 
1086  def add_attribute(self, *args):
1087  """
1088  add_attribute(CustomXYZR self, FloatKey k, IMP::Float v, bool opt)
1089  add_attribute(CustomXYZR self, FloatKey a0, IMP::Float a1)
1090  add_attribute(CustomXYZR self, IntKey a0, IMP::Int a1)
1091  add_attribute(CustomXYZR self, FloatsKey a0, IMP::Floats a1)
1092  add_attribute(CustomXYZR self, IntsKey a0, IMP::Ints a1)
1093  add_attribute(CustomXYZR self, StringKey a0, IMP::String a1)
1094  add_attribute(CustomXYZR self, ParticleIndexKey a0, Particle a1)
1095  add_attribute(CustomXYZR self, ObjectKey a0, Object a1)
1096  """
1097  return _IMP_misc.CustomXYZR_add_attribute(self, *args)
1098 
1099 
1100  def get_value(self, *args):
1101  """
1102  get_value(CustomXYZR self, FloatKey a0) -> IMP::Float
1103  get_value(CustomXYZR self, IntKey a0) -> IMP::Int
1104  get_value(CustomXYZR self, FloatsKey a0) -> IMP::Floats
1105  get_value(CustomXYZR self, IntsKey a0) -> IMP::Ints
1106  get_value(CustomXYZR self, StringKey a0) -> IMP::String
1107  get_value(CustomXYZR self, ParticleIndexKey a0) -> Particle
1108  get_value(CustomXYZR self, ObjectKey a0) -> Object
1109  """
1110  return _IMP_misc.CustomXYZR_get_value(self, *args)
1111 
1112 
1113  def set_value(self, *args):
1114  """
1115  set_value(CustomXYZR self, FloatKey a0, IMP::Float a1)
1116  set_value(CustomXYZR self, IntKey a0, IMP::Int a1)
1117  set_value(CustomXYZR self, FloatsKey a0, IMP::Floats a1)
1118  set_value(CustomXYZR self, IntsKey a0, IMP::Ints a1)
1119  set_value(CustomXYZR self, StringKey a0, IMP::String a1)
1120  set_value(CustomXYZR self, ParticleIndexKey a0, Particle a1)
1121  set_value(CustomXYZR self, ObjectKey a0, Object a1)
1122  """
1123  return _IMP_misc.CustomXYZR_set_value(self, *args)
1124 
1125 
1126  def remove_attribute(self, *args):
1127  """
1128  remove_attribute(CustomXYZR self, FloatKey a0)
1129  remove_attribute(CustomXYZR self, IntKey a0)
1130  remove_attribute(CustomXYZR self, FloatsKey a0)
1131  remove_attribute(CustomXYZR self, IntsKey a0)
1132  remove_attribute(CustomXYZR self, StringKey a0)
1133  remove_attribute(CustomXYZR self, ParticleIndexKey a0)
1134  remove_attribute(CustomXYZR self, ObjectKey a0)
1135  """
1136  return _IMP_misc.CustomXYZR_remove_attribute(self, *args)
1137 
1138 
1139  def has_attribute(self, *args):
1140  """
1141  has_attribute(CustomXYZR self, FloatKey a0) -> bool
1142  has_attribute(CustomXYZR self, IntKey a0) -> bool
1143  has_attribute(CustomXYZR self, FloatsKey a0) -> bool
1144  has_attribute(CustomXYZR self, IntsKey a0) -> bool
1145  has_attribute(CustomXYZR self, StringKey a0) -> bool
1146  has_attribute(CustomXYZR self, ParticleIndexKey a0) -> bool
1147  has_attribute(CustomXYZR self, ObjectKey a0) -> bool
1148  """
1149  return _IMP_misc.CustomXYZR_has_attribute(self, *args)
1150 
1151 
1152  def get_derivative(self, a0):
1153  """get_derivative(CustomXYZR self, FloatKey a0) -> double"""
1154  return _IMP_misc.CustomXYZR_get_derivative(self, a0)
1155 
1156 
1157  def get_name(self):
1158  """get_name(CustomXYZR self) -> std::string"""
1159  return _IMP_misc.CustomXYZR_get_name(self)
1160 
1161 
1162  def clear_caches(self):
1163  """clear_caches(CustomXYZR self)"""
1164  return _IMP_misc.CustomXYZR_clear_caches(self)
1165 
1166 
1167  def set_name(self, a0):
1168  """set_name(CustomXYZR self, std::string a0)"""
1169  return _IMP_misc.CustomXYZR_set_name(self, a0)
1170 
1171 
1172  def set_check_level(self, a0):
1173  """set_check_level(CustomXYZR self, IMP::CheckLevel a0)"""
1174  return _IMP_misc.CustomXYZR_set_check_level(self, a0)
1175 
1176 
1177  def add_to_derivative(self, a0, a1, a2):
1178  """add_to_derivative(CustomXYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1179  return _IMP_misc.CustomXYZR_add_to_derivative(self, a0, a1, a2)
1180 
1181 
1182  def set_is_optimized(self, a0, a1):
1183  """set_is_optimized(CustomXYZR self, FloatKey a0, bool a1)"""
1184  return _IMP_misc.CustomXYZR_set_is_optimized(self, a0, a1)
1185 
1186 
1187  def get_is_optimized(self, a0):
1188  """get_is_optimized(CustomXYZR self, FloatKey a0) -> bool"""
1189  return _IMP_misc.CustomXYZR_get_is_optimized(self, a0)
1190 
1191 
1192  def get_check_level(self):
1193  """get_check_level(CustomXYZR self) -> IMP::CheckLevel"""
1194  return _IMP_misc.CustomXYZR_get_check_level(self)
1195 
1196 
1197  def __eq__(self, *args):
1198  """
1199  __eq__(CustomXYZR self, CustomXYZR o) -> bool
1200  __eq__(CustomXYZR self, Particle d) -> bool
1201  """
1202  return _IMP_misc.CustomXYZR___eq__(self, *args)
1203 
1204 
1205  def __ne__(self, *args):
1206  """
1207  __ne__(CustomXYZR self, CustomXYZR o) -> bool
1208  __ne__(CustomXYZR self, Particle d) -> bool
1209  """
1210  return _IMP_misc.CustomXYZR___ne__(self, *args)
1211 
1212 
1213  def __le__(self, *args):
1214  """
1215  __le__(CustomXYZR self, CustomXYZR o) -> bool
1216  __le__(CustomXYZR self, Particle d) -> bool
1217  """
1218  return _IMP_misc.CustomXYZR___le__(self, *args)
1219 
1220 
1221  def __lt__(self, *args):
1222  """
1223  __lt__(CustomXYZR self, CustomXYZR o) -> bool
1224  __lt__(CustomXYZR self, Particle d) -> bool
1225  """
1226  return _IMP_misc.CustomXYZR___lt__(self, *args)
1227 
1228 
1229  def __ge__(self, *args):
1230  """
1231  __ge__(CustomXYZR self, CustomXYZR o) -> bool
1232  __ge__(CustomXYZR self, Particle d) -> bool
1233  """
1234  return _IMP_misc.CustomXYZR___ge__(self, *args)
1235 
1236 
1237  def __gt__(self, *args):
1238  """
1239  __gt__(CustomXYZR self, CustomXYZR o) -> bool
1240  __gt__(CustomXYZR self, Particle d) -> bool
1241  """
1242  return _IMP_misc.CustomXYZR___gt__(self, *args)
1243 
1244 
1245  def __hash__(self):
1246  """__hash__(CustomXYZR self) -> std::size_t"""
1247  return _IMP_misc.CustomXYZR___hash__(self)
1248 
1249 
1250  def __str__(self):
1251  """__str__(CustomXYZR self) -> std::string"""
1252  return _IMP_misc.CustomXYZR___str__(self)
1253 
1254 
1255  def __repr__(self):
1256  """__repr__(CustomXYZR self) -> std::string"""
1257  return _IMP_misc.CustomXYZR___repr__(self)
1258 
1259  __swig_destroy__ = _IMP_misc.delete_CustomXYZR
1260  __del__ = lambda self: None
1261 CustomXYZR_swigregister = _IMP_misc.CustomXYZR_swigregister
1262 CustomXYZR_swigregister(CustomXYZR)
1263 
1264 def CustomXYZR_get_default_decorator_traits():
1265  """CustomXYZR_get_default_decorator_traits() -> FloatKey"""
1266  return _IMP_misc.CustomXYZR_get_default_decorator_traits()
1267 
1268 def CustomXYZR_setup_particle(*args):
1269  """
1270  setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1271  setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1272  setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1273  setup_particle(_ParticleAdaptor d) -> CustomXYZR
1274  setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1275  setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1276  setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1277  setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1278  setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1279  setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1280  setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1281  CustomXYZR_setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1282  """
1283  return _IMP_misc.CustomXYZR_setup_particle(*args)
1284 
1285 def CustomXYZR_get_is_setup(*args):
1286  """
1287  get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1288  get_is_setup(_ParticleAdaptor p) -> bool
1289  get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1290  CustomXYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
1291  """
1292  return _IMP_misc.CustomXYZR_get_is_setup(*args)
1293 
1294 def CustomXYZR_get_default_radius_key():
1295  """CustomXYZR_get_default_radius_key() -> FloatKey"""
1296  return _IMP_misc.CustomXYZR_get_default_radius_key()
1297 
1298 
1299 def __lshift__(out, n):
1300  """__lshift__(_ostream out, CustomXYZR n) -> _ostream"""
1301  return _IMP_misc.__lshift__(out, n)
1302 
1303 def get_distance(a, b):
1304  """get_distance(CustomXYZR a, CustomXYZR b) -> double"""
1305  return _IMP_misc.get_distance(a, b)
1306 
1307 def get_sphere_d_geometry(d):
1308  """get_sphere_d_geometry(CustomXYZR d) -> Sphere3D"""
1309  return _IMP_misc.get_sphere_d_geometry(d)
1310 
1311 def set_sphere_d_geometry(d, v):
1312  """set_sphere_d_geometry(CustomXYZR d, Sphere3D v)"""
1313  return _IMP_misc.set_sphere_d_geometry(d, v)
1314 class SoftCylinderPairScore(IMP.PairScore):
1315  """Proxy of C++ IMP::misc::SoftCylinderPairScore class"""
1316  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1317 
1318  def __init__(self, k):
1319  """__init__(IMP::misc::SoftCylinderPairScore self, double k) -> SoftCylinderPairScore"""
1320  this = _IMP_misc.new_SoftCylinderPairScore(k)
1321  try:
1322  self.this.append(this)
1323  except:
1324  self.this = this
1325 
1326  def do_get_inputs(self, m, pis):
1327  """do_get_inputs(SoftCylinderPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1328  return _IMP_misc.SoftCylinderPairScore_do_get_inputs(self, m, pis)
1329 
1330 
1331  def get_version_info(self):
1332  """get_version_info(SoftCylinderPairScore self) -> VersionInfo"""
1333  return _IMP_misc.SoftCylinderPairScore_get_version_info(self)
1334 
1335 
1336  def __str__(self):
1337  """__str__(SoftCylinderPairScore self) -> std::string"""
1338  return _IMP_misc.SoftCylinderPairScore___str__(self)
1339 
1340 
1341  def __repr__(self):
1342  """__repr__(SoftCylinderPairScore self) -> std::string"""
1343  return _IMP_misc.SoftCylinderPairScore___repr__(self)
1344 
1345 
1346  @staticmethod
1347  def get_from(o):
1348  return _object_cast_to_SoftCylinderPairScore(o)
1349 
1350 SoftCylinderPairScore_swigregister = _IMP_misc.SoftCylinderPairScore_swigregister
1351 SoftCylinderPairScore_swigregister(SoftCylinderPairScore)
1352 
1353 class DecayPairContainerOptimizerState(IMP.OptimizerState):
1354  """Proxy of C++ IMP::misc::DecayPairContainerOptimizerState class"""
1355  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1356 
1357  def __init__(self, *args):
1358  """
1359  __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list, std::string name) -> DecayPairContainerOptimizerState
1360  __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list) -> DecayPairContainerOptimizerState
1361  """
1362  this = _IMP_misc.new_DecayPairContainerOptimizerState(*args)
1363  try:
1364  self.this.append(this)
1365  except:
1366  self.this = this
1367 
1368  def get_output_container(self):
1369  """get_output_container(DecayPairContainerOptimizerState self) -> PairContainer"""
1370  return _IMP_misc.DecayPairContainerOptimizerState_get_output_container(self)
1371 
1372 
1373  def do_update(self, call_num):
1374  """do_update(DecayPairContainerOptimizerState self, unsigned int call_num)"""
1375  return _IMP_misc.DecayPairContainerOptimizerState_do_update(self, call_num)
1376 
1377 
1378  def get_version_info(self):
1379  """get_version_info(DecayPairContainerOptimizerState self) -> VersionInfo"""
1380  return _IMP_misc.DecayPairContainerOptimizerState_get_version_info(self)
1381 
1382 
1383  def __str__(self):
1384  """__str__(DecayPairContainerOptimizerState self) -> std::string"""
1385  return _IMP_misc.DecayPairContainerOptimizerState___str__(self)
1386 
1387 
1388  def __repr__(self):
1389  """__repr__(DecayPairContainerOptimizerState self) -> std::string"""
1390  return _IMP_misc.DecayPairContainerOptimizerState___repr__(self)
1391 
1392 
1393  @staticmethod
1394  def get_from(o):
1395  return _object_cast_to_DecayPairContainerOptimizerState(o)
1396 
1397 DecayPairContainerOptimizerState_swigregister = _IMP_misc.DecayPairContainerOptimizerState_swigregister
1398 DecayPairContainerOptimizerState_swigregister(DecayPairContainerOptimizerState)
1399 
1400 
1401 def get_module_version():
1402  """get_module_version() -> std::string const"""
1403  return _IMP_misc.get_module_version()
1404 
1405 def get_example_path(fname):
1406  """get_example_path(std::string fname) -> std::string"""
1407  return _IMP_misc.get_example_path(fname)
1408 
1409 def get_data_path(fname):
1410  """get_data_path(std::string fname) -> std::string"""
1411  return _IMP_misc.get_data_path(fname)
1412 
1413 from . import _version_check
1414 _version_check.check_version(get_module_version())
1415 __version__ = get_module_version()
1416 
1417 
1418 
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:37
Various classes to hold sets of particles.
const algebra::Sphere3D get_sphere_d_geometry(CustomXYZR d)
Definition: CustomXYZR.h:90
Make CGAL functionality available to IMP.
virtual void clear_caches()
Definition: Object.h:227
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
ScoreStates maintain invariants in the Model.
Definition: ScoreState.h:54
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
A decorator for a particle with x,y,z coordinates.
Definition: XYZ.h:30
void set_sphere_d_geometry(CustomXYZR d, const algebra::Sphere3D &v)
Definition: CustomXYZR.h:95
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
Definition: PairPredicate.h:31
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Definition: Object.h:173
Shared optimizer state that is invoked upon commitment of new coordinates.
void set_check_level(CheckLevel l)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Abstract single variable functor class for score functions.
Definition: UnaryFunction.h:25
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.