10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
32 _IMP_core = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_CORE_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
126 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
131 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
132 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
134 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
139 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
140 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
142 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
151 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
152 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
156 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
157 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
161 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
162 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
166 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
167 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
171 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
172 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
177 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
182 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
187 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
192 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
197 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
202 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
208 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
214 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
215 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
224 _IMP_core.IMP_DEBUG_swigconstant(_IMP_core)
225 IMP_DEBUG = _IMP_core.IMP_DEBUG
227 _IMP_core.IMP_RELEASE_swigconstant(_IMP_core)
228 IMP_RELEASE = _IMP_core.IMP_RELEASE
230 _IMP_core.IMP_SILENT_swigconstant(_IMP_core)
231 IMP_SILENT = _IMP_core.IMP_SILENT
233 _IMP_core.IMP_PROGRESS_swigconstant(_IMP_core)
234 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
236 _IMP_core.IMP_TERSE_swigconstant(_IMP_core)
237 IMP_TERSE = _IMP_core.IMP_TERSE
239 _IMP_core.IMP_VERBOSE_swigconstant(_IMP_core)
240 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
242 _IMP_core.IMP_MEMORY_swigconstant(_IMP_core)
243 IMP_MEMORY = _IMP_core.IMP_MEMORY
245 _IMP_core.IMP_NONE_swigconstant(_IMP_core)
246 IMP_NONE = _IMP_core.IMP_NONE
248 _IMP_core.IMP_USAGE_swigconstant(_IMP_core)
249 IMP_USAGE = _IMP_core.IMP_USAGE
251 _IMP_core.IMP_INTERNAL_swigconstant(_IMP_core)
252 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
254 _IMP_core.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_core)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_core.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_core)
258 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
260 _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_core)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_core)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_core)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_core)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_core)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_core.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_core)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_core._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_core._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_core.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_core)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_core.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_core)
328 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
330 _IMP_core.IMP_HAS_NOEXCEPT_swigconstant(_IMP_core)
331 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
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.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_core)
347 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
350 _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_core)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_core.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_core)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
368 _IMP_core.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_core)
369 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
371 _IMP_core.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_core)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
375 _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_core)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
378 _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
381 _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
384 _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
387 _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
390 _IMP_core.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_core)
391 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
393 _IMP_core.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_core)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
397 _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_core)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
400 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
403 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
406 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
409 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
412 _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_core)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
415 _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_core)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
418 _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_core)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
422 _IMP_core.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_core)
423 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
425 _IMP_core.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_core)
426 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
428 _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
429 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
431 _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
432 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
434 _IMP_core.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
435 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
437 _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
438 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
440 _IMP_core.IMP_CORE_HAS_CGAL_swigconstant(_IMP_core)
441 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
443 _IMP_core.IMP_CORE_HAS_HDF5_swigconstant(_IMP_core)
444 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
446 _IMP_core.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_core)
447 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
449 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class."""
451 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
452 __repr__ = _swig_repr
454 def __init__(self, *args):
456 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
457 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
459 this = _IMP_core.new__OpenCubicSplineBase(*args)
461 self.this.append(this)
465 def get_version_info(self):
466 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
467 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
469 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
470 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
473 _object_types.append(
"MonteCarloMover")
476 def _object_cast_to_MonteCarloMover(o):
477 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
478 return _IMP_core._object_cast_to_MonteCarloMover(o)
480 MonteCarloMoverResults=list
481 _plural_types.append(
"MonteCarloMoverResults")
482 _value_types.append(
"MonteCarloMoverResult")
485 _object_types.append(
"AngleRestraint")
488 def _object_cast_to_AngleRestraint(o):
489 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
490 return _IMP_core._object_cast_to_AngleRestraint(o)
492 _object_types.append(
"AngleTripletScore")
495 def _object_cast_to_AngleTripletScore(o):
496 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
497 return _IMP_core._object_cast_to_AngleTripletScore(o)
499 _object_types.append(
"AttributeSingletonScore")
502 def _object_cast_to_AttributeSingletonScore(o):
503 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
504 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
506 _object_types.append(
"BallMover")
509 def _object_cast_to_BallMover(o):
510 """_object_cast_to_BallMover(Object o) -> BallMover"""
511 return _IMP_core._object_cast_to_BallMover(o)
513 _object_types.append(
"SerialMover")
516 def _object_cast_to_SerialMover(o):
517 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
518 return _IMP_core._object_cast_to_SerialMover(o)
520 _object_types.append(
"BoundingBox3DSingletonScore")
523 def _object_cast_to_BoundingBox3DSingletonScore(o):
524 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
525 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
527 _object_types.append(
"BoxSweepClosePairsFinder")
530 def _object_cast_to_BoxSweepClosePairsFinder(o):
531 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
532 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
534 _object_types.append(
"NearestNeighborsClosePairsFinder")
537 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
538 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
539 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
541 _object_types.append(
"CentroidOfRefined")
544 def _object_cast_to_CentroidOfRefined(o):
545 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
546 return _IMP_core._object_cast_to_CentroidOfRefined(o)
548 _object_types.append(
"ChecksScoreState")
551 def _object_cast_to_ChecksScoreState(o):
552 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
553 return _IMP_core._object_cast_to_ChecksScoreState(o)
555 _object_types.append(
"ChildrenRefiner")
558 def _object_cast_to_ChildrenRefiner(o):
559 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
560 return _IMP_core._object_cast_to_ChildrenRefiner(o)
562 _object_types.append(
"ClosePairsFinder")
565 def _object_cast_to_ClosePairsFinder(o):
566 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
567 return _IMP_core._object_cast_to_ClosePairsFinder(o)
569 _object_types.append(
"ClosePairsPairScore")
572 def _object_cast_to_ClosePairsPairScore(o):
573 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
574 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
576 _object_types.append(
"ClosedCubicSpline")
579 def _object_cast_to_ClosedCubicSpline(o):
580 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
581 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
583 _object_types.append(
"ConjugateGradients")
586 def _object_cast_to_ConjugateGradients(o):
587 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
588 return _IMP_core._object_cast_to_ConjugateGradients(o)
590 _object_types.append(
"ConnectivityRestraint")
593 def _object_cast_to_ConnectivityRestraint(o):
594 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
595 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
597 _object_types.append(
"ConstantRestraint")
600 def _object_cast_to_ConstantRestraint(o):
601 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
602 return _IMP_core._object_cast_to_ConstantRestraint(o)
604 _object_types.append(
"Cosine")
607 def _object_cast_to_Cosine(o):
608 """_object_cast_to_Cosine(Object o) -> Cosine"""
609 return _IMP_core._object_cast_to_Cosine(o)
611 _object_types.append(
"CoverRefined")
614 def _object_cast_to_CoverRefined(o):
615 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
616 return _IMP_core._object_cast_to_CoverRefined(o)
618 _object_types.append(
"DerivativesFromRefined")
621 def _object_cast_to_DerivativesFromRefined(o):
622 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
623 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
625 _object_types.append(
"DerivativesToRefined")
628 def _object_cast_to_DerivativesToRefined(o):
629 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
630 return _IMP_core._object_cast_to_DerivativesToRefined(o)
632 _object_types.append(
"WeightedDerivativesToRefined")
635 def _object_cast_to_WeightedDerivativesToRefined(o):
636 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
637 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
639 _object_types.append(
"DiameterRestraint")
642 def _object_cast_to_DiameterRestraint(o):
643 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
644 return _IMP_core._object_cast_to_DiameterRestraint(o)
646 _object_types.append(
"DihedralRestraint")
649 def _object_cast_to_DihedralRestraint(o):
650 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
651 return _IMP_core._object_cast_to_DihedralRestraint(o)
653 _object_types.append(
"DistanceRestraint")
656 def _object_cast_to_DistanceRestraint(o):
657 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
658 return _IMP_core._object_cast_to_DistanceRestraint(o)
660 _object_types.append(
"DistanceToSingletonScore")
663 def _object_cast_to_DistanceToSingletonScore(o):
664 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
665 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
667 _object_types.append(
"ExcludedVolumeRestraint")
670 def _object_cast_to_ExcludedVolumeRestraint(o):
671 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
672 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
674 _object_types.append(
"FixedRefiner")
677 def _object_cast_to_FixedRefiner(o):
678 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
679 return _IMP_core._object_cast_to_FixedRefiner(o)
681 _object_types.append(
"GridClosePairsFinder")
684 def _object_cast_to_GridClosePairsFinder(o):
685 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
686 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
688 _object_types.append(
"Harmonic")
691 def _object_cast_to_Harmonic(o):
692 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
693 return _IMP_core._object_cast_to_Harmonic(o)
695 _object_types.append(
"HarmonicWell")
698 def _object_cast_to_HarmonicWell(o):
699 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
700 return _IMP_core._object_cast_to_HarmonicWell(o)
702 _object_types.append(
"HarmonicLowerBound")
705 def _object_cast_to_HarmonicLowerBound(o):
706 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
707 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
709 _object_types.append(
"HarmonicUpperBound")
712 def _object_cast_to_HarmonicUpperBound(o):
713 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
714 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
716 _object_types.append(
"HarmonicSphereDistancePairScore")
719 def _object_cast_to_HarmonicSphereDistancePairScore(o):
720 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
721 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
723 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
726 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
727 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
728 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
730 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
733 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
734 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
735 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
737 _object_types.append(
"IncrementalScoringFunction")
740 def _object_cast_to_IncrementalScoringFunction(o):
741 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
742 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
744 _object_types.append(
"KClosePairsPairScore")
747 def _object_cast_to_KClosePairsPairScore(o):
748 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
749 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
751 _object_types.append(
"LeavesRefiner")
754 def _object_cast_to_LeavesRefiner(o):
755 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
756 return _IMP_core._object_cast_to_LeavesRefiner(o)
758 _object_types.append(
"Linear")
761 def _object_cast_to_Linear(o):
762 """_object_cast_to_Linear(Object o) -> Linear"""
763 return _IMP_core._object_cast_to_Linear(o)
765 _object_types.append(
"MCCGSampler")
768 def _object_cast_to_MCCGSampler(o):
769 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
770 return _IMP_core._object_cast_to_MCCGSampler(o)
772 _object_types.append(
"MonteCarlo")
775 def _object_cast_to_MonteCarlo(o):
776 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
777 return _IMP_core._object_cast_to_MonteCarlo(o)
779 _object_types.append(
"MonteCarloWithLocalOptimization")
782 def _object_cast_to_MonteCarloWithLocalOptimization(o):
783 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
784 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
786 _object_types.append(
"MonteCarloWithBasinHopping")
789 def _object_cast_to_MonteCarloWithBasinHopping(o):
790 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
791 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
793 _object_types.append(
"MSConnectivityRestraint")
796 def _object_cast_to_MSConnectivityRestraint(o):
797 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
798 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
800 _object_types.append(
"NeighborsTable")
803 def _object_cast_to_NeighborsTable(o):
804 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
805 return _IMP_core._object_cast_to_NeighborsTable(o)
807 _object_types.append(
"NormalMover")
810 def _object_cast_to_NormalMover(o):
811 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
812 return _IMP_core._object_cast_to_NormalMover(o)
814 _object_types.append(
"NormalizedSphereDistancePairScore")
817 def _object_cast_to_NormalizedSphereDistancePairScore(o):
818 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
819 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
821 _object_types.append(
"OpenCubicSpline")
824 def _object_cast_to_OpenCubicSpline(o):
825 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
826 return _IMP_core._object_cast_to_OpenCubicSpline(o)
828 _object_types.append(
"PairConstraint")
831 def _object_cast_to_PairConstraint(o):
832 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
833 return _IMP_core._object_cast_to_PairConstraint(o)
835 _object_types.append(
"PairRestraint")
838 def _object_cast_to_PairRestraint(o):
839 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
840 return _IMP_core._object_cast_to_PairRestraint(o)
842 _object_types.append(
"QuadConstraint")
845 def _object_cast_to_QuadConstraint(o):
846 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
847 return _IMP_core._object_cast_to_QuadConstraint(o)
849 _object_types.append(
"QuadRestraint")
852 def _object_cast_to_QuadRestraint(o):
853 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
854 return _IMP_core._object_cast_to_QuadRestraint(o)
856 _object_types.append(
"QuadraticClosePairsFinder")
859 def _object_cast_to_QuadraticClosePairsFinder(o):
860 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
861 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
863 _object_types.append(
"RefinedPairsPairScore")
866 def _object_cast_to_RefinedPairsPairScore(o):
867 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
868 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
870 _object_types.append(
"RestraintsScoringFunction")
873 def _object_cast_to_RestraintsScoringFunction(o):
874 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
875 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
877 _object_types.append(
"RigidBodyDistancePairScore")
880 def _object_cast_to_RigidBodyDistancePairScore(o):
881 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
882 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
884 _object_types.append(
"RigidBodyAnglePairScore")
887 def _object_cast_to_RigidBodyAnglePairScore(o):
888 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
889 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
891 _object_types.append(
"RigidBodyMover")
894 def _object_cast_to_RigidBodyMover(o):
895 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
896 return _IMP_core._object_cast_to_RigidBodyMover(o)
898 _object_types.append(
"RigidBodyTunneler")
901 def _object_cast_to_RigidBodyTunneler(o):
902 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
903 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
905 _object_types.append(
"RigidBodyUmbrella")
908 def _object_cast_to_RigidBodyUmbrella(o):
909 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
910 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
912 _object_types.append(
"RigidClosePairsFinder")
915 def _object_cast_to_RigidClosePairsFinder(o):
916 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
917 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
919 _object_types.append(
"RigidMembersRefiner")
922 def _object_cast_to_RigidMembersRefiner(o):
923 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
924 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
926 _object_types.append(
"SingletonConstraint")
929 def _object_cast_to_SingletonConstraint(o):
930 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
931 return _IMP_core._object_cast_to_SingletonConstraint(o)
933 _object_types.append(
"SingletonRestraint")
936 def _object_cast_to_SingletonRestraint(o):
937 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
938 return _IMP_core._object_cast_to_SingletonRestraint(o)
940 _object_types.append(
"SoftSpherePairScore")
943 def _object_cast_to_SoftSpherePairScore(o):
944 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
945 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
947 _object_types.append(
"SphereDistancePairScore")
950 def _object_cast_to_SphereDistancePairScore(o):
951 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
952 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
954 _object_types.append(
"SphereDistanceToSingletonScore")
957 def _object_cast_to_SphereDistanceToSingletonScore(o):
958 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
959 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
961 _object_types.append(
"SteepestDescent")
964 def _object_cast_to_SteepestDescent(o):
965 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
966 return _IMP_core._object_cast_to_SteepestDescent(o)
968 _object_types.append(
"TableRefiner")
971 def _object_cast_to_TableRefiner(o):
972 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
973 return _IMP_core._object_cast_to_TableRefiner(o)
975 _object_types.append(
"Transform")
978 def _object_cast_to_Transform(o):
979 """_object_cast_to_Transform(Object o) -> Transform"""
980 return _IMP_core._object_cast_to_Transform(o)
982 _object_types.append(
"TransformationAndReflectionSymmetry")
985 def _object_cast_to_TransformationAndReflectionSymmetry(o):
986 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
987 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
989 _object_types.append(
"TransformationSymmetry")
992 def _object_cast_to_TransformationSymmetry(o):
993 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
994 return _IMP_core._object_cast_to_TransformationSymmetry(o)
996 _object_types.append(
"TransformationSymmetryMover")
999 def _object_cast_to_TransformationSymmetryMover(o):
1000 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1001 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1003 _object_types.append(
"TransformedDistancePairScore")
1006 def _object_cast_to_TransformedDistancePairScore(o):
1007 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1008 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1010 _object_types.append(
"TripletConstraint")
1013 def _object_cast_to_TripletConstraint(o):
1014 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1015 return _IMP_core._object_cast_to_TripletConstraint(o)
1017 _object_types.append(
"TripletRestraint")
1020 def _object_cast_to_TripletRestraint(o):
1021 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1022 return _IMP_core._object_cast_to_TripletRestraint(o)
1024 _object_types.append(
"TypedPairScore")
1027 def _object_cast_to_TypedPairScore(o):
1028 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1029 return _IMP_core._object_cast_to_TypedPairScore(o)
1031 _object_types.append(
"VolumeRestraint")
1034 def _object_cast_to_VolumeRestraint(o):
1035 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1036 return _IMP_core._object_cast_to_VolumeRestraint(o)
1038 _object_types.append(
"WeightedSphereDistancePairScore")
1041 def _object_cast_to_WeightedSphereDistancePairScore(o):
1042 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1043 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1045 _object_types.append(
"MoveStatisticsScoreState")
1048 def _object_cast_to_MoveStatisticsScoreState(o):
1049 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1050 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1052 _object_types.append(
"MinimumRestraint")
1055 def _object_cast_to_MinimumRestraint(o):
1056 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1057 return _IMP_core._object_cast_to_MinimumRestraint(o)
1059 _object_types.append(
"WriteRestraintScoresOptimizerState")
1062 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1063 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1064 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1066 _object_types.append(
"ConstantSingletonPredicate")
1069 def _object_cast_to_ConstantSingletonPredicate(o):
1070 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1071 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1073 _object_types.append(
"ConstantPairPredicate")
1076 def _object_cast_to_ConstantPairPredicate(o):
1077 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1078 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1080 _object_types.append(
"ConstantTripletPredicate")
1083 def _object_cast_to_ConstantTripletPredicate(o):
1084 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1085 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1087 _object_types.append(
"ConstantQuadPredicate")
1090 def _object_cast_to_ConstantQuadPredicate(o):
1091 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1092 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1094 _object_types.append(
"CoinFlipSingletonPredicate")
1097 def _object_cast_to_CoinFlipSingletonPredicate(o):
1098 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1099 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1101 _object_types.append(
"CoinFlipPairPredicate")
1104 def _object_cast_to_CoinFlipPairPredicate(o):
1105 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1106 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1108 _object_types.append(
"CoinFlipTripletPredicate")
1111 def _object_cast_to_CoinFlipTripletPredicate(o):
1112 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1113 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1115 _object_types.append(
"CoinFlipQuadPredicate")
1118 def _object_cast_to_CoinFlipQuadPredicate(o):
1119 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1120 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1122 _object_types.append(
"UnorderedTypeSingletonPredicate")
1125 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1126 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1127 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1129 _object_types.append(
"UnorderedTypePairPredicate")
1132 def _object_cast_to_UnorderedTypePairPredicate(o):
1133 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1134 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1136 _object_types.append(
"UnorderedTypeTripletPredicate")
1139 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1140 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1141 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1143 _object_types.append(
"UnorderedTypeQuadPredicate")
1146 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1147 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1148 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1150 _object_types.append(
"OrderedTypeSingletonPredicate")
1153 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1154 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1155 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1157 _object_types.append(
"OrderedTypePairPredicate")
1160 def _object_cast_to_OrderedTypePairPredicate(o):
1161 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1162 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1164 _object_types.append(
"OrderedTypeTripletPredicate")
1167 def _object_cast_to_OrderedTypeTripletPredicate(o):
1168 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1169 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1171 _object_types.append(
"OrderedTypeQuadPredicate")
1174 def _object_cast_to_OrderedTypeQuadPredicate(o):
1175 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1176 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1178 _object_types.append(
"AllSameSingletonPredicate")
1181 def _object_cast_to_AllSameSingletonPredicate(o):
1182 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1183 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1185 _object_types.append(
"AllSamePairPredicate")
1188 def _object_cast_to_AllSamePairPredicate(o):
1189 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1190 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1192 _object_types.append(
"AllSameTripletPredicate")
1195 def _object_cast_to_AllSameTripletPredicate(o):
1196 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1197 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1199 _object_types.append(
"AllSameQuadPredicate")
1202 def _object_cast_to_AllSameQuadPredicate(o):
1203 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1204 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1207 return [XYZ(x)
for x
in l]
1208 _plural_types.append(
"XYZs")
1211 _value_types.append(
"XYZ")
1215 return [XYZR(x)
for x
in l]
1216 _plural_types.append(
"XYZRs")
1219 _value_types.append(
"XYZR")
1222 def RigidBodies(l=[]):
1223 return [RigidBody(x)
for x
in l]
1224 _plural_types.append(
"RigidBodies")
1227 _value_types.append(
"RigidBody")
1230 def RigidBodyMembers(l=[]):
1231 return [RigidBodyMember(x)
for x
in l]
1232 _plural_types.append(
"RigidBodyMembers")
1235 _value_types.append(
"RigidBodyMember")
1238 def RigidMembers(l=[]):
1239 return [RigidMember(x)
for x
in l]
1240 _plural_types.append(
"RigidMembers")
1243 _value_types.append(
"RigidMember")
1246 def NonRigidMembers(l=[]):
1247 return [NonRigidMember(x)
for x
in l]
1248 _plural_types.append(
"NonRigidMembers")
1251 _value_types.append(
"NonRigidMember")
1254 def Centroids(l=[]):
1255 return [Centroid(x)
for x
in l]
1256 _plural_types.append(
"Centroids")
1259 _value_types.append(
"Centroid")
1263 return [Cover(x)
for x
in l]
1264 _plural_types.append(
"Covers")
1267 _value_types.append(
"Cover")
1270 def References(l=[]):
1271 return [Reference(x)
for x
in l]
1272 _plural_types.append(
"References")
1275 _value_types.append(
"Reference")
1279 _plural_types.append(
"ParticleTypes")
1280 _value_types.append(
"ParticleType")
1284 return [Typed(x)
for x
in l]
1285 _plural_types.append(
"Typeds")
1288 _value_types.append(
"Typed")
1291 def GenericHierarchies(l=[]):
1292 return [Hierarchy(x)
for x
in l]
1293 _plural_types.append(
"GenericHierarchies")
1296 _value_types.append(
"Hierarchy")
1299 def Gaussians(l=[]):
1300 return [Gaussian(x)
for x
in l]
1301 _plural_types.append(
"Gaussians")
1304 _value_types.append(
"Gaussian")
1307 HierarchyCounters=list
1308 _plural_types.append(
"HierarchyCounters")
1309 _value_types.append(
"HierarchyCounter")
1312 HierarchyTraitsList=list
1313 _plural_types.append(
"HierarchyTraitsList")
1314 _value_types.append(
"HierarchyTraits")
1317 _object_types.append(
"TruncatedHarmonicBound")
1320 def _object_cast_to_TruncatedHarmonicBound(o):
1321 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1322 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1324 _object_types.append(
"TruncatedHarmonicLowerBound")
1327 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1328 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1329 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1331 _object_types.append(
"TruncatedHarmonicUpperBound")
1334 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1335 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1336 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1338 _object_types.append(
"HarmonicDistancePairScore")
1341 def _object_cast_to_HarmonicDistancePairScore(o):
1342 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1343 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1345 _object_types.append(
"DistancePairScore")
1348 def _object_cast_to_DistancePairScore(o):
1349 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1350 return _IMP_core._object_cast_to_DistancePairScore(o)
1352 _object_types.append(
"XYZRGeometry")
1355 def _object_cast_to_XYZRGeometry(o):
1356 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1357 return _IMP_core._object_cast_to_XYZRGeometry(o)
1359 _object_types.append(
"XYZRsGeometry")
1362 def _object_cast_to_XYZRsGeometry(o):
1363 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1364 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1366 _object_types.append(
"XYZDerivativeGeometry")
1369 def _object_cast_to_XYZDerivativeGeometry(o):
1370 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1371 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1373 _object_types.append(
"XYZDerivativesGeometry")
1376 def _object_cast_to_XYZDerivativesGeometry(o):
1377 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1378 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1380 _object_types.append(
"RigidBodyDerivativeGeometry")
1383 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1384 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1385 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1387 _object_types.append(
"RigidBodyDerivativesGeometry")
1390 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1391 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1392 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1394 _object_types.append(
"RigidBodyHierarchyGeometry")
1397 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1398 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1399 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1401 _object_types.append(
"RigidBodyFrameGeometry")
1404 def _object_cast_to_RigidBodyFrameGeometry(o):
1405 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1406 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1408 _object_types.append(
"RigidBodyFramesGeometry")
1411 def _object_cast_to_RigidBodyFramesGeometry(o):
1412 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1413 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1415 _object_types.append(
"RigidBodyTorque")
1418 def _object_cast_to_RigidBodyTorque(o):
1419 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1420 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1422 _object_types.append(
"EdgePairGeometry")
1425 def _object_cast_to_EdgePairGeometry(o):
1426 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1427 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1429 _object_types.append(
"EdgePairsGeometry")
1432 def _object_cast_to_EdgePairsGeometry(o):
1433 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1434 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1436 _object_types.append(
"AttributeSingletonPredicate")
1439 def _object_cast_to_AttributeSingletonPredicate(o):
1440 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1441 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1443 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1446 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1447 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1448 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1450 _object_types.append(
"IsCollisionPairPredicate")
1453 def _object_cast_to_IsCollisionPairPredicate(o):
1454 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1455 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1456 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1457 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1461 def __init__(self, *args, **kwargs):
1462 raise AttributeError(
"No constructor defined - class is abstract")
1463 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1464 __del__ =
lambda self:
None
1466 def get_close_pairs(self, *args):
1468 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1469 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1470 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1471 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1473 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1476 def set_distance(self, d):
1477 """set_distance(ClosePairsFinder self, double d)"""
1478 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1482 """get_distance(ClosePairsFinder self) -> double"""
1483 return _IMP_core.ClosePairsFinder_get_distance(self)
1486 def remove_pair_filter(self, d):
1487 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1488 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1491 def remove_pair_filters(self, d):
1492 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1493 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1496 def set_pair_filters(self, ps):
1497 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1498 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1501 def set_pair_filters_order(self, objs):
1502 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1503 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1506 def add_pair_filter(self, obj):
1507 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1508 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1511 def add_pair_filters(self, objs):
1512 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1513 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1516 def clear_pair_filters(self):
1517 """clear_pair_filters(ClosePairsFinder self)"""
1518 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1521 def get_number_of_pair_filters(self):
1522 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1523 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1526 def get_has_pair_filters(self):
1527 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1528 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1531 def get_pair_filter(self, i):
1532 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1533 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1536 def get_pair_filters(self):
1537 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1538 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1541 def reserve_pair_filters(self, sz):
1542 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1543 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1547 """__str__(ClosePairsFinder self) -> std::string"""
1548 return _IMP_core.ClosePairsFinder___str__(self)
1552 """__repr__(ClosePairsFinder self) -> std::string"""
1553 return _IMP_core.ClosePairsFinder___repr__(self)
1558 return _object_cast_to_ClosePairsFinder(o)
1560 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1561 ClosePairsFinder_swigregister(ClosePairsFinder)
1563 class MonteCarloMoverResult(IMP._Value):
1564 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1566 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1568 def __init__(self, *args):
1570 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1571 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1572 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1574 this = _IMP_core.new_MonteCarloMoverResult(*args)
1576 self.this.append(this)
1581 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1582 return _IMP_core.MonteCarloMoverResult___hash__(self)
1585 def show(self, *args):
1587 show(MonteCarloMoverResult self, _ostream out)
1588 show(MonteCarloMoverResult self)
1590 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1593 def __cmp__(self, o):
1594 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1595 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1598 def __eq__(self, o):
1599 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1600 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1603 def __ne__(self, o):
1604 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1605 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1608 def __lt__(self, o):
1609 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1610 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1613 def __gt__(self, o):
1614 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1615 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1618 def __ge__(self, o):
1619 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1620 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1623 def __le__(self, o):
1624 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1625 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1628 def get_moved_particles(self):
1629 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1630 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1633 def set_moved_particles(self, v):
1634 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1635 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1638 def get_proposal_ratio(self):
1639 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1640 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1643 def set_proposal_ratio(self, v):
1644 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1645 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1649 """__str__(MonteCarloMoverResult self) -> std::string"""
1650 return _IMP_core.MonteCarloMoverResult___str__(self)
1654 """__repr__(MonteCarloMoverResult self) -> std::string"""
1655 return _IMP_core.MonteCarloMoverResult___repr__(self)
1657 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1658 __del__ =
lambda self:
None
1659 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1660 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1663 """Proxy of C++ IMP::core::MonteCarloMover class."""
1665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1667 def __init__(self, m, name):
1668 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1669 if self.__class__ == MonteCarloMover:
1673 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1675 self.this.append(this)
1679 if self.__class__ != MonteCarloMover:
1680 _director_objects.register(self)
1686 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1687 return _IMP_core.MonteCarloMover_propose(self)
1691 """reject(MonteCarloMover self)"""
1692 return _IMP_core.MonteCarloMover_reject(self)
1696 """accept(MonteCarloMover self)"""
1697 return _IMP_core.MonteCarloMover_accept(self)
1700 def get_number_of_proposed(self):
1701 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1702 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1705 def get_number_of_accepted(self):
1706 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1707 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1710 def reset_statistics(self):
1711 """reset_statistics(MonteCarloMover self)"""
1712 return _IMP_core.MonteCarloMover_reset_statistics(self)
1715 def do_propose(self):
1716 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1717 return _IMP_core.MonteCarloMover_do_propose(self)
1720 def do_reject(self):
1721 """do_reject(MonteCarloMover self)"""
1722 return _IMP_core.MonteCarloMover_do_reject(self)
1725 def do_accept(self):
1726 """do_accept(MonteCarloMover self)"""
1727 return _IMP_core.MonteCarloMover_do_accept(self)
1730 def do_get_outputs(self):
1731 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1732 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1736 """__str__(MonteCarloMover self) -> std::string"""
1737 return _IMP_core.MonteCarloMover___str__(self)
1741 """__repr__(MonteCarloMover self) -> std::string"""
1742 return _IMP_core.MonteCarloMover___repr__(self)
1747 return _object_cast_to_MonteCarloMover(o)
1750 def get_type_name(self):
1751 return self.__class__.__name__
1752 def do_show(self, out):
1754 def get_version_info(self):
1755 if"IMP::core" ==
"IMP":
1756 return VersionInfo(self.__module__,
1757 __import__(self.__module__).get_module_version())
1760 __import__(self.__module__).get_module_version())
1763 return _object_cast_to_MonteCarloMover(o)
1765 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1766 __del__ =
lambda self:
None
1767 def __disown__(self):
1769 _IMP_core.disown_MonteCarloMover(self)
1770 return weakref_proxy(self)
1772 def do_destroy(self):
1773 """do_destroy(MonteCarloMover self)"""
1774 return _IMP_core.MonteCarloMover_do_destroy(self)
1777 def handle_set_has_required_score_states(self, arg0):
1778 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1779 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1782 def do_get_inputs(self):
1783 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1784 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1787 def do_get_interactions(self):
1788 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1789 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1791 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1792 MonteCarloMover_swigregister(MonteCarloMover)
1795 """Proxy of C++ IMP::core::XYZ class."""
1797 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1799 def get_coordinate_key(i):
1800 """get_coordinate_key(unsigned int i) -> FloatKey"""
1801 return _IMP_core.XYZ_get_coordinate_key(i)
1803 get_coordinate_key = staticmethod(get_coordinate_key)
1805 def __init__(self, *args):
1807 __init__(IMP::core::XYZ self) -> XYZ
1808 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1809 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1811 this = _IMP_core.new_XYZ(*args)
1813 self.this.append(this)
1817 def show(self, *args):
1819 show(XYZ self, _ostream out)
1822 return _IMP_core.XYZ_show(self, *args)
1825 def setup_particle(*args):
1827 setup_particle(Model m, ParticleIndex pi) -> XYZ
1828 setup_particle(_ParticleAdaptor decorator) -> XYZ
1829 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1830 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1832 return _IMP_core.XYZ_setup_particle(*args)
1834 setup_particle = staticmethod(setup_particle)
1837 """get_x(XYZ self) -> IMP::Float"""
1838 return _IMP_core.XYZ_get_x(self)
1842 """set_x(XYZ self, IMP::Float t)"""
1843 return _IMP_core.XYZ_set_x(self, t)
1847 """get_y(XYZ self) -> IMP::Float"""
1848 return _IMP_core.XYZ_get_y(self)
1852 """set_y(XYZ self, IMP::Float t)"""
1853 return _IMP_core.XYZ_set_y(self, t)
1857 """get_z(XYZ self) -> IMP::Float"""
1858 return _IMP_core.XYZ_get_z(self)
1862 """set_z(XYZ self, IMP::Float t)"""
1863 return _IMP_core.XYZ_set_z(self, t)
1866 def set_coordinate(self, i, v):
1867 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1868 return _IMP_core.XYZ_set_coordinate(self, i, v)
1871 def set_coordinates(self, v):
1872 """set_coordinates(XYZ self, Vector3D v)"""
1873 return _IMP_core.XYZ_set_coordinates(self, v)
1876 def get_coordinate(self, i):
1877 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1878 return _IMP_core.XYZ_get_coordinate(self, i)
1881 def add_to_derivatives(self, v, d):
1882 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1883 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
1886 def get_coordinates_are_optimized(self):
1887 """get_coordinates_are_optimized(XYZ self) -> bool"""
1888 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1891 def set_coordinates_are_optimized(self, tf):
1892 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1893 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
1896 def get_vector_to(self, b):
1897 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1898 return _IMP_core.XYZ_get_vector_to(self, b)
1901 def get_coordinates(self):
1902 """get_coordinates(XYZ self) -> Vector3D"""
1903 return _IMP_core.XYZ_get_coordinates(self)
1906 def get_derivatives(self):
1907 """get_derivatives(XYZ self) -> Vector3D"""
1908 return _IMP_core.XYZ_get_derivatives(self)
1911 def get_is_setup(*args):
1913 get_is_setup(_ParticleAdaptor p) -> bool
1914 get_is_setup(Model m, ParticleIndex pi) -> bool
1916 return _IMP_core.XYZ_get_is_setup(*args)
1918 get_is_setup = staticmethod(get_is_setup)
1921 """get_xyz_keys() -> IMP::FloatKeys const &"""
1922 return _IMP_core.XYZ_get_xyz_keys()
1924 get_xyz_keys = staticmethod(get_xyz_keys)
1926 def add_attribute(self, *args):
1928 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1929 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1930 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1931 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1932 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1933 add_attribute(XYZ self, ObjectKey a0, Object a1)
1935 return _IMP_core.XYZ_add_attribute(self, *args)
1938 def get_value(self, *args):
1940 get_value(XYZ self, FloatKey a0) -> IMP::Float
1941 get_value(XYZ self, IntKey a0) -> IMP::Int
1942 get_value(XYZ self, StringKey a0) -> IMP::String
1943 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1944 get_value(XYZ self, ObjectKey a0) -> Object
1946 return _IMP_core.XYZ_get_value(self, *args)
1949 def set_value(self, *args):
1951 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1952 set_value(XYZ self, IntKey a0, IMP::Int a1)
1953 set_value(XYZ self, StringKey a0, IMP::String a1)
1954 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1955 set_value(XYZ self, ObjectKey a0, Object a1)
1957 return _IMP_core.XYZ_set_value(self, *args)
1960 def remove_attribute(self, *args):
1962 remove_attribute(XYZ self, FloatKey a0)
1963 remove_attribute(XYZ self, IntKey a0)
1964 remove_attribute(XYZ self, StringKey a0)
1965 remove_attribute(XYZ self, ParticleIndexKey a0)
1966 remove_attribute(XYZ self, ObjectKey a0)
1968 return _IMP_core.XYZ_remove_attribute(self, *args)
1971 def has_attribute(self, *args):
1973 has_attribute(XYZ self, FloatKey a0) -> bool
1974 has_attribute(XYZ self, IntKey a0) -> bool
1975 has_attribute(XYZ self, StringKey a0) -> bool
1976 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1977 has_attribute(XYZ self, ObjectKey a0) -> bool
1979 return _IMP_core.XYZ_has_attribute(self, *args)
1982 def get_derivative(self, *args):
1984 get_derivative(XYZ self, int i) -> IMP::Float
1985 get_derivative(XYZ self, FloatKey a0) -> double
1987 return _IMP_core.XYZ_get_derivative(self, *args)
1991 """get_name(XYZ self) -> std::string"""
1992 return _IMP_core.XYZ_get_name(self)
1995 def clear_caches(self):
1996 """clear_caches(XYZ self)"""
1997 return _IMP_core.XYZ_clear_caches(self)
2000 def set_name(self, a0):
2001 """set_name(XYZ self, std::string a0)"""
2002 return _IMP_core.XYZ_set_name(self, a0)
2006 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2007 return _IMP_core.XYZ_set_check_level(self, a0)
2010 def add_to_derivative(self, *args):
2012 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2013 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2015 return _IMP_core.XYZ_add_to_derivative(self, *args)
2018 def set_is_optimized(self, a0, a1):
2019 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2020 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2023 def get_is_optimized(self, a0):
2024 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2025 return _IMP_core.XYZ_get_is_optimized(self, a0)
2029 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2030 return _IMP_core.XYZ_get_check_level(self)
2033 def __eq__(self, *args):
2035 __eq__(XYZ self, XYZ o) -> bool
2036 __eq__(XYZ self, Particle d) -> bool
2038 return _IMP_core.XYZ___eq__(self, *args)
2041 def __ne__(self, *args):
2043 __ne__(XYZ self, XYZ o) -> bool
2044 __ne__(XYZ self, Particle d) -> bool
2046 return _IMP_core.XYZ___ne__(self, *args)
2049 def __le__(self, *args):
2051 __le__(XYZ self, XYZ o) -> bool
2052 __le__(XYZ self, Particle d) -> bool
2054 return _IMP_core.XYZ___le__(self, *args)
2057 def __lt__(self, *args):
2059 __lt__(XYZ self, XYZ o) -> bool
2060 __lt__(XYZ self, Particle d) -> bool
2062 return _IMP_core.XYZ___lt__(self, *args)
2065 def __ge__(self, *args):
2067 __ge__(XYZ self, XYZ o) -> bool
2068 __ge__(XYZ self, Particle d) -> bool
2070 return _IMP_core.XYZ___ge__(self, *args)
2073 def __gt__(self, *args):
2075 __gt__(XYZ self, XYZ o) -> bool
2076 __gt__(XYZ self, Particle d) -> bool
2078 return _IMP_core.XYZ___gt__(self, *args)
2082 """__hash__(XYZ self) -> std::size_t"""
2083 return _IMP_core.XYZ___hash__(self)
2087 """__str__(XYZ self) -> std::string"""
2088 return _IMP_core.XYZ___str__(self)
2092 """__repr__(XYZ self) -> std::string"""
2093 return _IMP_core.XYZ___repr__(self)
2095 __swig_destroy__ = _IMP_core.delete_XYZ
2096 __del__ =
lambda self:
None
2097 XYZ_swigregister = _IMP_core.XYZ_swigregister
2098 XYZ_swigregister(XYZ)
2100 def XYZ_get_coordinate_key(i):
2101 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2102 return _IMP_core.XYZ_get_coordinate_key(i)
2104 def XYZ_setup_particle(*args):
2106 setup_particle(Model m, ParticleIndex pi) -> XYZ
2107 setup_particle(_ParticleAdaptor decorator) -> XYZ
2108 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2109 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2111 return _IMP_core.XYZ_setup_particle(*args)
2113 def XYZ_get_is_setup(*args):
2115 get_is_setup(_ParticleAdaptor p) -> bool
2116 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2118 return _IMP_core.XYZ_get_is_setup(*args)
2120 def XYZ_get_xyz_keys():
2121 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2122 return _IMP_core.XYZ_get_xyz_keys()
2126 """set_vector_geometry(XYZ d, Vector3D v)"""
2127 return _IMP_core.set_vector_geometry(d, v)
2130 """get_vector_geometry(XYZ d) -> Vector3D"""
2131 return _IMP_core.get_vector_geometry(d)
2134 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2135 return _IMP_core.get_dihedral(a, b, c, d)
2137 """Proxy of C++ IMP::core::XYZR class."""
2139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2141 def __init__(self, *args):
2143 __init__(IMP::core::XYZR self) -> XYZR
2144 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2145 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2147 this = _IMP_core.new_XYZR(*args)
2149 self.this.append(this)
2153 def show(self, *args):
2155 show(XYZR self, _ostream out)
2158 return _IMP_core.XYZR_show(self, *args)
2161 def setup_particle(*args):
2163 setup_particle(Model m, ParticleIndex pi) -> XYZR
2164 setup_particle(_ParticleAdaptor decorator) -> XYZR
2165 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2166 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2167 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2168 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2170 return _IMP_core.XYZR_setup_particle(*args)
2172 setup_particle = staticmethod(setup_particle)
2174 def get_is_setup(*args):
2176 get_is_setup(_ParticleAdaptor p) -> bool
2177 get_is_setup(Model m, ParticleIndex pi) -> bool
2179 return _IMP_core.XYZR_get_is_setup(*args)
2181 get_is_setup = staticmethod(get_is_setup)
2183 def get_radius(self):
2184 """get_radius(XYZR self) -> double"""
2185 return _IMP_core.XYZR_get_radius(self)
2188 def set_radius(self, r):
2189 """set_radius(XYZR self, double r)"""
2190 return _IMP_core.XYZR_set_radius(self, r)
2193 def get_sphere(self):
2194 """get_sphere(XYZR self) -> Sphere3D"""
2195 return _IMP_core.XYZR_get_sphere(self)
2198 def set_sphere(self, s):
2199 """set_sphere(XYZR self, Sphere3D s)"""
2200 return _IMP_core.XYZR_set_sphere(self, s)
2203 def get_radius_key():
2204 """get_radius_key() -> FloatKey"""
2205 return _IMP_core.XYZR_get_radius_key()
2207 get_radius_key = staticmethod(get_radius_key)
2209 def add_to_radius_derivative(self, v, d):
2210 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2211 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2214 def add_attribute(self, *args):
2216 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2217 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2218 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2219 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2220 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2221 add_attribute(XYZR self, ObjectKey a0, Object a1)
2223 return _IMP_core.XYZR_add_attribute(self, *args)
2226 def get_value(self, *args):
2228 get_value(XYZR self, FloatKey a0) -> IMP::Float
2229 get_value(XYZR self, IntKey a0) -> IMP::Int
2230 get_value(XYZR self, StringKey a0) -> IMP::String
2231 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2232 get_value(XYZR self, ObjectKey a0) -> Object
2234 return _IMP_core.XYZR_get_value(self, *args)
2237 def set_value(self, *args):
2239 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2240 set_value(XYZR self, IntKey a0, IMP::Int a1)
2241 set_value(XYZR self, StringKey a0, IMP::String a1)
2242 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2243 set_value(XYZR self, ObjectKey a0, Object a1)
2245 return _IMP_core.XYZR_set_value(self, *args)
2248 def remove_attribute(self, *args):
2250 remove_attribute(XYZR self, FloatKey a0)
2251 remove_attribute(XYZR self, IntKey a0)
2252 remove_attribute(XYZR self, StringKey a0)
2253 remove_attribute(XYZR self, ParticleIndexKey a0)
2254 remove_attribute(XYZR self, ObjectKey a0)
2256 return _IMP_core.XYZR_remove_attribute(self, *args)
2259 def has_attribute(self, *args):
2261 has_attribute(XYZR self, FloatKey a0) -> bool
2262 has_attribute(XYZR self, IntKey a0) -> bool
2263 has_attribute(XYZR self, StringKey a0) -> bool
2264 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2265 has_attribute(XYZR self, ObjectKey a0) -> bool
2267 return _IMP_core.XYZR_has_attribute(self, *args)
2270 def get_derivative(self, a0):
2271 """get_derivative(XYZR self, FloatKey a0) -> double"""
2272 return _IMP_core.XYZR_get_derivative(self, a0)
2276 """get_name(XYZR self) -> std::string"""
2277 return _IMP_core.XYZR_get_name(self)
2280 def clear_caches(self):
2281 """clear_caches(XYZR self)"""
2282 return _IMP_core.XYZR_clear_caches(self)
2285 def set_name(self, a0):
2286 """set_name(XYZR self, std::string a0)"""
2287 return _IMP_core.XYZR_set_name(self, a0)
2291 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2292 return _IMP_core.XYZR_set_check_level(self, a0)
2295 def add_to_derivative(self, a0, a1, a2):
2296 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2297 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2300 def set_is_optimized(self, a0, a1):
2301 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2302 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2305 def get_is_optimized(self, a0):
2306 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2307 return _IMP_core.XYZR_get_is_optimized(self, a0)
2311 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2312 return _IMP_core.XYZR_get_check_level(self)
2315 def __eq__(self, *args):
2317 __eq__(XYZR self, XYZR o) -> bool
2318 __eq__(XYZR self, Particle d) -> bool
2320 return _IMP_core.XYZR___eq__(self, *args)
2323 def __ne__(self, *args):
2325 __ne__(XYZR self, XYZR o) -> bool
2326 __ne__(XYZR self, Particle d) -> bool
2328 return _IMP_core.XYZR___ne__(self, *args)
2331 def __le__(self, *args):
2333 __le__(XYZR self, XYZR o) -> bool
2334 __le__(XYZR self, Particle d) -> bool
2336 return _IMP_core.XYZR___le__(self, *args)
2339 def __lt__(self, *args):
2341 __lt__(XYZR self, XYZR o) -> bool
2342 __lt__(XYZR self, Particle d) -> bool
2344 return _IMP_core.XYZR___lt__(self, *args)
2347 def __ge__(self, *args):
2349 __ge__(XYZR self, XYZR o) -> bool
2350 __ge__(XYZR self, Particle d) -> bool
2352 return _IMP_core.XYZR___ge__(self, *args)
2355 def __gt__(self, *args):
2357 __gt__(XYZR self, XYZR o) -> bool
2358 __gt__(XYZR self, Particle d) -> bool
2360 return _IMP_core.XYZR___gt__(self, *args)
2364 """__hash__(XYZR self) -> std::size_t"""
2365 return _IMP_core.XYZR___hash__(self)
2369 """__str__(XYZR self) -> std::string"""
2370 return _IMP_core.XYZR___str__(self)
2374 """__repr__(XYZR self) -> std::string"""
2375 return _IMP_core.XYZR___repr__(self)
2377 __swig_destroy__ = _IMP_core.delete_XYZR
2378 __del__ =
lambda self:
None
2379 XYZR_swigregister = _IMP_core.XYZR_swigregister
2380 XYZR_swigregister(XYZR)
2382 def XYZR_setup_particle(*args):
2384 setup_particle(Model m, ParticleIndex pi) -> XYZR
2385 setup_particle(_ParticleAdaptor decorator) -> XYZR
2386 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2387 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2388 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2389 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2391 return _IMP_core.XYZR_setup_particle(*args)
2393 def XYZR_get_is_setup(*args):
2395 get_is_setup(_ParticleAdaptor p) -> bool
2396 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2398 return _IMP_core.XYZR_get_is_setup(*args)
2400 def XYZR_get_radius_key():
2401 """XYZR_get_radius_key() -> FloatKey"""
2402 return _IMP_core.XYZR_get_radius_key()
2407 get_distance(XYZ a, XYZ b) -> double
2408 get_distance(XYZR a, XYZR b) -> double
2410 return _IMP_core.get_distance(*args)
2414 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2415 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2417 return _IMP_core.set_enclosing_sphere(b, v, slack)
2420 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2421 return _IMP_core.set_enclosing_radius(b, v)
2424 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2425 return _IMP_core.get_enclosing_sphere(v)
2429 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2430 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2432 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2434 """Proxy of C++ IMP::core::XYZRGeometry class."""
2436 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2438 def __init__(self, *args):
2440 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2441 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2443 this = _IMP_core.new_XYZRGeometry(*args)
2445 self.this.append(this)
2449 def get_version_info(self):
2450 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2451 return _IMP_core.XYZRGeometry_get_version_info(self)
2455 """__str__(XYZRGeometry self) -> std::string"""
2456 return _IMP_core.XYZRGeometry___str__(self)
2460 """__repr__(XYZRGeometry self) -> std::string"""
2461 return _IMP_core.XYZRGeometry___repr__(self)
2466 return _object_cast_to_XYZRGeometry(o)
2468 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2469 XYZRGeometry_swigregister(XYZRGeometry)
2472 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2474 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2476 def __init__(self, sc):
2477 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2478 this = _IMP_core.new_XYZRsGeometry(sc)
2480 self.this.append(this)
2484 def get_version_info(self):
2485 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2486 return _IMP_core.XYZRsGeometry_get_version_info(self)
2490 """__str__(XYZRsGeometry self) -> std::string"""
2491 return _IMP_core.XYZRsGeometry___str__(self)
2495 """__repr__(XYZRsGeometry self) -> std::string"""
2496 return _IMP_core.XYZRsGeometry___repr__(self)
2501 return _object_cast_to_XYZRsGeometry(o)
2503 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2504 XYZRsGeometry_swigregister(XYZRsGeometry)
2507 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2511 def __init__(self, *args):
2513 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2514 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2516 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2518 self.this.append(this)
2522 def get_version_info(self):
2523 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2524 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2528 """__str__(XYZDerivativeGeometry self) -> std::string"""
2529 return _IMP_core.XYZDerivativeGeometry___str__(self)
2533 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2534 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2539 return _object_cast_to_XYZDerivativeGeometry(o)
2541 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2542 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2545 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2549 def __init__(self, sc):
2550 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2551 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2553 self.this.append(this)
2557 def get_version_info(self):
2558 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2559 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2563 """__str__(XYZDerivativesGeometry self) -> std::string"""
2564 return _IMP_core.XYZDerivativesGeometry___str__(self)
2568 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2569 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2574 return _object_cast_to_XYZDerivativesGeometry(o)
2576 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2577 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2580 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2582 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2584 def __init__(self, pp):
2585 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2586 this = _IMP_core.new_EdgePairGeometry(pp)
2588 self.this.append(this)
2592 def get_version_info(self):
2593 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2594 return _IMP_core.EdgePairGeometry_get_version_info(self)
2598 """__str__(EdgePairGeometry self) -> std::string"""
2599 return _IMP_core.EdgePairGeometry___str__(self)
2603 """__repr__(EdgePairGeometry self) -> std::string"""
2604 return _IMP_core.EdgePairGeometry___repr__(self)
2609 return _object_cast_to_EdgePairGeometry(o)
2611 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2612 EdgePairGeometry_swigregister(EdgePairGeometry)
2615 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2617 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2619 def __init__(self, sc):
2620 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2621 this = _IMP_core.new_EdgePairsGeometry(sc)
2623 self.this.append(this)
2627 def get_version_info(self):
2628 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2629 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2633 """__str__(EdgePairsGeometry self) -> std::string"""
2634 return _IMP_core.EdgePairsGeometry___str__(self)
2638 """__repr__(EdgePairsGeometry self) -> std::string"""
2639 return _IMP_core.EdgePairsGeometry___repr__(self)
2644 return _object_cast_to_EdgePairsGeometry(o)
2646 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2647 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2650 """Proxy of C++ IMP::core::AngleTripletScore class."""
2652 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2654 def __init__(self, f):
2655 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2656 this = _IMP_core.new_AngleTripletScore(f)
2658 self.this.append(this)
2662 def do_get_inputs(self, m, pis):
2663 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2664 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
2667 def get_version_info(self):
2668 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2669 return _IMP_core.AngleTripletScore_get_version_info(self)
2673 """__str__(AngleTripletScore self) -> std::string"""
2674 return _IMP_core.AngleTripletScore___str__(self)
2678 """__repr__(AngleTripletScore self) -> std::string"""
2679 return _IMP_core.AngleTripletScore___repr__(self)
2684 return _object_cast_to_AngleTripletScore(o)
2686 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2687 AngleTripletScore_swigregister(AngleTripletScore)
2689 class BallMover(MonteCarloMover):
2690 """Proxy of C++ IMP::core::BallMover class."""
2692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2694 def __init__(self, *args):
2696 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
2697 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
2698 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
2699 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2701 this = _IMP_core.new_BallMover(*args)
2703 self.this.append(this)
2707 def set_radius(self, radius):
2708 """set_radius(BallMover self, IMP::Float radius)"""
2709 return _IMP_core.BallMover_set_radius(self, radius)
2712 def get_radius(self):
2713 """get_radius(BallMover self) -> IMP::Float"""
2714 return _IMP_core.BallMover_get_radius(self)
2717 def get_version_info(self):
2718 """get_version_info(BallMover self) -> VersionInfo"""
2719 return _IMP_core.BallMover_get_version_info(self)
2723 """__str__(BallMover self) -> std::string"""
2724 return _IMP_core.BallMover___str__(self)
2728 """__repr__(BallMover self) -> std::string"""
2729 return _IMP_core.BallMover___repr__(self)
2734 return _object_cast_to_BallMover(o)
2736 BallMover_swigregister = _IMP_core.BallMover_swigregister
2737 BallMover_swigregister(BallMover)
2739 class SerialMover(MonteCarloMover):
2740 """Proxy of C++ IMP::core::SerialMover 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, mvs):
2745 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2746 this = _IMP_core.new_SerialMover(mvs)
2748 self.this.append(this)
2752 def get_movers(self):
2753 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2754 return _IMP_core.SerialMover_get_movers(self)
2757 def get_version_info(self):
2758 """get_version_info(SerialMover self) -> VersionInfo"""
2759 return _IMP_core.SerialMover_get_version_info(self)
2763 """__str__(SerialMover self) -> std::string"""
2764 return _IMP_core.SerialMover___str__(self)
2768 """__repr__(SerialMover self) -> std::string"""
2769 return _IMP_core.SerialMover___repr__(self)
2774 return _object_cast_to_SerialMover(o)
2776 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2777 SerialMover_swigregister(SerialMover)
2779 class BoxSweepClosePairsFinder(ClosePairsFinder):
2780 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
2782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2785 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2786 this = _IMP_core.new_BoxSweepClosePairsFinder()
2788 self.this.append(this)
2792 def get_close_pairs(self, *args):
2794 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2795 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2796 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
2797 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
2799 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2802 def do_get_inputs(self, m, pis):
2803 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2804 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
2807 def get_version_info(self):
2808 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2809 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2813 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2814 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2818 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2819 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2824 return _object_cast_to_BoxSweepClosePairsFinder(o)
2826 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2827 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2830 """Proxy of C++ IMP::core::CentroidOfRefined class."""
2832 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2834 def __init__(self, *args):
2836 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
2837 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
2838 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2840 this = _IMP_core.new_CentroidOfRefined(*args)
2842 self.this.append(this)
2846 def do_get_inputs(self, m, pis):
2847 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2848 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
2851 def do_get_outputs(self, m, pis):
2852 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2853 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
2856 def get_version_info(self):
2857 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2858 return _IMP_core.CentroidOfRefined_get_version_info(self)
2862 """__str__(CentroidOfRefined self) -> std::string"""
2863 return _IMP_core.CentroidOfRefined___str__(self)
2867 """__repr__(CentroidOfRefined self) -> std::string"""
2868 return _IMP_core.CentroidOfRefined___repr__(self)
2873 return _object_cast_to_CentroidOfRefined(o)
2875 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2876 CentroidOfRefined_swigregister(CentroidOfRefined)
2878 class Centroid(XYZ):
2879 """Proxy of C++ IMP::core::Centroid class."""
2881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2883 def get_constraint(self):
2884 """get_constraint(Centroid self) -> Constraint"""
2885 return _IMP_core.Centroid_get_constraint(self)
2888 def __init__(self, *args):
2890 __init__(IMP::core::Centroid self) -> Centroid
2891 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
2892 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2894 this = _IMP_core.new_Centroid(*args)
2896 self.this.append(this)
2900 def show(self, *args):
2902 show(Centroid self, _ostream out)
2905 return _IMP_core.Centroid_show(self, *args)
2908 def setup_particle(*args):
2910 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2911 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2912 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
2913 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2915 return _IMP_core.Centroid_setup_particle(*args)
2917 setup_particle = staticmethod(setup_particle)
2919 def get_is_setup(*args):
2921 get_is_setup(_ParticleAdaptor p) -> bool
2922 get_is_setup(Model m, ParticleIndex pi) -> bool
2924 return _IMP_core.Centroid_get_is_setup(*args)
2926 get_is_setup = staticmethod(get_is_setup)
2928 def add_attribute(self, *args):
2930 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2931 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2932 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2933 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2934 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2935 add_attribute(Centroid self, ObjectKey a0, Object a1)
2937 return _IMP_core.Centroid_add_attribute(self, *args)
2940 def get_value(self, *args):
2942 get_value(Centroid self, FloatKey a0) -> IMP::Float
2943 get_value(Centroid self, IntKey a0) -> IMP::Int
2944 get_value(Centroid self, StringKey a0) -> IMP::String
2945 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2946 get_value(Centroid self, ObjectKey a0) -> Object
2948 return _IMP_core.Centroid_get_value(self, *args)
2951 def set_value(self, *args):
2953 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2954 set_value(Centroid self, IntKey a0, IMP::Int a1)
2955 set_value(Centroid self, StringKey a0, IMP::String a1)
2956 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2957 set_value(Centroid self, ObjectKey a0, Object a1)
2959 return _IMP_core.Centroid_set_value(self, *args)
2962 def remove_attribute(self, *args):
2964 remove_attribute(Centroid self, FloatKey a0)
2965 remove_attribute(Centroid self, IntKey a0)
2966 remove_attribute(Centroid self, StringKey a0)
2967 remove_attribute(Centroid self, ParticleIndexKey a0)
2968 remove_attribute(Centroid self, ObjectKey a0)
2970 return _IMP_core.Centroid_remove_attribute(self, *args)
2973 def has_attribute(self, *args):
2975 has_attribute(Centroid self, FloatKey a0) -> bool
2976 has_attribute(Centroid self, IntKey a0) -> bool
2977 has_attribute(Centroid self, StringKey a0) -> bool
2978 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2979 has_attribute(Centroid self, ObjectKey a0) -> bool
2981 return _IMP_core.Centroid_has_attribute(self, *args)
2984 def get_derivative(self, a0):
2985 """get_derivative(Centroid self, FloatKey a0) -> double"""
2986 return _IMP_core.Centroid_get_derivative(self, a0)
2990 """get_name(Centroid self) -> std::string"""
2991 return _IMP_core.Centroid_get_name(self)
2994 def clear_caches(self):
2995 """clear_caches(Centroid self)"""
2996 return _IMP_core.Centroid_clear_caches(self)
2999 def set_name(self, a0):
3000 """set_name(Centroid self, std::string a0)"""
3001 return _IMP_core.Centroid_set_name(self, a0)
3005 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
3006 return _IMP_core.Centroid_set_check_level(self, a0)
3009 def add_to_derivative(self, a0, a1, a2):
3010 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3011 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
3014 def set_is_optimized(self, a0, a1):
3015 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
3016 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
3019 def get_is_optimized(self, a0):
3020 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
3021 return _IMP_core.Centroid_get_is_optimized(self, a0)
3025 """get_check_level(Centroid self) -> IMP::CheckLevel"""
3026 return _IMP_core.Centroid_get_check_level(self)
3029 def __eq__(self, *args):
3031 __eq__(Centroid self, Centroid o) -> bool
3032 __eq__(Centroid self, Particle d) -> bool
3034 return _IMP_core.Centroid___eq__(self, *args)
3037 def __ne__(self, *args):
3039 __ne__(Centroid self, Centroid o) -> bool
3040 __ne__(Centroid self, Particle d) -> bool
3042 return _IMP_core.Centroid___ne__(self, *args)
3045 def __le__(self, *args):
3047 __le__(Centroid self, Centroid o) -> bool
3048 __le__(Centroid self, Particle d) -> bool
3050 return _IMP_core.Centroid___le__(self, *args)
3053 def __lt__(self, *args):
3055 __lt__(Centroid self, Centroid o) -> bool
3056 __lt__(Centroid self, Particle d) -> bool
3058 return _IMP_core.Centroid___lt__(self, *args)
3061 def __ge__(self, *args):
3063 __ge__(Centroid self, Centroid o) -> bool
3064 __ge__(Centroid self, Particle d) -> bool
3066 return _IMP_core.Centroid___ge__(self, *args)
3069 def __gt__(self, *args):
3071 __gt__(Centroid self, Centroid o) -> bool
3072 __gt__(Centroid self, Particle d) -> bool
3074 return _IMP_core.Centroid___gt__(self, *args)
3078 """__hash__(Centroid self) -> std::size_t"""
3079 return _IMP_core.Centroid___hash__(self)
3083 """__str__(Centroid self) -> std::string"""
3084 return _IMP_core.Centroid___str__(self)
3088 """__repr__(Centroid self) -> std::string"""
3089 return _IMP_core.Centroid___repr__(self)
3091 __swig_destroy__ = _IMP_core.delete_Centroid
3092 __del__ =
lambda self:
None
3093 Centroid_swigregister = _IMP_core.Centroid_swigregister
3094 Centroid_swigregister(Centroid)
3096 def Centroid_setup_particle(*args):
3098 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
3099 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
3100 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
3101 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
3103 return _IMP_core.Centroid_setup_particle(*args)
3105 def Centroid_get_is_setup(*args):
3107 get_is_setup(_ParticleAdaptor p) -> bool
3108 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
3110 return _IMP_core.Centroid_get_is_setup(*args)
3113 """Proxy of C++ IMP::core::ChecksScoreState class."""
3115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3117 def __init__(self, m, probability):
3118 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
3119 this = _IMP_core.new_ChecksScoreState(m, probability)
3121 self.this.append(this)
3125 def get_number_of_checked(self):
3126 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
3127 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
3130 def do_before_evaluate(self):
3131 """do_before_evaluate(ChecksScoreState self)"""
3132 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
3135 def do_after_evaluate(self, da):
3136 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
3137 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
3140 def do_get_outputs(self):
3141 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
3142 return _IMP_core.ChecksScoreState_do_get_outputs(self)
3145 def do_get_inputs(self):
3146 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
3147 return _IMP_core.ChecksScoreState_do_get_inputs(self)
3150 def get_version_info(self):
3151 """get_version_info(ChecksScoreState self) -> VersionInfo"""
3152 return _IMP_core.ChecksScoreState_get_version_info(self)
3156 """__str__(ChecksScoreState self) -> std::string"""
3157 return _IMP_core.ChecksScoreState___str__(self)
3161 """__repr__(ChecksScoreState self) -> std::string"""
3162 return _IMP_core.ChecksScoreState___repr__(self)
3167 return _object_cast_to_ChecksScoreState(o)
3169 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
3170 ChecksScoreState_swigregister(ChecksScoreState)
3173 """Proxy of C++ IMP::core::ChildrenRefiner class."""
3175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3177 def __init__(self, tr):
3178 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
3179 this = _IMP_core.new_ChildrenRefiner(tr)
3181 self.this.append(this)
3185 def do_get_inputs(self, m, pis):
3186 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3187 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
3190 def get_version_info(self):
3191 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
3192 return _IMP_core.ChildrenRefiner_get_version_info(self)
3196 """__str__(ChildrenRefiner self) -> std::string"""
3197 return _IMP_core.ChildrenRefiner___str__(self)
3201 """__repr__(ChildrenRefiner self) -> std::string"""
3202 return _IMP_core.ChildrenRefiner___repr__(self)
3207 return _object_cast_to_ChildrenRefiner(o)
3209 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
3210 ChildrenRefiner_swigregister(ChildrenRefiner)
3213 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
3215 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3217 def __init__(self, values, minrange, spacing):
3218 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
3219 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
3221 self.this.append(this)
3225 def get_version_info(self):
3226 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
3227 return _IMP_core.ClosedCubicSpline_get_version_info(self)
3230 def do_show(self, out):
3231 """do_show(ClosedCubicSpline self, _ostream out)"""
3232 return _IMP_core.ClosedCubicSpline_do_show(self, out)
3236 """__str__(ClosedCubicSpline self) -> std::string"""
3237 return _IMP_core.ClosedCubicSpline___str__(self)
3241 """__repr__(ClosedCubicSpline self) -> std::string"""
3242 return _IMP_core.ClosedCubicSpline___repr__(self)
3247 return _object_cast_to_ClosedCubicSpline(o)
3249 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
3250 ClosedCubicSpline_swigregister(ClosedCubicSpline)
3253 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
3255 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3257 def __init__(self, f, r, k=1):
3259 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
3260 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
3262 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
3264 self.this.append(this)
3268 def get_close_pairs(self, pp):
3269 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3270 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
3273 def create_current_decomposition(self, m, vt):
3274 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3275 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
3278 def do_get_inputs(self, m, pis):
3279 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3280 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
3283 def get_version_info(self):
3284 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
3285 return _IMP_core.KClosePairsPairScore_get_version_info(self)
3289 """__str__(KClosePairsPairScore self) -> std::string"""
3290 return _IMP_core.KClosePairsPairScore___str__(self)
3294 """__repr__(KClosePairsPairScore self) -> std::string"""
3295 return _IMP_core.KClosePairsPairScore___repr__(self)
3300 return _object_cast_to_KClosePairsPairScore(o)
3302 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
3303 KClosePairsPairScore_swigregister(KClosePairsPairScore)
3306 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
3308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3310 def __init__(self, f, r, max_distance):
3311 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
3312 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
3314 self.this.append(this)
3318 def get_close_pairs(self, pp):
3319 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3320 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
3323 def create_current_decomposition(self, m, vt):
3324 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3325 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
3328 def do_get_inputs(self, m, pis):
3329 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3330 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
3333 def get_version_info(self):
3334 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
3335 return _IMP_core.ClosePairsPairScore_get_version_info(self)
3339 """__str__(ClosePairsPairScore self) -> std::string"""
3340 return _IMP_core.ClosePairsPairScore___str__(self)
3344 """__repr__(ClosePairsPairScore self) -> std::string"""
3345 return _IMP_core.ClosePairsPairScore___repr__(self)
3350 return _object_cast_to_ClosePairsPairScore(o)
3352 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
3353 ClosePairsPairScore_swigregister(ClosePairsPairScore)
3356 """Proxy of C++ IMP::core::ConjugateGradients class."""
3358 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3360 def __init__(self, *args):
3362 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
3363 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
3365 this = _IMP_core.new_ConjugateGradients(*args)
3367 self.this.append(this)
3371 def set_gradient_threshold(self, t):
3372 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
3373 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
3376 def set_threshold(self, t):
3377 """set_threshold(ConjugateGradients self, IMP::Float t)"""
3378 return _IMP_core.ConjugateGradients_set_threshold(self, t)
3381 def set_max_change(self, t):
3382 """set_max_change(ConjugateGradients self, IMP::Float t)"""
3383 return _IMP_core.ConjugateGradients_set_max_change(self, t)
3386 def do_optimize(self, max_steps):
3387 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
3388 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
3391 def get_version_info(self):
3392 """get_version_info(ConjugateGradients self) -> VersionInfo"""
3393 return _IMP_core.ConjugateGradients_get_version_info(self)
3397 """__str__(ConjugateGradients self) -> std::string"""
3398 return _IMP_core.ConjugateGradients___str__(self)
3402 """__repr__(ConjugateGradients self) -> std::string"""
3403 return _IMP_core.ConjugateGradients___repr__(self)
3408 return _object_cast_to_ConjugateGradients(o)
3410 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3411 ConjugateGradients_swigregister(ConjugateGradients)
3414 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
3416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3418 def __init__(self, ps, sc):
3419 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
3420 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
3422 self.this.append(this)
3426 def get_connected_pairs(self):
3427 """get_connected_pairs(ConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
3428 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3431 def get_pair_score(self):
3432 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3433 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3436 def do_create_current_decomposition(self):
3437 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
3438 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3441 def do_get_inputs(self):
3442 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
3443 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3446 def get_version_info(self):
3447 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3448 return _IMP_core.ConnectivityRestraint_get_version_info(self)
3452 """__str__(ConnectivityRestraint self) -> std::string"""
3453 return _IMP_core.ConnectivityRestraint___str__(self)
3457 """__repr__(ConnectivityRestraint self) -> std::string"""
3458 return _IMP_core.ConnectivityRestraint___repr__(self)
3463 return _object_cast_to_ConnectivityRestraint(o)
3465 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3466 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3469 """Proxy of C++ IMP::core::ConstantRestraint class."""
3471 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3473 def __init__(self, m, v):
3474 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
3475 this = _IMP_core.new_ConstantRestraint(m, v)
3477 self.this.append(this)
3481 def do_get_inputs(self):
3482 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
3483 return _IMP_core.ConstantRestraint_do_get_inputs(self)
3486 def get_version_info(self):
3487 """get_version_info(ConstantRestraint self) -> VersionInfo"""
3488 return _IMP_core.ConstantRestraint_get_version_info(self)
3492 """__str__(ConstantRestraint self) -> std::string"""
3493 return _IMP_core.ConstantRestraint___str__(self)
3497 """__repr__(ConstantRestraint self) -> std::string"""
3498 return _IMP_core.ConstantRestraint___repr__(self)
3503 return _object_cast_to_ConstantRestraint(o)
3505 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3506 ConstantRestraint_swigregister(ConstantRestraint)
3509 """Proxy of C++ IMP::core::Cosine class."""
3511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3513 def __init__(self, force_constant, periodicity, phase):
3514 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3515 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
3517 self.this.append(this)
3521 def get_version_info(self):
3522 """get_version_info(Cosine self) -> VersionInfo"""
3523 return _IMP_core.Cosine_get_version_info(self)
3526 def do_show(self, out):
3527 """do_show(Cosine self, _ostream out)"""
3528 return _IMP_core.Cosine_do_show(self, out)
3532 """__str__(Cosine self) -> std::string"""
3533 return _IMP_core.Cosine___str__(self)
3537 """__repr__(Cosine self) -> std::string"""
3538 return _IMP_core.Cosine___repr__(self)
3543 return _object_cast_to_Cosine(o)
3545 Cosine_swigregister = _IMP_core.Cosine_swigregister
3546 Cosine_swigregister(Cosine)
3549 """Proxy of C++ IMP::core::CoverRefined class."""
3551 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3553 def __init__(self, ref, slack=0):
3555 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3556 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3558 this = _IMP_core.new_CoverRefined(ref, slack)
3560 self.this.append(this)
3564 def set_slack(self, slack):
3565 """set_slack(CoverRefined self, IMP::Float slack)"""
3566 return _IMP_core.CoverRefined_set_slack(self, slack)
3569 def do_get_inputs(self, m, pis):
3570 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3571 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
3574 def do_get_outputs(self, m, pis):
3575 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3576 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
3579 def get_version_info(self):
3580 """get_version_info(CoverRefined self) -> VersionInfo"""
3581 return _IMP_core.CoverRefined_get_version_info(self)
3585 """__str__(CoverRefined self) -> std::string"""
3586 return _IMP_core.CoverRefined___str__(self)
3590 """__repr__(CoverRefined self) -> std::string"""
3591 return _IMP_core.CoverRefined___repr__(self)
3596 return _object_cast_to_CoverRefined(o)
3598 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3599 CoverRefined_swigregister(CoverRefined)
3602 """Proxy of C++ IMP::core::Cover class."""
3604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3606 def get_constraint(self):
3607 """get_constraint(Cover self) -> Constraint"""
3608 return _IMP_core.Cover_get_constraint(self)
3611 def __init__(self, *args):
3613 __init__(IMP::core::Cover self) -> Cover
3614 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
3615 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3617 this = _IMP_core.new_Cover(*args)
3619 self.this.append(this)
3623 def show(self, *args):
3625 show(Cover self, _ostream out)
3628 return _IMP_core.Cover_show(self, *args)
3631 def setup_particle(*args):
3633 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3634 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3635 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
3636 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3638 return _IMP_core.Cover_setup_particle(*args)
3640 setup_particle = staticmethod(setup_particle)
3642 def get_is_setup(*args):
3644 get_is_setup(_ParticleAdaptor p) -> bool
3645 get_is_setup(Model m, ParticleIndex pi) -> bool
3647 return _IMP_core.Cover_get_is_setup(*args)
3649 get_is_setup = staticmethod(get_is_setup)
3651 def add_attribute(self, *args):
3653 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3654 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3655 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3656 add_attribute(Cover self, StringKey a0, IMP::String a1)
3657 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3658 add_attribute(Cover self, ObjectKey a0, Object a1)
3660 return _IMP_core.Cover_add_attribute(self, *args)
3663 def get_value(self, *args):
3665 get_value(Cover self, FloatKey a0) -> IMP::Float
3666 get_value(Cover self, IntKey a0) -> IMP::Int
3667 get_value(Cover self, StringKey a0) -> IMP::String
3668 get_value(Cover self, ParticleIndexKey a0) -> Particle
3669 get_value(Cover self, ObjectKey a0) -> Object
3671 return _IMP_core.Cover_get_value(self, *args)
3674 def set_value(self, *args):
3676 set_value(Cover self, FloatKey a0, IMP::Float a1)
3677 set_value(Cover self, IntKey a0, IMP::Int a1)
3678 set_value(Cover self, StringKey a0, IMP::String a1)
3679 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3680 set_value(Cover self, ObjectKey a0, Object a1)
3682 return _IMP_core.Cover_set_value(self, *args)
3685 def remove_attribute(self, *args):
3687 remove_attribute(Cover self, FloatKey a0)
3688 remove_attribute(Cover self, IntKey a0)
3689 remove_attribute(Cover self, StringKey a0)
3690 remove_attribute(Cover self, ParticleIndexKey a0)
3691 remove_attribute(Cover self, ObjectKey a0)
3693 return _IMP_core.Cover_remove_attribute(self, *args)
3696 def has_attribute(self, *args):
3698 has_attribute(Cover self, FloatKey a0) -> bool
3699 has_attribute(Cover self, IntKey a0) -> bool
3700 has_attribute(Cover self, StringKey a0) -> bool
3701 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3702 has_attribute(Cover self, ObjectKey a0) -> bool
3704 return _IMP_core.Cover_has_attribute(self, *args)
3707 def get_derivative(self, a0):
3708 """get_derivative(Cover self, FloatKey a0) -> double"""
3709 return _IMP_core.Cover_get_derivative(self, a0)
3713 """get_name(Cover self) -> std::string"""
3714 return _IMP_core.Cover_get_name(self)
3717 def clear_caches(self):
3718 """clear_caches(Cover self)"""
3719 return _IMP_core.Cover_clear_caches(self)
3722 def set_name(self, a0):
3723 """set_name(Cover self, std::string a0)"""
3724 return _IMP_core.Cover_set_name(self, a0)
3728 """set_check_level(Cover self, IMP::CheckLevel a0)"""
3729 return _IMP_core.Cover_set_check_level(self, a0)
3732 def add_to_derivative(self, a0, a1, a2):
3733 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3734 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
3737 def set_is_optimized(self, a0, a1):
3738 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3739 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
3742 def get_is_optimized(self, a0):
3743 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3744 return _IMP_core.Cover_get_is_optimized(self, a0)
3748 """get_check_level(Cover self) -> IMP::CheckLevel"""
3749 return _IMP_core.Cover_get_check_level(self)
3752 def __eq__(self, *args):
3754 __eq__(Cover self, Cover o) -> bool
3755 __eq__(Cover self, Particle d) -> bool
3757 return _IMP_core.Cover___eq__(self, *args)
3760 def __ne__(self, *args):
3762 __ne__(Cover self, Cover o) -> bool
3763 __ne__(Cover self, Particle d) -> bool
3765 return _IMP_core.Cover___ne__(self, *args)
3768 def __le__(self, *args):
3770 __le__(Cover self, Cover o) -> bool
3771 __le__(Cover self, Particle d) -> bool
3773 return _IMP_core.Cover___le__(self, *args)
3776 def __lt__(self, *args):
3778 __lt__(Cover self, Cover o) -> bool
3779 __lt__(Cover self, Particle d) -> bool
3781 return _IMP_core.Cover___lt__(self, *args)
3784 def __ge__(self, *args):
3786 __ge__(Cover self, Cover o) -> bool
3787 __ge__(Cover self, Particle d) -> bool
3789 return _IMP_core.Cover___ge__(self, *args)
3792 def __gt__(self, *args):
3794 __gt__(Cover self, Cover o) -> bool
3795 __gt__(Cover self, Particle d) -> bool
3797 return _IMP_core.Cover___gt__(self, *args)
3801 """__hash__(Cover self) -> std::size_t"""
3802 return _IMP_core.Cover___hash__(self)
3806 """__str__(Cover self) -> std::string"""
3807 return _IMP_core.Cover___str__(self)
3811 """__repr__(Cover self) -> std::string"""
3812 return _IMP_core.Cover___repr__(self)
3814 __swig_destroy__ = _IMP_core.delete_Cover
3815 __del__ =
lambda self:
None
3816 Cover_swigregister = _IMP_core.Cover_swigregister
3817 Cover_swigregister(Cover)
3819 def Cover_setup_particle(*args):
3821 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3822 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3823 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
3824 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3826 return _IMP_core.Cover_setup_particle(*args)
3828 def Cover_get_is_setup(*args):
3830 get_is_setup(_ParticleAdaptor p) -> bool
3831 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
3833 return _IMP_core.Cover_get_is_setup(*args)
3836 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
3838 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3840 def __init__(self, *args):
3842 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
3843 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3845 this = _IMP_core.new_DerivativesFromRefined(*args)
3847 self.this.append(this)
3851 def do_get_inputs(self, m, pis):
3852 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3853 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
3856 def do_get_outputs(self, m, pis):
3857 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3858 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
3861 def get_version_info(self):
3862 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3863 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3867 """__str__(DerivativesFromRefined self) -> std::string"""
3868 return _IMP_core.DerivativesFromRefined___str__(self)
3872 """__repr__(DerivativesFromRefined self) -> std::string"""
3873 return _IMP_core.DerivativesFromRefined___repr__(self)
3878 return _object_cast_to_DerivativesFromRefined(o)
3880 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3881 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3884 """Proxy of C++ IMP::core::DerivativesToRefined class."""
3886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3888 def __init__(self, *args):
3890 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
3891 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3893 this = _IMP_core.new_DerivativesToRefined(*args)
3895 self.this.append(this)
3899 def do_get_inputs(self, m, pis):
3900 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3901 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
3904 def do_get_outputs(self, m, pis):
3905 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3906 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
3909 def get_version_info(self):
3910 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3911 return _IMP_core.DerivativesToRefined_get_version_info(self)
3915 """__str__(DerivativesToRefined self) -> std::string"""
3916 return _IMP_core.DerivativesToRefined___str__(self)
3920 """__repr__(DerivativesToRefined self) -> std::string"""
3921 return _IMP_core.DerivativesToRefined___repr__(self)
3926 return _object_cast_to_DerivativesToRefined(o)
3928 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3929 DerivativesToRefined_swigregister(DerivativesToRefined)
3932 """Proxy of C++ IMP::core::DiameterRestraint class."""
3934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3936 def __init__(self, f, sc, diameter):
3937 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3938 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
3940 self.this.append(this)
3944 def do_get_inputs(self):
3945 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
3946 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3949 def get_version_info(self):
3950 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3951 return _IMP_core.DiameterRestraint_get_version_info(self)
3954 def do_create_decomposition(self):
3955 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
3956 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3959 def do_create_current_decomposition(self):
3960 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
3961 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3965 """__str__(DiameterRestraint self) -> std::string"""
3966 return _IMP_core.DiameterRestraint___str__(self)
3970 """__repr__(DiameterRestraint self) -> std::string"""
3971 return _IMP_core.DiameterRestraint___repr__(self)
3976 return _object_cast_to_DiameterRestraint(o)
3978 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3979 DiameterRestraint_swigregister(DiameterRestraint)
3982 """Proxy of C++ IMP::core::Transform class."""
3984 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3986 def __init__(self, t, ignore_non_xyz=False):
3988 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3989 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3991 this = _IMP_core.new_Transform(t, ignore_non_xyz)
3993 self.this.append(this)
3997 def do_get_inputs(self, m, pis):
3998 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3999 return _IMP_core.Transform_do_get_inputs(self, m, pis)
4002 def do_get_outputs(self, m, pis):
4003 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4004 return _IMP_core.Transform_do_get_outputs(self, m, pis)
4007 def get_version_info(self):
4008 """get_version_info(Transform self) -> VersionInfo"""
4009 return _IMP_core.Transform_get_version_info(self)
4013 """__str__(Transform self) -> std::string"""
4014 return _IMP_core.Transform___str__(self)
4018 """__repr__(Transform self) -> std::string"""
4019 return _IMP_core.Transform___repr__(self)
4024 return _object_cast_to_Transform(o)
4026 Transform_swigregister = _IMP_core.Transform_swigregister
4027 Transform_swigregister(Transform)
4030 """Proxy of C++ IMP::core::Reference class."""
4032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4034 def __init__(self, *args):
4036 __init__(IMP::core::Reference self) -> Reference
4037 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
4038 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
4040 this = _IMP_core.new_Reference(*args)
4042 self.this.append(this)
4046 def show(self, *args):
4048 show(Reference self, _ostream out)
4049 show(Reference self)
4051 return _IMP_core.Reference_show(self, *args)
4054 def setup_particle(*args):
4056 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4057 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4059 return _IMP_core.Reference_setup_particle(*args)
4061 setup_particle = staticmethod(setup_particle)
4063 def get_reference_particle(self):
4064 """get_reference_particle(Reference self) -> Particle"""
4065 return _IMP_core.Reference_get_reference_particle(self)
4068 def get_is_setup(*args):
4070 get_is_setup(_ParticleAdaptor p) -> bool
4071 get_is_setup(Model m, ParticleIndex pi) -> bool
4073 return _IMP_core.Reference_get_is_setup(*args)
4075 get_is_setup = staticmethod(get_is_setup)
4077 def get_reference_key():
4078 """get_reference_key() -> ParticleIndexKey"""
4079 return _IMP_core.Reference_get_reference_key()
4081 get_reference_key = staticmethod(get_reference_key)
4083 def add_attribute(self, *args):
4085 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
4086 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
4087 add_attribute(Reference self, IntKey a0, IMP::Int a1)
4088 add_attribute(Reference self, StringKey a0, IMP::String a1)
4089 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
4090 add_attribute(Reference self, ObjectKey a0, Object a1)
4092 return _IMP_core.Reference_add_attribute(self, *args)
4095 def get_value(self, *args):
4097 get_value(Reference self, FloatKey a0) -> IMP::Float
4098 get_value(Reference self, IntKey a0) -> IMP::Int
4099 get_value(Reference self, StringKey a0) -> IMP::String
4100 get_value(Reference self, ParticleIndexKey a0) -> Particle
4101 get_value(Reference self, ObjectKey a0) -> Object
4103 return _IMP_core.Reference_get_value(self, *args)
4106 def set_value(self, *args):
4108 set_value(Reference self, FloatKey a0, IMP::Float a1)
4109 set_value(Reference self, IntKey a0, IMP::Int a1)
4110 set_value(Reference self, StringKey a0, IMP::String a1)
4111 set_value(Reference self, ParticleIndexKey a0, Particle a1)
4112 set_value(Reference self, ObjectKey a0, Object a1)
4114 return _IMP_core.Reference_set_value(self, *args)
4117 def remove_attribute(self, *args):
4119 remove_attribute(Reference self, FloatKey a0)
4120 remove_attribute(Reference self, IntKey a0)
4121 remove_attribute(Reference self, StringKey a0)
4122 remove_attribute(Reference self, ParticleIndexKey a0)
4123 remove_attribute(Reference self, ObjectKey a0)
4125 return _IMP_core.Reference_remove_attribute(self, *args)
4128 def has_attribute(self, *args):
4130 has_attribute(Reference self, FloatKey a0) -> bool
4131 has_attribute(Reference self, IntKey a0) -> bool
4132 has_attribute(Reference self, StringKey a0) -> bool
4133 has_attribute(Reference self, ParticleIndexKey a0) -> bool
4134 has_attribute(Reference self, ObjectKey a0) -> bool
4136 return _IMP_core.Reference_has_attribute(self, *args)
4139 def get_derivative(self, a0):
4140 """get_derivative(Reference self, FloatKey a0) -> double"""
4141 return _IMP_core.Reference_get_derivative(self, a0)
4145 """get_name(Reference self) -> std::string"""
4146 return _IMP_core.Reference_get_name(self)
4149 def clear_caches(self):
4150 """clear_caches(Reference self)"""
4151 return _IMP_core.Reference_clear_caches(self)
4154 def set_name(self, a0):
4155 """set_name(Reference self, std::string a0)"""
4156 return _IMP_core.Reference_set_name(self, a0)
4160 """set_check_level(Reference self, IMP::CheckLevel a0)"""
4161 return _IMP_core.Reference_set_check_level(self, a0)
4164 def add_to_derivative(self, a0, a1, a2):
4165 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4166 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
4169 def set_is_optimized(self, a0, a1):
4170 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
4171 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
4174 def get_is_optimized(self, a0):
4175 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
4176 return _IMP_core.Reference_get_is_optimized(self, a0)
4180 """get_check_level(Reference self) -> IMP::CheckLevel"""
4181 return _IMP_core.Reference_get_check_level(self)
4184 def __eq__(self, *args):
4186 __eq__(Reference self, Reference o) -> bool
4187 __eq__(Reference self, Particle d) -> bool
4189 return _IMP_core.Reference___eq__(self, *args)
4192 def __ne__(self, *args):
4194 __ne__(Reference self, Reference o) -> bool
4195 __ne__(Reference self, Particle d) -> bool
4197 return _IMP_core.Reference___ne__(self, *args)
4200 def __le__(self, *args):
4202 __le__(Reference self, Reference o) -> bool
4203 __le__(Reference self, Particle d) -> bool
4205 return _IMP_core.Reference___le__(self, *args)
4208 def __lt__(self, *args):
4210 __lt__(Reference self, Reference o) -> bool
4211 __lt__(Reference self, Particle d) -> bool
4213 return _IMP_core.Reference___lt__(self, *args)
4216 def __ge__(self, *args):
4218 __ge__(Reference self, Reference o) -> bool
4219 __ge__(Reference self, Particle d) -> bool
4221 return _IMP_core.Reference___ge__(self, *args)
4224 def __gt__(self, *args):
4226 __gt__(Reference self, Reference o) -> bool
4227 __gt__(Reference self, Particle d) -> bool
4229 return _IMP_core.Reference___gt__(self, *args)
4233 """__hash__(Reference self) -> std::size_t"""
4234 return _IMP_core.Reference___hash__(self)
4238 """__str__(Reference self) -> std::string"""
4239 return _IMP_core.Reference___str__(self)
4243 """__repr__(Reference self) -> std::string"""
4244 return _IMP_core.Reference___repr__(self)
4246 __swig_destroy__ = _IMP_core.delete_Reference
4247 __del__ =
lambda self:
None
4248 Reference_swigregister = _IMP_core.Reference_swigregister
4249 Reference_swigregister(Reference)
4251 def Reference_setup_particle(*args):
4253 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4254 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4256 return _IMP_core.Reference_setup_particle(*args)
4258 def Reference_get_is_setup(*args):
4260 get_is_setup(_ParticleAdaptor p) -> bool
4261 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
4263 return _IMP_core.Reference_get_is_setup(*args)
4265 def Reference_get_reference_key():
4266 """Reference_get_reference_key() -> ParticleIndexKey"""
4267 return _IMP_core.Reference_get_reference_key()
4270 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
4272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4274 def __init__(self, t, r):
4275 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
4276 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
4278 self.this.append(this)
4282 def do_get_inputs(self, m, pis):
4283 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4284 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
4287 def do_get_outputs(self, m, pis):
4288 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4289 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
4292 def get_version_info(self):
4293 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
4294 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
4298 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
4299 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
4303 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
4304 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
4309 return _object_cast_to_TransformationAndReflectionSymmetry(o)
4311 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
4312 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
4315 """Proxy of C++ IMP::core::TransformationSymmetry class."""
4317 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4319 def __init__(self, *args):
4321 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
4322 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
4324 this = _IMP_core.new_TransformationSymmetry(*args)
4326 self.this.append(this)
4330 def get_transformation(self):
4331 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
4332 return _IMP_core.TransformationSymmetry_get_transformation(self)
4335 def set_transformation(self, t):
4336 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
4337 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
4340 def do_get_inputs(self, m, pis):
4341 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4342 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
4345 def do_get_outputs(self, m, pis):
4346 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4347 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
4350 def get_version_info(self):
4351 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
4352 return _IMP_core.TransformationSymmetry_get_version_info(self)
4356 """__str__(TransformationSymmetry self) -> std::string"""
4357 return _IMP_core.TransformationSymmetry___str__(self)
4361 """__repr__(TransformationSymmetry self) -> std::string"""
4362 return _IMP_core.TransformationSymmetry___repr__(self)
4367 return _object_cast_to_TransformationSymmetry(o)
4369 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
4370 TransformationSymmetry_swigregister(TransformationSymmetry)
4372 class TransformationSymmetryMover(MonteCarloMover):
4373 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
4375 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4377 def __init__(self, m, symm, pivot, max_translation, max_rotation):
4378 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
4379 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
4381 self.this.append(this)
4385 def set_maximum_translation(self, mt):
4386 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
4387 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
4390 def set_maximum_rotation(self, mr):
4391 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
4392 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
4395 def get_maximum_translation(self):
4396 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
4397 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
4400 def get_maximum_rotation(self):
4401 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
4402 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
4405 def get_version_info(self):
4406 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
4407 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
4411 """__str__(TransformationSymmetryMover self) -> std::string"""
4412 return _IMP_core.TransformationSymmetryMover___str__(self)
4416 """__repr__(TransformationSymmetryMover self) -> std::string"""
4417 return _IMP_core.TransformationSymmetryMover___repr__(self)
4422 return _object_cast_to_TransformationSymmetryMover(o)
4424 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
4425 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
4428 """Proxy of C++ IMP::core::DihedralRestraint class."""
4430 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4432 def __init__(self, m, score_func, p1, p2, p3, p4):
4433 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
4434 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
4436 self.this.append(this)
4440 def do_get_inputs(self):
4441 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
4442 return _IMP_core.DihedralRestraint_do_get_inputs(self)
4445 def get_version_info(self):
4446 """get_version_info(DihedralRestraint self) -> VersionInfo"""
4447 return _IMP_core.DihedralRestraint_get_version_info(self)
4451 """__str__(DihedralRestraint self) -> std::string"""
4452 return _IMP_core.DihedralRestraint___str__(self)
4456 """__repr__(DihedralRestraint self) -> std::string"""
4457 return _IMP_core.DihedralRestraint___repr__(self)
4462 return _object_cast_to_DihedralRestraint(o)
4464 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
4465 DihedralRestraint_swigregister(DihedralRestraint)
4468 """Proxy of C++ IMP::core::DistancePairScore class."""
4470 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4472 def __init__(self, *args):
4474 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
4475 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
4477 this = _IMP_core.new_DistancePairScore(*args)
4479 self.this.append(this)
4483 def do_get_inputs(self, m, pis):
4484 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4485 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
4488 def get_version_info(self):
4489 """get_version_info(DistancePairScore self) -> VersionInfo"""
4490 return _IMP_core.DistancePairScore_get_version_info(self)
4494 """__str__(DistancePairScore self) -> std::string"""
4495 return _IMP_core.DistancePairScore___str__(self)
4499 """__repr__(DistancePairScore self) -> std::string"""
4500 return _IMP_core.DistancePairScore___repr__(self)
4505 return _object_cast_to_DistancePairScore(o)
4507 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4508 DistancePairScore_swigregister(DistancePairScore)
4511 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
4513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4515 def __init__(self, *args):
4517 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
4518 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4520 this = _IMP_core.new_HarmonicDistancePairScore(*args)
4522 self.this.append(this)
4526 def do_get_inputs(self, m, pis):
4527 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4528 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
4531 def get_version_info(self):
4532 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4533 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4537 """__str__(HarmonicDistancePairScore self) -> std::string"""
4538 return _IMP_core.HarmonicDistancePairScore___str__(self)
4542 """__repr__(HarmonicDistancePairScore self) -> std::string"""
4543 return _IMP_core.HarmonicDistancePairScore___repr__(self)
4548 return _object_cast_to_HarmonicDistancePairScore(o)
4550 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4551 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4554 """Proxy of C++ IMP::core::DistanceRestraint class."""
4556 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4558 def __init__(self, *args):
4560 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
4561 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
4563 this = _IMP_core.new_DistanceRestraint(*args)
4565 self.this.append(this)
4569 def get_version_info(self):
4570 """get_version_info(DistanceRestraint self) -> VersionInfo"""
4571 return _IMP_core.DistanceRestraint_get_version_info(self)
4575 """__str__(DistanceRestraint self) -> std::string"""
4576 return _IMP_core.DistanceRestraint___str__(self)
4580 """__repr__(DistanceRestraint self) -> std::string"""
4581 return _IMP_core.DistanceRestraint___repr__(self)
4586 return _object_cast_to_DistanceRestraint(o)
4588 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4589 DistanceRestraint_swigregister(DistanceRestraint)
4592 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
4594 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4596 def __init__(self, f, pt):
4597 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4598 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
4600 self.this.append(this)
4604 def do_get_inputs(self, m, pis):
4605 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4606 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
4609 def get_version_info(self):
4610 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4611 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4615 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4616 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4620 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4621 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4626 return _object_cast_to_SphereDistanceToSingletonScore(o)
4628 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4629 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4632 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
4634 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4636 def __init__(self, *args):
4638 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
4639 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4640 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4641 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4643 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4645 self.this.append(this)
4649 def do_get_inputs(self):
4650 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
4651 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4654 def get_version_info(self):
4655 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4656 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4659 def do_create_decomposition(self):
4660 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
4661 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4664 def do_create_current_decomposition(self):
4665 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
4666 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4670 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
4671 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4674 def remove_pair_filter(self, d):
4675 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4676 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
4679 def remove_pair_filters(self, d):
4680 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
4681 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
4684 def set_pair_filters(self, ps):
4685 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
4686 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
4689 def set_pair_filters_order(self, objs):
4690 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
4691 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
4694 def add_pair_filter(self, obj):
4695 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4696 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
4699 def add_pair_filters(self, objs):
4700 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
4701 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
4704 def clear_pair_filters(self):
4705 """clear_pair_filters(ExcludedVolumeRestraint self)"""
4706 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4709 def get_number_of_pair_filters(self):
4710 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4711 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4714 def get_has_pair_filters(self):
4715 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4716 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4719 def get_pair_filter(self, i):
4720 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4721 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
4724 def get_pair_filters(self):
4725 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
4726 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4729 def reserve_pair_filters(self, sz):
4730 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4731 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
4735 """__str__(ExcludedVolumeRestraint self) -> std::string"""
4736 return _IMP_core.ExcludedVolumeRestraint___str__(self)
4740 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4741 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4746 return _object_cast_to_ExcludedVolumeRestraint(o)
4748 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4749 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4752 """Proxy of C++ IMP::core::FixedRefiner class."""
4754 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4756 def __init__(self, *args):
4758 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
4759 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
4761 this = _IMP_core.new_FixedRefiner(*args)
4763 self.this.append(this)
4767 def do_get_inputs(self, m, pis):
4768 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4769 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
4772 def get_version_info(self):
4773 """get_version_info(FixedRefiner self) -> VersionInfo"""
4774 return _IMP_core.FixedRefiner_get_version_info(self)
4778 """__str__(FixedRefiner self) -> std::string"""
4779 return _IMP_core.FixedRefiner___str__(self)
4783 """__repr__(FixedRefiner self) -> std::string"""
4784 return _IMP_core.FixedRefiner___repr__(self)
4789 return _object_cast_to_FixedRefiner(o)
4791 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4792 FixedRefiner_swigregister(FixedRefiner)
4794 class GridClosePairsFinder(ClosePairsFinder):
4795 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
4797 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4800 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4801 this = _IMP_core.new_GridClosePairsFinder()
4803 self.this.append(this)
4807 def get_close_pairs(self, *args):
4809 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4810 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4811 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4812 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4814 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4817 def do_get_inputs(self, m, pis):
4818 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4819 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
4822 def get_version_info(self):
4823 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4824 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4828 """__str__(GridClosePairsFinder self) -> std::string"""
4829 return _IMP_core.GridClosePairsFinder___str__(self)
4833 """__repr__(GridClosePairsFinder self) -> std::string"""
4834 return _IMP_core.GridClosePairsFinder___repr__(self)
4839 return _object_cast_to_GridClosePairsFinder(o)
4841 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4842 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4845 """Proxy of C++ IMP::core::Harmonic class."""
4847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4849 def __init__(self, mean, k):
4850 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4851 this = _IMP_core.new_Harmonic(mean, k)
4853 self.this.append(this)
4857 def get_version_info(self):
4858 """get_version_info(Harmonic self) -> VersionInfo"""
4859 return _IMP_core.Harmonic_get_version_info(self)
4863 """get_mean(Harmonic self) -> IMP::Float"""
4864 return _IMP_core.Harmonic_get_mean(self)
4868 """get_k(Harmonic self) -> IMP::Float"""
4869 return _IMP_core.Harmonic_get_k(self)
4872 def set_mean(self, mean):
4873 """set_mean(Harmonic self, IMP::Float mean)"""
4874 return _IMP_core.Harmonic_set_mean(self, mean)
4878 """set_k(Harmonic self, IMP::Float k)"""
4879 return _IMP_core.Harmonic_set_k(self, k)
4882 def get_k_from_standard_deviation(sd, t=297.15):
4884 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4885 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4887 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
4889 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4892 """__str__(Harmonic self) -> std::string"""
4893 return _IMP_core.Harmonic___str__(self)
4897 """__repr__(Harmonic self) -> std::string"""
4898 return _IMP_core.Harmonic___repr__(self)
4903 return _object_cast_to_Harmonic(o)
4905 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4906 Harmonic_swigregister(Harmonic)
4908 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
4910 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4911 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4913 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
4916 """Proxy of C++ IMP::core::HarmonicWell class."""
4918 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4920 def __init__(self, well, k):
4921 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4922 this = _IMP_core.new_HarmonicWell(well, k)
4924 self.this.append(this)
4928 def get_version_info(self):
4929 """get_version_info(HarmonicWell self) -> VersionInfo"""
4930 return _IMP_core.HarmonicWell_get_version_info(self)
4934 """__str__(HarmonicWell self) -> std::string"""
4935 return _IMP_core.HarmonicWell___str__(self)
4939 """__repr__(HarmonicWell self) -> std::string"""
4940 return _IMP_core.HarmonicWell___repr__(self)
4945 return _object_cast_to_HarmonicWell(o)
4947 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4948 HarmonicWell_swigregister(HarmonicWell)
4950 class HarmonicLowerBound(Harmonic):
4951 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
4953 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4955 def __init__(self, mean, k):
4956 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4957 this = _IMP_core.new_HarmonicLowerBound(mean, k)
4959 self.this.append(this)
4964 """__str__(HarmonicLowerBound self) -> std::string"""
4965 return _IMP_core.HarmonicLowerBound___str__(self)
4969 """__repr__(HarmonicLowerBound self) -> std::string"""
4970 return _IMP_core.HarmonicLowerBound___repr__(self)
4975 return _object_cast_to_HarmonicLowerBound(o)
4977 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4978 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4980 class HarmonicUpperBound(Harmonic):
4981 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
4983 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4985 def __init__(self, mean, k):
4986 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4987 this = _IMP_core.new_HarmonicUpperBound(mean, k)
4989 self.this.append(this)
4994 """__str__(HarmonicUpperBound self) -> std::string"""
4995 return _IMP_core.HarmonicUpperBound___str__(self)
4999 """__repr__(HarmonicUpperBound self) -> std::string"""
5000 return _IMP_core.HarmonicUpperBound___repr__(self)
5005 return _object_cast_to_HarmonicUpperBound(o)
5007 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
5008 HarmonicUpperBound_swigregister(HarmonicUpperBound)
5011 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
5013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5015 def __init__(self, m, ps, eps=0.1):
5017 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
5018 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
5020 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
5022 self.this.append(this)
5026 def add_type(self, ps):
5027 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
5028 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
5031 def add_composite(self, *args):
5033 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
5034 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
5036 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
5039 def get_connected_pairs(self):
5040 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
5041 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
5044 def get_pair_score(self):
5045 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
5046 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
5049 def do_create_current_decomposition(self):
5050 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
5051 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
5054 def do_get_inputs(self):
5055 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
5056 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
5059 def get_version_info(self):
5060 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
5061 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
5065 """__str__(MSConnectivityRestraint self) -> std::string"""
5066 return _IMP_core.MSConnectivityRestraint___str__(self)
5070 """__repr__(MSConnectivityRestraint self) -> std::string"""
5071 return _IMP_core.MSConnectivityRestraint___repr__(self)
5076 return _object_cast_to_MSConnectivityRestraint(o)
5078 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
5079 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
5081 class HierarchyTraits(object):
5082 """Proxy of C++ IMP::core::HierarchyTraits class."""
5084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5086 def __init__(self, *args):
5088 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
5089 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
5091 this = _IMP_core.new_HierarchyTraits(*args)
5093 self.this.append(this)
5097 def get_children_key(self):
5098 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
5099 return _IMP_core.HierarchyTraits_get_children_key(self)
5102 def get_parent_key(self):
5103 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
5104 return _IMP_core.HierarchyTraits_get_parent_key(self)
5107 def __eq__(self, o):
5108 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
5109 return _IMP_core.HierarchyTraits___eq__(self, o)
5112 def show(self, *args):
5114 show(HierarchyTraits self, _ostream out)
5115 show(HierarchyTraits self)
5117 return _IMP_core.HierarchyTraits_show(self, *args)
5121 """__str__(HierarchyTraits self) -> std::string"""
5122 return _IMP_core.HierarchyTraits___str__(self)
5126 """__repr__(HierarchyTraits self) -> std::string"""
5127 return _IMP_core.HierarchyTraits___repr__(self)
5129 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
5130 __del__ =
lambda self:
None
5131 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
5132 HierarchyTraits_swigregister(HierarchyTraits)
5135 """Proxy of C++ IMP::core::Hierarchy class."""
5137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5139 def get_decorator_traits(self):
5140 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
5141 return _IMP_core.Hierarchy_get_decorator_traits(self)
5144 def get_default_decorator_traits():
5145 """get_default_decorator_traits() -> HierarchyTraits"""
5146 return _IMP_core.Hierarchy_get_default_decorator_traits()
5148 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
5150 def __init__(self, *args):
5152 __init__(IMP::core::Hierarchy self) -> Hierarchy
5153 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
5154 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
5155 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5156 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
5158 this = _IMP_core.new_Hierarchy(*args)
5160 self.this.append(this)
5164 def show(self, *args):
5166 show(Hierarchy self, _ostream out)
5167 show(Hierarchy self)
5169 return _IMP_core.Hierarchy_show(self, *args)
5172 def setup_particle(*args):
5174 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
5175 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
5176 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5177 setup_particle(_ParticleAdaptor d) -> Hierarchy
5178 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5179 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
5180 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5181 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
5182 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5183 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
5184 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5185 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
5187 return _IMP_core.Hierarchy_setup_particle(*args)
5189 setup_particle = staticmethod(setup_particle)
5191 def get_is_setup(*args):
5193 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
5194 get_is_setup(_ParticleAdaptor p) -> bool
5195 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
5196 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
5198 return _IMP_core.Hierarchy_get_is_setup(*args)
5200 get_is_setup = staticmethod(get_is_setup)
5202 def get_parent(self):
5203 """get_parent(Hierarchy self) -> Hierarchy"""
5204 return _IMP_core.Hierarchy_get_parent(self)
5207 def get_number_of_children(self):
5208 """get_number_of_children(Hierarchy self) -> unsigned int"""
5209 return _IMP_core.Hierarchy_get_number_of_children(self)
5212 def get_child(self, i):
5213 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
5214 return _IMP_core.Hierarchy_get_child(self, i)
5217 def get_children_indexes(self):
5218 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
5219 return _IMP_core.Hierarchy_get_children_indexes(self)
5222 def get_children(self):
5223 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
5224 return _IMP_core.Hierarchy_get_children(self)
5227 def remove_child(self, *args):
5229 remove_child(Hierarchy self, unsigned int i)
5230 remove_child(Hierarchy self, Hierarchy h)
5232 return _IMP_core.Hierarchy_remove_child(self, *args)
5235 def clear_children(self):
5236 """clear_children(Hierarchy self)"""
5237 return _IMP_core.Hierarchy_clear_children(self)
5240 def add_child(self, h):
5241 """add_child(Hierarchy self, Hierarchy h)"""
5242 return _IMP_core.Hierarchy_add_child(self, h)
5245 def add_child_at(self, h, pos):
5246 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
5247 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
5250 def get_child_index(self, *args):
5252 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
5253 get_child_index(Hierarchy self) -> int
5255 return _IMP_core.Hierarchy_get_child_index(self, *args)
5258 def get_default_traits():
5259 """get_default_traits() -> HierarchyTraits"""
5260 return _IMP_core.Hierarchy_get_default_traits()
5262 get_default_traits = staticmethod(get_default_traits)
5264 def get_traits(self):
5265 """get_traits(Hierarchy self) -> HierarchyTraits"""
5266 return _IMP_core.Hierarchy_get_traits(self)
5269 def add_attribute(self, *args):
5271 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
5272 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
5273 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
5274 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
5275 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
5276 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
5278 return _IMP_core.Hierarchy_add_attribute(self, *args)
5281 def get_value(self, *args):
5283 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
5284 get_value(Hierarchy self, IntKey a0) -> IMP::Int
5285 get_value(Hierarchy self, StringKey a0) -> IMP::String
5286 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
5287 get_value(Hierarchy self, ObjectKey a0) -> Object
5289 return _IMP_core.Hierarchy_get_value(self, *args)
5292 def set_value(self, *args):
5294 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
5295 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
5296 set_value(Hierarchy self, StringKey a0, IMP::String a1)
5297 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
5298 set_value(Hierarchy self, ObjectKey a0, Object a1)
5300 return _IMP_core.Hierarchy_set_value(self, *args)
5303 def remove_attribute(self, *args):
5305 remove_attribute(Hierarchy self, FloatKey a0)
5306 remove_attribute(Hierarchy self, IntKey a0)
5307 remove_attribute(Hierarchy self, StringKey a0)
5308 remove_attribute(Hierarchy self, ParticleIndexKey a0)
5309 remove_attribute(Hierarchy self, ObjectKey a0)
5311 return _IMP_core.Hierarchy_remove_attribute(self, *args)
5314 def has_attribute(self, *args):
5316 has_attribute(Hierarchy self, FloatKey a0) -> bool
5317 has_attribute(Hierarchy self, IntKey a0) -> bool
5318 has_attribute(Hierarchy self, StringKey a0) -> bool
5319 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
5320 has_attribute(Hierarchy self, ObjectKey a0) -> bool
5322 return _IMP_core.Hierarchy_has_attribute(self, *args)
5325 def get_derivative(self, a0):
5326 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
5327 return _IMP_core.Hierarchy_get_derivative(self, a0)
5331 """get_name(Hierarchy self) -> std::string"""
5332 return _IMP_core.Hierarchy_get_name(self)
5335 def clear_caches(self):
5336 """clear_caches(Hierarchy self)"""
5337 return _IMP_core.Hierarchy_clear_caches(self)
5340 def set_name(self, a0):
5341 """set_name(Hierarchy self, std::string a0)"""
5342 return _IMP_core.Hierarchy_set_name(self, a0)
5346 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
5347 return _IMP_core.Hierarchy_set_check_level(self, a0)
5350 def add_to_derivative(self, a0, a1, a2):
5351 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5352 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
5355 def set_is_optimized(self, a0, a1):
5356 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
5357 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
5360 def get_is_optimized(self, a0):
5361 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
5362 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
5366 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
5367 return _IMP_core.Hierarchy_get_check_level(self)
5370 def __eq__(self, *args):
5372 __eq__(Hierarchy self, Hierarchy o) -> bool
5373 __eq__(Hierarchy self, Particle d) -> bool
5375 return _IMP_core.Hierarchy___eq__(self, *args)
5378 def __ne__(self, *args):
5380 __ne__(Hierarchy self, Hierarchy o) -> bool
5381 __ne__(Hierarchy self, Particle d) -> bool
5383 return _IMP_core.Hierarchy___ne__(self, *args)
5386 def __le__(self, *args):
5388 __le__(Hierarchy self, Hierarchy o) -> bool
5389 __le__(Hierarchy self, Particle d) -> bool
5391 return _IMP_core.Hierarchy___le__(self, *args)
5394 def __lt__(self, *args):
5396 __lt__(Hierarchy self, Hierarchy o) -> bool
5397 __lt__(Hierarchy self, Particle d) -> bool
5399 return _IMP_core.Hierarchy___lt__(self, *args)
5402 def __ge__(self, *args):
5404 __ge__(Hierarchy self, Hierarchy o) -> bool
5405 __ge__(Hierarchy self, Particle d) -> bool
5407 return _IMP_core.Hierarchy___ge__(self, *args)
5410 def __gt__(self, *args):
5412 __gt__(Hierarchy self, Hierarchy o) -> bool
5413 __gt__(Hierarchy self, Particle d) -> bool
5415 return _IMP_core.Hierarchy___gt__(self, *args)
5419 """__hash__(Hierarchy self) -> std::size_t"""
5420 return _IMP_core.Hierarchy___hash__(self)
5424 """__str__(Hierarchy self) -> std::string"""
5425 return _IMP_core.Hierarchy___str__(self)
5429 """__repr__(Hierarchy self) -> std::string"""
5430 return _IMP_core.Hierarchy___repr__(self)
5432 __swig_destroy__ = _IMP_core.delete_Hierarchy
5433 __del__ =
lambda self:
None
5434 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
5435 Hierarchy_swigregister(Hierarchy)
5437 def Hierarchy_get_default_decorator_traits():
5438 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
5439 return _IMP_core.Hierarchy_get_default_decorator_traits()
5441 def Hierarchy_setup_particle(*args):
5443 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
5444 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
5445 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5446 setup_particle(_ParticleAdaptor d) -> Hierarchy
5447 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5448 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
5449 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5450 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
5451 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5452 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
5453 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5454 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
5456 return _IMP_core.Hierarchy_setup_particle(*args)
5458 def Hierarchy_get_is_setup(*args):
5460 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
5461 get_is_setup(_ParticleAdaptor p) -> bool
5462 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
5463 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
5465 return _IMP_core.Hierarchy_get_is_setup(*args)
5467 def Hierarchy_get_default_traits():
5468 """Hierarchy_get_default_traits() -> HierarchyTraits"""
5469 return _IMP_core.Hierarchy_get_default_traits()
5471 class HierarchyVisitor(object):
5472 """Proxy of C++ IMP::core::HierarchyVisitor class."""
5474 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5476 def __init__(self, *args, **kwargs):
5477 raise AttributeError(
"No constructor defined - class is abstract")
5478 __repr__ = _swig_repr
5480 def __call__(self, p):
5481 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
5482 return _IMP_core.HierarchyVisitor___call__(self, p)
5484 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
5485 __del__ =
lambda self:
None
5486 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
5487 HierarchyVisitor_swigregister(HierarchyVisitor)
5489 class ModifierVisitor(HierarchyVisitor):
5490 """Proxy of C++ IMP::core::ModifierVisitor class."""
5492 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5493 __repr__ = _swig_repr
5495 def __init__(self, sm):
5496 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
5497 this = _IMP_core.new_ModifierVisitor(sm)
5499 self.this.append(this)
5502 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
5503 __del__ =
lambda self:
None
5504 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
5505 ModifierVisitor_swigregister(ModifierVisitor)
5507 class HierarchyCounter(HierarchyVisitor):
5508 """Proxy of C++ IMP::core::HierarchyCounter class."""
5510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5513 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
5514 this = _IMP_core.new_HierarchyCounter()
5516 self.this.append(this)
5520 def get_count(self):
5521 """get_count(HierarchyCounter self) -> unsigned int"""
5522 return _IMP_core.HierarchyCounter_get_count(self)
5525 def show(self, *args):
5527 show(HierarchyCounter self, _ostream out)
5528 show(HierarchyCounter self)
5530 return _IMP_core.HierarchyCounter_show(self, *args)
5534 """__str__(HierarchyCounter self) -> std::string"""
5535 return _IMP_core.HierarchyCounter___str__(self)
5539 """__repr__(HierarchyCounter self) -> std::string"""
5540 return _IMP_core.HierarchyCounter___repr__(self)
5542 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5543 __del__ =
lambda self:
None
5544 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5545 HierarchyCounter_swigregister(HierarchyCounter)
5549 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5550 return _IMP_core.get_leaves(mhd)
5553 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5554 return _IMP_core.get_internal(mhd)
5557 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5558 return _IMP_core.get_all_descendants(mhd)
5561 """get_root(Hierarchy h) -> Hierarchy"""
5562 return _IMP_core.get_root(h)
5565 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5566 return _IMP_core.visit_breadth_first(d, f)
5569 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5570 return _IMP_core.visit_depth_first(d, f)
5572 """Proxy of C++ IMP::core::LeavesRefiner class."""
5574 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5576 def __init__(self, tr):
5577 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5578 this = _IMP_core.new_LeavesRefiner(tr)
5580 self.this.append(this)
5584 def do_get_inputs(self, m, pis):
5585 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5586 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
5589 def get_version_info(self):
5590 """get_version_info(LeavesRefiner self) -> VersionInfo"""
5591 return _IMP_core.LeavesRefiner_get_version_info(self)
5595 """__str__(LeavesRefiner self) -> std::string"""
5596 return _IMP_core.LeavesRefiner___str__(self)
5600 """__repr__(LeavesRefiner self) -> std::string"""
5601 return _IMP_core.LeavesRefiner___repr__(self)
5606 return _object_cast_to_LeavesRefiner(o)
5608 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5609 LeavesRefiner_swigregister(LeavesRefiner)
5612 """Proxy of C++ IMP::core::Linear class."""
5614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5616 def __init__(self, offset, slope):
5617 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5618 this = _IMP_core.new_Linear(offset, slope)
5620 self.this.append(this)
5624 def set_slope(self, f):
5625 """set_slope(Linear self, double f)"""
5626 return _IMP_core.Linear_set_slope(self, f)
5629 def set_offset(self, f):
5630 """set_offset(Linear self, double f)"""
5631 return _IMP_core.Linear_set_offset(self, f)
5634 def get_version_info(self):
5635 """get_version_info(Linear self) -> VersionInfo"""
5636 return _IMP_core.Linear_get_version_info(self)
5640 """__str__(Linear self) -> std::string"""
5641 return _IMP_core.Linear___str__(self)
5645 """__repr__(Linear self) -> std::string"""
5646 return _IMP_core.Linear___repr__(self)
5651 return _object_cast_to_Linear(o)
5653 Linear_swigregister = _IMP_core.Linear_swigregister
5654 Linear_swigregister(Linear)
5657 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
5659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5661 def __init__(self, *args):
5663 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
5664 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
5665 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
5666 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
5668 this = _IMP_core.new_IncrementalScoringFunction(*args)
5670 self.this.append(this)
5674 def reset_moved_particles(self):
5675 """reset_moved_particles(IncrementalScoringFunction self)"""
5676 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5679 def set_moved_particles(self, p):
5680 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
5681 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
5684 def add_close_pair_score(self, *args):
5686 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
5687 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
5689 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5692 def clear_close_pair_scores(self):
5693 """clear_close_pair_scores(IncrementalScoringFunction self)"""
5694 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5697 def get_movable_indexes(self):
5698 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
5699 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
5702 def do_add_score_and_derivatives(self, sa, ss):
5703 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
5704 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
5707 def do_get_inputs(self):
5708 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
5709 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
5712 def handle_set_has_required_score_states(self, arg2):
5713 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
5714 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
5717 def get_version_info(self):
5718 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5719 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5723 """__str__(IncrementalScoringFunction self) -> std::string"""
5724 return _IMP_core.IncrementalScoringFunction___str__(self)
5728 """__repr__(IncrementalScoringFunction self) -> std::string"""
5729 return _IMP_core.IncrementalScoringFunction___repr__(self)
5734 return _object_cast_to_IncrementalScoringFunction(o)
5736 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5737 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5740 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
5741 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5743 """Proxy of C++ IMP::core::MonteCarlo class."""
5745 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5747 def __init__(self, m):
5748 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
5749 this = _IMP_core.new_MonteCarlo(m)
5751 self.this.append(this)
5755 def get_version_info(self):
5756 """get_version_info(MonteCarlo self) -> VersionInfo"""
5757 return _IMP_core.MonteCarlo_get_version_info(self)
5760 def set_return_best(self, tf):
5761 """set_return_best(MonteCarlo self, bool tf)"""
5762 return _IMP_core.MonteCarlo_set_return_best(self, tf)
5765 def set_kt(self, t):
5766 """set_kt(MonteCarlo self, IMP::Float t)"""
5767 return _IMP_core.MonteCarlo_set_kt(self, t)
5771 """get_kt(MonteCarlo self) -> IMP::Float"""
5772 return _IMP_core.MonteCarlo_get_kt(self)
5775 def get_last_accepted_energy(self):
5776 """get_last_accepted_energy(MonteCarlo self) -> double"""
5777 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5780 def get_best_accepted_energy(self):
5781 """get_best_accepted_energy(MonteCarlo self) -> double"""
5782 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5785 def get_number_of_downward_steps(self):
5786 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
5787 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
5790 def get_number_of_upward_steps(self):
5791 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5792 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5795 def get_number_of_proposed_steps(self):
5796 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
5797 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
5800 def get_number_of_accepted_steps(self):
5801 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
5802 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
5805 def reset_statistics(self):
5806 """reset_statistics(MonteCarlo self)"""
5807 return _IMP_core.MonteCarlo_reset_statistics(self)
5810 def set_score_threshold(self, s):
5811 """set_score_threshold(MonteCarlo self, double s)"""
5812 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
5815 def get_score_threshold(self):
5816 """get_score_threshold(MonteCarlo self) -> double"""
5817 return _IMP_core.MonteCarlo_get_score_threshold(self)
5820 def set_maximum_difference(self, d):
5821 """set_maximum_difference(MonteCarlo self, double d)"""
5822 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
5825 def get_maximum_difference(self):
5826 """get_maximum_difference(MonteCarlo self) -> double"""
5827 return _IMP_core.MonteCarlo_get_maximum_difference(self)
5830 def remove_mover(self, d):
5831 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5832 return _IMP_core.MonteCarlo_remove_mover(self, d)
5835 def remove_movers(self, d):
5836 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5837 return _IMP_core.MonteCarlo_remove_movers(self, d)
5840 def set_movers(self, ps):
5841 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5842 return _IMP_core.MonteCarlo_set_movers(self, ps)
5845 def set_movers_order(self, objs):
5846 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5847 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
5850 def add_mover(self, obj):
5851 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5852 return _IMP_core.MonteCarlo_add_mover(self, obj)
5855 def add_movers(self, objs):
5856 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5857 return _IMP_core.MonteCarlo_add_movers(self, objs)
5860 def clear_movers(self):
5861 """clear_movers(MonteCarlo self)"""
5862 return _IMP_core.MonteCarlo_clear_movers(self)
5865 def get_number_of_movers(self):
5866 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5867 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5870 def get_has_movers(self):
5871 """get_has_movers(MonteCarlo self) -> bool"""
5872 return _IMP_core.MonteCarlo_get_has_movers(self)
5875 def get_mover(self, i):
5876 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5877 return _IMP_core.MonteCarlo_get_mover(self, i)
5880 def get_movers(self):
5881 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5882 return _IMP_core.MonteCarlo_get_movers(self)
5885 def reserve_movers(self, sz):
5886 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5887 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
5890 def set_incremental_scoring_function(self, isf):
5891 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5892 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
5895 def get_use_incremental_scoring_function(self):
5896 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5897 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5900 def get_incremental_scoring_function(self):
5901 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5902 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5906 """__str__(MonteCarlo self) -> std::string"""
5907 return _IMP_core.MonteCarlo___str__(self)
5911 """__repr__(MonteCarlo self) -> std::string"""
5912 return _IMP_core.MonteCarlo___repr__(self)
5917 return _object_cast_to_MonteCarlo(o)
5919 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5920 MonteCarlo_swigregister(MonteCarlo)
5922 class MonteCarloWithLocalOptimization(MonteCarlo):
5923 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
5925 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5927 def __init__(self, opt, steps):
5928 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5929 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
5931 self.this.append(this)
5935 def get_number_of_steps(self):
5936 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5937 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5940 def get_local_optimizer(self):
5941 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5942 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5946 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5947 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5951 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5952 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5957 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5959 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5960 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5962 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5963 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
5965 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5967 def __init__(self, opt, ns):
5968 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5969 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
5971 self.this.append(this)
5976 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5977 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5981 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5982 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5987 return _object_cast_to_MonteCarloWithBasinHopping(o)
5989 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5990 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5993 """Proxy of C++ IMP::core::NeighborsTable class."""
5995 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5997 def __init__(self, *args):
5999 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
6000 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
6002 this = _IMP_core.new_NeighborsTable(*args)
6004 self.this.append(this)
6008 def get_neighbors(self, pi):
6009 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
6010 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
6013 def get_version_info(self):
6014 """get_version_info(NeighborsTable self) -> VersionInfo"""
6015 return _IMP_core.NeighborsTable_get_version_info(self)
6019 """__str__(NeighborsTable self) -> std::string"""
6020 return _IMP_core.NeighborsTable___str__(self)
6024 """__repr__(NeighborsTable self) -> std::string"""
6025 return _IMP_core.NeighborsTable___repr__(self)
6030 return _object_cast_to_NeighborsTable(o)
6032 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
6033 NeighborsTable_swigregister(NeighborsTable)
6035 class NormalMover(MonteCarloMover):
6036 """Proxy of C++ IMP::core::NormalMover class."""
6038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6040 def __init__(self, *args):
6042 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
6043 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
6044 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
6045 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
6047 this = _IMP_core.new_NormalMover(*args)
6049 self.this.append(this)
6053 def set_sigma(self, sigma):
6054 """set_sigma(NormalMover self, IMP::Float sigma)"""
6055 return _IMP_core.NormalMover_set_sigma(self, sigma)
6058 def get_sigma(self):
6059 """get_sigma(NormalMover self) -> IMP::Float"""
6060 return _IMP_core.NormalMover_get_sigma(self)
6063 def get_version_info(self):
6064 """get_version_info(NormalMover self) -> VersionInfo"""
6065 return _IMP_core.NormalMover_get_version_info(self)
6069 """__str__(NormalMover self) -> std::string"""
6070 return _IMP_core.NormalMover___str__(self)
6074 """__repr__(NormalMover self) -> std::string"""
6075 return _IMP_core.NormalMover___repr__(self)
6080 return _object_cast_to_NormalMover(o)
6082 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
6083 NormalMover_swigregister(NormalMover)
6085 class OpenCubicSpline(_OpenCubicSplineBase):
6086 """Proxy of C++ IMP::core::OpenCubicSpline class."""
6088 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6090 def __init__(self, values, minrange, spacing, extend=False):
6092 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
6093 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
6095 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
6097 self.this.append(this)
6102 """__str__(OpenCubicSpline self) -> std::string"""
6103 return _IMP_core.OpenCubicSpline___str__(self)
6107 """__repr__(OpenCubicSpline self) -> std::string"""
6108 return _IMP_core.OpenCubicSpline___repr__(self)
6113 return _object_cast_to_OpenCubicSpline(o)
6115 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
6116 __del__ =
lambda self:
None
6117 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
6118 OpenCubicSpline_swigregister(OpenCubicSpline)
6120 class QuadraticClosePairsFinder(ClosePairsFinder):
6121 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
6123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6126 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
6127 this = _IMP_core.new_QuadraticClosePairsFinder()
6129 self.this.append(this)
6133 def get_are_close(self, *args):
6135 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
6136 get_are_close(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
6138 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
6141 def get_close_pairs(self, *args):
6143 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6144 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6145 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6146 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6148 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
6151 def do_get_inputs(self, m, pis):
6152 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6153 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
6156 def get_version_info(self):
6157 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
6158 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
6162 """__str__(QuadraticClosePairsFinder self) -> std::string"""
6163 return _IMP_core.QuadraticClosePairsFinder___str__(self)
6167 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
6168 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
6173 return _object_cast_to_QuadraticClosePairsFinder(o)
6175 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
6176 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
6179 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
6181 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6183 def __init__(self, r, f):
6184 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
6185 this = _IMP_core.new_RefinedPairsPairScore(r, f)
6187 self.this.append(this)
6191 def do_get_inputs(self, m, pis):
6192 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6193 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
6196 def get_version_info(self):
6197 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
6198 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
6202 """__str__(RefinedPairsPairScore self) -> std::string"""
6203 return _IMP_core.RefinedPairsPairScore___str__(self)
6207 """__repr__(RefinedPairsPairScore self) -> std::string"""
6208 return _IMP_core.RefinedPairsPairScore___repr__(self)
6213 return _object_cast_to_RefinedPairsPairScore(o)
6215 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
6216 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
6218 class RigidBody(XYZ):
6219 """Proxy of C++ IMP::core::RigidBody class."""
6221 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6223 def get_rigid_members(self):
6224 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
6225 return _IMP_core.RigidBody_get_rigid_members(self)
6228 def get_member_particle_indexes(self):
6229 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
6230 return _IMP_core.RigidBody_get_member_particle_indexes(self)
6233 def get_body_member_particle_indexes(self):
6234 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
6235 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
6238 def get_member_indexes(self):
6239 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
6240 return _IMP_core.RigidBody_get_member_indexes(self)
6243 def __init__(self, *args):
6245 __init__(IMP::core::RigidBody self) -> RigidBody
6246 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
6247 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
6249 this = _IMP_core.new_RigidBody(*args)
6251 self.this.append(this)
6255 def show(self, *args):
6257 show(RigidBody self, _ostream out)
6258 show(RigidBody self)
6260 return _IMP_core.RigidBody_show(self, *args)
6263 def setup_particle(*args):
6265 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
6266 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
6267 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
6268 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
6270 return _IMP_core.RigidBody_setup_particle(*args)
6272 setup_particle = staticmethod(setup_particle)
6274 def teardown_particle(rb):
6275 """teardown_particle(RigidBody rb)"""
6276 return _IMP_core.RigidBody_teardown_particle(rb)
6278 teardown_particle = staticmethod(teardown_particle)
6279 __swig_destroy__ = _IMP_core.delete_RigidBody
6280 __del__ =
lambda self:
None
6282 def get_is_setup(*args):
6284 get_is_setup(_ParticleAdaptor p) -> bool
6285 get_is_setup(Model m, ParticleIndex pi) -> bool
6287 return _IMP_core.RigidBody_get_is_setup(*args)
6289 get_is_setup = staticmethod(get_is_setup)
6291 def get_coordinates(self):
6292 """get_coordinates(RigidBody self) -> Vector3D"""
6293 return _IMP_core.RigidBody_get_coordinates(self)
6296 def get_reference_frame(self):
6297 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
6298 return _IMP_core.RigidBody_get_reference_frame(self)
6301 def set_reference_frame(self, tr):
6302 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
6303 return _IMP_core.RigidBody_set_reference_frame(self, tr)
6306 def set_reference_frame_lazy(self, tr):
6307 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
6308 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
6311 def set_reference_frame_from_members(self, members):
6312 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
6313 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
6316 def add_to_derivatives(self, *args):
6318 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
6319 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot, DerivativeAccumulator da)
6321 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
6324 def get_torque(self):
6325 """get_torque(RigidBody self) -> Vector3D"""
6326 return _IMP_core.RigidBody_get_torque(self)
6329 def get_coordinates_are_optimized(self):
6330 """get_coordinates_are_optimized(RigidBody self) -> bool"""
6331 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
6334 def set_coordinates_are_optimized(self, tf):
6335 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
6336 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
6339 def normalize_rotation(self):
6340 """normalize_rotation(RigidBody self)"""
6341 return _IMP_core.RigidBody_normalize_rotation(self)
6344 def update_members(self):
6345 """update_members(RigidBody self)"""
6346 return _IMP_core.RigidBody_update_members(self)
6349 def get_rotational_derivatives(self):
6350 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
6351 return _IMP_core.RigidBody_get_rotational_derivatives(self)
6354 def get_number_of_members(self):
6355 """get_number_of_members(RigidBody self) -> unsigned int"""
6356 return _IMP_core.RigidBody_get_number_of_members(self)
6359 def get_member(self, i):
6360 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
6361 return _IMP_core.RigidBody_get_member(self, i)
6364 def add_member(self, p):
6365 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
6366 return _IMP_core.RigidBody_add_member(self, p)
6369 def add_non_rigid_member(self, p):
6370 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
6371 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
6374 def set_is_rigid_member(self, pi, tf):
6375 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
6376 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
6379 def add_attribute(self, *args):
6381 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
6382 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
6383 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
6384 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
6385 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
6386 add_attribute(RigidBody self, ObjectKey a0, Object a1)
6388 return _IMP_core.RigidBody_add_attribute(self, *args)
6391 def get_value(self, *args):
6393 get_value(RigidBody self, FloatKey a0) -> IMP::Float
6394 get_value(RigidBody self, IntKey a0) -> IMP::Int
6395 get_value(RigidBody self, StringKey a0) -> IMP::String
6396 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
6397 get_value(RigidBody self, ObjectKey a0) -> Object
6399 return _IMP_core.RigidBody_get_value(self, *args)
6402 def set_value(self, *args):
6404 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
6405 set_value(RigidBody self, IntKey a0, IMP::Int a1)
6406 set_value(RigidBody self, StringKey a0, IMP::String a1)
6407 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
6408 set_value(RigidBody self, ObjectKey a0, Object a1)
6410 return _IMP_core.RigidBody_set_value(self, *args)
6413 def remove_attribute(self, *args):
6415 remove_attribute(RigidBody self, FloatKey a0)
6416 remove_attribute(RigidBody self, IntKey a0)
6417 remove_attribute(RigidBody self, StringKey a0)
6418 remove_attribute(RigidBody self, ParticleIndexKey a0)
6419 remove_attribute(RigidBody self, ObjectKey a0)
6421 return _IMP_core.RigidBody_remove_attribute(self, *args)
6424 def has_attribute(self, *args):
6426 has_attribute(RigidBody self, FloatKey a0) -> bool
6427 has_attribute(RigidBody self, IntKey a0) -> bool
6428 has_attribute(RigidBody self, StringKey a0) -> bool
6429 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
6430 has_attribute(RigidBody self, ObjectKey a0) -> bool
6432 return _IMP_core.RigidBody_has_attribute(self, *args)
6435 def get_derivative(self, a0):
6436 """get_derivative(RigidBody self, FloatKey a0) -> double"""
6437 return _IMP_core.RigidBody_get_derivative(self, a0)
6441 """get_name(RigidBody self) -> std::string"""
6442 return _IMP_core.RigidBody_get_name(self)
6445 def clear_caches(self):
6446 """clear_caches(RigidBody self)"""
6447 return _IMP_core.RigidBody_clear_caches(self)
6450 def set_name(self, a0):
6451 """set_name(RigidBody self, std::string a0)"""
6452 return _IMP_core.RigidBody_set_name(self, a0)
6456 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
6457 return _IMP_core.RigidBody_set_check_level(self, a0)
6460 def add_to_derivative(self, a0, a1, a2):
6461 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6462 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
6465 def set_is_optimized(self, a0, a1):
6466 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
6467 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
6470 def get_is_optimized(self, a0):
6471 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
6472 return _IMP_core.RigidBody_get_is_optimized(self, a0)
6476 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
6477 return _IMP_core.RigidBody_get_check_level(self)
6480 def __eq__(self, *args):
6482 __eq__(RigidBody self, RigidBody o) -> bool
6483 __eq__(RigidBody self, Particle d) -> bool
6485 return _IMP_core.RigidBody___eq__(self, *args)
6488 def __ne__(self, *args):
6490 __ne__(RigidBody self, RigidBody o) -> bool
6491 __ne__(RigidBody self, Particle d) -> bool
6493 return _IMP_core.RigidBody___ne__(self, *args)
6496 def __le__(self, *args):
6498 __le__(RigidBody self, RigidBody o) -> bool
6499 __le__(RigidBody self, Particle d) -> bool
6501 return _IMP_core.RigidBody___le__(self, *args)
6504 def __lt__(self, *args):
6506 __lt__(RigidBody self, RigidBody o) -> bool
6507 __lt__(RigidBody self, Particle d) -> bool
6509 return _IMP_core.RigidBody___lt__(self, *args)
6512 def __ge__(self, *args):
6514 __ge__(RigidBody self, RigidBody o) -> bool
6515 __ge__(RigidBody self, Particle d) -> bool
6517 return _IMP_core.RigidBody___ge__(self, *args)
6520 def __gt__(self, *args):
6522 __gt__(RigidBody self, RigidBody o) -> bool
6523 __gt__(RigidBody self, Particle d) -> bool
6525 return _IMP_core.RigidBody___gt__(self, *args)
6529 """__hash__(RigidBody self) -> std::size_t"""
6530 return _IMP_core.RigidBody___hash__(self)
6534 """__str__(RigidBody self) -> std::string"""
6535 return _IMP_core.RigidBody___str__(self)
6539 """__repr__(RigidBody self) -> std::string"""
6540 return _IMP_core.RigidBody___repr__(self)
6542 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
6543 RigidBody_swigregister(RigidBody)
6545 def RigidBody_setup_particle(*args):
6547 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
6548 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
6549 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
6550 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
6552 return _IMP_core.RigidBody_setup_particle(*args)
6554 def RigidBody_teardown_particle(rb):
6555 """RigidBody_teardown_particle(RigidBody rb)"""
6556 return _IMP_core.RigidBody_teardown_particle(rb)
6558 def RigidBody_get_is_setup(*args):
6560 get_is_setup(_ParticleAdaptor p) -> bool
6561 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
6563 return _IMP_core.RigidBody_get_is_setup(*args)
6567 """add_rigid_body_cache_key(ObjectKey k)"""
6568 return _IMP_core.add_rigid_body_cache_key(k)
6569 class RigidBodyMember(XYZ):
6570 """Proxy of C++ IMP::core::RigidBodyMember class."""
6572 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6574 def __init__(self, *args):
6576 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
6577 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
6578 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
6580 this = _IMP_core.new_RigidBodyMember(*args)
6582 self.this.append(this)
6586 def show(self, *args):
6588 show(RigidBodyMember self, _ostream out)
6589 show(RigidBodyMember self)
6591 return _IMP_core.RigidBodyMember_show(self, *args)
6594 def get_rigid_body(self):
6595 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
6596 return _IMP_core.RigidBodyMember_get_rigid_body(self)
6599 def get_internal_coordinates(self):
6600 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
6601 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
6604 def set_internal_coordinates(self, v):
6605 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
6606 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
6609 def set_internal_transformation(self, v):
6610 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
6611 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
6614 def get_internal_transformation(self):
6615 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
6616 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
6618 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
6619 __del__ =
lambda self:
None
6621 def set_coordinates(self, *args):
6623 set_coordinates(RigidBodyMember self, Vector3D center)
6624 set_coordinates(RigidBodyMember self, Transformation3D tr)
6626 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
6629 def get_is_setup(*args):
6631 get_is_setup(_ParticleAdaptor p) -> bool
6632 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6634 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6636 get_is_setup = staticmethod(get_is_setup)
6638 def get_internal_coordinate_keys():
6639 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
6640 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6642 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6644 def add_attribute(self, *args):
6646 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
6647 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6648 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
6649 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
6650 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6651 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
6653 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
6656 def get_value(self, *args):
6658 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
6659 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
6660 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
6661 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
6662 get_value(RigidBodyMember self, ObjectKey a0) -> Object
6664 return _IMP_core.RigidBodyMember_get_value(self, *args)
6667 def set_value(self, *args):
6669 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6670 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
6671 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
6672 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6673 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
6675 return _IMP_core.RigidBodyMember_set_value(self, *args)
6678 def remove_attribute(self, *args):
6680 remove_attribute(RigidBodyMember self, FloatKey a0)
6681 remove_attribute(RigidBodyMember self, IntKey a0)
6682 remove_attribute(RigidBodyMember self, StringKey a0)
6683 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
6684 remove_attribute(RigidBodyMember self, ObjectKey a0)
6686 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
6689 def has_attribute(self, *args):
6691 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
6692 has_attribute(RigidBodyMember self, IntKey a0) -> bool
6693 has_attribute(RigidBodyMember self, StringKey a0) -> bool
6694 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
6695 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
6697 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
6700 def get_derivative(self, a0):
6701 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
6702 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
6706 """get_name(RigidBodyMember self) -> std::string"""
6707 return _IMP_core.RigidBodyMember_get_name(self)
6710 def clear_caches(self):
6711 """clear_caches(RigidBodyMember self)"""
6712 return _IMP_core.RigidBodyMember_clear_caches(self)
6715 def set_name(self, a0):
6716 """set_name(RigidBodyMember self, std::string a0)"""
6717 return _IMP_core.RigidBodyMember_set_name(self, a0)
6721 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
6722 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
6725 def add_to_derivative(self, a0, a1, a2):
6726 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6727 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
6730 def set_is_optimized(self, a0, a1):
6731 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
6732 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
6735 def get_is_optimized(self, a0):
6736 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
6737 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
6741 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
6742 return _IMP_core.RigidBodyMember_get_check_level(self)
6745 def __eq__(self, *args):
6747 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
6748 __eq__(RigidBodyMember self, Particle d) -> bool
6750 return _IMP_core.RigidBodyMember___eq__(self, *args)
6753 def __ne__(self, *args):
6755 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
6756 __ne__(RigidBodyMember self, Particle d) -> bool
6758 return _IMP_core.RigidBodyMember___ne__(self, *args)
6761 def __le__(self, *args):
6763 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
6764 __le__(RigidBodyMember self, Particle d) -> bool
6766 return _IMP_core.RigidBodyMember___le__(self, *args)
6769 def __lt__(self, *args):
6771 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
6772 __lt__(RigidBodyMember self, Particle d) -> bool
6774 return _IMP_core.RigidBodyMember___lt__(self, *args)
6777 def __ge__(self, *args):
6779 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
6780 __ge__(RigidBodyMember self, Particle d) -> bool
6782 return _IMP_core.RigidBodyMember___ge__(self, *args)
6785 def __gt__(self, *args):
6787 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
6788 __gt__(RigidBodyMember self, Particle d) -> bool
6790 return _IMP_core.RigidBodyMember___gt__(self, *args)
6794 """__hash__(RigidBodyMember self) -> std::size_t"""
6795 return _IMP_core.RigidBodyMember___hash__(self)
6799 """__str__(RigidBodyMember self) -> std::string"""
6800 return _IMP_core.RigidBodyMember___str__(self)
6804 """__repr__(RigidBodyMember self) -> std::string"""
6805 return _IMP_core.RigidBodyMember___repr__(self)
6807 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
6808 RigidBodyMember_swigregister(RigidBodyMember)
6810 def RigidBodyMember_get_is_setup(*args):
6812 get_is_setup(_ParticleAdaptor p) -> bool
6813 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6815 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6817 def RigidBodyMember_get_internal_coordinate_keys():
6818 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
6819 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6821 class RigidMember(RigidBodyMember):
6822 """Proxy of C++ IMP::core::RigidMember class."""
6824 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6826 def __init__(self, *args):
6828 __init__(IMP::core::RigidMember self) -> RigidMember
6829 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
6830 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
6832 this = _IMP_core.new_RigidMember(*args)
6834 self.this.append(this)
6838 def show(self, *args):
6840 show(RigidMember self, _ostream out)
6841 show(RigidMember self)
6843 return _IMP_core.RigidMember_show(self, *args)
6845 __swig_destroy__ = _IMP_core.delete_RigidMember
6846 __del__ =
lambda self:
None
6848 def get_is_setup(*args):
6850 get_is_setup(_ParticleAdaptor p) -> bool
6851 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6853 return _IMP_core.RigidMember_get_is_setup(*args)
6855 get_is_setup = staticmethod(get_is_setup)
6857 def add_attribute(self, *args):
6859 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6860 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6861 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6862 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6863 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6864 add_attribute(RigidMember self, ObjectKey a0, Object a1)
6866 return _IMP_core.RigidMember_add_attribute(self, *args)
6869 def get_value(self, *args):
6871 get_value(RigidMember self, FloatKey a0) -> IMP::Float
6872 get_value(RigidMember self, IntKey a0) -> IMP::Int
6873 get_value(RigidMember self, StringKey a0) -> IMP::String
6874 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6875 get_value(RigidMember self, ObjectKey a0) -> Object
6877 return _IMP_core.RigidMember_get_value(self, *args)
6880 def set_value(self, *args):
6882 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6883 set_value(RigidMember self, IntKey a0, IMP::Int a1)
6884 set_value(RigidMember self, StringKey a0, IMP::String a1)
6885 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6886 set_value(RigidMember self, ObjectKey a0, Object a1)
6888 return _IMP_core.RigidMember_set_value(self, *args)
6891 def remove_attribute(self, *args):
6893 remove_attribute(RigidMember self, FloatKey a0)
6894 remove_attribute(RigidMember self, IntKey a0)
6895 remove_attribute(RigidMember self, StringKey a0)
6896 remove_attribute(RigidMember self, ParticleIndexKey a0)
6897 remove_attribute(RigidMember self, ObjectKey a0)
6899 return _IMP_core.RigidMember_remove_attribute(self, *args)
6902 def has_attribute(self, *args):
6904 has_attribute(RigidMember self, FloatKey a0) -> bool
6905 has_attribute(RigidMember self, IntKey a0) -> bool
6906 has_attribute(RigidMember self, StringKey a0) -> bool
6907 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6908 has_attribute(RigidMember self, ObjectKey a0) -> bool
6910 return _IMP_core.RigidMember_has_attribute(self, *args)
6913 def get_derivative(self, a0):
6914 """get_derivative(RigidMember self, FloatKey a0) -> double"""
6915 return _IMP_core.RigidMember_get_derivative(self, a0)
6919 """get_name(RigidMember self) -> std::string"""
6920 return _IMP_core.RigidMember_get_name(self)
6923 def clear_caches(self):
6924 """clear_caches(RigidMember self)"""
6925 return _IMP_core.RigidMember_clear_caches(self)
6928 def set_name(self, a0):
6929 """set_name(RigidMember self, std::string a0)"""
6930 return _IMP_core.RigidMember_set_name(self, a0)
6934 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
6935 return _IMP_core.RigidMember_set_check_level(self, a0)
6938 def add_to_derivative(self, a0, a1, a2):
6939 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6940 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
6943 def set_is_optimized(self, a0, a1):
6944 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6945 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
6948 def get_is_optimized(self, a0):
6949 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6950 return _IMP_core.RigidMember_get_is_optimized(self, a0)
6954 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
6955 return _IMP_core.RigidMember_get_check_level(self)
6958 def __eq__(self, *args):
6960 __eq__(RigidMember self, RigidMember o) -> bool
6961 __eq__(RigidMember self, Particle d) -> bool
6963 return _IMP_core.RigidMember___eq__(self, *args)
6966 def __ne__(self, *args):
6968 __ne__(RigidMember self, RigidMember o) -> bool
6969 __ne__(RigidMember self, Particle d) -> bool
6971 return _IMP_core.RigidMember___ne__(self, *args)
6974 def __le__(self, *args):
6976 __le__(RigidMember self, RigidMember o) -> bool
6977 __le__(RigidMember self, Particle d) -> bool
6979 return _IMP_core.RigidMember___le__(self, *args)
6982 def __lt__(self, *args):
6984 __lt__(RigidMember self, RigidMember o) -> bool
6985 __lt__(RigidMember self, Particle d) -> bool
6987 return _IMP_core.RigidMember___lt__(self, *args)
6990 def __ge__(self, *args):
6992 __ge__(RigidMember self, RigidMember o) -> bool
6993 __ge__(RigidMember self, Particle d) -> bool
6995 return _IMP_core.RigidMember___ge__(self, *args)
6998 def __gt__(self, *args):
7000 __gt__(RigidMember self, RigidMember o) -> bool
7001 __gt__(RigidMember self, Particle d) -> bool
7003 return _IMP_core.RigidMember___gt__(self, *args)
7007 """__hash__(RigidMember self) -> std::size_t"""
7008 return _IMP_core.RigidMember___hash__(self)
7012 """__str__(RigidMember self) -> std::string"""
7013 return _IMP_core.RigidMember___str__(self)
7017 """__repr__(RigidMember self) -> std::string"""
7018 return _IMP_core.RigidMember___repr__(self)
7020 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
7021 RigidMember_swigregister(RigidMember)
7023 def RigidMember_get_is_setup(*args):
7025 get_is_setup(_ParticleAdaptor p) -> bool
7026 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7028 return _IMP_core.RigidMember_get_is_setup(*args)
7030 class NonRigidMember(RigidBodyMember):
7031 """Proxy of C++ IMP::core::NonRigidMember class."""
7033 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7035 def __init__(self, *args):
7037 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
7038 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
7039 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
7041 this = _IMP_core.new_NonRigidMember(*args)
7043 self.this.append(this)
7047 def show(self, *args):
7049 show(NonRigidMember self, _ostream out)
7050 show(NonRigidMember self)
7052 return _IMP_core.NonRigidMember_show(self, *args)
7054 __swig_destroy__ = _IMP_core.delete_NonRigidMember
7055 __del__ =
lambda self:
None
7057 def get_is_setup(*args):
7059 get_is_setup(_ParticleAdaptor p) -> bool
7060 get_is_setup(Model m, ParticleIndex p) -> bool
7062 return _IMP_core.NonRigidMember_get_is_setup(*args)
7064 get_is_setup = staticmethod(get_is_setup)
7066 def add_attribute(self, *args):
7068 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
7069 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
7070 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
7071 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
7072 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
7073 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
7075 return _IMP_core.NonRigidMember_add_attribute(self, *args)
7078 def get_value(self, *args):
7080 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
7081 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
7082 get_value(NonRigidMember self, StringKey a0) -> IMP::String
7083 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
7084 get_value(NonRigidMember self, ObjectKey a0) -> Object
7086 return _IMP_core.NonRigidMember_get_value(self, *args)
7089 def set_value(self, *args):
7091 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
7092 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
7093 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
7094 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
7095 set_value(NonRigidMember self, ObjectKey a0, Object a1)
7097 return _IMP_core.NonRigidMember_set_value(self, *args)
7100 def remove_attribute(self, *args):
7102 remove_attribute(NonRigidMember self, FloatKey a0)
7103 remove_attribute(NonRigidMember self, IntKey a0)
7104 remove_attribute(NonRigidMember self, StringKey a0)
7105 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
7106 remove_attribute(NonRigidMember self, ObjectKey a0)
7108 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
7111 def has_attribute(self, *args):
7113 has_attribute(NonRigidMember self, FloatKey a0) -> bool
7114 has_attribute(NonRigidMember self, IntKey a0) -> bool
7115 has_attribute(NonRigidMember self, StringKey a0) -> bool
7116 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
7117 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
7119 return _IMP_core.NonRigidMember_has_attribute(self, *args)
7122 def get_derivative(self, a0):
7123 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
7124 return _IMP_core.NonRigidMember_get_derivative(self, a0)
7128 """get_name(NonRigidMember self) -> std::string"""
7129 return _IMP_core.NonRigidMember_get_name(self)
7132 def clear_caches(self):
7133 """clear_caches(NonRigidMember self)"""
7134 return _IMP_core.NonRigidMember_clear_caches(self)
7137 def set_name(self, a0):
7138 """set_name(NonRigidMember self, std::string a0)"""
7139 return _IMP_core.NonRigidMember_set_name(self, a0)
7143 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
7144 return _IMP_core.NonRigidMember_set_check_level(self, a0)
7147 def add_to_derivative(self, a0, a1, a2):
7148 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7149 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
7152 def set_is_optimized(self, a0, a1):
7153 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
7154 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
7157 def get_is_optimized(self, a0):
7158 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
7159 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
7163 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
7164 return _IMP_core.NonRigidMember_get_check_level(self)
7167 def __eq__(self, *args):
7169 __eq__(NonRigidMember self, NonRigidMember o) -> bool
7170 __eq__(NonRigidMember self, Particle d) -> bool
7172 return _IMP_core.NonRigidMember___eq__(self, *args)
7175 def __ne__(self, *args):
7177 __ne__(NonRigidMember self, NonRigidMember o) -> bool
7178 __ne__(NonRigidMember self, Particle d) -> bool
7180 return _IMP_core.NonRigidMember___ne__(self, *args)
7183 def __le__(self, *args):
7185 __le__(NonRigidMember self, NonRigidMember o) -> bool
7186 __le__(NonRigidMember self, Particle d) -> bool
7188 return _IMP_core.NonRigidMember___le__(self, *args)
7191 def __lt__(self, *args):
7193 __lt__(NonRigidMember self, NonRigidMember o) -> bool
7194 __lt__(NonRigidMember self, Particle d) -> bool
7196 return _IMP_core.NonRigidMember___lt__(self, *args)
7199 def __ge__(self, *args):
7201 __ge__(NonRigidMember self, NonRigidMember o) -> bool
7202 __ge__(NonRigidMember self, Particle d) -> bool
7204 return _IMP_core.NonRigidMember___ge__(self, *args)
7207 def __gt__(self, *args):
7209 __gt__(NonRigidMember self, NonRigidMember o) -> bool
7210 __gt__(NonRigidMember self, Particle d) -> bool
7212 return _IMP_core.NonRigidMember___gt__(self, *args)
7216 """__hash__(NonRigidMember self) -> std::size_t"""
7217 return _IMP_core.NonRigidMember___hash__(self)
7221 """__str__(NonRigidMember self) -> std::string"""
7222 return _IMP_core.NonRigidMember___str__(self)
7226 """__repr__(NonRigidMember self) -> std::string"""
7227 return _IMP_core.NonRigidMember___repr__(self)
7229 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
7230 NonRigidMember_swigregister(NonRigidMember)
7232 def NonRigidMember_get_is_setup(*args):
7234 get_is_setup(_ParticleAdaptor p) -> bool
7235 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
7237 return _IMP_core.NonRigidMember_get_is_setup(*args)
7240 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
7242 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7244 def __init__(self, *args):
7246 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
7247 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
7249 this = _IMP_core.new_RigidMembersRefiner(*args)
7251 self.this.append(this)
7255 def do_get_inputs(self, m, pis):
7256 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7257 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
7260 def get_version_info(self):
7261 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
7262 return _IMP_core.RigidMembersRefiner_get_version_info(self)
7266 """__str__(RigidMembersRefiner self) -> std::string"""
7267 return _IMP_core.RigidMembersRefiner___str__(self)
7271 """__repr__(RigidMembersRefiner self) -> std::string"""
7272 return _IMP_core.RigidMembersRefiner___repr__(self)
7277 return _object_cast_to_RigidMembersRefiner(o)
7279 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
7280 RigidMembersRefiner_swigregister(RigidMembersRefiner)
7283 def get_rigid_members_refiner():
7284 """get_rigid_members_refiner() -> RigidMembersRefiner"""
7285 return _IMP_core.get_rigid_members_refiner()
7289 transform(XYZ a, Transformation3D tr)
7290 transform(RigidBody a, Transformation3D tr)
7292 return _IMP_core.transform(*args)
7296 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
7297 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
7299 return _IMP_core.get_initial_reference_frame(*args)
7303 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
7304 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
7306 return _IMP_core.create_rigid_bodies(m, n, no_members)
7310 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
7311 show_rigid_body_hierarchy(RigidBody rb)
7313 return _IMP_core.show_rigid_body_hierarchy(*args)
7316 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
7317 return _IMP_core.get_root_rigid_body(m)
7319 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
7321 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7323 def __init__(self, rb, constituents):
7324 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
7325 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
7327 self.this.append(this)
7331 def get_version_info(self):
7332 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
7333 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
7337 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
7338 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
7342 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
7343 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
7348 return _object_cast_to_RigidBodyHierarchyGeometry(o)
7350 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
7351 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
7354 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
7356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7358 def __init__(self, *args):
7360 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
7361 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
7363 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
7365 self.this.append(this)
7369 def get_version_info(self):
7370 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
7371 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
7375 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
7376 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
7380 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
7381 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
7386 return _object_cast_to_RigidBodyDerivativeGeometry(o)
7388 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
7389 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
7392 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
7394 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7396 def __init__(self, sc):
7397 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
7398 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
7400 self.this.append(this)
7404 def get_version_info(self):
7405 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
7406 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
7410 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
7411 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
7415 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
7416 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
7421 return _object_cast_to_RigidBodyDerivativesGeometry(o)
7423 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
7424 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
7427 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
7429 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7431 def __init__(self, *args):
7433 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
7434 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
7436 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
7438 self.this.append(this)
7442 def get_version_info(self):
7443 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
7444 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
7448 """__str__(RigidBodyFrameGeometry self) -> std::string"""
7449 return _IMP_core.RigidBodyFrameGeometry___str__(self)
7453 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
7454 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
7459 return _object_cast_to_RigidBodyFrameGeometry(o)
7461 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
7462 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
7465 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
7467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7469 def __init__(self, sc):
7470 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
7471 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
7473 self.this.append(this)
7477 def get_version_info(self):
7478 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
7479 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
7483 """__str__(RigidBodyFramesGeometry self) -> std::string"""
7484 return _IMP_core.RigidBodyFramesGeometry___str__(self)
7488 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
7489 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
7494 return _object_cast_to_RigidBodyFramesGeometry(o)
7496 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
7497 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
7500 """Proxy of C++ IMP::core::RigidBodyTorque class."""
7502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7504 def __init__(self, p):
7505 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
7506 this = _IMP_core.new_RigidBodyTorque(p)
7508 self.this.append(this)
7513 """__str__(RigidBodyTorque self) -> std::string"""
7514 return _IMP_core.RigidBodyTorque___str__(self)
7518 """__repr__(RigidBodyTorque self) -> std::string"""
7519 return _IMP_core.RigidBodyTorque___repr__(self)
7524 return _object_cast_to_RigidBodyTorque(o)
7526 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
7527 __del__ =
lambda self:
None
7528 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
7529 RigidBodyTorque_swigregister(RigidBodyTorque)
7531 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
7532 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
7534 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7537 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
7538 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
7540 self.this.append(this)
7544 def get_close_pairs(self, *args):
7546 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7547 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7548 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7549 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7551 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
7554 def do_get_inputs(self, m, pis):
7555 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7556 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
7559 def get_version_info(self):
7560 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
7561 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
7565 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
7566 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
7570 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
7571 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
7576 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
7578 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
7579 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
7582 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
7584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7586 def __init__(self, *args):
7588 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
7589 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
7590 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
7591 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
7592 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
7594 this = _IMP_core.new_RestraintsScoringFunction(*args)
7596 self.this.append(this)
7600 def do_add_score_and_derivatives(self, sa, ss):
7601 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7602 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7605 def do_get_inputs(self):
7606 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
7607 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
7610 def get_version_info(self):
7611 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
7612 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
7616 """__str__(RestraintsScoringFunction self) -> std::string"""
7617 return _IMP_core.RestraintsScoringFunction___str__(self)
7621 """__repr__(RestraintsScoringFunction self) -> std::string"""
7622 return _IMP_core.RestraintsScoringFunction___repr__(self)
7627 return _object_cast_to_RestraintsScoringFunction(o)
7629 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
7630 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
7632 class RigidClosePairsFinder(ClosePairsFinder):
7633 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
7635 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7637 def __init__(self, cpf=None):
7639 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
7640 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
7642 this = _IMP_core.new_RigidClosePairsFinder(cpf)
7644 self.this.append(this)
7648 def do_get_inputs(self, m, pis):
7649 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7650 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
7653 def get_close_pairs(self, *args):
7655 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
7656 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7657 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7658 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7659 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7661 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
7664 def get_version_info(self):
7665 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
7666 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
7670 """__str__(RigidClosePairsFinder self) -> std::string"""
7671 return _IMP_core.RigidClosePairsFinder___str__(self)
7675 """__repr__(RigidClosePairsFinder self) -> std::string"""
7676 return _IMP_core.RigidClosePairsFinder___repr__(self)
7681 return _object_cast_to_RigidClosePairsFinder(o)
7683 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
7684 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
7687 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
7689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7691 def __init__(self, *args):
7693 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
7694 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
7696 this = _IMP_core.new_SphereDistancePairScore(*args)
7698 self.this.append(this)
7702 def do_get_inputs(self, m, pis):
7703 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7704 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
7707 def get_version_info(self):
7708 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
7709 return _IMP_core.SphereDistancePairScore_get_version_info(self)
7713 """__str__(SphereDistancePairScore self) -> std::string"""
7714 return _IMP_core.SphereDistancePairScore___str__(self)
7718 """__repr__(SphereDistancePairScore self) -> std::string"""
7719 return _IMP_core.SphereDistancePairScore___repr__(self)
7724 return _object_cast_to_SphereDistancePairScore(o)
7726 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
7727 SphereDistancePairScore_swigregister(SphereDistancePairScore)
7729 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
7730 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
7732 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7734 def __init__(self, *args):
7736 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
7737 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
7739 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
7741 self.this.append(this)
7745 def do_get_inputs(self, m, pis):
7746 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7747 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
7750 def get_version_info(self):
7751 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
7752 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
7756 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7757 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
7761 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7762 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
7767 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
7769 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
7770 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
7772 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
7773 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
7775 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7777 def __init__(self, d0, k):
7778 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
7779 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
7781 self.this.append(this)
7785 def get_rest_length(self):
7786 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7787 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
7790 def get_stiffness(self):
7791 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7792 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
7795 def do_get_inputs(self, m, pis):
7796 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7797 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
7800 def get_version_info(self):
7801 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
7802 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
7806 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7807 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
7811 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7812 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
7817 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
7819 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
7820 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
7823 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
7825 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7827 def __init__(self, *args):
7829 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
7830 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
7832 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
7834 self.this.append(this)
7838 def do_get_inputs(self, m, pis):
7839 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7840 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
7843 def get_version_info(self):
7844 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7845 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7849 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7850 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7854 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7855 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7860 return _object_cast_to_HarmonicSphereDistancePairScore(o)
7862 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7863 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7866 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
7868 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7870 def __init__(self, *args):
7872 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
7873 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7875 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7877 self.this.append(this)
7881 def do_get_inputs(self, m, pis):
7882 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7883 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
7886 def get_version_info(self):
7887 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7888 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7892 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7893 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7897 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7898 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7903 return _object_cast_to_NormalizedSphereDistancePairScore(o)
7905 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7906 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7909 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
7911 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7913 def __init__(self, *args):
7915 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
7916 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7918 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7920 self.this.append(this)
7924 def do_get_inputs(self, m, pis):
7925 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7926 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
7929 def get_version_info(self):
7930 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7931 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7935 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7936 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7940 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7941 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7946 return _object_cast_to_WeightedSphereDistancePairScore(o)
7948 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7949 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7952 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
7954 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7956 def __init__(self, *args):
7958 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
7959 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7961 this = _IMP_core.new_SoftSpherePairScore(*args)
7963 self.this.append(this)
7967 def do_get_inputs(self, m, pis):
7968 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7969 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
7972 def get_version_info(self):
7973 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7974 return _IMP_core.SoftSpherePairScore_get_version_info(self)
7978 """__str__(SoftSpherePairScore self) -> std::string"""
7979 return _IMP_core.SoftSpherePairScore___str__(self)
7983 """__repr__(SoftSpherePairScore self) -> std::string"""
7984 return _IMP_core.SoftSpherePairScore___repr__(self)
7989 return _object_cast_to_SoftSpherePairScore(o)
7991 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7992 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7995 """Proxy of C++ IMP::core::SteepestDescent class."""
7997 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7999 def __init__(self, *args):
8001 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
8002 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
8004 this = _IMP_core.new_SteepestDescent(*args)
8006 self.this.append(this)
8010 def do_optimize(self, max_steps):
8011 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
8012 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
8015 def get_version_info(self):
8016 """get_version_info(SteepestDescent self) -> VersionInfo"""
8017 return _IMP_core.SteepestDescent_get_version_info(self)
8020 def set_threshold(self, t):
8021 """set_threshold(SteepestDescent self, IMP::Float t)"""
8022 return _IMP_core.SteepestDescent_set_threshold(self, t)
8025 def set_step_size(self, t):
8026 """set_step_size(SteepestDescent self, IMP::Float t)"""
8027 return _IMP_core.SteepestDescent_set_step_size(self, t)
8030 def set_maximum_step_size(self, t):
8031 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
8032 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
8036 """__str__(SteepestDescent self) -> std::string"""
8037 return _IMP_core.SteepestDescent___str__(self)
8041 """__repr__(SteepestDescent self) -> std::string"""
8042 return _IMP_core.SteepestDescent___repr__(self)
8047 return _object_cast_to_SteepestDescent(o)
8049 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
8050 SteepestDescent_swigregister(SteepestDescent)
8053 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
8055 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8057 def __init__(self, f, transformation):
8058 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
8059 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
8061 self.this.append(this)
8065 def set_transformation(self, rot):
8066 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
8067 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
8070 def do_get_inputs(self, m, pis):
8071 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8072 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
8075 def get_version_info(self):
8076 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
8077 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
8081 """__str__(TransformedDistancePairScore self) -> std::string"""
8082 return _IMP_core.TransformedDistancePairScore___str__(self)
8086 """__repr__(TransformedDistancePairScore self) -> std::string"""
8087 return _IMP_core.TransformedDistancePairScore___repr__(self)
8092 return _object_cast_to_TransformedDistancePairScore(o)
8094 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
8095 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
8098 """Proxy of C++ IMP::core::TypedPairScore class."""
8100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8102 def __init__(self, typekey, allow_invalid_types=True):
8104 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
8105 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
8107 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
8109 self.this.append(this)
8113 def set_particle_type(self, arg2):
8114 """set_particle_type(TypedPairScore self, Particle arg2)"""
8115 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
8118 def set_pair_score(self, ps, atype, btype):
8119 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
8120 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
8123 def do_get_inputs(self, m, pis):
8124 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8125 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
8128 def get_version_info(self):
8129 """get_version_info(TypedPairScore self) -> VersionInfo"""
8130 return _IMP_core.TypedPairScore_get_version_info(self)
8134 """__str__(TypedPairScore self) -> std::string"""
8135 return _IMP_core.TypedPairScore___str__(self)
8139 """__repr__(TypedPairScore self) -> std::string"""
8140 return _IMP_core.TypedPairScore___repr__(self)
8145 return _object_cast_to_TypedPairScore(o)
8147 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
8148 TypedPairScore_swigregister(TypedPairScore)
8150 class RigidBodyDistancePairScore(KClosePairsPairScore):
8151 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
8153 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8155 def __init__(self, ps, r):
8156 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
8157 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
8159 self.this.append(this)
8164 """__str__(RigidBodyDistancePairScore self) -> std::string"""
8165 return _IMP_core.RigidBodyDistancePairScore___str__(self)
8169 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
8170 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
8175 return _object_cast_to_RigidBodyDistancePairScore(o)
8177 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
8178 __del__ =
lambda self:
None
8179 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
8180 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
8183 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
8185 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8187 def __init__(self, f):
8188 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
8189 this = _IMP_core.new_RigidBodyAnglePairScore(f)
8191 self.this.append(this)
8195 def do_get_inputs(self, m, pis):
8196 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8197 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
8200 def get_version_info(self):
8201 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
8202 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
8206 """__str__(RigidBodyAnglePairScore self) -> std::string"""
8207 return _IMP_core.RigidBodyAnglePairScore___str__(self)
8211 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
8212 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
8217 return _object_cast_to_RigidBodyAnglePairScore(o)
8219 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
8220 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
8223 """Proxy of C++ IMP::core::TableRefiner class."""
8225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8228 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
8229 this = _IMP_core.new_TableRefiner()
8231 self.this.append(this)
8236 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
8237 return _IMP_core.TableRefiner_add_particle(self, p, ps)
8240 def remove_particle(self, p):
8241 """remove_particle(TableRefiner self, Particle p)"""
8242 return _IMP_core.TableRefiner_remove_particle(self, p)
8245 def set_particle(self, p, ps):
8246 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
8247 return _IMP_core.TableRefiner_set_particle(self, p, ps)
8250 def do_get_inputs(self, m, pis):
8251 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8252 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
8255 def get_version_info(self):
8256 """get_version_info(TableRefiner self) -> VersionInfo"""
8257 return _IMP_core.TableRefiner_get_version_info(self)
8261 """__str__(TableRefiner self) -> std::string"""
8262 return _IMP_core.TableRefiner___str__(self)
8266 """__repr__(TableRefiner self) -> std::string"""
8267 return _IMP_core.TableRefiner___repr__(self)
8272 return _object_cast_to_TableRefiner(o)
8274 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
8275 TableRefiner_swigregister(TableRefiner)
8278 _IMP_core.LOWER_swigconstant(_IMP_core)
8279 LOWER = _IMP_core.LOWER
8281 _IMP_core.BOTH_swigconstant(_IMP_core)
8282 BOTH = _IMP_core.BOTH
8284 _IMP_core.UPPER_swigconstant(_IMP_core)
8285 UPPER = _IMP_core.UPPER
8287 """Proxy of C++ IMP::core::MCCGSampler class."""
8289 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8291 def __init__(self, *args):
8293 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
8294 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
8296 this = _IMP_core.new_MCCGSampler(*args)
8298 self.this.append(this)
8302 def set_bounding_box(self, bb):
8303 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
8304 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
8307 def set_number_of_attempts(self, att):
8308 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
8309 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
8312 def set_number_of_monte_carlo_steps(self, cg):
8313 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
8314 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
8317 def set_number_of_conjugate_gradient_steps(self, cg):
8318 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
8319 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
8322 def set_max_monte_carlo_step_size(self, *args):
8324 set_max_monte_carlo_step_size(MCCGSampler self, double d)
8325 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
8327 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
8330 def set_is_refining(self, tf):
8331 """set_is_refining(MCCGSampler self, bool tf)"""
8332 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
8335 def set_local_optimizer(self, opt):
8336 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
8337 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
8340 def set_save_rejected_configurations(self, tf):
8341 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
8342 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
8345 def get_rejected_configurations(self):
8346 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
8347 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
8350 def remove_optimizer_state(self, d):
8351 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
8352 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
8355 def remove_optimizer_states(self, d):
8356 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
8357 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
8360 def set_optimizer_states(self, ps):
8361 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
8362 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
8365 def set_optimizer_states_order(self, objs):
8366 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
8367 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
8370 def add_optimizer_state(self, obj):
8371 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
8372 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
8375 def add_optimizer_states(self, objs):
8376 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
8377 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
8380 def clear_optimizer_states(self):
8381 """clear_optimizer_states(MCCGSampler self)"""
8382 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
8385 def get_number_of_optimizer_states(self):
8386 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
8387 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
8390 def get_has_optimizer_states(self):
8391 """get_has_optimizer_states(MCCGSampler self) -> bool"""
8392 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
8395 def get_optimizer_state(self, i):
8396 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
8397 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
8400 def get_optimizer_states(self):
8401 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
8402 return _IMP_core.MCCGSampler_get_optimizer_states(self)
8405 def reserve_optimizer_states(self, sz):
8406 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
8407 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
8410 def do_sample(self):
8411 """do_sample(MCCGSampler self) -> ConfigurationSet"""
8412 return _IMP_core.MCCGSampler_do_sample(self)
8415 def get_version_info(self):
8416 """get_version_info(MCCGSampler self) -> VersionInfo"""
8417 return _IMP_core.MCCGSampler_get_version_info(self)
8421 """__str__(MCCGSampler self) -> std::string"""
8422 return _IMP_core.MCCGSampler___str__(self)
8426 """__repr__(MCCGSampler self) -> std::string"""
8427 return _IMP_core.MCCGSampler___repr__(self)
8432 return _object_cast_to_MCCGSampler(o)
8434 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
8435 MCCGSampler_swigregister(MCCGSampler)
8438 """Proxy of C++ IMP::core::MinimumRestraint class."""
8440 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8442 def __init__(self, *args):
8444 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
8445 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
8446 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
8448 this = _IMP_core.new_MinimumRestraint(*args)
8450 self.this.append(this)
8454 def do_get_inputs(self):
8455 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
8456 return _IMP_core.MinimumRestraint_do_get_inputs(self)
8459 def get_version_info(self):
8460 """get_version_info(MinimumRestraint self) -> VersionInfo"""
8461 return _IMP_core.MinimumRestraint_get_version_info(self)
8464 def remove_restraint(self, d):
8465 """remove_restraint(MinimumRestraint self, Restraint d)"""
8466 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
8469 def remove_restraints(self, d):
8470 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
8471 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
8474 def set_restraints(self, ps):
8475 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
8476 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
8479 def set_restraints_order(self, objs):
8480 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
8481 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
8485 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
8486 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
8490 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
8491 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
8494 def clear_restraints(self):
8495 """clear_restraints(MinimumRestraint self)"""
8496 return _IMP_core.MinimumRestraint_clear_restraints(self)
8499 def get_number_of_restraints(self):
8500 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
8501 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
8504 def get_has_restraints(self):
8505 """get_has_restraints(MinimumRestraint self) -> bool"""
8506 return _IMP_core.MinimumRestraint_get_has_restraints(self)
8509 def get_restraint(self, i):
8510 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
8511 return _IMP_core.MinimumRestraint_get_restraint(self, i)
8514 def get_restraints(self):
8515 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
8516 return _IMP_core.MinimumRestraint_get_restraints(self)
8519 def reserve_restraints(self, sz):
8520 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
8521 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
8525 """__str__(MinimumRestraint self) -> std::string"""
8526 return _IMP_core.MinimumRestraint___str__(self)
8530 """__repr__(MinimumRestraint self) -> std::string"""
8531 return _IMP_core.MinimumRestraint___repr__(self)
8536 return _object_cast_to_MinimumRestraint(o)
8538 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
8539 MinimumRestraint_swigregister(MinimumRestraint)
8541 class Gaussian(RigidBody):
8542 """Proxy of C++ IMP::core::Gaussian class."""
8544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8546 def __init__(self, *args):
8548 __init__(IMP::core::Gaussian self) -> Gaussian
8549 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
8550 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
8552 this = _IMP_core.new_Gaussian(*args)
8554 self.this.append(this)
8558 def show(self, *args):
8560 show(Gaussian self, _ostream out)
8563 return _IMP_core.Gaussian_show(self, *args)
8566 def setup_particle(*args):
8568 setup_particle(Model m, ParticleIndex pi) -> Gaussian
8569 setup_particle(_ParticleAdaptor decorator) -> Gaussian
8570 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
8571 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
8573 return _IMP_core.Gaussian_setup_particle(*args)
8575 setup_particle = staticmethod(setup_particle)
8577 def get_local_covariance_key():
8578 """get_local_covariance_key() -> ObjectKey"""
8579 return _IMP_core.Gaussian_get_local_covariance_key()
8581 get_local_covariance_key = staticmethod(get_local_covariance_key)
8583 def get_global_covariance_key():
8584 """get_global_covariance_key() -> ObjectKey"""
8585 return _IMP_core.Gaussian_get_global_covariance_key()
8587 get_global_covariance_key = staticmethod(get_global_covariance_key)
8589 def get_is_setup(*args):
8591 get_is_setup(_ParticleAdaptor p) -> bool
8592 get_is_setup(Model m, ParticleIndex pi) -> bool
8594 return _IMP_core.Gaussian_get_is_setup(*args)
8596 get_is_setup = staticmethod(get_is_setup)
8598 def get_local_covariance(self):
8599 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
8600 return _IMP_core.Gaussian_get_local_covariance(self)
8603 def get_variances(self):
8604 """get_variances(Gaussian self) -> Vector3D"""
8605 return _IMP_core.Gaussian_get_variances(self)
8608 def get_global_covariance(self):
8609 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
8610 return _IMP_core.Gaussian_get_global_covariance(self)
8613 def get_gaussian(self):
8614 """get_gaussian(Gaussian self) -> Gaussian3D"""
8615 return _IMP_core.Gaussian_get_gaussian(self)
8618 def set_gaussian(self, g):
8619 """set_gaussian(Gaussian self, Gaussian3D g)"""
8620 return _IMP_core.Gaussian_set_gaussian(self, g)
8623 def set_local_covariance(self, covar):
8624 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
8625 return _IMP_core.Gaussian_set_local_covariance(self, covar)
8628 def set_variances(self, v):
8629 """set_variances(Gaussian self, Vector3D v)"""
8630 return _IMP_core.Gaussian_set_variances(self, v)
8633 def set_global_covariance(self, covar):
8634 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
8635 return _IMP_core.Gaussian_set_global_covariance(self, covar)
8638 def update_global_covariance(self):
8639 """update_global_covariance(Gaussian self)"""
8640 return _IMP_core.Gaussian_update_global_covariance(self)
8643 def add_attribute(self, *args):
8645 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
8646 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
8647 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
8648 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
8649 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
8650 add_attribute(Gaussian self, ObjectKey a0, Object a1)
8652 return _IMP_core.Gaussian_add_attribute(self, *args)
8655 def get_value(self, *args):
8657 get_value(Gaussian self, FloatKey a0) -> IMP::Float
8658 get_value(Gaussian self, IntKey a0) -> IMP::Int
8659 get_value(Gaussian self, StringKey a0) -> IMP::String
8660 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
8661 get_value(Gaussian self, ObjectKey a0) -> Object
8663 return _IMP_core.Gaussian_get_value(self, *args)
8666 def set_value(self, *args):
8668 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
8669 set_value(Gaussian self, IntKey a0, IMP::Int a1)
8670 set_value(Gaussian self, StringKey a0, IMP::String a1)
8671 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
8672 set_value(Gaussian self, ObjectKey a0, Object a1)
8674 return _IMP_core.Gaussian_set_value(self, *args)
8677 def remove_attribute(self, *args):
8679 remove_attribute(Gaussian self, FloatKey a0)
8680 remove_attribute(Gaussian self, IntKey a0)
8681 remove_attribute(Gaussian self, StringKey a0)
8682 remove_attribute(Gaussian self, ParticleIndexKey a0)
8683 remove_attribute(Gaussian self, ObjectKey a0)
8685 return _IMP_core.Gaussian_remove_attribute(self, *args)
8688 def has_attribute(self, *args):
8690 has_attribute(Gaussian self, FloatKey a0) -> bool
8691 has_attribute(Gaussian self, IntKey a0) -> bool
8692 has_attribute(Gaussian self, StringKey a0) -> bool
8693 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
8694 has_attribute(Gaussian self, ObjectKey a0) -> bool
8696 return _IMP_core.Gaussian_has_attribute(self, *args)
8699 def get_derivative(self, a0):
8700 """get_derivative(Gaussian self, FloatKey a0) -> double"""
8701 return _IMP_core.Gaussian_get_derivative(self, a0)
8705 """get_name(Gaussian self) -> std::string"""
8706 return _IMP_core.Gaussian_get_name(self)
8709 def clear_caches(self):
8710 """clear_caches(Gaussian self)"""
8711 return _IMP_core.Gaussian_clear_caches(self)
8714 def set_name(self, a0):
8715 """set_name(Gaussian self, std::string a0)"""
8716 return _IMP_core.Gaussian_set_name(self, a0)
8720 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
8721 return _IMP_core.Gaussian_set_check_level(self, a0)
8724 def add_to_derivative(self, a0, a1, a2):
8725 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8726 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
8729 def set_is_optimized(self, a0, a1):
8730 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
8731 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
8734 def get_is_optimized(self, a0):
8735 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
8736 return _IMP_core.Gaussian_get_is_optimized(self, a0)
8740 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
8741 return _IMP_core.Gaussian_get_check_level(self)
8744 def __eq__(self, *args):
8746 __eq__(Gaussian self, Gaussian o) -> bool
8747 __eq__(Gaussian self, Particle d) -> bool
8749 return _IMP_core.Gaussian___eq__(self, *args)
8752 def __ne__(self, *args):
8754 __ne__(Gaussian self, Gaussian o) -> bool
8755 __ne__(Gaussian self, Particle d) -> bool
8757 return _IMP_core.Gaussian___ne__(self, *args)
8760 def __le__(self, *args):
8762 __le__(Gaussian self, Gaussian o) -> bool
8763 __le__(Gaussian self, Particle d) -> bool
8765 return _IMP_core.Gaussian___le__(self, *args)
8768 def __lt__(self, *args):
8770 __lt__(Gaussian self, Gaussian o) -> bool
8771 __lt__(Gaussian self, Particle d) -> bool
8773 return _IMP_core.Gaussian___lt__(self, *args)
8776 def __ge__(self, *args):
8778 __ge__(Gaussian self, Gaussian o) -> bool
8779 __ge__(Gaussian self, Particle d) -> bool
8781 return _IMP_core.Gaussian___ge__(self, *args)
8784 def __gt__(self, *args):
8786 __gt__(Gaussian self, Gaussian o) -> bool
8787 __gt__(Gaussian self, Particle d) -> bool
8789 return _IMP_core.Gaussian___gt__(self, *args)
8793 """__hash__(Gaussian self) -> std::size_t"""
8794 return _IMP_core.Gaussian___hash__(self)
8798 """__str__(Gaussian self) -> std::string"""
8799 return _IMP_core.Gaussian___str__(self)
8803 """__repr__(Gaussian self) -> std::string"""
8804 return _IMP_core.Gaussian___repr__(self)
8806 __swig_destroy__ = _IMP_core.delete_Gaussian
8807 __del__ =
lambda self:
None
8808 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
8809 Gaussian_swigregister(Gaussian)
8811 def Gaussian_setup_particle(*args):
8813 setup_particle(Model m, ParticleIndex pi) -> Gaussian
8814 setup_particle(_ParticleAdaptor decorator) -> Gaussian
8815 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
8816 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
8818 return _IMP_core.Gaussian_setup_particle(*args)
8820 def Gaussian_get_local_covariance_key():
8821 """Gaussian_get_local_covariance_key() -> ObjectKey"""
8822 return _IMP_core.Gaussian_get_local_covariance_key()
8824 def Gaussian_get_global_covariance_key():
8825 """Gaussian_get_global_covariance_key() -> ObjectKey"""
8826 return _IMP_core.Gaussian_get_global_covariance_key()
8828 def Gaussian_get_is_setup(*args):
8830 get_is_setup(_ParticleAdaptor p) -> bool
8831 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
8833 return _IMP_core.Gaussian_get_is_setup(*args)
8836 """Proxy of C++ IMP::core::PairRestraint class."""
8838 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8840 def __init__(self, *args):
8842 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
8843 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
8844 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::ParticlePair const & vt, std::string name) -> PairRestraint
8845 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::ParticlePair const & vt) -> PairRestraint
8847 this = _IMP_core.new_PairRestraint(*args)
8849 self.this.append(this)
8853 def get_version_info(self):
8854 """get_version_info(PairRestraint self) -> VersionInfo"""
8855 return _IMP_core.PairRestraint_get_version_info(self)
8859 """__str__(PairRestraint self) -> std::string"""
8860 return _IMP_core.PairRestraint___str__(self)
8864 """__repr__(PairRestraint self) -> std::string"""
8865 return _IMP_core.PairRestraint___repr__(self)
8870 return _object_cast_to_PairRestraint(o)
8872 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
8873 PairRestraint_swigregister(PairRestraint)
8876 """Proxy of C++ IMP::core::SingletonRestraint class."""
8878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8880 def __init__(self, *args):
8882 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
8883 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
8884 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name) -> SingletonRestraint
8885 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
8887 this = _IMP_core.new_SingletonRestraint(*args)
8889 self.this.append(this)
8893 def get_version_info(self):
8894 """get_version_info(SingletonRestraint self) -> VersionInfo"""
8895 return _IMP_core.SingletonRestraint_get_version_info(self)
8899 """__str__(SingletonRestraint self) -> std::string"""
8900 return _IMP_core.SingletonRestraint___str__(self)
8904 """__repr__(SingletonRestraint self) -> std::string"""
8905 return _IMP_core.SingletonRestraint___repr__(self)
8910 return _object_cast_to_SingletonRestraint(o)
8912 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
8913 SingletonRestraint_swigregister(SingletonRestraint)
8916 """Proxy of C++ IMP::core::TripletRestraint 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::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
8923 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
8924 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::ParticleTriplet const & vt, std::string name) -> TripletRestraint
8925 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::ParticleTriplet const & vt) -> TripletRestraint
8927 this = _IMP_core.new_TripletRestraint(*args)
8929 self.this.append(this)
8933 def get_version_info(self):
8934 """get_version_info(TripletRestraint self) -> VersionInfo"""
8935 return _IMP_core.TripletRestraint_get_version_info(self)
8939 """__str__(TripletRestraint self) -> std::string"""
8940 return _IMP_core.TripletRestraint___str__(self)
8944 """__repr__(TripletRestraint self) -> std::string"""
8945 return _IMP_core.TripletRestraint___repr__(self)
8950 return _object_cast_to_TripletRestraint(o)
8952 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
8953 TripletRestraint_swigregister(TripletRestraint)
8956 """Proxy of C++ IMP::core::QuadRestraint class."""
8958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8960 def __init__(self, *args):
8962 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
8963 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
8964 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::ParticleQuad const & vt, std::string name) -> QuadRestraint
8965 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::ParticleQuad const & vt) -> QuadRestraint
8967 this = _IMP_core.new_QuadRestraint(*args)
8969 self.this.append(this)
8973 def get_version_info(self):
8974 """get_version_info(QuadRestraint self) -> VersionInfo"""
8975 return _IMP_core.QuadRestraint_get_version_info(self)
8979 """__str__(QuadRestraint self) -> std::string"""
8980 return _IMP_core.QuadRestraint___str__(self)
8984 """__repr__(QuadRestraint self) -> std::string"""
8985 return _IMP_core.QuadRestraint___repr__(self)
8990 return _object_cast_to_QuadRestraint(o)
8992 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
8993 QuadRestraint_swigregister(QuadRestraint)
8996 """Proxy of C++ IMP::core::SingletonConstraint class."""
8998 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9000 def __init__(self, *args):
9002 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
9003 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
9004 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
9005 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
9007 this = _IMP_core.new_SingletonConstraint(*args)
9009 self.this.append(this)
9013 def get_version_info(self):
9014 """get_version_info(SingletonConstraint self) -> VersionInfo"""
9015 return _IMP_core.SingletonConstraint_get_version_info(self)
9019 """__str__(SingletonConstraint self) -> std::string"""
9020 return _IMP_core.SingletonConstraint___str__(self)
9024 """__repr__(SingletonConstraint self) -> std::string"""
9025 return _IMP_core.SingletonConstraint___repr__(self)
9030 return _object_cast_to_SingletonConstraint(o)
9032 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
9033 SingletonConstraint_swigregister(SingletonConstraint)
9036 """Proxy of C++ IMP::core::PairConstraint class."""
9038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9040 def __init__(self, *args):
9042 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
9043 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
9044 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
9045 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
9047 this = _IMP_core.new_PairConstraint(*args)
9049 self.this.append(this)
9053 def get_version_info(self):
9054 """get_version_info(PairConstraint self) -> VersionInfo"""
9055 return _IMP_core.PairConstraint_get_version_info(self)
9059 """__str__(PairConstraint self) -> std::string"""
9060 return _IMP_core.PairConstraint___str__(self)
9064 """__repr__(PairConstraint self) -> std::string"""
9065 return _IMP_core.PairConstraint___repr__(self)
9070 return _object_cast_to_PairConstraint(o)
9072 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
9073 PairConstraint_swigregister(PairConstraint)
9076 """Proxy of C++ IMP::core::TripletConstraint class."""
9078 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9080 def __init__(self, *args):
9082 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
9083 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
9084 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
9085 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
9087 this = _IMP_core.new_TripletConstraint(*args)
9089 self.this.append(this)
9093 def get_version_info(self):
9094 """get_version_info(TripletConstraint self) -> VersionInfo"""
9095 return _IMP_core.TripletConstraint_get_version_info(self)
9099 """__str__(TripletConstraint self) -> std::string"""
9100 return _IMP_core.TripletConstraint___str__(self)
9104 """__repr__(TripletConstraint self) -> std::string"""
9105 return _IMP_core.TripletConstraint___repr__(self)
9110 return _object_cast_to_TripletConstraint(o)
9112 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
9113 TripletConstraint_swigregister(TripletConstraint)
9116 """Proxy of C++ IMP::core::QuadConstraint class."""
9118 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9120 def __init__(self, *args):
9122 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
9123 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
9124 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
9125 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
9127 this = _IMP_core.new_QuadConstraint(*args)
9129 self.this.append(this)
9133 def get_version_info(self):
9134 """get_version_info(QuadConstraint self) -> VersionInfo"""
9135 return _IMP_core.QuadConstraint_get_version_info(self)
9139 """__str__(QuadConstraint self) -> std::string"""
9140 return _IMP_core.QuadConstraint___str__(self)
9144 """__repr__(QuadConstraint self) -> std::string"""
9145 return _IMP_core.QuadConstraint___repr__(self)
9150 return _object_cast_to_QuadConstraint(o)
9152 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
9153 QuadConstraint_swigregister(QuadConstraint)
9156 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
9158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9160 def __init__(self, *args):
9162 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
9163 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
9165 this = _IMP_core.new_ConstantSingletonPredicate(*args)
9167 self.this.append(this)
9171 def do_get_inputs(self, arg2, arg3):
9172 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9173 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
9176 def get_value(self, *args):
9178 get_value(ConstantSingletonPredicate self, Particle a) -> int
9179 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9181 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
9184 def get_value_index(self, *args):
9186 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
9187 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9189 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
9192 def get_version_info(self):
9193 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
9194 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
9198 """__str__(ConstantSingletonPredicate self) -> std::string"""
9199 return _IMP_core.ConstantSingletonPredicate___str__(self)
9203 """__repr__(ConstantSingletonPredicate self) -> std::string"""
9204 return _IMP_core.ConstantSingletonPredicate___repr__(self)
9209 return _object_cast_to_ConstantSingletonPredicate(o)
9211 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
9212 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
9215 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
9217 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9219 def __init__(self, *args):
9221 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
9222 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
9224 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
9226 self.this.append(this)
9230 def do_get_inputs(self, m, pis):
9231 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9232 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
9235 def get_value(self, *args):
9237 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
9238 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9240 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
9243 def get_value_index(self, *args):
9245 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
9246 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9248 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
9251 def get_version_info(self):
9252 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
9253 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
9257 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
9258 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
9262 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
9263 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
9268 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
9270 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
9271 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
9274 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
9276 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9278 def __init__(self, *args):
9280 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
9281 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
9283 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
9285 self.this.append(this)
9289 def do_get_inputs(self, m, pis):
9290 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9291 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
9294 def get_value(self, *args):
9296 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
9297 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
9298 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9300 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
9303 def get_value_index(self, *args):
9305 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
9306 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9308 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
9311 def get_version_info(self):
9312 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
9313 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
9317 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
9318 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
9322 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
9323 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
9328 return _object_cast_to_OrderedTypeSingletonPredicate(o)
9330 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
9331 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
9334 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
9336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9338 def __init__(self, *args):
9340 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
9341 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
9343 this = _IMP_core.new_AllSameSingletonPredicate(*args)
9345 self.this.append(this)
9349 def do_get_inputs(self, arg2, arg3):
9350 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9351 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
9354 def get_value(self, *args):
9356 get_value(AllSameSingletonPredicate self, Particle a) -> int
9357 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9359 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
9362 def get_value_index(self, *args):
9364 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
9365 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9367 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
9370 def get_version_info(self):
9371 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
9372 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
9376 """__str__(AllSameSingletonPredicate self) -> std::string"""
9377 return _IMP_core.AllSameSingletonPredicate___str__(self)
9381 """__repr__(AllSameSingletonPredicate self) -> std::string"""
9382 return _IMP_core.AllSameSingletonPredicate___repr__(self)
9387 return _object_cast_to_AllSameSingletonPredicate(o)
9389 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
9390 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
9393 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
9395 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9397 def __init__(self, *args):
9399 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
9400 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
9402 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
9404 self.this.append(this)
9408 def do_get_inputs(self, arg2, arg3):
9409 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9410 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
9413 def get_value(self, *args):
9415 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
9416 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9418 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
9421 def get_value_index(self, *args):
9423 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
9424 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9426 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
9429 def get_version_info(self):
9430 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
9431 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
9435 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
9436 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
9440 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
9441 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
9446 return _object_cast_to_CoinFlipSingletonPredicate(o)
9448 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
9449 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
9452 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
9454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9456 def __init__(self, *args):
9458 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
9459 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
9461 this = _IMP_core.new_ConstantPairPredicate(*args)
9463 self.this.append(this)
9467 def do_get_inputs(self, arg2, arg3):
9468 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9469 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
9472 def get_value(self, *args):
9474 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
9475 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9477 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
9480 def get_value_index(self, *args):
9482 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
9483 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9485 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
9488 def get_version_info(self):
9489 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
9490 return _IMP_core.ConstantPairPredicate_get_version_info(self)
9494 """__str__(ConstantPairPredicate self) -> std::string"""
9495 return _IMP_core.ConstantPairPredicate___str__(self)
9499 """__repr__(ConstantPairPredicate self) -> std::string"""
9500 return _IMP_core.ConstantPairPredicate___repr__(self)
9505 return _object_cast_to_ConstantPairPredicate(o)
9507 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
9508 ConstantPairPredicate_swigregister(ConstantPairPredicate)
9511 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
9513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9515 def __init__(self, *args):
9517 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
9518 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
9520 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
9522 self.this.append(this)
9526 def do_get_inputs(self, m, pis):
9527 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9528 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
9531 def get_value(self, *args):
9533 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
9534 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9536 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
9539 def get_value_index(self, *args):
9541 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9542 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9544 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
9547 def get_version_info(self):
9548 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
9549 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
9553 """__str__(UnorderedTypePairPredicate self) -> std::string"""
9554 return _IMP_core.UnorderedTypePairPredicate___str__(self)
9558 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
9559 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
9564 return _object_cast_to_UnorderedTypePairPredicate(o)
9566 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
9567 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
9570 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
9572 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9574 def __init__(self, *args):
9576 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
9577 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
9579 this = _IMP_core.new_OrderedTypePairPredicate(*args)
9581 self.this.append(this)
9585 def do_get_inputs(self, m, pis):
9586 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9587 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
9590 def get_value(self, *args):
9592 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
9593 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
9594 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9596 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
9599 def get_value_index(self, *args):
9601 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9602 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9604 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
9607 def get_version_info(self):
9608 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
9609 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
9613 """__str__(OrderedTypePairPredicate self) -> std::string"""
9614 return _IMP_core.OrderedTypePairPredicate___str__(self)
9618 """__repr__(OrderedTypePairPredicate self) -> std::string"""
9619 return _IMP_core.OrderedTypePairPredicate___repr__(self)
9624 return _object_cast_to_OrderedTypePairPredicate(o)
9626 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
9627 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
9630 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
9632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9634 def __init__(self, *args):
9636 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
9637 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
9639 this = _IMP_core.new_AllSamePairPredicate(*args)
9641 self.this.append(this)
9645 def do_get_inputs(self, arg2, arg3):
9646 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9647 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
9650 def get_value(self, *args):
9652 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
9653 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9655 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
9658 def get_value_index(self, *args):
9660 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9661 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9663 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
9666 def get_version_info(self):
9667 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
9668 return _IMP_core.AllSamePairPredicate_get_version_info(self)
9672 """__str__(AllSamePairPredicate self) -> std::string"""
9673 return _IMP_core.AllSamePairPredicate___str__(self)
9677 """__repr__(AllSamePairPredicate self) -> std::string"""
9678 return _IMP_core.AllSamePairPredicate___repr__(self)
9683 return _object_cast_to_AllSamePairPredicate(o)
9685 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
9686 AllSamePairPredicate_swigregister(AllSamePairPredicate)
9689 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
9691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9693 def __init__(self, *args):
9695 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
9696 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
9698 this = _IMP_core.new_CoinFlipPairPredicate(*args)
9700 self.this.append(this)
9704 def do_get_inputs(self, arg2, arg3):
9705 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9706 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
9709 def get_value(self, *args):
9711 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
9712 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9714 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
9717 def get_value_index(self, *args):
9719 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
9720 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9722 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
9725 def get_version_info(self):
9726 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
9727 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
9731 """__str__(CoinFlipPairPredicate self) -> std::string"""
9732 return _IMP_core.CoinFlipPairPredicate___str__(self)
9736 """__repr__(CoinFlipPairPredicate self) -> std::string"""
9737 return _IMP_core.CoinFlipPairPredicate___repr__(self)
9742 return _object_cast_to_CoinFlipPairPredicate(o)
9744 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
9745 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
9748 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
9750 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9752 def __init__(self, *args):
9754 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
9755 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
9757 this = _IMP_core.new_ConstantTripletPredicate(*args)
9759 self.this.append(this)
9763 def do_get_inputs(self, arg2, arg3):
9764 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9765 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
9768 def get_value(self, *args):
9770 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9771 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9773 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
9776 def get_value_index(self, *args):
9778 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
9779 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9781 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
9784 def get_version_info(self):
9785 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
9786 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
9790 """__str__(ConstantTripletPredicate self) -> std::string"""
9791 return _IMP_core.ConstantTripletPredicate___str__(self)
9795 """__repr__(ConstantTripletPredicate self) -> std::string"""
9796 return _IMP_core.ConstantTripletPredicate___repr__(self)
9801 return _object_cast_to_ConstantTripletPredicate(o)
9803 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
9804 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
9807 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
9809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9811 def __init__(self, *args):
9813 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
9814 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
9816 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
9818 self.this.append(this)
9822 def do_get_inputs(self, m, pis):
9823 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9824 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
9827 def get_value(self, *args):
9829 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9830 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9832 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
9835 def get_value_index(self, *args):
9837 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9838 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9840 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
9843 def get_version_info(self):
9844 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
9845 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
9849 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
9850 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
9854 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
9855 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
9860 return _object_cast_to_UnorderedTypeTripletPredicate(o)
9862 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
9863 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
9866 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
9868 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9870 def __init__(self, *args):
9872 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
9873 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
9875 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
9877 self.this.append(this)
9881 def do_get_inputs(self, m, pis):
9882 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9883 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
9886 def get_value(self, *args):
9888 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
9889 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9890 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9892 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
9895 def get_value_index(self, *args):
9897 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9898 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9900 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
9903 def get_version_info(self):
9904 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
9905 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
9909 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
9910 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
9914 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
9915 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
9920 return _object_cast_to_OrderedTypeTripletPredicate(o)
9922 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
9923 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
9926 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
9928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9930 def __init__(self, *args):
9932 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
9933 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
9935 this = _IMP_core.new_AllSameTripletPredicate(*args)
9937 self.this.append(this)
9941 def do_get_inputs(self, arg2, arg3):
9942 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9943 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
9946 def get_value(self, *args):
9948 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9949 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9951 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
9954 def get_value_index(self, *args):
9956 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9957 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9959 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
9962 def get_version_info(self):
9963 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
9964 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
9968 """__str__(AllSameTripletPredicate self) -> std::string"""
9969 return _IMP_core.AllSameTripletPredicate___str__(self)
9973 """__repr__(AllSameTripletPredicate self) -> std::string"""
9974 return _IMP_core.AllSameTripletPredicate___repr__(self)
9979 return _object_cast_to_AllSameTripletPredicate(o)
9981 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
9982 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
9985 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
9987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9989 def __init__(self, *args):
9991 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
9992 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
9994 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
9996 self.this.append(this)
10000 def do_get_inputs(self, arg2, arg3):
10001 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10002 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
10005 def get_value(self, *args):
10007 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
10008 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
10010 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
10013 def get_value_index(self, *args):
10015 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
10016 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
10018 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
10021 def get_version_info(self):
10022 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
10023 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
10027 """__str__(CoinFlipTripletPredicate self) -> std::string"""
10028 return _IMP_core.CoinFlipTripletPredicate___str__(self)
10031 def __repr__(self):
10032 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
10033 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
10038 return _object_cast_to_CoinFlipTripletPredicate(o)
10040 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
10041 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
10044 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
10046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10048 def __init__(self, *args):
10050 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
10051 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
10053 this = _IMP_core.new_ConstantQuadPredicate(*args)
10055 self.this.append(this)
10059 def do_get_inputs(self, arg2, arg3):
10060 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10061 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
10064 def get_value(self, *args):
10066 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
10067 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10069 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
10072 def get_value_index(self, *args):
10074 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
10075 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10077 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
10080 def get_version_info(self):
10081 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
10082 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
10086 """__str__(ConstantQuadPredicate self) -> std::string"""
10087 return _IMP_core.ConstantQuadPredicate___str__(self)
10090 def __repr__(self):
10091 """__repr__(ConstantQuadPredicate self) -> std::string"""
10092 return _IMP_core.ConstantQuadPredicate___repr__(self)
10097 return _object_cast_to_ConstantQuadPredicate(o)
10099 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
10100 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
10103 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
10105 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10107 def __init__(self, *args):
10109 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
10110 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
10112 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
10114 self.this.append(this)
10118 def do_get_inputs(self, m, pis):
10119 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10120 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
10123 def get_value(self, *args):
10125 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
10126 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10128 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
10131 def get_value_index(self, *args):
10133 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
10134 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10136 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
10139 def get_version_info(self):
10140 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
10141 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
10145 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
10146 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
10149 def __repr__(self):
10150 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
10151 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
10156 return _object_cast_to_UnorderedTypeQuadPredicate(o)
10158 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
10159 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
10162 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
10164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10166 def __init__(self, *args):
10168 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
10169 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
10171 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
10173 self.this.append(this)
10177 def do_get_inputs(self, m, pis):
10178 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10179 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
10182 def get_value(self, *args):
10184 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
10185 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
10186 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10188 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
10191 def get_value_index(self, *args):
10193 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
10194 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10196 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
10199 def get_version_info(self):
10200 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
10201 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
10205 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
10206 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
10209 def __repr__(self):
10210 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
10211 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
10216 return _object_cast_to_OrderedTypeQuadPredicate(o)
10218 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
10219 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
10222 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
10224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10226 def __init__(self, *args):
10228 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
10229 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
10231 this = _IMP_core.new_AllSameQuadPredicate(*args)
10233 self.this.append(this)
10237 def do_get_inputs(self, arg2, arg3):
10238 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10239 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
10242 def get_value(self, *args):
10244 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
10245 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10247 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
10250 def get_value_index(self, *args):
10252 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
10253 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10255 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
10258 def get_version_info(self):
10259 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
10260 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
10264 """__str__(AllSameQuadPredicate self) -> std::string"""
10265 return _IMP_core.AllSameQuadPredicate___str__(self)
10268 def __repr__(self):
10269 """__repr__(AllSameQuadPredicate self) -> std::string"""
10270 return _IMP_core.AllSameQuadPredicate___repr__(self)
10275 return _object_cast_to_AllSameQuadPredicate(o)
10277 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
10278 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
10281 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
10283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10285 def __init__(self, *args):
10287 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
10288 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
10290 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
10292 self.this.append(this)
10296 def do_get_inputs(self, arg2, arg3):
10297 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10298 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
10301 def get_value(self, *args):
10303 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
10304 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10306 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
10309 def get_value_index(self, *args):
10311 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
10312 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10314 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
10317 def get_version_info(self):
10318 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
10319 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
10323 """__str__(CoinFlipQuadPredicate self) -> std::string"""
10324 return _IMP_core.CoinFlipQuadPredicate___str__(self)
10327 def __repr__(self):
10328 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
10329 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
10334 return _object_cast_to_CoinFlipQuadPredicate(o)
10336 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
10337 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
10340 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
10342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10344 def __init__(self, *args):
10346 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
10347 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
10349 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
10351 self.this.append(this)
10355 def do_get_inputs(self, m, pi):
10356 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10357 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
10360 def get_value(self, *args):
10362 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
10363 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10365 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
10368 def get_value_index(self, *args):
10370 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
10371 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10373 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
10376 def get_version_info(self):
10377 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
10378 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
10382 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
10383 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
10386 def __repr__(self):
10387 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
10388 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
10393 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
10395 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
10396 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
10399 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
10401 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10403 def __init__(self, *args):
10405 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
10406 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
10408 this = _IMP_core.new_AttributeSingletonPredicate(*args)
10410 self.this.append(this)
10414 def do_get_inputs(self, m, pi):
10415 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10416 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
10419 def get_value(self, *args):
10421 get_value(AttributeSingletonPredicate self, Particle a) -> int
10422 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10424 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
10427 def get_value_index(self, *args):
10429 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
10430 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10432 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
10435 def get_version_info(self):
10436 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
10437 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
10441 """__str__(AttributeSingletonPredicate self) -> std::string"""
10442 return _IMP_core.AttributeSingletonPredicate___str__(self)
10445 def __repr__(self):
10446 """__repr__(AttributeSingletonPredicate self) -> std::string"""
10447 return _IMP_core.AttributeSingletonPredicate___repr__(self)
10452 return _object_cast_to_AttributeSingletonPredicate(o)
10454 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
10455 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
10458 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
10460 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10462 def __init__(self, *args):
10464 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
10465 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
10467 this = _IMP_core.new_IsCollisionPairPredicate(*args)
10469 self.this.append(this)
10473 def do_get_inputs(self, m, pi):
10474 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10475 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
10478 def get_value(self, *args):
10480 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
10481 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10483 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
10486 def get_value_index(self, *args):
10488 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
10489 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10491 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
10494 def get_version_info(self):
10495 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
10496 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
10500 """__str__(IsCollisionPairPredicate self) -> std::string"""
10501 return _IMP_core.IsCollisionPairPredicate___str__(self)
10504 def __repr__(self):
10505 """__repr__(IsCollisionPairPredicate self) -> std::string"""
10506 return _IMP_core.IsCollisionPairPredicate___repr__(self)
10511 return _object_cast_to_IsCollisionPairPredicate(o)
10513 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
10514 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
10516 class AngleRestraint(TripletRestraint):
10517 """Proxy of C++ IMP::core::AngleRestraint class."""
10519 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10521 def __init__(self, m, score_func, p1, p2, p3):
10522 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
10523 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
10525 self.this.append(this)
10530 """__str__(AngleRestraint self) -> std::string"""
10531 return _IMP_core.AngleRestraint___str__(self)
10534 def __repr__(self):
10535 """__repr__(AngleRestraint self) -> std::string"""
10536 return _IMP_core.AngleRestraint___repr__(self)
10541 return _object_cast_to_AngleRestraint(o)
10543 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
10544 AngleRestraint_swigregister(AngleRestraint)
10546 class RigidBodyMover(MonteCarloMover):
10547 """Proxy of C++ IMP::core::RigidBodyMover class."""
10549 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10551 def __init__(self, *args):
10553 __init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
10554 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
10556 this = _IMP_core.new_RigidBodyMover(*args)
10558 self.this.append(this)
10562 def set_maximum_translation(self, mt):
10563 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
10564 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
10567 def set_maximum_rotation(self, mr):
10568 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
10569 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
10572 def get_maximum_translation(self):
10573 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
10574 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
10577 def get_maximum_rotation(self):
10578 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
10579 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
10582 def get_version_info(self):
10583 """get_version_info(RigidBodyMover self) -> VersionInfo"""
10584 return _IMP_core.RigidBodyMover_get_version_info(self)
10588 """__str__(RigidBodyMover self) -> std::string"""
10589 return _IMP_core.RigidBodyMover___str__(self)
10592 def __repr__(self):
10593 """__repr__(RigidBodyMover self) -> std::string"""
10594 return _IMP_core.RigidBodyMover___repr__(self)
10599 return _object_cast_to_RigidBodyMover(o)
10601 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
10602 RigidBodyMover_swigregister(RigidBodyMover)
10604 class RigidBodyTunneler(MonteCarloMover):
10605 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
10607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10609 def __init__(self, m, pis, ref, k, move_probability=1.):
10611 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
10612 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
10614 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
10616 self.this.append(this)
10620 def add_entry_point(self, fl):
10621 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
10622 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
10625 def reset_stats(self):
10626 """reset_stats(RigidBodyTunneler self)"""
10627 return _IMP_core.RigidBodyTunneler_reset_stats(self)
10630 def get_number_of_rejected_moves(self):
10631 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
10632 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
10635 def get_number_of_proposed_moves(self):
10636 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
10637 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
10640 def get_number_of_impossible_moves(self):
10641 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
10642 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
10645 def get_number_of_calls(self):
10646 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
10647 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
10650 def get_reduced_coordinates(*args):
10652 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
10653 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
10655 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
10657 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
10659 def set_reduced_coordinates(m, target, ref, coords):
10660 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
10661 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
10663 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
10665 def get_version_info(self):
10666 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
10667 return _IMP_core.RigidBodyTunneler_get_version_info(self)
10671 """__str__(RigidBodyTunneler self) -> std::string"""
10672 return _IMP_core.RigidBodyTunneler___str__(self)
10675 def __repr__(self):
10676 """__repr__(RigidBodyTunneler self) -> std::string"""
10677 return _IMP_core.RigidBodyTunneler___repr__(self)
10682 return _object_cast_to_RigidBodyTunneler(o)
10684 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
10685 RigidBodyTunneler_swigregister(RigidBodyTunneler)
10687 def RigidBodyTunneler_get_reduced_coordinates(*args):
10689 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
10690 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
10692 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
10694 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
10695 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
10696 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
10699 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
10701 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10703 def __init__(self, *args):
10705 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
10706 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
10707 __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
10708 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
10710 this = _IMP_core.new_RigidBodyUmbrella(*args)
10712 self.this.append(this)
10716 def set_x0(self, *args):
10718 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
10719 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
10721 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
10725 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
10726 return _IMP_core.RigidBodyUmbrella_get_x0(self)
10730 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
10731 return _IMP_core.RigidBodyUmbrella_get_x(self)
10734 def set_alpha(self, alpha):
10735 """set_alpha(RigidBodyUmbrella self, double alpha)"""
10736 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
10739 def set_k(self, k):
10740 """set_k(RigidBodyUmbrella self, double k)"""
10741 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
10744 def get_version_info(self):
10745 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
10746 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
10750 """__str__(RigidBodyUmbrella self) -> std::string"""
10751 return _IMP_core.RigidBodyUmbrella___str__(self)
10754 def __repr__(self):
10755 """__repr__(RigidBodyUmbrella self) -> std::string"""
10756 return _IMP_core.RigidBodyUmbrella___repr__(self)
10761 return _object_cast_to_RigidBodyUmbrella(o)
10763 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
10764 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
10767 """Proxy of C++ IMP::core::VolumeRestraint class."""
10769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10771 def __init__(self, f, sc, volume):
10772 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
10773 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
10775 self.this.append(this)
10779 def do_get_inputs(self):
10780 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
10781 return _IMP_core.VolumeRestraint_do_get_inputs(self)
10784 def get_version_info(self):
10785 """get_version_info(VolumeRestraint self) -> VersionInfo"""
10786 return _IMP_core.VolumeRestraint_get_version_info(self)
10790 """__str__(VolumeRestraint self) -> std::string"""
10791 return _IMP_core.VolumeRestraint___str__(self)
10794 def __repr__(self):
10795 """__repr__(VolumeRestraint self) -> std::string"""
10796 return _IMP_core.VolumeRestraint___repr__(self)
10801 return _object_cast_to_VolumeRestraint(o)
10803 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
10804 VolumeRestraint_swigregister(VolumeRestraint)
10808 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
10809 return _IMP_core.get_centroid(ps)
10811 def get_bounding_box(ps):
10812 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
10813 return _IMP_core.get_bounding_box(ps)
10815 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
10817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10819 def __init__(self, ps):
10820 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
10821 this = _IMP_core.new_MoveStatisticsScoreState(ps)
10823 self.this.append(this)
10827 def show_statistics(self, *args):
10829 show_statistics(MoveStatisticsScoreState self, _ostream out)
10830 show_statistics(MoveStatisticsScoreState self)
10832 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
10836 """reset(MoveStatisticsScoreState self)"""
10837 return _IMP_core.MoveStatisticsScoreState_reset(self)
10840 def do_before_evaluate(self):
10841 """do_before_evaluate(MoveStatisticsScoreState self)"""
10842 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
10845 def do_after_evaluate(self, da):
10846 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
10847 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
10850 def do_get_inputs(self):
10851 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
10852 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
10855 def do_get_outputs(self):
10856 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
10857 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
10860 def get_version_info(self):
10861 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
10862 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
10866 """__str__(MoveStatisticsScoreState self) -> std::string"""
10867 return _IMP_core.MoveStatisticsScoreState___str__(self)
10870 def __repr__(self):
10871 """__repr__(MoveStatisticsScoreState self) -> std::string"""
10872 return _IMP_core.MoveStatisticsScoreState___repr__(self)
10877 return _object_cast_to_MoveStatisticsScoreState(o)
10879 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
10880 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
10883 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
10884 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
10886 """Proxy of C++ IMP::core::Typed class."""
10888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10890 def get_type_key():
10891 """get_type_key() -> IntKey"""
10892 return _IMP_core.Typed_get_type_key()
10894 get_type_key = staticmethod(get_type_key)
10896 def __init__(self, *args):
10898 __init__(IMP::core::Typed self) -> Typed
10899 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
10900 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
10902 this = _IMP_core.new_Typed(*args)
10904 self.this.append(this)
10908 def show(self, *args):
10910 show(Typed self, _ostream out)
10913 return _IMP_core.Typed_show(self, *args)
10916 def setup_particle(*args):
10918 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
10919 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
10921 return _IMP_core.Typed_setup_particle(*args)
10923 setup_particle = staticmethod(setup_particle)
10925 def get_is_setup(*args):
10927 get_is_setup(_ParticleAdaptor p) -> bool
10928 get_is_setup(Model m, ParticleIndex pi) -> bool
10930 return _IMP_core.Typed_get_is_setup(*args)
10932 get_is_setup = staticmethod(get_is_setup)
10934 def get_type(self):
10935 """get_type(Typed self) -> ParticleType"""
10936 return _IMP_core.Typed_get_type(self)
10939 def add_attribute(self, *args):
10941 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
10942 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
10943 add_attribute(Typed self, IntKey a0, IMP::Int a1)
10944 add_attribute(Typed self, StringKey a0, IMP::String a1)
10945 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
10946 add_attribute(Typed self, ObjectKey a0, Object a1)
10948 return _IMP_core.Typed_add_attribute(self, *args)
10951 def get_value(self, *args):
10953 get_value(Typed self, FloatKey a0) -> IMP::Float
10954 get_value(Typed self, IntKey a0) -> IMP::Int
10955 get_value(Typed self, StringKey a0) -> IMP::String
10956 get_value(Typed self, ParticleIndexKey a0) -> Particle
10957 get_value(Typed self, ObjectKey a0) -> Object
10959 return _IMP_core.Typed_get_value(self, *args)
10962 def set_value(self, *args):
10964 set_value(Typed self, FloatKey a0, IMP::Float a1)
10965 set_value(Typed self, IntKey a0, IMP::Int a1)
10966 set_value(Typed self, StringKey a0, IMP::String a1)
10967 set_value(Typed self, ParticleIndexKey a0, Particle a1)
10968 set_value(Typed self, ObjectKey a0, Object a1)
10970 return _IMP_core.Typed_set_value(self, *args)
10973 def remove_attribute(self, *args):
10975 remove_attribute(Typed self, FloatKey a0)
10976 remove_attribute(Typed self, IntKey a0)
10977 remove_attribute(Typed self, StringKey a0)
10978 remove_attribute(Typed self, ParticleIndexKey a0)
10979 remove_attribute(Typed self, ObjectKey a0)
10981 return _IMP_core.Typed_remove_attribute(self, *args)
10984 def has_attribute(self, *args):
10986 has_attribute(Typed self, FloatKey a0) -> bool
10987 has_attribute(Typed self, IntKey a0) -> bool
10988 has_attribute(Typed self, StringKey a0) -> bool
10989 has_attribute(Typed self, ParticleIndexKey a0) -> bool
10990 has_attribute(Typed self, ObjectKey a0) -> bool
10992 return _IMP_core.Typed_has_attribute(self, *args)
10995 def get_derivative(self, a0):
10996 """get_derivative(Typed self, FloatKey a0) -> double"""
10997 return _IMP_core.Typed_get_derivative(self, a0)
11000 def get_name(self):
11001 """get_name(Typed self) -> std::string"""
11002 return _IMP_core.Typed_get_name(self)
11005 def clear_caches(self):
11006 """clear_caches(Typed self)"""
11007 return _IMP_core.Typed_clear_caches(self)
11010 def set_name(self, a0):
11011 """set_name(Typed self, std::string a0)"""
11012 return _IMP_core.Typed_set_name(self, a0)
11016 """set_check_level(Typed self, IMP::CheckLevel a0)"""
11017 return _IMP_core.Typed_set_check_level(self, a0)
11020 def add_to_derivative(self, a0, a1, a2):
11021 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11022 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
11025 def set_is_optimized(self, a0, a1):
11026 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
11027 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
11030 def get_is_optimized(self, a0):
11031 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
11032 return _IMP_core.Typed_get_is_optimized(self, a0)
11036 """get_check_level(Typed self) -> IMP::CheckLevel"""
11037 return _IMP_core.Typed_get_check_level(self)
11040 def __eq__(self, *args):
11042 __eq__(Typed self, Typed o) -> bool
11043 __eq__(Typed self, Particle d) -> bool
11045 return _IMP_core.Typed___eq__(self, *args)
11048 def __ne__(self, *args):
11050 __ne__(Typed self, Typed o) -> bool
11051 __ne__(Typed self, Particle d) -> bool
11053 return _IMP_core.Typed___ne__(self, *args)
11056 def __le__(self, *args):
11058 __le__(Typed self, Typed o) -> bool
11059 __le__(Typed self, Particle d) -> bool
11061 return _IMP_core.Typed___le__(self, *args)
11064 def __lt__(self, *args):
11066 __lt__(Typed self, Typed o) -> bool
11067 __lt__(Typed self, Particle d) -> bool
11069 return _IMP_core.Typed___lt__(self, *args)
11072 def __ge__(self, *args):
11074 __ge__(Typed self, Typed o) -> bool
11075 __ge__(Typed self, Particle d) -> bool
11077 return _IMP_core.Typed___ge__(self, *args)
11080 def __gt__(self, *args):
11082 __gt__(Typed self, Typed o) -> bool
11083 __gt__(Typed self, Particle d) -> bool
11085 return _IMP_core.Typed___gt__(self, *args)
11088 def __hash__(self):
11089 """__hash__(Typed self) -> std::size_t"""
11090 return _IMP_core.Typed___hash__(self)
11094 """__str__(Typed self) -> std::string"""
11095 return _IMP_core.Typed___str__(self)
11098 def __repr__(self):
11099 """__repr__(Typed self) -> std::string"""
11100 return _IMP_core.Typed___repr__(self)
11102 __swig_destroy__ = _IMP_core.delete_Typed
11103 __del__ =
lambda self:
None
11104 Typed_swigregister = _IMP_core.Typed_swigregister
11105 Typed_swigregister(Typed)
11107 def Typed_get_type_key():
11108 """Typed_get_type_key() -> IntKey"""
11109 return _IMP_core.Typed_get_type_key()
11111 def Typed_setup_particle(*args):
11113 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
11114 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
11116 return _IMP_core.Typed_setup_particle(*args)
11118 def Typed_get_is_setup(*args):
11120 get_is_setup(_ParticleAdaptor p) -> bool
11121 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
11123 return _IMP_core.Typed_get_is_setup(*args)
11126 def __lshift__(*args):
11128 __lshift__(_ostream out, XYZ n) -> _ostream
11129 __lshift__(_ostream out, XYZR n) -> _ostream
11130 __lshift__(_ostream out, Centroid n) -> _ostream
11131 __lshift__(_ostream out, Cover n) -> _ostream
11132 __lshift__(_ostream out, Reference n) -> _ostream
11133 __lshift__(_ostream out, RigidMember n) -> _ostream
11134 __lshift__(_ostream out, RigidBody n) -> _ostream
11135 __lshift__(_ostream out, Gaussian n) -> _ostream
11136 __lshift__(_ostream out, Typed n) -> _ostream
11138 return _IMP_core.__lshift__(*args)
11140 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
11142 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11144 def __init__(self, rs, out):
11145 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
11146 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
11148 self.this.append(this)
11152 def get_version_info(self):
11153 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
11154 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
11158 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
11159 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
11162 def __repr__(self):
11163 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
11164 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
11169 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
11171 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
11172 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
11176 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
11177 return _IMP_core.assign_blame(rs, ps, attribute)
11181 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
11182 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
11183 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
11185 return _IMP_core.create_blame_geometries(*args)
11189 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
11190 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
11191 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
11193 return _IMP_core.get_transformation_aligning_first_to_second(*args)
11196 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
11197 return _IMP_core.create_restraint(ps, pp)
11199 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
11201 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11203 def __init__(self, *args):
11205 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
11206 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
11208 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
11210 self.this.append(this)
11214 def get_version_info(self):
11215 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
11216 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
11220 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
11221 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
11224 def __repr__(self):
11225 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
11226 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
11231 return _object_cast_to_TruncatedHarmonic(o)
11233 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
11234 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
11237 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
11239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11241 def __init__(self, *args):
11243 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
11244 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
11246 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
11248 self.this.append(this)
11252 def get_version_info(self):
11253 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
11254 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
11258 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
11259 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
11262 def __repr__(self):
11263 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
11264 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
11269 return _object_cast_to_TruncatedHarmonic(o)
11271 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
11272 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
11275 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
11277 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11279 def __init__(self, *args):
11281 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
11282 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
11284 this = _IMP_core.new_TruncatedHarmonicBound(*args)
11286 self.this.append(this)
11290 def get_version_info(self):
11291 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
11292 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
11296 """__str__(TruncatedHarmonicBound self) -> std::string"""
11297 return _IMP_core.TruncatedHarmonicBound___str__(self)
11300 def __repr__(self):
11301 """__repr__(TruncatedHarmonicBound self) -> std::string"""
11302 return _IMP_core.TruncatedHarmonicBound___repr__(self)
11307 return _object_cast_to_TruncatedHarmonic(o)
11309 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
11310 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
11313 """Proxy of C++ IMP::Key<(34897493,true)> class."""
11315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11317 def __init__(self, *args):
11319 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
11320 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
11321 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
11323 this = _IMP_core.new_ParticleType(*args)
11325 self.this.append(this)
11330 """add_key(std::string sc) -> unsigned int"""
11331 return _IMP_core.ParticleType_add_key(sc)
11333 add_key = staticmethod(add_key)
11335 def get_key_exists(sc):
11336 """get_key_exists(std::string sc) -> bool"""
11337 return _IMP_core.ParticleType_get_key_exists(sc)
11339 get_key_exists = staticmethod(get_key_exists)
11341 def get_string(self):
11342 """get_string(ParticleType self) -> std::string const"""
11343 return _IMP_core.ParticleType_get_string(self)
11346 def __cmp__(self, o):
11347 """__cmp__(ParticleType self, ParticleType o) -> int"""
11348 return _IMP_core.ParticleType___cmp__(self, o)
11351 def __eq__(self, o):
11352 """__eq__(ParticleType self, ParticleType o) -> bool"""
11353 return _IMP_core.ParticleType___eq__(self, o)
11356 def __ne__(self, o):
11357 """__ne__(ParticleType self, ParticleType o) -> bool"""
11358 return _IMP_core.ParticleType___ne__(self, o)
11361 def __lt__(self, o):
11362 """__lt__(ParticleType self, ParticleType o) -> bool"""
11363 return _IMP_core.ParticleType___lt__(self, o)
11366 def __gt__(self, o):
11367 """__gt__(ParticleType self, ParticleType o) -> bool"""
11368 return _IMP_core.ParticleType___gt__(self, o)
11371 def __ge__(self, o):
11372 """__ge__(ParticleType self, ParticleType o) -> bool"""
11373 return _IMP_core.ParticleType___ge__(self, o)
11376 def __le__(self, o):
11377 """__le__(ParticleType self, ParticleType o) -> bool"""
11378 return _IMP_core.ParticleType___le__(self, o)
11381 def __hash__(self):
11382 """__hash__(ParticleType self) -> std::size_t"""
11383 return _IMP_core.ParticleType___hash__(self)
11386 def show(self, *args):
11388 show(ParticleType self, _ostream out)
11389 show(ParticleType self)
11391 return _IMP_core.ParticleType_show(self, *args)
11394 def add_alias(old_key, new_name):
11395 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
11396 return _IMP_core.ParticleType_add_alias(old_key, new_name)
11398 add_alias = staticmethod(add_alias)
11401 """get_index(ParticleType self) -> unsigned int"""
11402 return _IMP_core.ParticleType_get_index(self)
11406 """show_all(_ostream out)"""
11407 return _IMP_core.ParticleType_show_all(out)
11409 show_all = staticmethod(show_all)
11411 def get_all_strings():
11412 """get_all_strings() -> IMP::Vector< std::string >"""
11413 return _IMP_core.ParticleType_get_all_strings()
11415 get_all_strings = staticmethod(get_all_strings)
11417 def get_number_unique():
11418 """get_number_unique() -> unsigned int"""
11419 return _IMP_core.ParticleType_get_number_unique()
11421 get_number_unique = staticmethod(get_number_unique)
11424 """__str__(ParticleType self) -> std::string"""
11425 return _IMP_core.ParticleType___str__(self)
11428 def __repr__(self):
11429 """__repr__(ParticleType self) -> std::string"""
11430 return _IMP_core.ParticleType___repr__(self)
11432 __swig_destroy__ = _IMP_core.delete_ParticleType
11433 __del__ =
lambda self:
None
11434 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
11435 ParticleType_swigregister(ParticleType)
11437 def ParticleType_add_key(sc):
11438 """ParticleType_add_key(std::string sc) -> unsigned int"""
11439 return _IMP_core.ParticleType_add_key(sc)
11441 def ParticleType_get_key_exists(sc):
11442 """ParticleType_get_key_exists(std::string sc) -> bool"""
11443 return _IMP_core.ParticleType_get_key_exists(sc)
11445 def ParticleType_add_alias(old_key, new_name):
11446 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
11447 return _IMP_core.ParticleType_add_alias(old_key, new_name)
11449 def ParticleType_show_all(out):
11450 """ParticleType_show_all(_ostream out)"""
11451 return _IMP_core.ParticleType_show_all(out)
11453 def ParticleType_get_all_strings():
11454 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
11455 return _IMP_core.ParticleType_get_all_strings()
11457 def ParticleType_get_number_unique():
11458 """ParticleType_get_number_unique() -> unsigned int"""
11459 return _IMP_core.ParticleType_get_number_unique()
11462 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
11464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11465 __repr__ = _swig_repr
11467 def __init__(self, f, k):
11468 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
11469 this = _IMP_core.new_AttributeSingletonScore(f, k)
11471 self.this.append(this)
11475 def do_get_inputs(self, m, pis):
11476 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11477 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
11480 def get_version_info(self):
11481 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
11482 return _IMP_core.AttributeSingletonScore_get_version_info(self)
11484 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
11485 AttributeSingletonScore_swigregister(AttributeSingletonScore)
11489 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
11490 return _IMP_core.create_attribute_singleton_score(uf, k)
11492 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
11494 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11495 __repr__ = _swig_repr
11497 def __init__(self, f, bb):
11498 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
11499 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
11501 self.this.append(this)
11505 def do_get_inputs(self, m, pis):
11506 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11507 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
11510 def get_version_info(self):
11511 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
11512 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
11514 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
11515 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
11518 def create_bounding_box_3d_singleton_score(f, bb):
11519 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
11520 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
11522 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
11524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11525 __repr__ = _swig_repr
11527 def __init__(self, f, pt):
11528 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
11529 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
11531 self.this.append(this)
11535 def do_get_inputs(self, m, pis):
11536 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11537 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
11540 def get_version_info(self):
11541 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
11542 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
11544 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
11545 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
11548 def create_distance_to_singleton_score(f, pt):
11549 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
11550 return _IMP_core.create_distance_to_singleton_score(f, pt)
11552 def get_module_version():
11553 """get_module_version() -> std::string const"""
11554 return _IMP_core.get_module_version()
11557 """get_example_path(std::string fname) -> std::string"""
11558 return _IMP_core.get_example_path(fname)
11561 """get_data_path(std::string fname) -> std::string"""
11562 return _IMP_core.get_data_path(fname)
11564 from .
import _version_check
11565 _version_check.check_version(get_module_version())
11566 __version__ = get_module_version()
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/K].
Abstract class for scoring object(s) of type ParticleIndexPair.
void set_vector_geometry(Particle *p, const algebra::Vector3D &v)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
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)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
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.
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.
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
void add_rigid_body_cache_key(ObjectKey k)
Base class for all samplers.
void add_particle(RMF::FileHandle fh, Particle *hs)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Composable functors to implement scores via compile-time composition.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
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.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Abstract predicate function.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Base class for all optimizers.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Version and module information for Objects.
const algebra::Vector3D get_vector_geometry(Particle *p)
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Key< 34897493, true > ParticleType
Interface to specialized Particle types (e.g. atoms)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Base class for optimizers that act on individual attributes.
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.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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.
Abstract class to implement hierarchical methods.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
Output IMP model data in various file formats.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
Hierarchies get_leaves(const Selection &h)
ParticleIndexes get_indexes(const ParticlesTemp &ps)
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
A specialization for the lower bound.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
A restraint is a term in an IMP ScoringFunction.
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)