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)
222 _IMP_misc.IMP_DEBUG_swigconstant(_IMP_misc)
223 IMP_DEBUG = _IMP_misc.IMP_DEBUG
225 _IMP_misc.IMP_RELEASE_swigconstant(_IMP_misc)
226 IMP_RELEASE = _IMP_misc.IMP_RELEASE
228 _IMP_misc.IMP_SILENT_swigconstant(_IMP_misc)
229 IMP_SILENT = _IMP_misc.IMP_SILENT
231 _IMP_misc.IMP_PROGRESS_swigconstant(_IMP_misc)
232 IMP_PROGRESS = _IMP_misc.IMP_PROGRESS
234 _IMP_misc.IMP_TERSE_swigconstant(_IMP_misc)
235 IMP_TERSE = _IMP_misc.IMP_TERSE
237 _IMP_misc.IMP_VERBOSE_swigconstant(_IMP_misc)
238 IMP_VERBOSE = _IMP_misc.IMP_VERBOSE
240 _IMP_misc.IMP_MEMORY_swigconstant(_IMP_misc)
241 IMP_MEMORY = _IMP_misc.IMP_MEMORY
243 _IMP_misc.IMP_NONE_swigconstant(_IMP_misc)
244 IMP_NONE = _IMP_misc.IMP_NONE
246 _IMP_misc.IMP_USAGE_swigconstant(_IMP_misc)
247 IMP_USAGE = _IMP_misc.IMP_USAGE
249 _IMP_misc.IMP_INTERNAL_swigconstant(_IMP_misc)
250 IMP_INTERNAL = _IMP_misc.IMP_INTERNAL
252 _IMP_misc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_misc)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_misc.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_misc.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_misc)
256 IMP_COMPILER_HAS_AUTO = _IMP_misc.IMP_COMPILER_HAS_AUTO
258 _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_misc)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_misc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_misc)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_misc.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_misc)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_misc)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_misc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_misc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_misc)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_misc.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_misc._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_misc._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_misc.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_misc)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_misc.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_misc.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_misc)
321 IMP_COMPILER_HAS_FINAL = _IMP_misc.IMP_COMPILER_HAS_FINAL
323 _IMP_misc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_misc)
324 IMP_HAS_NOEXCEPT = _IMP_misc.IMP_HAS_NOEXCEPT
327 _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_misc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_misc)
340 IMPCGAL_SHOW_WARNINGS = _IMP_misc.IMPCGAL_SHOW_WARNINGS
343 _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_misc)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_misc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_misc)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_CGAL
361 _IMP_misc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_misc)
362 IMP_ALGEBRA_HAS_ANN = _IMP_misc.IMP_ALGEBRA_HAS_ANN
364 _IMP_misc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_misc)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_misc.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_misc)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_misc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_misc)
384 IMP_DISPLAY_HAS_CGAL = _IMP_misc.IMP_DISPLAY_HAS_CGAL
386 _IMP_misc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_misc)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_misc.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_misc)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_misc)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_misc)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_misc)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_misc.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_misc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_misc)
416 IMP_CORE_HAS_IMP_CGAL = _IMP_misc.IMP_CORE_HAS_IMP_CGAL
418 _IMP_misc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
419 IMP_CORE_HAS_IMP_KERNEL = _IMP_misc.IMP_CORE_HAS_IMP_KERNEL
421 _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
422 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM
424 _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
425 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
427 _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
428 IMP_CORE_HAS_BOOST_RANDOM = _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM
430 _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
431 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM
433 _IMP_misc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_misc)
434 IMP_CORE_HAS_CGAL = _IMP_misc.IMP_CORE_HAS_CGAL
436 _IMP_misc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_misc)
437 IMP_CORE_HAS_HDF5 = _IMP_misc.IMP_CORE_HAS_HDF5
439 _IMP_misc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_misc)
440 IMPCORE_SHOW_WARNINGS = _IMP_misc.IMPCORE_SHOW_WARNINGS
443 _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
444 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA
446 _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_misc)
447 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL
449 _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
450 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY
452 _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
453 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL
455 _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
456 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
458 _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
459 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
461 _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
462 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
464 _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
465 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM
467 _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
468 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM
470 _IMP_misc.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_misc)
471 IMP_CONTAINER_HAS_CGAL = _IMP_misc.IMP_CONTAINER_HAS_CGAL
473 _IMP_misc.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_misc)
474 IMP_CONTAINER_HAS_HDF5 = _IMP_misc.IMP_CONTAINER_HAS_HDF5
476 _IMP_misc.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_misc)
477 IMPCONTAINER_SHOW_WARNINGS = _IMP_misc.IMPCONTAINER_SHOW_WARNINGS
480 _IMP_misc.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_misc)
481 IMP_ATOM_HAS_IMP_CGAL = _IMP_misc.IMP_ATOM_HAS_IMP_CGAL
483 _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
484 IMP_ATOM_HAS_IMP_KERNEL = _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL
486 _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
487 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
489 _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
490 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
492 _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
493 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM
495 _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
496 IMP_ATOM_HAS_BOOST_REGEX = _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX
498 _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
499 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM
501 _IMP_misc.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_misc)
502 IMP_ATOM_HAS_CGAL = _IMP_misc.IMP_ATOM_HAS_CGAL
504 _IMP_misc.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_misc)
505 IMP_ATOM_HAS_HDF5 = _IMP_misc.IMP_ATOM_HAS_HDF5
507 _IMP_misc.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_misc)
508 IMPATOM_SHOW_WARNINGS = _IMP_misc.IMPATOM_SHOW_WARNINGS
510 _IMP_misc.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_misc)
511 IMP_ATOM_TYPE_INDEX = _IMP_misc.IMP_ATOM_TYPE_INDEX
513 _IMP_misc.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_misc)
514 IMP_RESIDUE_TYPE_INDEX = _IMP_misc.IMP_RESIDUE_TYPE_INDEX
516 _IMP_misc.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_misc)
517 IMP_HIERARCHY_TYPE_INDEX = _IMP_misc.IMP_HIERARCHY_TYPE_INDEX
520 _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA_swigconstant(_IMP_misc)
521 IMP_MISC_HAS_IMP_ALGEBRA = _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA
523 _IMP_misc.IMP_MISC_HAS_IMP_CGAL_swigconstant(_IMP_misc)
524 IMP_MISC_HAS_IMP_CGAL = _IMP_misc.IMP_MISC_HAS_IMP_CGAL
526 _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER_swigconstant(_IMP_misc)
527 IMP_MISC_HAS_IMP_CONTAINER = _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER
529 _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY_swigconstant(_IMP_misc)
530 IMP_MISC_HAS_IMP_DISPLAY = _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY
532 _IMP_misc.IMP_MISC_HAS_IMP_KERNEL_swigconstant(_IMP_misc)
533 IMP_MISC_HAS_IMP_KERNEL = _IMP_misc.IMP_MISC_HAS_IMP_KERNEL
535 _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_misc)
536 IMP_MISC_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR
538 _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_misc)
539 IMP_MISC_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM
541 _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_misc)
542 IMP_MISC_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS
544 _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM_swigconstant(_IMP_misc)
545 IMP_MISC_HAS_BOOST_RANDOM = _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM
547 _IMP_misc.IMP_MISC_HAS_BOOST_REGEX_swigconstant(_IMP_misc)
548 IMP_MISC_HAS_BOOST_REGEX = _IMP_misc.IMP_MISC_HAS_BOOST_REGEX
550 _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM_swigconstant(_IMP_misc)
551 IMP_MISC_HAS_BOOST_SYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM
553 _IMP_misc.IMP_MISC_HAS_CGAL_swigconstant(_IMP_misc)
554 IMP_MISC_HAS_CGAL = _IMP_misc.IMP_MISC_HAS_CGAL
556 _IMP_misc.IMP_MISC_HAS_HDF5_swigconstant(_IMP_misc)
557 IMP_MISC_HAS_HDF5 = _IMP_misc.IMP_MISC_HAS_HDF5
559 _IMP_misc.IMPMISC_SHOW_WARNINGS_swigconstant(_IMP_misc)
560 IMPMISC_SHOW_WARNINGS = _IMP_misc.IMPMISC_SHOW_WARNINGS
561 _object_types.append(
"WormLikeChain")
564 def _object_cast_to_WormLikeChain(o):
565 """_object_cast_to_WormLikeChain(Object o) -> WormLikeChain"""
566 return _IMP_misc._object_cast_to_WormLikeChain(o)
567 _object_types.append(
"StateAdaptor")
570 def _object_cast_to_StateAdaptor(o):
571 """_object_cast_to_StateAdaptor(Object o) -> StateAdaptor"""
572 return _IMP_misc._object_cast_to_StateAdaptor(o)
573 _object_types.append(
"CommonEndpointPairFilter")
576 def _object_cast_to_CommonEndpointPairFilter(o):
577 """_object_cast_to_CommonEndpointPairFilter(Object o) -> CommonEndpointPairFilter"""
578 return _IMP_misc._object_cast_to_CommonEndpointPairFilter(o)
579 _object_types.append(
"LogPairScore")
582 def _object_cast_to_LogPairScore(o):
583 """_object_cast_to_LogPairScore(Object o) -> LogPairScore"""
584 return _IMP_misc._object_cast_to_LogPairScore(o)
585 _object_types.append(
"LowestRefinedPairScore")
588 def _object_cast_to_LowestRefinedPairScore(o):
589 """_object_cast_to_LowestRefinedPairScore(Object o) -> LowestRefinedPairScore"""
590 return _IMP_misc._object_cast_to_LowestRefinedPairScore(o)
591 _object_types.append(
"SoftCylinderPairScore")
594 def _object_cast_to_SoftCylinderPairScore(o):
595 """_object_cast_to_SoftCylinderPairScore(Object o) -> SoftCylinderPairScore"""
596 return _IMP_misc._object_cast_to_SoftCylinderPairScore(o)
597 _object_types.append(
"DecayPairContainerOptimizerState")
600 def _object_cast_to_DecayPairContainerOptimizerState(o):
601 """_object_cast_to_DecayPairContainerOptimizerState(Object o) -> DecayPairContainerOptimizerState"""
602 return _IMP_misc._object_cast_to_DecayPairContainerOptimizerState(o)
603 def CustomXYZRs(l=[]):
604 return [CustomXYZR(x)
for x
in l]
605 _plural_types.append(
"CustomXYZRs")
607 _value_types.append(
"CustomXYZR")
610 """Proxy of C++ IMP::misc::WormLikeChain class"""
611 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
613 def __init__(self, l_max, lp):
614 """__init__(IMP::misc::WormLikeChain self, IMP::Float l_max, IMP::Float lp) -> WormLikeChain"""
615 this = _IMP_misc.new_WormLikeChain(l_max, lp)
617 self.this.append(this)
622 """get_version_info(WormLikeChain self) -> VersionInfo"""
623 return _IMP_misc.WormLikeChain_get_version_info(self)
626 def do_show(self, out):
627 """do_show(WormLikeChain self, _ostream out)"""
628 return _IMP_misc.WormLikeChain_do_show(self, out)
632 """__str__(WormLikeChain self) -> std::string"""
633 return _IMP_misc.WormLikeChain___str__(self)
637 """__repr__(WormLikeChain self) -> std::string"""
638 return _IMP_misc.WormLikeChain___repr__(self)
641 return _object_cast_to_WormLikeChain(o)
642 get_from = staticmethod(get_from)
644 WormLikeChain_swigregister = _IMP_misc.WormLikeChain_swigregister
645 WormLikeChain_swigregister(WormLikeChain)
648 """Proxy of C++ IMP::misc::LowestRefinedPairScore class"""
649 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
651 def __init__(self, r, f):
652 """__init__(IMP::misc::LowestRefinedPairScore self, Refiner r, PairScore f) -> LowestRefinedPairScore"""
653 this = _IMP_misc.new_LowestRefinedPairScore(r, f)
655 self.this.append(this)
660 """do_get_inputs(LowestRefinedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
661 return _IMP_misc.LowestRefinedPairScore_do_get_inputs(self, m, pis)
665 """get_version_info(LowestRefinedPairScore self) -> VersionInfo"""
666 return _IMP_misc.LowestRefinedPairScore_get_version_info(self)
670 """__str__(LowestRefinedPairScore self) -> std::string"""
671 return _IMP_misc.LowestRefinedPairScore___str__(self)
675 """__repr__(LowestRefinedPairScore self) -> std::string"""
676 return _IMP_misc.LowestRefinedPairScore___repr__(self)
679 return _object_cast_to_LowestRefinedPairScore(o)
680 get_from = staticmethod(get_from)
682 LowestRefinedPairScore_swigregister = _IMP_misc.LowestRefinedPairScore_swigregister
683 LowestRefinedPairScore_swigregister(LowestRefinedPairScore)
686 """Proxy of C++ IMP::misc::LogPairScore class"""
687 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
690 """__init__(IMP::misc::LogPairScore self) -> LogPairScore"""
691 this = _IMP_misc.new_LogPairScore()
693 self.this.append(this)
698 """do_get_inputs(LogPairScore self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
699 return _IMP_misc.LogPairScore_do_get_inputs(self, arg2, arg3)
703 """get_version_info(LogPairScore self) -> VersionInfo"""
704 return _IMP_misc.LogPairScore_get_version_info(self)
707 def get_particle_pairs(self):
708 """get_particle_pairs(LogPairScore self) -> IMP::ParticlePairsTemp"""
709 return _IMP_misc.LogPairScore_get_particle_pairs(self)
713 """clear(LogPairScore self)"""
714 return _IMP_misc.LogPairScore_clear(self)
717 def get_contains(self, pp):
718 """get_contains(LogPairScore self, IMP::ParticlePair const & pp) -> bool"""
719 return _IMP_misc.LogPairScore_get_contains(self, pp)
723 """__str__(LogPairScore self) -> std::string"""
724 return _IMP_misc.LogPairScore___str__(self)
728 """__repr__(LogPairScore self) -> std::string"""
729 return _IMP_misc.LogPairScore___repr__(self)
732 return _object_cast_to_LogPairScore(o)
733 get_from = staticmethod(get_from)
735 LogPairScore_swigregister = _IMP_misc.LogPairScore_swigregister
736 LogPairScore_swigregister(LogPairScore)
739 """Proxy of C++ IMP::misc::StateAdaptor class"""
740 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
742 def __init__(self, m, before, after):
743 """__init__(IMP::misc::StateAdaptor self, Model m, OptimizerState before, OptimizerState after) -> StateAdaptor"""
744 this = _IMP_misc.new_StateAdaptor(m, before, after)
746 self.this.append(this)
750 def do_before_evaluate(self):
751 """do_before_evaluate(StateAdaptor self)"""
752 return _IMP_misc.StateAdaptor_do_before_evaluate(self)
755 def do_after_evaluate(self, da):
756 """do_after_evaluate(StateAdaptor self, DerivativeAccumulator da)"""
757 return _IMP_misc.StateAdaptor_do_after_evaluate(self, da)
761 """do_get_inputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
762 return _IMP_misc.StateAdaptor_do_get_inputs(self)
766 """do_get_outputs(StateAdaptor self) -> IMP::ModelObjectsTemp"""
767 return _IMP_misc.StateAdaptor_do_get_outputs(self)
771 """get_version_info(StateAdaptor self) -> VersionInfo"""
772 return _IMP_misc.StateAdaptor_get_version_info(self)
776 """__str__(StateAdaptor self) -> std::string"""
777 return _IMP_misc.StateAdaptor___str__(self)
781 """__repr__(StateAdaptor self) -> std::string"""
782 return _IMP_misc.StateAdaptor___repr__(self)
785 return _object_cast_to_StateAdaptor(o)
786 get_from = staticmethod(get_from)
788 StateAdaptor_swigregister = _IMP_misc.StateAdaptor_swigregister
789 StateAdaptor_swigregister(StateAdaptor)
792 """Proxy of C++ IMP::misc::CommonEndpointPairFilter class"""
793 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
796 """__init__(IMP::misc::CommonEndpointPairFilter self) -> CommonEndpointPairFilter"""
797 this = _IMP_misc.new_CommonEndpointPairFilter()
799 self.this.append(this)
804 """do_get_inputs(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
805 return _IMP_misc.CommonEndpointPairFilter_do_get_inputs(self, m, pis)
808 def get_value(self, *args):
810 get_value(CommonEndpointPairFilter self, IMP::ParticlePair const & a) -> int
811 get_value(CommonEndpointPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
813 return _IMP_misc.CommonEndpointPairFilter_get_value(self, *args)
816 def get_value_index(self, *args):
818 get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
819 get_value_index(CommonEndpointPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
821 return _IMP_misc.CommonEndpointPairFilter_get_value_index(self, *args)
825 """get_version_info(CommonEndpointPairFilter self) -> VersionInfo"""
826 return _IMP_misc.CommonEndpointPairFilter_get_version_info(self)
830 """__str__(CommonEndpointPairFilter self) -> std::string"""
831 return _IMP_misc.CommonEndpointPairFilter___str__(self)
835 """__repr__(CommonEndpointPairFilter self) -> std::string"""
836 return _IMP_misc.CommonEndpointPairFilter___repr__(self)
839 return _object_cast_to_CommonEndpointPairFilter(o)
840 get_from = staticmethod(get_from)
842 CommonEndpointPairFilter_swigregister = _IMP_misc.CommonEndpointPairFilter_swigregister
843 CommonEndpointPairFilter_swigregister(CommonEndpointPairFilter)
846 """Proxy of C++ IMP::misc::CustomXYZR class"""
847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
849 def get_decorator_traits(self):
850 """get_decorator_traits(CustomXYZR self) -> FloatKey"""
851 return _IMP_misc.CustomXYZR_get_decorator_traits(self)
854 def get_default_decorator_traits():
855 """get_default_decorator_traits() -> FloatKey"""
856 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
858 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
860 def __init__(self, *args):
862 __init__(IMP::misc::CustomXYZR self) -> CustomXYZR
863 __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id, FloatKey tr) -> CustomXYZR
864 __init__(IMP::misc::CustomXYZR self, Model m, ParticleIndex id) -> CustomXYZR
865 __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d, FloatKey tr) -> CustomXYZR
866 __init__(IMP::misc::CustomXYZR self, _ParticleAdaptor d) -> CustomXYZR
868 this = _IMP_misc.new_CustomXYZR(*args)
870 self.this.append(this)
874 def show(self, *args):
876 show(CustomXYZR self, _ostream out)
877 show(CustomXYZR self)
879 return _IMP_misc.CustomXYZR_show(self, *args)
882 def setup_particle(*args):
884 setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
885 setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
886 setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
887 setup_particle(_ParticleAdaptor d) -> CustomXYZR
888 setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
889 setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
890 setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
891 setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
892 setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
893 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
894 setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
895 setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
897 return _IMP_misc.CustomXYZR_setup_particle(*args)
899 setup_particle = staticmethod(setup_particle)
901 def get_is_setup(*args):
903 get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
904 get_is_setup(_ParticleAdaptor p) -> bool
905 get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
906 get_is_setup(Model m, ParticleIndex pi) -> bool
908 return _IMP_misc.CustomXYZR_get_is_setup(*args)
910 get_is_setup = staticmethod(get_is_setup)
912 def get_radius(self):
913 """get_radius(CustomXYZR self) -> IMP::Float"""
914 return _IMP_misc.CustomXYZR_get_radius(self)
917 def set_radius(self, t):
918 """set_radius(CustomXYZR self, IMP::Float t)"""
919 return _IMP_misc.CustomXYZR_set_radius(self, t)
922 def get_sphere(self):
923 """get_sphere(CustomXYZR self) -> Sphere3D"""
924 return _IMP_misc.CustomXYZR_get_sphere(self)
927 def set_sphere(self, s):
928 """set_sphere(CustomXYZR self, Sphere3D s)"""
929 return _IMP_misc.CustomXYZR_set_sphere(self, s)
932 def get_default_radius_key():
933 """get_default_radius_key() -> FloatKey"""
934 return _IMP_misc.CustomXYZR_get_default_radius_key()
936 get_default_radius_key = staticmethod(get_default_radius_key)
938 def add_to_radius_derivative(self, v, d):
939 """add_to_radius_derivative(CustomXYZR self, double v, DerivativeAccumulator d)"""
940 return _IMP_misc.CustomXYZR_add_to_radius_derivative(self, v, d)
943 def get_traits(self):
944 """get_traits(CustomXYZR self) -> FloatKey"""
945 return _IMP_misc.CustomXYZR_get_traits(self)
948 def add_attribute(self, *args):
950 add_attribute(CustomXYZR self, FloatKey k, IMP::Float v, bool opt)
951 add_attribute(CustomXYZR self, FloatKey a0, IMP::Float a1)
952 add_attribute(CustomXYZR self, IntKey a0, IMP::Int a1)
953 add_attribute(CustomXYZR self, StringKey a0, IMP::String a1)
954 add_attribute(CustomXYZR self, ParticleIndexKey a0, Particle a1)
955 add_attribute(CustomXYZR self, ObjectKey a0, Object a1)
957 return _IMP_misc.CustomXYZR_add_attribute(self, *args)
960 def get_value(self, *args):
962 get_value(CustomXYZR self, FloatKey a0) -> IMP::Float
963 get_value(CustomXYZR self, IntKey a0) -> IMP::Int
964 get_value(CustomXYZR self, StringKey a0) -> IMP::String
965 get_value(CustomXYZR self, ParticleIndexKey a0) -> Particle
966 get_value(CustomXYZR self, ObjectKey a0) -> Object
968 return _IMP_misc.CustomXYZR_get_value(self, *args)
971 def set_value(self, *args):
973 set_value(CustomXYZR self, FloatKey a0, IMP::Float a1)
974 set_value(CustomXYZR self, IntKey a0, IMP::Int a1)
975 set_value(CustomXYZR self, StringKey a0, IMP::String a1)
976 set_value(CustomXYZR self, ParticleIndexKey a0, Particle a1)
977 set_value(CustomXYZR self, ObjectKey a0, Object a1)
979 return _IMP_misc.CustomXYZR_set_value(self, *args)
982 def remove_attribute(self, *args):
984 remove_attribute(CustomXYZR self, FloatKey a0)
985 remove_attribute(CustomXYZR self, IntKey a0)
986 remove_attribute(CustomXYZR self, StringKey a0)
987 remove_attribute(CustomXYZR self, ParticleIndexKey a0)
988 remove_attribute(CustomXYZR self, ObjectKey a0)
990 return _IMP_misc.CustomXYZR_remove_attribute(self, *args)
993 def has_attribute(self, *args):
995 has_attribute(CustomXYZR self, FloatKey a0) -> bool
996 has_attribute(CustomXYZR self, IntKey a0) -> bool
997 has_attribute(CustomXYZR self, StringKey a0) -> bool
998 has_attribute(CustomXYZR self, ParticleIndexKey a0) -> bool
999 has_attribute(CustomXYZR self, ObjectKey a0) -> bool
1001 return _IMP_misc.CustomXYZR_has_attribute(self, *args)
1004 def get_derivative(self, a0):
1005 """get_derivative(CustomXYZR self, FloatKey a0) -> double"""
1006 return _IMP_misc.CustomXYZR_get_derivative(self, a0)
1010 """get_name(CustomXYZR self) -> std::string"""
1011 return _IMP_misc.CustomXYZR_get_name(self)
1015 """clear_caches(CustomXYZR self)"""
1016 return _IMP_misc.CustomXYZR_clear_caches(self)
1019 def set_name(self, a0):
1020 """set_name(CustomXYZR self, std::string a0)"""
1021 return _IMP_misc.CustomXYZR_set_name(self, a0)
1025 """set_check_level(CustomXYZR self, IMP::CheckLevel a0)"""
1026 return _IMP_misc.CustomXYZR_set_check_level(self, a0)
1029 def add_to_derivative(self, a0, a1, a2):
1030 """add_to_derivative(CustomXYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1031 return _IMP_misc.CustomXYZR_add_to_derivative(self, a0, a1, a2)
1034 def set_is_optimized(self, a0, a1):
1035 """set_is_optimized(CustomXYZR self, FloatKey a0, bool a1)"""
1036 return _IMP_misc.CustomXYZR_set_is_optimized(self, a0, a1)
1039 def get_is_optimized(self, a0):
1040 """get_is_optimized(CustomXYZR self, FloatKey a0) -> bool"""
1041 return _IMP_misc.CustomXYZR_get_is_optimized(self, a0)
1044 def get_check_level(self):
1045 """get_check_level(CustomXYZR self) -> IMP::CheckLevel"""
1046 return _IMP_misc.CustomXYZR_get_check_level(self)
1049 def __eq__(self, *args):
1051 __eq__(CustomXYZR self, CustomXYZR o) -> bool
1052 __eq__(CustomXYZR self, Particle d) -> bool
1054 return _IMP_misc.CustomXYZR___eq__(self, *args)
1057 def __ne__(self, *args):
1059 __ne__(CustomXYZR self, CustomXYZR o) -> bool
1060 __ne__(CustomXYZR self, Particle d) -> bool
1062 return _IMP_misc.CustomXYZR___ne__(self, *args)
1065 def __le__(self, *args):
1067 __le__(CustomXYZR self, CustomXYZR o) -> bool
1068 __le__(CustomXYZR self, Particle d) -> bool
1070 return _IMP_misc.CustomXYZR___le__(self, *args)
1073 def __lt__(self, *args):
1075 __lt__(CustomXYZR self, CustomXYZR o) -> bool
1076 __lt__(CustomXYZR self, Particle d) -> bool
1078 return _IMP_misc.CustomXYZR___lt__(self, *args)
1081 def __ge__(self, *args):
1083 __ge__(CustomXYZR self, CustomXYZR o) -> bool
1084 __ge__(CustomXYZR self, Particle d) -> bool
1086 return _IMP_misc.CustomXYZR___ge__(self, *args)
1089 def __gt__(self, *args):
1091 __gt__(CustomXYZR self, CustomXYZR o) -> bool
1092 __gt__(CustomXYZR self, Particle d) -> bool
1094 return _IMP_misc.CustomXYZR___gt__(self, *args)
1098 """__hash__(CustomXYZR self) -> std::size_t"""
1099 return _IMP_misc.CustomXYZR___hash__(self)
1103 """__str__(CustomXYZR self) -> std::string"""
1104 return _IMP_misc.CustomXYZR___str__(self)
1108 """__repr__(CustomXYZR self) -> std::string"""
1109 return _IMP_misc.CustomXYZR___repr__(self)
1111 __swig_destroy__ = _IMP_misc.delete_CustomXYZR
1112 __del__ =
lambda self:
None
1113 CustomXYZR_swigregister = _IMP_misc.CustomXYZR_swigregister
1114 CustomXYZR_swigregister(CustomXYZR)
1116 def CustomXYZR_get_default_decorator_traits():
1117 """CustomXYZR_get_default_decorator_traits() -> FloatKey"""
1118 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
1120 def CustomXYZR_setup_particle(*args):
1122 setup_particle(Model m, ParticleIndex pi, FloatKey tr) -> CustomXYZR
1123 setup_particle(Model m, ParticleIndex pi) -> CustomXYZR
1124 setup_particle(_ParticleAdaptor d, FloatKey tr) -> CustomXYZR
1125 setup_particle(_ParticleAdaptor d) -> CustomXYZR
1126 setup_particle(Model m, ParticleIndex pi, double radius, FloatKey tr) -> CustomXYZR
1127 setup_particle(Model m, ParticleIndex pi, double radius) -> CustomXYZR
1128 setup_particle(_ParticleAdaptor d, double radius, FloatKey tr) -> CustomXYZR
1129 setup_particle(_ParticleAdaptor d, double radius) -> CustomXYZR
1130 setup_particle(Model m, ParticleIndex pi, Sphere3D ball, FloatKey tr) -> CustomXYZR
1131 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> CustomXYZR
1132 setup_particle(_ParticleAdaptor d, Sphere3D ball, FloatKey tr) -> CustomXYZR
1133 CustomXYZR_setup_particle(_ParticleAdaptor d, Sphere3D ball) -> CustomXYZR
1135 return _IMP_misc.CustomXYZR_setup_particle(*args)
1137 def CustomXYZR_get_is_setup(*args):
1139 get_is_setup(_ParticleAdaptor p, FloatKey tr) -> bool
1140 get_is_setup(_ParticleAdaptor p) -> bool
1141 get_is_setup(Model m, ParticleIndex pi, FloatKey radius_key) -> bool
1142 CustomXYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
1144 return _IMP_misc.CustomXYZR_get_is_setup(*args)
1146 def CustomXYZR_get_default_radius_key():
1147 """CustomXYZR_get_default_radius_key() -> FloatKey"""
1148 return _IMP_misc.CustomXYZR_get_default_radius_key()
1151 def __lshift__(out, n):
1152 """__lshift__(_ostream out, CustomXYZR n) -> _ostream"""
1153 return _IMP_misc.__lshift__(out, n)
1156 """get_distance(CustomXYZR a, CustomXYZR b) -> double"""
1157 return _IMP_misc.get_distance(a, b)
1160 """get_sphere_d_geometry(CustomXYZR d) -> Sphere3D"""
1161 return _IMP_misc.get_sphere_d_geometry(d)
1164 """set_sphere_d_geometry(CustomXYZR d, Sphere3D v)"""
1165 return _IMP_misc.set_sphere_d_geometry(d, v)
1167 """Proxy of C++ IMP::misc::SoftCylinderPairScore class"""
1168 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1170 def __init__(self, k):
1171 """__init__(IMP::misc::SoftCylinderPairScore self, double k) -> SoftCylinderPairScore"""
1172 this = _IMP_misc.new_SoftCylinderPairScore(k)
1174 self.this.append(this)
1179 """do_get_inputs(SoftCylinderPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1180 return _IMP_misc.SoftCylinderPairScore_do_get_inputs(self, m, pis)
1184 """get_version_info(SoftCylinderPairScore self) -> VersionInfo"""
1185 return _IMP_misc.SoftCylinderPairScore_get_version_info(self)
1189 """__str__(SoftCylinderPairScore self) -> std::string"""
1190 return _IMP_misc.SoftCylinderPairScore___str__(self)
1194 """__repr__(SoftCylinderPairScore self) -> std::string"""
1195 return _IMP_misc.SoftCylinderPairScore___repr__(self)
1198 return _object_cast_to_SoftCylinderPairScore(o)
1199 get_from = staticmethod(get_from)
1201 SoftCylinderPairScore_swigregister = _IMP_misc.SoftCylinderPairScore_swigregister
1202 SoftCylinderPairScore_swigregister(SoftCylinderPairScore)
1205 """Proxy of C++ IMP::misc::DecayPairContainerOptimizerState class"""
1206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1208 def __init__(self, *args):
1210 __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list, std::string name) -> DecayPairContainerOptimizerState
1211 __init__(IMP::misc::DecayPairContainerOptimizerState self, Model m, PairPredicate pred, IMP::ParticleIndexPairs const & initial_list) -> DecayPairContainerOptimizerState
1212 __init__(IMP::misc::DecayPairContainerOptimizerState self, PairPredicate pred, IMP::ParticlePairsTemp const & initial_list, std::string name) -> DecayPairContainerOptimizerState
1213 __init__(IMP::misc::DecayPairContainerOptimizerState self, PairPredicate pred, IMP::ParticlePairsTemp const & initial_list) -> DecayPairContainerOptimizerState
1215 this = _IMP_misc.new_DecayPairContainerOptimizerState(*args)
1217 self.this.append(this)
1221 def get_output_container(self):
1222 """get_output_container(DecayPairContainerOptimizerState self) -> PairContainer"""
1223 return _IMP_misc.DecayPairContainerOptimizerState_get_output_container(self)
1226 def do_update(self, call_num):
1227 """do_update(DecayPairContainerOptimizerState self, unsigned int call_num)"""
1228 return _IMP_misc.DecayPairContainerOptimizerState_do_update(self, call_num)
1232 """get_version_info(DecayPairContainerOptimizerState self) -> VersionInfo"""
1233 return _IMP_misc.DecayPairContainerOptimizerState_get_version_info(self)
1237 """__str__(DecayPairContainerOptimizerState self) -> std::string"""
1238 return _IMP_misc.DecayPairContainerOptimizerState___str__(self)
1242 """__repr__(DecayPairContainerOptimizerState self) -> std::string"""
1243 return _IMP_misc.DecayPairContainerOptimizerState___repr__(self)
1246 return _object_cast_to_DecayPairContainerOptimizerState(o)
1247 get_from = staticmethod(get_from)
1249 DecayPairContainerOptimizerState_swigregister = _IMP_misc.DecayPairContainerOptimizerState_swigregister
1250 DecayPairContainerOptimizerState_swigregister(DecayPairContainerOptimizerState)
1253 def get_module_version():
1254 """get_module_version() -> std::string const"""
1255 return _IMP_misc.get_module_version()
1258 """get_example_path(std::string fname) -> std::string"""
1259 return _IMP_misc.get_example_path(fname)
1262 """get_data_path(std::string fname) -> std::string"""
1263 return _IMP_misc.get_data_path(fname)
1264 from .
import _version_check
1265 _version_check.check_version(get_module_version())
1266 __version__ = get_module_version()
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
Composable functors to implement scores via compile-time composition.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
ScoreStates maintain invariants in the Model.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
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...
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.