IMP logo
IMP Reference Guide  2.18.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_SERIALIZATION_swigconstant(_IMP_misc)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_CGAL_HAS_BOOST_SERIALIZATION
345 
346 _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM
348 
349 _IMP_misc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_misc)
350 IMP_CGAL_HAS_NUMPY = _IMP_misc.IMP_CGAL_HAS_NUMPY
351 
352 _IMP_misc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_misc)
353 IMPCGAL_SHOW_WARNINGS = _IMP_misc.IMPCGAL_SHOW_WARNINGS
354 import IMP.cgal
355 
356 _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_misc)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL
358 
359 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
361 
362 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
364 
365 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM
367 
368 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
370 
371 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
373 
374 _IMP_misc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_misc)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_CGAL
376 
377 _IMP_misc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_misc)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_misc.IMP_ALGEBRA_HAS_NUMPY
379 
380 _IMP_misc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_misc)
381 IMP_ALGEBRA_HAS_ANN = _IMP_misc.IMP_ALGEBRA_HAS_ANN
382 
383 _IMP_misc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_misc)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_misc.IMPALGEBRA_SHOW_WARNINGS
385 import IMP.algebra
386 
387 _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_misc)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL
389 
390 _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
392 
393 _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
395 
396 _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM
398 
399 _IMP_misc.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
401 
402 _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM
404 
405 _IMP_misc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_misc)
406 IMP_DISPLAY_HAS_CGAL = _IMP_misc.IMP_DISPLAY_HAS_CGAL
407 
408 _IMP_misc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_misc)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_misc.IMP_DISPLAY_HAS_NUMPY
410 
411 _IMP_misc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_misc)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_misc.IMPDISPLAY_SHOW_WARNINGS
413 import IMP.display
414 
415 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_misc)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
417 
418 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
420 
421 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
423 
424 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
426 
427 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
429 
430 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
432 
433 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_misc)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL
435 
436 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_misc)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5
438 
439 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_misc)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_NUMPY
441 
442 _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_misc)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS
444 import IMP.score_functor
445 
446 _IMP_misc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_misc)
447 IMP_CORE_HAS_IMP_CGAL = _IMP_misc.IMP_CORE_HAS_IMP_CGAL
448 
449 _IMP_misc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
450 IMP_CORE_HAS_IMP_KERNEL = _IMP_misc.IMP_CORE_HAS_IMP_KERNEL
451 
452 _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
453 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM
454 
455 _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
456 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
457 
458 _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
459 IMP_CORE_HAS_BOOST_RANDOM = _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM
460 
461 _IMP_misc.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
462 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_CORE_HAS_BOOST_SERIALIZATION
463 
464 _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
465 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM
466 
467 _IMP_misc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_misc)
468 IMP_CORE_HAS_CGAL = _IMP_misc.IMP_CORE_HAS_CGAL
469 
470 _IMP_misc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_misc)
471 IMP_CORE_HAS_HDF5 = _IMP_misc.IMP_CORE_HAS_HDF5
472 
473 _IMP_misc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_misc)
474 IMP_CORE_HAS_NUMPY = _IMP_misc.IMP_CORE_HAS_NUMPY
475 
476 _IMP_misc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_misc)
477 IMPCORE_SHOW_WARNINGS = _IMP_misc.IMPCORE_SHOW_WARNINGS
478 import IMP.core
479 
480 _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
481 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA
482 
483 _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_misc)
484 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL
485 
486 _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
487 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY
488 
489 _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
490 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL
491 
492 _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
493 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
494 
495 _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
496 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
497 
498 _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
499 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
500 
501 _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
502 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM
503 
504 _IMP_misc.IMP_CONTAINER_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
505 IMP_CONTAINER_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SERIALIZATION
506 
507 _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
508 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM
509 
510 _IMP_misc.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_misc)
511 IMP_CONTAINER_HAS_CGAL = _IMP_misc.IMP_CONTAINER_HAS_CGAL
512 
513 _IMP_misc.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_misc)
514 IMP_CONTAINER_HAS_HDF5 = _IMP_misc.IMP_CONTAINER_HAS_HDF5
515 
516 _IMP_misc.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_misc)
517 IMP_CONTAINER_HAS_NUMPY = _IMP_misc.IMP_CONTAINER_HAS_NUMPY
518 
519 _IMP_misc.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
520 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_misc.IMP_CONTAINER_HAS_PYTHON_IHM
521 
522 _IMP_misc.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_misc)
523 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_misc.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
524 
525 _IMP_misc.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_misc)
526 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_misc.IMP_CONTAINER_HAS_ROBIN_MAP
527 
528 _IMP_misc.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_misc)
529 IMPCONTAINER_SHOW_WARNINGS = _IMP_misc.IMPCONTAINER_SHOW_WARNINGS
530 import IMP.container
531 
532 _IMP_misc.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_misc)
533 IMP_ATOM_HAS_IMP_CGAL = _IMP_misc.IMP_ATOM_HAS_IMP_CGAL
534 
535 _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
536 IMP_ATOM_HAS_IMP_KERNEL = _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL
537 
538 _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
539 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
540 
541 _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
542 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
543 
544 _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
545 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM
546 
547 _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
548 IMP_ATOM_HAS_BOOST_REGEX = _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX
549 
550 _IMP_misc.IMP_ATOM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
551 IMP_ATOM_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_ATOM_HAS_BOOST_SERIALIZATION
552 
553 _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
554 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM
555 
556 _IMP_misc.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_misc)
557 IMP_ATOM_HAS_CGAL = _IMP_misc.IMP_ATOM_HAS_CGAL
558 
559 _IMP_misc.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_misc)
560 IMP_ATOM_HAS_HDF5 = _IMP_misc.IMP_ATOM_HAS_HDF5
561 
562 _IMP_misc.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_misc)
563 IMP_ATOM_HAS_NUMPY = _IMP_misc.IMP_ATOM_HAS_NUMPY
564 
565 _IMP_misc.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
566 IMP_ATOM_HAS_PYTHON_IHM = _IMP_misc.IMP_ATOM_HAS_PYTHON_IHM
567 
568 _IMP_misc.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_misc)
569 IMPATOM_SHOW_WARNINGS = _IMP_misc.IMPATOM_SHOW_WARNINGS
570 
571 _IMP_misc.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_misc)
572 IMP_ATOM_TYPE_INDEX = _IMP_misc.IMP_ATOM_TYPE_INDEX
573 
574 _IMP_misc.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_misc)
575 IMP_RESIDUE_TYPE_INDEX = _IMP_misc.IMP_RESIDUE_TYPE_INDEX
576 
577 _IMP_misc.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_misc)
578 IMP_HIERARCHY_TYPE_INDEX = _IMP_misc.IMP_HIERARCHY_TYPE_INDEX
579 
580 _IMP_misc.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_misc)
581 IMP_CHAIN_TYPE_INDEX = _IMP_misc.IMP_CHAIN_TYPE_INDEX
582 import IMP.atom
583 
584 _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
585 IMP_MISC_HAS_IMP_ALGEBRA = _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA
586 
587 _IMP_misc.IMP_MISC_HAS_IMP_CGAL_swigconstant(_IMP_misc)
588 IMP_MISC_HAS_IMP_CGAL = _IMP_misc.IMP_MISC_HAS_IMP_CGAL
589 
590 _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER_swigconstant(_IMP_misc)
591 IMP_MISC_HAS_IMP_CONTAINER = _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER
592 
593 _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
594 IMP_MISC_HAS_IMP_DISPLAY = _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY
595 
596 _IMP_misc.IMP_MISC_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
597 IMP_MISC_HAS_IMP_KERNEL = _IMP_misc.IMP_MISC_HAS_IMP_KERNEL
598 
599 _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
600 IMP_MISC_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR
601 
602 _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
603 IMP_MISC_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM
604 
605 _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
606 IMP_MISC_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS
607 
608 _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
609 IMP_MISC_HAS_BOOST_RANDOM = _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM
610 
611 _IMP_misc.IMP_MISC_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
612 IMP_MISC_HAS_BOOST_REGEX = _IMP_misc.IMP_MISC_HAS_BOOST_REGEX
613 
614 _IMP_misc.IMP_MISC_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_misc)
615 IMP_MISC_HAS_BOOST_SERIALIZATION = _IMP_misc.IMP_MISC_HAS_BOOST_SERIALIZATION
616 
617 _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
618 IMP_MISC_HAS_BOOST_SYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM
619 
620 _IMP_misc.IMP_MISC_HAS_CGAL_swigconstant(_IMP_misc)
621 IMP_MISC_HAS_CGAL = _IMP_misc.IMP_MISC_HAS_CGAL
622 
623 _IMP_misc.IMP_MISC_HAS_HDF5_swigconstant(_IMP_misc)
624 IMP_MISC_HAS_HDF5 = _IMP_misc.IMP_MISC_HAS_HDF5
625 
626 _IMP_misc.IMP_MISC_HAS_NUMPY_swigconstant(_IMP_misc)
627 IMP_MISC_HAS_NUMPY = _IMP_misc.IMP_MISC_HAS_NUMPY
628 
629 _IMP_misc.IMP_MISC_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
630 IMP_MISC_HAS_PYTHON_IHM = _IMP_misc.IMP_MISC_HAS_PYTHON_IHM
631 
632 _IMP_misc.IMPMISC_SHOW_WARNINGS_swigconstant(_IMP_misc)
633 IMPMISC_SHOW_WARNINGS = _IMP_misc.IMPMISC_SHOW_WARNINGS
634 
635 _object_types.append("WormLikeChain")
636 
637 
638 def _object_cast_to_WormLikeChain(o):
639  """_object_cast_to_WormLikeChain(Object o) -> WormLikeChain"""
640  return _IMP_misc._object_cast_to_WormLikeChain(o)
641 
642 _object_types.append("FreelyJointedChain")
643 
644 
645 def _object_cast_to_FreelyJointedChain(o):
646  """_object_cast_to_FreelyJointedChain(Object o) -> FreelyJointedChain"""
647  return _IMP_misc._object_cast_to_FreelyJointedChain(o)
648 
649 _object_types.append("StateAdaptor")
650 
651 
652 def _object_cast_to_StateAdaptor(o):
653  """_object_cast_to_StateAdaptor(Object o) -> StateAdaptor"""
654  return _IMP_misc._object_cast_to_StateAdaptor(o)
655 
656 _object_types.append("CommonEndpointPairFilter")
657 
658 
659 def _object_cast_to_CommonEndpointPairFilter(o):
660  """_object_cast_to_CommonEndpointPairFilter(Object o) -> CommonEndpointPairFilter"""
661  return _IMP_misc._object_cast_to_CommonEndpointPairFilter(o)
662 
663 _object_types.append("LogPairScore")
664 
665 
666 def _object_cast_to_LogPairScore(o):
667  """_object_cast_to_LogPairScore(Object o) -> LogPairScore"""
668  return _IMP_misc._object_cast_to_LogPairScore(o)
669 
670 _object_types.append("LowestRefinedPairScore")
671 
672 
673 def _object_cast_to_LowestRefinedPairScore(o):
674  """_object_cast_to_LowestRefinedPairScore(Object o) -> LowestRefinedPairScore"""
675  return _IMP_misc._object_cast_to_LowestRefinedPairScore(o)
676 
677 _object_types.append("SoftCylinderPairScore")
678 
679 
680 def _object_cast_to_SoftCylinderPairScore(o):
681  """_object_cast_to_SoftCylinderPairScore(Object o) -> SoftCylinderPairScore"""
682  return _IMP_misc._object_cast_to_SoftCylinderPairScore(o)
683 
684 _object_types.append("DecayPairContainerOptimizerState")
685 
686 
687 def _object_cast_to_DecayPairContainerOptimizerState(o):
688  """_object_cast_to_DecayPairContainerOptimizerState(Object o) -> DecayPairContainerOptimizerState"""
689  return _IMP_misc._object_cast_to_DecayPairContainerOptimizerState(o)
690 
691 def CustomXYZRs(l=[]):
692  return [CustomXYZR(x) for x in l]
693 _plural_types.append("CustomXYZRs")
694 
695 
696 _value_types.append("CustomXYZR")
697 
698 class WormLikeChain(IMP.UnaryFunction):
699  """Proxy of C++ IMP::misc::WormLikeChain class"""
700  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
701 
702  def __init__(self, l_max, lp):
703  """__init__(IMP::misc::WormLikeChain self, IMP::Float l_max, IMP::Float lp) -> WormLikeChain"""
704  this = _IMP_misc.new_WormLikeChain(l_max, lp)
705  try:
706  self.this.append(this)
707  except:
708  self.this = this
709 
710  def get_version_info(self):
711  """get_version_info(WormLikeChain self) -> VersionInfo"""
712  return _IMP_misc.WormLikeChain_get_version_info(self)
713 
714 
715  def do_show(self, out):
716  """do_show(WormLikeChain self, _ostream out)"""
717  return _IMP_misc.WormLikeChain_do_show(self, out)
718 
719 
720  def __str__(self):
721  """__str__(WormLikeChain self) -> std::string"""
722  return _IMP_misc.WormLikeChain___str__(self)
723 
724 
725  def __repr__(self):
726  """__repr__(WormLikeChain self) -> std::string"""
727  return _IMP_misc.WormLikeChain___repr__(self)
728 
729 
730  @staticmethod
731  def get_from(o):
732  return _object_cast_to_WormLikeChain(o)
733 
734 WormLikeChain_swigregister = _IMP_misc.WormLikeChain_swigregister
735 WormLikeChain_swigregister(WormLikeChain)
736 
737 class FreelyJointedChain(IMP.UnaryFunction):
738  """Proxy of C++ IMP::misc::FreelyJointedChain class"""
739  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
740 
741  def __init__(self, link_num, link_length):
742  """__init__(IMP::misc::FreelyJointedChain self, int link_num, double link_length) -> FreelyJointedChain"""
743  this = _IMP_misc.new_FreelyJointedChain(link_num, link_length)
744  try:
745  self.this.append(this)
746  except:
747  self.this = this
748 
749  def get_version_info(self):
750  """get_version_info(FreelyJointedChain self) -> VersionInfo"""
751  return _IMP_misc.FreelyJointedChain_get_version_info(self)
752 
753 
754  def get_link_number(self):
755  """get_link_number(FreelyJointedChain self) -> int"""
756  return _IMP_misc.FreelyJointedChain_get_link_number(self)
757 
758 
759  def get_link_length(self):
760  """get_link_length(FreelyJointedChain self) -> double"""
761  return _IMP_misc.FreelyJointedChain_get_link_length(self)
762 
763 
764  def set_link_number(self, N):
765  """set_link_number(FreelyJointedChain self, int N)"""
766  return _IMP_misc.FreelyJointedChain_set_link_number(self, N)
767 
768 
769  def set_link_length(self, b):
770  """set_link_length(FreelyJointedChain self, double b)"""
771  return _IMP_misc.FreelyJointedChain_set_link_length(self, b)
772 
773 
774  def get_distance_at_minimum(self):
775  """get_distance_at_minimum(FreelyJointedChain self) -> double"""
776  return _IMP_misc.FreelyJointedChain_get_distance_at_minimum(self)
777 
778 
779  def get_average_distance(self):
780  """get_average_distance(FreelyJointedChain self) -> double"""
781  return _IMP_misc.FreelyJointedChain_get_average_distance(self)
782 
783 
784  def __str__(self):
785  """__str__(FreelyJointedChain self) -> std::string"""
786  return _IMP_misc.FreelyJointedChain___str__(self)
787 
788 
789  def __repr__(self):
790  """__repr__(FreelyJointedChain self) -> std::string"""
791  return _IMP_misc.FreelyJointedChain___repr__(self)
792 
793 
794  @staticmethod
795  def get_from(o):
796  return _object_cast_to_FreelyJointedChain(o)
797 
798 FreelyJointedChain_swigregister = _IMP_misc.FreelyJointedChain_swigregister
799 FreelyJointedChain_swigregister(FreelyJointedChain)
800 
801 class LowestRefinedPairScore(IMP.PairScore):
802  """Proxy of C++ IMP::misc::LowestRefinedPairScore class"""
803  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
804 
805  def __init__(self, r, f):
806  """__init__(IMP::misc::LowestRefinedPairScore self, Refiner r, PairScore f) -> LowestRefinedPairScore"""
807  this = _IMP_misc.new_LowestRefinedPairScore(r, f)
808  try:
809  self.this.append(this)
810  except:
811  self.this = this
812 
813  def do_get_inputs(self, m, pis):
814  """do_get_inputs(LowestRefinedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
815  return _IMP_misc.LowestRefinedPairScore_do_get_inputs(self, m, pis)
816 
817 
818  def get_version_info(self):
819  """get_version_info(LowestRefinedPairScore self) -> VersionInfo"""
820  return _IMP_misc.LowestRefinedPairScore_get_version_info(self)
821 
822 
823  def __str__(self):
824  """__str__(LowestRefinedPairScore self) -> std::string"""
825  return _IMP_misc.LowestRefinedPairScore___str__(self)
826 
827 
828  def __repr__(self):
829  """__repr__(LowestRefinedPairScore self) -> std::string"""
830  return _IMP_misc.LowestRefinedPairScore___repr__(self)
831 
832 
833  @staticmethod
834  def get_from(o):
835  return _object_cast_to_LowestRefinedPairScore(o)
836 
837 LowestRefinedPairScore_swigregister = _IMP_misc.LowestRefinedPairScore_swigregister
838 LowestRefinedPairScore_swigregister(LowestRefinedPairScore)
839 
840 class LogPairScore(IMP.PairScore):
841  """Proxy of C++ IMP::misc::LogPairScore class"""
842  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
843 
844  def __init__(self):
845  """__init__(IMP::misc::LogPairScore self) -> LogPairScore"""
846  this = _IMP_misc.new_LogPairScore()
847  try:
848  self.this.append(this)
849  except:
850  self.this = this
851 
852  def do_get_inputs(self, arg2, arg3):
853  """do_get_inputs(LogPairScore self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
854  return _IMP_misc.LogPairScore_do_get_inputs(self, arg2, arg3)
855 
856 
857  def get_version_info(self):
858  """get_version_info(LogPairScore self) -> VersionInfo"""
859  return _IMP_misc.LogPairScore_get_version_info(self)
860 
861 
862  def get_particle_pairs(self):
863  """get_particle_pairs(LogPairScore self) -> IMP::ParticlePairsTemp"""
864  return _IMP_misc.LogPairScore_get_particle_pairs(self)
865 
866 
867  def clear(self):
868  """clear(LogPairScore self)"""
869  return _IMP_misc.LogPairScore_clear(self)
870 
871 
872  def get_contains(self, pp):
873  """get_contains(LogPairScore self, IMP::ParticlePair const & pp) -> bool"""
874  return _IMP_misc.LogPairScore_get_contains(self, pp)
875 
876 
877  def __str__(self):
878  """__str__(LogPairScore self) -> std::string"""
879  return _IMP_misc.LogPairScore___str__(self)
880 
881 
882  def __repr__(self):
883  """__repr__(LogPairScore self) -> std::string"""
884  return _IMP_misc.LogPairScore___repr__(self)
885 
886 
887  @staticmethod
888  def get_from(o):
889  return _object_cast_to_LogPairScore(o)
890 
891 LogPairScore_swigregister = _IMP_misc.LogPairScore_swigregister
892 LogPairScore_swigregister(LogPairScore)
893 
894 class StateAdaptor(IMP.ScoreState):
895  """Proxy of C++ IMP::misc::StateAdaptor class"""
896  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
897 
898  def __init__(self, m, before, after):
899  """__init__(IMP::misc::StateAdaptor self, Model m, OptimizerState before, OptimizerState after) -> StateAdaptor"""
900  this = _IMP_misc.new_StateAdaptor(m, before, after)
901  try:
902  self.this.append(this)
903  except:
904  self.this = this
905 
906  def do_before_evaluate(self):
907  """do_before_evaluate(StateAdaptor self)"""
908  return _IMP_misc.StateAdaptor_do_before_evaluate(self)
909 
910 
911  def do_after_evaluate(self, da):
912  """do_after_evaluate(StateAdaptor self, DerivativeAccumulator da)"""
913  return _IMP_misc.StateAdaptor_do_after_evaluate(self, da)
914 
915 
916  def do_get_inputs(self):
917  """do_get_inputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
918  return _IMP_misc.StateAdaptor_do_get_inputs(self)
919 
920 
921  def do_get_outputs(self):
922  """do_get_outputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
923  return _IMP_misc.StateAdaptor_do_get_outputs(self)
924 
925 
926  def get_version_info(self):
927  """get_version_info(StateAdaptor self) -> VersionInfo"""
928  return _IMP_misc.StateAdaptor_get_version_info(self)
929 
930 
931  def __str__(self):
932  """__str__(StateAdaptor self) -> std::string"""
933  return _IMP_misc.StateAdaptor___str__(self)
934 
935 
936  def __repr__(self):
937  """__repr__(StateAdaptor self) -> std::string"""
938  return _IMP_misc.StateAdaptor___repr__(self)
939 
940 
941  @staticmethod
942  def get_from(o):
943  return _object_cast_to_StateAdaptor(o)
944 
945 StateAdaptor_swigregister = _IMP_misc.StateAdaptor_swigregister
946 StateAdaptor_swigregister(StateAdaptor)
947 
948 class CommonEndpointPairFilter(IMP.PairPredicate):
949  """Proxy of C++ IMP::misc::CommonEndpointPairFilter class"""
950  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
951 
952  def __init__(self):
953  """__init__(IMP::misc::CommonEndpointPairFilter self) -> CommonEndpointPairFilter"""
954  this = _IMP_misc.new_CommonEndpointPairFilter()
955  try:
956  self.this.append(this)
957  except:
958  self.this = this
959 
960  def do_get_inputs(self, m, pis):
961  """do_get_inputs(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
962  return _IMP_misc.CommonEndpointPairFilter_do_get_inputs(self, m, pis)
963 
964 
965  def get_value(self, *args):
966  """
967  get_value(CommonEndpointPairFilter self, IMP::ParticlePair const & a) -> int
968  get_value(CommonEndpointPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
969  """
970  return _IMP_misc.CommonEndpointPairFilter_get_value(self, *args)
971 
972 
973  def get_value_index(self, *args):
974  """
975  get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
976  get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
977  """
978  return _IMP_misc.CommonEndpointPairFilter_get_value_index(self, *args)
979 
980 
981  def get_version_info(self):
982  """get_version_info(CommonEndpointPairFilter self) -> VersionInfo"""
983  return _IMP_misc.CommonEndpointPairFilter_get_version_info(self)
984 
985 
986  def __str__(self):
987  """__str__(CommonEndpointPairFilter self) -> std::string"""
988  return _IMP_misc.CommonEndpointPairFilter___str__(self)
989 
990 
991  def __repr__(self):
992  """__repr__(CommonEndpointPairFilter self) -> std::string"""
993  return _IMP_misc.CommonEndpointPairFilter___repr__(self)
994 
995 
996  @staticmethod
997  def get_from(o):
998  return _object_cast_to_CommonEndpointPairFilter(o)
999 
1000 CommonEndpointPairFilter_swigregister = _IMP_misc.CommonEndpointPairFilter_swigregister
1001 CommonEndpointPairFilter_swigregister(CommonEndpointPairFilter)
1002 
1003 class CustomXYZR(IMP.core.XYZ):
1004  """Proxy of C++ IMP::misc::CustomXYZR class"""
1005  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1006 
1007  def get_decorator_traits(self):
1008  """get_decorator_traits(CustomXYZR self) -> FloatKey"""
1009  return _IMP_misc.CustomXYZR_get_decorator_traits(self)
1010 
1011 
1012  def get_default_decorator_traits():
1013  """get_default_decorator_traits() -> FloatKey"""
1014  return _IMP_misc.CustomXYZR_get_default_decorator_traits()
1015 
1016  get_default_decorator_traits = staticmethod(get_default_decorator_traits)
1017 
1018  def __init__(self, *args):
1019  """
1020  __init__(IMP::misc::CustomXYZR self) -> CustomXYZR
1021  __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id, FloatKey tr) -> CustomXYZR
1022  __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id) -> CustomXYZR
1023  __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1024  __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d) -> CustomXYZR
1025  """
1026  this = _IMP_misc.new_CustomXYZR(*args)
1027  try:
1028  self.this.append(this)
1029  except:
1030  self.this = this
1031 
1032  def show(self, *args):
1033  """
1034  show(CustomXYZR self, _ostream out)
1035  show(CustomXYZR self)
1036  """
1037  return _IMP_misc.CustomXYZR_show(self, *args)
1038 
1039 
1040  def setup_particle(*args):
1041  """
1042  setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1043  setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1044  setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1045  setup_particle(_ParticleAdaptor d) -> CustomXYZR
1046  setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1047  setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1048  setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1049  setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1050  setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1051  setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1052  setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1053  setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1054  """
1055  return _IMP_misc.CustomXYZR_setup_particle(*args)
1056 
1057  setup_particle = staticmethod(setup_particle)
1058 
1059  def get_is_setup(*args):
1060  """
1061  get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1062  get_is_setup(_ParticleAdaptor p) -> bool
1063  get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1064  get_is_setup(Model m, ParticleIndex pi) -> bool
1065  """
1066  return _IMP_misc.CustomXYZR_get_is_setup(*args)
1067 
1068  get_is_setup = staticmethod(get_is_setup)
1069 
1070  def get_radius(self):
1071  """get_radius(CustomXYZR self) -> IMP::Float"""
1072  return _IMP_misc.CustomXYZR_get_radius(self)
1073 
1074 
1075  def set_radius(self, t):
1076  """set_radius(CustomXYZR self, IMP::Float t)"""
1077  return _IMP_misc.CustomXYZR_set_radius(self, t)
1078 
1079 
1080  def get_sphere(self):
1081  """get_sphere(CustomXYZR self) -> Sphere3D"""
1082  return _IMP_misc.CustomXYZR_get_sphere(self)
1083 
1084 
1085  def set_sphere(self, s):
1086  """set_sphere(CustomXYZR self, Sphere3D s)"""
1087  return _IMP_misc.CustomXYZR_set_sphere(self, s)
1088 
1089 
1090  def get_default_radius_key():
1091  """get_default_radius_key() -> FloatKey"""
1092  return _IMP_misc.CustomXYZR_get_default_radius_key()
1093 
1094  get_default_radius_key = staticmethod(get_default_radius_key)
1095 
1096  def add_to_radius_derivative(self, v, d):
1097  """add_to_radius_derivative(CustomXYZR self, double v, DerivativeAccumulator d)"""
1098  return _IMP_misc.CustomXYZR_add_to_radius_derivative(self, v, d)
1099 
1100 
1101  def get_traits(self):
1102  """get_traits(CustomXYZR self) -> FloatKey"""
1103  return _IMP_misc.CustomXYZR_get_traits(self)
1104 
1105 
1106  def add_attribute(self, *args):
1107  """
1108  add_attribute(CustomXYZR self, FloatKey k, IMP::Float v, bool opt)
1109  add_attribute(CustomXYZR self, FloatKey a0, IMP::Float a1)
1110  add_attribute(CustomXYZR self, IntKey a0, IMP::Int a1)
1111  add_attribute(CustomXYZR self, FloatsKey a0, IMP::Floats a1)
1112  add_attribute(CustomXYZR self, IntsKey a0, IMP::Ints a1)
1113  add_attribute(CustomXYZR self, StringKey a0, IMP::String a1)
1114  add_attribute(CustomXYZR self, ParticleIndexKey a0, Particle a1)
1115  add_attribute(CustomXYZR self, ObjectKey a0, Object a1)
1116  """
1117  return _IMP_misc.CustomXYZR_add_attribute(self, *args)
1118 
1119 
1120  def get_value(self, *args):
1121  """
1122  get_value(CustomXYZR self, FloatKey a0) -> IMP::Float
1123  get_value(CustomXYZR self, IntKey a0) -> IMP::Int
1124  get_value(CustomXYZR self, FloatsKey a0) -> IMP::Floats
1125  get_value(CustomXYZR self, IntsKey a0) -> IMP::Ints
1126  get_value(CustomXYZR self, StringKey a0) -> IMP::String
1127  get_value(CustomXYZR self, ParticleIndexKey a0) -> Particle
1128  get_value(CustomXYZR self, ObjectKey a0) -> Object
1129  """
1130  return _IMP_misc.CustomXYZR_get_value(self, *args)
1131 
1132 
1133  def set_value(self, *args):
1134  """
1135  set_value(CustomXYZR self, FloatKey a0, IMP::Float a1)
1136  set_value(CustomXYZR self, IntKey a0, IMP::Int a1)
1137  set_value(CustomXYZR self, FloatsKey a0, IMP::Floats a1)
1138  set_value(CustomXYZR self, IntsKey a0, IMP::Ints a1)
1139  set_value(CustomXYZR self, StringKey a0, IMP::String a1)
1140  set_value(CustomXYZR self, ParticleIndexKey a0, Particle a1)
1141  set_value(CustomXYZR self, ObjectKey a0, Object a1)
1142  """
1143  return _IMP_misc.CustomXYZR_set_value(self, *args)
1144 
1145 
1146  def remove_attribute(self, *args):
1147  """
1148  remove_attribute(CustomXYZR self, FloatKey a0)
1149  remove_attribute(CustomXYZR self, IntKey a0)
1150  remove_attribute(CustomXYZR self, FloatsKey a0)
1151  remove_attribute(CustomXYZR self, IntsKey a0)
1152  remove_attribute(CustomXYZR self, StringKey a0)
1153  remove_attribute(CustomXYZR self, ParticleIndexKey a0)
1154  remove_attribute(CustomXYZR self, ObjectKey a0)
1155  """
1156  return _IMP_misc.CustomXYZR_remove_attribute(self, *args)
1157 
1158 
1159  def has_attribute(self, *args):
1160  """
1161  has_attribute(CustomXYZR self, FloatKey a0) -> bool
1162  has_attribute(CustomXYZR self, IntKey a0) -> bool
1163  has_attribute(CustomXYZR self, FloatsKey a0) -> bool
1164  has_attribute(CustomXYZR self, IntsKey a0) -> bool
1165  has_attribute(CustomXYZR self, StringKey a0) -> bool
1166  has_attribute(CustomXYZR self, ParticleIndexKey a0) -> bool
1167  has_attribute(CustomXYZR self, ObjectKey a0) -> bool
1168  """
1169  return _IMP_misc.CustomXYZR_has_attribute(self, *args)
1170 
1171 
1172  def get_derivative(self, a0):
1173  """get_derivative(CustomXYZR self, FloatKey a0) -> double"""
1174  return _IMP_misc.CustomXYZR_get_derivative(self, a0)
1175 
1176 
1177  def get_name(self):
1178  """get_name(CustomXYZR self) -> std::string"""
1179  return _IMP_misc.CustomXYZR_get_name(self)
1180 
1181 
1182  def clear_caches(self):
1183  """clear_caches(CustomXYZR self)"""
1184  return _IMP_misc.CustomXYZR_clear_caches(self)
1185 
1186 
1187  def set_name(self, a0):
1188  """set_name(CustomXYZR self, std::string a0)"""
1189  return _IMP_misc.CustomXYZR_set_name(self, a0)
1190 
1191 
1192  def set_check_level(self, a0):
1193  """set_check_level(CustomXYZR self, IMP::CheckLevel a0)"""
1194  return _IMP_misc.CustomXYZR_set_check_level(self, a0)
1195 
1196 
1197  def add_to_derivative(self, a0, a1, a2):
1198  """add_to_derivative(CustomXYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1199  return _IMP_misc.CustomXYZR_add_to_derivative(self, a0, a1, a2)
1200 
1201 
1202  def set_is_optimized(self, a0, a1):
1203  """set_is_optimized(CustomXYZR self, FloatKey a0, bool a1)"""
1204  return _IMP_misc.CustomXYZR_set_is_optimized(self, a0, a1)
1205 
1206 
1207  def get_is_optimized(self, a0):
1208  """get_is_optimized(CustomXYZR self, FloatKey a0) -> bool"""
1209  return _IMP_misc.CustomXYZR_get_is_optimized(self, a0)
1210 
1211 
1212  def get_check_level(self):
1213  """get_check_level(CustomXYZR self) -> IMP::CheckLevel"""
1214  return _IMP_misc.CustomXYZR_get_check_level(self)
1215 
1216 
1217  def __eq__(self, *args):
1218  """
1219  __eq__(CustomXYZR self, CustomXYZR o) -> bool
1220  __eq__(CustomXYZR self, Particle d) -> bool
1221  """
1222  return _IMP_misc.CustomXYZR___eq__(self, *args)
1223 
1224 
1225  def __ne__(self, *args):
1226  """
1227  __ne__(CustomXYZR self, CustomXYZR o) -> bool
1228  __ne__(CustomXYZR self, Particle d) -> bool
1229  """
1230  return _IMP_misc.CustomXYZR___ne__(self, *args)
1231 
1232 
1233  def __le__(self, *args):
1234  """
1235  __le__(CustomXYZR self, CustomXYZR o) -> bool
1236  __le__(CustomXYZR self, Particle d) -> bool
1237  """
1238  return _IMP_misc.CustomXYZR___le__(self, *args)
1239 
1240 
1241  def __lt__(self, *args):
1242  """
1243  __lt__(CustomXYZR self, CustomXYZR o) -> bool
1244  __lt__(CustomXYZR self, Particle d) -> bool
1245  """
1246  return _IMP_misc.CustomXYZR___lt__(self, *args)
1247 
1248 
1249  def __ge__(self, *args):
1250  """
1251  __ge__(CustomXYZR self, CustomXYZR o) -> bool
1252  __ge__(CustomXYZR self, Particle d) -> bool
1253  """
1254  return _IMP_misc.CustomXYZR___ge__(self, *args)
1255 
1256 
1257  def __gt__(self, *args):
1258  """
1259  __gt__(CustomXYZR self, CustomXYZR o) -> bool
1260  __gt__(CustomXYZR self, Particle d) -> bool
1261  """
1262  return _IMP_misc.CustomXYZR___gt__(self, *args)
1263 
1264 
1265  def __hash__(self):
1266  """__hash__(CustomXYZR self) -> std::size_t"""
1267  return _IMP_misc.CustomXYZR___hash__(self)
1268 
1269 
1270  def __str__(self):
1271  """__str__(CustomXYZR self) -> std::string"""
1272  return _IMP_misc.CustomXYZR___str__(self)
1273 
1274 
1275  def __repr__(self):
1276  """__repr__(CustomXYZR self) -> std::string"""
1277  return _IMP_misc.CustomXYZR___repr__(self)
1278 
1279  __swig_destroy__ = _IMP_misc.delete_CustomXYZR
1280  __del__ = lambda self: None
1281 CustomXYZR_swigregister = _IMP_misc.CustomXYZR_swigregister
1282 CustomXYZR_swigregister(CustomXYZR)
1283 
1284 def CustomXYZR_get_default_decorator_traits():
1285  """CustomXYZR_get_default_decorator_traits() -> FloatKey"""
1286  return _IMP_misc.CustomXYZR_get_default_decorator_traits()
1287 
1288 def CustomXYZR_setup_particle(*args):
1289  """
1290  setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1291  setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1292  setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1293  setup_particle(_ParticleAdaptor d) -> CustomXYZR
1294  setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1295  setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1296  setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1297  setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1298  setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1299  setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1300  setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1301  CustomXYZR_setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1302  """
1303  return _IMP_misc.CustomXYZR_setup_particle(*args)
1304 
1305 def CustomXYZR_get_is_setup(*args):
1306  """
1307  get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1308  get_is_setup(_ParticleAdaptor p) -> bool
1309  get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1310  CustomXYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
1311  """
1312  return _IMP_misc.CustomXYZR_get_is_setup(*args)
1313 
1314 def CustomXYZR_get_default_radius_key():
1315  """CustomXYZR_get_default_radius_key() -> FloatKey"""
1316  return _IMP_misc.CustomXYZR_get_default_radius_key()
1317 
1318 
1319 def __lshift__(out, n):
1320  """__lshift__(_ostream out, CustomXYZR n) -> _ostream"""
1321  return _IMP_misc.__lshift__(out, n)
1322 
1323 def get_distance(a, b):
1324  """get_distance(CustomXYZR a, CustomXYZR b) -> double"""
1325  return _IMP_misc.get_distance(a, b)
1326 
1327 def get_sphere_d_geometry(d):
1328  """get_sphere_d_geometry(CustomXYZR d) -> Sphere3D"""
1329  return _IMP_misc.get_sphere_d_geometry(d)
1330 
1331 def set_sphere_d_geometry(d, v):
1332  """set_sphere_d_geometry(CustomXYZR d, Sphere3D v)"""
1333  return _IMP_misc.set_sphere_d_geometry(d, v)
1334 class SoftCylinderPairScore(IMP.PairScore):
1335  """Proxy of C++ IMP::misc::SoftCylinderPairScore class"""
1336  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1337 
1338  def __init__(self, k):
1339  """__init__(IMP::misc::SoftCylinderPairScore self, double k) -> SoftCylinderPairScore"""
1340  this = _IMP_misc.new_SoftCylinderPairScore(k)
1341  try:
1342  self.this.append(this)
1343  except:
1344  self.this = this
1345 
1346  def do_get_inputs(self, m, pis):
1347  """do_get_inputs(SoftCylinderPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1348  return _IMP_misc.SoftCylinderPairScore_do_get_inputs(self, m, pis)
1349 
1350 
1351  def get_version_info(self):
1352  """get_version_info(SoftCylinderPairScore self) -> VersionInfo"""
1353  return _IMP_misc.SoftCylinderPairScore_get_version_info(self)
1354 
1355 
1356  def __str__(self):
1357  """__str__(SoftCylinderPairScore self) -> std::string"""
1358  return _IMP_misc.SoftCylinderPairScore___str__(self)
1359 
1360 
1361  def __repr__(self):
1362  """__repr__(SoftCylinderPairScore self) -> std::string"""
1363  return _IMP_misc.SoftCylinderPairScore___repr__(self)
1364 
1365 
1366  @staticmethod
1367  def get_from(o):
1368  return _object_cast_to_SoftCylinderPairScore(o)
1369 
1370 SoftCylinderPairScore_swigregister = _IMP_misc.SoftCylinderPairScore_swigregister
1371 SoftCylinderPairScore_swigregister(SoftCylinderPairScore)
1372 
1373 class DecayPairContainerOptimizerState(IMP.OptimizerState):
1374  """Proxy of C++ IMP::misc::DecayPairContainerOptimizerState class"""
1375  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1376 
1377  def __init__(self, *args):
1378  """
1379  __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list, std::string name) -> DecayPairContainerOptimizerState
1380  __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list) -> DecayPairContainerOptimizerState
1381  """
1382  this = _IMP_misc.new_DecayPairContainerOptimizerState(*args)
1383  try:
1384  self.this.append(this)
1385  except:
1386  self.this = this
1387 
1388  def get_output_container(self):
1389  """get_output_container(DecayPairContainerOptimizerState self) -> PairContainer"""
1390  return _IMP_misc.DecayPairContainerOptimizerState_get_output_container(self)
1391 
1392 
1393  def do_update(self, call_num):
1394  """do_update(DecayPairContainerOptimizerState self, unsigned int call_num)"""
1395  return _IMP_misc.DecayPairContainerOptimizerState_do_update(self, call_num)
1396 
1397 
1398  def get_version_info(self):
1399  """get_version_info(DecayPairContainerOptimizerState self) -> VersionInfo"""
1400  return _IMP_misc.DecayPairContainerOptimizerState_get_version_info(self)
1401 
1402 
1403  def __str__(self):
1404  """__str__(DecayPairContainerOptimizerState self) -> std::string"""
1405  return _IMP_misc.DecayPairContainerOptimizerState___str__(self)
1406 
1407 
1408  def __repr__(self):
1409  """__repr__(DecayPairContainerOptimizerState self) -> std::string"""
1410  return _IMP_misc.DecayPairContainerOptimizerState___repr__(self)
1411 
1412 
1413  @staticmethod
1414  def get_from(o):
1415  return _object_cast_to_DecayPairContainerOptimizerState(o)
1416 
1417 DecayPairContainerOptimizerState_swigregister = _IMP_misc.DecayPairContainerOptimizerState_swigregister
1418 DecayPairContainerOptimizerState_swigregister(DecayPairContainerOptimizerState)
1419 
1420 
1421 def get_module_version():
1422  """get_module_version() -> std::string const"""
1423  return _IMP_misc.get_module_version()
1424 
1425 def get_example_path(fname):
1426  """get_example_path(std::string fname) -> std::string"""
1427  return _IMP_misc.get_example_path(fname)
1428 
1429 def get_data_path(fname):
1430  """get_data_path(std::string fname) -> std::string"""
1431  return _IMP_misc.get_data_path(fname)
1432 
1433 from . import _version_check
1434 _version_check.check_version(get_module_version())
1435 __version__ = get_module_version()
1436 
1437 
1438 
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.