10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_misc', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_misc', fp, pathname, description)
32 _IMP_misc = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_MISC_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_MISC_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_misc.delete_IMP_MISC_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_MISC_SwigPyIterator self) -> PyObject *"""
125 return _IMP_misc.IMP_MISC_SwigPyIterator_value(self)
130 incr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
131 incr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
133 return _IMP_misc.IMP_MISC_SwigPyIterator_incr(self, n)
138 decr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
139 decr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
141 return _IMP_misc.IMP_MISC_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_misc.IMP_MISC_SwigPyIterator_distance(self, x)
150 """equal(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
151 return _IMP_misc.IMP_MISC_SwigPyIterator_equal(self, x)
155 """copy(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator"""
156 return _IMP_misc.IMP_MISC_SwigPyIterator_copy(self)
160 """next(IMP_MISC_SwigPyIterator self) -> PyObject *"""
161 return _IMP_misc.IMP_MISC_SwigPyIterator_next(self)
165 """__next__(IMP_MISC_SwigPyIterator self) -> PyObject *"""
166 return _IMP_misc.IMP_MISC_SwigPyIterator___next__(self)
170 """previous(IMP_MISC_SwigPyIterator self) -> PyObject *"""
171 return _IMP_misc.IMP_MISC_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
176 return _IMP_misc.IMP_MISC_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
181 return _IMP_misc.IMP_MISC_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
186 return _IMP_misc.IMP_MISC_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
191 return _IMP_misc.IMP_MISC_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
196 return _IMP_misc.IMP_MISC_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
201 return _IMP_misc.IMP_MISC_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator
207 __sub__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_misc.IMP_MISC_SwigPyIterator___sub__(self, *args)
213 IMP_MISC_SwigPyIterator_swigregister = _IMP_misc.IMP_MISC_SwigPyIterator_swigregister
214 IMP_MISC_SwigPyIterator_swigregister(IMP_MISC_SwigPyIterator)
223 _IMP_misc.IMP_DEBUG_swigconstant(_IMP_misc)
224 IMP_DEBUG = _IMP_misc.IMP_DEBUG
226 _IMP_misc.IMP_RELEASE_swigconstant(_IMP_misc)
227 IMP_RELEASE = _IMP_misc.IMP_RELEASE
229 _IMP_misc.IMP_SILENT_swigconstant(_IMP_misc)
230 IMP_SILENT = _IMP_misc.IMP_SILENT
232 _IMP_misc.IMP_PROGRESS_swigconstant(_IMP_misc)
233 IMP_PROGRESS = _IMP_misc.IMP_PROGRESS
235 _IMP_misc.IMP_TERSE_swigconstant(_IMP_misc)
236 IMP_TERSE = _IMP_misc.IMP_TERSE
238 _IMP_misc.IMP_VERBOSE_swigconstant(_IMP_misc)
239 IMP_VERBOSE = _IMP_misc.IMP_VERBOSE
241 _IMP_misc.IMP_MEMORY_swigconstant(_IMP_misc)
242 IMP_MEMORY = _IMP_misc.IMP_MEMORY
244 _IMP_misc.IMP_NONE_swigconstant(_IMP_misc)
245 IMP_NONE = _IMP_misc.IMP_NONE
247 _IMP_misc.IMP_USAGE_swigconstant(_IMP_misc)
248 IMP_USAGE = _IMP_misc.IMP_USAGE
250 _IMP_misc.IMP_INTERNAL_swigconstant(_IMP_misc)
251 IMP_INTERNAL = _IMP_misc.IMP_INTERNAL
253 _IMP_misc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_misc)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_misc.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_misc.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_misc)
257 IMP_COMPILER_HAS_AUTO = _IMP_misc.IMP_COMPILER_HAS_AUTO
259 _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_misc)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_misc.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_misc)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_misc.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_misc.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_misc)
269 IMP_KERNEL_HAS_NUMPY = _IMP_misc.IMP_KERNEL_HAS_NUMPY
271 _IMP_misc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_misc)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_misc.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_misc)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_misc)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_misc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_misc)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_misc.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_misc._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_misc._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_misc.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_misc)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_misc.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_misc.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_misc)
329 IMP_COMPILER_HAS_FINAL = _IMP_misc.IMP_COMPILER_HAS_FINAL
331 _IMP_misc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_misc)
332 IMP_HAS_NOEXCEPT = _IMP_misc.IMP_HAS_NOEXCEPT
334 _IMP_misc.IMP_C_OPEN_BINARY_swigconstant(_IMP_misc)
335 IMP_C_OPEN_BINARY = _IMP_misc.IMP_C_OPEN_BINARY
338 _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_misc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_misc)
351 IMP_CGAL_HAS_NUMPY = _IMP_misc.IMP_CGAL_HAS_NUMPY
353 _IMP_misc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_misc)
354 IMPCGAL_SHOW_WARNINGS = _IMP_misc.IMPCGAL_SHOW_WARNINGS
357 _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_misc)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_misc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_misc)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_CGAL
375 _IMP_misc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_misc)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_misc.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_misc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_misc)
379 IMP_ALGEBRA_HAS_ANN = _IMP_misc.IMP_ALGEBRA_HAS_ANN
381 _IMP_misc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_misc)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_misc.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_misc)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_misc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_misc)
401 IMP_DISPLAY_HAS_CGAL = _IMP_misc.IMP_DISPLAY_HAS_CGAL
403 _IMP_misc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_misc)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_misc.IMP_DISPLAY_HAS_NUMPY
406 _IMP_misc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_misc)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_misc.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_misc)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
413 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
416 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
422 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
425 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_misc)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL
428 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_misc)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5
431 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_misc)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_NUMPY
434 _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_misc)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS
438 _IMP_misc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_misc)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_misc.IMP_CORE_HAS_IMP_CGAL
441 _IMP_misc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_misc.IMP_CORE_HAS_IMP_KERNEL
444 _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM
447 _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
450 _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM
453 _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM
456 _IMP_misc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_misc)
457 IMP_CORE_HAS_CGAL = _IMP_misc.IMP_CORE_HAS_CGAL
459 _IMP_misc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_misc)
460 IMP_CORE_HAS_HDF5 = _IMP_misc.IMP_CORE_HAS_HDF5
462 _IMP_misc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_misc)
463 IMP_CORE_HAS_NUMPY = _IMP_misc.IMP_CORE_HAS_NUMPY
465 _IMP_misc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_misc)
466 IMPCORE_SHOW_WARNINGS = _IMP_misc.IMPCORE_SHOW_WARNINGS
469 _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
470 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA
472 _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_misc)
473 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL
475 _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
476 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY
478 _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
479 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL
481 _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
482 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
484 _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
485 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
487 _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
488 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
490 _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
491 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM
493 _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
494 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM
496 _IMP_misc.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_misc)
497 IMP_CONTAINER_HAS_CGAL = _IMP_misc.IMP_CONTAINER_HAS_CGAL
499 _IMP_misc.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_misc)
500 IMP_CONTAINER_HAS_HDF5 = _IMP_misc.IMP_CONTAINER_HAS_HDF5
502 _IMP_misc.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_misc)
503 IMP_CONTAINER_HAS_NUMPY = _IMP_misc.IMP_CONTAINER_HAS_NUMPY
505 _IMP_misc.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
506 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_misc.IMP_CONTAINER_HAS_PYTHON_IHM
508 _IMP_misc.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_misc)
509 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_misc.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
511 _IMP_misc.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_misc)
512 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_misc.IMP_CONTAINER_HAS_ROBIN_MAP
514 _IMP_misc.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_misc)
515 IMPCONTAINER_SHOW_WARNINGS = _IMP_misc.IMPCONTAINER_SHOW_WARNINGS
518 _IMP_misc.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_misc)
519 IMP_ATOM_HAS_IMP_CGAL = _IMP_misc.IMP_ATOM_HAS_IMP_CGAL
521 _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
522 IMP_ATOM_HAS_IMP_KERNEL = _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL
524 _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
525 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
527 _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
528 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
530 _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
531 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM
533 _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
534 IMP_ATOM_HAS_BOOST_REGEX = _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX
536 _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
537 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM
539 _IMP_misc.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_misc)
540 IMP_ATOM_HAS_CGAL = _IMP_misc.IMP_ATOM_HAS_CGAL
542 _IMP_misc.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_misc)
543 IMP_ATOM_HAS_HDF5 = _IMP_misc.IMP_ATOM_HAS_HDF5
545 _IMP_misc.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_misc)
546 IMP_ATOM_HAS_NUMPY = _IMP_misc.IMP_ATOM_HAS_NUMPY
548 _IMP_misc.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
549 IMP_ATOM_HAS_PYTHON_IHM = _IMP_misc.IMP_ATOM_HAS_PYTHON_IHM
551 _IMP_misc.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_misc)
552 IMPATOM_SHOW_WARNINGS = _IMP_misc.IMPATOM_SHOW_WARNINGS
554 _IMP_misc.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_misc)
555 IMP_ATOM_TYPE_INDEX = _IMP_misc.IMP_ATOM_TYPE_INDEX
557 _IMP_misc.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_misc)
558 IMP_RESIDUE_TYPE_INDEX = _IMP_misc.IMP_RESIDUE_TYPE_INDEX
560 _IMP_misc.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_misc)
561 IMP_HIERARCHY_TYPE_INDEX = _IMP_misc.IMP_HIERARCHY_TYPE_INDEX
563 _IMP_misc.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_misc)
564 IMP_CHAIN_TYPE_INDEX = _IMP_misc.IMP_CHAIN_TYPE_INDEX
567 _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
568 IMP_MISC_HAS_IMP_ALGEBRA = _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA
570 _IMP_misc.IMP_MISC_HAS_IMP_CGAL_swigconstant(_IMP_misc)
571 IMP_MISC_HAS_IMP_CGAL = _IMP_misc.IMP_MISC_HAS_IMP_CGAL
573 _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER_swigconstant(_IMP_misc)
574 IMP_MISC_HAS_IMP_CONTAINER = _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER
576 _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
577 IMP_MISC_HAS_IMP_DISPLAY = _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY
579 _IMP_misc.IMP_MISC_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
580 IMP_MISC_HAS_IMP_KERNEL = _IMP_misc.IMP_MISC_HAS_IMP_KERNEL
582 _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
583 IMP_MISC_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR
585 _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
586 IMP_MISC_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM
588 _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
589 IMP_MISC_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS
591 _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
592 IMP_MISC_HAS_BOOST_RANDOM = _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM
594 _IMP_misc.IMP_MISC_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
595 IMP_MISC_HAS_BOOST_REGEX = _IMP_misc.IMP_MISC_HAS_BOOST_REGEX
597 _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
598 IMP_MISC_HAS_BOOST_SYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM
600 _IMP_misc.IMP_MISC_HAS_CGAL_swigconstant(_IMP_misc)
601 IMP_MISC_HAS_CGAL = _IMP_misc.IMP_MISC_HAS_CGAL
603 _IMP_misc.IMP_MISC_HAS_HDF5_swigconstant(_IMP_misc)
604 IMP_MISC_HAS_HDF5 = _IMP_misc.IMP_MISC_HAS_HDF5
606 _IMP_misc.IMP_MISC_HAS_NUMPY_swigconstant(_IMP_misc)
607 IMP_MISC_HAS_NUMPY = _IMP_misc.IMP_MISC_HAS_NUMPY
609 _IMP_misc.IMP_MISC_HAS_PYTHON_IHM_swigconstant(_IMP_misc)
610 IMP_MISC_HAS_PYTHON_IHM = _IMP_misc.IMP_MISC_HAS_PYTHON_IHM
612 _IMP_misc.IMPMISC_SHOW_WARNINGS_swigconstant(_IMP_misc)
613 IMPMISC_SHOW_WARNINGS = _IMP_misc.IMPMISC_SHOW_WARNINGS
615 _object_types.append(
"WormLikeChain")
618 def _object_cast_to_WormLikeChain(o):
619 """_object_cast_to_WormLikeChain(Object o) -> WormLikeChain"""
620 return _IMP_misc._object_cast_to_WormLikeChain(o)
622 _object_types.append(
"FreelyJointedChain")
625 def _object_cast_to_FreelyJointedChain(o):
626 """_object_cast_to_FreelyJointedChain(Object o) -> FreelyJointedChain"""
627 return _IMP_misc._object_cast_to_FreelyJointedChain(o)
629 _object_types.append(
"StateAdaptor")
632 def _object_cast_to_StateAdaptor(o):
633 """_object_cast_to_StateAdaptor(Object o) -> StateAdaptor"""
634 return _IMP_misc._object_cast_to_StateAdaptor(o)
636 _object_types.append(
"CommonEndpointPairFilter")
639 def _object_cast_to_CommonEndpointPairFilter(o):
640 """_object_cast_to_CommonEndpointPairFilter(Object o) -> CommonEndpointPairFilter"""
641 return _IMP_misc._object_cast_to_CommonEndpointPairFilter(o)
643 _object_types.append(
"LogPairScore")
646 def _object_cast_to_LogPairScore(o):
647 """_object_cast_to_LogPairScore(Object o) -> LogPairScore"""
648 return _IMP_misc._object_cast_to_LogPairScore(o)
650 _object_types.append(
"LowestRefinedPairScore")
653 def _object_cast_to_LowestRefinedPairScore(o):
654 """_object_cast_to_LowestRefinedPairScore(Object o) -> LowestRefinedPairScore"""
655 return _IMP_misc._object_cast_to_LowestRefinedPairScore(o)
657 _object_types.append(
"SoftCylinderPairScore")
660 def _object_cast_to_SoftCylinderPairScore(o):
661 """_object_cast_to_SoftCylinderPairScore(Object o) -> SoftCylinderPairScore"""
662 return _IMP_misc._object_cast_to_SoftCylinderPairScore(o)
664 _object_types.append(
"DecayPairContainerOptimizerState")
667 def _object_cast_to_DecayPairContainerOptimizerState(o):
668 """_object_cast_to_DecayPairContainerOptimizerState(Object o) -> DecayPairContainerOptimizerState"""
669 return _IMP_misc._object_cast_to_DecayPairContainerOptimizerState(o)
671 def CustomXYZRs(l=[]):
672 return [CustomXYZR(x)
for x
in l]
673 _plural_types.append(
"CustomXYZRs")
676 _value_types.append(
"CustomXYZR")
679 """Proxy of C++ IMP::misc::WormLikeChain class"""
680 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
682 def __init__(self, l_max, lp):
683 """__init__(IMP::misc::WormLikeChain self, IMP::Float l_max, IMP::Float lp) -> WormLikeChain"""
684 this = _IMP_misc.new_WormLikeChain(l_max, lp)
686 self.this.append(this)
691 """get_version_info(WormLikeChain self) -> VersionInfo"""
692 return _IMP_misc.WormLikeChain_get_version_info(self)
695 def do_show(self, out):
696 """do_show(WormLikeChain self, _ostream out)"""
697 return _IMP_misc.WormLikeChain_do_show(self, out)
701 """__str__(WormLikeChain self) -> std::string"""
702 return _IMP_misc.WormLikeChain___str__(self)
706 """__repr__(WormLikeChain self) -> std::string"""
707 return _IMP_misc.WormLikeChain___repr__(self)
712 return _object_cast_to_WormLikeChain(o)
714 WormLikeChain_swigregister = _IMP_misc.WormLikeChain_swigregister
715 WormLikeChain_swigregister(WormLikeChain)
718 """Proxy of C++ IMP::misc::FreelyJointedChain class"""
719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
721 def __init__(self, link_num, link_length):
722 """__init__(IMP::misc::FreelyJointedChain self, int link_num, double link_length) -> FreelyJointedChain"""
723 this = _IMP_misc.new_FreelyJointedChain(link_num, link_length)
725 self.this.append(this)
730 """get_version_info(FreelyJointedChain self) -> VersionInfo"""
731 return _IMP_misc.FreelyJointedChain_get_version_info(self)
734 def get_link_number(self):
735 """get_link_number(FreelyJointedChain self) -> int"""
736 return _IMP_misc.FreelyJointedChain_get_link_number(self)
739 def get_link_length(self):
740 """get_link_length(FreelyJointedChain self) -> double"""
741 return _IMP_misc.FreelyJointedChain_get_link_length(self)
744 def set_link_number(self, N):
745 """set_link_number(FreelyJointedChain self, int N)"""
746 return _IMP_misc.FreelyJointedChain_set_link_number(self, N)
749 def set_link_length(self, b):
750 """set_link_length(FreelyJointedChain self, double b)"""
751 return _IMP_misc.FreelyJointedChain_set_link_length(self, b)
754 def get_distance_at_minimum(self):
755 """get_distance_at_minimum(FreelyJointedChain self) -> double"""
756 return _IMP_misc.FreelyJointedChain_get_distance_at_minimum(self)
759 def get_average_distance(self):
760 """get_average_distance(FreelyJointedChain self) -> double"""
761 return _IMP_misc.FreelyJointedChain_get_average_distance(self)
765 """__str__(FreelyJointedChain self) -> std::string"""
766 return _IMP_misc.FreelyJointedChain___str__(self)
770 """__repr__(FreelyJointedChain self) -> std::string"""
771 return _IMP_misc.FreelyJointedChain___repr__(self)
776 return _object_cast_to_FreelyJointedChain(o)
778 FreelyJointedChain_swigregister = _IMP_misc.FreelyJointedChain_swigregister
779 FreelyJointedChain_swigregister(FreelyJointedChain)
782 """Proxy of C++ IMP::misc::LowestRefinedPairScore class"""
783 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
785 def __init__(self, r, f):
786 """__init__(IMP::misc::LowestRefinedPairScore self, Refiner r, PairScore f) -> LowestRefinedPairScore"""
787 this = _IMP_misc.new_LowestRefinedPairScore(r, f)
789 self.this.append(this)
794 """do_get_inputs(LowestRefinedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
795 return _IMP_misc.LowestRefinedPairScore_do_get_inputs(self, m, pis)
799 """get_version_info(LowestRefinedPairScore self) -> VersionInfo"""
800 return _IMP_misc.LowestRefinedPairScore_get_version_info(self)
804 """__str__(LowestRefinedPairScore self) -> std::string"""
805 return _IMP_misc.LowestRefinedPairScore___str__(self)
809 """__repr__(LowestRefinedPairScore self) -> std::string"""
810 return _IMP_misc.LowestRefinedPairScore___repr__(self)
815 return _object_cast_to_LowestRefinedPairScore(o)
817 LowestRefinedPairScore_swigregister = _IMP_misc.LowestRefinedPairScore_swigregister
818 LowestRefinedPairScore_swigregister(LowestRefinedPairScore)
821 """Proxy of C++ IMP::misc::LogPairScore class"""
822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
825 """__init__(IMP::misc::LogPairScore self) -> LogPairScore"""
826 this = _IMP_misc.new_LogPairScore()
828 self.this.append(this)
833 """do_get_inputs(LogPairScore self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
834 return _IMP_misc.LogPairScore_do_get_inputs(self, arg2, arg3)
838 """get_version_info(LogPairScore self) -> VersionInfo"""
839 return _IMP_misc.LogPairScore_get_version_info(self)
842 def get_particle_pairs(self):
843 """get_particle_pairs(LogPairScore self) -> IMP::ParticlePairsTemp"""
844 return _IMP_misc.LogPairScore_get_particle_pairs(self)
848 """clear(LogPairScore self)"""
849 return _IMP_misc.LogPairScore_clear(self)
852 def get_contains(self, pp):
853 """get_contains(LogPairScore self, IMP::ParticlePair const & pp) -> bool"""
854 return _IMP_misc.LogPairScore_get_contains(self, pp)
858 """__str__(LogPairScore self) -> std::string"""
859 return _IMP_misc.LogPairScore___str__(self)
863 """__repr__(LogPairScore self) -> std::string"""
864 return _IMP_misc.LogPairScore___repr__(self)
869 return _object_cast_to_LogPairScore(o)
871 LogPairScore_swigregister = _IMP_misc.LogPairScore_swigregister
872 LogPairScore_swigregister(LogPairScore)
875 """Proxy of C++ IMP::misc::StateAdaptor class"""
876 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
878 def __init__(self, m, before, after):
879 """__init__(IMP::misc::StateAdaptor self, Model m, OptimizerState before, OptimizerState after) -> StateAdaptor"""
880 this = _IMP_misc.new_StateAdaptor(m, before, after)
882 self.this.append(this)
886 def do_before_evaluate(self):
887 """do_before_evaluate(StateAdaptor self)"""
888 return _IMP_misc.StateAdaptor_do_before_evaluate(self)
891 def do_after_evaluate(self, da):
892 """do_after_evaluate(StateAdaptor self, DerivativeAccumulator da)"""
893 return _IMP_misc.StateAdaptor_do_after_evaluate(self, da)
897 """do_get_inputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
898 return _IMP_misc.StateAdaptor_do_get_inputs(self)
902 """do_get_outputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
903 return _IMP_misc.StateAdaptor_do_get_outputs(self)
907 """get_version_info(StateAdaptor self) -> VersionInfo"""
908 return _IMP_misc.StateAdaptor_get_version_info(self)
912 """__str__(StateAdaptor self) -> std::string"""
913 return _IMP_misc.StateAdaptor___str__(self)
917 """__repr__(StateAdaptor self) -> std::string"""
918 return _IMP_misc.StateAdaptor___repr__(self)
923 return _object_cast_to_StateAdaptor(o)
925 StateAdaptor_swigregister = _IMP_misc.StateAdaptor_swigregister
926 StateAdaptor_swigregister(StateAdaptor)
929 """Proxy of C++ IMP::misc::CommonEndpointPairFilter class"""
930 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
933 """__init__(IMP::misc::CommonEndpointPairFilter self) -> CommonEndpointPairFilter"""
934 this = _IMP_misc.new_CommonEndpointPairFilter()
936 self.this.append(this)
941 """do_get_inputs(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
942 return _IMP_misc.CommonEndpointPairFilter_do_get_inputs(self, m, pis)
945 def get_value(self, *args):
947 get_value(CommonEndpointPairFilter self, IMP::ParticlePair const & a) -> int
948 get_value(CommonEndpointPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
950 return _IMP_misc.CommonEndpointPairFilter_get_value(self, *args)
953 def get_value_index(self, *args):
955 get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
956 get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
958 return _IMP_misc.CommonEndpointPairFilter_get_value_index(self, *args)
962 """get_version_info(CommonEndpointPairFilter self) -> VersionInfo"""
963 return _IMP_misc.CommonEndpointPairFilter_get_version_info(self)
967 """__str__(CommonEndpointPairFilter self) -> std::string"""
968 return _IMP_misc.CommonEndpointPairFilter___str__(self)
972 """__repr__(CommonEndpointPairFilter self) -> std::string"""
973 return _IMP_misc.CommonEndpointPairFilter___repr__(self)
978 return _object_cast_to_CommonEndpointPairFilter(o)
980 CommonEndpointPairFilter_swigregister = _IMP_misc.CommonEndpointPairFilter_swigregister
981 CommonEndpointPairFilter_swigregister(CommonEndpointPairFilter)
984 """Proxy of C++ IMP::misc::CustomXYZR class"""
985 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
987 def get_decorator_traits(self):
988 """get_decorator_traits(CustomXYZR self) -> FloatKey"""
989 return _IMP_misc.CustomXYZR_get_decorator_traits(self)
992 def get_default_decorator_traits():
993 """get_default_decorator_traits() -> FloatKey"""
994 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
996 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
998 def __init__(self, *args):
1000 __init__(IMP::misc::CustomXYZR self) -> CustomXYZR
1001 __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id, FloatKey tr) -> CustomXYZR
1002 __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id) -> CustomXYZR
1003 __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1004 __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d) -> CustomXYZR
1006 this = _IMP_misc.new_CustomXYZR(*args)
1008 self.this.append(this)
1012 def show(self, *args):
1014 show(CustomXYZR self, _ostream out)
1015 show(CustomXYZR self)
1017 return _IMP_misc.CustomXYZR_show(self, *args)
1020 def setup_particle(*args):
1022 setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1023 setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1024 setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1025 setup_particle(_ParticleAdaptor d) -> CustomXYZR
1026 setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1027 setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1028 setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1029 setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1030 setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1031 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1032 setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1033 setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1035 return _IMP_misc.CustomXYZR_setup_particle(*args)
1037 setup_particle = staticmethod(setup_particle)
1039 def get_is_setup(*args):
1041 get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1042 get_is_setup(_ParticleAdaptor p) -> bool
1043 get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1044 get_is_setup(Model m, ParticleIndex pi) -> bool
1046 return _IMP_misc.CustomXYZR_get_is_setup(*args)
1048 get_is_setup = staticmethod(get_is_setup)
1050 def get_radius(self):
1051 """get_radius(CustomXYZR self) -> IMP::Float"""
1052 return _IMP_misc.CustomXYZR_get_radius(self)
1055 def set_radius(self, t):
1056 """set_radius(CustomXYZR self, IMP::Float t)"""
1057 return _IMP_misc.CustomXYZR_set_radius(self, t)
1060 def get_sphere(self):
1061 """get_sphere(CustomXYZR self) -> Sphere3D"""
1062 return _IMP_misc.CustomXYZR_get_sphere(self)
1065 def set_sphere(self, s):
1066 """set_sphere(CustomXYZR self, Sphere3D s)"""
1067 return _IMP_misc.CustomXYZR_set_sphere(self, s)
1070 def get_default_radius_key():
1071 """get_default_radius_key() -> FloatKey"""
1072 return _IMP_misc.CustomXYZR_get_default_radius_key()
1074 get_default_radius_key = staticmethod(get_default_radius_key)
1076 def add_to_radius_derivative(self, v, d):
1077 """add_to_radius_derivative(CustomXYZR self, double v, DerivativeAccumulator d)"""
1078 return _IMP_misc.CustomXYZR_add_to_radius_derivative(self, v, d)
1081 def get_traits(self):
1082 """get_traits(CustomXYZR self) -> FloatKey"""
1083 return _IMP_misc.CustomXYZR_get_traits(self)
1086 def add_attribute(self, *args):
1088 add_attribute(CustomXYZR self, FloatKey k, IMP::Float v, bool opt)
1089 add_attribute(CustomXYZR self, FloatKey a0, IMP::Float a1)
1090 add_attribute(CustomXYZR self, IntKey a0, IMP::Int a1)
1091 add_attribute(CustomXYZR self, FloatsKey a0, IMP::Floats a1)
1092 add_attribute(CustomXYZR self, IntsKey a0, IMP::Ints a1)
1093 add_attribute(CustomXYZR self, StringKey a0, IMP::String a1)
1094 add_attribute(CustomXYZR self, ParticleIndexKey a0, Particle a1)
1095 add_attribute(CustomXYZR self, ObjectKey a0, Object a1)
1097 return _IMP_misc.CustomXYZR_add_attribute(self, *args)
1100 def get_value(self, *args):
1102 get_value(CustomXYZR self, FloatKey a0) -> IMP::Float
1103 get_value(CustomXYZR self, IntKey a0) -> IMP::Int
1104 get_value(CustomXYZR self, FloatsKey a0) -> IMP::Floats
1105 get_value(CustomXYZR self, IntsKey a0) -> IMP::Ints
1106 get_value(CustomXYZR self, StringKey a0) -> IMP::String
1107 get_value(CustomXYZR self, ParticleIndexKey a0) -> Particle
1108 get_value(CustomXYZR self, ObjectKey a0) -> Object
1110 return _IMP_misc.CustomXYZR_get_value(self, *args)
1113 def set_value(self, *args):
1115 set_value(CustomXYZR self, FloatKey a0, IMP::Float a1)
1116 set_value(CustomXYZR self, IntKey a0, IMP::Int a1)
1117 set_value(CustomXYZR self, FloatsKey a0, IMP::Floats a1)
1118 set_value(CustomXYZR self, IntsKey a0, IMP::Ints a1)
1119 set_value(CustomXYZR self, StringKey a0, IMP::String a1)
1120 set_value(CustomXYZR self, ParticleIndexKey a0, Particle a1)
1121 set_value(CustomXYZR self, ObjectKey a0, Object a1)
1123 return _IMP_misc.CustomXYZR_set_value(self, *args)
1126 def remove_attribute(self, *args):
1128 remove_attribute(CustomXYZR self, FloatKey a0)
1129 remove_attribute(CustomXYZR self, IntKey a0)
1130 remove_attribute(CustomXYZR self, FloatsKey a0)
1131 remove_attribute(CustomXYZR self, IntsKey a0)
1132 remove_attribute(CustomXYZR self, StringKey a0)
1133 remove_attribute(CustomXYZR self, ParticleIndexKey a0)
1134 remove_attribute(CustomXYZR self, ObjectKey a0)
1136 return _IMP_misc.CustomXYZR_remove_attribute(self, *args)
1139 def has_attribute(self, *args):
1141 has_attribute(CustomXYZR self, FloatKey a0) -> bool
1142 has_attribute(CustomXYZR self, IntKey a0) -> bool
1143 has_attribute(CustomXYZR self, FloatsKey a0) -> bool
1144 has_attribute(CustomXYZR self, IntsKey a0) -> bool
1145 has_attribute(CustomXYZR self, StringKey a0) -> bool
1146 has_attribute(CustomXYZR self, ParticleIndexKey a0) -> bool
1147 has_attribute(CustomXYZR self, ObjectKey a0) -> bool
1149 return _IMP_misc.CustomXYZR_has_attribute(self, *args)
1152 def get_derivative(self, a0):
1153 """get_derivative(CustomXYZR self, FloatKey a0) -> double"""
1154 return _IMP_misc.CustomXYZR_get_derivative(self, a0)
1158 """get_name(CustomXYZR self) -> std::string"""
1159 return _IMP_misc.CustomXYZR_get_name(self)
1163 """clear_caches(CustomXYZR self)"""
1164 return _IMP_misc.CustomXYZR_clear_caches(self)
1167 def set_name(self, a0):
1168 """set_name(CustomXYZR self, std::string a0)"""
1169 return _IMP_misc.CustomXYZR_set_name(self, a0)
1173 """set_check_level(CustomXYZR self, IMP::CheckLevel a0)"""
1174 return _IMP_misc.CustomXYZR_set_check_level(self, a0)
1177 def add_to_derivative(self, a0, a1, a2):
1178 """add_to_derivative(CustomXYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1179 return _IMP_misc.CustomXYZR_add_to_derivative(self, a0, a1, a2)
1182 def set_is_optimized(self, a0, a1):
1183 """set_is_optimized(CustomXYZR self, FloatKey a0, bool a1)"""
1184 return _IMP_misc.CustomXYZR_set_is_optimized(self, a0, a1)
1187 def get_is_optimized(self, a0):
1188 """get_is_optimized(CustomXYZR self, FloatKey a0) -> bool"""
1189 return _IMP_misc.CustomXYZR_get_is_optimized(self, a0)
1192 def get_check_level(self):
1193 """get_check_level(CustomXYZR self) -> IMP::CheckLevel"""
1194 return _IMP_misc.CustomXYZR_get_check_level(self)
1197 def __eq__(self, *args):
1199 __eq__(CustomXYZR self, CustomXYZR o) -> bool
1200 __eq__(CustomXYZR self, Particle d) -> bool
1202 return _IMP_misc.CustomXYZR___eq__(self, *args)
1205 def __ne__(self, *args):
1207 __ne__(CustomXYZR self, CustomXYZR o) -> bool
1208 __ne__(CustomXYZR self, Particle d) -> bool
1210 return _IMP_misc.CustomXYZR___ne__(self, *args)
1213 def __le__(self, *args):
1215 __le__(CustomXYZR self, CustomXYZR o) -> bool
1216 __le__(CustomXYZR self, Particle d) -> bool
1218 return _IMP_misc.CustomXYZR___le__(self, *args)
1221 def __lt__(self, *args):
1223 __lt__(CustomXYZR self, CustomXYZR o) -> bool
1224 __lt__(CustomXYZR self, Particle d) -> bool
1226 return _IMP_misc.CustomXYZR___lt__(self, *args)
1229 def __ge__(self, *args):
1231 __ge__(CustomXYZR self, CustomXYZR o) -> bool
1232 __ge__(CustomXYZR self, Particle d) -> bool
1234 return _IMP_misc.CustomXYZR___ge__(self, *args)
1237 def __gt__(self, *args):
1239 __gt__(CustomXYZR self, CustomXYZR o) -> bool
1240 __gt__(CustomXYZR self, Particle d) -> bool
1242 return _IMP_misc.CustomXYZR___gt__(self, *args)
1246 """__hash__(CustomXYZR self) -> std::size_t"""
1247 return _IMP_misc.CustomXYZR___hash__(self)
1251 """__str__(CustomXYZR self) -> std::string"""
1252 return _IMP_misc.CustomXYZR___str__(self)
1256 """__repr__(CustomXYZR self) -> std::string"""
1257 return _IMP_misc.CustomXYZR___repr__(self)
1259 __swig_destroy__ = _IMP_misc.delete_CustomXYZR
1260 __del__ =
lambda self:
None
1261 CustomXYZR_swigregister = _IMP_misc.CustomXYZR_swigregister
1262 CustomXYZR_swigregister(CustomXYZR)
1264 def CustomXYZR_get_default_decorator_traits():
1265 """CustomXYZR_get_default_decorator_traits() -> FloatKey"""
1266 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
1268 def CustomXYZR_setup_particle(*args):
1270 setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1271 setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1272 setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1273 setup_particle(_ParticleAdaptor d) -> CustomXYZR
1274 setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1275 setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1276 setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1277 setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1278 setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1279 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1280 setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1281 CustomXYZR_setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1283 return _IMP_misc.CustomXYZR_setup_particle(*args)
1285 def CustomXYZR_get_is_setup(*args):
1287 get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1288 get_is_setup(_ParticleAdaptor p) -> bool
1289 get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1290 CustomXYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
1292 return _IMP_misc.CustomXYZR_get_is_setup(*args)
1294 def CustomXYZR_get_default_radius_key():
1295 """CustomXYZR_get_default_radius_key() -> FloatKey"""
1296 return _IMP_misc.CustomXYZR_get_default_radius_key()
1299 def __lshift__(out, n):
1300 """__lshift__(_ostream out, CustomXYZR n) -> _ostream"""
1301 return _IMP_misc.__lshift__(out, n)
1304 """get_distance(CustomXYZR a, CustomXYZR b) -> double"""
1305 return _IMP_misc.get_distance(a, b)
1308 """get_sphere_d_geometry(CustomXYZR d) -> Sphere3D"""
1309 return _IMP_misc.get_sphere_d_geometry(d)
1312 """set_sphere_d_geometry(CustomXYZR d, Sphere3D v)"""
1313 return _IMP_misc.set_sphere_d_geometry(d, v)
1315 """Proxy of C++ IMP::misc::SoftCylinderPairScore class"""
1316 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1318 def __init__(self, k):
1319 """__init__(IMP::misc::SoftCylinderPairScore self, double k) -> SoftCylinderPairScore"""
1320 this = _IMP_misc.new_SoftCylinderPairScore(k)
1322 self.this.append(this)
1327 """do_get_inputs(SoftCylinderPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1328 return _IMP_misc.SoftCylinderPairScore_do_get_inputs(self, m, pis)
1332 """get_version_info(SoftCylinderPairScore self) -> VersionInfo"""
1333 return _IMP_misc.SoftCylinderPairScore_get_version_info(self)
1337 """__str__(SoftCylinderPairScore self) -> std::string"""
1338 return _IMP_misc.SoftCylinderPairScore___str__(self)
1342 """__repr__(SoftCylinderPairScore self) -> std::string"""
1343 return _IMP_misc.SoftCylinderPairScore___repr__(self)
1348 return _object_cast_to_SoftCylinderPairScore(o)
1350 SoftCylinderPairScore_swigregister = _IMP_misc.SoftCylinderPairScore_swigregister
1351 SoftCylinderPairScore_swigregister(SoftCylinderPairScore)
1354 """Proxy of C++ IMP::misc::DecayPairContainerOptimizerState class"""
1355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1357 def __init__(self, *args):
1359 __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list, std::string name) -> DecayPairContainerOptimizerState
1360 __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list) -> DecayPairContainerOptimizerState
1362 this = _IMP_misc.new_DecayPairContainerOptimizerState(*args)
1364 self.this.append(this)
1368 def get_output_container(self):
1369 """get_output_container(DecayPairContainerOptimizerState self) -> PairContainer"""
1370 return _IMP_misc.DecayPairContainerOptimizerState_get_output_container(self)
1373 def do_update(self, call_num):
1374 """do_update(DecayPairContainerOptimizerState self, unsigned int call_num)"""
1375 return _IMP_misc.DecayPairContainerOptimizerState_do_update(self, call_num)
1379 """get_version_info(DecayPairContainerOptimizerState self) -> VersionInfo"""
1380 return _IMP_misc.DecayPairContainerOptimizerState_get_version_info(self)
1384 """__str__(DecayPairContainerOptimizerState self) -> std::string"""
1385 return _IMP_misc.DecayPairContainerOptimizerState___str__(self)
1389 """__repr__(DecayPairContainerOptimizerState self) -> std::string"""
1390 return _IMP_misc.DecayPairContainerOptimizerState___repr__(self)
1395 return _object_cast_to_DecayPairContainerOptimizerState(o)
1397 DecayPairContainerOptimizerState_swigregister = _IMP_misc.DecayPairContainerOptimizerState_swigregister
1398 DecayPairContainerOptimizerState_swigregister(DecayPairContainerOptimizerState)
1402 """get_module_version() -> std::string const"""
1403 return _IMP_misc.get_module_version()
1406 """get_example_path(std::string fname) -> std::string"""
1407 return _IMP_misc.get_example_path(fname)
1410 """get_data_path(std::string fname) -> std::string"""
1411 return _IMP_misc.get_data_path(fname)
1413 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
Various classes to hold sets of particles.
const algebra::Sphere3D get_sphere_d_geometry(CustomXYZR d)
Make CGAL functionality available to IMP.
virtual void clear_caches()
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.
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.
void set_sphere_d_geometry(CustomXYZR d, const algebra::Sphere3D &v)
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
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.
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.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.