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