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_core', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
34 _IMP_core = 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_CORE_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_CORE_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_core.delete_IMP_CORE_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
127 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
132 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
133 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
135 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
140 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
141 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
143 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
152 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
153 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
157 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
158 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
162 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
163 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
167 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
168 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
172 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
173 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
178 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
183 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
188 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
193 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
198 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
203 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
209 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
215 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
216 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
225 _IMP_core.IMP_DEBUG_swigconstant(_IMP_core)
226 IMP_DEBUG = _IMP_core.IMP_DEBUG
228 _IMP_core.IMP_RELEASE_swigconstant(_IMP_core)
229 IMP_RELEASE = _IMP_core.IMP_RELEASE
231 _IMP_core.IMP_SILENT_swigconstant(_IMP_core)
232 IMP_SILENT = _IMP_core.IMP_SILENT
234 _IMP_core.IMP_PROGRESS_swigconstant(_IMP_core)
235 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
237 _IMP_core.IMP_TERSE_swigconstant(_IMP_core)
238 IMP_TERSE = _IMP_core.IMP_TERSE
240 _IMP_core.IMP_VERBOSE_swigconstant(_IMP_core)
241 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
243 _IMP_core.IMP_MEMORY_swigconstant(_IMP_core)
244 IMP_MEMORY = _IMP_core.IMP_MEMORY
246 _IMP_core.IMP_NONE_swigconstant(_IMP_core)
247 IMP_NONE = _IMP_core.IMP_NONE
249 _IMP_core.IMP_USAGE_swigconstant(_IMP_core)
250 IMP_USAGE = _IMP_core.IMP_USAGE
252 _IMP_core.IMP_INTERNAL_swigconstant(_IMP_core)
253 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
255 _IMP_core.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_core)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_core)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_core.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_core)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_core.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_core.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_core)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_core.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_core.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_core)
271 IMP_KERNEL_HAS_NUMPY = _IMP_core.IMP_KERNEL_HAS_NUMPY
273 _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_core)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_core)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_core)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_core.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_core)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_core.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_core._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_core._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_core.IMP_HAS_NOEXCEPT_swigconstant(_IMP_core)
328 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
330 _IMP_core.IMP_C_OPEN_BINARY_swigconstant(_IMP_core)
331 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
334 _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_core.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_core)
347 IMP_CGAL_HAS_NUMPY = _IMP_core.IMP_CGAL_HAS_NUMPY
349 _IMP_core.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_core)
350 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
353 _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_core)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_core.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_core)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
371 _IMP_core.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_core)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_core.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_core.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_core)
375 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
377 _IMP_core.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_core)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_core)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_core.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_core)
397 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
399 _IMP_core.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_core)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_core.IMP_DISPLAY_HAS_NUMPY
402 _IMP_core.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_core)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_core)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
409 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
412 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
418 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
421 _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_core)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_core)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_core)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_core)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_core.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_core)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
437 _IMP_core.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_core)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
440 _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
443 _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
446 _IMP_core.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
449 _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
452 _IMP_core.IMP_CORE_HAS_CGAL_swigconstant(_IMP_core)
453 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
455 _IMP_core.IMP_CORE_HAS_HDF5_swigconstant(_IMP_core)
456 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
458 _IMP_core.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_core)
459 IMP_CORE_HAS_NUMPY = _IMP_core.IMP_CORE_HAS_NUMPY
461 _IMP_core.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_core)
462 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
464 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
466 __repr__ = _swig_repr
468 def __init__(self, *args):
470 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
471 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
473 this = _IMP_core.new__OpenCubicSplineBase(*args)
475 self.this.append(this)
479 def get_version_info(self):
480 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
481 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
483 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
484 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
487 _object_types.append(
"MonteCarloMover")
490 def _object_cast_to_MonteCarloMover(o):
491 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
492 return _IMP_core._object_cast_to_MonteCarloMover(o)
494 MonteCarloMoverResults=list
495 _plural_types.append(
"MonteCarloMoverResults")
496 _value_types.append(
"MonteCarloMoverResult")
499 _object_types.append(
"AngleRestraint")
502 def _object_cast_to_AngleRestraint(o):
503 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
504 return _IMP_core._object_cast_to_AngleRestraint(o)
506 _object_types.append(
"AngleTripletScore")
509 def _object_cast_to_AngleTripletScore(o):
510 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
511 return _IMP_core._object_cast_to_AngleTripletScore(o)
513 _object_types.append(
"AttributeSingletonScore")
516 def _object_cast_to_AttributeSingletonScore(o):
517 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
518 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
520 _object_types.append(
"BallMover")
523 def _object_cast_to_BallMover(o):
524 """_object_cast_to_BallMover(Object o) -> BallMover"""
525 return _IMP_core._object_cast_to_BallMover(o)
527 _object_types.append(
"SerialMover")
530 def _object_cast_to_SerialMover(o):
531 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
532 return _IMP_core._object_cast_to_SerialMover(o)
534 _object_types.append(
"SubsetMover")
537 def _object_cast_to_SubsetMover(o):
538 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
539 return _IMP_core._object_cast_to_SubsetMover(o)
541 _object_types.append(
"DirectionMover")
544 def _object_cast_to_DirectionMover(o):
545 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
546 return _IMP_core._object_cast_to_DirectionMover(o)
548 _object_types.append(
"SurfaceMover")
551 def _object_cast_to_SurfaceMover(o):
552 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
553 return _IMP_core._object_cast_to_SurfaceMover(o)
555 _object_types.append(
"BoundingBox3DSingletonScore")
558 def _object_cast_to_BoundingBox3DSingletonScore(o):
559 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
560 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
562 _object_types.append(
"BoundingSphere3DSingletonScore")
565 def _object_cast_to_BoundingSphere3DSingletonScore(o):
566 """_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
567 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
569 _object_types.append(
"BoxSweepClosePairsFinder")
572 def _object_cast_to_BoxSweepClosePairsFinder(o):
573 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
574 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
576 _object_types.append(
"NearestNeighborsClosePairsFinder")
579 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
580 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
581 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
583 _object_types.append(
"CentroidOfRefined")
586 def _object_cast_to_CentroidOfRefined(o):
587 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
588 return _IMP_core._object_cast_to_CentroidOfRefined(o)
590 _object_types.append(
"ChecksScoreState")
593 def _object_cast_to_ChecksScoreState(o):
594 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
595 return _IMP_core._object_cast_to_ChecksScoreState(o)
597 _object_types.append(
"ChildrenRefiner")
600 def _object_cast_to_ChildrenRefiner(o):
601 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
602 return _IMP_core._object_cast_to_ChildrenRefiner(o)
604 _object_types.append(
"ClosePairsFinder")
607 def _object_cast_to_ClosePairsFinder(o):
608 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
609 return _IMP_core._object_cast_to_ClosePairsFinder(o)
611 _object_types.append(
"ClosePairsPairScore")
614 def _object_cast_to_ClosePairsPairScore(o):
615 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
616 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
618 _object_types.append(
"ClosedCubicSpline")
621 def _object_cast_to_ClosedCubicSpline(o):
622 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
623 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
625 _object_types.append(
"ConjugateGradients")
628 def _object_cast_to_ConjugateGradients(o):
629 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
630 return _IMP_core._object_cast_to_ConjugateGradients(o)
632 _object_types.append(
"ConnectivityRestraint")
635 def _object_cast_to_ConnectivityRestraint(o):
636 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
637 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
639 _object_types.append(
"ConstantRestraint")
642 def _object_cast_to_ConstantRestraint(o):
643 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
644 return _IMP_core._object_cast_to_ConstantRestraint(o)
646 _object_types.append(
"Cosine")
649 def _object_cast_to_Cosine(o):
650 """_object_cast_to_Cosine(Object o) -> Cosine"""
651 return _IMP_core._object_cast_to_Cosine(o)
653 _object_types.append(
"CoverRefined")
656 def _object_cast_to_CoverRefined(o):
657 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
658 return _IMP_core._object_cast_to_CoverRefined(o)
660 _object_types.append(
"DerivativesFromRefined")
663 def _object_cast_to_DerivativesFromRefined(o):
664 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
665 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
667 _object_types.append(
"DerivativesToRefined")
670 def _object_cast_to_DerivativesToRefined(o):
671 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
672 return _IMP_core._object_cast_to_DerivativesToRefined(o)
674 _object_types.append(
"WeightedDerivativesToRefined")
677 def _object_cast_to_WeightedDerivativesToRefined(o):
678 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
679 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
681 _object_types.append(
"DiameterRestraint")
684 def _object_cast_to_DiameterRestraint(o):
685 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
686 return _IMP_core._object_cast_to_DiameterRestraint(o)
688 _object_types.append(
"DihedralRestraint")
691 def _object_cast_to_DihedralRestraint(o):
692 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
693 return _IMP_core._object_cast_to_DihedralRestraint(o)
695 _object_types.append(
"DistanceRestraint")
698 def _object_cast_to_DistanceRestraint(o):
699 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
700 return _IMP_core._object_cast_to_DistanceRestraint(o)
702 _object_types.append(
"DistanceToSingletonScore")
705 def _object_cast_to_DistanceToSingletonScore(o):
706 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
707 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
709 _object_types.append(
"ExcludedVolumeRestraint")
712 def _object_cast_to_ExcludedVolumeRestraint(o):
713 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
714 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
716 _object_types.append(
"FixedRefiner")
719 def _object_cast_to_FixedRefiner(o):
720 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
721 return _IMP_core._object_cast_to_FixedRefiner(o)
723 _object_types.append(
"GridClosePairsFinder")
726 def _object_cast_to_GridClosePairsFinder(o):
727 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
728 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
730 _object_types.append(
"Harmonic")
733 def _object_cast_to_Harmonic(o):
734 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
735 return _IMP_core._object_cast_to_Harmonic(o)
737 _object_types.append(
"HarmonicWell")
740 def _object_cast_to_HarmonicWell(o):
741 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
742 return _IMP_core._object_cast_to_HarmonicWell(o)
744 _object_types.append(
"HarmonicLowerBound")
747 def _object_cast_to_HarmonicLowerBound(o):
748 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
749 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
751 _object_types.append(
"HarmonicUpperBound")
754 def _object_cast_to_HarmonicUpperBound(o):
755 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
756 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
758 _object_types.append(
"HarmonicSphereDistancePairScore")
761 def _object_cast_to_HarmonicSphereDistancePairScore(o):
762 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
763 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
765 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
768 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
769 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
770 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
772 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
775 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
776 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
777 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
779 _object_types.append(
"HarmonicSurfaceDistancePairScore")
782 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
783 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
784 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
786 _object_types.append(
"HarmonicSurfaceHeightPairScore")
789 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
790 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
791 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
793 _object_types.append(
"HarmonicSurfaceDepthPairScore")
796 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
797 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
798 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
800 _object_types.append(
"WeightedSum")
803 def _object_cast_to_WeightedSum(o):
804 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
805 return _IMP_core._object_cast_to_WeightedSum(o)
807 _object_types.append(
"WeightedSumOfExponential")
810 def _object_cast_to_WeightedSumOfExponential(o):
811 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
812 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
814 _object_types.append(
"IncrementalScoringFunction")
817 def _object_cast_to_IncrementalScoringFunction(o):
818 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
819 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
821 _object_types.append(
"KClosePairsPairScore")
824 def _object_cast_to_KClosePairsPairScore(o):
825 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
826 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
828 _object_types.append(
"LeavesRefiner")
831 def _object_cast_to_LeavesRefiner(o):
832 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
833 return _IMP_core._object_cast_to_LeavesRefiner(o)
835 _object_types.append(
"Linear")
838 def _object_cast_to_Linear(o):
839 """_object_cast_to_Linear(Object o) -> Linear"""
840 return _IMP_core._object_cast_to_Linear(o)
842 _object_types.append(
"LogNormalMover")
845 def _object_cast_to_LogNormalMover(o):
846 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
847 return _IMP_core._object_cast_to_LogNormalMover(o)
849 _object_types.append(
"MCCGSampler")
852 def _object_cast_to_MCCGSampler(o):
853 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
854 return _IMP_core._object_cast_to_MCCGSampler(o)
856 _object_types.append(
"MonteCarlo")
859 def _object_cast_to_MonteCarlo(o):
860 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
861 return _IMP_core._object_cast_to_MonteCarlo(o)
863 _object_types.append(
"MonteCarloWithLocalOptimization")
866 def _object_cast_to_MonteCarloWithLocalOptimization(o):
867 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
868 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
870 _object_types.append(
"MonteCarloWithBasinHopping")
873 def _object_cast_to_MonteCarloWithBasinHopping(o):
874 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
875 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
877 _object_types.append(
"MSConnectivityRestraint")
880 def _object_cast_to_MSConnectivityRestraint(o):
881 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
882 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
884 _object_types.append(
"NeighborsTable")
887 def _object_cast_to_NeighborsTable(o):
888 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
889 return _IMP_core._object_cast_to_NeighborsTable(o)
891 _object_types.append(
"NormalMover")
894 def _object_cast_to_NormalMover(o):
895 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
896 return _IMP_core._object_cast_to_NormalMover(o)
898 _object_types.append(
"NormalizedSphereDistancePairScore")
901 def _object_cast_to_NormalizedSphereDistancePairScore(o):
902 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
903 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
905 _object_types.append(
"OpenCubicSpline")
908 def _object_cast_to_OpenCubicSpline(o):
909 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
910 return _IMP_core._object_cast_to_OpenCubicSpline(o)
912 _object_types.append(
"PairConstraint")
915 def _object_cast_to_PairConstraint(o):
916 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
917 return _IMP_core._object_cast_to_PairConstraint(o)
919 _object_types.append(
"PairRestraint")
922 def _object_cast_to_PairRestraint(o):
923 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
924 return _IMP_core._object_cast_to_PairRestraint(o)
926 _object_types.append(
"QuadConstraint")
929 def _object_cast_to_QuadConstraint(o):
930 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
931 return _IMP_core._object_cast_to_QuadConstraint(o)
933 _object_types.append(
"QuadRestraint")
936 def _object_cast_to_QuadRestraint(o):
937 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
938 return _IMP_core._object_cast_to_QuadRestraint(o)
940 _object_types.append(
"QuadraticClosePairsFinder")
943 def _object_cast_to_QuadraticClosePairsFinder(o):
944 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
945 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
947 _object_types.append(
"RefinedPairsPairScore")
950 def _object_cast_to_RefinedPairsPairScore(o):
951 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
952 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
954 _object_types.append(
"RestraintsScoringFunction")
957 def _object_cast_to_RestraintsScoringFunction(o):
958 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
959 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
961 _object_types.append(
"RigidBodyDistancePairScore")
964 def _object_cast_to_RigidBodyDistancePairScore(o):
965 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
966 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
968 _object_types.append(
"RigidBodyAnglePairScore")
971 def _object_cast_to_RigidBodyAnglePairScore(o):
972 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
973 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
975 _object_types.append(
"RigidBodyMover")
978 def _object_cast_to_RigidBodyMover(o):
979 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
980 return _IMP_core._object_cast_to_RigidBodyMover(o)
982 _object_types.append(
"RigidBodyTunneler")
985 def _object_cast_to_RigidBodyTunneler(o):
986 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
987 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
989 _object_types.append(
"RigidBodyUmbrella")
992 def _object_cast_to_RigidBodyUmbrella(o):
993 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
994 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
996 _object_types.append(
"RigidClosePairsFinder")
999 def _object_cast_to_RigidClosePairsFinder(o):
1000 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
1001 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
1003 _object_types.append(
"RigidMembersRefiner")
1006 def _object_cast_to_RigidMembersRefiner(o):
1007 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
1008 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
1010 _object_types.append(
"SingletonConstraint")
1013 def _object_cast_to_SingletonConstraint(o):
1014 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
1015 return _IMP_core._object_cast_to_SingletonConstraint(o)
1017 _object_types.append(
"SingletonRestraint")
1020 def _object_cast_to_SingletonRestraint(o):
1021 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
1022 return _IMP_core._object_cast_to_SingletonRestraint(o)
1024 _object_types.append(
"SoftSpherePairScore")
1027 def _object_cast_to_SoftSpherePairScore(o):
1028 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
1029 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
1031 _object_types.append(
"SphereDistancePairScore")
1034 def _object_cast_to_SphereDistancePairScore(o):
1035 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
1036 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
1038 _object_types.append(
"SphereDistanceToSingletonScore")
1041 def _object_cast_to_SphereDistanceToSingletonScore(o):
1042 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
1043 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
1045 _object_types.append(
"SoftSubSurfacePairScore")
1048 def _object_cast_to_SoftSubSurfacePairScore(o):
1049 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
1050 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
1052 _object_types.append(
"SoftSuperSurfacePairScore")
1055 def _object_cast_to_SoftSuperSurfacePairScore(o):
1056 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
1057 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
1059 _object_types.append(
"SurfaceDistancePairScore")
1062 def _object_cast_to_SurfaceDistancePairScore(o):
1063 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
1064 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
1066 _object_types.append(
"SurfaceHeightPairScore")
1069 def _object_cast_to_SurfaceHeightPairScore(o):
1070 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
1071 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
1073 _object_types.append(
"SurfaceDepthPairScore")
1076 def _object_cast_to_SurfaceDepthPairScore(o):
1077 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
1078 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
1080 _object_types.append(
"SurfaceTetheredChain")
1083 def _object_cast_to_SurfaceTetheredChain(o):
1084 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
1085 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
1087 _object_types.append(
"SurfaceSymmetryConstraint")
1090 def _object_cast_to_SurfaceSymmetryConstraint(o):
1091 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
1092 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
1094 _object_types.append(
"SteepestDescent")
1097 def _object_cast_to_SteepestDescent(o):
1098 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
1099 return _IMP_core._object_cast_to_SteepestDescent(o)
1101 _object_types.append(
"TableRefiner")
1104 def _object_cast_to_TableRefiner(o):
1105 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
1106 return _IMP_core._object_cast_to_TableRefiner(o)
1108 _object_types.append(
"Transform")
1111 def _object_cast_to_Transform(o):
1112 """_object_cast_to_Transform(Object o) -> Transform"""
1113 return _IMP_core._object_cast_to_Transform(o)
1115 _object_types.append(
"TransformationAndReflectionSymmetry")
1118 def _object_cast_to_TransformationAndReflectionSymmetry(o):
1119 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
1120 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
1122 _object_types.append(
"TransformationSymmetry")
1125 def _object_cast_to_TransformationSymmetry(o):
1126 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
1127 return _IMP_core._object_cast_to_TransformationSymmetry(o)
1129 _object_types.append(
"TransformationSymmetryMover")
1132 def _object_cast_to_TransformationSymmetryMover(o):
1133 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1134 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1136 _object_types.append(
"TransformedDistancePairScore")
1139 def _object_cast_to_TransformedDistancePairScore(o):
1140 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1141 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1143 _object_types.append(
"TripletConstraint")
1146 def _object_cast_to_TripletConstraint(o):
1147 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1148 return _IMP_core._object_cast_to_TripletConstraint(o)
1150 _object_types.append(
"TripletRestraint")
1153 def _object_cast_to_TripletRestraint(o):
1154 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1155 return _IMP_core._object_cast_to_TripletRestraint(o)
1157 _object_types.append(
"TypedPairScore")
1160 def _object_cast_to_TypedPairScore(o):
1161 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1162 return _IMP_core._object_cast_to_TypedPairScore(o)
1164 _object_types.append(
"VolumeRestraint")
1167 def _object_cast_to_VolumeRestraint(o):
1168 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1169 return _IMP_core._object_cast_to_VolumeRestraint(o)
1171 _object_types.append(
"WeightedSphereDistancePairScore")
1174 def _object_cast_to_WeightedSphereDistancePairScore(o):
1175 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1176 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1178 _object_types.append(
"MoveStatisticsScoreState")
1181 def _object_cast_to_MoveStatisticsScoreState(o):
1182 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1183 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1185 _object_types.append(
"MinimumRestraint")
1188 def _object_cast_to_MinimumRestraint(o):
1189 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1190 return _IMP_core._object_cast_to_MinimumRestraint(o)
1192 _object_types.append(
"WriteRestraintScoresOptimizerState")
1195 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1196 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1197 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1199 _object_types.append(
"LateralSurfaceConstraint")
1202 def _object_cast_to_LateralSurfaceConstraint(o):
1203 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1204 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1206 _object_types.append(
"ConstantSingletonPredicate")
1209 def _object_cast_to_ConstantSingletonPredicate(o):
1210 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1211 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1213 _object_types.append(
"ConstantPairPredicate")
1216 def _object_cast_to_ConstantPairPredicate(o):
1217 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1218 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1220 _object_types.append(
"ConstantTripletPredicate")
1223 def _object_cast_to_ConstantTripletPredicate(o):
1224 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1225 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1227 _object_types.append(
"ConstantQuadPredicate")
1230 def _object_cast_to_ConstantQuadPredicate(o):
1231 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1232 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1234 _object_types.append(
"CoinFlipSingletonPredicate")
1237 def _object_cast_to_CoinFlipSingletonPredicate(o):
1238 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1239 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1241 _object_types.append(
"CoinFlipPairPredicate")
1244 def _object_cast_to_CoinFlipPairPredicate(o):
1245 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1246 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1248 _object_types.append(
"CoinFlipTripletPredicate")
1251 def _object_cast_to_CoinFlipTripletPredicate(o):
1252 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1253 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1255 _object_types.append(
"CoinFlipQuadPredicate")
1258 def _object_cast_to_CoinFlipQuadPredicate(o):
1259 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1260 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1262 _object_types.append(
"UnorderedTypeSingletonPredicate")
1265 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1266 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1267 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1269 _object_types.append(
"UnorderedTypePairPredicate")
1272 def _object_cast_to_UnorderedTypePairPredicate(o):
1273 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1274 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1276 _object_types.append(
"UnorderedTypeTripletPredicate")
1279 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1280 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1281 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1283 _object_types.append(
"UnorderedTypeQuadPredicate")
1286 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1287 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1288 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1290 _object_types.append(
"OrderedTypeSingletonPredicate")
1293 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1294 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1295 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1297 _object_types.append(
"OrderedTypePairPredicate")
1300 def _object_cast_to_OrderedTypePairPredicate(o):
1301 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1302 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1304 _object_types.append(
"OrderedTypeTripletPredicate")
1307 def _object_cast_to_OrderedTypeTripletPredicate(o):
1308 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1309 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1311 _object_types.append(
"OrderedTypeQuadPredicate")
1314 def _object_cast_to_OrderedTypeQuadPredicate(o):
1315 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1316 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1318 _object_types.append(
"AllSameSingletonPredicate")
1321 def _object_cast_to_AllSameSingletonPredicate(o):
1322 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1323 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1325 _object_types.append(
"AllSamePairPredicate")
1328 def _object_cast_to_AllSamePairPredicate(o):
1329 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1330 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1332 _object_types.append(
"AllSameTripletPredicate")
1335 def _object_cast_to_AllSameTripletPredicate(o):
1336 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1337 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1339 _object_types.append(
"AllSameQuadPredicate")
1342 def _object_cast_to_AllSameQuadPredicate(o):
1343 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1344 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1347 return [XYZ(x)
for x
in l]
1348 _plural_types.append(
"XYZs")
1351 _value_types.append(
"XYZ")
1355 return [XYZR(x)
for x
in l]
1356 _plural_types.append(
"XYZRs")
1359 _value_types.append(
"XYZR")
1362 def RigidBodies(l=[]):
1363 return [RigidBody(x)
for x
in l]
1364 _plural_types.append(
"RigidBodies")
1367 _value_types.append(
"RigidBody")
1370 def RigidBodyMembers(l=[]):
1371 return [RigidBodyMember(x)
for x
in l]
1372 _plural_types.append(
"RigidBodyMembers")
1375 _value_types.append(
"RigidBodyMember")
1378 def RigidMembers(l=[]):
1379 return [RigidMember(x)
for x
in l]
1380 _plural_types.append(
"RigidMembers")
1383 _value_types.append(
"RigidMember")
1386 def NonRigidMembers(l=[]):
1387 return [NonRigidMember(x)
for x
in l]
1388 _plural_types.append(
"NonRigidMembers")
1391 _value_types.append(
"NonRigidMember")
1394 def Centroids(l=[]):
1395 return [Centroid(x)
for x
in l]
1396 _plural_types.append(
"Centroids")
1399 _value_types.append(
"Centroid")
1403 return [Cover(x)
for x
in l]
1404 _plural_types.append(
"Covers")
1407 _value_types.append(
"Cover")
1410 def References(l=[]):
1411 return [Reference(x)
for x
in l]
1412 _plural_types.append(
"References")
1415 _value_types.append(
"Reference")
1419 _plural_types.append(
"ParticleTypes")
1420 _value_types.append(
"ParticleType")
1424 return [Typed(x)
for x
in l]
1425 _plural_types.append(
"Typeds")
1428 _value_types.append(
"Typed")
1431 def GenericHierarchies(l=[]):
1432 return [Hierarchy(x)
for x
in l]
1433 _plural_types.append(
"GenericHierarchies")
1436 _value_types.append(
"Hierarchy")
1439 def Gaussians(l=[]):
1440 return [Gaussian(x)
for x
in l]
1441 _plural_types.append(
"Gaussians")
1444 _value_types.append(
"Gaussian")
1447 def Directions(l=[]):
1448 return [Direction(x)
for x
in l]
1449 _plural_types.append(
"Directions")
1452 _value_types.append(
"Direction")
1455 def DirectionAngles(l=[]):
1456 return [DirectionAngle(x)
for x
in l]
1457 _plural_types.append(
"DirectionAngles")
1460 _value_types.append(
"DirectionAngle")
1464 return [Surface(x)
for x
in l]
1465 _plural_types.append(
"Surfaces")
1468 _value_types.append(
"Surface")
1471 def Provenances(l=[]):
1472 return [Provenance(x)
for x
in l]
1473 _plural_types.append(
"Provenances")
1476 _value_types.append(
"Provenance")
1479 def StructureProvenances(l=[]):
1480 return [StructureProvenance(x)
for x
in l]
1481 _plural_types.append(
"StructureProvenances")
1484 _value_types.append(
"StructureProvenance")
1487 def SampleProvenances(l=[]):
1488 return [SampleProvenance(x)
for x
in l]
1489 _plural_types.append(
"SampleProvenances")
1492 _value_types.append(
"SampleProvenance")
1495 def ClusterProvenances(l=[]):
1496 return [ClusterProvenance(x)
for x
in l]
1497 _plural_types.append(
"ClusterProvenances")
1500 _value_types.append(
"ClusterProvenance")
1503 def CombineProvenances(l=[]):
1504 return [CombineProvenance(x)
for x
in l]
1505 _plural_types.append(
"CombineProvenances")
1508 _value_types.append(
"CombineProvenance")
1511 def FilterProvenances(l=[]):
1512 return [FilterProvenance(x)
for x
in l]
1513 _plural_types.append(
"FilterProvenances")
1516 _value_types.append(
"FilterProvenance")
1519 def ScriptProvenances(l=[]):
1520 return [ScriptProvenance(x)
for x
in l]
1521 _plural_types.append(
"ScriptProvenances")
1524 _value_types.append(
"ScriptProvenance")
1527 def SoftwareProvenances(l=[]):
1528 return [SoftwareProvenance(x)
for x
in l]
1529 _plural_types.append(
"SoftwareProvenances")
1532 _value_types.append(
"SoftwareProvenance")
1535 def Provenanceds(l=[]):
1536 return [Provenanced(x)
for x
in l]
1537 _plural_types.append(
"Provenanceds")
1540 _value_types.append(
"Provenanced")
1543 HierarchyCounters=list
1544 _plural_types.append(
"HierarchyCounters")
1545 _value_types.append(
"HierarchyCounter")
1548 HierarchyTraitsList=list
1549 _plural_types.append(
"HierarchyTraitsList")
1550 _value_types.append(
"HierarchyTraits")
1553 _object_types.append(
"TruncatedHarmonicBound")
1556 def _object_cast_to_TruncatedHarmonicBound(o):
1557 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1558 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1560 _object_types.append(
"TruncatedHarmonicLowerBound")
1563 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1564 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1565 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1567 _object_types.append(
"TruncatedHarmonicUpperBound")
1570 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1571 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1572 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1574 _object_types.append(
"HarmonicDistancePairScore")
1577 def _object_cast_to_HarmonicDistancePairScore(o):
1578 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1579 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1581 _object_types.append(
"DistancePairScore")
1584 def _object_cast_to_DistancePairScore(o):
1585 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1586 return _IMP_core._object_cast_to_DistancePairScore(o)
1588 _object_types.append(
"XYZRGeometry")
1591 def _object_cast_to_XYZRGeometry(o):
1592 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1593 return _IMP_core._object_cast_to_XYZRGeometry(o)
1595 _object_types.append(
"XYZRsGeometry")
1598 def _object_cast_to_XYZRsGeometry(o):
1599 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1600 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1602 _object_types.append(
"XYZDerivativeGeometry")
1605 def _object_cast_to_XYZDerivativeGeometry(o):
1606 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1607 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1609 _object_types.append(
"XYZDerivativesGeometry")
1612 def _object_cast_to_XYZDerivativesGeometry(o):
1613 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1614 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1616 _object_types.append(
"RigidBodyDerivativeGeometry")
1619 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1620 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1621 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1623 _object_types.append(
"RigidBodyDerivativesGeometry")
1626 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1627 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1628 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1630 _object_types.append(
"RigidBodyHierarchyGeometry")
1633 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1634 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1635 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1637 _object_types.append(
"RigidBodyFrameGeometry")
1640 def _object_cast_to_RigidBodyFrameGeometry(o):
1641 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1642 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1644 _object_types.append(
"RigidBodyFramesGeometry")
1647 def _object_cast_to_RigidBodyFramesGeometry(o):
1648 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1649 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1651 _object_types.append(
"RigidBodyTorque")
1654 def _object_cast_to_RigidBodyTorque(o):
1655 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1656 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1658 _object_types.append(
"EdgePairGeometry")
1661 def _object_cast_to_EdgePairGeometry(o):
1662 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1663 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1665 _object_types.append(
"EdgePairsGeometry")
1668 def _object_cast_to_EdgePairsGeometry(o):
1669 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1670 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1672 _object_types.append(
"SurfaceGeometry")
1675 def _object_cast_to_SurfaceGeometry(o):
1676 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1677 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1679 _object_types.append(
"SurfaceGeometryConstraint")
1682 def _object_cast_to_SurfaceGeometryConstraint(o):
1683 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1684 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1686 _object_types.append(
"AttributeSingletonPredicate")
1689 def _object_cast_to_AttributeSingletonPredicate(o):
1690 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1691 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1693 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1696 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1697 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1698 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1700 _object_types.append(
"IsCollisionPairPredicate")
1703 def _object_cast_to_IsCollisionPairPredicate(o):
1704 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1705 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1707 BinormalTermList=list
1708 _plural_types.append(
"BinormalTermList")
1709 _value_types.append(
"BinormalTerm")
1712 _object_types.append(
"MultipleBinormalRestraint")
1715 def _object_cast_to_MultipleBinormalRestraint(o):
1716 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1717 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1718 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1719 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1722 def __init__(self, *args, **kwargs):
1723 raise AttributeError(
"No constructor defined - class is abstract")
1724 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1725 __del__ =
lambda self:
None
1727 def get_close_pairs(self, *args):
1729 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1730 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1731 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1732 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1734 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1737 def set_distance(self, d):
1738 """set_distance(ClosePairsFinder self, double d)"""
1739 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1743 """get_distance(ClosePairsFinder self) -> double"""
1744 return _IMP_core.ClosePairsFinder_get_distance(self)
1747 def remove_pair_filter(self, d):
1748 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1749 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1752 def remove_pair_filters(self, d):
1753 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1754 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1757 def set_pair_filters(self, ps):
1758 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1759 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1762 def set_pair_filters_order(self, objs):
1763 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1764 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1767 def add_pair_filter(self, obj):
1768 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1769 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1772 def add_pair_filters(self, objs):
1773 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1774 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1777 def clear_pair_filters(self):
1778 """clear_pair_filters(ClosePairsFinder self)"""
1779 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1782 def get_number_of_pair_filters(self):
1783 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1784 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1787 def get_has_pair_filters(self):
1788 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1789 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1792 def get_pair_filter(self, i):
1793 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1794 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1797 def get_pair_filters(self):
1798 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1799 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1802 def reserve_pair_filters(self, sz):
1803 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1804 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1808 """__str__(ClosePairsFinder self) -> std::string"""
1809 return _IMP_core.ClosePairsFinder___str__(self)
1813 """__repr__(ClosePairsFinder self) -> std::string"""
1814 return _IMP_core.ClosePairsFinder___repr__(self)
1819 return _object_cast_to_ClosePairsFinder(o)
1821 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1822 ClosePairsFinder_swigregister(ClosePairsFinder)
1824 class MonteCarloMoverResult(IMP._Value):
1825 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1828 def __init__(self, *args):
1830 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1831 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1832 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1834 this = _IMP_core.new_MonteCarloMoverResult(*args)
1836 self.this.append(this)
1841 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1842 return _IMP_core.MonteCarloMoverResult___hash__(self)
1845 def show(self, *args):
1847 show(MonteCarloMoverResult self, _ostream out)
1848 show(MonteCarloMoverResult self)
1850 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1853 def __cmp__(self, o):
1854 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1855 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1858 def __eq__(self, o):
1859 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1860 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1863 def __ne__(self, o):
1864 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1865 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1868 def __lt__(self, o):
1869 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1870 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1873 def __gt__(self, o):
1874 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1875 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1878 def __ge__(self, o):
1879 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1880 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1883 def __le__(self, o):
1884 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1885 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1888 def get_moved_particles(self):
1889 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1890 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1893 def set_moved_particles(self, v):
1894 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1895 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1898 def get_proposal_ratio(self):
1899 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1900 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1903 def set_proposal_ratio(self, v):
1904 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1905 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1909 """__str__(MonteCarloMoverResult self) -> std::string"""
1910 return _IMP_core.MonteCarloMoverResult___str__(self)
1914 """__repr__(MonteCarloMoverResult self) -> std::string"""
1915 return _IMP_core.MonteCarloMoverResult___repr__(self)
1917 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1918 __del__ =
lambda self:
None
1919 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1920 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1923 """Proxy of C++ IMP::core::MonteCarloMover class"""
1924 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1926 def __init__(self, m, name):
1927 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1928 if self.__class__ == MonteCarloMover:
1932 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1934 self.this.append(this)
1938 if self.__class__ != MonteCarloMover:
1939 _director_objects.register(self)
1945 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1946 return _IMP_core.MonteCarloMover_propose(self)
1950 """reject(MonteCarloMover self)"""
1951 return _IMP_core.MonteCarloMover_reject(self)
1955 """accept(MonteCarloMover self)"""
1956 return _IMP_core.MonteCarloMover_accept(self)
1959 def get_number_of_proposed(self):
1960 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1961 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1964 def get_number_of_accepted(self):
1965 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1966 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1969 def reset_statistics(self):
1970 """reset_statistics(MonteCarloMover self)"""
1971 return _IMP_core.MonteCarloMover_reset_statistics(self)
1974 def do_propose(self):
1975 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1976 return _IMP_core.MonteCarloMover_do_propose(self)
1979 def do_reject(self):
1980 """do_reject(MonteCarloMover self)"""
1981 return _IMP_core.MonteCarloMover_do_reject(self)
1984 def do_accept(self):
1985 """do_accept(MonteCarloMover self)"""
1986 return _IMP_core.MonteCarloMover_do_accept(self)
1989 def do_get_outputs(self):
1990 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1991 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1995 """__str__(MonteCarloMover self) -> std::string"""
1996 return _IMP_core.MonteCarloMover___str__(self)
2000 """__repr__(MonteCarloMover self) -> std::string"""
2001 return _IMP_core.MonteCarloMover___repr__(self)
2006 return _object_cast_to_MonteCarloMover(o)
2009 def get_type_name(self):
2010 return self.__class__.__name__
2011 def do_show(self, out):
2013 def get_version_info(self):
2014 if"IMP::core" ==
"IMP":
2015 return VersionInfo(self.__module__,
2022 return _object_cast_to_MonteCarloMover(o)
2024 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
2025 __del__ =
lambda self:
None
2026 def __disown__(self):
2028 _IMP_core.disown_MonteCarloMover(self)
2029 return weakref_proxy(self)
2031 def do_destroy(self):
2032 """do_destroy(MonteCarloMover self)"""
2033 return _IMP_core.MonteCarloMover_do_destroy(self)
2036 def handle_set_has_required_score_states(self, arg0):
2037 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
2038 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
2041 def do_get_inputs(self):
2042 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
2043 return _IMP_core.MonteCarloMover_do_get_inputs(self)
2046 def do_get_interactions(self):
2047 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
2048 return _IMP_core.MonteCarloMover_do_get_interactions(self)
2050 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
2051 MonteCarloMover_swigregister(MonteCarloMover)
2054 """Proxy of C++ IMP::core::XYZ class"""
2055 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2057 def get_coordinate_key(i):
2058 """get_coordinate_key(unsigned int i) -> FloatKey"""
2059 return _IMP_core.XYZ_get_coordinate_key(i)
2061 get_coordinate_key = staticmethod(get_coordinate_key)
2063 def __init__(self, *args):
2065 __init__(IMP::core::XYZ self) -> XYZ
2066 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
2067 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
2069 this = _IMP_core.new_XYZ(*args)
2071 self.this.append(this)
2075 def show(self, *args):
2077 show(XYZ self, _ostream out)
2080 return _IMP_core.XYZ_show(self, *args)
2083 def setup_particle(*args):
2085 setup_particle(Model m, ParticleIndex pi) -> XYZ
2086 setup_particle(_ParticleAdaptor decorator) -> XYZ
2087 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2088 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2090 return _IMP_core.XYZ_setup_particle(*args)
2092 setup_particle = staticmethod(setup_particle)
2095 """get_x(XYZ self) -> IMP::Float"""
2096 return _IMP_core.XYZ_get_x(self)
2100 """set_x(XYZ self, IMP::Float t)"""
2101 return _IMP_core.XYZ_set_x(self, t)
2105 """get_y(XYZ self) -> IMP::Float"""
2106 return _IMP_core.XYZ_get_y(self)
2110 """set_y(XYZ self, IMP::Float t)"""
2111 return _IMP_core.XYZ_set_y(self, t)
2115 """get_z(XYZ self) -> IMP::Float"""
2116 return _IMP_core.XYZ_get_z(self)
2120 """set_z(XYZ self, IMP::Float t)"""
2121 return _IMP_core.XYZ_set_z(self, t)
2124 def set_coordinate(self, i, v):
2125 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
2126 return _IMP_core.XYZ_set_coordinate(self, i, v)
2129 def set_coordinates(self, v):
2130 """set_coordinates(XYZ self, Vector3D v)"""
2131 return _IMP_core.XYZ_set_coordinates(self, v)
2134 def get_coordinate(self, i):
2135 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2136 return _IMP_core.XYZ_get_coordinate(self, i)
2139 def add_to_derivatives(self, v, d):
2140 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2141 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2144 def get_coordinates_are_optimized(self):
2145 """get_coordinates_are_optimized(XYZ self) -> bool"""
2146 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2149 def set_coordinates_are_optimized(self, tf):
2150 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2151 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2154 def get_vector_to(self, b):
2155 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2156 return _IMP_core.XYZ_get_vector_to(self, b)
2159 def get_coordinates(self):
2160 """get_coordinates(XYZ self) -> Vector3D"""
2161 return _IMP_core.XYZ_get_coordinates(self)
2164 def get_derivatives(self):
2165 """get_derivatives(XYZ self) -> Vector3D"""
2166 return _IMP_core.XYZ_get_derivatives(self)
2169 def get_is_setup(*args):
2171 get_is_setup(_ParticleAdaptor p) -> bool
2172 get_is_setup(Model m, ParticleIndex pi) -> bool
2174 return _IMP_core.XYZ_get_is_setup(*args)
2176 get_is_setup = staticmethod(get_is_setup)
2179 """get_xyz_keys() -> IMP::FloatKeys const &"""
2180 return _IMP_core.XYZ_get_xyz_keys()
2182 get_xyz_keys = staticmethod(get_xyz_keys)
2184 def add_attribute(self, *args):
2186 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2187 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2188 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2189 add_attribute(XYZ self, FloatsKey a0, IMP::Floats a1)
2190 add_attribute(XYZ self, IntsKey a0, IMP::Ints a1)
2191 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2192 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2193 add_attribute(XYZ self, ObjectKey a0, Object a1)
2195 return _IMP_core.XYZ_add_attribute(self, *args)
2198 def get_value(self, *args):
2200 get_value(XYZ self, FloatKey a0) -> IMP::Float
2201 get_value(XYZ self, IntKey a0) -> IMP::Int
2202 get_value(XYZ self, FloatsKey a0) -> IMP::Floats
2203 get_value(XYZ self, IntsKey a0) -> IMP::Ints
2204 get_value(XYZ self, StringKey a0) -> IMP::String
2205 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2206 get_value(XYZ self, ObjectKey a0) -> Object
2208 return _IMP_core.XYZ_get_value(self, *args)
2211 def set_value(self, *args):
2213 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2214 set_value(XYZ self, IntKey a0, IMP::Int a1)
2215 set_value(XYZ self, FloatsKey a0, IMP::Floats a1)
2216 set_value(XYZ self, IntsKey a0, IMP::Ints a1)
2217 set_value(XYZ self, StringKey a0, IMP::String a1)
2218 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2219 set_value(XYZ self, ObjectKey a0, Object a1)
2221 return _IMP_core.XYZ_set_value(self, *args)
2224 def remove_attribute(self, *args):
2226 remove_attribute(XYZ self, FloatKey a0)
2227 remove_attribute(XYZ self, IntKey a0)
2228 remove_attribute(XYZ self, FloatsKey a0)
2229 remove_attribute(XYZ self, IntsKey a0)
2230 remove_attribute(XYZ self, StringKey a0)
2231 remove_attribute(XYZ self, ParticleIndexKey a0)
2232 remove_attribute(XYZ self, ObjectKey a0)
2234 return _IMP_core.XYZ_remove_attribute(self, *args)
2237 def has_attribute(self, *args):
2239 has_attribute(XYZ self, FloatKey a0) -> bool
2240 has_attribute(XYZ self, IntKey a0) -> bool
2241 has_attribute(XYZ self, FloatsKey a0) -> bool
2242 has_attribute(XYZ self, IntsKey a0) -> bool
2243 has_attribute(XYZ self, StringKey a0) -> bool
2244 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2245 has_attribute(XYZ self, ObjectKey a0) -> bool
2247 return _IMP_core.XYZ_has_attribute(self, *args)
2250 def get_derivative(self, *args):
2252 get_derivative(XYZ self, int i) -> IMP::Float
2253 get_derivative(XYZ self, FloatKey a0) -> double
2255 return _IMP_core.XYZ_get_derivative(self, *args)
2259 """get_name(XYZ self) -> std::string"""
2260 return _IMP_core.XYZ_get_name(self)
2263 def clear_caches(self):
2264 """clear_caches(XYZ self)"""
2265 return _IMP_core.XYZ_clear_caches(self)
2268 def set_name(self, a0):
2269 """set_name(XYZ self, std::string a0)"""
2270 return _IMP_core.XYZ_set_name(self, a0)
2274 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2275 return _IMP_core.XYZ_set_check_level(self, a0)
2278 def add_to_derivative(self, *args):
2280 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2281 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2283 return _IMP_core.XYZ_add_to_derivative(self, *args)
2286 def set_is_optimized(self, a0, a1):
2287 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2288 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2291 def get_is_optimized(self, a0):
2292 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2293 return _IMP_core.XYZ_get_is_optimized(self, a0)
2297 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2298 return _IMP_core.XYZ_get_check_level(self)
2301 def __eq__(self, *args):
2303 __eq__(XYZ self, XYZ o) -> bool
2304 __eq__(XYZ self, Particle d) -> bool
2306 return _IMP_core.XYZ___eq__(self, *args)
2309 def __ne__(self, *args):
2311 __ne__(XYZ self, XYZ o) -> bool
2312 __ne__(XYZ self, Particle d) -> bool
2314 return _IMP_core.XYZ___ne__(self, *args)
2317 def __le__(self, *args):
2319 __le__(XYZ self, XYZ o) -> bool
2320 __le__(XYZ self, Particle d) -> bool
2322 return _IMP_core.XYZ___le__(self, *args)
2325 def __lt__(self, *args):
2327 __lt__(XYZ self, XYZ o) -> bool
2328 __lt__(XYZ self, Particle d) -> bool
2330 return _IMP_core.XYZ___lt__(self, *args)
2333 def __ge__(self, *args):
2335 __ge__(XYZ self, XYZ o) -> bool
2336 __ge__(XYZ self, Particle d) -> bool
2338 return _IMP_core.XYZ___ge__(self, *args)
2341 def __gt__(self, *args):
2343 __gt__(XYZ self, XYZ o) -> bool
2344 __gt__(XYZ self, Particle d) -> bool
2346 return _IMP_core.XYZ___gt__(self, *args)
2350 """__hash__(XYZ self) -> std::size_t"""
2351 return _IMP_core.XYZ___hash__(self)
2355 """__str__(XYZ self) -> std::string"""
2356 return _IMP_core.XYZ___str__(self)
2360 """__repr__(XYZ self) -> std::string"""
2361 return _IMP_core.XYZ___repr__(self)
2363 __swig_destroy__ = _IMP_core.delete_XYZ
2364 __del__ =
lambda self:
None
2365 XYZ_swigregister = _IMP_core.XYZ_swigregister
2366 XYZ_swigregister(XYZ)
2368 def XYZ_get_coordinate_key(i):
2369 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2370 return _IMP_core.XYZ_get_coordinate_key(i)
2372 def XYZ_setup_particle(*args):
2374 setup_particle(Model m, ParticleIndex pi) -> XYZ
2375 setup_particle(_ParticleAdaptor decorator) -> XYZ
2376 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2377 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2379 return _IMP_core.XYZ_setup_particle(*args)
2381 def XYZ_get_is_setup(*args):
2383 get_is_setup(_ParticleAdaptor p) -> bool
2384 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2386 return _IMP_core.XYZ_get_is_setup(*args)
2388 def XYZ_get_xyz_keys():
2389 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2390 return _IMP_core.XYZ_get_xyz_keys()
2394 """set_vector_geometry(XYZ d, Vector3D v)"""
2395 return _IMP_core.set_vector_geometry(d, v)
2398 """get_vector_geometry(XYZ d) -> Vector3D"""
2399 return _IMP_core.get_vector_geometry(d)
2402 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2403 return _IMP_core.get_dihedral(a, b, c, d)
2405 """Proxy of C++ IMP::core::XYZR class"""
2406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2408 def __init__(self, *args):
2410 __init__(IMP::core::XYZR self) -> XYZR
2411 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2412 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2414 this = _IMP_core.new_XYZR(*args)
2416 self.this.append(this)
2420 def show(self, *args):
2422 show(XYZR self, _ostream out)
2425 return _IMP_core.XYZR_show(self, *args)
2428 def setup_particle(*args):
2430 setup_particle(Model m, ParticleIndex pi) -> XYZR
2431 setup_particle(_ParticleAdaptor decorator) -> XYZR
2432 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2433 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2434 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2435 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2437 return _IMP_core.XYZR_setup_particle(*args)
2439 setup_particle = staticmethod(setup_particle)
2441 def get_is_setup(*args):
2443 get_is_setup(_ParticleAdaptor p) -> bool
2444 get_is_setup(Model m, ParticleIndex pi) -> bool
2446 return _IMP_core.XYZR_get_is_setup(*args)
2448 get_is_setup = staticmethod(get_is_setup)
2450 def get_radius(self):
2451 """get_radius(XYZR self) -> double"""
2452 return _IMP_core.XYZR_get_radius(self)
2455 def set_radius(self, r):
2456 """set_radius(XYZR self, double r)"""
2457 return _IMP_core.XYZR_set_radius(self, r)
2460 def get_sphere(self):
2461 """get_sphere(XYZR self) -> Sphere3D"""
2462 return _IMP_core.XYZR_get_sphere(self)
2465 def set_sphere(self, s):
2466 """set_sphere(XYZR self, Sphere3D s)"""
2467 return _IMP_core.XYZR_set_sphere(self, s)
2470 def get_radius_key():
2471 """get_radius_key() -> FloatKey"""
2472 return _IMP_core.XYZR_get_radius_key()
2474 get_radius_key = staticmethod(get_radius_key)
2476 def add_to_radius_derivative(self, v, d):
2477 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2478 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2481 def add_attribute(self, *args):
2483 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2484 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2485 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2486 add_attribute(XYZR self, FloatsKey a0, IMP::Floats a1)
2487 add_attribute(XYZR self, IntsKey a0, IMP::Ints a1)
2488 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2489 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2490 add_attribute(XYZR self, ObjectKey a0, Object a1)
2492 return _IMP_core.XYZR_add_attribute(self, *args)
2495 def get_value(self, *args):
2497 get_value(XYZR self, FloatKey a0) -> IMP::Float
2498 get_value(XYZR self, IntKey a0) -> IMP::Int
2499 get_value(XYZR self, FloatsKey a0) -> IMP::Floats
2500 get_value(XYZR self, IntsKey a0) -> IMP::Ints
2501 get_value(XYZR self, StringKey a0) -> IMP::String
2502 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2503 get_value(XYZR self, ObjectKey a0) -> Object
2505 return _IMP_core.XYZR_get_value(self, *args)
2508 def set_value(self, *args):
2510 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2511 set_value(XYZR self, IntKey a0, IMP::Int a1)
2512 set_value(XYZR self, FloatsKey a0, IMP::Floats a1)
2513 set_value(XYZR self, IntsKey a0, IMP::Ints a1)
2514 set_value(XYZR self, StringKey a0, IMP::String a1)
2515 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2516 set_value(XYZR self, ObjectKey a0, Object a1)
2518 return _IMP_core.XYZR_set_value(self, *args)
2521 def remove_attribute(self, *args):
2523 remove_attribute(XYZR self, FloatKey a0)
2524 remove_attribute(XYZR self, IntKey a0)
2525 remove_attribute(XYZR self, FloatsKey a0)
2526 remove_attribute(XYZR self, IntsKey a0)
2527 remove_attribute(XYZR self, StringKey a0)
2528 remove_attribute(XYZR self, ParticleIndexKey a0)
2529 remove_attribute(XYZR self, ObjectKey a0)
2531 return _IMP_core.XYZR_remove_attribute(self, *args)
2534 def has_attribute(self, *args):
2536 has_attribute(XYZR self, FloatKey a0) -> bool
2537 has_attribute(XYZR self, IntKey a0) -> bool
2538 has_attribute(XYZR self, FloatsKey a0) -> bool
2539 has_attribute(XYZR self, IntsKey a0) -> bool
2540 has_attribute(XYZR self, StringKey a0) -> bool
2541 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2542 has_attribute(XYZR self, ObjectKey a0) -> bool
2544 return _IMP_core.XYZR_has_attribute(self, *args)
2547 def get_derivative(self, a0):
2548 """get_derivative(XYZR self, FloatKey a0) -> double"""
2549 return _IMP_core.XYZR_get_derivative(self, a0)
2553 """get_name(XYZR self) -> std::string"""
2554 return _IMP_core.XYZR_get_name(self)
2557 def clear_caches(self):
2558 """clear_caches(XYZR self)"""
2559 return _IMP_core.XYZR_clear_caches(self)
2562 def set_name(self, a0):
2563 """set_name(XYZR self, std::string a0)"""
2564 return _IMP_core.XYZR_set_name(self, a0)
2568 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2569 return _IMP_core.XYZR_set_check_level(self, a0)
2572 def add_to_derivative(self, a0, a1, a2):
2573 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2574 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2577 def set_is_optimized(self, a0, a1):
2578 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2579 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2582 def get_is_optimized(self, a0):
2583 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2584 return _IMP_core.XYZR_get_is_optimized(self, a0)
2588 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2589 return _IMP_core.XYZR_get_check_level(self)
2592 def __eq__(self, *args):
2594 __eq__(XYZR self, XYZR o) -> bool
2595 __eq__(XYZR self, Particle d) -> bool
2597 return _IMP_core.XYZR___eq__(self, *args)
2600 def __ne__(self, *args):
2602 __ne__(XYZR self, XYZR o) -> bool
2603 __ne__(XYZR self, Particle d) -> bool
2605 return _IMP_core.XYZR___ne__(self, *args)
2608 def __le__(self, *args):
2610 __le__(XYZR self, XYZR o) -> bool
2611 __le__(XYZR self, Particle d) -> bool
2613 return _IMP_core.XYZR___le__(self, *args)
2616 def __lt__(self, *args):
2618 __lt__(XYZR self, XYZR o) -> bool
2619 __lt__(XYZR self, Particle d) -> bool
2621 return _IMP_core.XYZR___lt__(self, *args)
2624 def __ge__(self, *args):
2626 __ge__(XYZR self, XYZR o) -> bool
2627 __ge__(XYZR self, Particle d) -> bool
2629 return _IMP_core.XYZR___ge__(self, *args)
2632 def __gt__(self, *args):
2634 __gt__(XYZR self, XYZR o) -> bool
2635 __gt__(XYZR self, Particle d) -> bool
2637 return _IMP_core.XYZR___gt__(self, *args)
2641 """__hash__(XYZR self) -> std::size_t"""
2642 return _IMP_core.XYZR___hash__(self)
2646 """__str__(XYZR self) -> std::string"""
2647 return _IMP_core.XYZR___str__(self)
2651 """__repr__(XYZR self) -> std::string"""
2652 return _IMP_core.XYZR___repr__(self)
2654 __swig_destroy__ = _IMP_core.delete_XYZR
2655 __del__ =
lambda self:
None
2656 XYZR_swigregister = _IMP_core.XYZR_swigregister
2657 XYZR_swigregister(XYZR)
2659 def XYZR_setup_particle(*args):
2661 setup_particle(Model m, ParticleIndex pi) -> XYZR
2662 setup_particle(_ParticleAdaptor decorator) -> XYZR
2663 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2664 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2665 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2666 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2668 return _IMP_core.XYZR_setup_particle(*args)
2670 def XYZR_get_is_setup(*args):
2672 get_is_setup(_ParticleAdaptor p) -> bool
2673 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2675 return _IMP_core.XYZR_get_is_setup(*args)
2677 def XYZR_get_radius_key():
2678 """XYZR_get_radius_key() -> FloatKey"""
2679 return _IMP_core.XYZR_get_radius_key()
2684 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2685 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2687 return _IMP_core.set_enclosing_sphere(b, v, slack)
2690 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2691 return _IMP_core.set_enclosing_radius(b, v)
2694 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2695 return _IMP_core.get_enclosing_sphere(v)
2699 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2700 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2702 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2704 """Proxy of C++ IMP::core::XYZRGeometry class"""
2705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2707 def __init__(self, *args):
2709 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2710 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2712 this = _IMP_core.new_XYZRGeometry(*args)
2714 self.this.append(this)
2718 def get_version_info(self):
2719 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2720 return _IMP_core.XYZRGeometry_get_version_info(self)
2724 """__str__(XYZRGeometry self) -> std::string"""
2725 return _IMP_core.XYZRGeometry___str__(self)
2729 """__repr__(XYZRGeometry self) -> std::string"""
2730 return _IMP_core.XYZRGeometry___repr__(self)
2735 return _object_cast_to_XYZRGeometry(o)
2737 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2738 XYZRGeometry_swigregister(XYZRGeometry)
2741 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2742 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2744 def __init__(self, sc):
2745 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2746 this = _IMP_core.new_XYZRsGeometry(sc)
2748 self.this.append(this)
2752 def get_version_info(self):
2753 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2754 return _IMP_core.XYZRsGeometry_get_version_info(self)
2758 """__str__(XYZRsGeometry self) -> std::string"""
2759 return _IMP_core.XYZRsGeometry___str__(self)
2763 """__repr__(XYZRsGeometry self) -> std::string"""
2764 return _IMP_core.XYZRsGeometry___repr__(self)
2769 return _object_cast_to_XYZRsGeometry(o)
2771 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2772 XYZRsGeometry_swigregister(XYZRsGeometry)
2775 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2778 def __init__(self, *args):
2780 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2781 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2783 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2785 self.this.append(this)
2789 def get_version_info(self):
2790 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2791 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2795 """__str__(XYZDerivativeGeometry self) -> std::string"""
2796 return _IMP_core.XYZDerivativeGeometry___str__(self)
2800 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2801 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2806 return _object_cast_to_XYZDerivativeGeometry(o)
2808 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2809 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2812 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2815 def __init__(self, sc):
2816 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2817 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2819 self.this.append(this)
2823 def get_version_info(self):
2824 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2825 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2829 """__str__(XYZDerivativesGeometry self) -> std::string"""
2830 return _IMP_core.XYZDerivativesGeometry___str__(self)
2834 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2835 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2840 return _object_cast_to_XYZDerivativesGeometry(o)
2842 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2843 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2846 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2849 def __init__(self, pp):
2850 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2851 this = _IMP_core.new_EdgePairGeometry(pp)
2853 self.this.append(this)
2857 def get_version_info(self):
2858 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2859 return _IMP_core.EdgePairGeometry_get_version_info(self)
2863 """__str__(EdgePairGeometry self) -> std::string"""
2864 return _IMP_core.EdgePairGeometry___str__(self)
2868 """__repr__(EdgePairGeometry self) -> std::string"""
2869 return _IMP_core.EdgePairGeometry___repr__(self)
2874 return _object_cast_to_EdgePairGeometry(o)
2876 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2877 EdgePairGeometry_swigregister(EdgePairGeometry)
2880 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2883 def __init__(self, sc):
2884 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2885 this = _IMP_core.new_EdgePairsGeometry(sc)
2887 self.this.append(this)
2891 def get_version_info(self):
2892 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2893 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2897 """__str__(EdgePairsGeometry self) -> std::string"""
2898 return _IMP_core.EdgePairsGeometry___str__(self)
2902 """__repr__(EdgePairsGeometry self) -> std::string"""
2903 return _IMP_core.EdgePairsGeometry___repr__(self)
2908 return _object_cast_to_EdgePairsGeometry(o)
2910 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2911 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2914 """Proxy of C++ IMP::core::Direction class"""
2915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2917 def do_setup_particle(m, pi, v):
2918 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2919 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2921 do_setup_particle = staticmethod(do_setup_particle)
2923 def __init__(self, *args):
2925 __init__(IMP::core::Direction self) -> Direction
2926 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2927 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2929 this = _IMP_core.new_Direction(*args)
2931 self.this.append(this)
2935 def show(self, *args):
2937 show(Direction self, _ostream out)
2938 show(Direction self)
2940 return _IMP_core.Direction_show(self, *args)
2943 def setup_particle(*args):
2945 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2946 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2948 return _IMP_core.Direction_setup_particle(*args)
2950 setup_particle = staticmethod(setup_particle)
2952 def get_is_setup(*args):
2954 get_is_setup(_ParticleAdaptor p) -> bool
2955 get_is_setup(Model m, ParticleIndex pi) -> bool
2957 return _IMP_core.Direction_get_is_setup(*args)
2959 get_is_setup = staticmethod(get_is_setup)
2961 def get_direction_key(i):
2962 """get_direction_key(unsigned int i) -> FloatKey"""
2963 return _IMP_core.Direction_get_direction_key(i)
2965 get_direction_key = staticmethod(get_direction_key)
2967 def get_direction_derivative(self, i):
2968 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2969 return _IMP_core.Direction_get_direction_derivative(self, i)
2972 def get_direction_derivatives(self):
2973 """get_direction_derivatives(Direction self) -> Vector3D"""
2974 return _IMP_core.Direction_get_direction_derivatives(self)
2977 def add_to_direction_derivative(self, i, v, d):
2978 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2979 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2982 def add_to_direction_derivatives(self, v, d):
2983 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2984 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2987 def get_direction_is_optimized(self):
2988 """get_direction_is_optimized(Direction self) -> bool"""
2989 return _IMP_core.Direction_get_direction_is_optimized(self)
2992 def set_direction_is_optimized(self, tf):
2993 """set_direction_is_optimized(Direction self, bool tf)"""
2994 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2997 def get_direction(self):
2998 """get_direction(Direction self) -> Vector3D"""
2999 return _IMP_core.Direction_get_direction(self)
3002 def set_direction(self, v):
3003 """set_direction(Direction self, Vector3D v)"""
3004 return _IMP_core.Direction_set_direction(self, v)
3008 """reflect(Direction self)"""
3009 return _IMP_core.Direction_reflect(self)
3012 def add_attribute(self, *args):
3014 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
3015 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
3016 add_attribute(Direction self, IntKey a0, IMP::Int a1)
3017 add_attribute(Direction self, FloatsKey a0, IMP::Floats a1)
3018 add_attribute(Direction self, IntsKey a0, IMP::Ints a1)
3019 add_attribute(Direction self, StringKey a0, IMP::String a1)
3020 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
3021 add_attribute(Direction self, ObjectKey a0, Object a1)
3023 return _IMP_core.Direction_add_attribute(self, *args)
3026 def get_value(self, *args):
3028 get_value(Direction self, FloatKey a0) -> IMP::Float
3029 get_value(Direction self, IntKey a0) -> IMP::Int
3030 get_value(Direction self, FloatsKey a0) -> IMP::Floats
3031 get_value(Direction self, IntsKey a0) -> IMP::Ints
3032 get_value(Direction self, StringKey a0) -> IMP::String
3033 get_value(Direction self, ParticleIndexKey a0) -> Particle
3034 get_value(Direction self, ObjectKey a0) -> Object
3036 return _IMP_core.Direction_get_value(self, *args)
3039 def set_value(self, *args):
3041 set_value(Direction self, FloatKey a0, IMP::Float a1)
3042 set_value(Direction self, IntKey a0, IMP::Int a1)
3043 set_value(Direction self, FloatsKey a0, IMP::Floats a1)
3044 set_value(Direction self, IntsKey a0, IMP::Ints a1)
3045 set_value(Direction self, StringKey a0, IMP::String a1)
3046 set_value(Direction self, ParticleIndexKey a0, Particle a1)
3047 set_value(Direction self, ObjectKey a0, Object a1)
3049 return _IMP_core.Direction_set_value(self, *args)
3052 def remove_attribute(self, *args):
3054 remove_attribute(Direction self, FloatKey a0)
3055 remove_attribute(Direction self, IntKey a0)
3056 remove_attribute(Direction self, FloatsKey a0)
3057 remove_attribute(Direction self, IntsKey a0)
3058 remove_attribute(Direction self, StringKey a0)
3059 remove_attribute(Direction self, ParticleIndexKey a0)
3060 remove_attribute(Direction self, ObjectKey a0)
3062 return _IMP_core.Direction_remove_attribute(self, *args)
3065 def has_attribute(self, *args):
3067 has_attribute(Direction self, FloatKey a0) -> bool
3068 has_attribute(Direction self, IntKey a0) -> bool
3069 has_attribute(Direction self, FloatsKey a0) -> bool
3070 has_attribute(Direction self, IntsKey a0) -> bool
3071 has_attribute(Direction self, StringKey a0) -> bool
3072 has_attribute(Direction self, ParticleIndexKey a0) -> bool
3073 has_attribute(Direction self, ObjectKey a0) -> bool
3075 return _IMP_core.Direction_has_attribute(self, *args)
3078 def get_derivative(self, a0):
3079 """get_derivative(Direction self, FloatKey a0) -> double"""
3080 return _IMP_core.Direction_get_derivative(self, a0)
3084 """get_name(Direction self) -> std::string"""
3085 return _IMP_core.Direction_get_name(self)
3088 def clear_caches(self):
3089 """clear_caches(Direction self)"""
3090 return _IMP_core.Direction_clear_caches(self)
3093 def set_name(self, a0):
3094 """set_name(Direction self, std::string a0)"""
3095 return _IMP_core.Direction_set_name(self, a0)
3099 """set_check_level(Direction self, IMP::CheckLevel a0)"""
3100 return _IMP_core.Direction_set_check_level(self, a0)
3103 def add_to_derivative(self, a0, a1, a2):
3104 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3105 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
3108 def set_is_optimized(self, a0, a1):
3109 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
3110 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
3113 def get_is_optimized(self, a0):
3114 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
3115 return _IMP_core.Direction_get_is_optimized(self, a0)
3119 """get_check_level(Direction self) -> IMP::CheckLevel"""
3120 return _IMP_core.Direction_get_check_level(self)
3123 def __eq__(self, *args):
3125 __eq__(Direction self, Direction o) -> bool
3126 __eq__(Direction self, Particle d) -> bool
3128 return _IMP_core.Direction___eq__(self, *args)
3131 def __ne__(self, *args):
3133 __ne__(Direction self, Direction o) -> bool
3134 __ne__(Direction self, Particle d) -> bool
3136 return _IMP_core.Direction___ne__(self, *args)
3139 def __le__(self, *args):
3141 __le__(Direction self, Direction o) -> bool
3142 __le__(Direction self, Particle d) -> bool
3144 return _IMP_core.Direction___le__(self, *args)
3147 def __lt__(self, *args):
3149 __lt__(Direction self, Direction o) -> bool
3150 __lt__(Direction self, Particle d) -> bool
3152 return _IMP_core.Direction___lt__(self, *args)
3155 def __ge__(self, *args):
3157 __ge__(Direction self, Direction o) -> bool
3158 __ge__(Direction self, Particle d) -> bool
3160 return _IMP_core.Direction___ge__(self, *args)
3163 def __gt__(self, *args):
3165 __gt__(Direction self, Direction o) -> bool
3166 __gt__(Direction self, Particle d) -> bool
3168 return _IMP_core.Direction___gt__(self, *args)
3172 """__hash__(Direction self) -> std::size_t"""
3173 return _IMP_core.Direction___hash__(self)
3177 """__str__(Direction self) -> std::string"""
3178 return _IMP_core.Direction___str__(self)
3182 """__repr__(Direction self) -> std::string"""
3183 return _IMP_core.Direction___repr__(self)
3185 __swig_destroy__ = _IMP_core.delete_Direction
3186 __del__ =
lambda self:
None
3187 Direction_swigregister = _IMP_core.Direction_swigregister
3188 Direction_swigregister(Direction)
3190 def Direction_do_setup_particle(m, pi, v):
3191 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3192 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3194 def Direction_setup_particle(*args):
3196 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3197 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3199 return _IMP_core.Direction_setup_particle(*args)
3201 def Direction_get_is_setup(*args):
3203 get_is_setup(_ParticleAdaptor p) -> bool
3204 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3206 return _IMP_core.Direction_get_is_setup(*args)
3208 def Direction_get_direction_key(i):
3209 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3210 return _IMP_core.Direction_get_direction_key(i)
3214 """get_angle(Direction a, Direction b) -> double"""
3215 return _IMP_core.get_angle(a, b)
3217 """Proxy of C++ IMP::core::DirectionAngle class"""
3218 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3220 def __init__(self, *args):
3222 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3223 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3224 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3226 this = _IMP_core.new_DirectionAngle(*args)
3228 self.this.append(this)
3232 def show(self, *args):
3234 show(DirectionAngle self, _ostream out)
3235 show(DirectionAngle self)
3237 return _IMP_core.DirectionAngle_show(self, *args)
3240 def setup_particle(*args):
3242 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3243 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3244 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3245 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3247 return _IMP_core.DirectionAngle_setup_particle(*args)
3249 setup_particle = staticmethod(setup_particle)
3251 def get_is_setup(*args):
3253 get_is_setup(_ParticleAdaptor p) -> bool
3254 get_is_setup(Model m, ParticleIndex pi) -> bool
3256 return _IMP_core.DirectionAngle_get_is_setup(*args)
3258 get_is_setup = staticmethod(get_is_setup)
3260 def get_angle_key():
3261 """get_angle_key() -> FloatKey"""
3262 return _IMP_core.DirectionAngle_get_angle_key()
3264 get_angle_key = staticmethod(get_angle_key)
3266 def get_particle_key(i):
3267 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3268 return _IMP_core.DirectionAngle_get_particle_key(i)
3270 get_particle_key = staticmethod(get_particle_key)
3272 def get_particle(self, *args):
3274 get_particle(DirectionAngle self, unsigned int i) -> Particle
3275 get_particle(DirectionAngle self) -> Particle
3277 return _IMP_core.DirectionAngle_get_particle(self, *args)
3280 def get_particle_index(self, *args):
3282 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3283 get_particle_index(DirectionAngle self) -> ParticleIndex
3285 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3289 """get_angle(DirectionAngle self) -> IMP::Float"""
3290 return _IMP_core.DirectionAngle_get_angle(self)
3293 def get_angle_derivative(self):
3294 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3295 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3298 def add_to_angle_derivative(self, v, d):
3299 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3300 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3303 def add_attribute(self, *args):
3305 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3306 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3307 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3308 add_attribute(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3309 add_attribute(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3310 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3311 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3312 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3314 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3317 def get_value(self, *args):
3319 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3320 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3321 get_value(DirectionAngle self, FloatsKey a0) -> IMP::Floats
3322 get_value(DirectionAngle self, IntsKey a0) -> IMP::Ints
3323 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3324 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3325 get_value(DirectionAngle self, ObjectKey a0) -> Object
3327 return _IMP_core.DirectionAngle_get_value(self, *args)
3330 def set_value(self, *args):
3332 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3333 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3334 set_value(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3335 set_value(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3336 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3337 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3338 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3340 return _IMP_core.DirectionAngle_set_value(self, *args)
3343 def remove_attribute(self, *args):
3345 remove_attribute(DirectionAngle self, FloatKey a0)
3346 remove_attribute(DirectionAngle self, IntKey a0)
3347 remove_attribute(DirectionAngle self, FloatsKey a0)
3348 remove_attribute(DirectionAngle self, IntsKey a0)
3349 remove_attribute(DirectionAngle self, StringKey a0)
3350 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3351 remove_attribute(DirectionAngle self, ObjectKey a0)
3353 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3356 def has_attribute(self, *args):
3358 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3359 has_attribute(DirectionAngle self, IntKey a0) -> bool
3360 has_attribute(DirectionAngle self, FloatsKey a0) -> bool
3361 has_attribute(DirectionAngle self, IntsKey a0) -> bool
3362 has_attribute(DirectionAngle self, StringKey a0) -> bool
3363 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3364 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3366 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3369 def get_derivative(self, a0):
3370 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3371 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3375 """get_name(DirectionAngle self) -> std::string"""
3376 return _IMP_core.DirectionAngle_get_name(self)
3379 def clear_caches(self):
3380 """clear_caches(DirectionAngle self)"""
3381 return _IMP_core.DirectionAngle_clear_caches(self)
3384 def set_name(self, a0):
3385 """set_name(DirectionAngle self, std::string a0)"""
3386 return _IMP_core.DirectionAngle_set_name(self, a0)
3390 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3391 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3394 def add_to_derivative(self, a0, a1, a2):
3395 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3396 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3399 def set_is_optimized(self, a0, a1):
3400 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3401 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3404 def get_is_optimized(self, a0):
3405 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3406 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3410 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3411 return _IMP_core.DirectionAngle_get_check_level(self)
3414 def __eq__(self, *args):
3416 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3417 __eq__(DirectionAngle self, Particle d) -> bool
3419 return _IMP_core.DirectionAngle___eq__(self, *args)
3422 def __ne__(self, *args):
3424 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3425 __ne__(DirectionAngle self, Particle d) -> bool
3427 return _IMP_core.DirectionAngle___ne__(self, *args)
3430 def __le__(self, *args):
3432 __le__(DirectionAngle self, DirectionAngle o) -> bool
3433 __le__(DirectionAngle self, Particle d) -> bool
3435 return _IMP_core.DirectionAngle___le__(self, *args)
3438 def __lt__(self, *args):
3440 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3441 __lt__(DirectionAngle self, Particle d) -> bool
3443 return _IMP_core.DirectionAngle___lt__(self, *args)
3446 def __ge__(self, *args):
3448 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3449 __ge__(DirectionAngle self, Particle d) -> bool
3451 return _IMP_core.DirectionAngle___ge__(self, *args)
3454 def __gt__(self, *args):
3456 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3457 __gt__(DirectionAngle self, Particle d) -> bool
3459 return _IMP_core.DirectionAngle___gt__(self, *args)
3463 """__hash__(DirectionAngle self) -> std::size_t"""
3464 return _IMP_core.DirectionAngle___hash__(self)
3468 """__str__(DirectionAngle self) -> std::string"""
3469 return _IMP_core.DirectionAngle___str__(self)
3473 """__repr__(DirectionAngle self) -> std::string"""
3474 return _IMP_core.DirectionAngle___repr__(self)
3476 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3477 __del__ =
lambda self:
None
3478 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3479 DirectionAngle_swigregister(DirectionAngle)
3481 def DirectionAngle_setup_particle(*args):
3483 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3484 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3485 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3486 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3488 return _IMP_core.DirectionAngle_setup_particle(*args)
3490 def DirectionAngle_get_is_setup(*args):
3492 get_is_setup(_ParticleAdaptor p) -> bool
3493 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3495 return _IMP_core.DirectionAngle_get_is_setup(*args)
3497 def DirectionAngle_get_angle_key():
3498 """DirectionAngle_get_angle_key() -> FloatKey"""
3499 return _IMP_core.DirectionAngle_get_angle_key()
3501 def DirectionAngle_get_particle_key(i):
3502 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3503 return _IMP_core.DirectionAngle_get_particle_key(i)
3506 """Proxy of C++ IMP::core::Surface class"""
3507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3509 def do_setup_particle(*args):
3511 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3512 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3513 do_setup_particle(Model m, ParticleIndex pi)
3514 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3516 return _IMP_core.Surface_do_setup_particle(*args)
3518 do_setup_particle = staticmethod(do_setup_particle)
3520 def __init__(self, *args):
3522 __init__(IMP::core::Surface self) -> Surface
3523 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3524 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3526 this = _IMP_core.new_Surface(*args)
3528 self.this.append(this)
3532 def show(self, *args):
3534 show(Surface self, _ostream out)
3537 return _IMP_core.Surface_show(self, *args)
3540 def setup_particle(*args):
3542 setup_particle(Model m, ParticleIndex pi) -> Surface
3543 setup_particle(_ParticleAdaptor decorator) -> Surface
3544 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3545 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3546 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3547 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3548 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3549 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3551 return _IMP_core.Surface_setup_particle(*args)
3553 setup_particle = staticmethod(setup_particle)
3555 def get_normal_x(self):
3556 """get_normal_x(Surface self) -> IMP::Float"""
3557 return _IMP_core.Surface_get_normal_x(self)
3560 def set_normal_x(self, t):
3561 """set_normal_x(Surface self, IMP::Float t)"""
3562 return _IMP_core.Surface_set_normal_x(self, t)
3565 def get_normal_y(self):
3566 """get_normal_y(Surface self) -> IMP::Float"""
3567 return _IMP_core.Surface_get_normal_y(self)
3570 def set_normal_y(self, t):
3571 """set_normal_y(Surface self, IMP::Float t)"""
3572 return _IMP_core.Surface_set_normal_y(self, t)
3575 def get_normal_z(self):
3576 """get_normal_z(Surface self) -> IMP::Float"""
3577 return _IMP_core.Surface_get_normal_z(self)
3580 def set_normal_z(self, t):
3581 """set_normal_z(Surface self, IMP::Float t)"""
3582 return _IMP_core.Surface_set_normal_z(self, t)
3585 def get_is_setup(*args):
3587 get_is_setup(_ParticleAdaptor p) -> bool
3588 get_is_setup(Model m, ParticleIndex pi) -> bool
3590 return _IMP_core.Surface_get_is_setup(*args)
3592 get_is_setup = staticmethod(get_is_setup)
3594 def get_normal_key(i):
3595 """get_normal_key(unsigned int i) -> FloatKey"""
3596 return _IMP_core.Surface_get_normal_key(i)
3598 get_normal_key = staticmethod(get_normal_key)
3600 def get_normal_derivative(self, i):
3601 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3602 return _IMP_core.Surface_get_normal_derivative(self, i)
3605 def get_normal_derivatives(self):
3606 """get_normal_derivatives(Surface self) -> Vector3D"""
3607 return _IMP_core.Surface_get_normal_derivatives(self)
3610 def add_to_normal_derivative(self, i, v, d):
3611 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3612 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3615 def add_to_normal_derivatives(self, v, d):
3616 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3617 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3620 def get_normal_is_optimized(self):
3621 """get_normal_is_optimized(Surface self) -> bool"""
3622 return _IMP_core.Surface_get_normal_is_optimized(self)
3625 def set_normal_is_optimized(self, tf):
3626 """set_normal_is_optimized(Surface self, bool tf)"""
3627 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3630 def get_normal(self):
3631 """get_normal(Surface self) -> Vector3D"""
3632 return _IMP_core.Surface_get_normal(self)
3635 def set_normal(self, normal):
3636 """set_normal(Surface self, Vector3D normal)"""
3637 return _IMP_core.Surface_set_normal(self, normal)
3641 """reflect(Surface self)"""
3642 return _IMP_core.Surface_reflect(self)
3646 """get_height(Surface self, Vector3D v) -> double"""
3647 return _IMP_core.Surface_get_height(self, v)
3651 """get_depth(Surface self, Vector3D v) -> double"""
3652 return _IMP_core.Surface_get_depth(self, v)
3655 def get_distance_to(self, v):
3656 """get_distance_to(Surface self, Vector3D v) -> double"""
3657 return _IMP_core.Surface_get_distance_to(self, v)
3660 def get_distance_to_center(self, v):
3661 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3662 return _IMP_core.Surface_get_distance_to_center(self, v)
3665 def set_reference_frame(self, rf):
3666 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3667 return _IMP_core.Surface_set_reference_frame(self, rf)
3670 def get_reference_frame(self):
3671 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3672 return _IMP_core.Surface_get_reference_frame(self)
3675 def get_plane(self):
3676 """get_plane(Surface self) -> Plane3D"""
3677 return _IMP_core.Surface_get_plane(self)
3680 def add_attribute(self, *args):
3682 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3683 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3684 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3685 add_attribute(Surface self, FloatsKey a0, IMP::Floats a1)
3686 add_attribute(Surface self, IntsKey a0, IMP::Ints a1)
3687 add_attribute(Surface self, StringKey a0, IMP::String a1)
3688 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3689 add_attribute(Surface self, ObjectKey a0, Object a1)
3691 return _IMP_core.Surface_add_attribute(self, *args)
3694 def get_value(self, *args):
3696 get_value(Surface self, FloatKey a0) -> IMP::Float
3697 get_value(Surface self, IntKey a0) -> IMP::Int
3698 get_value(Surface self, FloatsKey a0) -> IMP::Floats
3699 get_value(Surface self, IntsKey a0) -> IMP::Ints
3700 get_value(Surface self, StringKey a0) -> IMP::String
3701 get_value(Surface self, ParticleIndexKey a0) -> Particle
3702 get_value(Surface self, ObjectKey a0) -> Object
3704 return _IMP_core.Surface_get_value(self, *args)
3707 def set_value(self, *args):
3709 set_value(Surface self, FloatKey a0, IMP::Float a1)
3710 set_value(Surface self, IntKey a0, IMP::Int a1)
3711 set_value(Surface self, FloatsKey a0, IMP::Floats a1)
3712 set_value(Surface self, IntsKey a0, IMP::Ints a1)
3713 set_value(Surface self, StringKey a0, IMP::String a1)
3714 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3715 set_value(Surface self, ObjectKey a0, Object a1)
3717 return _IMP_core.Surface_set_value(self, *args)
3720 def remove_attribute(self, *args):
3722 remove_attribute(Surface self, FloatKey a0)
3723 remove_attribute(Surface self, IntKey a0)
3724 remove_attribute(Surface self, FloatsKey a0)
3725 remove_attribute(Surface self, IntsKey a0)
3726 remove_attribute(Surface self, StringKey a0)
3727 remove_attribute(Surface self, ParticleIndexKey a0)
3728 remove_attribute(Surface self, ObjectKey a0)
3730 return _IMP_core.Surface_remove_attribute(self, *args)
3733 def has_attribute(self, *args):
3735 has_attribute(Surface self, FloatKey a0) -> bool
3736 has_attribute(Surface self, IntKey a0) -> bool
3737 has_attribute(Surface self, FloatsKey a0) -> bool
3738 has_attribute(Surface self, IntsKey a0) -> bool
3739 has_attribute(Surface self, StringKey a0) -> bool
3740 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3741 has_attribute(Surface self, ObjectKey a0) -> bool
3743 return _IMP_core.Surface_has_attribute(self, *args)
3746 def get_derivative(self, a0):
3747 """get_derivative(Surface self, FloatKey a0) -> double"""
3748 return _IMP_core.Surface_get_derivative(self, a0)
3752 """get_name(Surface self) -> std::string"""
3753 return _IMP_core.Surface_get_name(self)
3756 def clear_caches(self):
3757 """clear_caches(Surface self)"""
3758 return _IMP_core.Surface_clear_caches(self)
3761 def set_name(self, a0):
3762 """set_name(Surface self, std::string a0)"""
3763 return _IMP_core.Surface_set_name(self, a0)
3767 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3768 return _IMP_core.Surface_set_check_level(self, a0)
3771 def add_to_derivative(self, a0, a1, a2):
3772 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3773 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3776 def set_is_optimized(self, a0, a1):
3777 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3778 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3781 def get_is_optimized(self, a0):
3782 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3783 return _IMP_core.Surface_get_is_optimized(self, a0)
3787 """get_check_level(Surface self) -> IMP::CheckLevel"""
3788 return _IMP_core.Surface_get_check_level(self)
3791 def __eq__(self, *args):
3793 __eq__(Surface self, Surface o) -> bool
3794 __eq__(Surface self, Particle d) -> bool
3796 return _IMP_core.Surface___eq__(self, *args)
3799 def __ne__(self, *args):
3801 __ne__(Surface self, Surface o) -> bool
3802 __ne__(Surface self, Particle d) -> bool
3804 return _IMP_core.Surface___ne__(self, *args)
3807 def __le__(self, *args):
3809 __le__(Surface self, Surface o) -> bool
3810 __le__(Surface self, Particle d) -> bool
3812 return _IMP_core.Surface___le__(self, *args)
3815 def __lt__(self, *args):
3817 __lt__(Surface self, Surface o) -> bool
3818 __lt__(Surface self, Particle d) -> bool
3820 return _IMP_core.Surface___lt__(self, *args)
3823 def __ge__(self, *args):
3825 __ge__(Surface self, Surface o) -> bool
3826 __ge__(Surface self, Particle d) -> bool
3828 return _IMP_core.Surface___ge__(self, *args)
3831 def __gt__(self, *args):
3833 __gt__(Surface self, Surface o) -> bool
3834 __gt__(Surface self, Particle d) -> bool
3836 return _IMP_core.Surface___gt__(self, *args)
3840 """__hash__(Surface self) -> std::size_t"""
3841 return _IMP_core.Surface___hash__(self)
3845 """__str__(Surface self) -> std::string"""
3846 return _IMP_core.Surface___str__(self)
3850 """__repr__(Surface self) -> std::string"""
3851 return _IMP_core.Surface___repr__(self)
3853 __swig_destroy__ = _IMP_core.delete_Surface
3854 __del__ =
lambda self:
None
3855 Surface_swigregister = _IMP_core.Surface_swigregister
3856 Surface_swigregister(Surface)
3858 def Surface_do_setup_particle(*args):
3860 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3861 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3862 do_setup_particle(Model m, ParticleIndex pi)
3863 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3865 return _IMP_core.Surface_do_setup_particle(*args)
3867 def Surface_setup_particle(*args):
3869 setup_particle(Model m, ParticleIndex pi) -> Surface
3870 setup_particle(_ParticleAdaptor decorator) -> Surface
3871 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3872 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3873 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3874 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3875 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3876 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3878 return _IMP_core.Surface_setup_particle(*args)
3880 def Surface_get_is_setup(*args):
3882 get_is_setup(_ParticleAdaptor p) -> bool
3883 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3885 return _IMP_core.Surface_get_is_setup(*args)
3887 def Surface_get_normal_key(i):
3888 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3889 return _IMP_core.Surface_get_normal_key(i)
3894 get_height(Surface s, XYZR d) -> double
3895 get_height(Surface s, XYZ d) -> double
3897 return _IMP_core.get_height(*args)
3901 get_depth(Surface s, XYZR d) -> double
3902 get_depth(Surface s, XYZ d) -> double
3904 return _IMP_core.get_depth(*args)
3908 get_distance(XYZ a, XYZ b) -> double
3909 get_distance(XYZR a, XYZR b) -> double
3910 get_distance(Surface s, XYZR d) -> double
3911 get_distance(Surface s, XYZ d) -> double
3913 return _IMP_core.get_distance(*args)
3915 """Proxy of C++ IMP::core::SurfaceGeometry class"""
3916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3918 def __init__(self, *args):
3920 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3921 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3922 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3923 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3924 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3925 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3927 this = _IMP_core.new_SurfaceGeometry(*args)
3929 self.this.append(this)
3933 def get_geometry(self):
3934 """get_geometry(SurfaceGeometry self) -> Surface"""
3935 return _IMP_core.SurfaceGeometry_get_geometry(self)
3938 def set_geometry(self, s):
3939 """set_geometry(SurfaceGeometry self, Surface s)"""
3940 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3943 def get_version_info(self):
3944 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3945 return _IMP_core.SurfaceGeometry_get_version_info(self)
3949 """__str__(SurfaceGeometry self) -> std::string"""
3950 return _IMP_core.SurfaceGeometry___str__(self)
3954 """__repr__(SurfaceGeometry self) -> std::string"""
3955 return _IMP_core.SurfaceGeometry___repr__(self)
3960 return _object_cast_to_SurfaceGeometry(o)
3962 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3963 SurfaceGeometry_swigregister(SurfaceGeometry)
3968 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3969 create_geometry(Surface s) -> SurfaceGeometry
3971 return _IMP_core.create_geometry(*args)
3973 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class"""
3974 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3976 def __init__(self, s, g):
3977 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3978 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3980 self.this.append(this)
3984 def get_surface(self):
3985 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3986 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3989 def get_geometry(self):
3990 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3991 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3994 def do_get_inputs(self):
3995 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3996 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3999 def do_get_outputs(self):
4000 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
4001 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
4004 def get_version_info(self):
4005 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
4006 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
4010 """__str__(SurfaceGeometryConstraint self) -> std::string"""
4011 return _IMP_core.SurfaceGeometryConstraint___str__(self)
4015 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
4016 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
4021 return _object_cast_to_SurfaceGeometryConstraint(o)
4023 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
4024 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
4029 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
4030 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
4032 return _IMP_core.get_constrained_surface_geometry(*args)
4034 """Proxy of C++ IMP::core::LateralSurfaceConstraint class"""
4035 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4037 def __init__(self, s, d):
4038 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
4039 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
4041 self.this.append(this)
4045 def do_get_inputs(self):
4046 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
4047 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
4050 def do_get_outputs(self):
4051 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
4052 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
4055 def get_version_info(self):
4056 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
4057 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
4061 """__str__(LateralSurfaceConstraint self) -> std::string"""
4062 return _IMP_core.LateralSurfaceConstraint___str__(self)
4066 """__repr__(LateralSurfaceConstraint self) -> std::string"""
4067 return _IMP_core.LateralSurfaceConstraint___repr__(self)
4072 return _object_cast_to_LateralSurfaceConstraint(o)
4074 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
4075 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
4078 """Proxy of C++ IMP::core::AngleTripletScore class"""
4079 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4081 def __init__(self, f):
4082 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
4083 this = _IMP_core.new_AngleTripletScore(f)
4085 self.this.append(this)
4089 def do_get_inputs(self, m, pis):
4090 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4091 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
4094 def get_version_info(self):
4095 """get_version_info(AngleTripletScore self) -> VersionInfo"""
4096 return _IMP_core.AngleTripletScore_get_version_info(self)
4100 """__str__(AngleTripletScore self) -> std::string"""
4101 return _IMP_core.AngleTripletScore___str__(self)
4105 """__repr__(AngleTripletScore self) -> std::string"""
4106 return _IMP_core.AngleTripletScore___repr__(self)
4111 return _object_cast_to_AngleTripletScore(o)
4113 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
4114 AngleTripletScore_swigregister(AngleTripletScore)
4116 class BallMover(MonteCarloMover):
4117 """Proxy of C++ IMP::core::BallMover class"""
4118 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4120 def __init__(self, *args):
4122 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
4123 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
4124 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
4125 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
4127 this = _IMP_core.new_BallMover(*args)
4129 self.this.append(this)
4133 def set_radius(self, radius):
4134 """set_radius(BallMover self, IMP::Float radius)"""
4135 return _IMP_core.BallMover_set_radius(self, radius)
4138 def get_radius(self):
4139 """get_radius(BallMover self) -> IMP::Float"""
4140 return _IMP_core.BallMover_get_radius(self)
4143 def get_version_info(self):
4144 """get_version_info(BallMover self) -> VersionInfo"""
4145 return _IMP_core.BallMover_get_version_info(self)
4149 """__str__(BallMover self) -> std::string"""
4150 return _IMP_core.BallMover___str__(self)
4154 """__repr__(BallMover self) -> std::string"""
4155 return _IMP_core.BallMover___repr__(self)
4160 return _object_cast_to_BallMover(o)
4162 BallMover_swigregister = _IMP_core.BallMover_swigregister
4163 BallMover_swigregister(BallMover)
4165 class SerialMover(MonteCarloMover):
4166 """Proxy of C++ IMP::core::SerialMover class"""
4167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4169 def __init__(self, mvs):
4170 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4171 this = _IMP_core.new_SerialMover(mvs)
4173 self.this.append(this)
4177 def get_movers(self):
4178 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4179 return _IMP_core.SerialMover_get_movers(self)
4182 def get_version_info(self):
4183 """get_version_info(SerialMover self) -> VersionInfo"""
4184 return _IMP_core.SerialMover_get_version_info(self)
4188 """__str__(SerialMover self) -> std::string"""
4189 return _IMP_core.SerialMover___str__(self)
4193 """__repr__(SerialMover self) -> std::string"""
4194 return _IMP_core.SerialMover___repr__(self)
4199 return _object_cast_to_SerialMover(o)
4201 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4202 SerialMover_swigregister(SerialMover)
4204 class SubsetMover(MonteCarloMover):
4205 """Proxy of C++ IMP::core::SubsetMover class"""
4206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4208 def __init__(self, mvs, n):
4209 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4210 this = _IMP_core.new_SubsetMover(mvs, n)
4212 self.this.append(this)
4216 def get_movers(self):
4217 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4218 return _IMP_core.SubsetMover_get_movers(self)
4221 def get_subset_size(self):
4222 """get_subset_size(SubsetMover self) -> unsigned int"""
4223 return _IMP_core.SubsetMover_get_subset_size(self)
4226 def get_version_info(self):
4227 """get_version_info(SubsetMover self) -> VersionInfo"""
4228 return _IMP_core.SubsetMover_get_version_info(self)
4232 """__str__(SubsetMover self) -> std::string"""
4233 return _IMP_core.SubsetMover___str__(self)
4237 """__repr__(SubsetMover self) -> std::string"""
4238 return _IMP_core.SubsetMover___repr__(self)
4243 return _object_cast_to_SubsetMover(o)
4245 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4246 SubsetMover_swigregister(SubsetMover)
4248 class DirectionMover(MonteCarloMover):
4249 """Proxy of C++ IMP::core::DirectionMover class"""
4250 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4252 def __init__(self, *args):
4254 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4255 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4257 this = _IMP_core.new_DirectionMover(*args)
4259 self.this.append(this)
4263 def set_maximum_rotation(self, mr):
4264 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4265 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4268 def set_reflect_probability(self, rp):
4269 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4270 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4273 def get_maximum_rotation(self):
4274 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4275 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4278 def get_reflect_probability(self):
4279 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4280 return _IMP_core.DirectionMover_get_reflect_probability(self)
4283 def get_direction(self):
4284 """get_direction(DirectionMover self) -> Direction"""
4285 return _IMP_core.DirectionMover_get_direction(self)
4288 def get_version_info(self):
4289 """get_version_info(DirectionMover self) -> VersionInfo"""
4290 return _IMP_core.DirectionMover_get_version_info(self)
4294 """__str__(DirectionMover self) -> std::string"""
4295 return _IMP_core.DirectionMover___str__(self)
4299 """__repr__(DirectionMover self) -> std::string"""
4300 return _IMP_core.DirectionMover___repr__(self)
4305 return _object_cast_to_DirectionMover(o)
4307 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4308 DirectionMover_swigregister(DirectionMover)
4310 class SurfaceMover(MonteCarloMover):
4311 """Proxy of C++ IMP::core::SurfaceMover class"""
4312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4314 def __init__(self, *args):
4316 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4317 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4319 this = _IMP_core.new_SurfaceMover(*args)
4321 self.this.append(this)
4325 def set_maximum_translation(self, mt):
4326 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4327 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4330 def set_maximum_rotation(self, mr):
4331 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4332 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4335 def set_reflect_probability(self, rp):
4336 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4337 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4340 def get_maximum_translation(self):
4341 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4342 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4345 def get_maximum_rotation(self):
4346 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4347 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4350 def get_reflect_probability(self):
4351 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4352 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4355 def get_surface(self):
4356 """get_surface(SurfaceMover self) -> Surface"""
4357 return _IMP_core.SurfaceMover_get_surface(self)
4360 def get_version_info(self):
4361 """get_version_info(SurfaceMover self) -> VersionInfo"""
4362 return _IMP_core.SurfaceMover_get_version_info(self)
4366 """__str__(SurfaceMover self) -> std::string"""
4367 return _IMP_core.SurfaceMover___str__(self)
4371 """__repr__(SurfaceMover self) -> std::string"""
4372 return _IMP_core.SurfaceMover___repr__(self)
4377 return _object_cast_to_SurfaceMover(o)
4379 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4380 SurfaceMover_swigregister(SurfaceMover)
4382 class BoxSweepClosePairsFinder(ClosePairsFinder):
4383 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
4384 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4387 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4388 this = _IMP_core.new_BoxSweepClosePairsFinder()
4390 self.this.append(this)
4394 def get_close_pairs(self, *args):
4396 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4397 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4398 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4399 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4401 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4404 def do_get_inputs(self, m, pis):
4405 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4406 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4409 def get_version_info(self):
4410 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4411 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4415 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4416 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4420 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4421 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4426 return _object_cast_to_BoxSweepClosePairsFinder(o)
4428 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4429 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4432 """Proxy of C++ IMP::core::CentroidOfRefined class"""
4433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4435 def __init__(self, *args):
4437 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4438 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4439 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4441 this = _IMP_core.new_CentroidOfRefined(*args)
4443 self.this.append(this)
4447 def do_get_inputs(self, m, pis):
4448 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4449 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4452 def do_get_outputs(self, m, pis):
4453 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4454 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4457 def get_version_info(self):
4458 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4459 return _IMP_core.CentroidOfRefined_get_version_info(self)
4463 """__str__(CentroidOfRefined self) -> std::string"""
4464 return _IMP_core.CentroidOfRefined___str__(self)
4468 """__repr__(CentroidOfRefined self) -> std::string"""
4469 return _IMP_core.CentroidOfRefined___repr__(self)
4474 return _object_cast_to_CentroidOfRefined(o)
4476 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4477 CentroidOfRefined_swigregister(CentroidOfRefined)
4479 class Centroid(XYZ):
4480 """Proxy of C++ IMP::core::Centroid class"""
4481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4483 def get_constraint(self):
4484 """get_constraint(Centroid self) -> Constraint"""
4485 return _IMP_core.Centroid_get_constraint(self)
4488 def __init__(self, *args):
4490 __init__(IMP::core::Centroid self) -> Centroid
4491 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4492 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4494 this = _IMP_core.new_Centroid(*args)
4496 self.this.append(this)
4500 def show(self, *args):
4502 show(Centroid self, _ostream out)
4505 return _IMP_core.Centroid_show(self, *args)
4508 def setup_particle(*args):
4510 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4511 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4512 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4513 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4515 return _IMP_core.Centroid_setup_particle(*args)
4517 setup_particle = staticmethod(setup_particle)
4519 def get_is_setup(*args):
4521 get_is_setup(_ParticleAdaptor p) -> bool
4522 get_is_setup(Model m, ParticleIndex pi) -> bool
4524 return _IMP_core.Centroid_get_is_setup(*args)
4526 get_is_setup = staticmethod(get_is_setup)
4528 def add_attribute(self, *args):
4530 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4531 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4532 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4533 add_attribute(Centroid self, FloatsKey a0, IMP::Floats a1)
4534 add_attribute(Centroid self, IntsKey a0, IMP::Ints a1)
4535 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4536 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4537 add_attribute(Centroid self, ObjectKey a0, Object a1)
4539 return _IMP_core.Centroid_add_attribute(self, *args)
4542 def get_value(self, *args):
4544 get_value(Centroid self, FloatKey a0) -> IMP::Float
4545 get_value(Centroid self, IntKey a0) -> IMP::Int
4546 get_value(Centroid self, FloatsKey a0) -> IMP::Floats
4547 get_value(Centroid self, IntsKey a0) -> IMP::Ints
4548 get_value(Centroid self, StringKey a0) -> IMP::String
4549 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4550 get_value(Centroid self, ObjectKey a0) -> Object
4552 return _IMP_core.Centroid_get_value(self, *args)
4555 def set_value(self, *args):
4557 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4558 set_value(Centroid self, IntKey a0, IMP::Int a1)
4559 set_value(Centroid self, FloatsKey a0, IMP::Floats a1)
4560 set_value(Centroid self, IntsKey a0, IMP::Ints a1)
4561 set_value(Centroid self, StringKey a0, IMP::String a1)
4562 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4563 set_value(Centroid self, ObjectKey a0, Object a1)
4565 return _IMP_core.Centroid_set_value(self, *args)
4568 def remove_attribute(self, *args):
4570 remove_attribute(Centroid self, FloatKey a0)
4571 remove_attribute(Centroid self, IntKey a0)
4572 remove_attribute(Centroid self, FloatsKey a0)
4573 remove_attribute(Centroid self, IntsKey a0)
4574 remove_attribute(Centroid self, StringKey a0)
4575 remove_attribute(Centroid self, ParticleIndexKey a0)
4576 remove_attribute(Centroid self, ObjectKey a0)
4578 return _IMP_core.Centroid_remove_attribute(self, *args)
4581 def has_attribute(self, *args):
4583 has_attribute(Centroid self, FloatKey a0) -> bool
4584 has_attribute(Centroid self, IntKey a0) -> bool
4585 has_attribute(Centroid self, FloatsKey a0) -> bool
4586 has_attribute(Centroid self, IntsKey a0) -> bool
4587 has_attribute(Centroid self, StringKey a0) -> bool
4588 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4589 has_attribute(Centroid self, ObjectKey a0) -> bool
4591 return _IMP_core.Centroid_has_attribute(self, *args)
4594 def get_derivative(self, a0):
4595 """get_derivative(Centroid self, FloatKey a0) -> double"""
4596 return _IMP_core.Centroid_get_derivative(self, a0)
4600 """get_name(Centroid self) -> std::string"""
4601 return _IMP_core.Centroid_get_name(self)
4604 def clear_caches(self):
4605 """clear_caches(Centroid self)"""
4606 return _IMP_core.Centroid_clear_caches(self)
4609 def set_name(self, a0):
4610 """set_name(Centroid self, std::string a0)"""
4611 return _IMP_core.Centroid_set_name(self, a0)
4615 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4616 return _IMP_core.Centroid_set_check_level(self, a0)
4619 def add_to_derivative(self, a0, a1, a2):
4620 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4621 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4624 def set_is_optimized(self, a0, a1):
4625 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4626 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4629 def get_is_optimized(self, a0):
4630 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4631 return _IMP_core.Centroid_get_is_optimized(self, a0)
4635 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4636 return _IMP_core.Centroid_get_check_level(self)
4639 def __eq__(self, *args):
4641 __eq__(Centroid self, Centroid o) -> bool
4642 __eq__(Centroid self, Particle d) -> bool
4644 return _IMP_core.Centroid___eq__(self, *args)
4647 def __ne__(self, *args):
4649 __ne__(Centroid self, Centroid o) -> bool
4650 __ne__(Centroid self, Particle d) -> bool
4652 return _IMP_core.Centroid___ne__(self, *args)
4655 def __le__(self, *args):
4657 __le__(Centroid self, Centroid o) -> bool
4658 __le__(Centroid self, Particle d) -> bool
4660 return _IMP_core.Centroid___le__(self, *args)
4663 def __lt__(self, *args):
4665 __lt__(Centroid self, Centroid o) -> bool
4666 __lt__(Centroid self, Particle d) -> bool
4668 return _IMP_core.Centroid___lt__(self, *args)
4671 def __ge__(self, *args):
4673 __ge__(Centroid self, Centroid o) -> bool
4674 __ge__(Centroid self, Particle d) -> bool
4676 return _IMP_core.Centroid___ge__(self, *args)
4679 def __gt__(self, *args):
4681 __gt__(Centroid self, Centroid o) -> bool
4682 __gt__(Centroid self, Particle d) -> bool
4684 return _IMP_core.Centroid___gt__(self, *args)
4688 """__hash__(Centroid self) -> std::size_t"""
4689 return _IMP_core.Centroid___hash__(self)
4693 """__str__(Centroid self) -> std::string"""
4694 return _IMP_core.Centroid___str__(self)
4698 """__repr__(Centroid self) -> std::string"""
4699 return _IMP_core.Centroid___repr__(self)
4701 __swig_destroy__ = _IMP_core.delete_Centroid
4702 __del__ =
lambda self:
None
4703 Centroid_swigregister = _IMP_core.Centroid_swigregister
4704 Centroid_swigregister(Centroid)
4706 def Centroid_setup_particle(*args):
4708 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4709 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4710 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4711 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4713 return _IMP_core.Centroid_setup_particle(*args)
4715 def Centroid_get_is_setup(*args):
4717 get_is_setup(_ParticleAdaptor p) -> bool
4718 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4720 return _IMP_core.Centroid_get_is_setup(*args)
4723 """Proxy of C++ IMP::core::ChecksScoreState class"""
4724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4726 def __init__(self, m, probability):
4727 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4728 this = _IMP_core.new_ChecksScoreState(m, probability)
4730 self.this.append(this)
4734 def get_number_of_checked(self):
4735 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4736 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4739 def do_before_evaluate(self):
4740 """do_before_evaluate(ChecksScoreState self)"""
4741 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4744 def do_after_evaluate(self, da):
4745 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4746 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4749 def do_get_outputs(self):
4750 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4751 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4754 def do_get_inputs(self):
4755 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4756 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4759 def get_version_info(self):
4760 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4761 return _IMP_core.ChecksScoreState_get_version_info(self)
4765 """__str__(ChecksScoreState self) -> std::string"""
4766 return _IMP_core.ChecksScoreState___str__(self)
4770 """__repr__(ChecksScoreState self) -> std::string"""
4771 return _IMP_core.ChecksScoreState___repr__(self)
4776 return _object_cast_to_ChecksScoreState(o)
4778 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4779 ChecksScoreState_swigregister(ChecksScoreState)
4782 """Proxy of C++ IMP::core::ChildrenRefiner class"""
4783 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4785 def __init__(self, tr):
4786 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4787 this = _IMP_core.new_ChildrenRefiner(tr)
4789 self.this.append(this)
4793 def do_get_inputs(self, m, pis):
4794 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4795 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4798 def get_version_info(self):
4799 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4800 return _IMP_core.ChildrenRefiner_get_version_info(self)
4804 """__str__(ChildrenRefiner self) -> std::string"""
4805 return _IMP_core.ChildrenRefiner___str__(self)
4809 """__repr__(ChildrenRefiner self) -> std::string"""
4810 return _IMP_core.ChildrenRefiner___repr__(self)
4815 return _object_cast_to_ChildrenRefiner(o)
4817 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4818 ChildrenRefiner_swigregister(ChildrenRefiner)
4821 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
4822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4824 def __init__(self, values, minrange, spacing):
4825 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4826 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4828 self.this.append(this)
4832 def get_version_info(self):
4833 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4834 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4837 def do_show(self, out):
4838 """do_show(ClosedCubicSpline self, _ostream out)"""
4839 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4843 """__str__(ClosedCubicSpline self) -> std::string"""
4844 return _IMP_core.ClosedCubicSpline___str__(self)
4848 """__repr__(ClosedCubicSpline self) -> std::string"""
4849 return _IMP_core.ClosedCubicSpline___repr__(self)
4854 return _object_cast_to_ClosedCubicSpline(o)
4856 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4857 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4860 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
4861 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4863 def __init__(self, f, r, k=1):
4865 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4866 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4868 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4870 self.this.append(this)
4874 def get_close_pairs(self, pp):
4875 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4876 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4879 def create_current_decomposition(self, m, vt):
4880 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4881 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4884 def do_get_inputs(self, m, pis):
4885 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4886 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4889 def get_version_info(self):
4890 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4891 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4895 """__str__(KClosePairsPairScore self) -> std::string"""
4896 return _IMP_core.KClosePairsPairScore___str__(self)
4900 """__repr__(KClosePairsPairScore self) -> std::string"""
4901 return _IMP_core.KClosePairsPairScore___repr__(self)
4906 return _object_cast_to_KClosePairsPairScore(o)
4908 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4909 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4912 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
4913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4915 def __init__(self, f, r, max_distance):
4916 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4917 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4919 self.this.append(this)
4923 def get_close_pairs(self, pp):
4924 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4925 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4928 def create_current_decomposition(self, m, vt):
4929 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4930 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4933 def do_get_inputs(self, m, pis):
4934 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4935 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4938 def get_version_info(self):
4939 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4940 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4944 """__str__(ClosePairsPairScore self) -> std::string"""
4945 return _IMP_core.ClosePairsPairScore___str__(self)
4949 """__repr__(ClosePairsPairScore self) -> std::string"""
4950 return _IMP_core.ClosePairsPairScore___repr__(self)
4955 return _object_cast_to_ClosePairsPairScore(o)
4957 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4958 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4961 """Proxy of C++ IMP::core::ConjugateGradients class"""
4962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4964 def __init__(self, *args):
4966 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4967 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4969 this = _IMP_core.new_ConjugateGradients(*args)
4971 self.this.append(this)
4975 def set_gradient_threshold(self, t):
4976 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4977 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4980 def set_threshold(self, t):
4981 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4982 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4985 def set_max_change(self, t):
4986 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4987 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4990 def do_optimize(self, max_steps):
4991 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4992 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4995 def get_version_info(self):
4996 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4997 return _IMP_core.ConjugateGradients_get_version_info(self)
5001 """__str__(ConjugateGradients self) -> std::string"""
5002 return _IMP_core.ConjugateGradients___str__(self)
5006 """__repr__(ConjugateGradients self) -> std::string"""
5007 return _IMP_core.ConjugateGradients___repr__(self)
5012 return _object_cast_to_ConjugateGradients(o)
5014 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
5015 ConjugateGradients_swigregister(ConjugateGradients)
5018 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
5019 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5021 def __init__(self, ps, sc):
5022 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
5023 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
5025 self.this.append(this)
5029 def get_connected_index_pairs(self):
5030 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
5031 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
5034 def get_pair_score(self):
5035 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
5036 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
5039 def do_create_current_decomposition(self):
5040 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
5041 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
5044 def do_get_inputs(self):
5045 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
5046 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
5049 def get_version_info(self):
5050 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
5051 return _IMP_core.ConnectivityRestraint_get_version_info(self)
5055 """__str__(ConnectivityRestraint self) -> std::string"""
5056 return _IMP_core.ConnectivityRestraint___str__(self)
5060 """__repr__(ConnectivityRestraint self) -> std::string"""
5061 return _IMP_core.ConnectivityRestraint___repr__(self)
5066 return _object_cast_to_ConnectivityRestraint(o)
5068 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
5069 ConnectivityRestraint_swigregister(ConnectivityRestraint)
5072 """Proxy of C++ IMP::core::ConstantRestraint class"""
5073 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5075 def __init__(self, m, v):
5076 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
5077 this = _IMP_core.new_ConstantRestraint(m, v)
5079 self.this.append(this)
5083 def do_get_inputs(self):
5084 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
5085 return _IMP_core.ConstantRestraint_do_get_inputs(self)
5088 def get_version_info(self):
5089 """get_version_info(ConstantRestraint self) -> VersionInfo"""
5090 return _IMP_core.ConstantRestraint_get_version_info(self)
5094 """__str__(ConstantRestraint self) -> std::string"""
5095 return _IMP_core.ConstantRestraint___str__(self)
5099 """__repr__(ConstantRestraint self) -> std::string"""
5100 return _IMP_core.ConstantRestraint___repr__(self)
5105 return _object_cast_to_ConstantRestraint(o)
5107 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
5108 ConstantRestraint_swigregister(ConstantRestraint)
5111 """Proxy of C++ IMP::core::Cosine class"""
5112 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5114 def __init__(self, force_constant, periodicity, phase):
5115 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
5116 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
5118 self.this.append(this)
5122 def get_version_info(self):
5123 """get_version_info(Cosine self) -> VersionInfo"""
5124 return _IMP_core.Cosine_get_version_info(self)
5127 def do_show(self, out):
5128 """do_show(Cosine self, _ostream out)"""
5129 return _IMP_core.Cosine_do_show(self, out)
5133 """__str__(Cosine self) -> std::string"""
5134 return _IMP_core.Cosine___str__(self)
5138 """__repr__(Cosine self) -> std::string"""
5139 return _IMP_core.Cosine___repr__(self)
5144 return _object_cast_to_Cosine(o)
5146 Cosine_swigregister = _IMP_core.Cosine_swigregister
5147 Cosine_swigregister(Cosine)
5150 """Proxy of C++ IMP::core::CoverRefined class"""
5151 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5153 def __init__(self, ref, slack=0):
5155 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
5156 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
5158 this = _IMP_core.new_CoverRefined(ref, slack)
5160 self.this.append(this)
5164 def set_slack(self, slack):
5165 """set_slack(CoverRefined self, IMP::Float slack)"""
5166 return _IMP_core.CoverRefined_set_slack(self, slack)
5169 def do_get_inputs(self, m, pis):
5170 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5171 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5174 def do_get_outputs(self, m, pis):
5175 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5176 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5179 def get_version_info(self):
5180 """get_version_info(CoverRefined self) -> VersionInfo"""
5181 return _IMP_core.CoverRefined_get_version_info(self)
5185 """__str__(CoverRefined self) -> std::string"""
5186 return _IMP_core.CoverRefined___str__(self)
5190 """__repr__(CoverRefined self) -> std::string"""
5191 return _IMP_core.CoverRefined___repr__(self)
5196 return _object_cast_to_CoverRefined(o)
5198 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5199 CoverRefined_swigregister(CoverRefined)
5202 """Proxy of C++ IMP::core::Cover class"""
5203 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5205 def get_constraint(self):
5206 """get_constraint(Cover self) -> Constraint"""
5207 return _IMP_core.Cover_get_constraint(self)
5210 def __init__(self, *args):
5212 __init__(IMP::core::Cover self) -> Cover
5213 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5214 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5216 this = _IMP_core.new_Cover(*args)
5218 self.this.append(this)
5222 def show(self, *args):
5224 show(Cover self, _ostream out)
5227 return _IMP_core.Cover_show(self, *args)
5230 def setup_particle(*args):
5232 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5233 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5234 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5235 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5237 return _IMP_core.Cover_setup_particle(*args)
5239 setup_particle = staticmethod(setup_particle)
5241 def get_is_setup(*args):
5243 get_is_setup(_ParticleAdaptor p) -> bool
5244 get_is_setup(Model m, ParticleIndex pi) -> bool
5246 return _IMP_core.Cover_get_is_setup(*args)
5248 get_is_setup = staticmethod(get_is_setup)
5250 def add_attribute(self, *args):
5252 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5253 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5254 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5255 add_attribute(Cover self, FloatsKey a0, IMP::Floats a1)
5256 add_attribute(Cover self, IntsKey a0, IMP::Ints a1)
5257 add_attribute(Cover self, StringKey a0, IMP::String a1)
5258 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5259 add_attribute(Cover self, ObjectKey a0, Object a1)
5261 return _IMP_core.Cover_add_attribute(self, *args)
5264 def get_value(self, *args):
5266 get_value(Cover self, FloatKey a0) -> IMP::Float
5267 get_value(Cover self, IntKey a0) -> IMP::Int
5268 get_value(Cover self, FloatsKey a0) -> IMP::Floats
5269 get_value(Cover self, IntsKey a0) -> IMP::Ints
5270 get_value(Cover self, StringKey a0) -> IMP::String
5271 get_value(Cover self, ParticleIndexKey a0) -> Particle
5272 get_value(Cover self, ObjectKey a0) -> Object
5274 return _IMP_core.Cover_get_value(self, *args)
5277 def set_value(self, *args):
5279 set_value(Cover self, FloatKey a0, IMP::Float a1)
5280 set_value(Cover self, IntKey a0, IMP::Int a1)
5281 set_value(Cover self, FloatsKey a0, IMP::Floats a1)
5282 set_value(Cover self, IntsKey a0, IMP::Ints a1)
5283 set_value(Cover self, StringKey a0, IMP::String a1)
5284 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5285 set_value(Cover self, ObjectKey a0, Object a1)
5287 return _IMP_core.Cover_set_value(self, *args)
5290 def remove_attribute(self, *args):
5292 remove_attribute(Cover self, FloatKey a0)
5293 remove_attribute(Cover self, IntKey a0)
5294 remove_attribute(Cover self, FloatsKey a0)
5295 remove_attribute(Cover self, IntsKey a0)
5296 remove_attribute(Cover self, StringKey a0)
5297 remove_attribute(Cover self, ParticleIndexKey a0)
5298 remove_attribute(Cover self, ObjectKey a0)
5300 return _IMP_core.Cover_remove_attribute(self, *args)
5303 def has_attribute(self, *args):
5305 has_attribute(Cover self, FloatKey a0) -> bool
5306 has_attribute(Cover self, IntKey a0) -> bool
5307 has_attribute(Cover self, FloatsKey a0) -> bool
5308 has_attribute(Cover self, IntsKey a0) -> bool
5309 has_attribute(Cover self, StringKey a0) -> bool
5310 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5311 has_attribute(Cover self, ObjectKey a0) -> bool
5313 return _IMP_core.Cover_has_attribute(self, *args)
5316 def get_derivative(self, a0):
5317 """get_derivative(Cover self, FloatKey a0) -> double"""
5318 return _IMP_core.Cover_get_derivative(self, a0)
5322 """get_name(Cover self) -> std::string"""
5323 return _IMP_core.Cover_get_name(self)
5326 def clear_caches(self):
5327 """clear_caches(Cover self)"""
5328 return _IMP_core.Cover_clear_caches(self)
5331 def set_name(self, a0):
5332 """set_name(Cover self, std::string a0)"""
5333 return _IMP_core.Cover_set_name(self, a0)
5337 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5338 return _IMP_core.Cover_set_check_level(self, a0)
5341 def add_to_derivative(self, a0, a1, a2):
5342 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5343 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5346 def set_is_optimized(self, a0, a1):
5347 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5348 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5351 def get_is_optimized(self, a0):
5352 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5353 return _IMP_core.Cover_get_is_optimized(self, a0)
5357 """get_check_level(Cover self) -> IMP::CheckLevel"""
5358 return _IMP_core.Cover_get_check_level(self)
5361 def __eq__(self, *args):
5363 __eq__(Cover self, Cover o) -> bool
5364 __eq__(Cover self, Particle d) -> bool
5366 return _IMP_core.Cover___eq__(self, *args)
5369 def __ne__(self, *args):
5371 __ne__(Cover self, Cover o) -> bool
5372 __ne__(Cover self, Particle d) -> bool
5374 return _IMP_core.Cover___ne__(self, *args)
5377 def __le__(self, *args):
5379 __le__(Cover self, Cover o) -> bool
5380 __le__(Cover self, Particle d) -> bool
5382 return _IMP_core.Cover___le__(self, *args)
5385 def __lt__(self, *args):
5387 __lt__(Cover self, Cover o) -> bool
5388 __lt__(Cover self, Particle d) -> bool
5390 return _IMP_core.Cover___lt__(self, *args)
5393 def __ge__(self, *args):
5395 __ge__(Cover self, Cover o) -> bool
5396 __ge__(Cover self, Particle d) -> bool
5398 return _IMP_core.Cover___ge__(self, *args)
5401 def __gt__(self, *args):
5403 __gt__(Cover self, Cover o) -> bool
5404 __gt__(Cover self, Particle d) -> bool
5406 return _IMP_core.Cover___gt__(self, *args)
5410 """__hash__(Cover self) -> std::size_t"""
5411 return _IMP_core.Cover___hash__(self)
5415 """__str__(Cover self) -> std::string"""
5416 return _IMP_core.Cover___str__(self)
5420 """__repr__(Cover self) -> std::string"""
5421 return _IMP_core.Cover___repr__(self)
5423 __swig_destroy__ = _IMP_core.delete_Cover
5424 __del__ =
lambda self:
None
5425 Cover_swigregister = _IMP_core.Cover_swigregister
5426 Cover_swigregister(Cover)
5428 def Cover_setup_particle(*args):
5430 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5431 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5432 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5433 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5435 return _IMP_core.Cover_setup_particle(*args)
5437 def Cover_get_is_setup(*args):
5439 get_is_setup(_ParticleAdaptor p) -> bool
5440 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5442 return _IMP_core.Cover_get_is_setup(*args)
5445 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
5446 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5448 def __init__(self, *args):
5450 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5451 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5453 this = _IMP_core.new_DerivativesFromRefined(*args)
5455 self.this.append(this)
5459 def do_get_inputs(self, m, pis):
5460 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5461 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5464 def do_get_outputs(self, m, pis):
5465 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5466 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5469 def get_version_info(self):
5470 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5471 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5475 """__str__(DerivativesFromRefined self) -> std::string"""
5476 return _IMP_core.DerivativesFromRefined___str__(self)
5480 """__repr__(DerivativesFromRefined self) -> std::string"""
5481 return _IMP_core.DerivativesFromRefined___repr__(self)
5486 return _object_cast_to_DerivativesFromRefined(o)
5488 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5489 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5492 """Proxy of C++ IMP::core::DerivativesToRefined class"""
5493 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5495 def __init__(self, *args):
5497 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5498 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5500 this = _IMP_core.new_DerivativesToRefined(*args)
5502 self.this.append(this)
5506 def do_get_inputs(self, m, pis):
5507 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5508 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5511 def do_get_outputs(self, m, pis):
5512 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5513 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5516 def get_version_info(self):
5517 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5518 return _IMP_core.DerivativesToRefined_get_version_info(self)
5522 """__str__(DerivativesToRefined self) -> std::string"""
5523 return _IMP_core.DerivativesToRefined___str__(self)
5527 """__repr__(DerivativesToRefined self) -> std::string"""
5528 return _IMP_core.DerivativesToRefined___repr__(self)
5533 return _object_cast_to_DerivativesToRefined(o)
5535 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5536 DerivativesToRefined_swigregister(DerivativesToRefined)
5539 """Proxy of C++ IMP::core::DiameterRestraint class"""
5540 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5542 def __init__(self, f, sc, diameter):
5543 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5544 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5546 self.this.append(this)
5550 def do_get_inputs(self):
5551 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5552 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5555 def get_version_info(self):
5556 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5557 return _IMP_core.DiameterRestraint_get_version_info(self)
5560 def do_create_decomposition(self):
5561 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5562 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5565 def do_create_current_decomposition(self):
5566 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5567 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5571 """__str__(DiameterRestraint self) -> std::string"""
5572 return _IMP_core.DiameterRestraint___str__(self)
5576 """__repr__(DiameterRestraint self) -> std::string"""
5577 return _IMP_core.DiameterRestraint___repr__(self)
5582 return _object_cast_to_DiameterRestraint(o)
5584 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5585 DiameterRestraint_swigregister(DiameterRestraint)
5588 """Proxy of C++ IMP::core::Transform class"""
5589 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5591 def __init__(self, t, ignore_non_xyz=False):
5593 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5594 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5596 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5598 self.this.append(this)
5602 def do_get_inputs(self, m, pis):
5603 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5604 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5607 def do_get_outputs(self, m, pis):
5608 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5609 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5612 def get_version_info(self):
5613 """get_version_info(Transform self) -> VersionInfo"""
5614 return _IMP_core.Transform_get_version_info(self)
5618 """__str__(Transform self) -> std::string"""
5619 return _IMP_core.Transform___str__(self)
5623 """__repr__(Transform self) -> std::string"""
5624 return _IMP_core.Transform___repr__(self)
5629 return _object_cast_to_Transform(o)
5631 Transform_swigregister = _IMP_core.Transform_swigregister
5632 Transform_swigregister(Transform)
5635 """Proxy of C++ IMP::core::Reference class"""
5636 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5638 def __init__(self, *args):
5640 __init__(IMP::core::Reference self) -> Reference
5641 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5642 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5644 this = _IMP_core.new_Reference(*args)
5646 self.this.append(this)
5650 def show(self, *args):
5652 show(Reference self, _ostream out)
5653 show(Reference self)
5655 return _IMP_core.Reference_show(self, *args)
5658 def setup_particle(*args):
5660 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5661 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5663 return _IMP_core.Reference_setup_particle(*args)
5665 setup_particle = staticmethod(setup_particle)
5667 def get_reference_particle(self):
5668 """get_reference_particle(Reference self) -> Particle"""
5669 return _IMP_core.Reference_get_reference_particle(self)
5672 def get_is_setup(*args):
5674 get_is_setup(_ParticleAdaptor p) -> bool
5675 get_is_setup(Model m, ParticleIndex pi) -> bool
5677 return _IMP_core.Reference_get_is_setup(*args)
5679 get_is_setup = staticmethod(get_is_setup)
5681 def get_reference_key():
5682 """get_reference_key() -> ParticleIndexKey"""
5683 return _IMP_core.Reference_get_reference_key()
5685 get_reference_key = staticmethod(get_reference_key)
5687 def add_attribute(self, *args):
5689 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5690 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5691 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5692 add_attribute(Reference self, FloatsKey a0, IMP::Floats a1)
5693 add_attribute(Reference self, IntsKey a0, IMP::Ints a1)
5694 add_attribute(Reference self, StringKey a0, IMP::String a1)
5695 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5696 add_attribute(Reference self, ObjectKey a0, Object a1)
5698 return _IMP_core.Reference_add_attribute(self, *args)
5701 def get_value(self, *args):
5703 get_value(Reference self, FloatKey a0) -> IMP::Float
5704 get_value(Reference self, IntKey a0) -> IMP::Int
5705 get_value(Reference self, FloatsKey a0) -> IMP::Floats
5706 get_value(Reference self, IntsKey a0) -> IMP::Ints
5707 get_value(Reference self, StringKey a0) -> IMP::String
5708 get_value(Reference self, ParticleIndexKey a0) -> Particle
5709 get_value(Reference self, ObjectKey a0) -> Object
5711 return _IMP_core.Reference_get_value(self, *args)
5714 def set_value(self, *args):
5716 set_value(Reference self, FloatKey a0, IMP::Float a1)
5717 set_value(Reference self, IntKey a0, IMP::Int a1)
5718 set_value(Reference self, FloatsKey a0, IMP::Floats a1)
5719 set_value(Reference self, IntsKey a0, IMP::Ints a1)
5720 set_value(Reference self, StringKey a0, IMP::String a1)
5721 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5722 set_value(Reference self, ObjectKey a0, Object a1)
5724 return _IMP_core.Reference_set_value(self, *args)
5727 def remove_attribute(self, *args):
5729 remove_attribute(Reference self, FloatKey a0)
5730 remove_attribute(Reference self, IntKey a0)
5731 remove_attribute(Reference self, FloatsKey a0)
5732 remove_attribute(Reference self, IntsKey a0)
5733 remove_attribute(Reference self, StringKey a0)
5734 remove_attribute(Reference self, ParticleIndexKey a0)
5735 remove_attribute(Reference self, ObjectKey a0)
5737 return _IMP_core.Reference_remove_attribute(self, *args)
5740 def has_attribute(self, *args):
5742 has_attribute(Reference self, FloatKey a0) -> bool
5743 has_attribute(Reference self, IntKey a0) -> bool
5744 has_attribute(Reference self, FloatsKey a0) -> bool
5745 has_attribute(Reference self, IntsKey a0) -> bool
5746 has_attribute(Reference self, StringKey a0) -> bool
5747 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5748 has_attribute(Reference self, ObjectKey a0) -> bool
5750 return _IMP_core.Reference_has_attribute(self, *args)
5753 def get_derivative(self, a0):
5754 """get_derivative(Reference self, FloatKey a0) -> double"""
5755 return _IMP_core.Reference_get_derivative(self, a0)
5759 """get_name(Reference self) -> std::string"""
5760 return _IMP_core.Reference_get_name(self)
5763 def clear_caches(self):
5764 """clear_caches(Reference self)"""
5765 return _IMP_core.Reference_clear_caches(self)
5768 def set_name(self, a0):
5769 """set_name(Reference self, std::string a0)"""
5770 return _IMP_core.Reference_set_name(self, a0)
5774 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5775 return _IMP_core.Reference_set_check_level(self, a0)
5778 def add_to_derivative(self, a0, a1, a2):
5779 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5780 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5783 def set_is_optimized(self, a0, a1):
5784 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5785 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5788 def get_is_optimized(self, a0):
5789 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5790 return _IMP_core.Reference_get_is_optimized(self, a0)
5794 """get_check_level(Reference self) -> IMP::CheckLevel"""
5795 return _IMP_core.Reference_get_check_level(self)
5798 def __eq__(self, *args):
5800 __eq__(Reference self, Reference o) -> bool
5801 __eq__(Reference self, Particle d) -> bool
5803 return _IMP_core.Reference___eq__(self, *args)
5806 def __ne__(self, *args):
5808 __ne__(Reference self, Reference o) -> bool
5809 __ne__(Reference self, Particle d) -> bool
5811 return _IMP_core.Reference___ne__(self, *args)
5814 def __le__(self, *args):
5816 __le__(Reference self, Reference o) -> bool
5817 __le__(Reference self, Particle d) -> bool
5819 return _IMP_core.Reference___le__(self, *args)
5822 def __lt__(self, *args):
5824 __lt__(Reference self, Reference o) -> bool
5825 __lt__(Reference self, Particle d) -> bool
5827 return _IMP_core.Reference___lt__(self, *args)
5830 def __ge__(self, *args):
5832 __ge__(Reference self, Reference o) -> bool
5833 __ge__(Reference self, Particle d) -> bool
5835 return _IMP_core.Reference___ge__(self, *args)
5838 def __gt__(self, *args):
5840 __gt__(Reference self, Reference o) -> bool
5841 __gt__(Reference self, Particle d) -> bool
5843 return _IMP_core.Reference___gt__(self, *args)
5847 """__hash__(Reference self) -> std::size_t"""
5848 return _IMP_core.Reference___hash__(self)
5852 """__str__(Reference self) -> std::string"""
5853 return _IMP_core.Reference___str__(self)
5857 """__repr__(Reference self) -> std::string"""
5858 return _IMP_core.Reference___repr__(self)
5860 __swig_destroy__ = _IMP_core.delete_Reference
5861 __del__ =
lambda self:
None
5862 Reference_swigregister = _IMP_core.Reference_swigregister
5863 Reference_swigregister(Reference)
5865 def Reference_setup_particle(*args):
5867 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5868 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5870 return _IMP_core.Reference_setup_particle(*args)
5872 def Reference_get_is_setup(*args):
5874 get_is_setup(_ParticleAdaptor p) -> bool
5875 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5877 return _IMP_core.Reference_get_is_setup(*args)
5879 def Reference_get_reference_key():
5880 """Reference_get_reference_key() -> ParticleIndexKey"""
5881 return _IMP_core.Reference_get_reference_key()
5884 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
5885 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5887 def __init__(self, t, r):
5888 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5889 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5891 self.this.append(this)
5895 def do_get_inputs(self, m, pis):
5896 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5897 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5900 def do_get_outputs(self, m, pis):
5901 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5902 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5905 def get_version_info(self):
5906 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5907 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5911 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5912 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5916 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5917 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5922 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5924 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5925 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5928 """Proxy of C++ IMP::core::TransformationSymmetry class"""
5929 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5931 def __init__(self, *args):
5933 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5934 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5936 this = _IMP_core.new_TransformationSymmetry(*args)
5938 self.this.append(this)
5942 def get_transformation(self):
5943 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5944 return _IMP_core.TransformationSymmetry_get_transformation(self)
5947 def set_transformation(self, t):
5948 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5949 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5952 def do_get_inputs(self, m, pis):
5953 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5954 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5957 def do_get_outputs(self, m, pis):
5958 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5959 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5962 def get_version_info(self):
5963 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5964 return _IMP_core.TransformationSymmetry_get_version_info(self)
5968 """__str__(TransformationSymmetry self) -> std::string"""
5969 return _IMP_core.TransformationSymmetry___str__(self)
5973 """__repr__(TransformationSymmetry self) -> std::string"""
5974 return _IMP_core.TransformationSymmetry___repr__(self)
5979 return _object_cast_to_TransformationSymmetry(o)
5981 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5982 TransformationSymmetry_swigregister(TransformationSymmetry)
5984 class TransformationSymmetryMover(MonteCarloMover):
5985 """Proxy of C++ IMP::core::TransformationSymmetryMover class"""
5986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5988 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5989 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5990 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5992 self.this.append(this)
5996 def set_maximum_translation(self, mt):
5997 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5998 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
6001 def set_maximum_rotation(self, mr):
6002 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
6003 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
6006 def get_maximum_translation(self):
6007 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
6008 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
6011 def get_maximum_rotation(self):
6012 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
6013 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
6016 def get_version_info(self):
6017 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
6018 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
6022 """__str__(TransformationSymmetryMover self) -> std::string"""
6023 return _IMP_core.TransformationSymmetryMover___str__(self)
6027 """__repr__(TransformationSymmetryMover self) -> std::string"""
6028 return _IMP_core.TransformationSymmetryMover___repr__(self)
6033 return _object_cast_to_TransformationSymmetryMover(o)
6035 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
6036 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
6039 """Proxy of C++ IMP::core::DihedralRestraint class"""
6040 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6042 def __init__(self, m, score_func, p1, p2, p3, p4):
6043 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
6044 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
6046 self.this.append(this)
6050 def do_get_inputs(self):
6051 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
6052 return _IMP_core.DihedralRestraint_do_get_inputs(self)
6055 def get_version_info(self):
6056 """get_version_info(DihedralRestraint self) -> VersionInfo"""
6057 return _IMP_core.DihedralRestraint_get_version_info(self)
6061 """__str__(DihedralRestraint self) -> std::string"""
6062 return _IMP_core.DihedralRestraint___str__(self)
6066 """__repr__(DihedralRestraint self) -> std::string"""
6067 return _IMP_core.DihedralRestraint___repr__(self)
6072 return _object_cast_to_DihedralRestraint(o)
6074 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
6075 DihedralRestraint_swigregister(DihedralRestraint)
6078 """Proxy of C++ IMP::core::DistancePairScore class"""
6079 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6081 def __init__(self, *args):
6083 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
6084 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
6086 this = _IMP_core.new_DistancePairScore(*args)
6088 self.this.append(this)
6092 def do_get_inputs(self, m, pis):
6093 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6094 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
6097 def get_version_info(self):
6098 """get_version_info(DistancePairScore self) -> VersionInfo"""
6099 return _IMP_core.DistancePairScore_get_version_info(self)
6103 """__str__(DistancePairScore self) -> std::string"""
6104 return _IMP_core.DistancePairScore___str__(self)
6108 """__repr__(DistancePairScore self) -> std::string"""
6109 return _IMP_core.DistancePairScore___repr__(self)
6114 return _object_cast_to_DistancePairScore(o)
6116 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
6117 DistancePairScore_swigregister(DistancePairScore)
6120 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
6121 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6123 def __init__(self, *args):
6125 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
6126 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
6128 this = _IMP_core.new_HarmonicDistancePairScore(*args)
6130 self.this.append(this)
6134 def do_get_inputs(self, m, pis):
6135 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6136 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
6139 def get_version_info(self):
6140 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
6141 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
6145 """__str__(HarmonicDistancePairScore self) -> std::string"""
6146 return _IMP_core.HarmonicDistancePairScore___str__(self)
6150 """__repr__(HarmonicDistancePairScore self) -> std::string"""
6151 return _IMP_core.HarmonicDistancePairScore___repr__(self)
6156 return _object_cast_to_HarmonicDistancePairScore(o)
6158 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
6159 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
6162 """Proxy of C++ IMP::core::DistanceRestraint class"""
6163 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6165 def __init__(self, *args):
6167 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
6168 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6170 this = _IMP_core.new_DistanceRestraint(*args)
6172 self.this.append(this)
6176 def get_version_info(self):
6177 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6178 return _IMP_core.DistanceRestraint_get_version_info(self)
6182 """__str__(DistanceRestraint self) -> std::string"""
6183 return _IMP_core.DistanceRestraint___str__(self)
6187 """__repr__(DistanceRestraint self) -> std::string"""
6188 return _IMP_core.DistanceRestraint___repr__(self)
6193 return _object_cast_to_DistanceRestraint(o)
6195 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6196 DistanceRestraint_swigregister(DistanceRestraint)
6199 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
6200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6202 def __init__(self, f, pt):
6203 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6204 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6206 self.this.append(this)
6210 def do_get_inputs(self, m, pis):
6211 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6212 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6215 def get_version_info(self):
6216 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6217 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6221 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6222 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6226 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6227 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6232 return _object_cast_to_SphereDistanceToSingletonScore(o)
6234 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6235 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6238 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
6239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6241 def __init__(self, *args):
6243 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6244 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6245 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6246 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6248 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6250 self.this.append(this)
6254 def do_get_inputs(self):
6255 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6256 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6259 def get_version_info(self):
6260 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6261 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6264 def do_create_decomposition(self):
6265 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6266 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6269 def do_create_current_decomposition(self):
6270 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6271 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6275 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6276 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6279 def remove_pair_filter(self, d):
6280 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6281 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6284 def remove_pair_filters(self, d):
6285 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6286 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6289 def set_pair_filters(self, ps):
6290 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6291 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6294 def set_pair_filters_order(self, objs):
6295 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6296 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6299 def add_pair_filter(self, obj):
6300 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6301 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6304 def add_pair_filters(self, objs):
6305 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6306 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6309 def clear_pair_filters(self):
6310 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6311 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6314 def get_number_of_pair_filters(self):
6315 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6316 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6319 def get_has_pair_filters(self):
6320 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6321 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6324 def get_pair_filter(self, i):
6325 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6326 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6329 def get_pair_filters(self):
6330 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6331 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6334 def reserve_pair_filters(self, sz):
6335 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6336 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6340 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6341 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6345 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6346 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6351 return _object_cast_to_ExcludedVolumeRestraint(o)
6353 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6354 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6357 """Proxy of C++ IMP::core::FixedRefiner class"""
6358 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6360 def __init__(self, *args):
6362 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6363 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6365 this = _IMP_core.new_FixedRefiner(*args)
6367 self.this.append(this)
6371 def do_get_inputs(self, m, pis):
6372 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6373 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6376 def get_version_info(self):
6377 """get_version_info(FixedRefiner self) -> VersionInfo"""
6378 return _IMP_core.FixedRefiner_get_version_info(self)
6382 """__str__(FixedRefiner self) -> std::string"""
6383 return _IMP_core.FixedRefiner___str__(self)
6387 """__repr__(FixedRefiner self) -> std::string"""
6388 return _IMP_core.FixedRefiner___repr__(self)
6393 return _object_cast_to_FixedRefiner(o)
6395 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6396 FixedRefiner_swigregister(FixedRefiner)
6398 class GridClosePairsFinder(ClosePairsFinder):
6399 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
6400 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6403 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6404 this = _IMP_core.new_GridClosePairsFinder()
6406 self.this.append(this)
6410 def get_close_pairs(self, *args):
6412 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6413 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6414 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6415 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6417 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6420 def do_get_inputs(self, m, pis):
6421 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6422 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6425 def get_version_info(self):
6426 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6427 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6431 """__str__(GridClosePairsFinder self) -> std::string"""
6432 return _IMP_core.GridClosePairsFinder___str__(self)
6436 """__repr__(GridClosePairsFinder self) -> std::string"""
6437 return _IMP_core.GridClosePairsFinder___repr__(self)
6442 return _object_cast_to_GridClosePairsFinder(o)
6444 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6445 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6448 """Proxy of C++ IMP::core::Harmonic class"""
6449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6451 def __init__(self, mean, k):
6452 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6453 this = _IMP_core.new_Harmonic(mean, k)
6455 self.this.append(this)
6459 def get_version_info(self):
6460 """get_version_info(Harmonic self) -> VersionInfo"""
6461 return _IMP_core.Harmonic_get_version_info(self)
6465 """get_mean(Harmonic self) -> IMP::Float"""
6466 return _IMP_core.Harmonic_get_mean(self)
6470 """get_k(Harmonic self) -> IMP::Float"""
6471 return _IMP_core.Harmonic_get_k(self)
6474 def set_mean(self, mean):
6475 """set_mean(Harmonic self, IMP::Float mean)"""
6476 return _IMP_core.Harmonic_set_mean(self, mean)
6480 """set_k(Harmonic self, IMP::Float k)"""
6481 return _IMP_core.Harmonic_set_k(self, k)
6484 def get_k_from_standard_deviation(sd, t=297.15):
6486 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6487 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6489 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6491 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6494 """__str__(Harmonic self) -> std::string"""
6495 return _IMP_core.Harmonic___str__(self)
6499 """__repr__(Harmonic self) -> std::string"""
6500 return _IMP_core.Harmonic___repr__(self)
6505 return _object_cast_to_Harmonic(o)
6507 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6508 Harmonic_swigregister(Harmonic)
6510 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6512 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6513 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6515 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6518 """Proxy of C++ IMP::core::HarmonicWell class"""
6519 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6521 def __init__(self, well, k):
6522 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6523 this = _IMP_core.new_HarmonicWell(well, k)
6525 self.this.append(this)
6529 def get_version_info(self):
6530 """get_version_info(HarmonicWell self) -> VersionInfo"""
6531 return _IMP_core.HarmonicWell_get_version_info(self)
6535 """__str__(HarmonicWell self) -> std::string"""
6536 return _IMP_core.HarmonicWell___str__(self)
6540 """__repr__(HarmonicWell self) -> std::string"""
6541 return _IMP_core.HarmonicWell___repr__(self)
6546 return _object_cast_to_HarmonicWell(o)
6548 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6549 HarmonicWell_swigregister(HarmonicWell)
6551 class HarmonicLowerBound(Harmonic):
6552 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
6553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6555 def __init__(self, mean, k):
6556 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6557 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6559 self.this.append(this)
6564 """__str__(HarmonicLowerBound self) -> std::string"""
6565 return _IMP_core.HarmonicLowerBound___str__(self)
6569 """__repr__(HarmonicLowerBound self) -> std::string"""
6570 return _IMP_core.HarmonicLowerBound___repr__(self)
6575 return _object_cast_to_HarmonicLowerBound(o)
6577 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6578 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6580 class HarmonicUpperBound(Harmonic):
6581 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
6582 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6584 def __init__(self, mean, k):
6585 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6586 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6588 self.this.append(this)
6593 """__str__(HarmonicUpperBound self) -> std::string"""
6594 return _IMP_core.HarmonicUpperBound___str__(self)
6598 """__repr__(HarmonicUpperBound self) -> std::string"""
6599 return _IMP_core.HarmonicUpperBound___repr__(self)
6604 return _object_cast_to_HarmonicUpperBound(o)
6606 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6607 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6610 """Proxy of C++ IMP::core::WeightedSum class"""
6611 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6613 def __init__(self, funcs, weights):
6614 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6615 this = _IMP_core.new_WeightedSum(funcs, weights)
6617 self.this.append(this)
6621 def get_function_number(self):
6622 """get_function_number(WeightedSum self) -> unsigned int"""
6623 return _IMP_core.WeightedSum_get_function_number(self)
6626 def set_weights(self, weights):
6627 """set_weights(WeightedSum self, IMP::Floats weights)"""
6628 return _IMP_core.WeightedSum_set_weights(self, weights)
6631 def get_weights(self):
6632 """get_weights(WeightedSum self) -> IMP::Floats"""
6633 return _IMP_core.WeightedSum_get_weights(self)
6636 def get_weight(self, i):
6637 """get_weight(WeightedSum self, unsigned int i) -> double"""
6638 return _IMP_core.WeightedSum_get_weight(self, i)
6641 def get_function(self, i):
6642 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6643 return _IMP_core.WeightedSum_get_function(self, i)
6646 def get_version_info(self):
6647 """get_version_info(WeightedSum self) -> VersionInfo"""
6648 return _IMP_core.WeightedSum_get_version_info(self)
6652 """__str__(WeightedSum self) -> std::string"""
6653 return _IMP_core.WeightedSum___str__(self)
6657 """__repr__(WeightedSum self) -> std::string"""
6658 return _IMP_core.WeightedSum___repr__(self)
6663 return _object_cast_to_WeightedSum(o)
6665 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6666 WeightedSum_swigregister(WeightedSum)
6669 """Proxy of C++ IMP::core::WeightedSumOfExponential class"""
6670 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6672 def __init__(self, funcs, weights, denom=1.0):
6674 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6675 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6677 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6679 self.this.append(this)
6683 def get_function_number(self):
6684 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6685 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6688 def set_weights(self, weights):
6689 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6690 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6693 def get_weights(self):
6694 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6695 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6698 def get_weight(self, i):
6699 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6700 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6703 def get_function(self, i):
6704 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6705 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6708 def set_denominator(self, denom):
6709 """set_denominator(WeightedSumOfExponential self, double denom)"""
6710 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6713 def get_denominator(self):
6714 """get_denominator(WeightedSumOfExponential self) -> double"""
6715 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6718 def get_version_info(self):
6719 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6720 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6724 """__str__(WeightedSumOfExponential self) -> std::string"""
6725 return _IMP_core.WeightedSumOfExponential___str__(self)
6729 """__repr__(WeightedSumOfExponential self) -> std::string"""
6730 return _IMP_core.WeightedSumOfExponential___repr__(self)
6735 return _object_cast_to_WeightedSumOfExponential(o)
6737 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6738 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6741 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
6742 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6744 def __init__(self, m, ps, eps=0.1):
6746 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6747 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6749 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6751 self.this.append(this)
6755 def add_type(self, ps):
6756 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6757 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6760 def add_composite(self, *args):
6762 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6763 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6765 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6768 def get_connected_pairs(self):
6769 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6770 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6773 def get_pair_score(self):
6774 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6775 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6778 def do_create_current_decomposition(self):
6779 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6780 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6783 def do_get_inputs(self):
6784 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6785 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6788 def get_version_info(self):
6789 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6790 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6794 """__str__(MSConnectivityRestraint self) -> std::string"""
6795 return _IMP_core.MSConnectivityRestraint___str__(self)
6799 """__repr__(MSConnectivityRestraint self) -> std::string"""
6800 return _IMP_core.MSConnectivityRestraint___repr__(self)
6805 return _object_cast_to_MSConnectivityRestraint(o)
6807 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6808 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6810 class HierarchyTraits(object):
6811 """Proxy of C++ IMP::core::HierarchyTraits class"""
6812 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6814 def __init__(self, *args):
6816 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6817 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6819 this = _IMP_core.new_HierarchyTraits(*args)
6821 self.this.append(this)
6825 def get_children_key(self):
6826 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6827 return _IMP_core.HierarchyTraits_get_children_key(self)
6830 def get_parent_key(self):
6831 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6832 return _IMP_core.HierarchyTraits_get_parent_key(self)
6835 def __eq__(self, o):
6836 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6837 return _IMP_core.HierarchyTraits___eq__(self, o)
6840 def show(self, *args):
6842 show(HierarchyTraits self, _ostream out)
6843 show(HierarchyTraits self)
6845 return _IMP_core.HierarchyTraits_show(self, *args)
6849 """__str__(HierarchyTraits self) -> std::string"""
6850 return _IMP_core.HierarchyTraits___str__(self)
6854 """__repr__(HierarchyTraits self) -> std::string"""
6855 return _IMP_core.HierarchyTraits___repr__(self)
6857 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6858 __del__ =
lambda self:
None
6859 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6860 HierarchyTraits_swigregister(HierarchyTraits)
6863 """Proxy of C++ IMP::core::Hierarchy class"""
6864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6866 def get_decorator_traits(self):
6867 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6868 return _IMP_core.Hierarchy_get_decorator_traits(self)
6871 def get_default_decorator_traits():
6872 """get_default_decorator_traits() -> HierarchyTraits"""
6873 return _IMP_core.Hierarchy_get_default_decorator_traits()
6875 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6877 def __init__(self, *args):
6879 __init__(IMP::core::Hierarchy self) -> Hierarchy
6880 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6881 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6882 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6883 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6885 this = _IMP_core.new_Hierarchy(*args)
6887 self.this.append(this)
6891 def show(self, *args):
6893 show(Hierarchy self, _ostream out)
6894 show(Hierarchy self)
6896 return _IMP_core.Hierarchy_show(self, *args)
6899 def setup_particle(*args):
6901 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6902 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6903 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6904 setup_particle(_ParticleAdaptor d) -> Hierarchy
6905 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6906 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6907 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6908 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6909 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6910 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6911 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6912 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6914 return _IMP_core.Hierarchy_setup_particle(*args)
6916 setup_particle = staticmethod(setup_particle)
6918 def get_is_setup(*args):
6920 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6921 get_is_setup(_ParticleAdaptor p) -> bool
6922 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6923 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6925 return _IMP_core.Hierarchy_get_is_setup(*args)
6927 get_is_setup = staticmethod(get_is_setup)
6929 def get_changed_key():
6930 """get_changed_key() -> TriggerKey"""
6931 return _IMP_core.Hierarchy_get_changed_key()
6933 get_changed_key = staticmethod(get_changed_key)
6935 def get_parent(self):
6936 """get_parent(Hierarchy self) -> Hierarchy"""
6937 return _IMP_core.Hierarchy_get_parent(self)
6940 def get_number_of_children(self):
6941 """get_number_of_children(Hierarchy self) -> unsigned int"""
6942 return _IMP_core.Hierarchy_get_number_of_children(self)
6945 def get_child(self, i):
6946 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6947 return _IMP_core.Hierarchy_get_child(self, i)
6950 def get_children_indexes(self):
6951 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6952 return _IMP_core.Hierarchy_get_children_indexes(self)
6955 def get_children(self):
6956 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6957 return _IMP_core.Hierarchy_get_children(self)
6960 def remove_child(self, *args):
6962 remove_child(Hierarchy self, unsigned int i)
6963 remove_child(Hierarchy self, Hierarchy h)
6965 return _IMP_core.Hierarchy_remove_child(self, *args)
6968 def clear_children(self):
6969 """clear_children(Hierarchy self)"""
6970 return _IMP_core.Hierarchy_clear_children(self)
6973 def add_child(self, h):
6974 """add_child(Hierarchy self, Hierarchy h)"""
6975 return _IMP_core.Hierarchy_add_child(self, h)
6978 def add_child_at(self, h, pos):
6979 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6980 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6983 def get_child_index(self, *args):
6985 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6986 get_child_index(Hierarchy self) -> int
6988 return _IMP_core.Hierarchy_get_child_index(self, *args)
6991 def get_default_traits():
6992 """get_default_traits() -> HierarchyTraits"""
6993 return _IMP_core.Hierarchy_get_default_traits()
6995 get_default_traits = staticmethod(get_default_traits)
6997 def get_traits(self):
6998 """get_traits(Hierarchy self) -> HierarchyTraits"""
6999 return _IMP_core.Hierarchy_get_traits(self)
7002 def add_attribute(self, *args):
7004 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
7005 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
7006 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
7007 add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7008 add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
7009 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
7010 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
7011 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
7013 return _IMP_core.Hierarchy_add_attribute(self, *args)
7016 def get_value(self, *args):
7018 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
7019 get_value(Hierarchy self, IntKey a0) -> IMP::Int
7020 get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
7021 get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
7022 get_value(Hierarchy self, StringKey a0) -> IMP::String
7023 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
7024 get_value(Hierarchy self, ObjectKey a0) -> Object
7026 return _IMP_core.Hierarchy_get_value(self, *args)
7029 def set_value(self, *args):
7031 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
7032 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
7033 set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7034 set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
7035 set_value(Hierarchy self, StringKey a0, IMP::String a1)
7036 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
7037 set_value(Hierarchy self, ObjectKey a0, Object a1)
7039 return _IMP_core.Hierarchy_set_value(self, *args)
7042 def remove_attribute(self, *args):
7044 remove_attribute(Hierarchy self, FloatKey a0)
7045 remove_attribute(Hierarchy self, IntKey a0)
7046 remove_attribute(Hierarchy self, FloatsKey a0)
7047 remove_attribute(Hierarchy self, IntsKey a0)
7048 remove_attribute(Hierarchy self, StringKey a0)
7049 remove_attribute(Hierarchy self, ParticleIndexKey a0)
7050 remove_attribute(Hierarchy self, ObjectKey a0)
7052 return _IMP_core.Hierarchy_remove_attribute(self, *args)
7055 def has_attribute(self, *args):
7057 has_attribute(Hierarchy self, FloatKey a0) -> bool
7058 has_attribute(Hierarchy self, IntKey a0) -> bool
7059 has_attribute(Hierarchy self, FloatsKey a0) -> bool
7060 has_attribute(Hierarchy self, IntsKey a0) -> bool
7061 has_attribute(Hierarchy self, StringKey a0) -> bool
7062 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
7063 has_attribute(Hierarchy self, ObjectKey a0) -> bool
7065 return _IMP_core.Hierarchy_has_attribute(self, *args)
7068 def get_derivative(self, a0):
7069 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
7070 return _IMP_core.Hierarchy_get_derivative(self, a0)
7074 """get_name(Hierarchy self) -> std::string"""
7075 return _IMP_core.Hierarchy_get_name(self)
7078 def clear_caches(self):
7079 """clear_caches(Hierarchy self)"""
7080 return _IMP_core.Hierarchy_clear_caches(self)
7083 def set_name(self, a0):
7084 """set_name(Hierarchy self, std::string a0)"""
7085 return _IMP_core.Hierarchy_set_name(self, a0)
7089 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
7090 return _IMP_core.Hierarchy_set_check_level(self, a0)
7093 def add_to_derivative(self, a0, a1, a2):
7094 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7095 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
7098 def set_is_optimized(self, a0, a1):
7099 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
7100 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
7103 def get_is_optimized(self, a0):
7104 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
7105 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
7109 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
7110 return _IMP_core.Hierarchy_get_check_level(self)
7113 def __eq__(self, *args):
7115 __eq__(Hierarchy self, Hierarchy o) -> bool
7116 __eq__(Hierarchy self, Particle d) -> bool
7118 return _IMP_core.Hierarchy___eq__(self, *args)
7121 def __ne__(self, *args):
7123 __ne__(Hierarchy self, Hierarchy o) -> bool
7124 __ne__(Hierarchy self, Particle d) -> bool
7126 return _IMP_core.Hierarchy___ne__(self, *args)
7129 def __le__(self, *args):
7131 __le__(Hierarchy self, Hierarchy o) -> bool
7132 __le__(Hierarchy self, Particle d) -> bool
7134 return _IMP_core.Hierarchy___le__(self, *args)
7137 def __lt__(self, *args):
7139 __lt__(Hierarchy self, Hierarchy o) -> bool
7140 __lt__(Hierarchy self, Particle d) -> bool
7142 return _IMP_core.Hierarchy___lt__(self, *args)
7145 def __ge__(self, *args):
7147 __ge__(Hierarchy self, Hierarchy o) -> bool
7148 __ge__(Hierarchy self, Particle d) -> bool
7150 return _IMP_core.Hierarchy___ge__(self, *args)
7153 def __gt__(self, *args):
7155 __gt__(Hierarchy self, Hierarchy o) -> bool
7156 __gt__(Hierarchy self, Particle d) -> bool
7158 return _IMP_core.Hierarchy___gt__(self, *args)
7162 """__hash__(Hierarchy self) -> std::size_t"""
7163 return _IMP_core.Hierarchy___hash__(self)
7167 """__str__(Hierarchy self) -> std::string"""
7168 return _IMP_core.Hierarchy___str__(self)
7172 """__repr__(Hierarchy self) -> std::string"""
7173 return _IMP_core.Hierarchy___repr__(self)
7175 __swig_destroy__ = _IMP_core.delete_Hierarchy
7176 __del__ =
lambda self:
None
7177 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7178 Hierarchy_swigregister(Hierarchy)
7180 def Hierarchy_get_default_decorator_traits():
7181 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7182 return _IMP_core.Hierarchy_get_default_decorator_traits()
7184 def Hierarchy_setup_particle(*args):
7186 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7187 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7188 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7189 setup_particle(_ParticleAdaptor d) -> Hierarchy
7190 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7191 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7192 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7193 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7194 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7195 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7196 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7197 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7199 return _IMP_core.Hierarchy_setup_particle(*args)
7201 def Hierarchy_get_is_setup(*args):
7203 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7204 get_is_setup(_ParticleAdaptor p) -> bool
7205 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7206 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7208 return _IMP_core.Hierarchy_get_is_setup(*args)
7210 def Hierarchy_get_changed_key():
7211 """Hierarchy_get_changed_key() -> TriggerKey"""
7212 return _IMP_core.Hierarchy_get_changed_key()
7214 def Hierarchy_get_default_traits():
7215 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7216 return _IMP_core.Hierarchy_get_default_traits()
7218 class HierarchyVisitor(object):
7219 """Proxy of C++ IMP::core::HierarchyVisitor class"""
7220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7221 __repr__ = _swig_repr
7224 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7225 if self.__class__ == HierarchyVisitor:
7229 this = _IMP_core.new_HierarchyVisitor(_self, )
7231 self.this.append(this)
7235 if self.__class__ != HierarchyVisitor:
7236 _director_objects.register(self)
7241 def __call__(self, p):
7242 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7243 return _IMP_core.HierarchyVisitor___call__(self, p)
7245 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7246 __del__ =
lambda self:
None
7247 def __disown__(self):
7249 _IMP_core.disown_HierarchyVisitor(self)
7250 return weakref_proxy(self)
7251 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7252 HierarchyVisitor_swigregister(HierarchyVisitor)
7254 class ModifierVisitor(HierarchyVisitor):
7255 """Proxy of C++ IMP::core::ModifierVisitor class"""
7256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7257 __repr__ = _swig_repr
7259 def __init__(self, sm):
7260 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7261 this = _IMP_core.new_ModifierVisitor(sm)
7263 self.this.append(this)
7266 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7267 __del__ =
lambda self:
None
7268 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7269 ModifierVisitor_swigregister(ModifierVisitor)
7271 class HierarchyCounter(HierarchyVisitor):
7272 """Proxy of C++ IMP::core::HierarchyCounter class"""
7273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7276 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7277 this = _IMP_core.new_HierarchyCounter()
7279 self.this.append(this)
7283 def get_count(self):
7284 """get_count(HierarchyCounter self) -> unsigned int"""
7285 return _IMP_core.HierarchyCounter_get_count(self)
7288 def show(self, *args):
7290 show(HierarchyCounter self, _ostream out)
7291 show(HierarchyCounter self)
7293 return _IMP_core.HierarchyCounter_show(self, *args)
7297 """__str__(HierarchyCounter self) -> std::string"""
7298 return _IMP_core.HierarchyCounter___str__(self)
7302 """__repr__(HierarchyCounter self) -> std::string"""
7303 return _IMP_core.HierarchyCounter___repr__(self)
7305 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7306 __del__ =
lambda self:
None
7307 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7308 HierarchyCounter_swigregister(HierarchyCounter)
7312 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7313 return _IMP_core.get_leaves(mhd)
7316 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7317 return _IMP_core.get_internal(mhd)
7320 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7321 return _IMP_core.get_all_descendants(mhd)
7324 """get_root(Hierarchy h) -> Hierarchy"""
7325 return _IMP_core.get_root(h)
7328 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7329 return _IMP_core.visit_breadth_first(d, f)
7332 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7333 return _IMP_core.visit_depth_first(d, f)
7335 """Proxy of C++ IMP::core::LeavesRefiner class"""
7336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7338 def __init__(self, tr):
7339 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7340 this = _IMP_core.new_LeavesRefiner(tr)
7342 self.this.append(this)
7346 def do_get_inputs(self, m, pis):
7347 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7348 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7351 def get_version_info(self):
7352 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7353 return _IMP_core.LeavesRefiner_get_version_info(self)
7357 """__str__(LeavesRefiner self) -> std::string"""
7358 return _IMP_core.LeavesRefiner___str__(self)
7362 """__repr__(LeavesRefiner self) -> std::string"""
7363 return _IMP_core.LeavesRefiner___repr__(self)
7368 return _object_cast_to_LeavesRefiner(o)
7370 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7371 LeavesRefiner_swigregister(LeavesRefiner)
7374 """Proxy of C++ IMP::core::Linear class"""
7375 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7377 def __init__(self, offset, slope):
7378 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7379 this = _IMP_core.new_Linear(offset, slope)
7381 self.this.append(this)
7385 def set_slope(self, f):
7386 """set_slope(Linear self, double f)"""
7387 return _IMP_core.Linear_set_slope(self, f)
7390 def set_offset(self, f):
7391 """set_offset(Linear self, double f)"""
7392 return _IMP_core.Linear_set_offset(self, f)
7395 def get_version_info(self):
7396 """get_version_info(Linear self) -> VersionInfo"""
7397 return _IMP_core.Linear_get_version_info(self)
7401 """__str__(Linear self) -> std::string"""
7402 return _IMP_core.Linear___str__(self)
7406 """__repr__(Linear self) -> std::string"""
7407 return _IMP_core.Linear___repr__(self)
7412 return _object_cast_to_Linear(o)
7414 Linear_swigregister = _IMP_core.Linear_swigregister
7415 Linear_swigregister(Linear)
7417 class LogNormalMover(MonteCarloMover):
7418 """Proxy of C++ IMP::core::LogNormalMover class"""
7419 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7421 def __init__(self, *args):
7423 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7424 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7425 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7426 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7428 this = _IMP_core.new_LogNormalMover(*args)
7430 self.this.append(this)
7434 def set_sigma(self, sigma):
7435 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7436 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7439 def get_sigma(self):
7440 """get_sigma(LogNormalMover self) -> IMP::Float"""
7441 return _IMP_core.LogNormalMover_get_sigma(self)
7444 def get_version_info(self):
7445 """get_version_info(LogNormalMover self) -> VersionInfo"""
7446 return _IMP_core.LogNormalMover_get_version_info(self)
7450 """__str__(LogNormalMover self) -> std::string"""
7451 return _IMP_core.LogNormalMover___str__(self)
7455 """__repr__(LogNormalMover self) -> std::string"""
7456 return _IMP_core.LogNormalMover___repr__(self)
7461 return _object_cast_to_LogNormalMover(o)
7463 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7464 LogNormalMover_swigregister(LogNormalMover)
7467 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
7468 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7470 def __init__(self, *args):
7472 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
7473 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7474 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7475 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7477 this = _IMP_core.new_IncrementalScoringFunction(*args)
7479 self.this.append(this)
7483 def reset_moved_particles(self):
7484 """reset_moved_particles(IncrementalScoringFunction self)"""
7485 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7488 def set_moved_particles(self, p):
7489 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7490 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7493 def add_close_pair_score(self, *args):
7495 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7496 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7498 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7501 def clear_close_pair_scores(self):
7502 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7503 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7506 def get_movable_indexes(self):
7507 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7508 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7511 def do_add_score_and_derivatives(self, sa, ss):
7512 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7513 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7516 def do_get_inputs(self):
7517 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7518 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7521 def handle_set_has_required_score_states(self, arg2):
7522 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7523 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7526 def get_version_info(self):
7527 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7528 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7532 """__str__(IncrementalScoringFunction self) -> std::string"""
7533 return _IMP_core.IncrementalScoringFunction___str__(self)
7537 """__repr__(IncrementalScoringFunction self) -> std::string"""
7538 return _IMP_core.IncrementalScoringFunction___repr__(self)
7543 return _object_cast_to_IncrementalScoringFunction(o)
7545 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7546 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7549 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
7550 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7552 """Proxy of C++ IMP::core::MonteCarlo class"""
7553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7555 def __init__(self, m):
7556 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7557 this = _IMP_core.new_MonteCarlo(m)
7559 self.this.append(this)
7563 def get_version_info(self):
7564 """get_version_info(MonteCarlo self) -> VersionInfo"""
7565 return _IMP_core.MonteCarlo_get_version_info(self)
7568 def set_return_best(self, tf):
7569 """set_return_best(MonteCarlo self, bool tf)"""
7570 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7573 def set_score_moved(self, mv):
7574 """set_score_moved(MonteCarlo self, bool mv)"""
7575 return _IMP_core.MonteCarlo_set_score_moved(self, mv)
7578 def set_kt(self, t):
7579 """set_kt(MonteCarlo self, IMP::Float t)"""
7580 return _IMP_core.MonteCarlo_set_kt(self, t)
7584 """get_kt(MonteCarlo self) -> IMP::Float"""
7585 return _IMP_core.MonteCarlo_get_kt(self)
7588 def get_last_accepted_energy(self):
7589 """get_last_accepted_energy(MonteCarlo self) -> double"""
7590 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7593 def get_best_accepted_energy(self):
7594 """get_best_accepted_energy(MonteCarlo self) -> double"""
7595 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7598 def get_number_of_downward_steps(self):
7599 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7600 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7603 def get_number_of_upward_steps(self):
7604 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7605 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7608 def get_number_of_proposed_steps(self):
7609 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7610 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7613 def get_number_of_accepted_steps(self):
7614 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7615 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7618 def reset_statistics(self):
7619 """reset_statistics(MonteCarlo self)"""
7620 return _IMP_core.MonteCarlo_reset_statistics(self)
7623 def set_score_threshold(self, s):
7624 """set_score_threshold(MonteCarlo self, double s)"""
7625 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7628 def get_score_threshold(self):
7629 """get_score_threshold(MonteCarlo self) -> double"""
7630 return _IMP_core.MonteCarlo_get_score_threshold(self)
7633 def set_maximum_difference(self, d):
7634 """set_maximum_difference(MonteCarlo self, double d)"""
7635 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7638 def get_maximum_difference(self):
7639 """get_maximum_difference(MonteCarlo self) -> double"""
7640 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7643 def remove_mover(self, d):
7644 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7645 return _IMP_core.MonteCarlo_remove_mover(self, d)
7648 def remove_movers(self, d):
7649 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7650 return _IMP_core.MonteCarlo_remove_movers(self, d)
7653 def set_movers(self, ps):
7654 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7655 return _IMP_core.MonteCarlo_set_movers(self, ps)
7658 def set_movers_order(self, objs):
7659 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7660 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7663 def add_mover(self, obj):
7664 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7665 return _IMP_core.MonteCarlo_add_mover(self, obj)
7668 def add_movers(self, objs):
7669 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7670 return _IMP_core.MonteCarlo_add_movers(self, objs)
7673 def clear_movers(self):
7674 """clear_movers(MonteCarlo self)"""
7675 return _IMP_core.MonteCarlo_clear_movers(self)
7678 def get_number_of_movers(self):
7679 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7680 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7683 def get_has_movers(self):
7684 """get_has_movers(MonteCarlo self) -> bool"""
7685 return _IMP_core.MonteCarlo_get_has_movers(self)
7688 def get_mover(self, i):
7689 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7690 return _IMP_core.MonteCarlo_get_mover(self, i)
7693 def get_movers(self):
7694 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7695 return _IMP_core.MonteCarlo_get_movers(self)
7698 def reserve_movers(self, sz):
7699 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7700 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7703 def set_incremental_scoring_function(self, isf):
7704 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7705 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7708 def get_use_incremental_scoring_function(self):
7709 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7710 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7713 def get_incremental_scoring_function(self):
7714 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7715 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7719 """__str__(MonteCarlo self) -> std::string"""
7720 return _IMP_core.MonteCarlo___str__(self)
7724 """__repr__(MonteCarlo self) -> std::string"""
7725 return _IMP_core.MonteCarlo___repr__(self)
7730 return _object_cast_to_MonteCarlo(o)
7732 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7733 MonteCarlo_swigregister(MonteCarlo)
7735 class MonteCarloWithLocalOptimization(MonteCarlo):
7736 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
7737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7739 def __init__(self, opt, steps):
7740 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7741 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7743 self.this.append(this)
7747 def get_number_of_steps(self):
7748 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7749 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7752 def get_local_optimizer(self):
7753 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7754 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7758 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7759 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7763 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7764 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7769 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7771 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7772 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7774 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7775 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
7776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7778 def __init__(self, opt, ns):
7779 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7780 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7782 self.this.append(this)
7787 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7788 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7792 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7793 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7798 return _object_cast_to_MonteCarloWithBasinHopping(o)
7800 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7801 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7804 """Proxy of C++ IMP::core::NeighborsTable class"""
7805 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7807 def __init__(self, *args):
7809 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7810 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7812 this = _IMP_core.new_NeighborsTable(*args)
7814 self.this.append(this)
7818 def get_neighbors(self, pi):
7819 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7820 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7823 def get_version_info(self):
7824 """get_version_info(NeighborsTable self) -> VersionInfo"""
7825 return _IMP_core.NeighborsTable_get_version_info(self)
7829 """__str__(NeighborsTable self) -> std::string"""
7830 return _IMP_core.NeighborsTable___str__(self)
7834 """__repr__(NeighborsTable self) -> std::string"""
7835 return _IMP_core.NeighborsTable___repr__(self)
7840 return _object_cast_to_NeighborsTable(o)
7842 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7843 NeighborsTable_swigregister(NeighborsTable)
7845 class NormalMover(MonteCarloMover):
7846 """Proxy of C++ IMP::core::NormalMover class"""
7847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7849 def __init__(self, *args):
7851 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7852 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7853 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7854 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7856 this = _IMP_core.new_NormalMover(*args)
7858 self.this.append(this)
7862 def set_sigma(self, sigma):
7863 """set_sigma(NormalMover self, IMP::Float sigma)"""
7864 return _IMP_core.NormalMover_set_sigma(self, sigma)
7867 def get_sigma(self):
7868 """get_sigma(NormalMover self) -> IMP::Float"""
7869 return _IMP_core.NormalMover_get_sigma(self)
7872 def get_version_info(self):
7873 """get_version_info(NormalMover self) -> VersionInfo"""
7874 return _IMP_core.NormalMover_get_version_info(self)
7878 """__str__(NormalMover self) -> std::string"""
7879 return _IMP_core.NormalMover___str__(self)
7883 """__repr__(NormalMover self) -> std::string"""
7884 return _IMP_core.NormalMover___repr__(self)
7889 return _object_cast_to_NormalMover(o)
7891 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7892 NormalMover_swigregister(NormalMover)
7894 class OpenCubicSpline(_OpenCubicSplineBase):
7895 """Proxy of C++ IMP::core::OpenCubicSpline class"""
7896 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7898 def __init__(self, values, minrange, spacing, extend=False):
7900 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7901 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7903 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7905 self.this.append(this)
7910 """__str__(OpenCubicSpline self) -> std::string"""
7911 return _IMP_core.OpenCubicSpline___str__(self)
7915 """__repr__(OpenCubicSpline self) -> std::string"""
7916 return _IMP_core.OpenCubicSpline___repr__(self)
7921 return _object_cast_to_OpenCubicSpline(o)
7923 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7924 __del__ =
lambda self:
None
7925 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7926 OpenCubicSpline_swigregister(OpenCubicSpline)
7928 class QuadraticClosePairsFinder(ClosePairsFinder):
7929 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
7930 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7933 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7934 this = _IMP_core.new_QuadraticClosePairsFinder()
7936 self.this.append(this)
7940 def get_are_close_and_filtered(self, *args):
7942 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7943 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7945 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7948 def get_close_pairs(self, *args):
7950 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7951 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7952 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7953 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7955 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7958 def do_get_inputs(self, m, pis):
7959 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7960 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7963 def get_version_info(self):
7964 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7965 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7969 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7970 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7974 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7975 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7980 return _object_cast_to_QuadraticClosePairsFinder(o)
7982 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7983 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7986 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
7987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7989 def __init__(self, r, f):
7990 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7991 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7993 self.this.append(this)
7997 def do_get_inputs(self, m, pis):
7998 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7999 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
8002 def get_version_info(self):
8003 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
8004 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
8008 """__str__(RefinedPairsPairScore self) -> std::string"""
8009 return _IMP_core.RefinedPairsPairScore___str__(self)
8013 """__repr__(RefinedPairsPairScore self) -> std::string"""
8014 return _IMP_core.RefinedPairsPairScore___repr__(self)
8019 return _object_cast_to_RefinedPairsPairScore(o)
8021 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
8022 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
8024 class RigidBody(XYZ):
8025 """Proxy of C++ IMP::core::RigidBody class"""
8026 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8028 def get_rigid_members(self):
8029 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
8030 return _IMP_core.RigidBody_get_rigid_members(self)
8033 def get_rotation_keys():
8034 """get_rotation_keys() -> IMP::FloatKeys"""
8035 return _IMP_core.RigidBody_get_rotation_keys()
8037 get_rotation_keys = staticmethod(get_rotation_keys)
8039 def get_member_particle_indexes(self):
8040 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8041 return _IMP_core.RigidBody_get_member_particle_indexes(self)
8044 def get_body_member_particle_indexes(self):
8045 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8046 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
8049 def get_member_indexes(self):
8050 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
8051 return _IMP_core.RigidBody_get_member_indexes(self)
8054 def __init__(self, *args):
8056 __init__(IMP::core::RigidBody self) -> RigidBody
8057 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
8058 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
8060 this = _IMP_core.new_RigidBody(*args)
8062 self.this.append(this)
8066 def show(self, *args):
8068 show(RigidBody self, _ostream out)
8069 show(RigidBody self)
8071 return _IMP_core.RigidBody_show(self, *args)
8074 def setup_particle(*args):
8076 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8077 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8078 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8079 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8081 return _IMP_core.RigidBody_setup_particle(*args)
8083 setup_particle = staticmethod(setup_particle)
8085 def teardown_particle(rb):
8086 """teardown_particle(RigidBody rb)"""
8087 return _IMP_core.RigidBody_teardown_particle(rb)
8089 teardown_particle = staticmethod(teardown_particle)
8090 __swig_destroy__ = _IMP_core.delete_RigidBody
8091 __del__ =
lambda self:
None
8093 def get_is_setup(*args):
8095 get_is_setup(_ParticleAdaptor p) -> bool
8096 get_is_setup(Model m, ParticleIndex pi) -> bool
8098 return _IMP_core.RigidBody_get_is_setup(*args)
8100 get_is_setup = staticmethod(get_is_setup)
8102 def get_coordinates(self):
8103 """get_coordinates(RigidBody self) -> Vector3D"""
8104 return _IMP_core.RigidBody_get_coordinates(self)
8107 def get_rotation(self):
8108 """get_rotation(RigidBody self) -> Rotation3D"""
8109 return _IMP_core.RigidBody_get_rotation(self)
8112 def get_reference_frame(self):
8113 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
8114 return _IMP_core.RigidBody_get_reference_frame(self)
8117 def set_reference_frame(self, tr):
8118 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
8119 return _IMP_core.RigidBody_set_reference_frame(self, tr)
8122 def set_reference_frame_lazy(self, tr):
8123 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
8124 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
8127 def set_reference_frame_from_members(self, members):
8128 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
8129 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
8132 def pull_back_members_adjoints(self, da):
8133 """pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
8134 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
8137 def pull_back_member_adjoints(self, pi, da):
8138 """pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8139 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
8142 def pull_back_body_member_adjoints(self, pi, da):
8143 """pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8144 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
8147 def add_to_derivatives(self, *args):
8149 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
8150 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8152 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
8155 def add_to_rotational_derivatives(self, *args):
8157 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8158 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
8160 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
8163 def add_to_torque(self, torque_local, da):
8164 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
8165 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
8168 def get_torque(self):
8169 """get_torque(RigidBody self) -> Vector3D"""
8170 return _IMP_core.RigidBody_get_torque(self)
8173 def get_coordinates_are_optimized(self):
8174 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8175 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8178 def set_coordinates_are_optimized(self, tf):
8179 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8180 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8183 def normalize_rotation(self):
8184 """normalize_rotation(RigidBody self)"""
8185 return _IMP_core.RigidBody_normalize_rotation(self)
8188 def update_members(self):
8189 """update_members(RigidBody self)"""
8190 return _IMP_core.RigidBody_update_members(self)
8193 def get_rotational_derivatives(self):
8194 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8195 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8198 def get_number_of_members(self):
8199 """get_number_of_members(RigidBody self) -> unsigned int"""
8200 return _IMP_core.RigidBody_get_number_of_members(self)
8203 def get_member(self, i):
8204 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8205 return _IMP_core.RigidBody_get_member(self, i)
8208 def add_member(self, p):
8209 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8210 return _IMP_core.RigidBody_add_member(self, p)
8213 def add_non_rigid_member(self, p):
8214 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8215 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8218 def set_is_rigid_member(self, pi, tf):
8219 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8220 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8223 def add_attribute(self, *args):
8225 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8226 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8227 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8228 add_attribute(RigidBody self, FloatsKey a0, IMP::Floats a1)
8229 add_attribute(RigidBody self, IntsKey a0, IMP::Ints a1)
8230 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8231 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8232 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8234 return _IMP_core.RigidBody_add_attribute(self, *args)
8237 def get_value(self, *args):
8239 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8240 get_value(RigidBody self, IntKey a0) -> IMP::Int
8241 get_value(RigidBody self, FloatsKey a0) -> IMP::Floats
8242 get_value(RigidBody self, IntsKey a0) -> IMP::Ints
8243 get_value(RigidBody self, StringKey a0) -> IMP::String
8244 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8245 get_value(RigidBody self, ObjectKey a0) -> Object
8247 return _IMP_core.RigidBody_get_value(self, *args)
8250 def set_value(self, *args):
8252 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8253 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8254 set_value(RigidBody self, FloatsKey a0, IMP::Floats a1)
8255 set_value(RigidBody self, IntsKey a0, IMP::Ints a1)
8256 set_value(RigidBody self, StringKey a0, IMP::String a1)
8257 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8258 set_value(RigidBody self, ObjectKey a0, Object a1)
8260 return _IMP_core.RigidBody_set_value(self, *args)
8263 def remove_attribute(self, *args):
8265 remove_attribute(RigidBody self, FloatKey a0)
8266 remove_attribute(RigidBody self, IntKey a0)
8267 remove_attribute(RigidBody self, FloatsKey a0)
8268 remove_attribute(RigidBody self, IntsKey a0)
8269 remove_attribute(RigidBody self, StringKey a0)
8270 remove_attribute(RigidBody self, ParticleIndexKey a0)
8271 remove_attribute(RigidBody self, ObjectKey a0)
8273 return _IMP_core.RigidBody_remove_attribute(self, *args)
8276 def has_attribute(self, *args):
8278 has_attribute(RigidBody self, FloatKey a0) -> bool
8279 has_attribute(RigidBody self, IntKey a0) -> bool
8280 has_attribute(RigidBody self, FloatsKey a0) -> bool
8281 has_attribute(RigidBody self, IntsKey a0) -> bool
8282 has_attribute(RigidBody self, StringKey a0) -> bool
8283 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8284 has_attribute(RigidBody self, ObjectKey a0) -> bool
8286 return _IMP_core.RigidBody_has_attribute(self, *args)
8289 def get_derivative(self, a0):
8290 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8291 return _IMP_core.RigidBody_get_derivative(self, a0)
8295 """get_name(RigidBody self) -> std::string"""
8296 return _IMP_core.RigidBody_get_name(self)
8299 def clear_caches(self):
8300 """clear_caches(RigidBody self)"""
8301 return _IMP_core.RigidBody_clear_caches(self)
8304 def set_name(self, a0):
8305 """set_name(RigidBody self, std::string a0)"""
8306 return _IMP_core.RigidBody_set_name(self, a0)
8310 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8311 return _IMP_core.RigidBody_set_check_level(self, a0)
8314 def add_to_derivative(self, a0, a1, a2):
8315 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8316 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8319 def set_is_optimized(self, a0, a1):
8320 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8321 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8324 def get_is_optimized(self, a0):
8325 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8326 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8330 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8331 return _IMP_core.RigidBody_get_check_level(self)
8334 def __eq__(self, *args):
8336 __eq__(RigidBody self, RigidBody o) -> bool
8337 __eq__(RigidBody self, Particle d) -> bool
8339 return _IMP_core.RigidBody___eq__(self, *args)
8342 def __ne__(self, *args):
8344 __ne__(RigidBody self, RigidBody o) -> bool
8345 __ne__(RigidBody self, Particle d) -> bool
8347 return _IMP_core.RigidBody___ne__(self, *args)
8350 def __le__(self, *args):
8352 __le__(RigidBody self, RigidBody o) -> bool
8353 __le__(RigidBody self, Particle d) -> bool
8355 return _IMP_core.RigidBody___le__(self, *args)
8358 def __lt__(self, *args):
8360 __lt__(RigidBody self, RigidBody o) -> bool
8361 __lt__(RigidBody self, Particle d) -> bool
8363 return _IMP_core.RigidBody___lt__(self, *args)
8366 def __ge__(self, *args):
8368 __ge__(RigidBody self, RigidBody o) -> bool
8369 __ge__(RigidBody self, Particle d) -> bool
8371 return _IMP_core.RigidBody___ge__(self, *args)
8374 def __gt__(self, *args):
8376 __gt__(RigidBody self, RigidBody o) -> bool
8377 __gt__(RigidBody self, Particle d) -> bool
8379 return _IMP_core.RigidBody___gt__(self, *args)
8383 """__hash__(RigidBody self) -> std::size_t"""
8384 return _IMP_core.RigidBody___hash__(self)
8388 """__str__(RigidBody self) -> std::string"""
8389 return _IMP_core.RigidBody___str__(self)
8393 """__repr__(RigidBody self) -> std::string"""
8394 return _IMP_core.RigidBody___repr__(self)
8396 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8397 RigidBody_swigregister(RigidBody)
8399 def RigidBody_get_rotation_keys():
8400 """RigidBody_get_rotation_keys() -> IMP::FloatKeys"""
8401 return _IMP_core.RigidBody_get_rotation_keys()
8403 def RigidBody_setup_particle(*args):
8405 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8406 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8407 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8408 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8410 return _IMP_core.RigidBody_setup_particle(*args)
8412 def RigidBody_teardown_particle(rb):
8413 """RigidBody_teardown_particle(RigidBody rb)"""
8414 return _IMP_core.RigidBody_teardown_particle(rb)
8416 def RigidBody_get_is_setup(*args):
8418 get_is_setup(_ParticleAdaptor p) -> bool
8419 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8421 return _IMP_core.RigidBody_get_is_setup(*args)
8425 """add_rigid_body_cache_key(ObjectKey k)"""
8426 return _IMP_core.add_rigid_body_cache_key(k)
8427 class RigidBodyMember(XYZ):
8428 """Proxy of C++ IMP::core::RigidBodyMember class"""
8429 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8431 def __init__(self, *args):
8433 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8434 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8435 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8437 this = _IMP_core.new_RigidBodyMember(*args)
8439 self.this.append(this)
8443 def show(self, *args):
8445 show(RigidBodyMember self, _ostream out)
8446 show(RigidBodyMember self)
8448 return _IMP_core.RigidBodyMember_show(self, *args)
8451 def get_rigid_body(self):
8452 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8453 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8456 def get_internal_coordinates(self):
8457 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8458 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8461 def set_internal_coordinates(self, v):
8462 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8463 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8466 def set_internal_transformation(self, v):
8467 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8468 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8471 def get_internal_transformation(self):
8472 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8473 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8475 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8476 __del__ =
lambda self:
None
8478 def set_coordinates(self, *args):
8480 set_coordinates(RigidBodyMember self, Vector3D center)
8481 set_coordinates(RigidBodyMember self, Transformation3D tr)
8483 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8486 def get_is_setup(*args):
8488 get_is_setup(_ParticleAdaptor p) -> bool
8489 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8491 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8493 get_is_setup = staticmethod(get_is_setup)
8495 def get_internal_coordinate_keys():
8496 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8497 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8499 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8501 def get_internal_rotation_keys():
8502 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8503 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8505 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8507 def add_attribute(self, *args):
8509 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8510 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8511 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8512 add_attribute(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8513 add_attribute(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8514 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8515 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8516 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8518 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8521 def get_value(self, *args):
8523 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8524 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8525 get_value(RigidBodyMember self, FloatsKey a0) -> IMP::Floats
8526 get_value(RigidBodyMember self, IntsKey a0) -> IMP::Ints
8527 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8528 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8529 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8531 return _IMP_core.RigidBodyMember_get_value(self, *args)
8534 def set_value(self, *args):
8536 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8537 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8538 set_value(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8539 set_value(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8540 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8541 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8542 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8544 return _IMP_core.RigidBodyMember_set_value(self, *args)
8547 def remove_attribute(self, *args):
8549 remove_attribute(RigidBodyMember self, FloatKey a0)
8550 remove_attribute(RigidBodyMember self, IntKey a0)
8551 remove_attribute(RigidBodyMember self, FloatsKey a0)
8552 remove_attribute(RigidBodyMember self, IntsKey a0)
8553 remove_attribute(RigidBodyMember self, StringKey a0)
8554 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8555 remove_attribute(RigidBodyMember self, ObjectKey a0)
8557 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8560 def has_attribute(self, *args):
8562 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8563 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8564 has_attribute(RigidBodyMember self, FloatsKey a0) -> bool
8565 has_attribute(RigidBodyMember self, IntsKey a0) -> bool
8566 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8567 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8568 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8570 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8573 def get_derivative(self, a0):
8574 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8575 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8579 """get_name(RigidBodyMember self) -> std::string"""
8580 return _IMP_core.RigidBodyMember_get_name(self)
8583 def clear_caches(self):
8584 """clear_caches(RigidBodyMember self)"""
8585 return _IMP_core.RigidBodyMember_clear_caches(self)
8588 def set_name(self, a0):
8589 """set_name(RigidBodyMember self, std::string a0)"""
8590 return _IMP_core.RigidBodyMember_set_name(self, a0)
8594 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8595 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8598 def add_to_derivative(self, a0, a1, a2):
8599 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8600 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8603 def set_is_optimized(self, a0, a1):
8604 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8605 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8608 def get_is_optimized(self, a0):
8609 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8610 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8614 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8615 return _IMP_core.RigidBodyMember_get_check_level(self)
8618 def __eq__(self, *args):
8620 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8621 __eq__(RigidBodyMember self, Particle d) -> bool
8623 return _IMP_core.RigidBodyMember___eq__(self, *args)
8626 def __ne__(self, *args):
8628 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8629 __ne__(RigidBodyMember self, Particle d) -> bool
8631 return _IMP_core.RigidBodyMember___ne__(self, *args)
8634 def __le__(self, *args):
8636 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8637 __le__(RigidBodyMember self, Particle d) -> bool
8639 return _IMP_core.RigidBodyMember___le__(self, *args)
8642 def __lt__(self, *args):
8644 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8645 __lt__(RigidBodyMember self, Particle d) -> bool
8647 return _IMP_core.RigidBodyMember___lt__(self, *args)
8650 def __ge__(self, *args):
8652 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8653 __ge__(RigidBodyMember self, Particle d) -> bool
8655 return _IMP_core.RigidBodyMember___ge__(self, *args)
8658 def __gt__(self, *args):
8660 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8661 __gt__(RigidBodyMember self, Particle d) -> bool
8663 return _IMP_core.RigidBodyMember___gt__(self, *args)
8667 """__hash__(RigidBodyMember self) -> std::size_t"""
8668 return _IMP_core.RigidBodyMember___hash__(self)
8672 """__str__(RigidBodyMember self) -> std::string"""
8673 return _IMP_core.RigidBodyMember___str__(self)
8677 """__repr__(RigidBodyMember self) -> std::string"""
8678 return _IMP_core.RigidBodyMember___repr__(self)
8680 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8681 RigidBodyMember_swigregister(RigidBodyMember)
8683 def RigidBodyMember_get_is_setup(*args):
8685 get_is_setup(_ParticleAdaptor p) -> bool
8686 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8688 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8690 def RigidBodyMember_get_internal_coordinate_keys():
8691 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8692 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8694 def RigidBodyMember_get_internal_rotation_keys():
8695 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8696 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8698 class RigidMember(RigidBodyMember):
8699 """Proxy of C++ IMP::core::RigidMember class"""
8700 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8702 def __init__(self, *args):
8704 __init__(IMP::core::RigidMember self) -> RigidMember
8705 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8706 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8708 this = _IMP_core.new_RigidMember(*args)
8710 self.this.append(this)
8714 def show(self, *args):
8716 show(RigidMember self, _ostream out)
8717 show(RigidMember self)
8719 return _IMP_core.RigidMember_show(self, *args)
8721 __swig_destroy__ = _IMP_core.delete_RigidMember
8722 __del__ =
lambda self:
None
8724 def get_is_setup(*args):
8726 get_is_setup(_ParticleAdaptor p) -> bool
8727 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8729 return _IMP_core.RigidMember_get_is_setup(*args)
8731 get_is_setup = staticmethod(get_is_setup)
8733 def add_attribute(self, *args):
8735 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8736 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8737 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8738 add_attribute(RigidMember self, FloatsKey a0, IMP::Floats a1)
8739 add_attribute(RigidMember self, IntsKey a0, IMP::Ints a1)
8740 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8741 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8742 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8744 return _IMP_core.RigidMember_add_attribute(self, *args)
8747 def get_value(self, *args):
8749 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8750 get_value(RigidMember self, IntKey a0) -> IMP::Int
8751 get_value(RigidMember self, FloatsKey a0) -> IMP::Floats
8752 get_value(RigidMember self, IntsKey a0) -> IMP::Ints
8753 get_value(RigidMember self, StringKey a0) -> IMP::String
8754 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8755 get_value(RigidMember self, ObjectKey a0) -> Object
8757 return _IMP_core.RigidMember_get_value(self, *args)
8760 def set_value(self, *args):
8762 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8763 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8764 set_value(RigidMember self, FloatsKey a0, IMP::Floats a1)
8765 set_value(RigidMember self, IntsKey a0, IMP::Ints a1)
8766 set_value(RigidMember self, StringKey a0, IMP::String a1)
8767 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8768 set_value(RigidMember self, ObjectKey a0, Object a1)
8770 return _IMP_core.RigidMember_set_value(self, *args)
8773 def remove_attribute(self, *args):
8775 remove_attribute(RigidMember self, FloatKey a0)
8776 remove_attribute(RigidMember self, IntKey a0)
8777 remove_attribute(RigidMember self, FloatsKey a0)
8778 remove_attribute(RigidMember self, IntsKey a0)
8779 remove_attribute(RigidMember self, StringKey a0)
8780 remove_attribute(RigidMember self, ParticleIndexKey a0)
8781 remove_attribute(RigidMember self, ObjectKey a0)
8783 return _IMP_core.RigidMember_remove_attribute(self, *args)
8786 def has_attribute(self, *args):
8788 has_attribute(RigidMember self, FloatKey a0) -> bool
8789 has_attribute(RigidMember self, IntKey a0) -> bool
8790 has_attribute(RigidMember self, FloatsKey a0) -> bool
8791 has_attribute(RigidMember self, IntsKey a0) -> bool
8792 has_attribute(RigidMember self, StringKey a0) -> bool
8793 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8794 has_attribute(RigidMember self, ObjectKey a0) -> bool
8796 return _IMP_core.RigidMember_has_attribute(self, *args)
8799 def get_derivative(self, a0):
8800 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8801 return _IMP_core.RigidMember_get_derivative(self, a0)
8805 """get_name(RigidMember self) -> std::string"""
8806 return _IMP_core.RigidMember_get_name(self)
8809 def clear_caches(self):
8810 """clear_caches(RigidMember self)"""
8811 return _IMP_core.RigidMember_clear_caches(self)
8814 def set_name(self, a0):
8815 """set_name(RigidMember self, std::string a0)"""
8816 return _IMP_core.RigidMember_set_name(self, a0)
8820 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8821 return _IMP_core.RigidMember_set_check_level(self, a0)
8824 def add_to_derivative(self, a0, a1, a2):
8825 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8826 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8829 def set_is_optimized(self, a0, a1):
8830 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8831 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8834 def get_is_optimized(self, a0):
8835 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8836 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8840 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8841 return _IMP_core.RigidMember_get_check_level(self)
8844 def __eq__(self, *args):
8846 __eq__(RigidMember self, RigidMember o) -> bool
8847 __eq__(RigidMember self, Particle d) -> bool
8849 return _IMP_core.RigidMember___eq__(self, *args)
8852 def __ne__(self, *args):
8854 __ne__(RigidMember self, RigidMember o) -> bool
8855 __ne__(RigidMember self, Particle d) -> bool
8857 return _IMP_core.RigidMember___ne__(self, *args)
8860 def __le__(self, *args):
8862 __le__(RigidMember self, RigidMember o) -> bool
8863 __le__(RigidMember self, Particle d) -> bool
8865 return _IMP_core.RigidMember___le__(self, *args)
8868 def __lt__(self, *args):
8870 __lt__(RigidMember self, RigidMember o) -> bool
8871 __lt__(RigidMember self, Particle d) -> bool
8873 return _IMP_core.RigidMember___lt__(self, *args)
8876 def __ge__(self, *args):
8878 __ge__(RigidMember self, RigidMember o) -> bool
8879 __ge__(RigidMember self, Particle d) -> bool
8881 return _IMP_core.RigidMember___ge__(self, *args)
8884 def __gt__(self, *args):
8886 __gt__(RigidMember self, RigidMember o) -> bool
8887 __gt__(RigidMember self, Particle d) -> bool
8889 return _IMP_core.RigidMember___gt__(self, *args)
8893 """__hash__(RigidMember self) -> std::size_t"""
8894 return _IMP_core.RigidMember___hash__(self)
8898 """__str__(RigidMember self) -> std::string"""
8899 return _IMP_core.RigidMember___str__(self)
8903 """__repr__(RigidMember self) -> std::string"""
8904 return _IMP_core.RigidMember___repr__(self)
8906 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8907 RigidMember_swigregister(RigidMember)
8909 def RigidMember_get_is_setup(*args):
8911 get_is_setup(_ParticleAdaptor p) -> bool
8912 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8914 return _IMP_core.RigidMember_get_is_setup(*args)
8916 class NonRigidMember(RigidBodyMember):
8917 """Proxy of C++ IMP::core::NonRigidMember class"""
8918 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8920 def __init__(self, *args):
8922 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8923 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8924 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8926 this = _IMP_core.new_NonRigidMember(*args)
8928 self.this.append(this)
8932 def show(self, *args):
8934 show(NonRigidMember self, _ostream out)
8935 show(NonRigidMember self)
8937 return _IMP_core.NonRigidMember_show(self, *args)
8939 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8940 __del__ =
lambda self:
None
8942 def get_is_setup(*args):
8944 get_is_setup(_ParticleAdaptor p) -> bool
8945 get_is_setup(Model m, ParticleIndex p) -> bool
8947 return _IMP_core.NonRigidMember_get_is_setup(*args)
8949 get_is_setup = staticmethod(get_is_setup)
8951 def add_to_internal_derivatives(self, deriv_parent, da):
8952 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8953 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8956 def add_to_internal_rotational_derivatives(self, *args):
8958 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8959 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8961 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8964 def get_internal_derivatives(self):
8965 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8966 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8969 def get_internal_rotational_derivatives(self):
8970 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8971 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8974 def add_attribute(self, *args):
8976 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8977 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8978 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8979 add_attribute(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8980 add_attribute(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8981 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8982 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8983 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8985 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8988 def get_value(self, *args):
8990 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8991 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8992 get_value(NonRigidMember self, FloatsKey a0) -> IMP::Floats
8993 get_value(NonRigidMember self, IntsKey a0) -> IMP::Ints
8994 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8995 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8996 get_value(NonRigidMember self, ObjectKey a0) -> Object
8998 return _IMP_core.NonRigidMember_get_value(self, *args)
9001 def set_value(self, *args):
9003 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
9004 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
9005 set_value(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
9006 set_value(NonRigidMember self, IntsKey a0, IMP::Ints a1)
9007 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
9008 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
9009 set_value(NonRigidMember self, ObjectKey a0, Object a1)
9011 return _IMP_core.NonRigidMember_set_value(self, *args)
9014 def remove_attribute(self, *args):
9016 remove_attribute(NonRigidMember self, FloatKey a0)
9017 remove_attribute(NonRigidMember self, IntKey a0)
9018 remove_attribute(NonRigidMember self, FloatsKey a0)
9019 remove_attribute(NonRigidMember self, IntsKey a0)
9020 remove_attribute(NonRigidMember self, StringKey a0)
9021 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
9022 remove_attribute(NonRigidMember self, ObjectKey a0)
9024 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
9027 def has_attribute(self, *args):
9029 has_attribute(NonRigidMember self, FloatKey a0) -> bool
9030 has_attribute(NonRigidMember self, IntKey a0) -> bool
9031 has_attribute(NonRigidMember self, FloatsKey a0) -> bool
9032 has_attribute(NonRigidMember self, IntsKey a0) -> bool
9033 has_attribute(NonRigidMember self, StringKey a0) -> bool
9034 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
9035 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
9037 return _IMP_core.NonRigidMember_has_attribute(self, *args)
9040 def get_derivative(self, a0):
9041 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
9042 return _IMP_core.NonRigidMember_get_derivative(self, a0)
9046 """get_name(NonRigidMember self) -> std::string"""
9047 return _IMP_core.NonRigidMember_get_name(self)
9050 def clear_caches(self):
9051 """clear_caches(NonRigidMember self)"""
9052 return _IMP_core.NonRigidMember_clear_caches(self)
9055 def set_name(self, a0):
9056 """set_name(NonRigidMember self, std::string a0)"""
9057 return _IMP_core.NonRigidMember_set_name(self, a0)
9061 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
9062 return _IMP_core.NonRigidMember_set_check_level(self, a0)
9065 def add_to_derivative(self, a0, a1, a2):
9066 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9067 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
9070 def set_is_optimized(self, a0, a1):
9071 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
9072 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
9075 def get_is_optimized(self, a0):
9076 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
9077 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
9081 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
9082 return _IMP_core.NonRigidMember_get_check_level(self)
9085 def __eq__(self, *args):
9087 __eq__(NonRigidMember self, NonRigidMember o) -> bool
9088 __eq__(NonRigidMember self, Particle d) -> bool
9090 return _IMP_core.NonRigidMember___eq__(self, *args)
9093 def __ne__(self, *args):
9095 __ne__(NonRigidMember self, NonRigidMember o) -> bool
9096 __ne__(NonRigidMember self, Particle d) -> bool
9098 return _IMP_core.NonRigidMember___ne__(self, *args)
9101 def __le__(self, *args):
9103 __le__(NonRigidMember self, NonRigidMember o) -> bool
9104 __le__(NonRigidMember self, Particle d) -> bool
9106 return _IMP_core.NonRigidMember___le__(self, *args)
9109 def __lt__(self, *args):
9111 __lt__(NonRigidMember self, NonRigidMember o) -> bool
9112 __lt__(NonRigidMember self, Particle d) -> bool
9114 return _IMP_core.NonRigidMember___lt__(self, *args)
9117 def __ge__(self, *args):
9119 __ge__(NonRigidMember self, NonRigidMember o) -> bool
9120 __ge__(NonRigidMember self, Particle d) -> bool
9122 return _IMP_core.NonRigidMember___ge__(self, *args)
9125 def __gt__(self, *args):
9127 __gt__(NonRigidMember self, NonRigidMember o) -> bool
9128 __gt__(NonRigidMember self, Particle d) -> bool
9130 return _IMP_core.NonRigidMember___gt__(self, *args)
9134 """__hash__(NonRigidMember self) -> std::size_t"""
9135 return _IMP_core.NonRigidMember___hash__(self)
9139 """__str__(NonRigidMember self) -> std::string"""
9140 return _IMP_core.NonRigidMember___str__(self)
9144 """__repr__(NonRigidMember self) -> std::string"""
9145 return _IMP_core.NonRigidMember___repr__(self)
9147 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
9148 NonRigidMember_swigregister(NonRigidMember)
9150 def NonRigidMember_get_is_setup(*args):
9152 get_is_setup(_ParticleAdaptor p) -> bool
9153 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
9155 return _IMP_core.NonRigidMember_get_is_setup(*args)
9158 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
9159 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9161 def __init__(self, *args):
9163 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
9164 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
9166 this = _IMP_core.new_RigidMembersRefiner(*args)
9168 self.this.append(this)
9172 def do_get_inputs(self, m, pis):
9173 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9174 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
9177 def get_version_info(self):
9178 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
9179 return _IMP_core.RigidMembersRefiner_get_version_info(self)
9183 """__str__(RigidMembersRefiner self) -> std::string"""
9184 return _IMP_core.RigidMembersRefiner___str__(self)
9188 """__repr__(RigidMembersRefiner self) -> std::string"""
9189 return _IMP_core.RigidMembersRefiner___repr__(self)
9194 return _object_cast_to_RigidMembersRefiner(o)
9196 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
9197 RigidMembersRefiner_swigregister(RigidMembersRefiner)
9200 def get_rigid_members_refiner():
9201 """get_rigid_members_refiner() -> RigidMembersRefiner"""
9202 return _IMP_core.get_rigid_members_refiner()
9206 transform(XYZ a, Transformation3D tr)
9207 transform(RigidBody a, Transformation3D tr)
9209 return _IMP_core.transform(*args)
9213 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
9214 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9216 return _IMP_core.get_initial_reference_frame(*args)
9220 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9221 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9223 return _IMP_core.create_rigid_bodies(m, n, no_members)
9227 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9228 show_rigid_body_hierarchy(RigidBody rb)
9230 return _IMP_core.show_rigid_body_hierarchy(*args)
9233 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9234 return _IMP_core.get_root_rigid_body(m)
9236 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
9237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9239 def __init__(self, rb, constituents):
9240 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9241 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9243 self.this.append(this)
9247 def get_version_info(self):
9248 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9249 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9253 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9254 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9258 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9259 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9264 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9266 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9267 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9270 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
9271 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9273 def __init__(self, *args):
9275 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9276 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9278 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9280 self.this.append(this)
9284 def get_version_info(self):
9285 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9286 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9290 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9291 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9295 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9296 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9301 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9303 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9304 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9307 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
9308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9310 def __init__(self, sc):
9311 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9312 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9314 self.this.append(this)
9318 def get_version_info(self):
9319 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9320 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9324 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9325 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9329 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9330 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9335 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9337 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9338 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9341 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
9342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9344 def __init__(self, *args):
9346 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9347 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9349 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9351 self.this.append(this)
9355 def get_version_info(self):
9356 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9357 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9361 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9362 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9366 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9367 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9372 return _object_cast_to_RigidBodyFrameGeometry(o)
9374 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9375 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9378 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
9379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9381 def __init__(self, sc):
9382 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9383 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9385 self.this.append(this)
9389 def get_version_info(self):
9390 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9391 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9395 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9396 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9400 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9401 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9406 return _object_cast_to_RigidBodyFramesGeometry(o)
9408 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9409 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9412 """Proxy of C++ IMP::core::RigidBodyTorque class"""
9413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9415 def __init__(self, p):
9416 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9417 this = _IMP_core.new_RigidBodyTorque(p)
9419 self.this.append(this)
9424 """__str__(RigidBodyTorque self) -> std::string"""
9425 return _IMP_core.RigidBodyTorque___str__(self)
9429 """__repr__(RigidBodyTorque self) -> std::string"""
9430 return _IMP_core.RigidBodyTorque___repr__(self)
9435 return _object_cast_to_RigidBodyTorque(o)
9437 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9438 __del__ =
lambda self:
None
9439 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9440 RigidBodyTorque_swigregister(RigidBodyTorque)
9442 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9443 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
9444 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9447 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9448 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9450 self.this.append(this)
9454 def get_close_pairs(self, *args):
9456 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9457 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9458 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9459 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9461 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9464 def do_get_inputs(self, m, pis):
9465 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9466 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9469 def get_version_info(self):
9470 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9471 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9475 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9476 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9480 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9481 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9486 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9488 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9489 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9492 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
9493 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9495 def __init__(self, *args):
9497 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9498 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9499 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9500 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9501 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9503 this = _IMP_core.new_RestraintsScoringFunction(*args)
9505 self.this.append(this)
9509 def do_add_score_and_derivatives(self, sa, ss):
9510 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9511 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9514 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss):
9515 """do_add_score_and_derivatives_moved(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis, IMP::ScoreStatesTemp const & ss)"""
9516 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss)
9519 def do_get_inputs(self):
9520 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9521 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9524 def get_version_info(self):
9525 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9526 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9530 """__str__(RestraintsScoringFunction self) -> std::string"""
9531 return _IMP_core.RestraintsScoringFunction___str__(self)
9535 """__repr__(RestraintsScoringFunction self) -> std::string"""
9536 return _IMP_core.RestraintsScoringFunction___repr__(self)
9541 return _object_cast_to_RestraintsScoringFunction(o)
9543 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9544 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9546 class RigidClosePairsFinder(ClosePairsFinder):
9547 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
9548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9550 def __init__(self, cpf=None):
9552 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9553 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9555 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9557 self.this.append(this)
9561 def do_get_inputs(self, m, pis):
9562 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9563 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9566 def get_close_pairs(self, *args):
9568 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9569 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9570 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9571 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9572 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9574 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9577 def get_version_info(self):
9578 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9579 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9583 """__str__(RigidClosePairsFinder self) -> std::string"""
9584 return _IMP_core.RigidClosePairsFinder___str__(self)
9588 """__repr__(RigidClosePairsFinder self) -> std::string"""
9589 return _IMP_core.RigidClosePairsFinder___repr__(self)
9594 return _object_cast_to_RigidClosePairsFinder(o)
9596 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9597 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9600 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
9601 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9603 def __init__(self, *args):
9605 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9606 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9608 this = _IMP_core.new_SphereDistancePairScore(*args)
9610 self.this.append(this)
9614 def do_get_inputs(self, m, pis):
9615 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9616 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9619 def get_version_info(self):
9620 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9621 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9625 """__str__(SphereDistancePairScore self) -> std::string"""
9626 return _IMP_core.SphereDistancePairScore___str__(self)
9630 """__repr__(SphereDistancePairScore self) -> std::string"""
9631 return _IMP_core.SphereDistancePairScore___repr__(self)
9636 return _object_cast_to_SphereDistancePairScore(o)
9638 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9639 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9641 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9642 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
9643 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9645 def __init__(self, *args):
9647 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9648 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9650 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9652 self.this.append(this)
9656 def do_get_inputs(self, m, pis):
9657 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9658 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9661 def get_version_info(self):
9662 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9663 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9667 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9668 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9672 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9673 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9678 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9680 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9681 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9683 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9684 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
9685 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9687 def __init__(self, d0, k):
9688 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9689 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9691 self.this.append(this)
9695 def get_rest_length(self):
9696 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9697 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9700 def get_stiffness(self):
9701 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9702 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9705 def do_get_inputs(self, m, pis):
9706 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9707 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9710 def get_version_info(self):
9711 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9712 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9716 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9717 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9721 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9722 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9727 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9729 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9730 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9733 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
9734 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9736 def __init__(self, *args):
9738 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9739 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9741 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9743 self.this.append(this)
9747 def do_get_inputs(self, m, pis):
9748 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9749 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9752 def get_version_info(self):
9753 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9754 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9758 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9759 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9763 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9764 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9769 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9771 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9772 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9775 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
9776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9778 def __init__(self, *args):
9780 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9781 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9783 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9785 self.this.append(this)
9789 def do_get_inputs(self, m, pis):
9790 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9791 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9794 def get_version_info(self):
9795 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9796 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9800 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9801 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9805 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9806 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9811 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9813 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9814 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9817 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
9818 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9820 def __init__(self, *args):
9822 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9823 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9825 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9827 self.this.append(this)
9831 def do_get_inputs(self, m, pis):
9832 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9833 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9836 def get_version_info(self):
9837 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9838 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9842 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9843 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9847 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9848 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9853 return _object_cast_to_WeightedSphereDistancePairScore(o)
9855 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9856 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9859 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
9860 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9862 def __init__(self, *args):
9864 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9865 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9867 this = _IMP_core.new_SoftSpherePairScore(*args)
9869 self.this.append(this)
9873 def do_get_inputs(self, m, pis):
9874 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9875 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9878 def get_version_info(self):
9879 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9880 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9884 """__str__(SoftSpherePairScore self) -> std::string"""
9885 return _IMP_core.SoftSpherePairScore___str__(self)
9889 """__repr__(SoftSpherePairScore self) -> std::string"""
9890 return _IMP_core.SoftSpherePairScore___repr__(self)
9895 return _object_cast_to_SoftSpherePairScore(o)
9897 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9898 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9901 """Proxy of C++ IMP::core::SurfaceDistancePairScore class"""
9902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9904 def __init__(self, *args):
9906 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9907 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9909 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9911 self.this.append(this)
9915 def do_get_inputs(self, m, pis):
9916 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9917 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9920 def get_version_info(self):
9921 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9922 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9926 """__str__(SurfaceDistancePairScore self) -> std::string"""
9927 return _IMP_core.SurfaceDistancePairScore___str__(self)
9931 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9932 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9937 return _object_cast_to_SurfaceDistancePairScore(o)
9939 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9940 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9943 """Proxy of C++ IMP::core::SurfaceHeightPairScore class"""
9944 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9946 def __init__(self, *args):
9948 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9949 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9951 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9953 self.this.append(this)
9957 def do_get_inputs(self, m, pis):
9958 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9959 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9962 def get_version_info(self):
9963 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9964 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9968 """__str__(SurfaceHeightPairScore self) -> std::string"""
9969 return _IMP_core.SurfaceHeightPairScore___str__(self)
9973 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9974 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9979 return _object_cast_to_SurfaceHeightPairScore(o)
9981 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9982 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9985 """Proxy of C++ IMP::core::SurfaceDepthPairScore class"""
9986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9988 def __init__(self, *args):
9990 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9991 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9993 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9995 self.this.append(this)
9999 def do_get_inputs(self, m, pis):
10000 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10001 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
10004 def get_version_info(self):
10005 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
10006 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
10010 """__str__(SurfaceDepthPairScore self) -> std::string"""
10011 return _IMP_core.SurfaceDepthPairScore___str__(self)
10014 def __repr__(self):
10015 """__repr__(SurfaceDepthPairScore self) -> std::string"""
10016 return _IMP_core.SurfaceDepthPairScore___repr__(self)
10021 return _object_cast_to_SurfaceDepthPairScore(o)
10023 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
10024 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
10027 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class"""
10028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10030 def __init__(self, *args):
10032 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
10033 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
10035 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
10037 self.this.append(this)
10041 def do_get_inputs(self, m, pis):
10042 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10043 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
10046 def get_version_info(self):
10047 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
10048 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
10052 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10053 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
10056 def __repr__(self):
10057 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10058 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
10063 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
10065 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
10066 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
10069 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class"""
10070 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10072 def __init__(self, *args):
10074 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
10075 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
10077 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
10079 self.this.append(this)
10083 def do_get_inputs(self, m, pis):
10084 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10085 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
10088 def get_version_info(self):
10089 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
10090 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
10094 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10095 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
10098 def __repr__(self):
10099 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10100 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
10105 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
10107 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
10108 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
10111 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class"""
10112 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10114 def __init__(self, *args):
10116 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
10117 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
10119 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
10121 self.this.append(this)
10125 def do_get_inputs(self, m, pis):
10126 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10127 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
10130 def get_version_info(self):
10131 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
10132 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
10136 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10137 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
10140 def __repr__(self):
10141 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10142 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
10147 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
10149 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
10150 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
10153 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class"""
10154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10156 def __init__(self, *args):
10158 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
10159 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
10161 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
10163 self.this.append(this)
10167 def do_get_inputs(self, m, pis):
10168 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10169 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
10172 def get_version_info(self):
10173 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
10174 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
10178 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
10179 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
10182 def __repr__(self):
10183 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
10184 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
10189 return _object_cast_to_SoftSuperSurfacePairScore(o)
10191 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
10192 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
10195 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class"""
10196 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10198 def __init__(self, *args):
10200 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10201 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10203 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10205 self.this.append(this)
10209 def do_get_inputs(self, m, pis):
10210 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10211 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10214 def get_version_info(self):
10215 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10216 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10220 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10221 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10224 def __repr__(self):
10225 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10226 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10231 return _object_cast_to_SoftSubSurfacePairScore(o)
10233 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10234 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10237 """Proxy of C++ IMP::core::SurfaceTetheredChain class"""
10238 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10240 def __init__(self, link_num, link_length):
10241 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10242 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10244 self.this.append(this)
10248 def get_version_info(self):
10249 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10250 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10253 def get_link_number(self):
10254 """get_link_number(SurfaceTetheredChain self) -> int"""
10255 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10258 def get_link_length(self):
10259 """get_link_length(SurfaceTetheredChain self) -> double"""
10260 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10263 def set_link_number(self, N):
10264 """set_link_number(SurfaceTetheredChain self, int N)"""
10265 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10268 def set_link_length(self, b):
10269 """set_link_length(SurfaceTetheredChain self, double b)"""
10270 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10273 def get_distance_at_minimum(self):
10274 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10275 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10278 def get_average_distance(self):
10279 """get_average_distance(SurfaceTetheredChain self) -> double"""
10280 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10284 """__str__(SurfaceTetheredChain self) -> std::string"""
10285 return _IMP_core.SurfaceTetheredChain___str__(self)
10288 def __repr__(self):
10289 """__repr__(SurfaceTetheredChain self) -> std::string"""
10290 return _IMP_core.SurfaceTetheredChain___repr__(self)
10295 return _object_cast_to_SurfaceTetheredChain(o)
10297 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10298 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10301 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class"""
10302 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10304 def __init__(self, m, ss, rbs):
10305 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10306 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10308 self.this.append(this)
10312 def do_get_inputs(self):
10313 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10314 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10317 def do_get_outputs(self):
10318 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10319 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10322 def get_version_info(self):
10323 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10324 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10328 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10329 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10332 def __repr__(self):
10333 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10334 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10339 return _object_cast_to_SurfaceSymmetryConstraint(o)
10341 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10342 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10345 """Proxy of C++ IMP::core::SteepestDescent class"""
10346 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10348 def __init__(self, *args):
10350 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10351 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10353 this = _IMP_core.new_SteepestDescent(*args)
10355 self.this.append(this)
10359 def do_optimize(self, max_steps):
10360 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10361 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10364 def get_version_info(self):
10365 """get_version_info(SteepestDescent self) -> VersionInfo"""
10366 return _IMP_core.SteepestDescent_get_version_info(self)
10369 def set_threshold(self, t):
10370 """set_threshold(SteepestDescent self, IMP::Float t)"""
10371 return _IMP_core.SteepestDescent_set_threshold(self, t)
10374 def set_step_size(self, t):
10375 """set_step_size(SteepestDescent self, IMP::Float t)"""
10376 return _IMP_core.SteepestDescent_set_step_size(self, t)
10379 def set_maximum_step_size(self, t):
10380 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10381 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10385 """__str__(SteepestDescent self) -> std::string"""
10386 return _IMP_core.SteepestDescent___str__(self)
10389 def __repr__(self):
10390 """__repr__(SteepestDescent self) -> std::string"""
10391 return _IMP_core.SteepestDescent___repr__(self)
10396 return _object_cast_to_SteepestDescent(o)
10398 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10399 SteepestDescent_swigregister(SteepestDescent)
10402 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
10403 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10405 def __init__(self, f, transformation):
10406 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10407 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10409 self.this.append(this)
10413 def set_transformation(self, rot):
10414 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10415 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10418 def do_get_inputs(self, m, pis):
10419 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10420 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10423 def get_version_info(self):
10424 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10425 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10429 """__str__(TransformedDistancePairScore self) -> std::string"""
10430 return _IMP_core.TransformedDistancePairScore___str__(self)
10433 def __repr__(self):
10434 """__repr__(TransformedDistancePairScore self) -> std::string"""
10435 return _IMP_core.TransformedDistancePairScore___repr__(self)
10440 return _object_cast_to_TransformedDistancePairScore(o)
10442 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10443 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10446 """Proxy of C++ IMP::core::TypedPairScore class"""
10447 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10449 def __init__(self, typekey, allow_invalid_types=True):
10451 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10452 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10454 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10456 self.this.append(this)
10460 def set_particle_type(self, arg2):
10461 """set_particle_type(TypedPairScore self, Particle arg2)"""
10462 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10465 def set_pair_score(self, ps, atype, btype):
10466 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10467 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10470 def do_get_inputs(self, m, pis):
10471 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10472 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10475 def get_version_info(self):
10476 """get_version_info(TypedPairScore self) -> VersionInfo"""
10477 return _IMP_core.TypedPairScore_get_version_info(self)
10481 """__str__(TypedPairScore self) -> std::string"""
10482 return _IMP_core.TypedPairScore___str__(self)
10485 def __repr__(self):
10486 """__repr__(TypedPairScore self) -> std::string"""
10487 return _IMP_core.TypedPairScore___repr__(self)
10492 return _object_cast_to_TypedPairScore(o)
10494 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10495 TypedPairScore_swigregister(TypedPairScore)
10497 class RigidBodyDistancePairScore(KClosePairsPairScore):
10498 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
10499 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10501 def __init__(self, ps, r):
10502 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10503 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10505 self.this.append(this)
10510 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10511 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10514 def __repr__(self):
10515 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10516 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10521 return _object_cast_to_RigidBodyDistancePairScore(o)
10523 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10524 __del__ =
lambda self:
None
10525 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10526 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10529 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class"""
10530 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10532 def __init__(self, f):
10533 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10534 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10536 self.this.append(this)
10540 def do_get_inputs(self, m, pis):
10541 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10542 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10545 def get_version_info(self):
10546 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10547 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10551 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10552 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10555 def __repr__(self):
10556 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10557 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10562 return _object_cast_to_RigidBodyAnglePairScore(o)
10564 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10565 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10568 """Proxy of C++ IMP::core::TableRefiner class"""
10569 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10571 def __init__(self):
10572 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10573 this = _IMP_core.new_TableRefiner()
10575 self.this.append(this)
10580 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10581 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10584 def remove_particle(self, p):
10585 """remove_particle(TableRefiner self, Particle p)"""
10586 return _IMP_core.TableRefiner_remove_particle(self, p)
10589 def set_particle(self, p, ps):
10590 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10591 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10594 def do_get_inputs(self, m, pis):
10595 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10596 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10599 def get_version_info(self):
10600 """get_version_info(TableRefiner self) -> VersionInfo"""
10601 return _IMP_core.TableRefiner_get_version_info(self)
10605 """__str__(TableRefiner self) -> std::string"""
10606 return _IMP_core.TableRefiner___str__(self)
10609 def __repr__(self):
10610 """__repr__(TableRefiner self) -> std::string"""
10611 return _IMP_core.TableRefiner___repr__(self)
10616 return _object_cast_to_TableRefiner(o)
10618 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10619 TableRefiner_swigregister(TableRefiner)
10622 _IMP_core.LOWER_swigconstant(_IMP_core)
10623 LOWER = _IMP_core.LOWER
10625 _IMP_core.BOTH_swigconstant(_IMP_core)
10626 BOTH = _IMP_core.BOTH
10628 _IMP_core.UPPER_swigconstant(_IMP_core)
10629 UPPER = _IMP_core.UPPER
10631 """Proxy of C++ IMP::core::MCCGSampler class"""
10632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10634 def __init__(self, *args):
10636 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10637 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10639 this = _IMP_core.new_MCCGSampler(*args)
10641 self.this.append(this)
10645 def set_bounding_box(self, bb):
10646 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10647 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10650 def set_number_of_attempts(self, att):
10651 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10652 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10655 def set_number_of_monte_carlo_steps(self, cg):
10656 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10657 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10660 def set_number_of_conjugate_gradient_steps(self, cg):
10661 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10662 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10665 def set_max_monte_carlo_step_size(self, *args):
10667 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10668 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10670 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10673 def set_is_refining(self, tf):
10674 """set_is_refining(MCCGSampler self, bool tf)"""
10675 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10678 def set_local_optimizer(self, opt):
10679 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10680 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10683 def set_save_rejected_configurations(self, tf):
10684 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10685 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10688 def get_rejected_configurations(self):
10689 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10690 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10693 def remove_optimizer_state(self, d):
10694 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10695 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10698 def remove_optimizer_states(self, d):
10699 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10700 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10703 def set_optimizer_states(self, ps):
10704 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10705 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10708 def set_optimizer_states_order(self, objs):
10709 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10710 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10713 def add_optimizer_state(self, obj):
10714 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10715 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10718 def add_optimizer_states(self, objs):
10719 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10720 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10723 def clear_optimizer_states(self):
10724 """clear_optimizer_states(MCCGSampler self)"""
10725 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10728 def get_number_of_optimizer_states(self):
10729 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10730 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10733 def get_has_optimizer_states(self):
10734 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10735 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10738 def get_optimizer_state(self, i):
10739 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10740 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10743 def get_optimizer_states(self):
10744 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10745 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10748 def reserve_optimizer_states(self, sz):
10749 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10750 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10753 def do_sample(self):
10754 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10755 return _IMP_core.MCCGSampler_do_sample(self)
10758 def get_version_info(self):
10759 """get_version_info(MCCGSampler self) -> VersionInfo"""
10760 return _IMP_core.MCCGSampler_get_version_info(self)
10764 """__str__(MCCGSampler self) -> std::string"""
10765 return _IMP_core.MCCGSampler___str__(self)
10768 def __repr__(self):
10769 """__repr__(MCCGSampler self) -> std::string"""
10770 return _IMP_core.MCCGSampler___repr__(self)
10775 return _object_cast_to_MCCGSampler(o)
10777 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10778 MCCGSampler_swigregister(MCCGSampler)
10781 """Proxy of C++ IMP::core::MinimumRestraint class"""
10782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10784 def __init__(self, *args):
10786 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10787 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10788 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10790 this = _IMP_core.new_MinimumRestraint(*args)
10792 self.this.append(this)
10796 def do_get_inputs(self):
10797 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10798 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10801 def get_version_info(self):
10802 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10803 return _IMP_core.MinimumRestraint_get_version_info(self)
10806 def remove_restraint(self, d):
10807 """remove_restraint(MinimumRestraint self, Restraint d)"""
10808 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10811 def remove_restraints(self, d):
10812 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10813 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10816 def set_restraints(self, ps):
10817 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10818 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10821 def set_restraints_order(self, objs):
10822 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10823 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10827 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10828 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10832 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10833 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10836 def clear_restraints(self):
10837 """clear_restraints(MinimumRestraint self)"""
10838 return _IMP_core.MinimumRestraint_clear_restraints(self)
10841 def get_number_of_restraints(self):
10842 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10843 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10846 def get_has_restraints(self):
10847 """get_has_restraints(MinimumRestraint self) -> bool"""
10848 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10851 def get_restraint(self, i):
10852 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10853 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10856 def get_restraints(self):
10857 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10858 return _IMP_core.MinimumRestraint_get_restraints(self)
10861 def reserve_restraints(self, sz):
10862 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10863 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10867 """__str__(MinimumRestraint self) -> std::string"""
10868 return _IMP_core.MinimumRestraint___str__(self)
10871 def __repr__(self):
10872 """__repr__(MinimumRestraint self) -> std::string"""
10873 return _IMP_core.MinimumRestraint___repr__(self)
10878 return _object_cast_to_MinimumRestraint(o)
10880 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10881 MinimumRestraint_swigregister(MinimumRestraint)
10883 class Gaussian(RigidBody):
10884 """Proxy of C++ IMP::core::Gaussian class"""
10885 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10887 def __init__(self, *args):
10889 __init__(IMP::core::Gaussian self) -> Gaussian
10890 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10891 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10893 this = _IMP_core.new_Gaussian(*args)
10895 self.this.append(this)
10899 def show(self, *args):
10901 show(Gaussian self, _ostream out)
10902 show(Gaussian self)
10904 return _IMP_core.Gaussian_show(self, *args)
10907 def setup_particle(*args):
10909 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10910 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10911 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10912 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10914 return _IMP_core.Gaussian_setup_particle(*args)
10916 setup_particle = staticmethod(setup_particle)
10918 def get_local_covariance_key():
10919 """get_local_covariance_key() -> ObjectKey"""
10920 return _IMP_core.Gaussian_get_local_covariance_key()
10922 get_local_covariance_key = staticmethod(get_local_covariance_key)
10924 def get_global_covariance_key():
10925 """get_global_covariance_key() -> ObjectKey"""
10926 return _IMP_core.Gaussian_get_global_covariance_key()
10928 get_global_covariance_key = staticmethod(get_global_covariance_key)
10930 def get_is_setup(*args):
10932 get_is_setup(_ParticleAdaptor p) -> bool
10933 get_is_setup(Model m, ParticleIndex pi) -> bool
10935 return _IMP_core.Gaussian_get_is_setup(*args)
10937 get_is_setup = staticmethod(get_is_setup)
10939 def get_local_covariance(self):
10940 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10941 return _IMP_core.Gaussian_get_local_covariance(self)
10944 def get_variances(self):
10945 """get_variances(Gaussian self) -> Vector3D"""
10946 return _IMP_core.Gaussian_get_variances(self)
10949 def get_global_covariance(self):
10950 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10951 return _IMP_core.Gaussian_get_global_covariance(self)
10954 def get_gaussian(self):
10955 """get_gaussian(Gaussian self) -> Gaussian3D"""
10956 return _IMP_core.Gaussian_get_gaussian(self)
10959 def set_gaussian(self, g):
10960 """set_gaussian(Gaussian self, Gaussian3D g)"""
10961 return _IMP_core.Gaussian_set_gaussian(self, g)
10964 def set_local_covariance(self, covar):
10965 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10966 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10969 def set_variances(self, v):
10970 """set_variances(Gaussian self, Vector3D v)"""
10971 return _IMP_core.Gaussian_set_variances(self, v)
10974 def set_global_covariance(self, covar):
10975 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10976 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10979 def update_global_covariance(self):
10980 """update_global_covariance(Gaussian self)"""
10981 return _IMP_core.Gaussian_update_global_covariance(self)
10984 def add_attribute(self, *args):
10986 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10987 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10988 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10989 add_attribute(Gaussian self, FloatsKey a0, IMP::Floats a1)
10990 add_attribute(Gaussian self, IntsKey a0, IMP::Ints a1)
10991 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10992 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10993 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10995 return _IMP_core.Gaussian_add_attribute(self, *args)
10998 def get_value(self, *args):
11000 get_value(Gaussian self, FloatKey a0) -> IMP::Float
11001 get_value(Gaussian self, IntKey a0) -> IMP::Int
11002 get_value(Gaussian self, FloatsKey a0) -> IMP::Floats
11003 get_value(Gaussian self, IntsKey a0) -> IMP::Ints
11004 get_value(Gaussian self, StringKey a0) -> IMP::String
11005 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
11006 get_value(Gaussian self, ObjectKey a0) -> Object
11008 return _IMP_core.Gaussian_get_value(self, *args)
11011 def set_value(self, *args):
11013 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
11014 set_value(Gaussian self, IntKey a0, IMP::Int a1)
11015 set_value(Gaussian self, FloatsKey a0, IMP::Floats a1)
11016 set_value(Gaussian self, IntsKey a0, IMP::Ints a1)
11017 set_value(Gaussian self, StringKey a0, IMP::String a1)
11018 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
11019 set_value(Gaussian self, ObjectKey a0, Object a1)
11021 return _IMP_core.Gaussian_set_value(self, *args)
11024 def remove_attribute(self, *args):
11026 remove_attribute(Gaussian self, FloatKey a0)
11027 remove_attribute(Gaussian self, IntKey a0)
11028 remove_attribute(Gaussian self, FloatsKey a0)
11029 remove_attribute(Gaussian self, IntsKey a0)
11030 remove_attribute(Gaussian self, StringKey a0)
11031 remove_attribute(Gaussian self, ParticleIndexKey a0)
11032 remove_attribute(Gaussian self, ObjectKey a0)
11034 return _IMP_core.Gaussian_remove_attribute(self, *args)
11037 def has_attribute(self, *args):
11039 has_attribute(Gaussian self, FloatKey a0) -> bool
11040 has_attribute(Gaussian self, IntKey a0) -> bool
11041 has_attribute(Gaussian self, FloatsKey a0) -> bool
11042 has_attribute(Gaussian self, IntsKey a0) -> bool
11043 has_attribute(Gaussian self, StringKey a0) -> bool
11044 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
11045 has_attribute(Gaussian self, ObjectKey a0) -> bool
11047 return _IMP_core.Gaussian_has_attribute(self, *args)
11050 def get_derivative(self, a0):
11051 """get_derivative(Gaussian self, FloatKey a0) -> double"""
11052 return _IMP_core.Gaussian_get_derivative(self, a0)
11055 def get_name(self):
11056 """get_name(Gaussian self) -> std::string"""
11057 return _IMP_core.Gaussian_get_name(self)
11060 def clear_caches(self):
11061 """clear_caches(Gaussian self)"""
11062 return _IMP_core.Gaussian_clear_caches(self)
11065 def set_name(self, a0):
11066 """set_name(Gaussian self, std::string a0)"""
11067 return _IMP_core.Gaussian_set_name(self, a0)
11071 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
11072 return _IMP_core.Gaussian_set_check_level(self, a0)
11075 def add_to_derivative(self, a0, a1, a2):
11076 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11077 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
11080 def set_is_optimized(self, a0, a1):
11081 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
11082 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
11085 def get_is_optimized(self, a0):
11086 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
11087 return _IMP_core.Gaussian_get_is_optimized(self, a0)
11091 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
11092 return _IMP_core.Gaussian_get_check_level(self)
11095 def __eq__(self, *args):
11097 __eq__(Gaussian self, Gaussian o) -> bool
11098 __eq__(Gaussian self, Particle d) -> bool
11100 return _IMP_core.Gaussian___eq__(self, *args)
11103 def __ne__(self, *args):
11105 __ne__(Gaussian self, Gaussian o) -> bool
11106 __ne__(Gaussian self, Particle d) -> bool
11108 return _IMP_core.Gaussian___ne__(self, *args)
11111 def __le__(self, *args):
11113 __le__(Gaussian self, Gaussian o) -> bool
11114 __le__(Gaussian self, Particle d) -> bool
11116 return _IMP_core.Gaussian___le__(self, *args)
11119 def __lt__(self, *args):
11121 __lt__(Gaussian self, Gaussian o) -> bool
11122 __lt__(Gaussian self, Particle d) -> bool
11124 return _IMP_core.Gaussian___lt__(self, *args)
11127 def __ge__(self, *args):
11129 __ge__(Gaussian self, Gaussian o) -> bool
11130 __ge__(Gaussian self, Particle d) -> bool
11132 return _IMP_core.Gaussian___ge__(self, *args)
11135 def __gt__(self, *args):
11137 __gt__(Gaussian self, Gaussian o) -> bool
11138 __gt__(Gaussian self, Particle d) -> bool
11140 return _IMP_core.Gaussian___gt__(self, *args)
11143 def __hash__(self):
11144 """__hash__(Gaussian self) -> std::size_t"""
11145 return _IMP_core.Gaussian___hash__(self)
11149 """__str__(Gaussian self) -> std::string"""
11150 return _IMP_core.Gaussian___str__(self)
11153 def __repr__(self):
11154 """__repr__(Gaussian self) -> std::string"""
11155 return _IMP_core.Gaussian___repr__(self)
11157 __swig_destroy__ = _IMP_core.delete_Gaussian
11158 __del__ =
lambda self:
None
11159 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
11160 Gaussian_swigregister(Gaussian)
11162 def Gaussian_setup_particle(*args):
11164 setup_particle(Model m, ParticleIndex pi) -> Gaussian
11165 setup_particle(_ParticleAdaptor decorator) -> Gaussian
11166 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
11167 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
11169 return _IMP_core.Gaussian_setup_particle(*args)
11171 def Gaussian_get_local_covariance_key():
11172 """Gaussian_get_local_covariance_key() -> ObjectKey"""
11173 return _IMP_core.Gaussian_get_local_covariance_key()
11175 def Gaussian_get_global_covariance_key():
11176 """Gaussian_get_global_covariance_key() -> ObjectKey"""
11177 return _IMP_core.Gaussian_get_global_covariance_key()
11179 def Gaussian_get_is_setup(*args):
11181 get_is_setup(_ParticleAdaptor p) -> bool
11182 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
11184 return _IMP_core.Gaussian_get_is_setup(*args)
11187 """Proxy of C++ IMP::core::PairRestraint class"""
11188 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11190 def __init__(self, *args):
11192 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
11193 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
11195 this = _IMP_core.new_PairRestraint(*args)
11197 self.this.append(this)
11201 def get_version_info(self):
11202 """get_version_info(PairRestraint self) -> VersionInfo"""
11203 return _IMP_core.PairRestraint_get_version_info(self)
11207 """__str__(PairRestraint self) -> std::string"""
11208 return _IMP_core.PairRestraint___str__(self)
11211 def __repr__(self):
11212 """__repr__(PairRestraint self) -> std::string"""
11213 return _IMP_core.PairRestraint___repr__(self)
11218 return _object_cast_to_PairRestraint(o)
11220 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11221 PairRestraint_swigregister(PairRestraint)
11224 """Proxy of C++ IMP::core::SingletonRestraint class"""
11225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11227 def __init__(self, *args):
11229 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11230 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11232 this = _IMP_core.new_SingletonRestraint(*args)
11234 self.this.append(this)
11238 def get_version_info(self):
11239 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11240 return _IMP_core.SingletonRestraint_get_version_info(self)
11244 """__str__(SingletonRestraint self) -> std::string"""
11245 return _IMP_core.SingletonRestraint___str__(self)
11248 def __repr__(self):
11249 """__repr__(SingletonRestraint self) -> std::string"""
11250 return _IMP_core.SingletonRestraint___repr__(self)
11255 return _object_cast_to_SingletonRestraint(o)
11257 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11258 SingletonRestraint_swigregister(SingletonRestraint)
11261 """Proxy of C++ IMP::core::TripletRestraint class"""
11262 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11264 def __init__(self, *args):
11266 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11267 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11269 this = _IMP_core.new_TripletRestraint(*args)
11271 self.this.append(this)
11275 def get_version_info(self):
11276 """get_version_info(TripletRestraint self) -> VersionInfo"""
11277 return _IMP_core.TripletRestraint_get_version_info(self)
11281 """__str__(TripletRestraint self) -> std::string"""
11282 return _IMP_core.TripletRestraint___str__(self)
11285 def __repr__(self):
11286 """__repr__(TripletRestraint self) -> std::string"""
11287 return _IMP_core.TripletRestraint___repr__(self)
11292 return _object_cast_to_TripletRestraint(o)
11294 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11295 TripletRestraint_swigregister(TripletRestraint)
11298 """Proxy of C++ IMP::core::QuadRestraint class"""
11299 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11301 def __init__(self, *args):
11303 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11304 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11306 this = _IMP_core.new_QuadRestraint(*args)
11308 self.this.append(this)
11312 def get_version_info(self):
11313 """get_version_info(QuadRestraint self) -> VersionInfo"""
11314 return _IMP_core.QuadRestraint_get_version_info(self)
11318 """__str__(QuadRestraint self) -> std::string"""
11319 return _IMP_core.QuadRestraint___str__(self)
11322 def __repr__(self):
11323 """__repr__(QuadRestraint self) -> std::string"""
11324 return _IMP_core.QuadRestraint___repr__(self)
11329 return _object_cast_to_QuadRestraint(o)
11331 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11332 QuadRestraint_swigregister(QuadRestraint)
11335 """Proxy of C++ IMP::core::SingletonConstraint class"""
11336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11338 def __init__(self, *args):
11340 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11341 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11342 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name, bool can_skip=False) -> SingletonConstraint
11343 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11344 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11346 this = _IMP_core.new_SingletonConstraint(*args)
11348 self.this.append(this)
11352 def get_version_info(self):
11353 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11354 return _IMP_core.SingletonConstraint_get_version_info(self)
11358 """__str__(SingletonConstraint self) -> std::string"""
11359 return _IMP_core.SingletonConstraint___str__(self)
11362 def __repr__(self):
11363 """__repr__(SingletonConstraint self) -> std::string"""
11364 return _IMP_core.SingletonConstraint___repr__(self)
11369 return _object_cast_to_SingletonConstraint(o)
11371 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11372 SingletonConstraint_swigregister(SingletonConstraint)
11375 """Proxy of C++ IMP::core::PairConstraint class"""
11376 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11378 def __init__(self, *args):
11380 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11381 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11382 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name, bool can_skip=False) -> PairConstraint
11383 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11384 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11386 this = _IMP_core.new_PairConstraint(*args)
11388 self.this.append(this)
11392 def get_version_info(self):
11393 """get_version_info(PairConstraint self) -> VersionInfo"""
11394 return _IMP_core.PairConstraint_get_version_info(self)
11398 """__str__(PairConstraint self) -> std::string"""
11399 return _IMP_core.PairConstraint___str__(self)
11402 def __repr__(self):
11403 """__repr__(PairConstraint self) -> std::string"""
11404 return _IMP_core.PairConstraint___repr__(self)
11409 return _object_cast_to_PairConstraint(o)
11411 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11412 PairConstraint_swigregister(PairConstraint)
11415 """Proxy of C++ IMP::core::TripletConstraint class"""
11416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11418 def __init__(self, *args):
11420 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11421 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11422 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name, bool can_skip=False) -> TripletConstraint
11423 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11424 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11426 this = _IMP_core.new_TripletConstraint(*args)
11428 self.this.append(this)
11432 def get_version_info(self):
11433 """get_version_info(TripletConstraint self) -> VersionInfo"""
11434 return _IMP_core.TripletConstraint_get_version_info(self)
11438 """__str__(TripletConstraint self) -> std::string"""
11439 return _IMP_core.TripletConstraint___str__(self)
11442 def __repr__(self):
11443 """__repr__(TripletConstraint self) -> std::string"""
11444 return _IMP_core.TripletConstraint___repr__(self)
11449 return _object_cast_to_TripletConstraint(o)
11451 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11452 TripletConstraint_swigregister(TripletConstraint)
11455 """Proxy of C++ IMP::core::QuadConstraint class"""
11456 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11458 def __init__(self, *args):
11460 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11461 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11462 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name, bool can_skip=False) -> QuadConstraint
11463 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11464 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11466 this = _IMP_core.new_QuadConstraint(*args)
11468 self.this.append(this)
11472 def get_version_info(self):
11473 """get_version_info(QuadConstraint self) -> VersionInfo"""
11474 return _IMP_core.QuadConstraint_get_version_info(self)
11478 """__str__(QuadConstraint self) -> std::string"""
11479 return _IMP_core.QuadConstraint___str__(self)
11482 def __repr__(self):
11483 """__repr__(QuadConstraint self) -> std::string"""
11484 return _IMP_core.QuadConstraint___repr__(self)
11489 return _object_cast_to_QuadConstraint(o)
11491 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11492 QuadConstraint_swigregister(QuadConstraint)
11495 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
11496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11498 def __init__(self, *args):
11500 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11501 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11503 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11505 self.this.append(this)
11509 def do_get_inputs(self, arg2, arg3):
11510 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11511 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11514 def get_value(self, *args):
11516 get_value(ConstantSingletonPredicate self, Particle a) -> int
11517 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11519 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11522 def get_value_index(self, *args):
11524 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11525 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11527 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11530 def get_version_info(self):
11531 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11532 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11536 """__str__(ConstantSingletonPredicate self) -> std::string"""
11537 return _IMP_core.ConstantSingletonPredicate___str__(self)
11540 def __repr__(self):
11541 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11542 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11547 return _object_cast_to_ConstantSingletonPredicate(o)
11549 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11550 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11553 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
11554 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11556 def __init__(self, *args):
11558 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11559 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11561 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11563 self.this.append(this)
11567 def do_get_inputs(self, m, pis):
11568 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11569 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11572 def get_value(self, *args):
11574 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11575 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11577 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11580 def get_value_index(self, *args):
11582 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11583 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11585 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11588 def get_version_info(self):
11589 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11590 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11594 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11595 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11598 def __repr__(self):
11599 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11600 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11605 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11607 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11608 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11611 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
11612 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11614 def __init__(self, *args):
11616 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11617 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11619 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11621 self.this.append(this)
11625 def do_get_inputs(self, m, pis):
11626 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11627 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11630 def get_value(self, *args):
11632 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11633 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11634 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11636 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11639 def get_value_index(self, *args):
11641 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11642 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11644 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11647 def get_version_info(self):
11648 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11649 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11653 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11654 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11657 def __repr__(self):
11658 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11659 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11664 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11666 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11667 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11670 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
11671 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11673 def __init__(self, *args):
11675 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11676 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11678 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11680 self.this.append(this)
11684 def do_get_inputs(self, arg2, arg3):
11685 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11686 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11689 def get_value(self, *args):
11691 get_value(AllSameSingletonPredicate self, Particle a) -> int
11692 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11694 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11697 def get_value_index(self, *args):
11699 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11700 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11702 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11705 def get_version_info(self):
11706 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11707 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11711 """__str__(AllSameSingletonPredicate self) -> std::string"""
11712 return _IMP_core.AllSameSingletonPredicate___str__(self)
11715 def __repr__(self):
11716 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11717 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11722 return _object_cast_to_AllSameSingletonPredicate(o)
11724 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11725 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11728 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
11729 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11731 def __init__(self, *args):
11733 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11734 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11736 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11738 self.this.append(this)
11742 def do_get_inputs(self, arg2, arg3):
11743 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11744 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11747 def get_value(self, *args):
11749 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11750 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11752 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11755 def get_value_index(self, *args):
11757 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11758 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11760 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11763 def get_version_info(self):
11764 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11765 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11769 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11770 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11773 def __repr__(self):
11774 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11775 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11780 return _object_cast_to_CoinFlipSingletonPredicate(o)
11782 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11783 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11786 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
11787 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11789 def __init__(self, *args):
11791 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11792 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11794 this = _IMP_core.new_ConstantPairPredicate(*args)
11796 self.this.append(this)
11800 def do_get_inputs(self, arg2, arg3):
11801 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11802 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11805 def get_value(self, *args):
11807 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11808 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11810 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11813 def get_value_index(self, *args):
11815 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11816 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11818 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11821 def get_version_info(self):
11822 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11823 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11827 """__str__(ConstantPairPredicate self) -> std::string"""
11828 return _IMP_core.ConstantPairPredicate___str__(self)
11831 def __repr__(self):
11832 """__repr__(ConstantPairPredicate self) -> std::string"""
11833 return _IMP_core.ConstantPairPredicate___repr__(self)
11838 return _object_cast_to_ConstantPairPredicate(o)
11840 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11841 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11844 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
11845 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11847 def __init__(self, *args):
11849 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11850 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11852 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11854 self.this.append(this)
11858 def do_get_inputs(self, m, pis):
11859 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11860 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11863 def get_value(self, *args):
11865 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11866 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11868 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11871 def get_value_index(self, *args):
11873 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11874 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11876 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11879 def get_version_info(self):
11880 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11881 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11885 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11886 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11889 def __repr__(self):
11890 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11891 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11896 return _object_cast_to_UnorderedTypePairPredicate(o)
11898 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11899 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11902 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
11903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11905 def __init__(self, *args):
11907 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11908 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11910 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11912 self.this.append(this)
11916 def do_get_inputs(self, m, pis):
11917 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11918 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11921 def get_value(self, *args):
11923 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11924 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11925 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11927 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11930 def get_value_index(self, *args):
11932 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11933 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11935 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11938 def get_version_info(self):
11939 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11940 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11944 """__str__(OrderedTypePairPredicate self) -> std::string"""
11945 return _IMP_core.OrderedTypePairPredicate___str__(self)
11948 def __repr__(self):
11949 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11950 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11955 return _object_cast_to_OrderedTypePairPredicate(o)
11957 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11958 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11961 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
11962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11964 def __init__(self, *args):
11966 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11967 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11969 this = _IMP_core.new_AllSamePairPredicate(*args)
11971 self.this.append(this)
11975 def do_get_inputs(self, arg2, arg3):
11976 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11977 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11980 def get_value(self, *args):
11982 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11983 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11985 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11988 def get_value_index(self, *args):
11990 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11991 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11993 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11996 def get_version_info(self):
11997 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11998 return _IMP_core.AllSamePairPredicate_get_version_info(self)
12002 """__str__(AllSamePairPredicate self) -> std::string"""
12003 return _IMP_core.AllSamePairPredicate___str__(self)
12006 def __repr__(self):
12007 """__repr__(AllSamePairPredicate self) -> std::string"""
12008 return _IMP_core.AllSamePairPredicate___repr__(self)
12013 return _object_cast_to_AllSamePairPredicate(o)
12015 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
12016 AllSamePairPredicate_swigregister(AllSamePairPredicate)
12019 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
12020 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12022 def __init__(self, *args):
12024 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
12025 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
12027 this = _IMP_core.new_CoinFlipPairPredicate(*args)
12029 self.this.append(this)
12033 def do_get_inputs(self, arg2, arg3):
12034 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12035 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
12038 def get_value(self, *args):
12040 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
12041 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12043 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
12046 def get_value_index(self, *args):
12048 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
12049 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12051 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
12054 def get_version_info(self):
12055 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
12056 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
12060 """__str__(CoinFlipPairPredicate self) -> std::string"""
12061 return _IMP_core.CoinFlipPairPredicate___str__(self)
12064 def __repr__(self):
12065 """__repr__(CoinFlipPairPredicate self) -> std::string"""
12066 return _IMP_core.CoinFlipPairPredicate___repr__(self)
12071 return _object_cast_to_CoinFlipPairPredicate(o)
12073 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
12074 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
12077 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
12078 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12080 def __init__(self, *args):
12082 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
12083 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
12085 this = _IMP_core.new_ConstantTripletPredicate(*args)
12087 self.this.append(this)
12091 def do_get_inputs(self, arg2, arg3):
12092 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12093 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
12096 def get_value(self, *args):
12098 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12099 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12101 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
12104 def get_value_index(self, *args):
12106 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12107 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12109 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
12112 def get_version_info(self):
12113 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
12114 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
12118 """__str__(ConstantTripletPredicate self) -> std::string"""
12119 return _IMP_core.ConstantTripletPredicate___str__(self)
12122 def __repr__(self):
12123 """__repr__(ConstantTripletPredicate self) -> std::string"""
12124 return _IMP_core.ConstantTripletPredicate___repr__(self)
12129 return _object_cast_to_ConstantTripletPredicate(o)
12131 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
12132 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
12135 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
12136 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12138 def __init__(self, *args):
12140 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
12141 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
12143 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
12145 self.this.append(this)
12149 def do_get_inputs(self, m, pis):
12150 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12151 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12154 def get_value(self, *args):
12156 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12157 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12159 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
12162 def get_value_index(self, *args):
12164 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12165 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12167 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
12170 def get_version_info(self):
12171 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
12172 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
12176 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
12177 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
12180 def __repr__(self):
12181 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
12182 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12187 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12189 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12190 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12193 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
12194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12196 def __init__(self, *args):
12198 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12199 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12201 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12203 self.this.append(this)
12207 def do_get_inputs(self, m, pis):
12208 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12209 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12212 def get_value(self, *args):
12214 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12215 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12216 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12218 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12221 def get_value_index(self, *args):
12223 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12224 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12226 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12229 def get_version_info(self):
12230 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12231 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12235 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12236 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12239 def __repr__(self):
12240 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12241 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12246 return _object_cast_to_OrderedTypeTripletPredicate(o)
12248 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12249 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12252 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
12253 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12255 def __init__(self, *args):
12257 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12258 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12260 this = _IMP_core.new_AllSameTripletPredicate(*args)
12262 self.this.append(this)
12266 def do_get_inputs(self, arg2, arg3):
12267 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12268 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12271 def get_value(self, *args):
12273 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12274 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12276 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12279 def get_value_index(self, *args):
12281 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12282 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12284 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12287 def get_version_info(self):
12288 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12289 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12293 """__str__(AllSameTripletPredicate self) -> std::string"""
12294 return _IMP_core.AllSameTripletPredicate___str__(self)
12297 def __repr__(self):
12298 """__repr__(AllSameTripletPredicate self) -> std::string"""
12299 return _IMP_core.AllSameTripletPredicate___repr__(self)
12304 return _object_cast_to_AllSameTripletPredicate(o)
12306 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12307 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12310 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
12311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12313 def __init__(self, *args):
12315 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12316 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12318 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12320 self.this.append(this)
12324 def do_get_inputs(self, arg2, arg3):
12325 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12326 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12329 def get_value(self, *args):
12331 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12332 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12334 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12337 def get_value_index(self, *args):
12339 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12340 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12342 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12345 def get_version_info(self):
12346 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12347 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12351 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12352 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12355 def __repr__(self):
12356 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12357 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12362 return _object_cast_to_CoinFlipTripletPredicate(o)
12364 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12365 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12368 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
12369 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12371 def __init__(self, *args):
12373 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12374 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12376 this = _IMP_core.new_ConstantQuadPredicate(*args)
12378 self.this.append(this)
12382 def do_get_inputs(self, arg2, arg3):
12383 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12384 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12387 def get_value(self, *args):
12389 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12390 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12392 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12395 def get_value_index(self, *args):
12397 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12398 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12400 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12403 def get_version_info(self):
12404 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12405 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12409 """__str__(ConstantQuadPredicate self) -> std::string"""
12410 return _IMP_core.ConstantQuadPredicate___str__(self)
12413 def __repr__(self):
12414 """__repr__(ConstantQuadPredicate self) -> std::string"""
12415 return _IMP_core.ConstantQuadPredicate___repr__(self)
12420 return _object_cast_to_ConstantQuadPredicate(o)
12422 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12423 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12426 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
12427 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12429 def __init__(self, *args):
12431 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12432 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12434 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12436 self.this.append(this)
12440 def do_get_inputs(self, m, pis):
12441 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12442 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12445 def get_value(self, *args):
12447 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12448 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12450 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12453 def get_value_index(self, *args):
12455 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12456 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12458 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12461 def get_version_info(self):
12462 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12463 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12467 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12468 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12471 def __repr__(self):
12472 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12473 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12478 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12480 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12481 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12484 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
12485 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12487 def __init__(self, *args):
12489 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12490 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12492 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12494 self.this.append(this)
12498 def do_get_inputs(self, m, pis):
12499 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12500 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12503 def get_value(self, *args):
12505 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12506 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12507 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12509 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12512 def get_value_index(self, *args):
12514 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12515 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12517 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12520 def get_version_info(self):
12521 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12522 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12526 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12527 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12530 def __repr__(self):
12531 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12532 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12537 return _object_cast_to_OrderedTypeQuadPredicate(o)
12539 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12540 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12543 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
12544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12546 def __init__(self, *args):
12548 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12549 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12551 this = _IMP_core.new_AllSameQuadPredicate(*args)
12553 self.this.append(this)
12557 def do_get_inputs(self, arg2, arg3):
12558 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12559 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12562 def get_value(self, *args):
12564 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12565 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12567 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12570 def get_value_index(self, *args):
12572 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12573 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12575 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12578 def get_version_info(self):
12579 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12580 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12584 """__str__(AllSameQuadPredicate self) -> std::string"""
12585 return _IMP_core.AllSameQuadPredicate___str__(self)
12588 def __repr__(self):
12589 """__repr__(AllSameQuadPredicate self) -> std::string"""
12590 return _IMP_core.AllSameQuadPredicate___repr__(self)
12595 return _object_cast_to_AllSameQuadPredicate(o)
12597 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12598 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12601 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
12602 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12604 def __init__(self, *args):
12606 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12607 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12609 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12611 self.this.append(this)
12615 def do_get_inputs(self, arg2, arg3):
12616 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12617 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12620 def get_value(self, *args):
12622 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12623 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12625 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12628 def get_value_index(self, *args):
12630 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12631 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12633 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12636 def get_version_info(self):
12637 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12638 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12642 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12643 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12646 def __repr__(self):
12647 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12648 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12653 return _object_cast_to_CoinFlipQuadPredicate(o)
12655 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12656 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12659 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
12660 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12662 def __init__(self, *args):
12664 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12665 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12667 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12669 self.this.append(this)
12673 def do_get_inputs(self, m, pi):
12674 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12675 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12678 def get_value(self, *args):
12680 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12681 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12683 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12686 def get_value_index(self, *args):
12688 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12689 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12691 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12694 def get_version_info(self):
12695 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12696 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12700 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12701 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12704 def __repr__(self):
12705 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12706 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12711 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12713 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12714 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12717 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
12718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12720 def __init__(self, *args):
12722 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12723 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12725 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12727 self.this.append(this)
12731 def do_get_inputs(self, m, pi):
12732 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12733 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12736 def get_value(self, *args):
12738 get_value(AttributeSingletonPredicate self, Particle a) -> int
12739 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12741 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12744 def get_value_index(self, *args):
12746 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12747 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12749 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12752 def get_version_info(self):
12753 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12754 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12758 """__str__(AttributeSingletonPredicate self) -> std::string"""
12759 return _IMP_core.AttributeSingletonPredicate___str__(self)
12762 def __repr__(self):
12763 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12764 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12769 return _object_cast_to_AttributeSingletonPredicate(o)
12771 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12772 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12775 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
12776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12778 def __init__(self, *args):
12780 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12781 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12783 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12785 self.this.append(this)
12789 def do_get_inputs(self, m, pi):
12790 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12791 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12794 def get_value(self, *args):
12796 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12797 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12799 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12802 def get_value_index(self, *args):
12804 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12805 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12807 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12810 def get_version_info(self):
12811 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12812 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12816 """__str__(IsCollisionPairPredicate self) -> std::string"""
12817 return _IMP_core.IsCollisionPairPredicate___str__(self)
12820 def __repr__(self):
12821 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12822 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12827 return _object_cast_to_IsCollisionPairPredicate(o)
12829 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12830 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12832 class AngleRestraint(TripletRestraint):
12833 """Proxy of C++ IMP::core::AngleRestraint class"""
12834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12836 def __init__(self, m, score_func, p1, p2, p3):
12837 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12838 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12840 self.this.append(this)
12845 """__str__(AngleRestraint self) -> std::string"""
12846 return _IMP_core.AngleRestraint___str__(self)
12849 def __repr__(self):
12850 """__repr__(AngleRestraint self) -> std::string"""
12851 return _IMP_core.AngleRestraint___repr__(self)
12856 return _object_cast_to_AngleRestraint(o)
12858 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12859 AngleRestraint_swigregister(AngleRestraint)
12861 class RigidBodyMover(MonteCarloMover):
12862 """Proxy of C++ IMP::core::RigidBodyMover class"""
12863 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12865 def __init__(self, m, pi, max_translation, max_rotation):
12866 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12867 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12869 self.this.append(this)
12873 def set_maximum_translation(self, mt):
12874 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12875 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12878 def set_maximum_rotation(self, mr):
12879 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12880 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12883 def get_maximum_translation(self):
12884 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12885 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12888 def get_maximum_rotation(self):
12889 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12890 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12893 def get_version_info(self):
12894 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12895 return _IMP_core.RigidBodyMover_get_version_info(self)
12899 """__str__(RigidBodyMover self) -> std::string"""
12900 return _IMP_core.RigidBodyMover___str__(self)
12903 def __repr__(self):
12904 """__repr__(RigidBodyMover self) -> std::string"""
12905 return _IMP_core.RigidBodyMover___repr__(self)
12910 return _object_cast_to_RigidBodyMover(o)
12912 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12913 RigidBodyMover_swigregister(RigidBodyMover)
12915 class RigidBodyTunneler(MonteCarloMover):
12916 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
12917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12919 def __init__(self, m, pis, ref, k, move_probability=1.):
12921 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12922 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12924 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12926 self.this.append(this)
12930 def add_entry_point(self, fl):
12931 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12932 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12935 def reset_stats(self):
12936 """reset_stats(RigidBodyTunneler self)"""
12937 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12940 def get_number_of_rejected_moves(self):
12941 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12942 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12945 def get_number_of_proposed_moves(self):
12946 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12947 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12950 def get_number_of_impossible_moves(self):
12951 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12952 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12955 def get_number_of_calls(self):
12956 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12957 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12960 def get_reduced_coordinates(*args):
12962 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12963 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12965 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12967 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12969 def set_reduced_coordinates(m, target, ref, coords):
12970 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12971 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12973 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12975 def get_version_info(self):
12976 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12977 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12981 """__str__(RigidBodyTunneler self) -> std::string"""
12982 return _IMP_core.RigidBodyTunneler___str__(self)
12985 def __repr__(self):
12986 """__repr__(RigidBodyTunneler self) -> std::string"""
12987 return _IMP_core.RigidBodyTunneler___repr__(self)
12992 return _object_cast_to_RigidBodyTunneler(o)
12994 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12995 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12997 def RigidBodyTunneler_get_reduced_coordinates(*args):
12999 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
13000 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
13002 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
13004 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
13005 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
13006 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
13009 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
13010 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13012 def __init__(self, *args):
13014 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
13015 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
13016 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k, std::string name) -> RigidBodyUmbrella
13017 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
13019 this = _IMP_core.new_RigidBodyUmbrella(*args)
13021 self.this.append(this)
13025 def set_x0(self, *args):
13027 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
13028 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
13030 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
13034 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
13035 return _IMP_core.RigidBodyUmbrella_get_x0(self)
13039 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
13040 return _IMP_core.RigidBodyUmbrella_get_x(self)
13043 def set_alpha(self, alpha):
13044 """set_alpha(RigidBodyUmbrella self, double alpha)"""
13045 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
13048 def set_k(self, k):
13049 """set_k(RigidBodyUmbrella self, double k)"""
13050 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
13053 def get_version_info(self):
13054 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
13055 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
13059 """__str__(RigidBodyUmbrella self) -> std::string"""
13060 return _IMP_core.RigidBodyUmbrella___str__(self)
13063 def __repr__(self):
13064 """__repr__(RigidBodyUmbrella self) -> std::string"""
13065 return _IMP_core.RigidBodyUmbrella___repr__(self)
13070 return _object_cast_to_RigidBodyUmbrella(o)
13072 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
13073 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
13076 """Proxy of C++ IMP::core::VolumeRestraint class"""
13077 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13079 def __init__(self, f, sc, volume):
13080 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
13081 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
13083 self.this.append(this)
13087 def do_get_inputs(self):
13088 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
13089 return _IMP_core.VolumeRestraint_do_get_inputs(self)
13092 def get_version_info(self):
13093 """get_version_info(VolumeRestraint self) -> VersionInfo"""
13094 return _IMP_core.VolumeRestraint_get_version_info(self)
13098 """__str__(VolumeRestraint self) -> std::string"""
13099 return _IMP_core.VolumeRestraint___str__(self)
13102 def __repr__(self):
13103 """__repr__(VolumeRestraint self) -> std::string"""
13104 return _IMP_core.VolumeRestraint___repr__(self)
13109 return _object_cast_to_VolumeRestraint(o)
13111 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
13112 VolumeRestraint_swigregister(VolumeRestraint)
13116 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
13117 return _IMP_core.get_centroid(ps)
13120 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
13121 return _IMP_core.get_bounding_box(ps)
13123 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
13124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13126 def __init__(self, ps):
13127 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
13128 this = _IMP_core.new_MoveStatisticsScoreState(ps)
13130 self.this.append(this)
13134 def show_statistics(self, *args):
13136 show_statistics(MoveStatisticsScoreState self, _ostream out)
13137 show_statistics(MoveStatisticsScoreState self)
13139 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
13143 """reset(MoveStatisticsScoreState self)"""
13144 return _IMP_core.MoveStatisticsScoreState_reset(self)
13147 def do_before_evaluate(self):
13148 """do_before_evaluate(MoveStatisticsScoreState self)"""
13149 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
13152 def do_after_evaluate(self, da):
13153 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
13154 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
13157 def do_get_inputs(self):
13158 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13159 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
13162 def do_get_outputs(self):
13163 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13164 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
13167 def get_version_info(self):
13168 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13169 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13173 """__str__(MoveStatisticsScoreState self) -> std::string"""
13174 return _IMP_core.MoveStatisticsScoreState___str__(self)
13177 def __repr__(self):
13178 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13179 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13184 return _object_cast_to_MoveStatisticsScoreState(o)
13186 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13187 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13190 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
13191 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13193 """Proxy of C++ IMP::core::Typed class"""
13194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13196 def get_type_key():
13197 """get_type_key() -> IntKey"""
13198 return _IMP_core.Typed_get_type_key()
13200 get_type_key = staticmethod(get_type_key)
13202 def __init__(self, *args):
13204 __init__(IMP::core::Typed self) -> Typed
13205 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13206 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13208 this = _IMP_core.new_Typed(*args)
13210 self.this.append(this)
13214 def show(self, *args):
13216 show(Typed self, _ostream out)
13219 return _IMP_core.Typed_show(self, *args)
13222 def setup_particle(*args):
13224 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13225 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13227 return _IMP_core.Typed_setup_particle(*args)
13229 setup_particle = staticmethod(setup_particle)
13231 def get_is_setup(*args):
13233 get_is_setup(_ParticleAdaptor p) -> bool
13234 get_is_setup(Model m, ParticleIndex pi) -> bool
13236 return _IMP_core.Typed_get_is_setup(*args)
13238 get_is_setup = staticmethod(get_is_setup)
13240 def get_type(self):
13241 """get_type(Typed self) -> ParticleType"""
13242 return _IMP_core.Typed_get_type(self)
13245 def set_type(self, pt):
13246 """set_type(Typed self, ParticleType pt)"""
13247 return _IMP_core.Typed_set_type(self, pt)
13250 def add_attribute(self, *args):
13252 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13253 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13254 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13255 add_attribute(Typed self, FloatsKey a0, IMP::Floats a1)
13256 add_attribute(Typed self, IntsKey a0, IMP::Ints a1)
13257 add_attribute(Typed self, StringKey a0, IMP::String a1)
13258 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13259 add_attribute(Typed self, ObjectKey a0, Object a1)
13261 return _IMP_core.Typed_add_attribute(self, *args)
13264 def get_value(self, *args):
13266 get_value(Typed self, FloatKey a0) -> IMP::Float
13267 get_value(Typed self, IntKey a0) -> IMP::Int
13268 get_value(Typed self, FloatsKey a0) -> IMP::Floats
13269 get_value(Typed self, IntsKey a0) -> IMP::Ints
13270 get_value(Typed self, StringKey a0) -> IMP::String
13271 get_value(Typed self, ParticleIndexKey a0) -> Particle
13272 get_value(Typed self, ObjectKey a0) -> Object
13274 return _IMP_core.Typed_get_value(self, *args)
13277 def set_value(self, *args):
13279 set_value(Typed self, FloatKey a0, IMP::Float a1)
13280 set_value(Typed self, IntKey a0, IMP::Int a1)
13281 set_value(Typed self, FloatsKey a0, IMP::Floats a1)
13282 set_value(Typed self, IntsKey a0, IMP::Ints a1)
13283 set_value(Typed self, StringKey a0, IMP::String a1)
13284 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13285 set_value(Typed self, ObjectKey a0, Object a1)
13287 return _IMP_core.Typed_set_value(self, *args)
13290 def remove_attribute(self, *args):
13292 remove_attribute(Typed self, FloatKey a0)
13293 remove_attribute(Typed self, IntKey a0)
13294 remove_attribute(Typed self, FloatsKey a0)
13295 remove_attribute(Typed self, IntsKey a0)
13296 remove_attribute(Typed self, StringKey a0)
13297 remove_attribute(Typed self, ParticleIndexKey a0)
13298 remove_attribute(Typed self, ObjectKey a0)
13300 return _IMP_core.Typed_remove_attribute(self, *args)
13303 def has_attribute(self, *args):
13305 has_attribute(Typed self, FloatKey a0) -> bool
13306 has_attribute(Typed self, IntKey a0) -> bool
13307 has_attribute(Typed self, FloatsKey a0) -> bool
13308 has_attribute(Typed self, IntsKey a0) -> bool
13309 has_attribute(Typed self, StringKey a0) -> bool
13310 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13311 has_attribute(Typed self, ObjectKey a0) -> bool
13313 return _IMP_core.Typed_has_attribute(self, *args)
13316 def get_derivative(self, a0):
13317 """get_derivative(Typed self, FloatKey a0) -> double"""
13318 return _IMP_core.Typed_get_derivative(self, a0)
13321 def get_name(self):
13322 """get_name(Typed self) -> std::string"""
13323 return _IMP_core.Typed_get_name(self)
13326 def clear_caches(self):
13327 """clear_caches(Typed self)"""
13328 return _IMP_core.Typed_clear_caches(self)
13331 def set_name(self, a0):
13332 """set_name(Typed self, std::string a0)"""
13333 return _IMP_core.Typed_set_name(self, a0)
13337 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13338 return _IMP_core.Typed_set_check_level(self, a0)
13341 def add_to_derivative(self, a0, a1, a2):
13342 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13343 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13346 def set_is_optimized(self, a0, a1):
13347 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13348 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13351 def get_is_optimized(self, a0):
13352 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13353 return _IMP_core.Typed_get_is_optimized(self, a0)
13357 """get_check_level(Typed self) -> IMP::CheckLevel"""
13358 return _IMP_core.Typed_get_check_level(self)
13361 def __eq__(self, *args):
13363 __eq__(Typed self, Typed o) -> bool
13364 __eq__(Typed self, Particle d) -> bool
13366 return _IMP_core.Typed___eq__(self, *args)
13369 def __ne__(self, *args):
13371 __ne__(Typed self, Typed o) -> bool
13372 __ne__(Typed self, Particle d) -> bool
13374 return _IMP_core.Typed___ne__(self, *args)
13377 def __le__(self, *args):
13379 __le__(Typed self, Typed o) -> bool
13380 __le__(Typed self, Particle d) -> bool
13382 return _IMP_core.Typed___le__(self, *args)
13385 def __lt__(self, *args):
13387 __lt__(Typed self, Typed o) -> bool
13388 __lt__(Typed self, Particle d) -> bool
13390 return _IMP_core.Typed___lt__(self, *args)
13393 def __ge__(self, *args):
13395 __ge__(Typed self, Typed o) -> bool
13396 __ge__(Typed self, Particle d) -> bool
13398 return _IMP_core.Typed___ge__(self, *args)
13401 def __gt__(self, *args):
13403 __gt__(Typed self, Typed o) -> bool
13404 __gt__(Typed self, Particle d) -> bool
13406 return _IMP_core.Typed___gt__(self, *args)
13409 def __hash__(self):
13410 """__hash__(Typed self) -> std::size_t"""
13411 return _IMP_core.Typed___hash__(self)
13415 """__str__(Typed self) -> std::string"""
13416 return _IMP_core.Typed___str__(self)
13419 def __repr__(self):
13420 """__repr__(Typed self) -> std::string"""
13421 return _IMP_core.Typed___repr__(self)
13423 __swig_destroy__ = _IMP_core.delete_Typed
13424 __del__ =
lambda self:
None
13425 Typed_swigregister = _IMP_core.Typed_swigregister
13426 Typed_swigregister(Typed)
13428 def Typed_get_type_key():
13429 """Typed_get_type_key() -> IntKey"""
13430 return _IMP_core.Typed_get_type_key()
13432 def Typed_setup_particle(*args):
13434 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13435 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13437 return _IMP_core.Typed_setup_particle(*args)
13439 def Typed_get_is_setup(*args):
13441 get_is_setup(_ParticleAdaptor p) -> bool
13442 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13444 return _IMP_core.Typed_get_is_setup(*args)
13447 def __lshift__(*args):
13449 __lshift__(_ostream out, XYZ n) -> _ostream
13450 __lshift__(_ostream out, XYZR n) -> _ostream
13451 __lshift__(_ostream out, Direction n) -> _ostream
13452 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13453 __lshift__(_ostream out, Surface n) -> _ostream
13454 __lshift__(_ostream out, Centroid n) -> _ostream
13455 __lshift__(_ostream out, Cover n) -> _ostream
13456 __lshift__(_ostream out, Reference n) -> _ostream
13457 __lshift__(_ostream out, RigidMember n) -> _ostream
13458 __lshift__(_ostream out, RigidBody n) -> _ostream
13459 __lshift__(_ostream out, Gaussian n) -> _ostream
13460 __lshift__(_ostream out, Typed n) -> _ostream
13462 return _IMP_core.__lshift__(*args)
13464 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
13465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13467 def __init__(self, rs, out):
13468 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13469 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13471 self.this.append(this)
13475 def get_version_info(self):
13476 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13477 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13481 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13482 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13485 def __repr__(self):
13486 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13487 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13492 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13494 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13495 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13499 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13500 return _IMP_core.assign_blame(rs, ps, attribute)
13504 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13505 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13506 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13508 return _IMP_core.create_blame_geometries(*args)
13510 """Proxy of C++ IMP::core::MultipleBinormalRestraint class"""
13511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13513 def __init__(self, m, q1, q2):
13514 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13515 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13517 self.this.append(this)
13521 def add_term(self, term):
13522 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13523 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13526 def do_get_inputs(self):
13527 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13528 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13531 def get_version_info(self):
13532 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13533 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13537 """__str__(MultipleBinormalRestraint self) -> std::string"""
13538 return _IMP_core.MultipleBinormalRestraint___str__(self)
13541 def __repr__(self):
13542 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13543 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13548 return _object_cast_to_MultipleBinormalRestraint(o)
13550 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13551 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13553 class BinormalTerm(object):
13554 """Proxy of C++ IMP::core::BinormalTerm class"""
13555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13557 def __init__(self):
13558 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13559 this = _IMP_core.new_BinormalTerm()
13561 self.this.append(this)
13565 def set_correlation(self, correlation):
13566 """set_correlation(BinormalTerm self, double correlation)"""
13567 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13570 def set_weight(self, weight):
13571 """set_weight(BinormalTerm self, double weight)"""
13572 return _IMP_core.BinormalTerm_set_weight(self, weight)
13575 def set_means(self, means):
13576 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13577 return _IMP_core.BinormalTerm_set_means(self, means)
13580 def set_standard_deviations(self, stdevs):
13581 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13582 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13585 def show(self, *args):
13587 show(BinormalTerm self, _ostream out)
13588 show(BinormalTerm self)
13590 return _IMP_core.BinormalTerm_show(self, *args)
13594 """__str__(BinormalTerm self) -> std::string"""
13595 return _IMP_core.BinormalTerm___str__(self)
13598 def __repr__(self):
13599 """__repr__(BinormalTerm self) -> std::string"""
13600 return _IMP_core.BinormalTerm___repr__(self)
13602 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13603 __del__ =
lambda self:
None
13604 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13605 BinormalTerm_swigregister(BinormalTerm)
13608 """Proxy of C++ IMP::core::Provenance class"""
13609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13611 def get_previous(self):
13612 """get_previous(Provenance self) -> Provenance"""
13613 return _IMP_core.Provenance_get_previous(self)
13616 def set_previous(self, p):
13617 """set_previous(Provenance self, Provenance p)"""
13618 return _IMP_core.Provenance_set_previous(self, p)
13621 def __init__(self, *args):
13623 __init__(IMP::core::Provenance self) -> Provenance
13624 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13625 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13627 this = _IMP_core.new_Provenance(*args)
13629 self.this.append(this)
13633 def get_is_setup(*args):
13635 get_is_setup(Model m, ParticleIndex pi) -> bool
13636 get_is_setup(_ParticleAdaptor p) -> bool
13638 return _IMP_core.Provenance_get_is_setup(*args)
13640 get_is_setup = staticmethod(get_is_setup)
13642 def show(self, *args):
13644 show(Provenance self, _ostream out)
13645 show(Provenance self)
13647 return _IMP_core.Provenance_show(self, *args)
13650 def setup_particle(*args):
13652 setup_particle(Model m, ParticleIndex pi) -> Provenance
13653 setup_particle(_ParticleAdaptor decorator) -> Provenance
13655 return _IMP_core.Provenance_setup_particle(*args)
13657 setup_particle = staticmethod(setup_particle)
13659 def add_attribute(self, *args):
13661 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13662 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13663 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13664 add_attribute(Provenance self, FloatsKey a0, IMP::Floats a1)
13665 add_attribute(Provenance self, IntsKey a0, IMP::Ints a1)
13666 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13667 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13668 add_attribute(Provenance self, ObjectKey a0, Object a1)
13670 return _IMP_core.Provenance_add_attribute(self, *args)
13673 def get_value(self, *args):
13675 get_value(Provenance self, FloatKey a0) -> IMP::Float
13676 get_value(Provenance self, IntKey a0) -> IMP::Int
13677 get_value(Provenance self, FloatsKey a0) -> IMP::Floats
13678 get_value(Provenance self, IntsKey a0) -> IMP::Ints
13679 get_value(Provenance self, StringKey a0) -> IMP::String
13680 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13681 get_value(Provenance self, ObjectKey a0) -> Object
13683 return _IMP_core.Provenance_get_value(self, *args)
13686 def set_value(self, *args):
13688 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13689 set_value(Provenance self, IntKey a0, IMP::Int a1)
13690 set_value(Provenance self, FloatsKey a0, IMP::Floats a1)
13691 set_value(Provenance self, IntsKey a0, IMP::Ints a1)
13692 set_value(Provenance self, StringKey a0, IMP::String a1)
13693 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13694 set_value(Provenance self, ObjectKey a0, Object a1)
13696 return _IMP_core.Provenance_set_value(self, *args)
13699 def remove_attribute(self, *args):
13701 remove_attribute(Provenance self, FloatKey a0)
13702 remove_attribute(Provenance self, IntKey a0)
13703 remove_attribute(Provenance self, FloatsKey a0)
13704 remove_attribute(Provenance self, IntsKey a0)
13705 remove_attribute(Provenance self, StringKey a0)
13706 remove_attribute(Provenance self, ParticleIndexKey a0)
13707 remove_attribute(Provenance self, ObjectKey a0)
13709 return _IMP_core.Provenance_remove_attribute(self, *args)
13712 def has_attribute(self, *args):
13714 has_attribute(Provenance self, FloatKey a0) -> bool
13715 has_attribute(Provenance self, IntKey a0) -> bool
13716 has_attribute(Provenance self, FloatsKey a0) -> bool
13717 has_attribute(Provenance self, IntsKey a0) -> bool
13718 has_attribute(Provenance self, StringKey a0) -> bool
13719 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13720 has_attribute(Provenance self, ObjectKey a0) -> bool
13722 return _IMP_core.Provenance_has_attribute(self, *args)
13725 def get_derivative(self, a0):
13726 """get_derivative(Provenance self, FloatKey a0) -> double"""
13727 return _IMP_core.Provenance_get_derivative(self, a0)
13730 def get_name(self):
13731 """get_name(Provenance self) -> std::string"""
13732 return _IMP_core.Provenance_get_name(self)
13735 def clear_caches(self):
13736 """clear_caches(Provenance self)"""
13737 return _IMP_core.Provenance_clear_caches(self)
13740 def set_name(self, a0):
13741 """set_name(Provenance self, std::string a0)"""
13742 return _IMP_core.Provenance_set_name(self, a0)
13746 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13747 return _IMP_core.Provenance_set_check_level(self, a0)
13750 def add_to_derivative(self, a0, a1, a2):
13751 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13752 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13755 def set_is_optimized(self, a0, a1):
13756 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13757 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13760 def get_is_optimized(self, a0):
13761 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13762 return _IMP_core.Provenance_get_is_optimized(self, a0)
13766 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13767 return _IMP_core.Provenance_get_check_level(self)
13770 def __eq__(self, *args):
13772 __eq__(Provenance self, Provenance o) -> bool
13773 __eq__(Provenance self, Particle d) -> bool
13775 return _IMP_core.Provenance___eq__(self, *args)
13778 def __ne__(self, *args):
13780 __ne__(Provenance self, Provenance o) -> bool
13781 __ne__(Provenance self, Particle d) -> bool
13783 return _IMP_core.Provenance___ne__(self, *args)
13786 def __le__(self, *args):
13788 __le__(Provenance self, Provenance o) -> bool
13789 __le__(Provenance self, Particle d) -> bool
13791 return _IMP_core.Provenance___le__(self, *args)
13794 def __lt__(self, *args):
13796 __lt__(Provenance self, Provenance o) -> bool
13797 __lt__(Provenance self, Particle d) -> bool
13799 return _IMP_core.Provenance___lt__(self, *args)
13802 def __ge__(self, *args):
13804 __ge__(Provenance self, Provenance o) -> bool
13805 __ge__(Provenance self, Particle d) -> bool
13807 return _IMP_core.Provenance___ge__(self, *args)
13810 def __gt__(self, *args):
13812 __gt__(Provenance self, Provenance o) -> bool
13813 __gt__(Provenance self, Particle d) -> bool
13815 return _IMP_core.Provenance___gt__(self, *args)
13818 def __hash__(self):
13819 """__hash__(Provenance self) -> std::size_t"""
13820 return _IMP_core.Provenance___hash__(self)
13824 """__str__(Provenance self) -> std::string"""
13825 return _IMP_core.Provenance___str__(self)
13828 def __repr__(self):
13829 """__repr__(Provenance self) -> std::string"""
13830 return _IMP_core.Provenance___repr__(self)
13832 __swig_destroy__ = _IMP_core.delete_Provenance
13833 __del__ =
lambda self:
None
13834 Provenance_swigregister = _IMP_core.Provenance_swigregister
13835 Provenance_swigregister(Provenance)
13837 def Provenance_get_is_setup(*args):
13839 get_is_setup(Model m, ParticleIndex pi) -> bool
13840 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13842 return _IMP_core.Provenance_get_is_setup(*args)
13844 def Provenance_setup_particle(*args):
13846 setup_particle(Model m, ParticleIndex pi) -> Provenance
13847 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13849 return _IMP_core.Provenance_setup_particle(*args)
13851 class StructureProvenance(Provenance):
13852 """Proxy of C++ IMP::core::StructureProvenance class"""
13853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13855 def set_filename(self, filename):
13856 """set_filename(StructureProvenance self, std::string filename)"""
13857 return _IMP_core.StructureProvenance_set_filename(self, filename)
13860 def get_filename(self):
13861 """get_filename(StructureProvenance self) -> std::string"""
13862 return _IMP_core.StructureProvenance_get_filename(self)
13865 def set_chain_id(self, chain_id):
13866 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13867 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13871 """get_chain_id(StructureProvenance self) -> std::string"""
13872 return _IMP_core.StructureProvenance_get_chain_id(self)
13875 def set_residue_offset(self, residue_offset):
13876 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13877 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13880 def get_residue_offset(self):
13881 """get_residue_offset(StructureProvenance self) -> int"""
13882 return _IMP_core.StructureProvenance_get_residue_offset(self)
13885 def __init__(self, *args):
13887 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13888 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13889 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13891 this = _IMP_core.new_StructureProvenance(*args)
13893 self.this.append(this)
13897 def get_is_setup(*args):
13899 get_is_setup(Model m, ParticleIndex pi) -> bool
13900 get_is_setup(_ParticleAdaptor p) -> bool
13902 return _IMP_core.StructureProvenance_get_is_setup(*args)
13904 get_is_setup = staticmethod(get_is_setup)
13906 def show(self, *args):
13908 show(StructureProvenance self, _ostream out)
13909 show(StructureProvenance self)
13911 return _IMP_core.StructureProvenance_show(self, *args)
13914 def setup_particle(*args):
13916 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13917 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13918 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13919 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13920 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13921 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13923 return _IMP_core.StructureProvenance_setup_particle(*args)
13925 setup_particle = staticmethod(setup_particle)
13927 def add_attribute(self, *args):
13929 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13930 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13931 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13932 add_attribute(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13933 add_attribute(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13934 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13935 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13936 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13938 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13941 def get_value(self, *args):
13943 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13944 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13945 get_value(StructureProvenance self, FloatsKey a0) -> IMP::Floats
13946 get_value(StructureProvenance self, IntsKey a0) -> IMP::Ints
13947 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13948 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13949 get_value(StructureProvenance self, ObjectKey a0) -> Object
13951 return _IMP_core.StructureProvenance_get_value(self, *args)
13954 def set_value(self, *args):
13956 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13957 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13958 set_value(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13959 set_value(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13960 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13961 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13962 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13964 return _IMP_core.StructureProvenance_set_value(self, *args)
13967 def remove_attribute(self, *args):
13969 remove_attribute(StructureProvenance self, FloatKey a0)
13970 remove_attribute(StructureProvenance self, IntKey a0)
13971 remove_attribute(StructureProvenance self, FloatsKey a0)
13972 remove_attribute(StructureProvenance self, IntsKey a0)
13973 remove_attribute(StructureProvenance self, StringKey a0)
13974 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13975 remove_attribute(StructureProvenance self, ObjectKey a0)
13977 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13980 def has_attribute(self, *args):
13982 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13983 has_attribute(StructureProvenance self, IntKey a0) -> bool
13984 has_attribute(StructureProvenance self, FloatsKey a0) -> bool
13985 has_attribute(StructureProvenance self, IntsKey a0) -> bool
13986 has_attribute(StructureProvenance self, StringKey a0) -> bool
13987 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13988 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13990 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13993 def get_derivative(self, a0):
13994 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13995 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13998 def get_name(self):
13999 """get_name(StructureProvenance self) -> std::string"""
14000 return _IMP_core.StructureProvenance_get_name(self)
14003 def clear_caches(self):
14004 """clear_caches(StructureProvenance self)"""
14005 return _IMP_core.StructureProvenance_clear_caches(self)
14008 def set_name(self, a0):
14009 """set_name(StructureProvenance self, std::string a0)"""
14010 return _IMP_core.StructureProvenance_set_name(self, a0)
14014 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
14015 return _IMP_core.StructureProvenance_set_check_level(self, a0)
14018 def add_to_derivative(self, a0, a1, a2):
14019 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14020 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
14023 def set_is_optimized(self, a0, a1):
14024 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
14025 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
14028 def get_is_optimized(self, a0):
14029 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
14030 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
14034 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
14035 return _IMP_core.StructureProvenance_get_check_level(self)
14038 def __eq__(self, *args):
14040 __eq__(StructureProvenance self, StructureProvenance o) -> bool
14041 __eq__(StructureProvenance self, Particle d) -> bool
14043 return _IMP_core.StructureProvenance___eq__(self, *args)
14046 def __ne__(self, *args):
14048 __ne__(StructureProvenance self, StructureProvenance o) -> bool
14049 __ne__(StructureProvenance self, Particle d) -> bool
14051 return _IMP_core.StructureProvenance___ne__(self, *args)
14054 def __le__(self, *args):
14056 __le__(StructureProvenance self, StructureProvenance o) -> bool
14057 __le__(StructureProvenance self, Particle d) -> bool
14059 return _IMP_core.StructureProvenance___le__(self, *args)
14062 def __lt__(self, *args):
14064 __lt__(StructureProvenance self, StructureProvenance o) -> bool
14065 __lt__(StructureProvenance self, Particle d) -> bool
14067 return _IMP_core.StructureProvenance___lt__(self, *args)
14070 def __ge__(self, *args):
14072 __ge__(StructureProvenance self, StructureProvenance o) -> bool
14073 __ge__(StructureProvenance self, Particle d) -> bool
14075 return _IMP_core.StructureProvenance___ge__(self, *args)
14078 def __gt__(self, *args):
14080 __gt__(StructureProvenance self, StructureProvenance o) -> bool
14081 __gt__(StructureProvenance self, Particle d) -> bool
14083 return _IMP_core.StructureProvenance___gt__(self, *args)
14086 def __hash__(self):
14087 """__hash__(StructureProvenance self) -> std::size_t"""
14088 return _IMP_core.StructureProvenance___hash__(self)
14092 """__str__(StructureProvenance self) -> std::string"""
14093 return _IMP_core.StructureProvenance___str__(self)
14096 def __repr__(self):
14097 """__repr__(StructureProvenance self) -> std::string"""
14098 return _IMP_core.StructureProvenance___repr__(self)
14100 __swig_destroy__ = _IMP_core.delete_StructureProvenance
14101 __del__ =
lambda self:
None
14102 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
14103 StructureProvenance_swigregister(StructureProvenance)
14105 def StructureProvenance_get_is_setup(*args):
14107 get_is_setup(Model m, ParticleIndex pi) -> bool
14108 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14110 return _IMP_core.StructureProvenance_get_is_setup(*args)
14112 def StructureProvenance_setup_particle(*args):
14114 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14115 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14116 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
14117 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
14118 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
14119 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
14121 return _IMP_core.StructureProvenance_setup_particle(*args)
14123 class SampleProvenance(Provenance):
14124 """Proxy of C++ IMP::core::SampleProvenance class"""
14125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14127 def set_method(self, method):
14128 """set_method(SampleProvenance self, std::string method)"""
14129 return _IMP_core.SampleProvenance_set_method(self, method)
14132 def get_method(self):
14133 """get_method(SampleProvenance self) -> std::string"""
14134 return _IMP_core.SampleProvenance_get_method(self)
14137 def set_number_of_frames(self, frames):
14138 """set_number_of_frames(SampleProvenance self, int frames)"""
14139 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
14143 """get_number_of_frames(SampleProvenance self) -> int"""
14144 return _IMP_core.SampleProvenance_get_number_of_frames(self)
14147 def set_number_of_iterations(self, iterations):
14148 """set_number_of_iterations(SampleProvenance self, int iterations)"""
14149 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
14152 def get_number_of_iterations(self):
14153 """get_number_of_iterations(SampleProvenance self) -> int"""
14154 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
14157 def set_number_of_replicas(self, replicas):
14158 """set_number_of_replicas(SampleProvenance self, int replicas)"""
14159 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
14162 def get_number_of_replicas(self):
14163 """get_number_of_replicas(SampleProvenance self) -> int"""
14164 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
14167 def __init__(self, *args):
14169 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
14170 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
14171 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
14173 this = _IMP_core.new_SampleProvenance(*args)
14175 self.this.append(this)
14179 def get_is_setup(*args):
14181 get_is_setup(Model m, ParticleIndex pi) -> bool
14182 get_is_setup(_ParticleAdaptor p) -> bool
14184 return _IMP_core.SampleProvenance_get_is_setup(*args)
14186 get_is_setup = staticmethod(get_is_setup)
14188 def show(self, *args):
14190 show(SampleProvenance self, _ostream out)
14191 show(SampleProvenance self)
14193 return _IMP_core.SampleProvenance_show(self, *args)
14196 def setup_particle(*args):
14198 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14199 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14200 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14201 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14202 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14203 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14205 return _IMP_core.SampleProvenance_setup_particle(*args)
14207 setup_particle = staticmethod(setup_particle)
14209 def add_attribute(self, *args):
14211 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14212 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14213 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14214 add_attribute(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14215 add_attribute(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14216 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14217 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14218 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14220 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14223 def get_value(self, *args):
14225 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14226 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14227 get_value(SampleProvenance self, FloatsKey a0) -> IMP::Floats
14228 get_value(SampleProvenance self, IntsKey a0) -> IMP::Ints
14229 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14230 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14231 get_value(SampleProvenance self, ObjectKey a0) -> Object
14233 return _IMP_core.SampleProvenance_get_value(self, *args)
14236 def set_value(self, *args):
14238 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14239 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14240 set_value(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14241 set_value(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14242 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14243 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14244 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14246 return _IMP_core.SampleProvenance_set_value(self, *args)
14249 def remove_attribute(self, *args):
14251 remove_attribute(SampleProvenance self, FloatKey a0)
14252 remove_attribute(SampleProvenance self, IntKey a0)
14253 remove_attribute(SampleProvenance self, FloatsKey a0)
14254 remove_attribute(SampleProvenance self, IntsKey a0)
14255 remove_attribute(SampleProvenance self, StringKey a0)
14256 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14257 remove_attribute(SampleProvenance self, ObjectKey a0)
14259 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14262 def has_attribute(self, *args):
14264 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14265 has_attribute(SampleProvenance self, IntKey a0) -> bool
14266 has_attribute(SampleProvenance self, FloatsKey a0) -> bool
14267 has_attribute(SampleProvenance self, IntsKey a0) -> bool
14268 has_attribute(SampleProvenance self, StringKey a0) -> bool
14269 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14270 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14272 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14275 def get_derivative(self, a0):
14276 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14277 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14280 def get_name(self):
14281 """get_name(SampleProvenance self) -> std::string"""
14282 return _IMP_core.SampleProvenance_get_name(self)
14285 def clear_caches(self):
14286 """clear_caches(SampleProvenance self)"""
14287 return _IMP_core.SampleProvenance_clear_caches(self)
14290 def set_name(self, a0):
14291 """set_name(SampleProvenance self, std::string a0)"""
14292 return _IMP_core.SampleProvenance_set_name(self, a0)
14296 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14297 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14300 def add_to_derivative(self, a0, a1, a2):
14301 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14302 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14305 def set_is_optimized(self, a0, a1):
14306 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14307 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14310 def get_is_optimized(self, a0):
14311 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14312 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14316 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14317 return _IMP_core.SampleProvenance_get_check_level(self)
14320 def __eq__(self, *args):
14322 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14323 __eq__(SampleProvenance self, Particle d) -> bool
14325 return _IMP_core.SampleProvenance___eq__(self, *args)
14328 def __ne__(self, *args):
14330 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14331 __ne__(SampleProvenance self, Particle d) -> bool
14333 return _IMP_core.SampleProvenance___ne__(self, *args)
14336 def __le__(self, *args):
14338 __le__(SampleProvenance self, SampleProvenance o) -> bool
14339 __le__(SampleProvenance self, Particle d) -> bool
14341 return _IMP_core.SampleProvenance___le__(self, *args)
14344 def __lt__(self, *args):
14346 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14347 __lt__(SampleProvenance self, Particle d) -> bool
14349 return _IMP_core.SampleProvenance___lt__(self, *args)
14352 def __ge__(self, *args):
14354 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14355 __ge__(SampleProvenance self, Particle d) -> bool
14357 return _IMP_core.SampleProvenance___ge__(self, *args)
14360 def __gt__(self, *args):
14362 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14363 __gt__(SampleProvenance self, Particle d) -> bool
14365 return _IMP_core.SampleProvenance___gt__(self, *args)
14368 def __hash__(self):
14369 """__hash__(SampleProvenance self) -> std::size_t"""
14370 return _IMP_core.SampleProvenance___hash__(self)
14374 """__str__(SampleProvenance self) -> std::string"""
14375 return _IMP_core.SampleProvenance___str__(self)
14378 def __repr__(self):
14379 """__repr__(SampleProvenance self) -> std::string"""
14380 return _IMP_core.SampleProvenance___repr__(self)
14382 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14383 __del__ =
lambda self:
None
14384 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14385 SampleProvenance_swigregister(SampleProvenance)
14387 def SampleProvenance_get_is_setup(*args):
14389 get_is_setup(Model m, ParticleIndex pi) -> bool
14390 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14392 return _IMP_core.SampleProvenance_get_is_setup(*args)
14394 def SampleProvenance_setup_particle(*args):
14396 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14397 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14398 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14399 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14400 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14401 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14403 return _IMP_core.SampleProvenance_setup_particle(*args)
14405 class CombineProvenance(Provenance):
14406 """Proxy of C++ IMP::core::CombineProvenance class"""
14407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14409 def set_number_of_frames(self, frames):
14410 """set_number_of_frames(CombineProvenance self, int frames)"""
14411 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14415 """get_number_of_frames(CombineProvenance self) -> int"""
14416 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14419 def set_number_of_runs(self, runs):
14420 """set_number_of_runs(CombineProvenance self, int runs)"""
14421 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14424 def get_number_of_runs(self):
14425 """get_number_of_runs(CombineProvenance self) -> int"""
14426 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14429 def __init__(self, *args):
14431 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14432 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14433 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14435 this = _IMP_core.new_CombineProvenance(*args)
14437 self.this.append(this)
14441 def get_is_setup(*args):
14443 get_is_setup(Model m, ParticleIndex pi) -> bool
14444 get_is_setup(_ParticleAdaptor p) -> bool
14446 return _IMP_core.CombineProvenance_get_is_setup(*args)
14448 get_is_setup = staticmethod(get_is_setup)
14450 def show(self, *args):
14452 show(CombineProvenance self, _ostream out)
14453 show(CombineProvenance self)
14455 return _IMP_core.CombineProvenance_show(self, *args)
14458 def setup_particle(*args):
14460 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14461 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14462 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14463 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14465 return _IMP_core.CombineProvenance_setup_particle(*args)
14467 setup_particle = staticmethod(setup_particle)
14469 def add_attribute(self, *args):
14471 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14472 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14473 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14474 add_attribute(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14475 add_attribute(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14476 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14477 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14478 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14480 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14483 def get_value(self, *args):
14485 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14486 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14487 get_value(CombineProvenance self, FloatsKey a0) -> IMP::Floats
14488 get_value(CombineProvenance self, IntsKey a0) -> IMP::Ints
14489 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14490 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14491 get_value(CombineProvenance self, ObjectKey a0) -> Object
14493 return _IMP_core.CombineProvenance_get_value(self, *args)
14496 def set_value(self, *args):
14498 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14499 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14500 set_value(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14501 set_value(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14502 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14503 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14504 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14506 return _IMP_core.CombineProvenance_set_value(self, *args)
14509 def remove_attribute(self, *args):
14511 remove_attribute(CombineProvenance self, FloatKey a0)
14512 remove_attribute(CombineProvenance self, IntKey a0)
14513 remove_attribute(CombineProvenance self, FloatsKey a0)
14514 remove_attribute(CombineProvenance self, IntsKey a0)
14515 remove_attribute(CombineProvenance self, StringKey a0)
14516 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14517 remove_attribute(CombineProvenance self, ObjectKey a0)
14519 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14522 def has_attribute(self, *args):
14524 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14525 has_attribute(CombineProvenance self, IntKey a0) -> bool
14526 has_attribute(CombineProvenance self, FloatsKey a0) -> bool
14527 has_attribute(CombineProvenance self, IntsKey a0) -> bool
14528 has_attribute(CombineProvenance self, StringKey a0) -> bool
14529 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14530 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14532 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14535 def get_derivative(self, a0):
14536 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14537 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14540 def get_name(self):
14541 """get_name(CombineProvenance self) -> std::string"""
14542 return _IMP_core.CombineProvenance_get_name(self)
14545 def clear_caches(self):
14546 """clear_caches(CombineProvenance self)"""
14547 return _IMP_core.CombineProvenance_clear_caches(self)
14550 def set_name(self, a0):
14551 """set_name(CombineProvenance self, std::string a0)"""
14552 return _IMP_core.CombineProvenance_set_name(self, a0)
14556 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14557 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14560 def add_to_derivative(self, a0, a1, a2):
14561 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14562 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14565 def set_is_optimized(self, a0, a1):
14566 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14567 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14570 def get_is_optimized(self, a0):
14571 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14572 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14576 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14577 return _IMP_core.CombineProvenance_get_check_level(self)
14580 def __eq__(self, *args):
14582 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14583 __eq__(CombineProvenance self, Particle d) -> bool
14585 return _IMP_core.CombineProvenance___eq__(self, *args)
14588 def __ne__(self, *args):
14590 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14591 __ne__(CombineProvenance self, Particle d) -> bool
14593 return _IMP_core.CombineProvenance___ne__(self, *args)
14596 def __le__(self, *args):
14598 __le__(CombineProvenance self, CombineProvenance o) -> bool
14599 __le__(CombineProvenance self, Particle d) -> bool
14601 return _IMP_core.CombineProvenance___le__(self, *args)
14604 def __lt__(self, *args):
14606 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14607 __lt__(CombineProvenance self, Particle d) -> bool
14609 return _IMP_core.CombineProvenance___lt__(self, *args)
14612 def __ge__(self, *args):
14614 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14615 __ge__(CombineProvenance self, Particle d) -> bool
14617 return _IMP_core.CombineProvenance___ge__(self, *args)
14620 def __gt__(self, *args):
14622 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14623 __gt__(CombineProvenance self, Particle d) -> bool
14625 return _IMP_core.CombineProvenance___gt__(self, *args)
14628 def __hash__(self):
14629 """__hash__(CombineProvenance self) -> std::size_t"""
14630 return _IMP_core.CombineProvenance___hash__(self)
14634 """__str__(CombineProvenance self) -> std::string"""
14635 return _IMP_core.CombineProvenance___str__(self)
14638 def __repr__(self):
14639 """__repr__(CombineProvenance self) -> std::string"""
14640 return _IMP_core.CombineProvenance___repr__(self)
14642 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14643 __del__ =
lambda self:
None
14644 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14645 CombineProvenance_swigregister(CombineProvenance)
14647 def CombineProvenance_get_is_setup(*args):
14649 get_is_setup(Model m, ParticleIndex pi) -> bool
14650 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14652 return _IMP_core.CombineProvenance_get_is_setup(*args)
14654 def CombineProvenance_setup_particle(*args):
14656 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14657 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14658 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14659 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14661 return _IMP_core.CombineProvenance_setup_particle(*args)
14663 class FilterProvenance(Provenance):
14664 """Proxy of C++ IMP::core::FilterProvenance class"""
14665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14667 def set_method(self, method):
14668 """set_method(FilterProvenance self, std::string method)"""
14669 return _IMP_core.FilterProvenance_set_method(self, method)
14672 def get_method(self):
14673 """get_method(FilterProvenance self) -> std::string"""
14674 return _IMP_core.FilterProvenance_get_method(self)
14677 def set_number_of_frames(self, frames):
14678 """set_number_of_frames(FilterProvenance self, int frames)"""
14679 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14683 """get_number_of_frames(FilterProvenance self) -> int"""
14684 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14687 def set_threshold(self, threshold):
14688 """set_threshold(FilterProvenance self, double threshold)"""
14689 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14692 def get_threshold(self):
14693 """get_threshold(FilterProvenance self) -> double"""
14694 return _IMP_core.FilterProvenance_get_threshold(self)
14697 def __init__(self, *args):
14699 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14700 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14701 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14703 this = _IMP_core.new_FilterProvenance(*args)
14705 self.this.append(this)
14709 def get_is_setup(*args):
14711 get_is_setup(Model m, ParticleIndex pi) -> bool
14712 get_is_setup(_ParticleAdaptor p) -> bool
14714 return _IMP_core.FilterProvenance_get_is_setup(*args)
14716 get_is_setup = staticmethod(get_is_setup)
14718 def show(self, *args):
14720 show(FilterProvenance self, _ostream out)
14721 show(FilterProvenance self)
14723 return _IMP_core.FilterProvenance_show(self, *args)
14726 def setup_particle(*args):
14728 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14729 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14730 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14731 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14733 return _IMP_core.FilterProvenance_setup_particle(*args)
14735 setup_particle = staticmethod(setup_particle)
14737 def add_attribute(self, *args):
14739 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14740 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14741 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14742 add_attribute(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14743 add_attribute(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14744 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14745 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14746 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14748 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14751 def get_value(self, *args):
14753 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14754 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14755 get_value(FilterProvenance self, FloatsKey a0) -> IMP::Floats
14756 get_value(FilterProvenance self, IntsKey a0) -> IMP::Ints
14757 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14758 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14759 get_value(FilterProvenance self, ObjectKey a0) -> Object
14761 return _IMP_core.FilterProvenance_get_value(self, *args)
14764 def set_value(self, *args):
14766 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14767 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14768 set_value(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14769 set_value(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14770 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14771 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14772 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14774 return _IMP_core.FilterProvenance_set_value(self, *args)
14777 def remove_attribute(self, *args):
14779 remove_attribute(FilterProvenance self, FloatKey a0)
14780 remove_attribute(FilterProvenance self, IntKey a0)
14781 remove_attribute(FilterProvenance self, FloatsKey a0)
14782 remove_attribute(FilterProvenance self, IntsKey a0)
14783 remove_attribute(FilterProvenance self, StringKey a0)
14784 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14785 remove_attribute(FilterProvenance self, ObjectKey a0)
14787 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14790 def has_attribute(self, *args):
14792 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14793 has_attribute(FilterProvenance self, IntKey a0) -> bool
14794 has_attribute(FilterProvenance self, FloatsKey a0) -> bool
14795 has_attribute(FilterProvenance self, IntsKey a0) -> bool
14796 has_attribute(FilterProvenance self, StringKey a0) -> bool
14797 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14798 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14800 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14803 def get_derivative(self, a0):
14804 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14805 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14808 def get_name(self):
14809 """get_name(FilterProvenance self) -> std::string"""
14810 return _IMP_core.FilterProvenance_get_name(self)
14813 def clear_caches(self):
14814 """clear_caches(FilterProvenance self)"""
14815 return _IMP_core.FilterProvenance_clear_caches(self)
14818 def set_name(self, a0):
14819 """set_name(FilterProvenance self, std::string a0)"""
14820 return _IMP_core.FilterProvenance_set_name(self, a0)
14824 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14825 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14828 def add_to_derivative(self, a0, a1, a2):
14829 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14830 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14833 def set_is_optimized(self, a0, a1):
14834 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14835 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14838 def get_is_optimized(self, a0):
14839 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14840 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14844 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14845 return _IMP_core.FilterProvenance_get_check_level(self)
14848 def __eq__(self, *args):
14850 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14851 __eq__(FilterProvenance self, Particle d) -> bool
14853 return _IMP_core.FilterProvenance___eq__(self, *args)
14856 def __ne__(self, *args):
14858 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14859 __ne__(FilterProvenance self, Particle d) -> bool
14861 return _IMP_core.FilterProvenance___ne__(self, *args)
14864 def __le__(self, *args):
14866 __le__(FilterProvenance self, FilterProvenance o) -> bool
14867 __le__(FilterProvenance self, Particle d) -> bool
14869 return _IMP_core.FilterProvenance___le__(self, *args)
14872 def __lt__(self, *args):
14874 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14875 __lt__(FilterProvenance self, Particle d) -> bool
14877 return _IMP_core.FilterProvenance___lt__(self, *args)
14880 def __ge__(self, *args):
14882 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14883 __ge__(FilterProvenance self, Particle d) -> bool
14885 return _IMP_core.FilterProvenance___ge__(self, *args)
14888 def __gt__(self, *args):
14890 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14891 __gt__(FilterProvenance self, Particle d) -> bool
14893 return _IMP_core.FilterProvenance___gt__(self, *args)
14896 def __hash__(self):
14897 """__hash__(FilterProvenance self) -> std::size_t"""
14898 return _IMP_core.FilterProvenance___hash__(self)
14902 """__str__(FilterProvenance self) -> std::string"""
14903 return _IMP_core.FilterProvenance___str__(self)
14906 def __repr__(self):
14907 """__repr__(FilterProvenance self) -> std::string"""
14908 return _IMP_core.FilterProvenance___repr__(self)
14910 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14911 __del__ =
lambda self:
None
14912 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14913 FilterProvenance_swigregister(FilterProvenance)
14915 def FilterProvenance_get_is_setup(*args):
14917 get_is_setup(Model m, ParticleIndex pi) -> bool
14918 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14920 return _IMP_core.FilterProvenance_get_is_setup(*args)
14922 def FilterProvenance_setup_particle(*args):
14924 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14925 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14926 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14927 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14929 return _IMP_core.FilterProvenance_setup_particle(*args)
14931 class ClusterProvenance(Provenance):
14932 """Proxy of C++ IMP::core::ClusterProvenance class"""
14933 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14935 def set_number_of_members(self, members):
14936 """set_number_of_members(ClusterProvenance self, int members)"""
14937 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14940 def get_number_of_members(self):
14941 """get_number_of_members(ClusterProvenance self) -> int"""
14942 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14945 def set_precision(self, precision):
14946 """set_precision(ClusterProvenance self, double precision)"""
14947 return _IMP_core.ClusterProvenance_set_precision(self, precision)
14950 def get_precision(self):
14951 """get_precision(ClusterProvenance self) -> double"""
14952 return _IMP_core.ClusterProvenance_get_precision(self)
14955 def set_density(self, density):
14956 """set_density(ClusterProvenance self, std::string density)"""
14957 return _IMP_core.ClusterProvenance_set_density(self, density)
14960 def get_density(self):
14961 """get_density(ClusterProvenance self) -> std::string"""
14962 return _IMP_core.ClusterProvenance_get_density(self)
14965 def __init__(self, *args):
14967 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14968 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14969 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14971 this = _IMP_core.new_ClusterProvenance(*args)
14973 self.this.append(this)
14977 def get_is_setup(*args):
14979 get_is_setup(Model m, ParticleIndex pi) -> bool
14980 get_is_setup(_ParticleAdaptor p) -> bool
14982 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14984 get_is_setup = staticmethod(get_is_setup)
14986 def show(self, *args):
14988 show(ClusterProvenance self, _ostream out)
14989 show(ClusterProvenance self)
14991 return _IMP_core.ClusterProvenance_show(self, *args)
14994 def setup_particle(*args):
14996 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14997 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14998 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
14999 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15000 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15001 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15002 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15003 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15005 return _IMP_core.ClusterProvenance_setup_particle(*args)
15007 setup_particle = staticmethod(setup_particle)
15009 def add_attribute(self, *args):
15011 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
15012 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15013 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
15014 add_attribute(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15015 add_attribute(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15016 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
15017 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15018 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
15020 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
15023 def get_value(self, *args):
15025 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
15026 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
15027 get_value(ClusterProvenance self, FloatsKey a0) -> IMP::Floats
15028 get_value(ClusterProvenance self, IntsKey a0) -> IMP::Ints
15029 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
15030 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
15031 get_value(ClusterProvenance self, ObjectKey a0) -> Object
15033 return _IMP_core.ClusterProvenance_get_value(self, *args)
15036 def set_value(self, *args):
15038 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15039 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
15040 set_value(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15041 set_value(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15042 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
15043 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15044 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
15046 return _IMP_core.ClusterProvenance_set_value(self, *args)
15049 def remove_attribute(self, *args):
15051 remove_attribute(ClusterProvenance self, FloatKey a0)
15052 remove_attribute(ClusterProvenance self, IntKey a0)
15053 remove_attribute(ClusterProvenance self, FloatsKey a0)
15054 remove_attribute(ClusterProvenance self, IntsKey a0)
15055 remove_attribute(ClusterProvenance self, StringKey a0)
15056 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
15057 remove_attribute(ClusterProvenance self, ObjectKey a0)
15059 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
15062 def has_attribute(self, *args):
15064 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
15065 has_attribute(ClusterProvenance self, IntKey a0) -> bool
15066 has_attribute(ClusterProvenance self, FloatsKey a0) -> bool
15067 has_attribute(ClusterProvenance self, IntsKey a0) -> bool
15068 has_attribute(ClusterProvenance self, StringKey a0) -> bool
15069 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
15070 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
15072 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
15075 def get_derivative(self, a0):
15076 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
15077 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
15080 def get_name(self):
15081 """get_name(ClusterProvenance self) -> std::string"""
15082 return _IMP_core.ClusterProvenance_get_name(self)
15085 def clear_caches(self):
15086 """clear_caches(ClusterProvenance self)"""
15087 return _IMP_core.ClusterProvenance_clear_caches(self)
15090 def set_name(self, a0):
15091 """set_name(ClusterProvenance self, std::string a0)"""
15092 return _IMP_core.ClusterProvenance_set_name(self, a0)
15096 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
15097 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
15100 def add_to_derivative(self, a0, a1, a2):
15101 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15102 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
15105 def set_is_optimized(self, a0, a1):
15106 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
15107 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
15110 def get_is_optimized(self, a0):
15111 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
15112 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
15116 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
15117 return _IMP_core.ClusterProvenance_get_check_level(self)
15120 def __eq__(self, *args):
15122 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
15123 __eq__(ClusterProvenance self, Particle d) -> bool
15125 return _IMP_core.ClusterProvenance___eq__(self, *args)
15128 def __ne__(self, *args):
15130 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
15131 __ne__(ClusterProvenance self, Particle d) -> bool
15133 return _IMP_core.ClusterProvenance___ne__(self, *args)
15136 def __le__(self, *args):
15138 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
15139 __le__(ClusterProvenance self, Particle d) -> bool
15141 return _IMP_core.ClusterProvenance___le__(self, *args)
15144 def __lt__(self, *args):
15146 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
15147 __lt__(ClusterProvenance self, Particle d) -> bool
15149 return _IMP_core.ClusterProvenance___lt__(self, *args)
15152 def __ge__(self, *args):
15154 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
15155 __ge__(ClusterProvenance self, Particle d) -> bool
15157 return _IMP_core.ClusterProvenance___ge__(self, *args)
15160 def __gt__(self, *args):
15162 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
15163 __gt__(ClusterProvenance self, Particle d) -> bool
15165 return _IMP_core.ClusterProvenance___gt__(self, *args)
15168 def __hash__(self):
15169 """__hash__(ClusterProvenance self) -> std::size_t"""
15170 return _IMP_core.ClusterProvenance___hash__(self)
15174 """__str__(ClusterProvenance self) -> std::string"""
15175 return _IMP_core.ClusterProvenance___str__(self)
15178 def __repr__(self):
15179 """__repr__(ClusterProvenance self) -> std::string"""
15180 return _IMP_core.ClusterProvenance___repr__(self)
15182 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
15183 __del__ =
lambda self:
None
15184 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
15185 ClusterProvenance_swigregister(ClusterProvenance)
15187 def ClusterProvenance_get_is_setup(*args):
15189 get_is_setup(Model m, ParticleIndex pi) -> bool
15190 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15192 return _IMP_core.ClusterProvenance_get_is_setup(*args)
15194 def ClusterProvenance_setup_particle(*args):
15196 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15197 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15198 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15199 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15200 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15201 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15202 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15203 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15205 return _IMP_core.ClusterProvenance_setup_particle(*args)
15207 class ScriptProvenance(Provenance):
15208 """Proxy of C++ IMP::core::ScriptProvenance class"""
15209 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15211 def set_filename(self, filename):
15212 """set_filename(ScriptProvenance self, std::string filename)"""
15213 return _IMP_core.ScriptProvenance_set_filename(self, filename)
15216 def get_filename(self):
15217 """get_filename(ScriptProvenance self) -> std::string"""
15218 return _IMP_core.ScriptProvenance_get_filename(self)
15221 def __init__(self, *args):
15223 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
15224 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
15225 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
15227 this = _IMP_core.new_ScriptProvenance(*args)
15229 self.this.append(this)
15233 def get_is_setup(*args):
15235 get_is_setup(Model m, ParticleIndex pi) -> bool
15236 get_is_setup(_ParticleAdaptor p) -> bool
15238 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15240 get_is_setup = staticmethod(get_is_setup)
15242 def show(self, *args):
15244 show(ScriptProvenance self, _ostream out)
15245 show(ScriptProvenance self)
15247 return _IMP_core.ScriptProvenance_show(self, *args)
15250 def setup_particle(*args):
15252 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15253 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15254 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15255 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15257 return _IMP_core.ScriptProvenance_setup_particle(*args)
15259 setup_particle = staticmethod(setup_particle)
15261 def add_attribute(self, *args):
15263 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15264 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15265 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15266 add_attribute(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15267 add_attribute(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15268 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15269 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15270 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15272 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15275 def get_value(self, *args):
15277 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15278 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15279 get_value(ScriptProvenance self, FloatsKey a0) -> IMP::Floats
15280 get_value(ScriptProvenance self, IntsKey a0) -> IMP::Ints
15281 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15282 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15283 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15285 return _IMP_core.ScriptProvenance_get_value(self, *args)
15288 def set_value(self, *args):
15290 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15291 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15292 set_value(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15293 set_value(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15294 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15295 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15296 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15298 return _IMP_core.ScriptProvenance_set_value(self, *args)
15301 def remove_attribute(self, *args):
15303 remove_attribute(ScriptProvenance self, FloatKey a0)
15304 remove_attribute(ScriptProvenance self, IntKey a0)
15305 remove_attribute(ScriptProvenance self, FloatsKey a0)
15306 remove_attribute(ScriptProvenance self, IntsKey a0)
15307 remove_attribute(ScriptProvenance self, StringKey a0)
15308 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15309 remove_attribute(ScriptProvenance self, ObjectKey a0)
15311 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15314 def has_attribute(self, *args):
15316 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15317 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15318 has_attribute(ScriptProvenance self, FloatsKey a0) -> bool
15319 has_attribute(ScriptProvenance self, IntsKey a0) -> bool
15320 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15321 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15322 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15324 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15327 def get_derivative(self, a0):
15328 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15329 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15332 def get_name(self):
15333 """get_name(ScriptProvenance self) -> std::string"""
15334 return _IMP_core.ScriptProvenance_get_name(self)
15337 def clear_caches(self):
15338 """clear_caches(ScriptProvenance self)"""
15339 return _IMP_core.ScriptProvenance_clear_caches(self)
15342 def set_name(self, a0):
15343 """set_name(ScriptProvenance self, std::string a0)"""
15344 return _IMP_core.ScriptProvenance_set_name(self, a0)
15348 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15349 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15352 def add_to_derivative(self, a0, a1, a2):
15353 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15354 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15357 def set_is_optimized(self, a0, a1):
15358 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15359 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15362 def get_is_optimized(self, a0):
15363 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15364 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15368 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15369 return _IMP_core.ScriptProvenance_get_check_level(self)
15372 def __eq__(self, *args):
15374 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15375 __eq__(ScriptProvenance self, Particle d) -> bool
15377 return _IMP_core.ScriptProvenance___eq__(self, *args)
15380 def __ne__(self, *args):
15382 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15383 __ne__(ScriptProvenance self, Particle d) -> bool
15385 return _IMP_core.ScriptProvenance___ne__(self, *args)
15388 def __le__(self, *args):
15390 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15391 __le__(ScriptProvenance self, Particle d) -> bool
15393 return _IMP_core.ScriptProvenance___le__(self, *args)
15396 def __lt__(self, *args):
15398 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15399 __lt__(ScriptProvenance self, Particle d) -> bool
15401 return _IMP_core.ScriptProvenance___lt__(self, *args)
15404 def __ge__(self, *args):
15406 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15407 __ge__(ScriptProvenance self, Particle d) -> bool
15409 return _IMP_core.ScriptProvenance___ge__(self, *args)
15412 def __gt__(self, *args):
15414 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15415 __gt__(ScriptProvenance self, Particle d) -> bool
15417 return _IMP_core.ScriptProvenance___gt__(self, *args)
15420 def __hash__(self):
15421 """__hash__(ScriptProvenance self) -> std::size_t"""
15422 return _IMP_core.ScriptProvenance___hash__(self)
15426 """__str__(ScriptProvenance self) -> std::string"""
15427 return _IMP_core.ScriptProvenance___str__(self)
15430 def __repr__(self):
15431 """__repr__(ScriptProvenance self) -> std::string"""
15432 return _IMP_core.ScriptProvenance___repr__(self)
15434 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15435 __del__ =
lambda self:
None
15436 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15437 ScriptProvenance_swigregister(ScriptProvenance)
15439 def ScriptProvenance_get_is_setup(*args):
15441 get_is_setup(Model m, ParticleIndex pi) -> bool
15442 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15444 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15446 def ScriptProvenance_setup_particle(*args):
15448 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15449 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15450 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15451 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15453 return _IMP_core.ScriptProvenance_setup_particle(*args)
15455 class SoftwareProvenance(Provenance):
15456 """Proxy of C++ IMP::core::SoftwareProvenance class"""
15457 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15459 def set_software_name(self, name):
15460 """set_software_name(SoftwareProvenance self, std::string name)"""
15461 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15464 def get_software_name(self):
15465 """get_software_name(SoftwareProvenance self) -> std::string"""
15466 return _IMP_core.SoftwareProvenance_get_software_name(self)
15469 def set_version(self, version):
15470 """set_version(SoftwareProvenance self, std::string version)"""
15471 return _IMP_core.SoftwareProvenance_set_version(self, version)
15474 def get_version(self):
15475 """get_version(SoftwareProvenance self) -> std::string"""
15476 return _IMP_core.SoftwareProvenance_get_version(self)
15479 def set_location(self, location):
15480 """set_location(SoftwareProvenance self, std::string location)"""
15481 return _IMP_core.SoftwareProvenance_set_location(self, location)
15484 def get_location(self):
15485 """get_location(SoftwareProvenance self) -> std::string"""
15486 return _IMP_core.SoftwareProvenance_get_location(self)
15489 def __init__(self, *args):
15491 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15492 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15493 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15495 this = _IMP_core.new_SoftwareProvenance(*args)
15497 self.this.append(this)
15501 def get_is_setup(*args):
15503 get_is_setup(Model m, ParticleIndex pi) -> bool
15504 get_is_setup(_ParticleAdaptor p) -> bool
15506 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15508 get_is_setup = staticmethod(get_is_setup)
15510 def show(self, *args):
15512 show(SoftwareProvenance self, _ostream out)
15513 show(SoftwareProvenance self)
15515 return _IMP_core.SoftwareProvenance_show(self, *args)
15518 def setup_particle(*args):
15520 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15521 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15522 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15523 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15525 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15527 setup_particle = staticmethod(setup_particle)
15529 def add_attribute(self, *args):
15531 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15532 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15533 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15534 add_attribute(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15535 add_attribute(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15536 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15537 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15538 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15540 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15543 def get_value(self, *args):
15545 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15546 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15547 get_value(SoftwareProvenance self, FloatsKey a0) -> IMP::Floats
15548 get_value(SoftwareProvenance self, IntsKey a0) -> IMP::Ints
15549 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15550 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15551 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15553 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15556 def set_value(self, *args):
15558 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15559 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15560 set_value(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15561 set_value(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15562 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15563 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15564 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15566 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15569 def remove_attribute(self, *args):
15571 remove_attribute(SoftwareProvenance self, FloatKey a0)
15572 remove_attribute(SoftwareProvenance self, IntKey a0)
15573 remove_attribute(SoftwareProvenance self, FloatsKey a0)
15574 remove_attribute(SoftwareProvenance self, IntsKey a0)
15575 remove_attribute(SoftwareProvenance self, StringKey a0)
15576 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15577 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15579 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15582 def has_attribute(self, *args):
15584 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15585 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15586 has_attribute(SoftwareProvenance self, FloatsKey a0) -> bool
15587 has_attribute(SoftwareProvenance self, IntsKey a0) -> bool
15588 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15589 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15590 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15592 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15595 def get_derivative(self, a0):
15596 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15597 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15600 def get_name(self):
15601 """get_name(SoftwareProvenance self) -> std::string"""
15602 return _IMP_core.SoftwareProvenance_get_name(self)
15605 def clear_caches(self):
15606 """clear_caches(SoftwareProvenance self)"""
15607 return _IMP_core.SoftwareProvenance_clear_caches(self)
15610 def set_name(self, a0):
15611 """set_name(SoftwareProvenance self, std::string a0)"""
15612 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15616 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15617 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15620 def add_to_derivative(self, a0, a1, a2):
15621 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15622 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15625 def set_is_optimized(self, a0, a1):
15626 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15627 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15630 def get_is_optimized(self, a0):
15631 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15632 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15636 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15637 return _IMP_core.SoftwareProvenance_get_check_level(self)
15640 def __eq__(self, *args):
15642 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15643 __eq__(SoftwareProvenance self, Particle d) -> bool
15645 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15648 def __ne__(self, *args):
15650 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15651 __ne__(SoftwareProvenance self, Particle d) -> bool
15653 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15656 def __le__(self, *args):
15658 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15659 __le__(SoftwareProvenance self, Particle d) -> bool
15661 return _IMP_core.SoftwareProvenance___le__(self, *args)
15664 def __lt__(self, *args):
15666 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15667 __lt__(SoftwareProvenance self, Particle d) -> bool
15669 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15672 def __ge__(self, *args):
15674 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15675 __ge__(SoftwareProvenance self, Particle d) -> bool
15677 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15680 def __gt__(self, *args):
15682 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15683 __gt__(SoftwareProvenance self, Particle d) -> bool
15685 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15688 def __hash__(self):
15689 """__hash__(SoftwareProvenance self) -> std::size_t"""
15690 return _IMP_core.SoftwareProvenance___hash__(self)
15694 """__str__(SoftwareProvenance self) -> std::string"""
15695 return _IMP_core.SoftwareProvenance___str__(self)
15698 def __repr__(self):
15699 """__repr__(SoftwareProvenance self) -> std::string"""
15700 return _IMP_core.SoftwareProvenance___repr__(self)
15702 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15703 __del__ =
lambda self:
None
15704 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15705 SoftwareProvenance_swigregister(SoftwareProvenance)
15707 def SoftwareProvenance_get_is_setup(*args):
15709 get_is_setup(Model m, ParticleIndex pi) -> bool
15710 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15712 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15714 def SoftwareProvenance_setup_particle(*args):
15716 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15717 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15718 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15719 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15721 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15724 """Proxy of C++ IMP::core::Provenanced class"""
15725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15727 def get_provenance(self):
15728 """get_provenance(Provenanced self) -> Provenance"""
15729 return _IMP_core.Provenanced_get_provenance(self)
15732 def set_provenance(self, p):
15733 """set_provenance(Provenanced self, Provenance p)"""
15734 return _IMP_core.Provenanced_set_provenance(self, p)
15737 def __init__(self, *args):
15739 __init__(IMP::core::Provenanced self) -> Provenanced
15740 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15741 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15743 this = _IMP_core.new_Provenanced(*args)
15745 self.this.append(this)
15749 def get_is_setup(*args):
15751 get_is_setup(Model m, ParticleIndex pi) -> bool
15752 get_is_setup(_ParticleAdaptor p) -> bool
15754 return _IMP_core.Provenanced_get_is_setup(*args)
15756 get_is_setup = staticmethod(get_is_setup)
15758 def show(self, *args):
15760 show(Provenanced self, _ostream out)
15761 show(Provenanced self)
15763 return _IMP_core.Provenanced_show(self, *args)
15766 def setup_particle(*args):
15768 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15769 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15771 return _IMP_core.Provenanced_setup_particle(*args)
15773 setup_particle = staticmethod(setup_particle)
15775 def add_attribute(self, *args):
15777 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15778 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15779 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15780 add_attribute(Provenanced self, FloatsKey a0, IMP::Floats a1)
15781 add_attribute(Provenanced self, IntsKey a0, IMP::Ints a1)
15782 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15783 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15784 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15786 return _IMP_core.Provenanced_add_attribute(self, *args)
15789 def get_value(self, *args):
15791 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15792 get_value(Provenanced self, IntKey a0) -> IMP::Int
15793 get_value(Provenanced self, FloatsKey a0) -> IMP::Floats
15794 get_value(Provenanced self, IntsKey a0) -> IMP::Ints
15795 get_value(Provenanced self, StringKey a0) -> IMP::String
15796 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15797 get_value(Provenanced self, ObjectKey a0) -> Object
15799 return _IMP_core.Provenanced_get_value(self, *args)
15802 def set_value(self, *args):
15804 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15805 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15806 set_value(Provenanced self, FloatsKey a0, IMP::Floats a1)
15807 set_value(Provenanced self, IntsKey a0, IMP::Ints a1)
15808 set_value(Provenanced self, StringKey a0, IMP::String a1)
15809 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15810 set_value(Provenanced self, ObjectKey a0, Object a1)
15812 return _IMP_core.Provenanced_set_value(self, *args)
15815 def remove_attribute(self, *args):
15817 remove_attribute(Provenanced self, FloatKey a0)
15818 remove_attribute(Provenanced self, IntKey a0)
15819 remove_attribute(Provenanced self, FloatsKey a0)
15820 remove_attribute(Provenanced self, IntsKey a0)
15821 remove_attribute(Provenanced self, StringKey a0)
15822 remove_attribute(Provenanced self, ParticleIndexKey a0)
15823 remove_attribute(Provenanced self, ObjectKey a0)
15825 return _IMP_core.Provenanced_remove_attribute(self, *args)
15828 def has_attribute(self, *args):
15830 has_attribute(Provenanced self, FloatKey a0) -> bool
15831 has_attribute(Provenanced self, IntKey a0) -> bool
15832 has_attribute(Provenanced self, FloatsKey a0) -> bool
15833 has_attribute(Provenanced self, IntsKey a0) -> bool
15834 has_attribute(Provenanced self, StringKey a0) -> bool
15835 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15836 has_attribute(Provenanced self, ObjectKey a0) -> bool
15838 return _IMP_core.Provenanced_has_attribute(self, *args)
15841 def get_derivative(self, a0):
15842 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15843 return _IMP_core.Provenanced_get_derivative(self, a0)
15846 def get_name(self):
15847 """get_name(Provenanced self) -> std::string"""
15848 return _IMP_core.Provenanced_get_name(self)
15851 def clear_caches(self):
15852 """clear_caches(Provenanced self)"""
15853 return _IMP_core.Provenanced_clear_caches(self)
15856 def set_name(self, a0):
15857 """set_name(Provenanced self, std::string a0)"""
15858 return _IMP_core.Provenanced_set_name(self, a0)
15862 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15863 return _IMP_core.Provenanced_set_check_level(self, a0)
15866 def add_to_derivative(self, a0, a1, a2):
15867 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15868 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15871 def set_is_optimized(self, a0, a1):
15872 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15873 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15876 def get_is_optimized(self, a0):
15877 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15878 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15882 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15883 return _IMP_core.Provenanced_get_check_level(self)
15886 def __eq__(self, *args):
15888 __eq__(Provenanced self, Provenanced o) -> bool
15889 __eq__(Provenanced self, Particle d) -> bool
15891 return _IMP_core.Provenanced___eq__(self, *args)
15894 def __ne__(self, *args):
15896 __ne__(Provenanced self, Provenanced o) -> bool
15897 __ne__(Provenanced self, Particle d) -> bool
15899 return _IMP_core.Provenanced___ne__(self, *args)
15902 def __le__(self, *args):
15904 __le__(Provenanced self, Provenanced o) -> bool
15905 __le__(Provenanced self, Particle d) -> bool
15907 return _IMP_core.Provenanced___le__(self, *args)
15910 def __lt__(self, *args):
15912 __lt__(Provenanced self, Provenanced o) -> bool
15913 __lt__(Provenanced self, Particle d) -> bool
15915 return _IMP_core.Provenanced___lt__(self, *args)
15918 def __ge__(self, *args):
15920 __ge__(Provenanced self, Provenanced o) -> bool
15921 __ge__(Provenanced self, Particle d) -> bool
15923 return _IMP_core.Provenanced___ge__(self, *args)
15926 def __gt__(self, *args):
15928 __gt__(Provenanced self, Provenanced o) -> bool
15929 __gt__(Provenanced self, Particle d) -> bool
15931 return _IMP_core.Provenanced___gt__(self, *args)
15934 def __hash__(self):
15935 """__hash__(Provenanced self) -> std::size_t"""
15936 return _IMP_core.Provenanced___hash__(self)
15940 """__str__(Provenanced self) -> std::string"""
15941 return _IMP_core.Provenanced___str__(self)
15944 def __repr__(self):
15945 """__repr__(Provenanced self) -> std::string"""
15946 return _IMP_core.Provenanced___repr__(self)
15948 __swig_destroy__ = _IMP_core.delete_Provenanced
15949 __del__ =
lambda self:
None
15950 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15951 Provenanced_swigregister(Provenanced)
15953 def Provenanced_get_is_setup(*args):
15955 get_is_setup(Model m, ParticleIndex pi) -> bool
15956 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15958 return _IMP_core.Provenanced_get_is_setup(*args)
15960 def Provenanced_setup_particle(*args):
15962 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15963 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15965 return _IMP_core.Provenanced_setup_particle(*args)
15969 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15970 return _IMP_core.add_provenance(m, pi, p)
15973 """create_clone(Provenance p) -> Provenance"""
15974 return _IMP_core.create_clone(p)
15978 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15979 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15980 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15982 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15985 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15986 return _IMP_core.create_restraint(ps, pp)
15988 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
15989 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15991 def __init__(self, *args):
15993 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15994 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
15996 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
15998 self.this.append(this)
16002 def get_version_info(self):
16003 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
16004 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
16008 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
16009 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
16012 def __repr__(self):
16013 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
16014 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
16019 return _object_cast_to_TruncatedHarmonic(o)
16021 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
16022 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
16025 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
16026 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16028 def __init__(self, *args):
16030 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
16031 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
16033 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
16035 self.this.append(this)
16039 def get_version_info(self):
16040 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
16041 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
16045 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
16046 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
16049 def __repr__(self):
16050 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
16051 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
16056 return _object_cast_to_TruncatedHarmonic(o)
16058 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
16059 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
16062 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
16063 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16065 def __init__(self, *args):
16067 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
16068 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
16070 this = _IMP_core.new_TruncatedHarmonicBound(*args)
16072 self.this.append(this)
16076 def get_version_info(self):
16077 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
16078 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
16082 """__str__(TruncatedHarmonicBound self) -> std::string"""
16083 return _IMP_core.TruncatedHarmonicBound___str__(self)
16086 def __repr__(self):
16087 """__repr__(TruncatedHarmonicBound self) -> std::string"""
16088 return _IMP_core.TruncatedHarmonicBound___repr__(self)
16093 return _object_cast_to_TruncatedHarmonic(o)
16095 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
16096 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
16099 """Proxy of C++ IMP::Key<(34897493)> class"""
16100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16102 def __init__(self, *args):
16104 __init__(IMP::Key<(34897493)> self) -> ParticleType
16105 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
16106 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
16107 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
16109 this = _IMP_core.new_ParticleType(*args)
16111 self.this.append(this)
16116 """add_key(std::string sc) -> unsigned int"""
16117 return _IMP_core.ParticleType_add_key(sc)
16119 add_key = staticmethod(add_key)
16121 def get_key_exists(sc):
16122 """get_key_exists(std::string sc) -> bool"""
16123 return _IMP_core.ParticleType_get_key_exists(sc)
16125 get_key_exists = staticmethod(get_key_exists)
16127 def get_string(self):
16128 """get_string(ParticleType self) -> std::string const"""
16129 return _IMP_core.ParticleType_get_string(self)
16132 def __cmp__(self, o):
16133 """__cmp__(ParticleType self, ParticleType o) -> int"""
16134 return _IMP_core.ParticleType___cmp__(self, o)
16137 def __eq__(self, o):
16138 """__eq__(ParticleType self, ParticleType o) -> bool"""
16139 return _IMP_core.ParticleType___eq__(self, o)
16142 def __ne__(self, o):
16143 """__ne__(ParticleType self, ParticleType o) -> bool"""
16144 return _IMP_core.ParticleType___ne__(self, o)
16147 def __lt__(self, o):
16148 """__lt__(ParticleType self, ParticleType o) -> bool"""
16149 return _IMP_core.ParticleType___lt__(self, o)
16152 def __gt__(self, o):
16153 """__gt__(ParticleType self, ParticleType o) -> bool"""
16154 return _IMP_core.ParticleType___gt__(self, o)
16157 def __ge__(self, o):
16158 """__ge__(ParticleType self, ParticleType o) -> bool"""
16159 return _IMP_core.ParticleType___ge__(self, o)
16162 def __le__(self, o):
16163 """__le__(ParticleType self, ParticleType o) -> bool"""
16164 return _IMP_core.ParticleType___le__(self, o)
16167 def __hash__(self):
16168 """__hash__(ParticleType self) -> std::size_t"""
16169 return _IMP_core.ParticleType___hash__(self)
16172 def show(self, *args):
16174 show(ParticleType self, _ostream out)
16175 show(ParticleType self)
16177 return _IMP_core.ParticleType_show(self, *args)
16180 def add_alias(old_key, new_name):
16181 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16182 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16184 add_alias = staticmethod(add_alias)
16186 def get_number_of_keys():
16187 """get_number_of_keys() -> unsigned int"""
16188 return _IMP_core.ParticleType_get_number_of_keys()
16190 get_number_of_keys = staticmethod(get_number_of_keys)
16193 """get_index(ParticleType self) -> unsigned int"""
16194 return _IMP_core.ParticleType_get_index(self)
16198 """show_all(_ostream out)"""
16199 return _IMP_core.ParticleType_show_all(out)
16201 show_all = staticmethod(show_all)
16203 def get_all_strings():
16204 """get_all_strings() -> IMP::Vector< std::string >"""
16205 return _IMP_core.ParticleType_get_all_strings()
16207 get_all_strings = staticmethod(get_all_strings)
16209 def get_number_unique():
16210 """get_number_unique() -> unsigned int"""
16211 return _IMP_core.ParticleType_get_number_unique()
16213 get_number_unique = staticmethod(get_number_unique)
16216 """__str__(ParticleType self) -> std::string"""
16217 return _IMP_core.ParticleType___str__(self)
16220 def __repr__(self):
16221 """__repr__(ParticleType self) -> std::string"""
16222 return _IMP_core.ParticleType___repr__(self)
16224 __swig_destroy__ = _IMP_core.delete_ParticleType
16225 __del__ =
lambda self:
None
16226 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
16227 ParticleType_swigregister(ParticleType)
16229 def ParticleType_add_key(sc):
16230 """ParticleType_add_key(std::string sc) -> unsigned int"""
16231 return _IMP_core.ParticleType_add_key(sc)
16233 def ParticleType_get_key_exists(sc):
16234 """ParticleType_get_key_exists(std::string sc) -> bool"""
16235 return _IMP_core.ParticleType_get_key_exists(sc)
16237 def ParticleType_add_alias(old_key, new_name):
16238 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16239 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16241 def ParticleType_get_number_of_keys():
16242 """ParticleType_get_number_of_keys() -> unsigned int"""
16243 return _IMP_core.ParticleType_get_number_of_keys()
16245 def ParticleType_show_all(out):
16246 """ParticleType_show_all(_ostream out)"""
16247 return _IMP_core.ParticleType_show_all(out)
16249 def ParticleType_get_all_strings():
16250 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
16251 return _IMP_core.ParticleType_get_all_strings()
16253 def ParticleType_get_number_unique():
16254 """ParticleType_get_number_unique() -> unsigned int"""
16255 return _IMP_core.ParticleType_get_number_unique()
16258 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
16259 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16260 __repr__ = _swig_repr
16262 def __init__(self, f, k):
16263 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
16264 this = _IMP_core.new_AttributeSingletonScore(f, k)
16266 self.this.append(this)
16270 def do_get_inputs(self, m, pis):
16271 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16272 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
16275 def get_unary_function(self):
16276 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
16277 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16280 def get_version_info(self):
16281 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16282 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16284 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16285 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16289 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16290 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16292 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
16293 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16294 __repr__ = _swig_repr
16296 def __init__(self, f, bb):
16297 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16298 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16300 self.this.append(this)
16304 def do_get_inputs(self, m, pis):
16305 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16306 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16309 def get_version_info(self):
16310 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16311 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16313 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16314 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16317 def create_bounding_box_3d_singleton_score(f, bb):
16318 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16319 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16321 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class"""
16322 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16323 __repr__ = _swig_repr
16325 def __init__(self, f, sphere):
16326 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16327 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16329 self.this.append(this)
16333 def do_get_inputs(self, m, pis):
16334 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16335 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16338 def get_version_info(self):
16339 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16340 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16342 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16343 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16346 def create_bounding_sphere_3d_singleton_score(f, sphere):
16347 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16348 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16350 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
16351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16352 __repr__ = _swig_repr
16354 def __init__(self, f, pt):
16355 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16356 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16358 self.this.append(this)
16362 def do_get_inputs(self, m, pis):
16363 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16364 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16367 def get_version_info(self):
16368 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16369 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16371 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16372 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16375 def create_distance_to_singleton_score(f, pt):
16376 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16377 return _IMP_core.create_distance_to_singleton_score(f, pt)
16381 CombineProvenance, FilterProvenance,
16382 ClusterProvenance, ScriptProvenance,
16383 SoftwareProvenance]):
16384 """Yield all provenance decorators of the given types for the particle.
16385 By default, all provenance types are returned. Provenance is returned
16386 in order, most recent first. If the particle has no provenance
16387 information, an empty generator is returned."""
16388 if Provenanced.get_is_setup(p):
16392 if c.get_is_setup(prov):
16394 prov = prov.get_previous()
16397 """Tag the given particle with the current Python script.
16398 This is a noop if the particle is already so tagged."""
16399 main = sys.modules[
'__main__']
16401 if not hasattr(main,
'__file__'):
16405 if prov.get_filename() == f:
16409 provp.set_name(
'script')
16410 prov = ScriptProvenance.setup_particle(provp, f)
16414 """Tag the given particle with the software used to create it.
16415 This is a noop if the particle is already so tagged."""
16417 if prov.get_software_name() == name
and prov.get_version() == version \
16418 and prov.get_location() == location:
16422 provp.set_name(
'software')
16423 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16427 """Tag the given particle as being created by the current version of IMP."""
16430 location=
"https://integrativemodeling.org")
16434 """get_module_version() -> std::string const"""
16435 return _IMP_core.get_module_version()
16438 """get_example_path(std::string fname) -> std::string"""
16439 return _IMP_core.get_example_path(fname)
16442 """get_data_path(std::string fname) -> std::string"""
16443 return _IMP_core.get_data_path(fname)
16445 from .
import _version_check
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
Abstract class for scoring object(s) of type ParticleIndexPair.
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
algebra::Transformation3D get_transformation_aligning_first_to_second(XYZsOrVector3ds a, XYZsOrVector3ds b)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
def add_script_provenance
Tag the given particle with the current Python script.
GenericBoundingSphere3DSingletonScore< UnaryFunction > BoundingSphere3DSingletonScore
Abstract predicate function.
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
algebra::ReferenceFrame3D get_initial_reference_frame(Model *m, const ParticleIndexes &pis)
The base class for geometry.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
XYZRs create_xyzr_particles(Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A base class for geometry contained in particles.
double get_angle(Direction a, Direction b)
Get angle between directions.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_rigid_body_cache_key(ObjectKey k)
Base class for all samplers.
Key< 34897493 > ParticleType
An IMP::Key object for identifying types of particles by strings.
algebra::Vector3D get_centroid(const XYZs &ps)
Get the centroid.
void add_particle(RMF::FileHandle fh, Particle *hs)
GenericHierarchies get_leaves(Hierarchy mhd)
Get all the leaves of the bit of hierarchy.
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
def add_imp_provenance
Tag the given particle as being created by the current version of IMP.
display::Geometries create_blame_geometries(const RestraintsTemp &rs, const ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
void show_rigid_body_hierarchy(RigidBody rb, TextOutput out=TextOutput(std::cout))
Implement a constraint on the Model.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
def add_software_provenance
Tag the given particle with the software used to create it.
Base class for objects in a Model that depend on other objects.
Abstract predicate function.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
int get_number_of_frames(const ::npctransport_proto::Assignment &config, double time_step)
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Base class for all optimizers.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
SurfaceGeometry * create_geometry(const Surface s, std::string name=std::string("SurfaceGeometry%1%"))
Create a geometry from a Surface.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
algebra::BoundingBoxD< 3 > get_bounding_box(const XYZRs &ps)
Get the bounding box.
Version and module information for Objects.
const algebra::Vector3D & get_vector_geometry(XYZ d)
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
std::string get_absolute_path(std::string file)
Convert a possibly relative path to an absolute path.
algebra::Sphere3D get_enclosing_sphere(const XYZs &v)
Get a sphere enclosing the set of XYZRs.
Base class for optimizers that act on individual attributes.
SurfaceGeometry * get_constrained_surface_geometry(const Surface s, std::string name="SurfaceGeometry%1%")
Get surface geometry constrained to the surface.
Abstract predicate function.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Represents a scoring function on the model.
void set_vector_geometry(XYZ d, const algebra::Vector3D &v)
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract predicate function.
GenericBoundingBox3DSingletonScore< UnaryFunction > BoundingBox3DSingletonScore
Abstract class to implement hierarchical methods.
double get_depth(const Surface &s, const XYZR &d)
Get depth of sphere below surface.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Class to handle individual particles of a Model object.
GenericAttributeSingletonScore< UF > * create_generic_attribute_singleton_score(UF *uf, FloatKey k)
void transform(RigidBody a, const algebra::Transformation3D &tr)
Transform a rigid body.
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
std::string get_module_version()
Return the version of this module, as a string.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
def get_all_provenance
Yield all provenance decorators of the given types for the particle.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
void add_provenance(Model *m, ParticleIndex pi, Provenance p)
Add provenance to part of the model.
Tag part of the system to track how it was created.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
Abstract single variable functor class for score functions.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.