11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_example', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_example', fp, pathname, description)
34 _IMP_example = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_EXAMPLE_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_EXAMPLE_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_example.delete_IMP_EXAMPLE_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
127 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_value(self)
132 incr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
133 incr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
135 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_incr(self, n)
140 decr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
141 decr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
143 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_distance(self, x)
152 """equal(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
153 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_equal(self, x)
157 """copy(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator"""
158 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_copy(self)
162 """next(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
163 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_next(self)
167 """__next__(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
168 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___next__(self)
172 """previous(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
173 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
178 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
183 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
188 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
193 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
198 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
203 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator
209 __sub__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___sub__(self, *args)
215 IMP_EXAMPLE_SwigPyIterator_swigregister = _IMP_example.IMP_EXAMPLE_SwigPyIterator_swigregister
216 IMP_EXAMPLE_SwigPyIterator_swigregister(IMP_EXAMPLE_SwigPyIterator)
225 _IMP_example.IMP_DEBUG_swigconstant(_IMP_example)
226 IMP_DEBUG = _IMP_example.IMP_DEBUG
228 _IMP_example.IMP_RELEASE_swigconstant(_IMP_example)
229 IMP_RELEASE = _IMP_example.IMP_RELEASE
231 _IMP_example.IMP_SILENT_swigconstant(_IMP_example)
232 IMP_SILENT = _IMP_example.IMP_SILENT
234 _IMP_example.IMP_PROGRESS_swigconstant(_IMP_example)
235 IMP_PROGRESS = _IMP_example.IMP_PROGRESS
237 _IMP_example.IMP_TERSE_swigconstant(_IMP_example)
238 IMP_TERSE = _IMP_example.IMP_TERSE
240 _IMP_example.IMP_VERBOSE_swigconstant(_IMP_example)
241 IMP_VERBOSE = _IMP_example.IMP_VERBOSE
243 _IMP_example.IMP_MEMORY_swigconstant(_IMP_example)
244 IMP_MEMORY = _IMP_example.IMP_MEMORY
246 _IMP_example.IMP_NONE_swigconstant(_IMP_example)
247 IMP_NONE = _IMP_example.IMP_NONE
249 _IMP_example.IMP_USAGE_swigconstant(_IMP_example)
250 IMP_USAGE = _IMP_example.IMP_USAGE
252 _IMP_example.IMP_INTERNAL_swigconstant(_IMP_example)
253 IMP_INTERNAL = _IMP_example.IMP_INTERNAL
255 _IMP_example.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_example)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_example.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_example)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_example.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_example)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_example.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_example.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_example)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_example.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_example.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_example)
271 IMP_KERNEL_HAS_NUMPY = _IMP_example.IMP_KERNEL_HAS_NUMPY
273 _IMP_example.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_example)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_example.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_example)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_example)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_example.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_example)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_example.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_example._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_example._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_example.IMP_HAS_NOEXCEPT_swigconstant(_IMP_example)
328 IMP_HAS_NOEXCEPT = _IMP_example.IMP_HAS_NOEXCEPT
330 _IMP_example.IMP_C_OPEN_BINARY_swigconstant(_IMP_example)
331 IMP_C_OPEN_BINARY = _IMP_example.IMP_C_OPEN_BINARY
334 _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_example.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_example.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_example)
350 IMP_CGAL_HAS_NUMPY = _IMP_example.IMP_CGAL_HAS_NUMPY
352 _IMP_example.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_example)
353 IMPCGAL_SHOW_WARNINGS = _IMP_example.IMPCGAL_SHOW_WARNINGS
356 _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_example)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_example.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_example.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_example)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_example.IMP_ALGEBRA_HAS_CGAL
377 _IMP_example.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_example)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_example.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_example.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_example)
381 IMP_ALGEBRA_HAS_ANN = _IMP_example.IMP_ALGEBRA_HAS_ANN
383 _IMP_example.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_example)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_example.IMPALGEBRA_SHOW_WARNINGS
387 _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_example)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL
390 _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
393 _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
396 _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM
399 _IMP_example.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
402 _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM
405 _IMP_example.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_example)
406 IMP_DISPLAY_HAS_CGAL = _IMP_example.IMP_DISPLAY_HAS_CGAL
408 _IMP_example.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_example)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_example.IMP_DISPLAY_HAS_NUMPY
411 _IMP_example.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_example)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_example.IMPDISPLAY_SHOW_WARNINGS
415 _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_example)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
418 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
421 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
427 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
430 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
433 _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_example)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL
436 _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_example)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5
439 _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_example)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY
442 _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_example)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS
446 _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_example)
447 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL
449 _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
450 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
452 _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
453 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
455 _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
456 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM
458 _IMP_example.IMP_STATISTICS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
459 IMP_STATISTICS_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_STATISTICS_HAS_BOOST_SERIALIZATION
461 _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
462 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM
464 _IMP_example.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_example)
465 IMP_STATISTICS_HAS_CGAL = _IMP_example.IMP_STATISTICS_HAS_CGAL
467 _IMP_example.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_example)
468 IMP_STATISTICS_HAS_NUMPY = _IMP_example.IMP_STATISTICS_HAS_NUMPY
470 _IMP_example.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_example)
471 IMPSTATISTICS_SHOW_WARNINGS = _IMP_example.IMPSTATISTICS_SHOW_WARNINGS
474 _IMP_example.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_example)
475 IMP_CORE_HAS_IMP_CGAL = _IMP_example.IMP_CORE_HAS_IMP_CGAL
477 _IMP_example.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
478 IMP_CORE_HAS_IMP_KERNEL = _IMP_example.IMP_CORE_HAS_IMP_KERNEL
480 _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
481 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM
483 _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
484 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_example.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
487 IMP_CORE_HAS_BOOST_RANDOM = _IMP_example.IMP_CORE_HAS_BOOST_RANDOM
489 _IMP_example.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
490 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_CORE_HAS_BOOST_SERIALIZATION
492 _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
493 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM
495 _IMP_example.IMP_CORE_HAS_CGAL_swigconstant(_IMP_example)
496 IMP_CORE_HAS_CGAL = _IMP_example.IMP_CORE_HAS_CGAL
498 _IMP_example.IMP_CORE_HAS_HDF5_swigconstant(_IMP_example)
499 IMP_CORE_HAS_HDF5 = _IMP_example.IMP_CORE_HAS_HDF5
501 _IMP_example.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_example)
502 IMP_CORE_HAS_NUMPY = _IMP_example.IMP_CORE_HAS_NUMPY
504 _IMP_example.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_example)
505 IMPCORE_SHOW_WARNINGS = _IMP_example.IMPCORE_SHOW_WARNINGS
508 _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
509 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA
511 _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_example)
512 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL
514 _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
515 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY
517 _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_example)
518 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL
520 _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
521 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
523 _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
524 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
526 _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
527 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
529 _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
530 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM
532 _IMP_example.IMP_CONTAINER_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
533 IMP_CONTAINER_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_CONTAINER_HAS_BOOST_SERIALIZATION
535 _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
536 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM
538 _IMP_example.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_example)
539 IMP_CONTAINER_HAS_CGAL = _IMP_example.IMP_CONTAINER_HAS_CGAL
541 _IMP_example.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_example)
542 IMP_CONTAINER_HAS_HDF5 = _IMP_example.IMP_CONTAINER_HAS_HDF5
544 _IMP_example.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_example)
545 IMP_CONTAINER_HAS_NUMPY = _IMP_example.IMP_CONTAINER_HAS_NUMPY
547 _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_example)
548 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM
550 _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_example)
551 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
553 _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_example)
554 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP
556 _IMP_example.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_example)
557 IMPCONTAINER_SHOW_WARNINGS = _IMP_example.IMPCONTAINER_SHOW_WARNINGS
560 _IMP_example.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_example)
561 IMP_ATOM_HAS_IMP_CGAL = _IMP_example.IMP_ATOM_HAS_IMP_CGAL
563 _IMP_example.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_example)
564 IMP_ATOM_HAS_IMP_KERNEL = _IMP_example.IMP_ATOM_HAS_IMP_KERNEL
566 _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
567 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
569 _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
570 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
572 _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
573 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM
575 _IMP_example.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
576 IMP_ATOM_HAS_BOOST_REGEX = _IMP_example.IMP_ATOM_HAS_BOOST_REGEX
578 _IMP_example.IMP_ATOM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
579 IMP_ATOM_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_ATOM_HAS_BOOST_SERIALIZATION
581 _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
582 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM
584 _IMP_example.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_example)
585 IMP_ATOM_HAS_CGAL = _IMP_example.IMP_ATOM_HAS_CGAL
587 _IMP_example.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_example)
588 IMP_ATOM_HAS_HDF5 = _IMP_example.IMP_ATOM_HAS_HDF5
590 _IMP_example.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_example)
591 IMP_ATOM_HAS_NUMPY = _IMP_example.IMP_ATOM_HAS_NUMPY
593 _IMP_example.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
594 IMP_ATOM_HAS_PYTHON_IHM = _IMP_example.IMP_ATOM_HAS_PYTHON_IHM
596 _IMP_example.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_example)
597 IMPATOM_SHOW_WARNINGS = _IMP_example.IMPATOM_SHOW_WARNINGS
599 _IMP_example.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_example)
600 IMP_ATOM_TYPE_INDEX = _IMP_example.IMP_ATOM_TYPE_INDEX
602 _IMP_example.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_example)
603 IMP_RESIDUE_TYPE_INDEX = _IMP_example.IMP_RESIDUE_TYPE_INDEX
605 _IMP_example.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_example)
606 IMP_HIERARCHY_TYPE_INDEX = _IMP_example.IMP_HIERARCHY_TYPE_INDEX
608 _IMP_example.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_example)
609 IMP_CHAIN_TYPE_INDEX = _IMP_example.IMP_CHAIN_TYPE_INDEX
612 _IMP_example.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_example)
613 IMP_EM_HAS_IMP_CGAL = _IMP_example.IMP_EM_HAS_IMP_CGAL
615 _IMP_example.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
616 IMP_EM_HAS_IMP_CONTAINER = _IMP_example.IMP_EM_HAS_IMP_CONTAINER
618 _IMP_example.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
619 IMP_EM_HAS_IMP_DISPLAY = _IMP_example.IMP_EM_HAS_IMP_DISPLAY
621 _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
622 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR
624 _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
625 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM
627 _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
628 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
630 _IMP_example.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
631 IMP_EM_HAS_BOOST_RANDOM = _IMP_example.IMP_EM_HAS_BOOST_RANDOM
633 _IMP_example.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
634 IMP_EM_HAS_BOOST_REGEX = _IMP_example.IMP_EM_HAS_BOOST_REGEX
636 _IMP_example.IMP_EM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
637 IMP_EM_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_EM_HAS_BOOST_SERIALIZATION
639 _IMP_example.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
640 IMP_EM_HAS_BOOST_SYSTEM = _IMP_example.IMP_EM_HAS_BOOST_SYSTEM
642 _IMP_example.IMP_EM_HAS_CGAL_swigconstant(_IMP_example)
643 IMP_EM_HAS_CGAL = _IMP_example.IMP_EM_HAS_CGAL
645 _IMP_example.IMP_EM_HAS_HDF5_swigconstant(_IMP_example)
646 IMP_EM_HAS_HDF5 = _IMP_example.IMP_EM_HAS_HDF5
648 _IMP_example.IMP_EM_HAS_NUMPY_swigconstant(_IMP_example)
649 IMP_EM_HAS_NUMPY = _IMP_example.IMP_EM_HAS_NUMPY
651 _IMP_example.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
652 IMP_EM_HAS_PYTHON_IHM = _IMP_example.IMP_EM_HAS_PYTHON_IHM
654 _IMP_example.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_example)
655 IMPEM_SHOW_WARNINGS = _IMP_example.IMPEM_SHOW_WARNINGS
658 _IMP_example.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_example)
659 IMP_SAXS_HAS_IMP_CGAL = _IMP_example.IMP_SAXS_HAS_IMP_CGAL
661 _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
662 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER
664 _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
665 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY
667 _IMP_example.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_example)
668 IMP_SAXS_HAS_IMP_KERNEL = _IMP_example.IMP_SAXS_HAS_IMP_KERNEL
670 _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
671 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
673 _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
674 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM
676 _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
677 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
679 _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
680 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM
682 _IMP_example.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_example)
683 IMP_SAXS_HAS_BOOST_REGEX = _IMP_example.IMP_SAXS_HAS_BOOST_REGEX
685 _IMP_example.IMP_SAXS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
686 IMP_SAXS_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_SAXS_HAS_BOOST_SERIALIZATION
688 _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
689 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM
691 _IMP_example.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_example)
692 IMP_SAXS_HAS_CGAL = _IMP_example.IMP_SAXS_HAS_CGAL
694 _IMP_example.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_example)
695 IMP_SAXS_HAS_HDF5 = _IMP_example.IMP_SAXS_HAS_HDF5
697 _IMP_example.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_example)
698 IMP_SAXS_HAS_NUMPY = _IMP_example.IMP_SAXS_HAS_NUMPY
700 _IMP_example.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_example)
701 IMP_SAXS_HAS_PYTHON_IHM = _IMP_example.IMP_SAXS_HAS_PYTHON_IHM
703 _IMP_example.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_example)
704 IMPSAXS_SHOW_WARNINGS = _IMP_example.IMPSAXS_SHOW_WARNINGS
707 _IMP_example.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_example)
708 IMP_ISD_HAS_IMP_CGAL = _IMP_example.IMP_ISD_HAS_IMP_CGAL
710 _IMP_example.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
711 IMP_ISD_HAS_IMP_DISPLAY = _IMP_example.IMP_ISD_HAS_IMP_DISPLAY
713 _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
714 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
716 _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
717 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM
719 _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
720 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
722 _IMP_example.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
723 IMP_ISD_HAS_BOOST_RANDOM = _IMP_example.IMP_ISD_HAS_BOOST_RANDOM
725 _IMP_example.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_example)
726 IMP_ISD_HAS_BOOST_REGEX = _IMP_example.IMP_ISD_HAS_BOOST_REGEX
728 _IMP_example.IMP_ISD_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
729 IMP_ISD_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_ISD_HAS_BOOST_SERIALIZATION
731 _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
732 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM
734 _IMP_example.IMP_ISD_HAS_CGAL_swigconstant(_IMP_example)
735 IMP_ISD_HAS_CGAL = _IMP_example.IMP_ISD_HAS_CGAL
737 _IMP_example.IMP_ISD_HAS_HDF5_swigconstant(_IMP_example)
738 IMP_ISD_HAS_HDF5 = _IMP_example.IMP_ISD_HAS_HDF5
740 _IMP_example.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_example)
741 IMP_ISD_HAS_NUMPY = _IMP_example.IMP_ISD_HAS_NUMPY
743 _IMP_example.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_example)
744 IMP_ISD_HAS_PYTHON_IHM = _IMP_example.IMP_ISD_HAS_PYTHON_IHM
746 _IMP_example.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_example)
747 IMPISD_SHOW_WARNINGS = _IMP_example.IMPISD_SHOW_WARNINGS
750 _IMP_example.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_example)
751 IMP_RMF_HAS_IMP_CGAL = _IMP_example.IMP_RMF_HAS_IMP_CGAL
753 _IMP_example.IMP_RMF_HAS_IMP_EM_swigconstant(_IMP_example)
754 IMP_RMF_HAS_IMP_EM = _IMP_example.IMP_RMF_HAS_IMP_EM
756 _IMP_example.IMP_RMF_HAS_IMP_SAXS_swigconstant(_IMP_example)
757 IMP_RMF_HAS_IMP_SAXS = _IMP_example.IMP_RMF_HAS_IMP_SAXS
759 _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
760 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
762 _IMP_example.IMP_RMF_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
763 IMP_RMF_HAS_IMP_STATISTICS = _IMP_example.IMP_RMF_HAS_IMP_STATISTICS
765 _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
766 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM
768 _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
769 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
771 _IMP_example.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
772 IMP_RMF_HAS_BOOST_RANDOM = _IMP_example.IMP_RMF_HAS_BOOST_RANDOM
774 _IMP_example.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_example)
775 IMP_RMF_HAS_BOOST_REGEX = _IMP_example.IMP_RMF_HAS_BOOST_REGEX
777 _IMP_example.IMP_RMF_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
778 IMP_RMF_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_RMF_HAS_BOOST_SERIALIZATION
780 _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
781 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM
783 _IMP_example.IMP_RMF_HAS_CGAL_swigconstant(_IMP_example)
784 IMP_RMF_HAS_CGAL = _IMP_example.IMP_RMF_HAS_CGAL
786 _IMP_example.IMP_RMF_HAS_HDF5_swigconstant(_IMP_example)
787 IMP_RMF_HAS_HDF5 = _IMP_example.IMP_RMF_HAS_HDF5
789 _IMP_example.IMP_RMF_HAS_NUMPY_swigconstant(_IMP_example)
790 IMP_RMF_HAS_NUMPY = _IMP_example.IMP_RMF_HAS_NUMPY
792 _IMP_example.IMP_RMF_HAS_PYTHON_IHM_swigconstant(_IMP_example)
793 IMP_RMF_HAS_PYTHON_IHM = _IMP_example.IMP_RMF_HAS_PYTHON_IHM
795 _IMP_example.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_example)
796 IMPRMF_SHOW_WARNINGS = _IMP_example.IMPRMF_SHOW_WARNINGS
800 _IMP_example.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_example)
801 IMP_DOMINO_HAS_IMP_ATOM = _IMP_example.IMP_DOMINO_HAS_IMP_ATOM
803 _IMP_example.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_example)
804 IMP_DOMINO_HAS_IMP_CGAL = _IMP_example.IMP_DOMINO_HAS_IMP_CGAL
806 _IMP_example.IMP_DOMINO_HAS_IMP_EM_swigconstant(_IMP_example)
807 IMP_DOMINO_HAS_IMP_EM = _IMP_example.IMP_DOMINO_HAS_IMP_EM
809 _IMP_example.IMP_DOMINO_HAS_IMP_ISD_swigconstant(_IMP_example)
810 IMP_DOMINO_HAS_IMP_ISD = _IMP_example.IMP_DOMINO_HAS_IMP_ISD
812 _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_example)
813 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL
815 _IMP_example.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_example)
816 IMP_DOMINO_HAS_IMP_RMF = _IMP_example.IMP_DOMINO_HAS_IMP_RMF
818 _IMP_example.IMP_DOMINO_HAS_IMP_SAXS_swigconstant(_IMP_example)
819 IMP_DOMINO_HAS_IMP_SAXS = _IMP_example.IMP_DOMINO_HAS_IMP_SAXS
821 _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
822 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
824 _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
825 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM
827 _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
828 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
830 _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
831 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM
833 _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_example)
834 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX
836 _IMP_example.IMP_DOMINO_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
837 IMP_DOMINO_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_DOMINO_HAS_BOOST_SERIALIZATION
839 _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
840 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM
842 _IMP_example.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_example)
843 IMP_DOMINO_HAS_CGAL = _IMP_example.IMP_DOMINO_HAS_CGAL
845 _IMP_example.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_example)
846 IMP_DOMINO_HAS_HDF5 = _IMP_example.IMP_DOMINO_HAS_HDF5
848 _IMP_example.IMP_DOMINO_HAS_NUMPY_swigconstant(_IMP_example)
849 IMP_DOMINO_HAS_NUMPY = _IMP_example.IMP_DOMINO_HAS_NUMPY
851 _IMP_example.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_example)
852 IMP_DOMINO_HAS_RMF = _IMP_example.IMP_DOMINO_HAS_RMF
854 _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM_swigconstant(_IMP_example)
855 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM
857 _IMP_example.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_example)
858 IMPDOMINO_SHOW_WARNINGS = _IMP_example.IMPDOMINO_SHOW_WARNINGS
862 _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
863 IMP_EXAMPLE_HAS_IMP_ALGEBRA = _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA
865 _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL_swigconstant(_IMP_example)
866 IMP_EXAMPLE_HAS_IMP_CGAL = _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL
868 _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
869 IMP_EXAMPLE_HAS_IMP_DISPLAY = _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY
871 _IMP_example.IMP_EXAMPLE_HAS_IMP_EM_swigconstant(_IMP_example)
872 IMP_EXAMPLE_HAS_IMP_EM = _IMP_example.IMP_EXAMPLE_HAS_IMP_EM
874 _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD_swigconstant(_IMP_example)
875 IMP_EXAMPLE_HAS_IMP_ISD = _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD
877 _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
878 IMP_EXAMPLE_HAS_IMP_KERNEL = _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL
880 _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF_swigconstant(_IMP_example)
881 IMP_EXAMPLE_HAS_IMP_RMF = _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF
883 _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS_swigconstant(_IMP_example)
884 IMP_EXAMPLE_HAS_IMP_SAXS = _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS
886 _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
887 IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR
889 _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
890 IMP_EXAMPLE_HAS_IMP_STATISTICS = _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS
892 _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
893 IMP_EXAMPLE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM
895 _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH_swigconstant(_IMP_example)
896 IMP_EXAMPLE_HAS_BOOST_GRAPH = _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH
898 _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
899 IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS
901 _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
902 IMP_EXAMPLE_HAS_BOOST_RANDOM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM
904 _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX_swigconstant(_IMP_example)
905 IMP_EXAMPLE_HAS_BOOST_REGEX = _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX
907 _IMP_example.IMP_EXAMPLE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
908 IMP_EXAMPLE_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SERIALIZATION
910 _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
911 IMP_EXAMPLE_HAS_BOOST_SYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM
913 _IMP_example.IMP_EXAMPLE_HAS_CGAL_swigconstant(_IMP_example)
914 IMP_EXAMPLE_HAS_CGAL = _IMP_example.IMP_EXAMPLE_HAS_CGAL
916 _IMP_example.IMP_EXAMPLE_HAS_HDF5_swigconstant(_IMP_example)
917 IMP_EXAMPLE_HAS_HDF5 = _IMP_example.IMP_EXAMPLE_HAS_HDF5
919 _IMP_example.IMP_EXAMPLE_HAS_NUMPY_swigconstant(_IMP_example)
920 IMP_EXAMPLE_HAS_NUMPY = _IMP_example.IMP_EXAMPLE_HAS_NUMPY
922 _IMP_example.IMP_EXAMPLE_HAS_RMF_swigconstant(_IMP_example)
923 IMP_EXAMPLE_HAS_RMF = _IMP_example.IMP_EXAMPLE_HAS_RMF
925 _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM_swigconstant(_IMP_example)
926 IMP_EXAMPLE_HAS_PYTHON_IHM = _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM
928 _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY_swigconstant(_IMP_example)
929 IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY = _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY
931 _IMP_example.IMPEXAMPLE_SHOW_WARNINGS_swigconstant(_IMP_example)
932 IMPEXAMPLE_SHOW_WARNINGS = _IMP_example.IMPEXAMPLE_SHOW_WARNINGS
934 _object_types.append(
"ExampleRestraint")
937 def _object_cast_to_ExampleRestraint(o):
938 """_object_cast_to_ExampleRestraint(Object o) -> ExampleRestraint"""
939 return _IMP_example._object_cast_to_ExampleRestraint(o)
941 def ExampleDecorators(l=[]):
942 return [ExampleDecorator(x)
for x
in l]
943 _plural_types.append(
"ExampleDecorators")
946 _value_types.append(
"ExampleDecorator")
949 _object_types.append(
"ExampleUnaryFunction")
952 def _object_cast_to_ExampleUnaryFunction(o):
953 """_object_cast_to_ExampleUnaryFunction(Object o) -> ExampleUnaryFunction"""
954 return _IMP_example._object_cast_to_ExampleUnaryFunction(o)
956 _object_types.append(
"ExampleSingletonModifier")
959 def _object_cast_to_ExampleSingletonModifier(o):
960 """_object_cast_to_ExampleSingletonModifier(Object o) -> ExampleSingletonModifier"""
961 return _IMP_example._object_cast_to_ExampleSingletonModifier(o)
963 _object_types.append(
"ExamplePairScore")
966 def _object_cast_to_ExamplePairScore(o):
967 """_object_cast_to_ExamplePairScore(Object o) -> ExamplePairScore"""
968 return _IMP_example._object_cast_to_ExamplePairScore(o)
970 _object_types.append(
"ExampleSubsetFilterTable")
973 def _object_cast_to_ExampleSubsetFilterTable(o):
974 """_object_cast_to_ExampleSubsetFilterTable(Object o) -> ExampleSubsetFilterTable"""
975 return _IMP_example._object_cast_to_ExampleSubsetFilterTable(o)
977 _object_types.append(
"ExampleConstraint")
980 def _object_cast_to_ExampleConstraint(o):
981 """_object_cast_to_ExampleConstraint(Object o) -> ExampleConstraint"""
982 return _IMP_example._object_cast_to_ExampleConstraint(o)
984 _object_types.append(
"ExampleObject")
987 def _object_cast_to_ExampleObject(o):
988 """_object_cast_to_ExampleObject(Object o) -> ExampleObject"""
989 return _IMP_example._object_cast_to_ExampleObject(o)
991 ExampleTemplateClass3Ds=list
992 _plural_types.append(
"ExampleTemplateClass3Ds")
993 _value_types.append(
"ExampleTemplateClass3D")
996 def create_model_and_particles():
1001 for i
in range(0,100):
1002 p = m.add_particle(
"p")
1006 d.set_coordinates_are_optimized(
True)
1012 """An example restraint written in Python.
1013 This should be functionally equivalent to the C++ ExampleRestraint.
1015 def __init__(self, m, p, k):
1016 IMP.Restraint.__init__(self, m,
"PythonExampleRestraint%1%")
1017 self.p, self.k = p, k
1019 def do_add_score_and_derivatives(self, sa):
1021 score = .5 * self.k * d.get_z() * d.get_z()
1022 if sa.get_derivative_accumulator():
1023 deriv = self.k * d.get_z()
1024 d.add_to_derivative(2, deriv, sa.get_derivative_accumulator())
1028 return [self.
get_model().get_particle(self.p)]
1034 """An example PairScore written in Python.
1035 This should be functionally equivalent to the C++ ExamplePairScore.
1037 def __init__(self, x0, k):
1038 IMP.PairScore.__init__(self)
1039 self.x0, self.k = x0, k
1044 diff = (d0.get_coordinates()
1045 - d1.get_coordinates()).get_magnitude() - self.x0
1046 score = .5 * self.k * diff * diff
1049 delta = d0.get_coordinates() - d1.get_coordinates()
1050 udelta = delta.get_unit_vector()
1052 d0.add_to_derivatives(udelta * dv, da)
1053 d1.add_to_derivatives(-udelta * dv, da)
1063 """An example UnaryFunction written in Python.
1064 This should be functionally equivalent to the C++ ExampleUnaryFunction.
1066 def __init__(self, center, k):
1067 IMP.UnaryFunction.__init__(self)
1068 self.center, self.k = center, k
1071 return (self.
evaluate(feature), self.k * (feature - self.center))
1074 return .5 * self.k * (feature - self.center) * (feature - self.center)
1080 """An example Constraint written in Python.
1081 This should be functionally equivalent to the C++ ExampleConstraint.
1086 def __init__(self, p):
1087 IMP.Constraint.__init__(self, p.get_model(),
"ExampleConstraint%1%")
1090 PythonExampleConstraint.k =
IMP.IntKey(
"Constraint key")
1091 if not p.has_attribute(self.k):
1092 p.add_attribute(self.k, 0)
1094 def do_update_attributes(self):
1095 self.p.set_value(self.k, self.p.get_value(self.k) + 1)
1097 def do_update_derivatives(self, da):
1110 """An example SingletonModifier written in Python.
1111 This should be functionally equivalent to the C++
1112 ExampleSingletonModifier.
1115 def __init__(self, bb):
1116 IMP.SingletonModifier.__init__(self,
"ExampleSingletonModifier%1%")
1123 while d.get_coordinate(i) < self.bb.get_corner(0)[i]:
1124 d.set_coordinate(i,d.get_coordinate(i) + \
1125 (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1126 while d.get_coordinate(i) > self.bb.get_corner(1)[i]:
1127 d.set_coordinate(i,d.get_coordinate(i) - \
1128 (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1138 """Proxy of C++ IMP::example::ExampleRestraint class"""
1139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1141 def __init__(self, m, p, k):
1142 """__init__(IMP::example::ExampleRestraint self, Model m, ParticleIndex p, double k) -> ExampleRestraint"""
1143 this = _IMP_example.new_ExampleRestraint(m, p, k)
1145 self.this.append(this)
1149 def do_add_score_and_derivatives(self, sa):
1150 """do_add_score_and_derivatives(ExampleRestraint self, ScoreAccumulator sa)"""
1151 return _IMP_example.ExampleRestraint_do_add_score_and_derivatives(self, sa)
1155 """do_get_inputs(ExampleRestraint self) -> IMP::ModelObjectsTemp"""
1156 return _IMP_example.ExampleRestraint_do_get_inputs(self)
1160 """get_version_info(ExampleRestraint self) -> VersionInfo"""
1161 return _IMP_example.ExampleRestraint_get_version_info(self)
1165 """__str__(ExampleRestraint self) -> std::string"""
1166 return _IMP_example.ExampleRestraint___str__(self)
1170 """__repr__(ExampleRestraint self) -> std::string"""
1171 return _IMP_example.ExampleRestraint___repr__(self)
1176 return _object_cast_to_ExampleRestraint(o)
1178 ExampleRestraint_swigregister = _IMP_example.ExampleRestraint_swigregister
1179 ExampleRestraint_swigregister(ExampleRestraint)
1182 """Proxy of C++ IMP::example::ExampleDecorator class"""
1183 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1185 def get_decorator_name(self):
1186 """get_decorator_name(ExampleDecorator self) -> std::string"""
1187 return _IMP_example.ExampleDecorator_get_decorator_name(self)
1190 def set_decorator_name(self, nm):
1191 """set_decorator_name(ExampleDecorator self, std::string nm)"""
1192 return _IMP_example.ExampleDecorator_set_decorator_name(self, nm)
1195 def __init__(self, *args):
1197 __init__(IMP::example::ExampleDecorator self) -> ExampleDecorator
1198 __init__(IMP::example::ExampleDecorator self, Model m, ParticleIndex id) -> ExampleDecorator
1199 __init__(IMP::example::ExampleDecorator self, _ParticleAdaptor d) -> ExampleDecorator
1201 this = _IMP_example.new_ExampleDecorator(*args)
1203 self.this.append(this)
1207 def get_is_setup(*args):
1209 get_is_setup(Model m, ParticleIndex pi) -> bool
1210 get_is_setup(_ParticleAdaptor p) -> bool
1212 return _IMP_example.ExampleDecorator_get_is_setup(*args)
1214 get_is_setup = staticmethod(get_is_setup)
1216 def show(self, *args):
1218 show(ExampleDecorator self, _ostream out)
1219 show(ExampleDecorator self)
1221 return _IMP_example.ExampleDecorator_show(self, *args)
1224 def setup_particle(*args):
1226 setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1227 setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1229 return _IMP_example.ExampleDecorator_setup_particle(*args)
1231 setup_particle = staticmethod(setup_particle)
1233 def add_attribute(self, *args):
1235 add_attribute(ExampleDecorator self, FloatKey k, IMP::Float v, bool opt)
1236 add_attribute(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1237 add_attribute(ExampleDecorator self, IntKey a0, IMP::Int a1)
1238 add_attribute(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1239 add_attribute(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1240 add_attribute(ExampleDecorator self, StringKey a0, IMP::String a1)
1241 add_attribute(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1242 add_attribute(ExampleDecorator self, ObjectKey a0, Object a1)
1244 return _IMP_example.ExampleDecorator_add_attribute(self, *args)
1247 def get_value(self, *args):
1249 get_value(ExampleDecorator self, FloatKey a0) -> IMP::Float
1250 get_value(ExampleDecorator self, IntKey a0) -> IMP::Int
1251 get_value(ExampleDecorator self, FloatsKey a0) -> IMP::Floats
1252 get_value(ExampleDecorator self, IntsKey a0) -> IMP::Ints
1253 get_value(ExampleDecorator self, StringKey a0) -> IMP::String
1254 get_value(ExampleDecorator self, ParticleIndexKey a0) -> Particle
1255 get_value(ExampleDecorator self, ObjectKey a0) -> Object
1257 return _IMP_example.ExampleDecorator_get_value(self, *args)
1260 def set_value(self, *args):
1262 set_value(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1263 set_value(ExampleDecorator self, IntKey a0, IMP::Int a1)
1264 set_value(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1265 set_value(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1266 set_value(ExampleDecorator self, StringKey a0, IMP::String a1)
1267 set_value(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1268 set_value(ExampleDecorator self, ObjectKey a0, Object a1)
1270 return _IMP_example.ExampleDecorator_set_value(self, *args)
1273 def remove_attribute(self, *args):
1275 remove_attribute(ExampleDecorator self, FloatKey a0)
1276 remove_attribute(ExampleDecorator self, IntKey a0)
1277 remove_attribute(ExampleDecorator self, FloatsKey a0)
1278 remove_attribute(ExampleDecorator self, IntsKey a0)
1279 remove_attribute(ExampleDecorator self, StringKey a0)
1280 remove_attribute(ExampleDecorator self, ParticleIndexKey a0)
1281 remove_attribute(ExampleDecorator self, ObjectKey a0)
1283 return _IMP_example.ExampleDecorator_remove_attribute(self, *args)
1286 def has_attribute(self, *args):
1288 has_attribute(ExampleDecorator self, FloatKey a0) -> bool
1289 has_attribute(ExampleDecorator self, IntKey a0) -> bool
1290 has_attribute(ExampleDecorator self, FloatsKey a0) -> bool
1291 has_attribute(ExampleDecorator self, IntsKey a0) -> bool
1292 has_attribute(ExampleDecorator self, StringKey a0) -> bool
1293 has_attribute(ExampleDecorator self, ParticleIndexKey a0) -> bool
1294 has_attribute(ExampleDecorator self, ObjectKey a0) -> bool
1296 return _IMP_example.ExampleDecorator_has_attribute(self, *args)
1299 def get_derivative(self, a0):
1300 """get_derivative(ExampleDecorator self, FloatKey a0) -> double"""
1301 return _IMP_example.ExampleDecorator_get_derivative(self, a0)
1305 """get_name(ExampleDecorator self) -> std::string"""
1306 return _IMP_example.ExampleDecorator_get_name(self)
1310 """clear_caches(ExampleDecorator self)"""
1311 return _IMP_example.ExampleDecorator_clear_caches(self)
1314 def set_name(self, a0):
1315 """set_name(ExampleDecorator self, std::string a0)"""
1316 return _IMP_example.ExampleDecorator_set_name(self, a0)
1320 """set_check_level(ExampleDecorator self, IMP::CheckLevel a0)"""
1321 return _IMP_example.ExampleDecorator_set_check_level(self, a0)
1324 def add_to_derivative(self, a0, a1, a2):
1325 """add_to_derivative(ExampleDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1326 return _IMP_example.ExampleDecorator_add_to_derivative(self, a0, a1, a2)
1329 def set_is_optimized(self, a0, a1):
1330 """set_is_optimized(ExampleDecorator self, FloatKey a0, bool a1)"""
1331 return _IMP_example.ExampleDecorator_set_is_optimized(self, a0, a1)
1334 def get_is_optimized(self, a0):
1335 """get_is_optimized(ExampleDecorator self, FloatKey a0) -> bool"""
1336 return _IMP_example.ExampleDecorator_get_is_optimized(self, a0)
1339 def get_check_level(self):
1340 """get_check_level(ExampleDecorator self) -> IMP::CheckLevel"""
1341 return _IMP_example.ExampleDecorator_get_check_level(self)
1344 def __eq__(self, *args):
1346 __eq__(ExampleDecorator self, ExampleDecorator o) -> bool
1347 __eq__(ExampleDecorator self, Particle d) -> bool
1349 return _IMP_example.ExampleDecorator___eq__(self, *args)
1352 def __ne__(self, *args):
1354 __ne__(ExampleDecorator self, ExampleDecorator o) -> bool
1355 __ne__(ExampleDecorator self, Particle d) -> bool
1357 return _IMP_example.ExampleDecorator___ne__(self, *args)
1360 def __le__(self, *args):
1362 __le__(ExampleDecorator self, ExampleDecorator o) -> bool
1363 __le__(ExampleDecorator self, Particle d) -> bool
1365 return _IMP_example.ExampleDecorator___le__(self, *args)
1368 def __lt__(self, *args):
1370 __lt__(ExampleDecorator self, ExampleDecorator o) -> bool
1371 __lt__(ExampleDecorator self, Particle d) -> bool
1373 return _IMP_example.ExampleDecorator___lt__(self, *args)
1376 def __ge__(self, *args):
1378 __ge__(ExampleDecorator self, ExampleDecorator o) -> bool
1379 __ge__(ExampleDecorator self, Particle d) -> bool
1381 return _IMP_example.ExampleDecorator___ge__(self, *args)
1384 def __gt__(self, *args):
1386 __gt__(ExampleDecorator self, ExampleDecorator o) -> bool
1387 __gt__(ExampleDecorator self, Particle d) -> bool
1389 return _IMP_example.ExampleDecorator___gt__(self, *args)
1393 """__hash__(ExampleDecorator self) -> std::size_t"""
1394 return _IMP_example.ExampleDecorator___hash__(self)
1398 """__str__(ExampleDecorator self) -> std::string"""
1399 return _IMP_example.ExampleDecorator___str__(self)
1403 """__repr__(ExampleDecorator self) -> std::string"""
1404 return _IMP_example.ExampleDecorator___repr__(self)
1406 __swig_destroy__ = _IMP_example.delete_ExampleDecorator
1407 __del__ =
lambda self:
None
1408 ExampleDecorator_swigregister = _IMP_example.ExampleDecorator_swigregister
1409 ExampleDecorator_swigregister(ExampleDecorator)
1411 def ExampleDecorator_get_is_setup(*args):
1413 get_is_setup(Model m, ParticleIndex pi) -> bool
1414 ExampleDecorator_get_is_setup(_ParticleAdaptor p) -> bool
1416 return _IMP_example.ExampleDecorator_get_is_setup(*args)
1418 def ExampleDecorator_setup_particle(*args):
1420 setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1421 ExampleDecorator_setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1423 return _IMP_example.ExampleDecorator_setup_particle(*args)
1426 def __lshift__(out, n):
1427 """__lshift__(_ostream out, ExampleDecorator n) -> _ostream"""
1428 return _IMP_example.__lshift__(out, n)
1430 """Proxy of C++ IMP::example::ExampleUnaryFunction class"""
1431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1433 def __init__(self, center, k):
1434 """__init__(IMP::example::ExampleUnaryFunction self, IMP::Float center, IMP::Float k) -> ExampleUnaryFunction"""
1435 this = _IMP_example.new_ExampleUnaryFunction(center, k)
1437 self.this.append(this)
1442 """get_version_info(ExampleUnaryFunction self) -> VersionInfo"""
1443 return _IMP_example.ExampleUnaryFunction_get_version_info(self)
1447 """__str__(ExampleUnaryFunction self) -> std::string"""
1448 return _IMP_example.ExampleUnaryFunction___str__(self)
1452 """__repr__(ExampleUnaryFunction self) -> std::string"""
1453 return _IMP_example.ExampleUnaryFunction___repr__(self)
1458 return _object_cast_to_ExampleUnaryFunction(o)
1460 ExampleUnaryFunction_swigregister = _IMP_example.ExampleUnaryFunction_swigregister
1461 ExampleUnaryFunction_swigregister(ExampleUnaryFunction)
1464 """Proxy of C++ IMP::example::ExampleObject class"""
1465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1467 def __init__(self, data):
1468 """__init__(IMP::example::ExampleObject self, IMP::Floats const & data) -> ExampleObject"""
1469 this = _IMP_example.new_ExampleObject(data)
1471 self.this.append(this)
1475 def get_data(self, i):
1476 """get_data(ExampleObject self, unsigned int i) -> double"""
1477 return _IMP_example.ExampleObject_get_data(self, i)
1481 """get_version_info(ExampleObject self) -> VersionInfo"""
1482 return _IMP_example.ExampleObject_get_version_info(self)
1486 """__str__(ExampleObject self) -> std::string"""
1487 return _IMP_example.ExampleObject___str__(self)
1491 """__repr__(ExampleObject self) -> std::string"""
1492 return _IMP_example.ExampleObject___repr__(self)
1497 return _object_cast_to_ExampleObject(o)
1499 ExampleObject_swigregister = _IMP_example.ExampleObject_swigregister
1500 ExampleObject_swigregister(ExampleObject)
1503 """Proxy of C++ IMP::example::ExampleSingletonModifier class"""
1504 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1506 def __init__(self, bb):
1507 """__init__(IMP::example::ExampleSingletonModifier self, BoundingBox3D bb) -> ExampleSingletonModifier"""
1508 this = _IMP_example.new_ExampleSingletonModifier(bb)
1510 self.this.append(this)
1515 """do_get_inputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1516 return _IMP_example.ExampleSingletonModifier_do_get_inputs(self, m, pis)
1520 """do_get_outputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1521 return _IMP_example.ExampleSingletonModifier_do_get_outputs(self, m, pis)
1525 """get_version_info(ExampleSingletonModifier self) -> VersionInfo"""
1526 return _IMP_example.ExampleSingletonModifier_get_version_info(self)
1530 """__str__(ExampleSingletonModifier self) -> std::string"""
1531 return _IMP_example.ExampleSingletonModifier___str__(self)
1535 """__repr__(ExampleSingletonModifier self) -> std::string"""
1536 return _IMP_example.ExampleSingletonModifier___repr__(self)
1541 return _object_cast_to_ExampleSingletonModifier(o)
1543 ExampleSingletonModifier_swigregister = _IMP_example.ExampleSingletonModifier_swigregister
1544 ExampleSingletonModifier_swigregister(ExampleSingletonModifier)
1547 """Proxy of C++ IMP::example::ExamplePairScore class"""
1548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1550 def __init__(self, x0, k):
1551 """__init__(IMP::example::ExamplePairScore self, double x0, double k) -> ExamplePairScore"""
1552 this = _IMP_example.new_ExamplePairScore(x0, k)
1554 self.this.append(this)
1559 """do_get_inputs(ExamplePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1560 return _IMP_example.ExamplePairScore_do_get_inputs(self, m, pis)
1564 """get_version_info(ExamplePairScore self) -> VersionInfo"""
1565 return _IMP_example.ExamplePairScore_get_version_info(self)
1569 """__str__(ExamplePairScore self) -> std::string"""
1570 return _IMP_example.ExamplePairScore___str__(self)
1574 """__repr__(ExamplePairScore self) -> std::string"""
1575 return _IMP_example.ExamplePairScore___repr__(self)
1580 return _object_cast_to_ExamplePairScore(o)
1582 ExamplePairScore_swigregister = _IMP_example.ExamplePairScore_swigregister
1583 ExamplePairScore_swigregister(ExamplePairScore)
1586 """Proxy of C++ IMP::example::ExampleSubsetFilterTable class"""
1587 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1589 def __init__(self, max_diff, pt):
1590 """__init__(IMP::example::ExampleSubsetFilterTable self, unsigned int max_diff, IMP::ParticlesTemp const & pt) -> ExampleSubsetFilterTable"""
1591 this = _IMP_example.new_ExampleSubsetFilterTable(max_diff, pt)
1593 self.this.append(this)
1598 """get_version_info(ExampleSubsetFilterTable self) -> VersionInfo"""
1599 return _IMP_example.ExampleSubsetFilterTable_get_version_info(self)
1603 """__str__(ExampleSubsetFilterTable self) -> std::string"""
1604 return _IMP_example.ExampleSubsetFilterTable___str__(self)
1608 """__repr__(ExampleSubsetFilterTable self) -> std::string"""
1609 return _IMP_example.ExampleSubsetFilterTable___repr__(self)
1614 return _object_cast_to_ExampleSubsetFilterTable(o)
1616 ExampleSubsetFilterTable_swigregister = _IMP_example.ExampleSubsetFilterTable_swigregister
1617 ExampleSubsetFilterTable_swigregister(ExampleSubsetFilterTable)
1620 """Proxy of C++ IMP::example::ExampleConstraint class"""
1621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1623 def __init__(self, p):
1624 """__init__(IMP::example::ExampleConstraint self, Particle p) -> ExampleConstraint"""
1625 this = _IMP_example.new_ExampleConstraint(p)
1627 self.this.append(this)
1632 """do_get_inputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1633 return _IMP_example.ExampleConstraint_do_get_inputs(self)
1637 """do_get_outputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1638 return _IMP_example.ExampleConstraint_do_get_outputs(self)
1642 """get_key() -> IntKey"""
1643 return _IMP_example.ExampleConstraint_get_key()
1645 get_key = staticmethod(get_key)
1648 """get_version_info(ExampleConstraint self) -> VersionInfo"""
1649 return _IMP_example.ExampleConstraint_get_version_info(self)
1653 """__str__(ExampleConstraint self) -> std::string"""
1654 return _IMP_example.ExampleConstraint___str__(self)
1658 """__repr__(ExampleConstraint self) -> std::string"""
1659 return _IMP_example.ExampleConstraint___repr__(self)
1664 return _object_cast_to_ExampleConstraint(o)
1666 ExampleConstraint_swigregister = _IMP_example.ExampleConstraint_swigregister
1667 ExampleConstraint_swigregister(ExampleConstraint)
1669 def ExampleConstraint_get_key():
1670 """ExampleConstraint_get_key() -> IntKey"""
1671 return _IMP_example.ExampleConstraint_get_key()
1675 """get_number_of_incidences(IMP::ParticlesTemp const & psa, IMP::ParticlesTemp const & psb, double point_distance) -> unsigned int"""
1676 return _IMP_example.get_number_of_incidences(psa, psb, point_distance)
1679 """create_chain_restraint(Model m, IMP::ParticleIndexes const & ps, double length_factor, double k, std::string name) -> Restraint"""
1680 return _IMP_example.create_chain_restraint(m, ps, length_factor, k, name)
1683 """create_excluded_volume(Model m, IMP::ParticleIndexes const & ps, double k, std::string name) -> Restraint"""
1684 return _IMP_example.create_excluded_volume(m, ps, k, name)
1686 """Proxy of C++ IMP::example::ExampleTemplateClassD<(3)> class"""
1687 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1689 def __init__(self, *args):
1691 __init__(IMP::example::ExampleTemplateClassD<(3)> self) -> ExampleTemplateClass3D
1692 __init__(IMP::example::ExampleTemplateClassD<(3)> self, Vector3D a, Vector3D b) -> ExampleTemplateClass3D
1694 this = _IMP_example.new_ExampleTemplateClass3D(*args)
1696 self.this.append(this)
1700 def get_point(self, i):
1701 """get_point(ExampleTemplateClass3D self, unsigned int i) -> Vector3D"""
1702 return _IMP_example.ExampleTemplateClass3D_get_point(self, i)
1705 def show(self, *args):
1707 show(ExampleTemplateClass3D self, _ostream out)
1708 show(ExampleTemplateClass3D self)
1710 return _IMP_example.ExampleTemplateClass3D_show(self, *args)
1714 """__str__(ExampleTemplateClass3D self) -> std::string"""
1715 return _IMP_example.ExampleTemplateClass3D___str__(self)
1719 """__repr__(ExampleTemplateClass3D self) -> std::string"""
1720 return _IMP_example.ExampleTemplateClass3D___repr__(self)
1722 __swig_destroy__ = _IMP_example.delete_ExampleTemplateClass3D
1723 __del__ =
lambda self:
None
1724 ExampleTemplateClass3D_swigregister = _IMP_example.ExampleTemplateClass3D_swigregister
1725 ExampleTemplateClass3D_swigregister(ExampleTemplateClass3D)
1729 """get_module_version() -> std::string const"""
1730 return _IMP_example.get_module_version()
1733 """get_example_path(std::string fname) -> std::string"""
1734 return _IMP_example.get_example_path(fname)
1737 """get_data_path(std::string fname) -> std::string"""
1738 return _IMP_example.get_data_path(fname)
1740 from .
import _version_check
unsigned int get_number_of_incidences(const ParticlesTemp &psa, const ParticlesTemp &psb, double point_distance)
A base class for modifiers of ParticlesTemp.
Abstract class for scoring object(s) of type ParticleIndexPair.
virtual double evaluate(double feature) const
Calculate score with respect to the given feature.
An example PairScore written in Python.
An example SingletonModifier written in Python.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
An example UnaryFunction written in Python.
Make CGAL functionality available to IMP.
A line segment templated on the dimension.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
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.
Restraint * create_excluded_volume(Model *m, const ParticleIndexes &ps, double k, std::string name)
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Implement a constraint on the Model.
Class for storing model, its restraints, constraints, and particles.
An example simple object which is reference counted.
A simple decorator which adds a name to a particle.
An example Constraint written in Python.
An example singleton modifier.
Common base class for heavy weight IMP objects.
Store a list of ParticleIndexes.
An example restraint written in Python.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Restrain a particle to be in the x,y plane.
Basic utilities for handling cryo-electron microscopy 3D density maps.
A decorator for a particle with x,y,z coordinates.
Interface to specialized Particle types (e.g. atoms)
virtual ModelObjectsTemp do_get_outputs() const =0
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...
virtual void apply_index(Model *m, ParticleIndex v) const =0
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.
virtual DerivativePair evaluate_with_derivative(double feature) const
Calculate score and derivative with respect to the given feature.
void set_check_level(CheckLevel l)
Apply a harmonic to the distance between two particles.
Restraint * create_chain_restraint(Model *m, const ParticleIndexes &ps, double length_factor, double k, std::string name)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Model * get_model() const
A trivial constraint that just increments a counter.
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.
Support for the RMF file format for storing hierarchical molecular data and markup.
Abstract single variable functor class for score functions.
virtual ModelObjectsTemp do_get_inputs() const =0
Divide-and-conquer inferential optimization in discrete space.
virtual double evaluate_index(Model *m, const ParticleIndexPair &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Support for small angle X-ray scattering (SAXS) data.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.