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_pmi', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_pmi', fp, pathname, description)
32 _IMP_pmi = 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_PMI_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_PMI_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_pmi.delete_IMP_PMI_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
125 return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
130 incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
131 incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
133 return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
138 decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
139 decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
141 return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, x)
150 """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
151 return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
155 """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
156 return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
160 """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
161 return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
165 """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
166 return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
170 """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
171 return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
176 return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
181 return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
186 return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
191 return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
196 return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
201 return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
207 __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
213 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
214 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
222 _IMP_pmi.IMP_DEBUG_swigconstant(_IMP_pmi)
223 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
225 _IMP_pmi.IMP_RELEASE_swigconstant(_IMP_pmi)
226 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
228 _IMP_pmi.IMP_SILENT_swigconstant(_IMP_pmi)
229 IMP_SILENT = _IMP_pmi.IMP_SILENT
231 _IMP_pmi.IMP_PROGRESS_swigconstant(_IMP_pmi)
232 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
234 _IMP_pmi.IMP_TERSE_swigconstant(_IMP_pmi)
235 IMP_TERSE = _IMP_pmi.IMP_TERSE
237 _IMP_pmi.IMP_VERBOSE_swigconstant(_IMP_pmi)
238 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
240 _IMP_pmi.IMP_MEMORY_swigconstant(_IMP_pmi)
241 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
243 _IMP_pmi.IMP_NONE_swigconstant(_IMP_pmi)
244 IMP_NONE = _IMP_pmi.IMP_NONE
246 _IMP_pmi.IMP_USAGE_swigconstant(_IMP_pmi)
247 IMP_USAGE = _IMP_pmi.IMP_USAGE
249 _IMP_pmi.IMP_INTERNAL_swigconstant(_IMP_pmi)
250 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
252 _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_pmi)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_pmi.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_pmi)
256 IMP_COMPILER_HAS_AUTO = _IMP_pmi.IMP_COMPILER_HAS_AUTO
258 _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_pmi)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_pmi)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_pmi)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_pmi)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_pmi.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.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_pmi._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_pmi._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_pmi)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_pmi.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_pmi)
321 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
323 _IMP_pmi.IMP_HAS_NOEXCEPT_swigconstant(_IMP_pmi)
324 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
327 _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_pmi.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
340 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
343 _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_pmi.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_pmi)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
361 _IMP_pmi.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_pmi)
362 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
364 _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_pmi)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_pmi.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_pmi)
384 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
386 _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_pmi)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_pmi)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_pmi)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_pmi)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_pmi.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
416 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
418 _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
419 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
421 _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
422 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
424 _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
425 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
427 _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
428 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
430 _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
431 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
433 _IMP_pmi.IMP_CORE_HAS_CGAL_swigconstant(_IMP_pmi)
434 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
436 _IMP_pmi.IMP_CORE_HAS_HDF5_swigconstant(_IMP_pmi)
437 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
439 _IMP_pmi.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_pmi)
440 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
443 _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
444 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
446 _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
447 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
449 _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
450 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
452 _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
453 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
455 _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
456 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
458 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
459 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
461 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
462 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
464 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
465 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
467 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
468 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
470 _IMP_pmi.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_pmi)
471 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
473 _IMP_pmi.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_pmi)
474 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
476 _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_pmi)
477 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
480 _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
481 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
483 _IMP_pmi.IMP_PMI_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
484 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
486 _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
487 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
489 _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
490 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
492 _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
493 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
495 _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
496 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
498 _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
499 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
501 _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
502 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
504 _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
505 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
507 _IMP_pmi.IMP_PMI_HAS_CGAL_swigconstant(_IMP_pmi)
508 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
510 _IMP_pmi.IMP_PMI_HAS_HDF5_swigconstant(_IMP_pmi)
511 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
513 _IMP_pmi.IMPPMI_SHOW_WARNINGS_swigconstant(_IMP_pmi)
514 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
515 _object_types.append(
"CompositeRestraint")
518 def _object_cast_to_CompositeRestraint(o):
519 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
520 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
521 def Uncertainties(l=[]):
522 return [Uncertainty(x)
for x
in l]
523 _plural_types.append(
"Uncertainties")
525 _value_types.append(
"Uncertainty")
527 def Resolutions(l=[]):
528 return [Resolution(x)
for x
in l]
529 _plural_types.append(
"Resolutions")
531 _value_types.append(
"Resolution")
533 def Symmetrics(l=[]):
534 return [Symmetric(x)
for x
in l]
535 _plural_types.append(
"Symmetrics")
537 _value_types.append(
"Symmetric")
539 _object_types.append(
"SigmoidRestraintSphere")
542 def _object_cast_to_SigmoidRestraintSphere(o):
543 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
544 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
545 _object_types.append(
"TransformMover")
548 def _object_cast_to_TransformMover(o):
549 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
550 return _IMP_pmi._object_cast_to_TransformMover(o)
552 """Proxy of C++ IMP::pmi::CompositeRestraint class"""
553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
557 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
558 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
560 this = _IMP_pmi.new_CompositeRestraint(*args)
562 self.this.append(this)
566 def add_composite_particle(self, pi):
567 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
568 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
571 def get_number_of_elements(self):
572 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
573 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
576 def do_get_inputs(self):
577 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
578 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
581 def get_version_info(self):
582 """get_version_info(CompositeRestraint self) -> VersionInfo"""
583 return _IMP_pmi.CompositeRestraint_get_version_info(self)
586 def get_probability(self):
587 """get_probability(CompositeRestraint self) -> double"""
588 return _IMP_pmi.CompositeRestraint_get_probability(self)
592 """__str__(CompositeRestraint self) -> std::string"""
593 return _IMP_pmi.CompositeRestraint___str__(self)
597 """__repr__(CompositeRestraint self) -> std::string"""
598 return _IMP_pmi.CompositeRestraint___repr__(self)
601 return _object_cast_to_CompositeRestraint(o)
602 get_from = staticmethod(get_from)
604 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
605 CompositeRestraint_swigregister(CompositeRestraint)
608 """Proxy of C++ IMP::pmi::Uncertainty class"""
609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
611 def get_uncertainty(self):
612 """get_uncertainty(Uncertainty self) -> IMP::Float"""
613 return _IMP_pmi.Uncertainty_get_uncertainty(self)
616 def set_uncertainty(self, d):
617 """set_uncertainty(Uncertainty self, IMP::Float d)"""
618 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
623 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
624 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
625 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
627 this = _IMP_pmi.new_Uncertainty(*args)
629 self.this.append(this)
633 def get_is_setup(*args):
635 get_is_setup(Model m, ParticleIndex pi) -> bool
636 get_is_setup(_ParticleAdaptor p) -> bool
638 return _IMP_pmi.Uncertainty_get_is_setup(*args)
640 get_is_setup = staticmethod(get_is_setup)
642 def show(self, *args):
644 show(Uncertainty self, _ostream out)
645 show(Uncertainty self)
647 return _IMP_pmi.Uncertainty_show(self, *args)
650 def setup_particle(*args):
652 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
653 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
655 return _IMP_pmi.Uncertainty_setup_particle(*args)
657 setup_particle = staticmethod(setup_particle)
659 def get_uncertainty_key():
660 """get_uncertainty_key() -> FloatKey"""
661 return _IMP_pmi.Uncertainty_get_uncertainty_key()
663 get_uncertainty_key = staticmethod(get_uncertainty_key)
665 def add_attribute(self, *args):
667 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
668 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
669 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
670 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
671 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
672 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
674 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
677 def get_value(self, *args):
679 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
680 get_value(Uncertainty self, IntKey a0) -> IMP::Int
681 get_value(Uncertainty self, StringKey a0) -> IMP::String
682 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
683 get_value(Uncertainty self, ObjectKey a0) -> Object
685 return _IMP_pmi.Uncertainty_get_value(self, *args)
688 def set_value(self, *args):
690 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
691 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
692 set_value(Uncertainty self, StringKey a0, IMP::String a1)
693 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
694 set_value(Uncertainty self, ObjectKey a0, Object a1)
696 return _IMP_pmi.Uncertainty_set_value(self, *args)
699 def remove_attribute(self, *args):
701 remove_attribute(Uncertainty self, FloatKey a0)
702 remove_attribute(Uncertainty self, IntKey a0)
703 remove_attribute(Uncertainty self, StringKey a0)
704 remove_attribute(Uncertainty self, ParticleIndexKey a0)
705 remove_attribute(Uncertainty self, ObjectKey a0)
707 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
710 def has_attribute(self, *args):
712 has_attribute(Uncertainty self, FloatKey a0) -> bool
713 has_attribute(Uncertainty self, IntKey a0) -> bool
714 has_attribute(Uncertainty self, StringKey a0) -> bool
715 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
716 has_attribute(Uncertainty self, ObjectKey a0) -> bool
718 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
721 def get_derivative(self, a0):
722 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
723 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
727 """get_name(Uncertainty self) -> std::string"""
728 return _IMP_pmi.Uncertainty_get_name(self)
731 def clear_caches(self):
732 """clear_caches(Uncertainty self)"""
733 return _IMP_pmi.Uncertainty_clear_caches(self)
736 def set_name(self, a0):
737 """set_name(Uncertainty self, std::string a0)"""
738 return _IMP_pmi.Uncertainty_set_name(self, a0)
742 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
743 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
746 def add_to_derivative(self, a0, a1, a2):
747 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
748 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
751 def set_is_optimized(self, a0, a1):
752 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
753 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
756 def get_is_optimized(self, a0):
757 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
758 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
762 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
763 return _IMP_pmi.Uncertainty_get_check_level(self)
766 def __eq__(self, *args):
768 __eq__(Uncertainty self, Uncertainty o) -> bool
769 __eq__(Uncertainty self, Particle d) -> bool
771 return _IMP_pmi.Uncertainty___eq__(self, *args)
774 def __ne__(self, *args):
776 __ne__(Uncertainty self, Uncertainty o) -> bool
777 __ne__(Uncertainty self, Particle d) -> bool
779 return _IMP_pmi.Uncertainty___ne__(self, *args)
782 def __le__(self, *args):
784 __le__(Uncertainty self, Uncertainty o) -> bool
785 __le__(Uncertainty self, Particle d) -> bool
787 return _IMP_pmi.Uncertainty___le__(self, *args)
790 def __lt__(self, *args):
792 __lt__(Uncertainty self, Uncertainty o) -> bool
793 __lt__(Uncertainty self, Particle d) -> bool
795 return _IMP_pmi.Uncertainty___lt__(self, *args)
798 def __ge__(self, *args):
800 __ge__(Uncertainty self, Uncertainty o) -> bool
801 __ge__(Uncertainty self, Particle d) -> bool
803 return _IMP_pmi.Uncertainty___ge__(self, *args)
806 def __gt__(self, *args):
808 __gt__(Uncertainty self, Uncertainty o) -> bool
809 __gt__(Uncertainty self, Particle d) -> bool
811 return _IMP_pmi.Uncertainty___gt__(self, *args)
815 """__hash__(Uncertainty self) -> std::size_t"""
816 return _IMP_pmi.Uncertainty___hash__(self)
820 """__str__(Uncertainty self) -> std::string"""
821 return _IMP_pmi.Uncertainty___str__(self)
825 """__repr__(Uncertainty self) -> std::string"""
826 return _IMP_pmi.Uncertainty___repr__(self)
828 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
829 __del__ =
lambda self:
None
830 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
831 Uncertainty_swigregister(Uncertainty)
833 def Uncertainty_get_is_setup(*args):
835 get_is_setup(Model m, ParticleIndex pi) -> bool
836 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
838 return _IMP_pmi.Uncertainty_get_is_setup(*args)
840 def Uncertainty_setup_particle(*args):
842 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
843 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
845 return _IMP_pmi.Uncertainty_setup_particle(*args)
847 def Uncertainty_get_uncertainty_key():
848 """Uncertainty_get_uncertainty_key() -> FloatKey"""
849 return _IMP_pmi.Uncertainty_get_uncertainty_key()
852 """Proxy of C++ IMP::pmi::Resolution class"""
853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
856 """get_resolution(Resolution self) -> IMP::Float"""
857 return _IMP_pmi.Resolution_get_resolution(self)
860 def set_resolution(self, d):
861 """set_resolution(Resolution self, IMP::Float d)"""
862 return _IMP_pmi.Resolution_set_resolution(self, d)
867 __init__(IMP::pmi::Resolution self) -> Resolution
868 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
869 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
871 this = _IMP_pmi.new_Resolution(*args)
873 self.this.append(this)
877 def get_is_setup(*args):
879 get_is_setup(Model m, ParticleIndex pi) -> bool
880 get_is_setup(_ParticleAdaptor p) -> bool
882 return _IMP_pmi.Resolution_get_is_setup(*args)
884 get_is_setup = staticmethod(get_is_setup)
886 def show(self, *args):
888 show(Resolution self, _ostream out)
889 show(Resolution self)
891 return _IMP_pmi.Resolution_show(self, *args)
894 def setup_particle(*args):
896 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
897 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
899 return _IMP_pmi.Resolution_setup_particle(*args)
901 setup_particle = staticmethod(setup_particle)
903 def get_resolution_key():
904 """get_resolution_key() -> FloatKey"""
905 return _IMP_pmi.Resolution_get_resolution_key()
907 get_resolution_key = staticmethod(get_resolution_key)
909 def add_attribute(self, *args):
911 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
912 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
913 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
914 add_attribute(Resolution self, StringKey a0, IMP::String a1)
915 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
916 add_attribute(Resolution self, ObjectKey a0, Object a1)
918 return _IMP_pmi.Resolution_add_attribute(self, *args)
921 def get_value(self, *args):
923 get_value(Resolution self, FloatKey a0) -> IMP::Float
924 get_value(Resolution self, IntKey a0) -> IMP::Int
925 get_value(Resolution self, StringKey a0) -> IMP::String
926 get_value(Resolution self, ParticleIndexKey a0) -> Particle
927 get_value(Resolution self, ObjectKey a0) -> Object
929 return _IMP_pmi.Resolution_get_value(self, *args)
932 def set_value(self, *args):
934 set_value(Resolution self, FloatKey a0, IMP::Float a1)
935 set_value(Resolution self, IntKey a0, IMP::Int a1)
936 set_value(Resolution self, StringKey a0, IMP::String a1)
937 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
938 set_value(Resolution self, ObjectKey a0, Object a1)
940 return _IMP_pmi.Resolution_set_value(self, *args)
943 def remove_attribute(self, *args):
945 remove_attribute(Resolution self, FloatKey a0)
946 remove_attribute(Resolution self, IntKey a0)
947 remove_attribute(Resolution self, StringKey a0)
948 remove_attribute(Resolution self, ParticleIndexKey a0)
949 remove_attribute(Resolution self, ObjectKey a0)
951 return _IMP_pmi.Resolution_remove_attribute(self, *args)
954 def has_attribute(self, *args):
956 has_attribute(Resolution self, FloatKey a0) -> bool
957 has_attribute(Resolution self, IntKey a0) -> bool
958 has_attribute(Resolution self, StringKey a0) -> bool
959 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
960 has_attribute(Resolution self, ObjectKey a0) -> bool
962 return _IMP_pmi.Resolution_has_attribute(self, *args)
965 def get_derivative(self, a0):
966 """get_derivative(Resolution self, FloatKey a0) -> double"""
967 return _IMP_pmi.Resolution_get_derivative(self, a0)
971 """get_name(Resolution self) -> std::string"""
972 return _IMP_pmi.Resolution_get_name(self)
975 def clear_caches(self):
976 """clear_caches(Resolution self)"""
977 return _IMP_pmi.Resolution_clear_caches(self)
980 def set_name(self, a0):
981 """set_name(Resolution self, std::string a0)"""
982 return _IMP_pmi.Resolution_set_name(self, a0)
986 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
987 return _IMP_pmi.Resolution_set_check_level(self, a0)
990 def add_to_derivative(self, a0, a1, a2):
991 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
992 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
995 def set_is_optimized(self, a0, a1):
996 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
997 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1000 def get_is_optimized(self, a0):
1001 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1002 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1006 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1007 return _IMP_pmi.Resolution_get_check_level(self)
1010 def __eq__(self, *args):
1012 __eq__(Resolution self, Resolution o) -> bool
1013 __eq__(Resolution self, Particle d) -> bool
1015 return _IMP_pmi.Resolution___eq__(self, *args)
1018 def __ne__(self, *args):
1020 __ne__(Resolution self, Resolution o) -> bool
1021 __ne__(Resolution self, Particle d) -> bool
1023 return _IMP_pmi.Resolution___ne__(self, *args)
1026 def __le__(self, *args):
1028 __le__(Resolution self, Resolution o) -> bool
1029 __le__(Resolution self, Particle d) -> bool
1031 return _IMP_pmi.Resolution___le__(self, *args)
1034 def __lt__(self, *args):
1036 __lt__(Resolution self, Resolution o) -> bool
1037 __lt__(Resolution self, Particle d) -> bool
1039 return _IMP_pmi.Resolution___lt__(self, *args)
1042 def __ge__(self, *args):
1044 __ge__(Resolution self, Resolution o) -> bool
1045 __ge__(Resolution self, Particle d) -> bool
1047 return _IMP_pmi.Resolution___ge__(self, *args)
1050 def __gt__(self, *args):
1052 __gt__(Resolution self, Resolution o) -> bool
1053 __gt__(Resolution self, Particle d) -> bool
1055 return _IMP_pmi.Resolution___gt__(self, *args)
1059 """__hash__(Resolution self) -> std::size_t"""
1060 return _IMP_pmi.Resolution___hash__(self)
1064 """__str__(Resolution self) -> std::string"""
1065 return _IMP_pmi.Resolution___str__(self)
1069 """__repr__(Resolution self) -> std::string"""
1070 return _IMP_pmi.Resolution___repr__(self)
1072 __swig_destroy__ = _IMP_pmi.delete_Resolution
1073 __del__ =
lambda self:
None
1074 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1075 Resolution_swigregister(Resolution)
1077 def Resolution_get_is_setup(*args):
1079 get_is_setup(Model m, ParticleIndex pi) -> bool
1080 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1082 return _IMP_pmi.Resolution_get_is_setup(*args)
1084 def Resolution_setup_particle(*args):
1086 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1087 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1089 return _IMP_pmi.Resolution_setup_particle(*args)
1091 def Resolution_get_resolution_key():
1092 """Resolution_get_resolution_key() -> FloatKey"""
1093 return _IMP_pmi.Resolution_get_resolution_key()
1096 """Proxy of C++ IMP::pmi::Symmetric class"""
1097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1099 def get_symmetric(self):
1100 """get_symmetric(Symmetric self) -> IMP::Float"""
1101 return _IMP_pmi.Symmetric_get_symmetric(self)
1104 def set_symmetric(self, d):
1105 """set_symmetric(Symmetric self, IMP::Float d)"""
1106 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1111 __init__(IMP::pmi::Symmetric self) -> Symmetric
1112 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1113 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1115 this = _IMP_pmi.new_Symmetric(*args)
1117 self.this.append(this)
1121 def get_is_setup(*args):
1123 get_is_setup(Model m, ParticleIndex pi) -> bool
1124 get_is_setup(_ParticleAdaptor p) -> bool
1126 return _IMP_pmi.Symmetric_get_is_setup(*args)
1128 get_is_setup = staticmethod(get_is_setup)
1130 def show(self, *args):
1132 show(Symmetric self, _ostream out)
1133 show(Symmetric self)
1135 return _IMP_pmi.Symmetric_show(self, *args)
1138 def setup_particle(*args):
1140 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1141 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1143 return _IMP_pmi.Symmetric_setup_particle(*args)
1145 setup_particle = staticmethod(setup_particle)
1147 def get_symmetric_key():
1148 """get_symmetric_key() -> FloatKey"""
1149 return _IMP_pmi.Symmetric_get_symmetric_key()
1151 get_symmetric_key = staticmethod(get_symmetric_key)
1153 def add_attribute(self, *args):
1155 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1156 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1157 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1158 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1159 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1160 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1162 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1165 def get_value(self, *args):
1167 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1168 get_value(Symmetric self, IntKey a0) -> IMP::Int
1169 get_value(Symmetric self, StringKey a0) -> IMP::String
1170 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1171 get_value(Symmetric self, ObjectKey a0) -> Object
1173 return _IMP_pmi.Symmetric_get_value(self, *args)
1176 def set_value(self, *args):
1178 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1179 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1180 set_value(Symmetric self, StringKey a0, IMP::String a1)
1181 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1182 set_value(Symmetric self, ObjectKey a0, Object a1)
1184 return _IMP_pmi.Symmetric_set_value(self, *args)
1187 def remove_attribute(self, *args):
1189 remove_attribute(Symmetric self, FloatKey a0)
1190 remove_attribute(Symmetric self, IntKey a0)
1191 remove_attribute(Symmetric self, StringKey a0)
1192 remove_attribute(Symmetric self, ParticleIndexKey a0)
1193 remove_attribute(Symmetric self, ObjectKey a0)
1195 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1198 def has_attribute(self, *args):
1200 has_attribute(Symmetric self, FloatKey a0) -> bool
1201 has_attribute(Symmetric self, IntKey a0) -> bool
1202 has_attribute(Symmetric self, StringKey a0) -> bool
1203 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1204 has_attribute(Symmetric self, ObjectKey a0) -> bool
1206 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1209 def get_derivative(self, a0):
1210 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1211 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1215 """get_name(Symmetric self) -> std::string"""
1216 return _IMP_pmi.Symmetric_get_name(self)
1219 def clear_caches(self):
1220 """clear_caches(Symmetric self)"""
1221 return _IMP_pmi.Symmetric_clear_caches(self)
1224 def set_name(self, a0):
1225 """set_name(Symmetric self, std::string a0)"""
1226 return _IMP_pmi.Symmetric_set_name(self, a0)
1230 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1231 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1234 def add_to_derivative(self, a0, a1, a2):
1235 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1236 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1239 def set_is_optimized(self, a0, a1):
1240 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1241 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1244 def get_is_optimized(self, a0):
1245 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1246 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1250 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1251 return _IMP_pmi.Symmetric_get_check_level(self)
1254 def __eq__(self, *args):
1256 __eq__(Symmetric self, Symmetric o) -> bool
1257 __eq__(Symmetric self, Particle d) -> bool
1259 return _IMP_pmi.Symmetric___eq__(self, *args)
1262 def __ne__(self, *args):
1264 __ne__(Symmetric self, Symmetric o) -> bool
1265 __ne__(Symmetric self, Particle d) -> bool
1267 return _IMP_pmi.Symmetric___ne__(self, *args)
1270 def __le__(self, *args):
1272 __le__(Symmetric self, Symmetric o) -> bool
1273 __le__(Symmetric self, Particle d) -> bool
1275 return _IMP_pmi.Symmetric___le__(self, *args)
1278 def __lt__(self, *args):
1280 __lt__(Symmetric self, Symmetric o) -> bool
1281 __lt__(Symmetric self, Particle d) -> bool
1283 return _IMP_pmi.Symmetric___lt__(self, *args)
1286 def __ge__(self, *args):
1288 __ge__(Symmetric self, Symmetric o) -> bool
1289 __ge__(Symmetric self, Particle d) -> bool
1291 return _IMP_pmi.Symmetric___ge__(self, *args)
1294 def __gt__(self, *args):
1296 __gt__(Symmetric self, Symmetric o) -> bool
1297 __gt__(Symmetric self, Particle d) -> bool
1299 return _IMP_pmi.Symmetric___gt__(self, *args)
1303 """__hash__(Symmetric self) -> std::size_t"""
1304 return _IMP_pmi.Symmetric___hash__(self)
1308 """__str__(Symmetric self) -> std::string"""
1309 return _IMP_pmi.Symmetric___str__(self)
1313 """__repr__(Symmetric self) -> std::string"""
1314 return _IMP_pmi.Symmetric___repr__(self)
1316 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1317 __del__ =
lambda self:
None
1318 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1319 Symmetric_swigregister(Symmetric)
1321 def Symmetric_get_is_setup(*args):
1323 get_is_setup(Model m, ParticleIndex pi) -> bool
1324 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1326 return _IMP_pmi.Symmetric_get_is_setup(*args)
1328 def Symmetric_setup_particle(*args):
1330 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1331 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1333 return _IMP_pmi.Symmetric_setup_particle(*args)
1335 def Symmetric_get_symmetric_key():
1336 """Symmetric_get_symmetric_key() -> FloatKey"""
1337 return _IMP_pmi.Symmetric_get_symmetric_key()
1340 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class"""
1341 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1345 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0, std::string name) -> SigmoidRestraintSphere
1346 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1347 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1349 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1351 self.this.append(this)
1355 def set_amplitude(self, amplitude):
1356 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1357 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1360 def increment_amplitude(self, amplitude):
1361 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1362 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1365 def get_amplitude(self):
1366 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1367 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1370 def do_get_inputs(self):
1371 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1372 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1375 def get_version_info(self):
1376 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1377 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1381 """__str__(SigmoidRestraintSphere self) -> std::string"""
1382 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1386 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1387 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1390 return _object_cast_to_SigmoidRestraintSphere(o)
1391 get_from = staticmethod(get_from)
1393 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1394 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1397 """Proxy of C++ IMP::pmi::TransformMover class"""
1398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1402 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1403 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1405 this = _IMP_pmi.new_TransformMover(*args)
1407 self.this.append(this)
1411 def add_xyz_particle(self, pi):
1412 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1413 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1416 def add_rigid_body_particle(self, pi):
1417 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1418 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1421 def set_maximum_translation(self, mt):
1422 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1423 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1426 def set_maximum_rotation(self, mr):
1427 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1428 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1431 def get_maximum_translation(self):
1432 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1433 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1436 def get_maximum_rotation(self):
1437 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1438 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1441 def get_version_info(self):
1442 """get_version_info(TransformMover self) -> VersionInfo"""
1443 return _IMP_pmi.TransformMover_get_version_info(self)
1447 """__str__(TransformMover self) -> std::string"""
1448 return _IMP_pmi.TransformMover___str__(self)
1452 """__repr__(TransformMover self) -> std::string"""
1453 return _IMP_pmi.TransformMover___repr__(self)
1456 return _object_cast_to_TransformMover(o)
1457 get_from = staticmethod(get_from)
1459 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1460 TransformMover_swigregister(TransformMover)
1464 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1465 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1467 def get_bipartite_minimum_sphere_distance(m1, m2):
1468 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1469 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1471 def get_list_of_bipartite_minimum_sphere_distance(pss):
1472 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1473 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1475 def get_module_version():
1476 """get_module_version() -> std::string const"""
1477 return _IMP_pmi.get_module_version()
1480 """get_example_path(std::string fname) -> std::string"""
1481 return _IMP_pmi.get_example_path(fname)
1484 """get_data_path(std::string fname) -> std::string"""
1485 return _IMP_pmi.get_data_path(fname)
1486 from .
import _version_check
1487 _version_check.check_version(get_module_version())
1488 __version__ = get_module_version()
CheckLevel get_check_level()
Get the current audit mode.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
Composable functors to implement scores via compile-time composition.
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
A base class for classes which perturb particles.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
Output IMP model data in various file formats.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
A restraint is a term in an IMP ScoringFunction.