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_SYSTEM_swigconstant(_IMP_example)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_example.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_example)
347 IMP_CGAL_HAS_NUMPY = _IMP_example.IMP_CGAL_HAS_NUMPY
349 _IMP_example.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_example)
350 IMPCGAL_SHOW_WARNINGS = _IMP_example.IMPCGAL_SHOW_WARNINGS
353 _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_example)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_example.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_example)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_example.IMP_ALGEBRA_HAS_CGAL
371 _IMP_example.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_example)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_example.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_example.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_example)
375 IMP_ALGEBRA_HAS_ANN = _IMP_example.IMP_ALGEBRA_HAS_ANN
377 _IMP_example.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_example)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_example.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_example)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_example.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_example)
397 IMP_DISPLAY_HAS_CGAL = _IMP_example.IMP_DISPLAY_HAS_CGAL
399 _IMP_example.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_example)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_example.IMP_DISPLAY_HAS_NUMPY
402 _IMP_example.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_example)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_example.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_example)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
409 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
412 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
418 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
421 _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_example)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_example)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_example)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_example)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_example)
435 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL
437 _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
438 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
440 _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
441 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
443 _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
444 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM
446 _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
447 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM
449 _IMP_example.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_example)
450 IMP_STATISTICS_HAS_CGAL = _IMP_example.IMP_STATISTICS_HAS_CGAL
452 _IMP_example.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_example)
453 IMP_STATISTICS_HAS_NUMPY = _IMP_example.IMP_STATISTICS_HAS_NUMPY
455 _IMP_example.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_example)
456 IMPSTATISTICS_SHOW_WARNINGS = _IMP_example.IMPSTATISTICS_SHOW_WARNINGS
459 _IMP_example.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_example)
460 IMP_CORE_HAS_IMP_CGAL = _IMP_example.IMP_CORE_HAS_IMP_CGAL
462 _IMP_example.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
463 IMP_CORE_HAS_IMP_KERNEL = _IMP_example.IMP_CORE_HAS_IMP_KERNEL
465 _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
466 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM
468 _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
469 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
471 _IMP_example.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
472 IMP_CORE_HAS_BOOST_RANDOM = _IMP_example.IMP_CORE_HAS_BOOST_RANDOM
474 _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
475 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM
477 _IMP_example.IMP_CORE_HAS_CGAL_swigconstant(_IMP_example)
478 IMP_CORE_HAS_CGAL = _IMP_example.IMP_CORE_HAS_CGAL
480 _IMP_example.IMP_CORE_HAS_HDF5_swigconstant(_IMP_example)
481 IMP_CORE_HAS_HDF5 = _IMP_example.IMP_CORE_HAS_HDF5
483 _IMP_example.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_example)
484 IMP_CORE_HAS_NUMPY = _IMP_example.IMP_CORE_HAS_NUMPY
486 _IMP_example.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_example)
487 IMPCORE_SHOW_WARNINGS = _IMP_example.IMPCORE_SHOW_WARNINGS
490 _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
491 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA
493 _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_example)
494 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL
496 _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
497 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY
499 _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_example)
500 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL
502 _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
503 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
505 _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
506 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
508 _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
509 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
511 _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
512 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM
514 _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
515 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM
517 _IMP_example.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_example)
518 IMP_CONTAINER_HAS_CGAL = _IMP_example.IMP_CONTAINER_HAS_CGAL
520 _IMP_example.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_example)
521 IMP_CONTAINER_HAS_HDF5 = _IMP_example.IMP_CONTAINER_HAS_HDF5
523 _IMP_example.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_example)
524 IMP_CONTAINER_HAS_NUMPY = _IMP_example.IMP_CONTAINER_HAS_NUMPY
526 _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_example)
527 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM
529 _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_example)
530 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
532 _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_example)
533 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP
535 _IMP_example.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_example)
536 IMPCONTAINER_SHOW_WARNINGS = _IMP_example.IMPCONTAINER_SHOW_WARNINGS
539 _IMP_example.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_example)
540 IMP_ATOM_HAS_IMP_CGAL = _IMP_example.IMP_ATOM_HAS_IMP_CGAL
542 _IMP_example.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_example)
543 IMP_ATOM_HAS_IMP_KERNEL = _IMP_example.IMP_ATOM_HAS_IMP_KERNEL
545 _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
546 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
548 _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
549 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
551 _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
552 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM
554 _IMP_example.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
555 IMP_ATOM_HAS_BOOST_REGEX = _IMP_example.IMP_ATOM_HAS_BOOST_REGEX
557 _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
558 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM
560 _IMP_example.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_example)
561 IMP_ATOM_HAS_CGAL = _IMP_example.IMP_ATOM_HAS_CGAL
563 _IMP_example.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_example)
564 IMP_ATOM_HAS_HDF5 = _IMP_example.IMP_ATOM_HAS_HDF5
566 _IMP_example.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_example)
567 IMP_ATOM_HAS_NUMPY = _IMP_example.IMP_ATOM_HAS_NUMPY
569 _IMP_example.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
570 IMP_ATOM_HAS_PYTHON_IHM = _IMP_example.IMP_ATOM_HAS_PYTHON_IHM
572 _IMP_example.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_example)
573 IMPATOM_SHOW_WARNINGS = _IMP_example.IMPATOM_SHOW_WARNINGS
575 _IMP_example.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_example)
576 IMP_ATOM_TYPE_INDEX = _IMP_example.IMP_ATOM_TYPE_INDEX
578 _IMP_example.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_example)
579 IMP_RESIDUE_TYPE_INDEX = _IMP_example.IMP_RESIDUE_TYPE_INDEX
581 _IMP_example.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_example)
582 IMP_HIERARCHY_TYPE_INDEX = _IMP_example.IMP_HIERARCHY_TYPE_INDEX
584 _IMP_example.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_example)
585 IMP_CHAIN_TYPE_INDEX = _IMP_example.IMP_CHAIN_TYPE_INDEX
588 _IMP_example.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_example)
589 IMP_EM_HAS_IMP_CGAL = _IMP_example.IMP_EM_HAS_IMP_CGAL
591 _IMP_example.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
592 IMP_EM_HAS_IMP_CONTAINER = _IMP_example.IMP_EM_HAS_IMP_CONTAINER
594 _IMP_example.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
595 IMP_EM_HAS_IMP_DISPLAY = _IMP_example.IMP_EM_HAS_IMP_DISPLAY
597 _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
598 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR
600 _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
601 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM
603 _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
604 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
606 _IMP_example.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
607 IMP_EM_HAS_BOOST_RANDOM = _IMP_example.IMP_EM_HAS_BOOST_RANDOM
609 _IMP_example.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
610 IMP_EM_HAS_BOOST_REGEX = _IMP_example.IMP_EM_HAS_BOOST_REGEX
612 _IMP_example.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
613 IMP_EM_HAS_BOOST_SYSTEM = _IMP_example.IMP_EM_HAS_BOOST_SYSTEM
615 _IMP_example.IMP_EM_HAS_CGAL_swigconstant(_IMP_example)
616 IMP_EM_HAS_CGAL = _IMP_example.IMP_EM_HAS_CGAL
618 _IMP_example.IMP_EM_HAS_HDF5_swigconstant(_IMP_example)
619 IMP_EM_HAS_HDF5 = _IMP_example.IMP_EM_HAS_HDF5
621 _IMP_example.IMP_EM_HAS_NUMPY_swigconstant(_IMP_example)
622 IMP_EM_HAS_NUMPY = _IMP_example.IMP_EM_HAS_NUMPY
624 _IMP_example.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
625 IMP_EM_HAS_PYTHON_IHM = _IMP_example.IMP_EM_HAS_PYTHON_IHM
627 _IMP_example.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_example)
628 IMPEM_SHOW_WARNINGS = _IMP_example.IMPEM_SHOW_WARNINGS
631 _IMP_example.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_example)
632 IMP_SAXS_HAS_IMP_CGAL = _IMP_example.IMP_SAXS_HAS_IMP_CGAL
634 _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
635 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER
637 _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
638 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY
640 _IMP_example.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_example)
641 IMP_SAXS_HAS_IMP_KERNEL = _IMP_example.IMP_SAXS_HAS_IMP_KERNEL
643 _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
644 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
646 _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
647 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM
649 _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
650 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
652 _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
653 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM
655 _IMP_example.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_example)
656 IMP_SAXS_HAS_BOOST_REGEX = _IMP_example.IMP_SAXS_HAS_BOOST_REGEX
658 _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
659 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM
661 _IMP_example.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_example)
662 IMP_SAXS_HAS_CGAL = _IMP_example.IMP_SAXS_HAS_CGAL
664 _IMP_example.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_example)
665 IMP_SAXS_HAS_HDF5 = _IMP_example.IMP_SAXS_HAS_HDF5
667 _IMP_example.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_example)
668 IMP_SAXS_HAS_NUMPY = _IMP_example.IMP_SAXS_HAS_NUMPY
670 _IMP_example.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_example)
671 IMP_SAXS_HAS_PYTHON_IHM = _IMP_example.IMP_SAXS_HAS_PYTHON_IHM
673 _IMP_example.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_example)
674 IMPSAXS_SHOW_WARNINGS = _IMP_example.IMPSAXS_SHOW_WARNINGS
677 _IMP_example.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_example)
678 IMP_ISD_HAS_IMP_CGAL = _IMP_example.IMP_ISD_HAS_IMP_CGAL
680 _IMP_example.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
681 IMP_ISD_HAS_IMP_DISPLAY = _IMP_example.IMP_ISD_HAS_IMP_DISPLAY
683 _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
684 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
686 _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
687 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM
689 _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
690 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
692 _IMP_example.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
693 IMP_ISD_HAS_BOOST_RANDOM = _IMP_example.IMP_ISD_HAS_BOOST_RANDOM
695 _IMP_example.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_example)
696 IMP_ISD_HAS_BOOST_REGEX = _IMP_example.IMP_ISD_HAS_BOOST_REGEX
698 _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
699 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM
701 _IMP_example.IMP_ISD_HAS_CGAL_swigconstant(_IMP_example)
702 IMP_ISD_HAS_CGAL = _IMP_example.IMP_ISD_HAS_CGAL
704 _IMP_example.IMP_ISD_HAS_HDF5_swigconstant(_IMP_example)
705 IMP_ISD_HAS_HDF5 = _IMP_example.IMP_ISD_HAS_HDF5
707 _IMP_example.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_example)
708 IMP_ISD_HAS_NUMPY = _IMP_example.IMP_ISD_HAS_NUMPY
710 _IMP_example.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_example)
711 IMP_ISD_HAS_PYTHON_IHM = _IMP_example.IMP_ISD_HAS_PYTHON_IHM
713 _IMP_example.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_example)
714 IMPISD_SHOW_WARNINGS = _IMP_example.IMPISD_SHOW_WARNINGS
717 _IMP_example.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_example)
718 IMP_RMF_HAS_IMP_CGAL = _IMP_example.IMP_RMF_HAS_IMP_CGAL
720 _IMP_example.IMP_RMF_HAS_IMP_EM_swigconstant(_IMP_example)
721 IMP_RMF_HAS_IMP_EM = _IMP_example.IMP_RMF_HAS_IMP_EM
723 _IMP_example.IMP_RMF_HAS_IMP_SAXS_swigconstant(_IMP_example)
724 IMP_RMF_HAS_IMP_SAXS = _IMP_example.IMP_RMF_HAS_IMP_SAXS
726 _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
727 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
729 _IMP_example.IMP_RMF_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
730 IMP_RMF_HAS_IMP_STATISTICS = _IMP_example.IMP_RMF_HAS_IMP_STATISTICS
732 _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
733 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM
735 _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
736 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
738 _IMP_example.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
739 IMP_RMF_HAS_BOOST_RANDOM = _IMP_example.IMP_RMF_HAS_BOOST_RANDOM
741 _IMP_example.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_example)
742 IMP_RMF_HAS_BOOST_REGEX = _IMP_example.IMP_RMF_HAS_BOOST_REGEX
744 _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
745 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM
747 _IMP_example.IMP_RMF_HAS_CGAL_swigconstant(_IMP_example)
748 IMP_RMF_HAS_CGAL = _IMP_example.IMP_RMF_HAS_CGAL
750 _IMP_example.IMP_RMF_HAS_HDF5_swigconstant(_IMP_example)
751 IMP_RMF_HAS_HDF5 = _IMP_example.IMP_RMF_HAS_HDF5
753 _IMP_example.IMP_RMF_HAS_NUMPY_swigconstant(_IMP_example)
754 IMP_RMF_HAS_NUMPY = _IMP_example.IMP_RMF_HAS_NUMPY
756 _IMP_example.IMP_RMF_HAS_PYTHON_IHM_swigconstant(_IMP_example)
757 IMP_RMF_HAS_PYTHON_IHM = _IMP_example.IMP_RMF_HAS_PYTHON_IHM
759 _IMP_example.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_example)
760 IMPRMF_SHOW_WARNINGS = _IMP_example.IMPRMF_SHOW_WARNINGS
764 _IMP_example.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_example)
765 IMP_DOMINO_HAS_IMP_ATOM = _IMP_example.IMP_DOMINO_HAS_IMP_ATOM
767 _IMP_example.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_example)
768 IMP_DOMINO_HAS_IMP_CGAL = _IMP_example.IMP_DOMINO_HAS_IMP_CGAL
770 _IMP_example.IMP_DOMINO_HAS_IMP_EM_swigconstant(_IMP_example)
771 IMP_DOMINO_HAS_IMP_EM = _IMP_example.IMP_DOMINO_HAS_IMP_EM
773 _IMP_example.IMP_DOMINO_HAS_IMP_ISD_swigconstant(_IMP_example)
774 IMP_DOMINO_HAS_IMP_ISD = _IMP_example.IMP_DOMINO_HAS_IMP_ISD
776 _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_example)
777 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL
779 _IMP_example.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_example)
780 IMP_DOMINO_HAS_IMP_RMF = _IMP_example.IMP_DOMINO_HAS_IMP_RMF
782 _IMP_example.IMP_DOMINO_HAS_IMP_SAXS_swigconstant(_IMP_example)
783 IMP_DOMINO_HAS_IMP_SAXS = _IMP_example.IMP_DOMINO_HAS_IMP_SAXS
785 _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
786 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
788 _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
789 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM
791 _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
792 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
794 _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
795 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM
797 _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_example)
798 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX
800 _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
801 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM
803 _IMP_example.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_example)
804 IMP_DOMINO_HAS_CGAL = _IMP_example.IMP_DOMINO_HAS_CGAL
806 _IMP_example.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_example)
807 IMP_DOMINO_HAS_HDF5 = _IMP_example.IMP_DOMINO_HAS_HDF5
809 _IMP_example.IMP_DOMINO_HAS_NUMPY_swigconstant(_IMP_example)
810 IMP_DOMINO_HAS_NUMPY = _IMP_example.IMP_DOMINO_HAS_NUMPY
812 _IMP_example.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_example)
813 IMP_DOMINO_HAS_RMF = _IMP_example.IMP_DOMINO_HAS_RMF
815 _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM_swigconstant(_IMP_example)
816 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM
818 _IMP_example.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_example)
819 IMPDOMINO_SHOW_WARNINGS = _IMP_example.IMPDOMINO_SHOW_WARNINGS
823 _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
824 IMP_EXAMPLE_HAS_IMP_ALGEBRA = _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA
826 _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL_swigconstant(_IMP_example)
827 IMP_EXAMPLE_HAS_IMP_CGAL = _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL
829 _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
830 IMP_EXAMPLE_HAS_IMP_DISPLAY = _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY
832 _IMP_example.IMP_EXAMPLE_HAS_IMP_EM_swigconstant(_IMP_example)
833 IMP_EXAMPLE_HAS_IMP_EM = _IMP_example.IMP_EXAMPLE_HAS_IMP_EM
835 _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD_swigconstant(_IMP_example)
836 IMP_EXAMPLE_HAS_IMP_ISD = _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD
838 _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
839 IMP_EXAMPLE_HAS_IMP_KERNEL = _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL
841 _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF_swigconstant(_IMP_example)
842 IMP_EXAMPLE_HAS_IMP_RMF = _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF
844 _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS_swigconstant(_IMP_example)
845 IMP_EXAMPLE_HAS_IMP_SAXS = _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS
847 _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
848 IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR
850 _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
851 IMP_EXAMPLE_HAS_IMP_STATISTICS = _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS
853 _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
854 IMP_EXAMPLE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM
856 _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH_swigconstant(_IMP_example)
857 IMP_EXAMPLE_HAS_BOOST_GRAPH = _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH
859 _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
860 IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS
862 _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
863 IMP_EXAMPLE_HAS_BOOST_RANDOM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM
865 _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX_swigconstant(_IMP_example)
866 IMP_EXAMPLE_HAS_BOOST_REGEX = _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX
868 _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
869 IMP_EXAMPLE_HAS_BOOST_SYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM
871 _IMP_example.IMP_EXAMPLE_HAS_CGAL_swigconstant(_IMP_example)
872 IMP_EXAMPLE_HAS_CGAL = _IMP_example.IMP_EXAMPLE_HAS_CGAL
874 _IMP_example.IMP_EXAMPLE_HAS_HDF5_swigconstant(_IMP_example)
875 IMP_EXAMPLE_HAS_HDF5 = _IMP_example.IMP_EXAMPLE_HAS_HDF5
877 _IMP_example.IMP_EXAMPLE_HAS_NUMPY_swigconstant(_IMP_example)
878 IMP_EXAMPLE_HAS_NUMPY = _IMP_example.IMP_EXAMPLE_HAS_NUMPY
880 _IMP_example.IMP_EXAMPLE_HAS_RMF_swigconstant(_IMP_example)
881 IMP_EXAMPLE_HAS_RMF = _IMP_example.IMP_EXAMPLE_HAS_RMF
883 _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM_swigconstant(_IMP_example)
884 IMP_EXAMPLE_HAS_PYTHON_IHM = _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM
886 _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY_swigconstant(_IMP_example)
887 IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY = _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY
889 _IMP_example.IMPEXAMPLE_SHOW_WARNINGS_swigconstant(_IMP_example)
890 IMPEXAMPLE_SHOW_WARNINGS = _IMP_example.IMPEXAMPLE_SHOW_WARNINGS
892 _object_types.append(
"ExampleRestraint")
895 def _object_cast_to_ExampleRestraint(o):
896 """_object_cast_to_ExampleRestraint(Object o) -> ExampleRestraint"""
897 return _IMP_example._object_cast_to_ExampleRestraint(o)
899 def ExampleDecorators(l=[]):
900 return [ExampleDecorator(x)
for x
in l]
901 _plural_types.append(
"ExampleDecorators")
904 _value_types.append(
"ExampleDecorator")
907 _object_types.append(
"ExampleUnaryFunction")
910 def _object_cast_to_ExampleUnaryFunction(o):
911 """_object_cast_to_ExampleUnaryFunction(Object o) -> ExampleUnaryFunction"""
912 return _IMP_example._object_cast_to_ExampleUnaryFunction(o)
914 _object_types.append(
"ExampleSingletonModifier")
917 def _object_cast_to_ExampleSingletonModifier(o):
918 """_object_cast_to_ExampleSingletonModifier(Object o) -> ExampleSingletonModifier"""
919 return _IMP_example._object_cast_to_ExampleSingletonModifier(o)
921 _object_types.append(
"ExamplePairScore")
924 def _object_cast_to_ExamplePairScore(o):
925 """_object_cast_to_ExamplePairScore(Object o) -> ExamplePairScore"""
926 return _IMP_example._object_cast_to_ExamplePairScore(o)
928 _object_types.append(
"ExampleSubsetFilterTable")
931 def _object_cast_to_ExampleSubsetFilterTable(o):
932 """_object_cast_to_ExampleSubsetFilterTable(Object o) -> ExampleSubsetFilterTable"""
933 return _IMP_example._object_cast_to_ExampleSubsetFilterTable(o)
935 _object_types.append(
"ExampleConstraint")
938 def _object_cast_to_ExampleConstraint(o):
939 """_object_cast_to_ExampleConstraint(Object o) -> ExampleConstraint"""
940 return _IMP_example._object_cast_to_ExampleConstraint(o)
942 _object_types.append(
"ExampleObject")
945 def _object_cast_to_ExampleObject(o):
946 """_object_cast_to_ExampleObject(Object o) -> ExampleObject"""
947 return _IMP_example._object_cast_to_ExampleObject(o)
949 ExampleTemplateClass3Ds=list
950 _plural_types.append(
"ExampleTemplateClass3Ds")
951 _value_types.append(
"ExampleTemplateClass3D")
954 def create_model_and_particles():
959 for i
in range(0,100):
960 p = m.add_particle(
"p")
964 d.set_coordinates_are_optimized(
True)
970 """An example restraint written in Python.
971 This should be functionally equivalent to the C++ ExampleRestraint.
973 def __init__(self, m, p, k):
974 IMP.Restraint.__init__(self, m,
"PythonExampleRestraint%1%")
975 self.p, self.k = p, k
977 def do_add_score_and_derivatives(self, sa):
979 score = .5 * self.k * d.get_z() * d.get_z()
980 if sa.get_derivative_accumulator():
981 deriv = self.k * d.get_z()
982 d.add_to_derivative(2, deriv, sa.get_derivative_accumulator())
986 return [self.
get_model().get_particle(self.p)]
992 """An example PairScore written in Python.
993 This should be functionally equivalent to the C++ ExamplePairScore.
995 def __init__(self, x0, k):
996 IMP.PairScore.__init__(self)
997 self.x0, self.k = x0, k
1002 diff = (d0.get_coordinates()
1003 - d1.get_coordinates()).get_magnitude() - self.x0
1004 score = .5 * self.k * diff * diff
1007 delta = d0.get_coordinates() - d1.get_coordinates()
1008 udelta = delta.get_unit_vector()
1010 d0.add_to_derivatives(udelta * dv, da)
1011 d1.add_to_derivatives(-udelta * dv, da)
1021 """An example UnaryFunction written in Python.
1022 This should be functionally equivalent to the C++ ExampleUnaryFunction.
1024 def __init__(self, center, k):
1025 IMP.UnaryFunction.__init__(self)
1026 self.center, self.k = center, k
1029 return (self.
evaluate(feature), self.k * (feature - self.center))
1032 return .5 * self.k * (feature - self.center) * (feature - self.center)
1038 """An example Constraint written in Python.
1039 This should be functionally equivalent to the C++ ExampleConstraint.
1044 def __init__(self, p):
1045 IMP.Constraint.__init__(self, p.get_model(),
"ExampleConstraint%1%")
1048 PythonExampleConstraint.k =
IMP.IntKey(
"Constraint key")
1049 if not p.has_attribute(self.k):
1050 p.add_attribute(self.k, 0)
1052 def do_update_attributes(self):
1053 self.p.set_value(self.k, self.p.get_value(self.k) + 1)
1055 def do_update_derivatives(self, da):
1068 """An example SingletonModifier written in Python.
1069 This should be functionally equivalent to the C++
1070 ExampleSingletonModifier.
1073 def __init__(self, bb):
1074 IMP.SingletonModifier.__init__(self,
"ExampleSingletonModifier%1%")
1081 while d.get_coordinate(i) < self.bb.get_corner(0)[i]:
1082 d.set_coordinate(i,d.get_coordinate(i) + \
1083 (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1084 while d.get_coordinate(i) > self.bb.get_corner(1)[i]:
1085 d.set_coordinate(i,d.get_coordinate(i) - \
1086 (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1096 """Proxy of C++ IMP::example::ExampleRestraint class"""
1097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1099 def __init__(self, m, p, k):
1100 """__init__(IMP::example::ExampleRestraint self, Model m, ParticleIndex p, double k) -> ExampleRestraint"""
1101 this = _IMP_example.new_ExampleRestraint(m, p, k)
1103 self.this.append(this)
1107 def do_add_score_and_derivatives(self, sa):
1108 """do_add_score_and_derivatives(ExampleRestraint self, ScoreAccumulator sa)"""
1109 return _IMP_example.ExampleRestraint_do_add_score_and_derivatives(self, sa)
1113 """do_get_inputs(ExampleRestraint self) -> IMP::ModelObjectsTemp"""
1114 return _IMP_example.ExampleRestraint_do_get_inputs(self)
1118 """get_version_info(ExampleRestraint self) -> VersionInfo"""
1119 return _IMP_example.ExampleRestraint_get_version_info(self)
1123 """__str__(ExampleRestraint self) -> std::string"""
1124 return _IMP_example.ExampleRestraint___str__(self)
1128 """__repr__(ExampleRestraint self) -> std::string"""
1129 return _IMP_example.ExampleRestraint___repr__(self)
1134 return _object_cast_to_ExampleRestraint(o)
1136 ExampleRestraint_swigregister = _IMP_example.ExampleRestraint_swigregister
1137 ExampleRestraint_swigregister(ExampleRestraint)
1140 """Proxy of C++ IMP::example::ExampleDecorator class"""
1141 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1143 def get_decorator_name(self):
1144 """get_decorator_name(ExampleDecorator self) -> std::string"""
1145 return _IMP_example.ExampleDecorator_get_decorator_name(self)
1148 def set_decorator_name(self, nm):
1149 """set_decorator_name(ExampleDecorator self, std::string nm)"""
1150 return _IMP_example.ExampleDecorator_set_decorator_name(self, nm)
1153 def __init__(self, *args):
1155 __init__(IMP::example::ExampleDecorator self) -> ExampleDecorator
1156 __init__(IMP::example::ExampleDecorator self, Model m, ParticleIndex id) -> ExampleDecorator
1157 __init__(IMP::example::ExampleDecorator self, _ParticleAdaptor d) -> ExampleDecorator
1159 this = _IMP_example.new_ExampleDecorator(*args)
1161 self.this.append(this)
1165 def get_is_setup(*args):
1167 get_is_setup(Model m, ParticleIndex pi) -> bool
1168 get_is_setup(_ParticleAdaptor p) -> bool
1170 return _IMP_example.ExampleDecorator_get_is_setup(*args)
1172 get_is_setup = staticmethod(get_is_setup)
1174 def show(self, *args):
1176 show(ExampleDecorator self, _ostream out)
1177 show(ExampleDecorator self)
1179 return _IMP_example.ExampleDecorator_show(self, *args)
1182 def setup_particle(*args):
1184 setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1185 setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1187 return _IMP_example.ExampleDecorator_setup_particle(*args)
1189 setup_particle = staticmethod(setup_particle)
1191 def add_attribute(self, *args):
1193 add_attribute(ExampleDecorator self, FloatKey k, IMP::Float v, bool opt)
1194 add_attribute(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1195 add_attribute(ExampleDecorator self, IntKey a0, IMP::Int a1)
1196 add_attribute(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1197 add_attribute(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1198 add_attribute(ExampleDecorator self, StringKey a0, IMP::String a1)
1199 add_attribute(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1200 add_attribute(ExampleDecorator self, ObjectKey a0, Object a1)
1202 return _IMP_example.ExampleDecorator_add_attribute(self, *args)
1205 def get_value(self, *args):
1207 get_value(ExampleDecorator self, FloatKey a0) -> IMP::Float
1208 get_value(ExampleDecorator self, IntKey a0) -> IMP::Int
1209 get_value(ExampleDecorator self, FloatsKey a0) -> IMP::Floats
1210 get_value(ExampleDecorator self, IntsKey a0) -> IMP::Ints
1211 get_value(ExampleDecorator self, StringKey a0) -> IMP::String
1212 get_value(ExampleDecorator self, ParticleIndexKey a0) -> Particle
1213 get_value(ExampleDecorator self, ObjectKey a0) -> Object
1215 return _IMP_example.ExampleDecorator_get_value(self, *args)
1218 def set_value(self, *args):
1220 set_value(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1221 set_value(ExampleDecorator self, IntKey a0, IMP::Int a1)
1222 set_value(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1223 set_value(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1224 set_value(ExampleDecorator self, StringKey a0, IMP::String a1)
1225 set_value(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1226 set_value(ExampleDecorator self, ObjectKey a0, Object a1)
1228 return _IMP_example.ExampleDecorator_set_value(self, *args)
1231 def remove_attribute(self, *args):
1233 remove_attribute(ExampleDecorator self, FloatKey a0)
1234 remove_attribute(ExampleDecorator self, IntKey a0)
1235 remove_attribute(ExampleDecorator self, FloatsKey a0)
1236 remove_attribute(ExampleDecorator self, IntsKey a0)
1237 remove_attribute(ExampleDecorator self, StringKey a0)
1238 remove_attribute(ExampleDecorator self, ParticleIndexKey a0)
1239 remove_attribute(ExampleDecorator self, ObjectKey a0)
1241 return _IMP_example.ExampleDecorator_remove_attribute(self, *args)
1244 def has_attribute(self, *args):
1246 has_attribute(ExampleDecorator self, FloatKey a0) -> bool
1247 has_attribute(ExampleDecorator self, IntKey a0) -> bool
1248 has_attribute(ExampleDecorator self, FloatsKey a0) -> bool
1249 has_attribute(ExampleDecorator self, IntsKey a0) -> bool
1250 has_attribute(ExampleDecorator self, StringKey a0) -> bool
1251 has_attribute(ExampleDecorator self, ParticleIndexKey a0) -> bool
1252 has_attribute(ExampleDecorator self, ObjectKey a0) -> bool
1254 return _IMP_example.ExampleDecorator_has_attribute(self, *args)
1257 def get_derivative(self, a0):
1258 """get_derivative(ExampleDecorator self, FloatKey a0) -> double"""
1259 return _IMP_example.ExampleDecorator_get_derivative(self, a0)
1263 """get_name(ExampleDecorator self) -> std::string"""
1264 return _IMP_example.ExampleDecorator_get_name(self)
1268 """clear_caches(ExampleDecorator self)"""
1269 return _IMP_example.ExampleDecorator_clear_caches(self)
1272 def set_name(self, a0):
1273 """set_name(ExampleDecorator self, std::string a0)"""
1274 return _IMP_example.ExampleDecorator_set_name(self, a0)
1278 """set_check_level(ExampleDecorator self, IMP::CheckLevel a0)"""
1279 return _IMP_example.ExampleDecorator_set_check_level(self, a0)
1282 def add_to_derivative(self, a0, a1, a2):
1283 """add_to_derivative(ExampleDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1284 return _IMP_example.ExampleDecorator_add_to_derivative(self, a0, a1, a2)
1287 def set_is_optimized(self, a0, a1):
1288 """set_is_optimized(ExampleDecorator self, FloatKey a0, bool a1)"""
1289 return _IMP_example.ExampleDecorator_set_is_optimized(self, a0, a1)
1292 def get_is_optimized(self, a0):
1293 """get_is_optimized(ExampleDecorator self, FloatKey a0) -> bool"""
1294 return _IMP_example.ExampleDecorator_get_is_optimized(self, a0)
1297 def get_check_level(self):
1298 """get_check_level(ExampleDecorator self) -> IMP::CheckLevel"""
1299 return _IMP_example.ExampleDecorator_get_check_level(self)
1302 def __eq__(self, *args):
1304 __eq__(ExampleDecorator self, ExampleDecorator o) -> bool
1305 __eq__(ExampleDecorator self, Particle d) -> bool
1307 return _IMP_example.ExampleDecorator___eq__(self, *args)
1310 def __ne__(self, *args):
1312 __ne__(ExampleDecorator self, ExampleDecorator o) -> bool
1313 __ne__(ExampleDecorator self, Particle d) -> bool
1315 return _IMP_example.ExampleDecorator___ne__(self, *args)
1318 def __le__(self, *args):
1320 __le__(ExampleDecorator self, ExampleDecorator o) -> bool
1321 __le__(ExampleDecorator self, Particle d) -> bool
1323 return _IMP_example.ExampleDecorator___le__(self, *args)
1326 def __lt__(self, *args):
1328 __lt__(ExampleDecorator self, ExampleDecorator o) -> bool
1329 __lt__(ExampleDecorator self, Particle d) -> bool
1331 return _IMP_example.ExampleDecorator___lt__(self, *args)
1334 def __ge__(self, *args):
1336 __ge__(ExampleDecorator self, ExampleDecorator o) -> bool
1337 __ge__(ExampleDecorator self, Particle d) -> bool
1339 return _IMP_example.ExampleDecorator___ge__(self, *args)
1342 def __gt__(self, *args):
1344 __gt__(ExampleDecorator self, ExampleDecorator o) -> bool
1345 __gt__(ExampleDecorator self, Particle d) -> bool
1347 return _IMP_example.ExampleDecorator___gt__(self, *args)
1351 """__hash__(ExampleDecorator self) -> std::size_t"""
1352 return _IMP_example.ExampleDecorator___hash__(self)
1356 """__str__(ExampleDecorator self) -> std::string"""
1357 return _IMP_example.ExampleDecorator___str__(self)
1361 """__repr__(ExampleDecorator self) -> std::string"""
1362 return _IMP_example.ExampleDecorator___repr__(self)
1364 __swig_destroy__ = _IMP_example.delete_ExampleDecorator
1365 __del__ =
lambda self:
None
1366 ExampleDecorator_swigregister = _IMP_example.ExampleDecorator_swigregister
1367 ExampleDecorator_swigregister(ExampleDecorator)
1369 def ExampleDecorator_get_is_setup(*args):
1371 get_is_setup(Model m, ParticleIndex pi) -> bool
1372 ExampleDecorator_get_is_setup(_ParticleAdaptor p) -> bool
1374 return _IMP_example.ExampleDecorator_get_is_setup(*args)
1376 def ExampleDecorator_setup_particle(*args):
1378 setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1379 ExampleDecorator_setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1381 return _IMP_example.ExampleDecorator_setup_particle(*args)
1384 def __lshift__(out, n):
1385 """__lshift__(_ostream out, ExampleDecorator n) -> _ostream"""
1386 return _IMP_example.__lshift__(out, n)
1388 """Proxy of C++ IMP::example::ExampleUnaryFunction class"""
1389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1391 def __init__(self, center, k):
1392 """__init__(IMP::example::ExampleUnaryFunction self, IMP::Float center, IMP::Float k) -> ExampleUnaryFunction"""
1393 this = _IMP_example.new_ExampleUnaryFunction(center, k)
1395 self.this.append(this)
1400 """get_version_info(ExampleUnaryFunction self) -> VersionInfo"""
1401 return _IMP_example.ExampleUnaryFunction_get_version_info(self)
1405 """__str__(ExampleUnaryFunction self) -> std::string"""
1406 return _IMP_example.ExampleUnaryFunction___str__(self)
1410 """__repr__(ExampleUnaryFunction self) -> std::string"""
1411 return _IMP_example.ExampleUnaryFunction___repr__(self)
1416 return _object_cast_to_ExampleUnaryFunction(o)
1418 ExampleUnaryFunction_swigregister = _IMP_example.ExampleUnaryFunction_swigregister
1419 ExampleUnaryFunction_swigregister(ExampleUnaryFunction)
1422 """Proxy of C++ IMP::example::ExampleObject class"""
1423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1425 def __init__(self, data):
1426 """__init__(IMP::example::ExampleObject self, IMP::Floats const & data) -> ExampleObject"""
1427 this = _IMP_example.new_ExampleObject(data)
1429 self.this.append(this)
1433 def get_data(self, i):
1434 """get_data(ExampleObject self, unsigned int i) -> double"""
1435 return _IMP_example.ExampleObject_get_data(self, i)
1439 """get_version_info(ExampleObject self) -> VersionInfo"""
1440 return _IMP_example.ExampleObject_get_version_info(self)
1444 """__str__(ExampleObject self) -> std::string"""
1445 return _IMP_example.ExampleObject___str__(self)
1449 """__repr__(ExampleObject self) -> std::string"""
1450 return _IMP_example.ExampleObject___repr__(self)
1455 return _object_cast_to_ExampleObject(o)
1457 ExampleObject_swigregister = _IMP_example.ExampleObject_swigregister
1458 ExampleObject_swigregister(ExampleObject)
1461 """Proxy of C++ IMP::example::ExampleSingletonModifier class"""
1462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1464 def __init__(self, bb):
1465 """__init__(IMP::example::ExampleSingletonModifier self, BoundingBox3D bb) -> ExampleSingletonModifier"""
1466 this = _IMP_example.new_ExampleSingletonModifier(bb)
1468 self.this.append(this)
1473 """do_get_inputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1474 return _IMP_example.ExampleSingletonModifier_do_get_inputs(self, m, pis)
1478 """do_get_outputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1479 return _IMP_example.ExampleSingletonModifier_do_get_outputs(self, m, pis)
1483 """get_version_info(ExampleSingletonModifier self) -> VersionInfo"""
1484 return _IMP_example.ExampleSingletonModifier_get_version_info(self)
1488 """__str__(ExampleSingletonModifier self) -> std::string"""
1489 return _IMP_example.ExampleSingletonModifier___str__(self)
1493 """__repr__(ExampleSingletonModifier self) -> std::string"""
1494 return _IMP_example.ExampleSingletonModifier___repr__(self)
1499 return _object_cast_to_ExampleSingletonModifier(o)
1501 ExampleSingletonModifier_swigregister = _IMP_example.ExampleSingletonModifier_swigregister
1502 ExampleSingletonModifier_swigregister(ExampleSingletonModifier)
1505 """Proxy of C++ IMP::example::ExamplePairScore class"""
1506 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1508 def __init__(self, x0, k):
1509 """__init__(IMP::example::ExamplePairScore self, double x0, double k) -> ExamplePairScore"""
1510 this = _IMP_example.new_ExamplePairScore(x0, k)
1512 self.this.append(this)
1517 """do_get_inputs(ExamplePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1518 return _IMP_example.ExamplePairScore_do_get_inputs(self, m, pis)
1522 """get_version_info(ExamplePairScore self) -> VersionInfo"""
1523 return _IMP_example.ExamplePairScore_get_version_info(self)
1527 """__str__(ExamplePairScore self) -> std::string"""
1528 return _IMP_example.ExamplePairScore___str__(self)
1532 """__repr__(ExamplePairScore self) -> std::string"""
1533 return _IMP_example.ExamplePairScore___repr__(self)
1538 return _object_cast_to_ExamplePairScore(o)
1540 ExamplePairScore_swigregister = _IMP_example.ExamplePairScore_swigregister
1541 ExamplePairScore_swigregister(ExamplePairScore)
1544 """Proxy of C++ IMP::example::ExampleSubsetFilterTable class"""
1545 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1547 def __init__(self, max_diff, pt):
1548 """__init__(IMP::example::ExampleSubsetFilterTable self, unsigned int max_diff, IMP::ParticlesTemp const & pt) -> ExampleSubsetFilterTable"""
1549 this = _IMP_example.new_ExampleSubsetFilterTable(max_diff, pt)
1551 self.this.append(this)
1556 """get_version_info(ExampleSubsetFilterTable self) -> VersionInfo"""
1557 return _IMP_example.ExampleSubsetFilterTable_get_version_info(self)
1561 """__str__(ExampleSubsetFilterTable self) -> std::string"""
1562 return _IMP_example.ExampleSubsetFilterTable___str__(self)
1566 """__repr__(ExampleSubsetFilterTable self) -> std::string"""
1567 return _IMP_example.ExampleSubsetFilterTable___repr__(self)
1572 return _object_cast_to_ExampleSubsetFilterTable(o)
1574 ExampleSubsetFilterTable_swigregister = _IMP_example.ExampleSubsetFilterTable_swigregister
1575 ExampleSubsetFilterTable_swigregister(ExampleSubsetFilterTable)
1578 """Proxy of C++ IMP::example::ExampleConstraint class"""
1579 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1581 def __init__(self, p):
1582 """__init__(IMP::example::ExampleConstraint self, Particle p) -> ExampleConstraint"""
1583 this = _IMP_example.new_ExampleConstraint(p)
1585 self.this.append(this)
1590 """do_get_inputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1591 return _IMP_example.ExampleConstraint_do_get_inputs(self)
1595 """do_get_outputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1596 return _IMP_example.ExampleConstraint_do_get_outputs(self)
1600 """get_key() -> IntKey"""
1601 return _IMP_example.ExampleConstraint_get_key()
1603 get_key = staticmethod(get_key)
1606 """get_version_info(ExampleConstraint self) -> VersionInfo"""
1607 return _IMP_example.ExampleConstraint_get_version_info(self)
1611 """__str__(ExampleConstraint self) -> std::string"""
1612 return _IMP_example.ExampleConstraint___str__(self)
1616 """__repr__(ExampleConstraint self) -> std::string"""
1617 return _IMP_example.ExampleConstraint___repr__(self)
1622 return _object_cast_to_ExampleConstraint(o)
1624 ExampleConstraint_swigregister = _IMP_example.ExampleConstraint_swigregister
1625 ExampleConstraint_swigregister(ExampleConstraint)
1627 def ExampleConstraint_get_key():
1628 """ExampleConstraint_get_key() -> IntKey"""
1629 return _IMP_example.ExampleConstraint_get_key()
1633 """get_number_of_incidences(IMP::ParticlesTemp const & psa, IMP::ParticlesTemp const & psb, double point_distance) -> unsigned int"""
1634 return _IMP_example.get_number_of_incidences(psa, psb, point_distance)
1637 """create_chain_restraint(Model m, IMP::ParticleIndexes const & ps, double length_factor, double k, std::string name) -> Restraint"""
1638 return _IMP_example.create_chain_restraint(m, ps, length_factor, k, name)
1641 """create_excluded_volume(Model m, IMP::ParticleIndexes const & ps, double k, std::string name) -> Restraint"""
1642 return _IMP_example.create_excluded_volume(m, ps, k, name)
1644 """Proxy of C++ IMP::example::ExampleTemplateClassD<(3)> class"""
1645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1647 def __init__(self, *args):
1649 __init__(IMP::example::ExampleTemplateClassD<(3)> self) -> ExampleTemplateClass3D
1650 __init__(IMP::example::ExampleTemplateClassD<(3)> self, Vector3D a, Vector3D b) -> ExampleTemplateClass3D
1652 this = _IMP_example.new_ExampleTemplateClass3D(*args)
1654 self.this.append(this)
1658 def get_point(self, i):
1659 """get_point(ExampleTemplateClass3D self, unsigned int i) -> Vector3D"""
1660 return _IMP_example.ExampleTemplateClass3D_get_point(self, i)
1663 def show(self, *args):
1665 show(ExampleTemplateClass3D self, _ostream out)
1666 show(ExampleTemplateClass3D self)
1668 return _IMP_example.ExampleTemplateClass3D_show(self, *args)
1672 """__str__(ExampleTemplateClass3D self) -> std::string"""
1673 return _IMP_example.ExampleTemplateClass3D___str__(self)
1677 """__repr__(ExampleTemplateClass3D self) -> std::string"""
1678 return _IMP_example.ExampleTemplateClass3D___repr__(self)
1680 __swig_destroy__ = _IMP_example.delete_ExampleTemplateClass3D
1681 __del__ =
lambda self:
None
1682 ExampleTemplateClass3D_swigregister = _IMP_example.ExampleTemplateClass3D_swigregister
1683 ExampleTemplateClass3D_swigregister(ExampleTemplateClass3D)
1687 """get_module_version() -> std::string const"""
1688 return _IMP_example.get_module_version()
1691 """get_example_path(std::string fname) -> std::string"""
1692 return _IMP_example.get_example_path(fname)
1695 """get_data_path(std::string fname) -> std::string"""
1696 return _IMP_example.get_data_path(fname)
1698 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.