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"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
125 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
130 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
131 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
133 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
138 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
139 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
141 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
150 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
151 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
155 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
156 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
160 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
161 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
165 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
166 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
170 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
171 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
176 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
181 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
186 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
191 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
196 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
201 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
207 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
213 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
214 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
222 _IMP_core.IMP_DEBUG_swigconstant(_IMP_core)
223 IMP_DEBUG = _IMP_core.IMP_DEBUG
225 _IMP_core.IMP_RELEASE_swigconstant(_IMP_core)
226 IMP_RELEASE = _IMP_core.IMP_RELEASE
228 _IMP_core.IMP_SILENT_swigconstant(_IMP_core)
229 IMP_SILENT = _IMP_core.IMP_SILENT
231 _IMP_core.IMP_PROGRESS_swigconstant(_IMP_core)
232 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
234 _IMP_core.IMP_TERSE_swigconstant(_IMP_core)
235 IMP_TERSE = _IMP_core.IMP_TERSE
237 _IMP_core.IMP_VERBOSE_swigconstant(_IMP_core)
238 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
240 _IMP_core.IMP_MEMORY_swigconstant(_IMP_core)
241 IMP_MEMORY = _IMP_core.IMP_MEMORY
243 _IMP_core.IMP_NONE_swigconstant(_IMP_core)
244 IMP_NONE = _IMP_core.IMP_NONE
246 _IMP_core.IMP_USAGE_swigconstant(_IMP_core)
247 IMP_USAGE = _IMP_core.IMP_USAGE
249 _IMP_core.IMP_INTERNAL_swigconstant(_IMP_core)
250 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
252 _IMP_core.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_core)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_core.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_core)
256 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
258 _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_core)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_core)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_core)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_core)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_core.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_core)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_core._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_core._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_core.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_core)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_core.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_core)
321 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
323 _IMP_core.IMP_HAS_NOEXCEPT_swigconstant(_IMP_core)
324 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
327 _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_core.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_core)
340 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
343 _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_core)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_core.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_core)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
361 _IMP_core.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_core)
362 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
364 _IMP_core.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_core)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_core)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_core.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_core)
384 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
386 _IMP_core.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_core)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_core)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_core)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_core)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_core)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_core.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_core)
416 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
418 _IMP_core.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_core)
419 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
421 _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
422 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
424 _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
425 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
427 _IMP_core.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
428 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
430 _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
431 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
433 _IMP_core.IMP_CORE_HAS_CGAL_swigconstant(_IMP_core)
434 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
436 _IMP_core.IMP_CORE_HAS_HDF5_swigconstant(_IMP_core)
437 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
439 _IMP_core.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_core)
440 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
442 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
444 __repr__ = _swig_repr
446 def __init__(self, *args):
448 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
449 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
451 this = _IMP_core.new__OpenCubicSplineBase(*args)
453 self.this.append(this)
457 def get_version_info(self):
458 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
459 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
461 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
462 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
464 _object_types.append(
"MonteCarloMover")
467 def _object_cast_to_MonteCarloMover(o):
468 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
469 return _IMP_core._object_cast_to_MonteCarloMover(o)
470 MonteCarloMoverResults=list
471 _plural_types.append(
"MonteCarloMoverResults")
472 _value_types.append(
"MonteCarloMoverResult")
474 _object_types.append(
"AngleRestraint")
477 def _object_cast_to_AngleRestraint(o):
478 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
479 return _IMP_core._object_cast_to_AngleRestraint(o)
480 _object_types.append(
"AngleTripletScore")
483 def _object_cast_to_AngleTripletScore(o):
484 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
485 return _IMP_core._object_cast_to_AngleTripletScore(o)
486 _object_types.append(
"AttributeSingletonScore")
489 def _object_cast_to_AttributeSingletonScore(o):
490 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
491 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
492 _object_types.append(
"BallMover")
495 def _object_cast_to_BallMover(o):
496 """_object_cast_to_BallMover(Object o) -> BallMover"""
497 return _IMP_core._object_cast_to_BallMover(o)
498 _object_types.append(
"SerialMover")
501 def _object_cast_to_SerialMover(o):
502 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
503 return _IMP_core._object_cast_to_SerialMover(o)
504 _object_types.append(
"BoundingBox3DSingletonScore")
507 def _object_cast_to_BoundingBox3DSingletonScore(o):
508 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
509 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
510 _object_types.append(
"BoxSweepClosePairsFinder")
513 def _object_cast_to_BoxSweepClosePairsFinder(o):
514 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
515 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
516 _object_types.append(
"NearestNeighborsClosePairsFinder")
519 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
520 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
521 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
522 _object_types.append(
"CentroidOfRefined")
525 def _object_cast_to_CentroidOfRefined(o):
526 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
527 return _IMP_core._object_cast_to_CentroidOfRefined(o)
528 _object_types.append(
"ChecksScoreState")
531 def _object_cast_to_ChecksScoreState(o):
532 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
533 return _IMP_core._object_cast_to_ChecksScoreState(o)
534 _object_types.append(
"ChildrenRefiner")
537 def _object_cast_to_ChildrenRefiner(o):
538 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
539 return _IMP_core._object_cast_to_ChildrenRefiner(o)
540 _object_types.append(
"ClosePairsFinder")
543 def _object_cast_to_ClosePairsFinder(o):
544 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
545 return _IMP_core._object_cast_to_ClosePairsFinder(o)
546 _object_types.append(
"ClosePairsPairScore")
549 def _object_cast_to_ClosePairsPairScore(o):
550 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
551 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
552 _object_types.append(
"ClosedCubicSpline")
555 def _object_cast_to_ClosedCubicSpline(o):
556 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
557 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
558 _object_types.append(
"ConjugateGradients")
561 def _object_cast_to_ConjugateGradients(o):
562 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
563 return _IMP_core._object_cast_to_ConjugateGradients(o)
564 _object_types.append(
"ConnectivityRestraint")
567 def _object_cast_to_ConnectivityRestraint(o):
568 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
569 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
570 _object_types.append(
"ConstantRestraint")
573 def _object_cast_to_ConstantRestraint(o):
574 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
575 return _IMP_core._object_cast_to_ConstantRestraint(o)
576 _object_types.append(
"Cosine")
579 def _object_cast_to_Cosine(o):
580 """_object_cast_to_Cosine(Object o) -> Cosine"""
581 return _IMP_core._object_cast_to_Cosine(o)
582 _object_types.append(
"CoverRefined")
585 def _object_cast_to_CoverRefined(o):
586 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
587 return _IMP_core._object_cast_to_CoverRefined(o)
588 _object_types.append(
"DerivativesFromRefined")
591 def _object_cast_to_DerivativesFromRefined(o):
592 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
593 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
594 _object_types.append(
"DerivativesToRefined")
597 def _object_cast_to_DerivativesToRefined(o):
598 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
599 return _IMP_core._object_cast_to_DerivativesToRefined(o)
600 _object_types.append(
"WeightedDerivativesToRefined")
603 def _object_cast_to_WeightedDerivativesToRefined(o):
604 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
605 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
606 _object_types.append(
"DiameterRestraint")
609 def _object_cast_to_DiameterRestraint(o):
610 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
611 return _IMP_core._object_cast_to_DiameterRestraint(o)
612 _object_types.append(
"DihedralRestraint")
615 def _object_cast_to_DihedralRestraint(o):
616 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
617 return _IMP_core._object_cast_to_DihedralRestraint(o)
618 _object_types.append(
"DistanceRestraint")
621 def _object_cast_to_DistanceRestraint(o):
622 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
623 return _IMP_core._object_cast_to_DistanceRestraint(o)
624 _object_types.append(
"DistanceToSingletonScore")
627 def _object_cast_to_DistanceToSingletonScore(o):
628 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
629 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
630 _object_types.append(
"ExcludedVolumeRestraint")
633 def _object_cast_to_ExcludedVolumeRestraint(o):
634 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
635 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
636 _object_types.append(
"FixedRefiner")
639 def _object_cast_to_FixedRefiner(o):
640 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
641 return _IMP_core._object_cast_to_FixedRefiner(o)
642 _object_types.append(
"GridClosePairsFinder")
645 def _object_cast_to_GridClosePairsFinder(o):
646 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
647 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
648 _object_types.append(
"Harmonic")
651 def _object_cast_to_Harmonic(o):
652 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
653 return _IMP_core._object_cast_to_Harmonic(o)
654 _object_types.append(
"HarmonicWell")
657 def _object_cast_to_HarmonicWell(o):
658 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
659 return _IMP_core._object_cast_to_HarmonicWell(o)
660 _object_types.append(
"HarmonicLowerBound")
663 def _object_cast_to_HarmonicLowerBound(o):
664 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
665 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
666 _object_types.append(
"HarmonicUpperBound")
669 def _object_cast_to_HarmonicUpperBound(o):
670 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
671 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
672 _object_types.append(
"HarmonicSphereDistancePairScore")
675 def _object_cast_to_HarmonicSphereDistancePairScore(o):
676 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
677 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
678 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
681 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
682 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
683 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
684 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
687 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
688 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
689 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
690 _object_types.append(
"IncrementalScoringFunction")
693 def _object_cast_to_IncrementalScoringFunction(o):
694 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
695 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
696 _object_types.append(
"KClosePairsPairScore")
699 def _object_cast_to_KClosePairsPairScore(o):
700 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
701 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
702 _object_types.append(
"LeavesRefiner")
705 def _object_cast_to_LeavesRefiner(o):
706 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
707 return _IMP_core._object_cast_to_LeavesRefiner(o)
708 _object_types.append(
"Linear")
711 def _object_cast_to_Linear(o):
712 """_object_cast_to_Linear(Object o) -> Linear"""
713 return _IMP_core._object_cast_to_Linear(o)
714 _object_types.append(
"MCCGSampler")
717 def _object_cast_to_MCCGSampler(o):
718 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
719 return _IMP_core._object_cast_to_MCCGSampler(o)
720 _object_types.append(
"MonteCarlo")
723 def _object_cast_to_MonteCarlo(o):
724 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
725 return _IMP_core._object_cast_to_MonteCarlo(o)
726 _object_types.append(
"MonteCarloWithLocalOptimization")
729 def _object_cast_to_MonteCarloWithLocalOptimization(o):
730 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
731 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
732 _object_types.append(
"MonteCarloWithBasinHopping")
735 def _object_cast_to_MonteCarloWithBasinHopping(o):
736 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
737 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
738 _object_types.append(
"MSConnectivityRestraint")
741 def _object_cast_to_MSConnectivityRestraint(o):
742 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
743 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
744 _object_types.append(
"NeighborsTable")
747 def _object_cast_to_NeighborsTable(o):
748 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
749 return _IMP_core._object_cast_to_NeighborsTable(o)
750 _object_types.append(
"NormalMover")
753 def _object_cast_to_NormalMover(o):
754 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
755 return _IMP_core._object_cast_to_NormalMover(o)
756 _object_types.append(
"NormalizedSphereDistancePairScore")
759 def _object_cast_to_NormalizedSphereDistancePairScore(o):
760 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
761 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
762 _object_types.append(
"OpenCubicSpline")
765 def _object_cast_to_OpenCubicSpline(o):
766 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
767 return _IMP_core._object_cast_to_OpenCubicSpline(o)
768 _object_types.append(
"PairConstraint")
771 def _object_cast_to_PairConstraint(o):
772 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
773 return _IMP_core._object_cast_to_PairConstraint(o)
774 _object_types.append(
"PairRestraint")
777 def _object_cast_to_PairRestraint(o):
778 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
779 return _IMP_core._object_cast_to_PairRestraint(o)
780 _object_types.append(
"QuadConstraint")
783 def _object_cast_to_QuadConstraint(o):
784 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
785 return _IMP_core._object_cast_to_QuadConstraint(o)
786 _object_types.append(
"QuadRestraint")
789 def _object_cast_to_QuadRestraint(o):
790 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
791 return _IMP_core._object_cast_to_QuadRestraint(o)
792 _object_types.append(
"QuadraticClosePairsFinder")
795 def _object_cast_to_QuadraticClosePairsFinder(o):
796 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
797 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
798 _object_types.append(
"RefinedPairsPairScore")
801 def _object_cast_to_RefinedPairsPairScore(o):
802 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
803 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
804 _object_types.append(
"RestraintsScoringFunction")
807 def _object_cast_to_RestraintsScoringFunction(o):
808 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
809 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
810 _object_types.append(
"RigidBodyDistancePairScore")
813 def _object_cast_to_RigidBodyDistancePairScore(o):
814 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
815 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
816 _object_types.append(
"RigidBodyAnglePairScore")
819 def _object_cast_to_RigidBodyAnglePairScore(o):
820 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
821 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
822 _object_types.append(
"RigidBodyMover")
825 def _object_cast_to_RigidBodyMover(o):
826 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
827 return _IMP_core._object_cast_to_RigidBodyMover(o)
828 _object_types.append(
"RigidBodyTunneler")
831 def _object_cast_to_RigidBodyTunneler(o):
832 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
833 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
834 _object_types.append(
"RigidBodyUmbrella")
837 def _object_cast_to_RigidBodyUmbrella(o):
838 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
839 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
840 _object_types.append(
"RigidClosePairsFinder")
843 def _object_cast_to_RigidClosePairsFinder(o):
844 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
845 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
846 _object_types.append(
"RigidMembersRefiner")
849 def _object_cast_to_RigidMembersRefiner(o):
850 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
851 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
852 _object_types.append(
"SingletonConstraint")
855 def _object_cast_to_SingletonConstraint(o):
856 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
857 return _IMP_core._object_cast_to_SingletonConstraint(o)
858 _object_types.append(
"SingletonRestraint")
861 def _object_cast_to_SingletonRestraint(o):
862 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
863 return _IMP_core._object_cast_to_SingletonRestraint(o)
864 _object_types.append(
"SoftSpherePairScore")
867 def _object_cast_to_SoftSpherePairScore(o):
868 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
869 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
870 _object_types.append(
"SphereDistancePairScore")
873 def _object_cast_to_SphereDistancePairScore(o):
874 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
875 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
876 _object_types.append(
"SphereDistanceToSingletonScore")
879 def _object_cast_to_SphereDistanceToSingletonScore(o):
880 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
881 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
882 _object_types.append(
"SteepestDescent")
885 def _object_cast_to_SteepestDescent(o):
886 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
887 return _IMP_core._object_cast_to_SteepestDescent(o)
888 _object_types.append(
"TableRefiner")
891 def _object_cast_to_TableRefiner(o):
892 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
893 return _IMP_core._object_cast_to_TableRefiner(o)
894 _object_types.append(
"Transform")
897 def _object_cast_to_Transform(o):
898 """_object_cast_to_Transform(Object o) -> Transform"""
899 return _IMP_core._object_cast_to_Transform(o)
900 _object_types.append(
"TransformationAndReflectionSymmetry")
903 def _object_cast_to_TransformationAndReflectionSymmetry(o):
904 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
905 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
906 _object_types.append(
"TransformationSymmetry")
909 def _object_cast_to_TransformationSymmetry(o):
910 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
911 return _IMP_core._object_cast_to_TransformationSymmetry(o)
912 _object_types.append(
"TransformedDistancePairScore")
915 def _object_cast_to_TransformedDistancePairScore(o):
916 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
917 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
918 _object_types.append(
"TripletConstraint")
921 def _object_cast_to_TripletConstraint(o):
922 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
923 return _IMP_core._object_cast_to_TripletConstraint(o)
924 _object_types.append(
"TripletRestraint")
927 def _object_cast_to_TripletRestraint(o):
928 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
929 return _IMP_core._object_cast_to_TripletRestraint(o)
930 _object_types.append(
"TypedPairScore")
933 def _object_cast_to_TypedPairScore(o):
934 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
935 return _IMP_core._object_cast_to_TypedPairScore(o)
936 _object_types.append(
"VolumeRestraint")
939 def _object_cast_to_VolumeRestraint(o):
940 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
941 return _IMP_core._object_cast_to_VolumeRestraint(o)
942 _object_types.append(
"WeightedSphereDistancePairScore")
945 def _object_cast_to_WeightedSphereDistancePairScore(o):
946 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
947 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
948 _object_types.append(
"MoveStatisticsScoreState")
951 def _object_cast_to_MoveStatisticsScoreState(o):
952 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
953 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
954 _object_types.append(
"MinimumRestraint")
957 def _object_cast_to_MinimumRestraint(o):
958 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
959 return _IMP_core._object_cast_to_MinimumRestraint(o)
960 _object_types.append(
"WriteRestraintScoresOptimizerState")
963 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
964 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
965 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
966 _object_types.append(
"ConstantSingletonPredicate")
969 def _object_cast_to_ConstantSingletonPredicate(o):
970 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
971 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
972 _object_types.append(
"ConstantPairPredicate")
975 def _object_cast_to_ConstantPairPredicate(o):
976 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
977 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
978 _object_types.append(
"ConstantTripletPredicate")
981 def _object_cast_to_ConstantTripletPredicate(o):
982 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
983 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
984 _object_types.append(
"ConstantQuadPredicate")
987 def _object_cast_to_ConstantQuadPredicate(o):
988 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
989 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
990 _object_types.append(
"CoinFlipSingletonPredicate")
993 def _object_cast_to_CoinFlipSingletonPredicate(o):
994 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
995 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
996 _object_types.append(
"CoinFlipPairPredicate")
999 def _object_cast_to_CoinFlipPairPredicate(o):
1000 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1001 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1002 _object_types.append(
"CoinFlipTripletPredicate")
1005 def _object_cast_to_CoinFlipTripletPredicate(o):
1006 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1007 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1008 _object_types.append(
"CoinFlipQuadPredicate")
1011 def _object_cast_to_CoinFlipQuadPredicate(o):
1012 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1013 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1014 _object_types.append(
"UnorderedTypeSingletonPredicate")
1017 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1018 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1019 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1020 _object_types.append(
"UnorderedTypePairPredicate")
1023 def _object_cast_to_UnorderedTypePairPredicate(o):
1024 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1025 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1026 _object_types.append(
"UnorderedTypeTripletPredicate")
1029 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1030 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1031 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1032 _object_types.append(
"UnorderedTypeQuadPredicate")
1035 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1036 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1037 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1038 _object_types.append(
"OrderedTypeSingletonPredicate")
1041 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1042 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1043 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1044 _object_types.append(
"OrderedTypePairPredicate")
1047 def _object_cast_to_OrderedTypePairPredicate(o):
1048 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1049 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1050 _object_types.append(
"OrderedTypeTripletPredicate")
1053 def _object_cast_to_OrderedTypeTripletPredicate(o):
1054 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1055 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1056 _object_types.append(
"OrderedTypeQuadPredicate")
1059 def _object_cast_to_OrderedTypeQuadPredicate(o):
1060 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1061 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1062 _object_types.append(
"AllSameSingletonPredicate")
1065 def _object_cast_to_AllSameSingletonPredicate(o):
1066 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1067 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1068 _object_types.append(
"AllSamePairPredicate")
1071 def _object_cast_to_AllSamePairPredicate(o):
1072 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1073 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1074 _object_types.append(
"AllSameTripletPredicate")
1077 def _object_cast_to_AllSameTripletPredicate(o):
1078 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1079 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1080 _object_types.append(
"AllSameQuadPredicate")
1083 def _object_cast_to_AllSameQuadPredicate(o):
1084 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1085 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1087 return [XYZ(x)
for x
in l]
1088 _plural_types.append(
"XYZs")
1090 _value_types.append(
"XYZ")
1093 return [XYZR(x)
for x
in l]
1094 _plural_types.append(
"XYZRs")
1096 _value_types.append(
"XYZR")
1098 def RigidBodies(l=[]):
1099 return [RigidBody(x)
for x
in l]
1100 _plural_types.append(
"RigidBodies")
1102 _value_types.append(
"RigidBody")
1104 def RigidBodyMembers(l=[]):
1105 return [RigidBodyMember(x)
for x
in l]
1106 _plural_types.append(
"RigidBodyMembers")
1108 _value_types.append(
"RigidBodyMember")
1110 def RigidMembers(l=[]):
1111 return [RigidMember(x)
for x
in l]
1112 _plural_types.append(
"RigidMembers")
1114 _value_types.append(
"RigidMember")
1116 def NonRigidMembers(l=[]):
1117 return [NonRigidMember(x)
for x
in l]
1118 _plural_types.append(
"NonRigidMembers")
1120 _value_types.append(
"NonRigidMember")
1122 def Centroids(l=[]):
1123 return [Centroid(x)
for x
in l]
1124 _plural_types.append(
"Centroids")
1126 _value_types.append(
"Centroid")
1129 return [Cover(x)
for x
in l]
1130 _plural_types.append(
"Covers")
1132 _value_types.append(
"Cover")
1134 def References(l=[]):
1135 return [Reference(x)
for x
in l]
1136 _plural_types.append(
"References")
1138 _value_types.append(
"Reference")
1141 _plural_types.append(
"ParticleTypes")
1142 _value_types.append(
"ParticleType")
1145 return [Typed(x)
for x
in l]
1146 _plural_types.append(
"Typeds")
1148 _value_types.append(
"Typed")
1150 def GenericHierarchies(l=[]):
1151 return [Hierarchy(x)
for x
in l]
1152 _plural_types.append(
"GenericHierarchies")
1154 _value_types.append(
"Hierarchy")
1156 def Gaussians(l=[]):
1157 return [Gaussian(x)
for x
in l]
1158 _plural_types.append(
"Gaussians")
1160 _value_types.append(
"Gaussian")
1162 HierarchyCounters=list
1163 _plural_types.append(
"HierarchyCounters")
1164 _value_types.append(
"HierarchyCounter")
1166 HierarchyTraitsList=list
1167 _plural_types.append(
"HierarchyTraitsList")
1168 _value_types.append(
"HierarchyTraits")
1170 _object_types.append(
"TruncatedHarmonicBound")
1173 def _object_cast_to_TruncatedHarmonicBound(o):
1174 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1175 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1176 _object_types.append(
"TruncatedHarmonicLowerBound")
1179 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1180 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1181 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1182 _object_types.append(
"TruncatedHarmonicUpperBound")
1185 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1186 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1187 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1188 _object_types.append(
"HarmonicDistancePairScore")
1191 def _object_cast_to_HarmonicDistancePairScore(o):
1192 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1193 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1194 _object_types.append(
"DistancePairScore")
1197 def _object_cast_to_DistancePairScore(o):
1198 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1199 return _IMP_core._object_cast_to_DistancePairScore(o)
1200 _object_types.append(
"XYZRGeometry")
1203 def _object_cast_to_XYZRGeometry(o):
1204 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1205 return _IMP_core._object_cast_to_XYZRGeometry(o)
1206 _object_types.append(
"XYZRsGeometry")
1209 def _object_cast_to_XYZRsGeometry(o):
1210 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1211 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1212 _object_types.append(
"XYZDerivativeGeometry")
1215 def _object_cast_to_XYZDerivativeGeometry(o):
1216 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1217 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1218 _object_types.append(
"XYZDerivativesGeometry")
1221 def _object_cast_to_XYZDerivativesGeometry(o):
1222 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1223 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1224 _object_types.append(
"RigidBodyDerivativeGeometry")
1227 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1228 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1229 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1230 _object_types.append(
"RigidBodyDerivativesGeometry")
1233 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1234 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1235 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1236 _object_types.append(
"RigidBodyHierarchyGeometry")
1239 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1240 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1241 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1242 _object_types.append(
"RigidBodyFrameGeometry")
1245 def _object_cast_to_RigidBodyFrameGeometry(o):
1246 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1247 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1248 _object_types.append(
"RigidBodyFramesGeometry")
1251 def _object_cast_to_RigidBodyFramesGeometry(o):
1252 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1253 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1254 _object_types.append(
"RigidBodyTorque")
1257 def _object_cast_to_RigidBodyTorque(o):
1258 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1259 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1260 _object_types.append(
"EdgePairGeometry")
1263 def _object_cast_to_EdgePairGeometry(o):
1264 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1265 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1266 _object_types.append(
"EdgePairsGeometry")
1269 def _object_cast_to_EdgePairsGeometry(o):
1270 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1271 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1272 _object_types.append(
"AttributeSingletonPredicate")
1275 def _object_cast_to_AttributeSingletonPredicate(o):
1276 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1277 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1278 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1281 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1282 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1283 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1284 _object_types.append(
"IsCollisionPairPredicate")
1287 def _object_cast_to_IsCollisionPairPredicate(o):
1288 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1289 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1290 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1291 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1292 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1294 def __init__(self, *args, **kwargs):
1295 raise AttributeError(
"No constructor defined - class is abstract")
1296 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1297 __del__ =
lambda self:
None
1299 def get_close_pairs(self, *args):
1301 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1302 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1303 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1304 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1306 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1309 def set_distance(self, d):
1310 """set_distance(ClosePairsFinder self, double d)"""
1311 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1315 """get_distance(ClosePairsFinder self) -> double"""
1316 return _IMP_core.ClosePairsFinder_get_distance(self)
1319 def remove_pair_filter(self, d):
1320 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1321 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1324 def remove_pair_filters(self, d):
1325 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1326 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1329 def set_pair_filters(self, ps):
1330 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1331 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1334 def set_pair_filters_order(self, objs):
1335 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1336 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1339 def add_pair_filter(self, obj):
1340 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1341 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1344 def add_pair_filters(self, objs):
1345 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1346 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1349 def clear_pair_filters(self):
1350 """clear_pair_filters(ClosePairsFinder self)"""
1351 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1354 def get_number_of_pair_filters(self):
1355 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1356 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1359 def get_has_pair_filters(self):
1360 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1361 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1364 def get_pair_filter(self, i):
1365 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1366 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1369 def get_pair_filters(self):
1370 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1371 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1374 def reserve_pair_filters(self, sz):
1375 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1376 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1380 """__str__(ClosePairsFinder self) -> std::string"""
1381 return _IMP_core.ClosePairsFinder___str__(self)
1385 """__repr__(ClosePairsFinder self) -> std::string"""
1386 return _IMP_core.ClosePairsFinder___repr__(self)
1389 return _object_cast_to_ClosePairsFinder(o)
1390 get_from = staticmethod(get_from)
1392 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1393 ClosePairsFinder_swigregister(ClosePairsFinder)
1395 class MonteCarloMoverResult(IMP._Value):
1396 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1397 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1399 def __init__(self, *args):
1401 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1402 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1403 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1405 this = _IMP_core.new_MonteCarloMoverResult(*args)
1407 self.this.append(this)
1412 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1413 return _IMP_core.MonteCarloMoverResult___hash__(self)
1416 def show(self, *args):
1418 show(MonteCarloMoverResult self, _ostream out)
1419 show(MonteCarloMoverResult self)
1421 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1424 def __cmp__(self, o):
1425 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1426 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1429 def __eq__(self, o):
1430 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1431 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1434 def __ne__(self, o):
1435 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1436 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1439 def __lt__(self, o):
1440 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1441 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1444 def __gt__(self, o):
1445 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1446 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1449 def __ge__(self, o):
1450 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1451 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1454 def __le__(self, o):
1455 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1456 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1459 def get_moved_particles(self):
1460 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1461 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1464 def set_moved_particles(self, v):
1465 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1466 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1469 def get_proposal_ratio(self):
1470 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1471 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1474 def set_proposal_ratio(self, v):
1475 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1476 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1480 """__str__(MonteCarloMoverResult self) -> std::string"""
1481 return _IMP_core.MonteCarloMoverResult___str__(self)
1485 """__repr__(MonteCarloMoverResult self) -> std::string"""
1486 return _IMP_core.MonteCarloMoverResult___repr__(self)
1488 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1489 __del__ =
lambda self:
None
1490 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1491 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1494 """Proxy of C++ IMP::core::MonteCarloMover class"""
1495 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1497 def __init__(self, m, name):
1498 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1499 if self.__class__ == MonteCarloMover:
1503 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1505 self.this.append(this)
1508 if self.__class__ != MonteCarloMover:
1509 _director_objects.register(self)
1515 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1516 return _IMP_core.MonteCarloMover_propose(self)
1520 """reject(MonteCarloMover self)"""
1521 return _IMP_core.MonteCarloMover_reject(self)
1525 """accept(MonteCarloMover self)"""
1526 return _IMP_core.MonteCarloMover_accept(self)
1529 def get_number_of_proposed(self):
1530 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1531 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1534 def get_number_of_accepted(self):
1535 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1536 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1539 def reset_statistics(self):
1540 """reset_statistics(MonteCarloMover self)"""
1541 return _IMP_core.MonteCarloMover_reset_statistics(self)
1544 def do_propose(self):
1545 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1546 return _IMP_core.MonteCarloMover_do_propose(self)
1549 def do_reject(self):
1550 """do_reject(MonteCarloMover self)"""
1551 return _IMP_core.MonteCarloMover_do_reject(self)
1554 def do_accept(self):
1555 """do_accept(MonteCarloMover self)"""
1556 return _IMP_core.MonteCarloMover_do_accept(self)
1559 def do_get_outputs(self):
1560 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1561 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1565 """__str__(MonteCarloMover self) -> std::string"""
1566 return _IMP_core.MonteCarloMover___str__(self)
1570 """__repr__(MonteCarloMover self) -> std::string"""
1571 return _IMP_core.MonteCarloMover___repr__(self)
1574 return _object_cast_to_MonteCarloMover(o)
1575 get_from = staticmethod(get_from)
1577 def get_type_name(self):
1578 return self.__class__.__name__
1579 def do_show(self, out):
1581 def get_version_info(self):
1582 if"IMP::core" ==
"IMP":
1583 return VersionInfo(self.__module__,
1584 __import__(self.__module__).get_module_version())
1587 __import__(self.__module__).get_module_version())
1589 return _object_cast_to_MonteCarloMover(o)
1590 get_from = staticmethod(get_from)
1592 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1593 __del__ =
lambda self:
None
1594 def __disown__(self):
1596 _IMP_core.disown_MonteCarloMover(self)
1597 return weakref_proxy(self)
1599 def do_destroy(self):
1600 """do_destroy(MonteCarloMover self)"""
1601 return _IMP_core.MonteCarloMover_do_destroy(self)
1604 def handle_set_has_required_score_states(self, arg0):
1605 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1606 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1609 def do_get_inputs(self):
1610 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1611 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1614 def do_get_interactions(self):
1615 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1616 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1618 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1619 MonteCarloMover_swigregister(MonteCarloMover)
1622 """Proxy of C++ IMP::core::XYZ class"""
1623 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1625 def get_coordinate_key(i):
1626 """get_coordinate_key(unsigned int i) -> FloatKey"""
1627 return _IMP_core.XYZ_get_coordinate_key(i)
1629 get_coordinate_key = staticmethod(get_coordinate_key)
1631 def __init__(self, *args):
1633 __init__(IMP::core::XYZ self) -> XYZ
1634 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1635 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1637 this = _IMP_core.new_XYZ(*args)
1639 self.this.append(this)
1643 def show(self, *args):
1645 show(XYZ self, _ostream out)
1648 return _IMP_core.XYZ_show(self, *args)
1651 def setup_particle(*args):
1653 setup_particle(Model m, ParticleIndex pi) -> XYZ
1654 setup_particle(_ParticleAdaptor decorator) -> XYZ
1655 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1656 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1658 return _IMP_core.XYZ_setup_particle(*args)
1660 setup_particle = staticmethod(setup_particle)
1663 """get_x(XYZ self) -> IMP::Float"""
1664 return _IMP_core.XYZ_get_x(self)
1668 """set_x(XYZ self, IMP::Float t)"""
1669 return _IMP_core.XYZ_set_x(self, t)
1673 """get_y(XYZ self) -> IMP::Float"""
1674 return _IMP_core.XYZ_get_y(self)
1678 """set_y(XYZ self, IMP::Float t)"""
1679 return _IMP_core.XYZ_set_y(self, t)
1683 """get_z(XYZ self) -> IMP::Float"""
1684 return _IMP_core.XYZ_get_z(self)
1688 """set_z(XYZ self, IMP::Float t)"""
1689 return _IMP_core.XYZ_set_z(self, t)
1692 def set_coordinate(self, i, v):
1693 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1694 return _IMP_core.XYZ_set_coordinate(self, i, v)
1697 def set_coordinates(self, v):
1698 """set_coordinates(XYZ self, Vector3D v)"""
1699 return _IMP_core.XYZ_set_coordinates(self, v)
1702 def get_coordinate(self, i):
1703 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1704 return _IMP_core.XYZ_get_coordinate(self, i)
1707 def add_to_derivatives(self, v, d):
1708 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1709 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
1712 def get_coordinates_are_optimized(self):
1713 """get_coordinates_are_optimized(XYZ self) -> bool"""
1714 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1717 def set_coordinates_are_optimized(self, tf):
1718 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1719 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
1722 def get_vector_to(self, b):
1723 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1724 return _IMP_core.XYZ_get_vector_to(self, b)
1727 def get_coordinates(self):
1728 """get_coordinates(XYZ self) -> Vector3D"""
1729 return _IMP_core.XYZ_get_coordinates(self)
1732 def get_derivatives(self):
1733 """get_derivatives(XYZ self) -> Vector3D"""
1734 return _IMP_core.XYZ_get_derivatives(self)
1737 def get_is_setup(*args):
1739 get_is_setup(_ParticleAdaptor p) -> bool
1740 get_is_setup(Model m, ParticleIndex pi) -> bool
1742 return _IMP_core.XYZ_get_is_setup(*args)
1744 get_is_setup = staticmethod(get_is_setup)
1747 """get_xyz_keys() -> IMP::FloatKeys const &"""
1748 return _IMP_core.XYZ_get_xyz_keys()
1750 get_xyz_keys = staticmethod(get_xyz_keys)
1752 def add_attribute(self, *args):
1754 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1755 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1756 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1757 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1758 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1759 add_attribute(XYZ self, ObjectKey a0, Object a1)
1761 return _IMP_core.XYZ_add_attribute(self, *args)
1764 def get_value(self, *args):
1766 get_value(XYZ self, FloatKey a0) -> IMP::Float
1767 get_value(XYZ self, IntKey a0) -> IMP::Int
1768 get_value(XYZ self, StringKey a0) -> IMP::String
1769 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1770 get_value(XYZ self, ObjectKey a0) -> Object
1772 return _IMP_core.XYZ_get_value(self, *args)
1775 def set_value(self, *args):
1777 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1778 set_value(XYZ self, IntKey a0, IMP::Int a1)
1779 set_value(XYZ self, StringKey a0, IMP::String a1)
1780 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1781 set_value(XYZ self, ObjectKey a0, Object a1)
1783 return _IMP_core.XYZ_set_value(self, *args)
1786 def remove_attribute(self, *args):
1788 remove_attribute(XYZ self, FloatKey a0)
1789 remove_attribute(XYZ self, IntKey a0)
1790 remove_attribute(XYZ self, StringKey a0)
1791 remove_attribute(XYZ self, ParticleIndexKey a0)
1792 remove_attribute(XYZ self, ObjectKey a0)
1794 return _IMP_core.XYZ_remove_attribute(self, *args)
1797 def has_attribute(self, *args):
1799 has_attribute(XYZ self, FloatKey a0) -> bool
1800 has_attribute(XYZ self, IntKey a0) -> bool
1801 has_attribute(XYZ self, StringKey a0) -> bool
1802 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1803 has_attribute(XYZ self, ObjectKey a0) -> bool
1805 return _IMP_core.XYZ_has_attribute(self, *args)
1808 def get_derivative(self, *args):
1810 get_derivative(XYZ self, int i) -> IMP::Float
1811 get_derivative(XYZ self, FloatKey a0) -> double
1813 return _IMP_core.XYZ_get_derivative(self, *args)
1817 """get_name(XYZ self) -> std::string"""
1818 return _IMP_core.XYZ_get_name(self)
1821 def clear_caches(self):
1822 """clear_caches(XYZ self)"""
1823 return _IMP_core.XYZ_clear_caches(self)
1826 def set_name(self, a0):
1827 """set_name(XYZ self, std::string a0)"""
1828 return _IMP_core.XYZ_set_name(self, a0)
1832 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
1833 return _IMP_core.XYZ_set_check_level(self, a0)
1836 def add_to_derivative(self, *args):
1838 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1839 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1841 return _IMP_core.XYZ_add_to_derivative(self, *args)
1844 def set_is_optimized(self, a0, a1):
1845 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1846 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
1849 def get_is_optimized(self, a0):
1850 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1851 return _IMP_core.XYZ_get_is_optimized(self, a0)
1855 """get_check_level(XYZ self) -> IMP::CheckLevel"""
1856 return _IMP_core.XYZ_get_check_level(self)
1859 def __eq__(self, *args):
1861 __eq__(XYZ self, XYZ o) -> bool
1862 __eq__(XYZ self, Particle d) -> bool
1864 return _IMP_core.XYZ___eq__(self, *args)
1867 def __ne__(self, *args):
1869 __ne__(XYZ self, XYZ o) -> bool
1870 __ne__(XYZ self, Particle d) -> bool
1872 return _IMP_core.XYZ___ne__(self, *args)
1875 def __le__(self, *args):
1877 __le__(XYZ self, XYZ o) -> bool
1878 __le__(XYZ self, Particle d) -> bool
1880 return _IMP_core.XYZ___le__(self, *args)
1883 def __lt__(self, *args):
1885 __lt__(XYZ self, XYZ o) -> bool
1886 __lt__(XYZ self, Particle d) -> bool
1888 return _IMP_core.XYZ___lt__(self, *args)
1891 def __ge__(self, *args):
1893 __ge__(XYZ self, XYZ o) -> bool
1894 __ge__(XYZ self, Particle d) -> bool
1896 return _IMP_core.XYZ___ge__(self, *args)
1899 def __gt__(self, *args):
1901 __gt__(XYZ self, XYZ o) -> bool
1902 __gt__(XYZ self, Particle d) -> bool
1904 return _IMP_core.XYZ___gt__(self, *args)
1908 """__hash__(XYZ self) -> std::size_t"""
1909 return _IMP_core.XYZ___hash__(self)
1913 """__str__(XYZ self) -> std::string"""
1914 return _IMP_core.XYZ___str__(self)
1918 """__repr__(XYZ self) -> std::string"""
1919 return _IMP_core.XYZ___repr__(self)
1921 __swig_destroy__ = _IMP_core.delete_XYZ
1922 __del__ =
lambda self:
None
1923 XYZ_swigregister = _IMP_core.XYZ_swigregister
1924 XYZ_swigregister(XYZ)
1926 def XYZ_get_coordinate_key(i):
1927 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1928 return _IMP_core.XYZ_get_coordinate_key(i)
1930 def XYZ_setup_particle(*args):
1932 setup_particle(Model m, ParticleIndex pi) -> XYZ
1933 setup_particle(_ParticleAdaptor decorator) -> XYZ
1934 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1935 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1937 return _IMP_core.XYZ_setup_particle(*args)
1939 def XYZ_get_is_setup(*args):
1941 get_is_setup(_ParticleAdaptor p) -> bool
1942 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
1944 return _IMP_core.XYZ_get_is_setup(*args)
1946 def XYZ_get_xyz_keys():
1947 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
1948 return _IMP_core.XYZ_get_xyz_keys()
1952 """set_vector_geometry(XYZ d, Vector3D v)"""
1953 return _IMP_core.set_vector_geometry(d, v)
1956 """get_vector_geometry(XYZ d) -> Vector3D"""
1957 return _IMP_core.get_vector_geometry(d)
1960 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1961 return _IMP_core.get_dihedral(a, b, c, d)
1963 """Proxy of C++ IMP::core::XYZR class"""
1964 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1966 def __init__(self, *args):
1968 __init__(IMP::core::XYZR self) -> XYZR
1969 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
1970 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
1972 this = _IMP_core.new_XYZR(*args)
1974 self.this.append(this)
1978 def show(self, *args):
1980 show(XYZR self, _ostream out)
1983 return _IMP_core.XYZR_show(self, *args)
1986 def setup_particle(*args):
1988 setup_particle(Model m, ParticleIndex pi) -> XYZR
1989 setup_particle(_ParticleAdaptor decorator) -> XYZR
1990 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
1991 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1992 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
1993 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1995 return _IMP_core.XYZR_setup_particle(*args)
1997 setup_particle = staticmethod(setup_particle)
1999 def get_is_setup(*args):
2001 get_is_setup(_ParticleAdaptor p) -> bool
2002 get_is_setup(Model m, ParticleIndex pi) -> bool
2004 return _IMP_core.XYZR_get_is_setup(*args)
2006 get_is_setup = staticmethod(get_is_setup)
2008 def get_radius(self):
2009 """get_radius(XYZR self) -> double"""
2010 return _IMP_core.XYZR_get_radius(self)
2013 def set_radius(self, r):
2014 """set_radius(XYZR self, double r)"""
2015 return _IMP_core.XYZR_set_radius(self, r)
2018 def get_sphere(self):
2019 """get_sphere(XYZR self) -> Sphere3D"""
2020 return _IMP_core.XYZR_get_sphere(self)
2023 def set_sphere(self, s):
2024 """set_sphere(XYZR self, Sphere3D s)"""
2025 return _IMP_core.XYZR_set_sphere(self, s)
2028 def get_radius_key():
2029 """get_radius_key() -> FloatKey"""
2030 return _IMP_core.XYZR_get_radius_key()
2032 get_radius_key = staticmethod(get_radius_key)
2034 def add_to_radius_derivative(self, v, d):
2035 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2036 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2039 def add_attribute(self, *args):
2041 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2042 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2043 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2044 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2045 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2046 add_attribute(XYZR self, ObjectKey a0, Object a1)
2048 return _IMP_core.XYZR_add_attribute(self, *args)
2051 def get_value(self, *args):
2053 get_value(XYZR self, FloatKey a0) -> IMP::Float
2054 get_value(XYZR self, IntKey a0) -> IMP::Int
2055 get_value(XYZR self, StringKey a0) -> IMP::String
2056 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2057 get_value(XYZR self, ObjectKey a0) -> Object
2059 return _IMP_core.XYZR_get_value(self, *args)
2062 def set_value(self, *args):
2064 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2065 set_value(XYZR self, IntKey a0, IMP::Int a1)
2066 set_value(XYZR self, StringKey a0, IMP::String a1)
2067 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2068 set_value(XYZR self, ObjectKey a0, Object a1)
2070 return _IMP_core.XYZR_set_value(self, *args)
2073 def remove_attribute(self, *args):
2075 remove_attribute(XYZR self, FloatKey a0)
2076 remove_attribute(XYZR self, IntKey a0)
2077 remove_attribute(XYZR self, StringKey a0)
2078 remove_attribute(XYZR self, ParticleIndexKey a0)
2079 remove_attribute(XYZR self, ObjectKey a0)
2081 return _IMP_core.XYZR_remove_attribute(self, *args)
2084 def has_attribute(self, *args):
2086 has_attribute(XYZR self, FloatKey a0) -> bool
2087 has_attribute(XYZR self, IntKey a0) -> bool
2088 has_attribute(XYZR self, StringKey a0) -> bool
2089 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2090 has_attribute(XYZR self, ObjectKey a0) -> bool
2092 return _IMP_core.XYZR_has_attribute(self, *args)
2095 def get_derivative(self, a0):
2096 """get_derivative(XYZR self, FloatKey a0) -> double"""
2097 return _IMP_core.XYZR_get_derivative(self, a0)
2101 """get_name(XYZR self) -> std::string"""
2102 return _IMP_core.XYZR_get_name(self)
2105 def clear_caches(self):
2106 """clear_caches(XYZR self)"""
2107 return _IMP_core.XYZR_clear_caches(self)
2110 def set_name(self, a0):
2111 """set_name(XYZR self, std::string a0)"""
2112 return _IMP_core.XYZR_set_name(self, a0)
2116 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2117 return _IMP_core.XYZR_set_check_level(self, a0)
2120 def add_to_derivative(self, a0, a1, a2):
2121 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2122 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2125 def set_is_optimized(self, a0, a1):
2126 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2127 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2130 def get_is_optimized(self, a0):
2131 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2132 return _IMP_core.XYZR_get_is_optimized(self, a0)
2136 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2137 return _IMP_core.XYZR_get_check_level(self)
2140 def __eq__(self, *args):
2142 __eq__(XYZR self, XYZR o) -> bool
2143 __eq__(XYZR self, Particle d) -> bool
2145 return _IMP_core.XYZR___eq__(self, *args)
2148 def __ne__(self, *args):
2150 __ne__(XYZR self, XYZR o) -> bool
2151 __ne__(XYZR self, Particle d) -> bool
2153 return _IMP_core.XYZR___ne__(self, *args)
2156 def __le__(self, *args):
2158 __le__(XYZR self, XYZR o) -> bool
2159 __le__(XYZR self, Particle d) -> bool
2161 return _IMP_core.XYZR___le__(self, *args)
2164 def __lt__(self, *args):
2166 __lt__(XYZR self, XYZR o) -> bool
2167 __lt__(XYZR self, Particle d) -> bool
2169 return _IMP_core.XYZR___lt__(self, *args)
2172 def __ge__(self, *args):
2174 __ge__(XYZR self, XYZR o) -> bool
2175 __ge__(XYZR self, Particle d) -> bool
2177 return _IMP_core.XYZR___ge__(self, *args)
2180 def __gt__(self, *args):
2182 __gt__(XYZR self, XYZR o) -> bool
2183 __gt__(XYZR self, Particle d) -> bool
2185 return _IMP_core.XYZR___gt__(self, *args)
2189 """__hash__(XYZR self) -> std::size_t"""
2190 return _IMP_core.XYZR___hash__(self)
2194 """__str__(XYZR self) -> std::string"""
2195 return _IMP_core.XYZR___str__(self)
2199 """__repr__(XYZR self) -> std::string"""
2200 return _IMP_core.XYZR___repr__(self)
2202 __swig_destroy__ = _IMP_core.delete_XYZR
2203 __del__ =
lambda self:
None
2204 XYZR_swigregister = _IMP_core.XYZR_swigregister
2205 XYZR_swigregister(XYZR)
2207 def XYZR_setup_particle(*args):
2209 setup_particle(Model m, ParticleIndex pi) -> XYZR
2210 setup_particle(_ParticleAdaptor decorator) -> XYZR
2211 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2212 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2213 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2214 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2216 return _IMP_core.XYZR_setup_particle(*args)
2218 def XYZR_get_is_setup(*args):
2220 get_is_setup(_ParticleAdaptor p) -> bool
2221 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2223 return _IMP_core.XYZR_get_is_setup(*args)
2225 def XYZR_get_radius_key():
2226 """XYZR_get_radius_key() -> FloatKey"""
2227 return _IMP_core.XYZR_get_radius_key()
2232 get_distance(XYZ a, XYZ b) -> double
2233 get_distance(XYZR a, XYZR b) -> double
2235 return _IMP_core.get_distance(*args)
2239 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2240 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2242 return _IMP_core.set_enclosing_sphere(b, v, slack)
2245 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2246 return _IMP_core.set_enclosing_radius(b, v)
2249 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2250 return _IMP_core.get_enclosing_sphere(v)
2254 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2255 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2257 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2259 """Proxy of C++ IMP::core::XYZRGeometry class"""
2260 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2262 def __init__(self, *args):
2264 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2265 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2267 this = _IMP_core.new_XYZRGeometry(*args)
2269 self.this.append(this)
2273 def get_version_info(self):
2274 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2275 return _IMP_core.XYZRGeometry_get_version_info(self)
2279 """__str__(XYZRGeometry self) -> std::string"""
2280 return _IMP_core.XYZRGeometry___str__(self)
2284 """__repr__(XYZRGeometry self) -> std::string"""
2285 return _IMP_core.XYZRGeometry___repr__(self)
2288 return _object_cast_to_XYZRGeometry(o)
2289 get_from = staticmethod(get_from)
2291 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2292 XYZRGeometry_swigregister(XYZRGeometry)
2295 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2298 def __init__(self, sc):
2299 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2300 this = _IMP_core.new_XYZRsGeometry(sc)
2302 self.this.append(this)
2306 def get_version_info(self):
2307 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2308 return _IMP_core.XYZRsGeometry_get_version_info(self)
2312 """__str__(XYZRsGeometry self) -> std::string"""
2313 return _IMP_core.XYZRsGeometry___str__(self)
2317 """__repr__(XYZRsGeometry self) -> std::string"""
2318 return _IMP_core.XYZRsGeometry___repr__(self)
2321 return _object_cast_to_XYZRsGeometry(o)
2322 get_from = staticmethod(get_from)
2324 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2325 XYZRsGeometry_swigregister(XYZRsGeometry)
2328 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2329 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2331 def __init__(self, *args):
2333 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2334 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2336 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2338 self.this.append(this)
2342 def get_version_info(self):
2343 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2344 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2348 """__str__(XYZDerivativeGeometry self) -> std::string"""
2349 return _IMP_core.XYZDerivativeGeometry___str__(self)
2353 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2354 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2357 return _object_cast_to_XYZDerivativeGeometry(o)
2358 get_from = staticmethod(get_from)
2360 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2361 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2364 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2365 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2367 def __init__(self, sc):
2368 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2369 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2371 self.this.append(this)
2375 def get_version_info(self):
2376 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2377 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2381 """__str__(XYZDerivativesGeometry self) -> std::string"""
2382 return _IMP_core.XYZDerivativesGeometry___str__(self)
2386 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2387 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2390 return _object_cast_to_XYZDerivativesGeometry(o)
2391 get_from = staticmethod(get_from)
2393 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2394 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2397 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2400 def __init__(self, pp):
2401 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2402 this = _IMP_core.new_EdgePairGeometry(pp)
2404 self.this.append(this)
2408 def get_version_info(self):
2409 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2410 return _IMP_core.EdgePairGeometry_get_version_info(self)
2414 """__str__(EdgePairGeometry self) -> std::string"""
2415 return _IMP_core.EdgePairGeometry___str__(self)
2419 """__repr__(EdgePairGeometry self) -> std::string"""
2420 return _IMP_core.EdgePairGeometry___repr__(self)
2423 return _object_cast_to_EdgePairGeometry(o)
2424 get_from = staticmethod(get_from)
2426 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2427 EdgePairGeometry_swigregister(EdgePairGeometry)
2430 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2433 def __init__(self, sc):
2434 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2435 this = _IMP_core.new_EdgePairsGeometry(sc)
2437 self.this.append(this)
2441 def get_version_info(self):
2442 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2443 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2447 """__str__(EdgePairsGeometry self) -> std::string"""
2448 return _IMP_core.EdgePairsGeometry___str__(self)
2452 """__repr__(EdgePairsGeometry self) -> std::string"""
2453 return _IMP_core.EdgePairsGeometry___repr__(self)
2456 return _object_cast_to_EdgePairsGeometry(o)
2457 get_from = staticmethod(get_from)
2459 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2460 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2463 """Proxy of C++ IMP::core::AngleTripletScore class"""
2464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2466 def __init__(self, f):
2467 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2468 this = _IMP_core.new_AngleTripletScore(f)
2470 self.this.append(this)
2474 def do_get_inputs(self, m, pis):
2475 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2476 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
2479 def get_version_info(self):
2480 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2481 return _IMP_core.AngleTripletScore_get_version_info(self)
2485 """__str__(AngleTripletScore self) -> std::string"""
2486 return _IMP_core.AngleTripletScore___str__(self)
2490 """__repr__(AngleTripletScore self) -> std::string"""
2491 return _IMP_core.AngleTripletScore___repr__(self)
2494 return _object_cast_to_AngleTripletScore(o)
2495 get_from = staticmethod(get_from)
2497 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2498 AngleTripletScore_swigregister(AngleTripletScore)
2500 class BallMover(MonteCarloMover):
2501 """Proxy of C++ IMP::core::BallMover class"""
2502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2504 def __init__(self, *args):
2506 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
2507 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
2508 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
2509 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2511 this = _IMP_core.new_BallMover(*args)
2513 self.this.append(this)
2517 def set_radius(self, radius):
2518 """set_radius(BallMover self, IMP::Float radius)"""
2519 return _IMP_core.BallMover_set_radius(self, radius)
2522 def get_radius(self):
2523 """get_radius(BallMover self) -> IMP::Float"""
2524 return _IMP_core.BallMover_get_radius(self)
2527 def get_version_info(self):
2528 """get_version_info(BallMover self) -> VersionInfo"""
2529 return _IMP_core.BallMover_get_version_info(self)
2533 """__str__(BallMover self) -> std::string"""
2534 return _IMP_core.BallMover___str__(self)
2538 """__repr__(BallMover self) -> std::string"""
2539 return _IMP_core.BallMover___repr__(self)
2542 return _object_cast_to_BallMover(o)
2543 get_from = staticmethod(get_from)
2545 BallMover_swigregister = _IMP_core.BallMover_swigregister
2546 BallMover_swigregister(BallMover)
2548 class SerialMover(MonteCarloMover):
2549 """Proxy of C++ IMP::core::SerialMover class"""
2550 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2552 def __init__(self, mvs):
2553 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2554 this = _IMP_core.new_SerialMover(mvs)
2556 self.this.append(this)
2560 def get_movers(self):
2561 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2562 return _IMP_core.SerialMover_get_movers(self)
2565 def get_version_info(self):
2566 """get_version_info(SerialMover self) -> VersionInfo"""
2567 return _IMP_core.SerialMover_get_version_info(self)
2571 """__str__(SerialMover self) -> std::string"""
2572 return _IMP_core.SerialMover___str__(self)
2576 """__repr__(SerialMover self) -> std::string"""
2577 return _IMP_core.SerialMover___repr__(self)
2580 return _object_cast_to_SerialMover(o)
2581 get_from = staticmethod(get_from)
2583 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2584 SerialMover_swigregister(SerialMover)
2586 class BoxSweepClosePairsFinder(ClosePairsFinder):
2587 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2588 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2591 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2592 this = _IMP_core.new_BoxSweepClosePairsFinder()
2594 self.this.append(this)
2598 def get_close_pairs(self, *args):
2600 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2601 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2602 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
2603 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
2605 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2608 def do_get_inputs(self, m, pis):
2609 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2610 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
2613 def get_version_info(self):
2614 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2615 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2619 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2620 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2624 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2625 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2628 return _object_cast_to_BoxSweepClosePairsFinder(o)
2629 get_from = staticmethod(get_from)
2631 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2632 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2635 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2636 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2638 def __init__(self, *args):
2640 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
2641 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
2642 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2644 this = _IMP_core.new_CentroidOfRefined(*args)
2646 self.this.append(this)
2650 def do_get_inputs(self, m, pis):
2651 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2652 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
2655 def do_get_outputs(self, m, pis):
2656 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2657 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
2660 def get_version_info(self):
2661 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2662 return _IMP_core.CentroidOfRefined_get_version_info(self)
2666 """__str__(CentroidOfRefined self) -> std::string"""
2667 return _IMP_core.CentroidOfRefined___str__(self)
2671 """__repr__(CentroidOfRefined self) -> std::string"""
2672 return _IMP_core.CentroidOfRefined___repr__(self)
2675 return _object_cast_to_CentroidOfRefined(o)
2676 get_from = staticmethod(get_from)
2678 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2679 CentroidOfRefined_swigregister(CentroidOfRefined)
2681 class Centroid(XYZ):
2682 """Proxy of C++ IMP::core::Centroid class"""
2683 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2685 def get_constraint(self):
2686 """get_constraint(Centroid self) -> Constraint"""
2687 return _IMP_core.Centroid_get_constraint(self)
2690 def __init__(self, *args):
2692 __init__(IMP::core::Centroid self) -> Centroid
2693 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
2694 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2696 this = _IMP_core.new_Centroid(*args)
2698 self.this.append(this)
2702 def show(self, *args):
2704 show(Centroid self, _ostream out)
2707 return _IMP_core.Centroid_show(self, *args)
2710 def setup_particle(*args):
2712 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2713 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2714 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
2715 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2717 return _IMP_core.Centroid_setup_particle(*args)
2719 setup_particle = staticmethod(setup_particle)
2721 def get_is_setup(*args):
2723 get_is_setup(_ParticleAdaptor p) -> bool
2724 get_is_setup(Model m, ParticleIndex pi) -> bool
2726 return _IMP_core.Centroid_get_is_setup(*args)
2728 get_is_setup = staticmethod(get_is_setup)
2730 def add_attribute(self, *args):
2732 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2733 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2734 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2735 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2736 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2737 add_attribute(Centroid self, ObjectKey a0, Object a1)
2739 return _IMP_core.Centroid_add_attribute(self, *args)
2742 def get_value(self, *args):
2744 get_value(Centroid self, FloatKey a0) -> IMP::Float
2745 get_value(Centroid self, IntKey a0) -> IMP::Int
2746 get_value(Centroid self, StringKey a0) -> IMP::String
2747 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2748 get_value(Centroid self, ObjectKey a0) -> Object
2750 return _IMP_core.Centroid_get_value(self, *args)
2753 def set_value(self, *args):
2755 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2756 set_value(Centroid self, IntKey a0, IMP::Int a1)
2757 set_value(Centroid self, StringKey a0, IMP::String a1)
2758 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2759 set_value(Centroid self, ObjectKey a0, Object a1)
2761 return _IMP_core.Centroid_set_value(self, *args)
2764 def remove_attribute(self, *args):
2766 remove_attribute(Centroid self, FloatKey a0)
2767 remove_attribute(Centroid self, IntKey a0)
2768 remove_attribute(Centroid self, StringKey a0)
2769 remove_attribute(Centroid self, ParticleIndexKey a0)
2770 remove_attribute(Centroid self, ObjectKey a0)
2772 return _IMP_core.Centroid_remove_attribute(self, *args)
2775 def has_attribute(self, *args):
2777 has_attribute(Centroid self, FloatKey a0) -> bool
2778 has_attribute(Centroid self, IntKey a0) -> bool
2779 has_attribute(Centroid self, StringKey a0) -> bool
2780 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2781 has_attribute(Centroid self, ObjectKey a0) -> bool
2783 return _IMP_core.Centroid_has_attribute(self, *args)
2786 def get_derivative(self, a0):
2787 """get_derivative(Centroid self, FloatKey a0) -> double"""
2788 return _IMP_core.Centroid_get_derivative(self, a0)
2792 """get_name(Centroid self) -> std::string"""
2793 return _IMP_core.Centroid_get_name(self)
2796 def clear_caches(self):
2797 """clear_caches(Centroid self)"""
2798 return _IMP_core.Centroid_clear_caches(self)
2801 def set_name(self, a0):
2802 """set_name(Centroid self, std::string a0)"""
2803 return _IMP_core.Centroid_set_name(self, a0)
2807 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
2808 return _IMP_core.Centroid_set_check_level(self, a0)
2811 def add_to_derivative(self, a0, a1, a2):
2812 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2813 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
2816 def set_is_optimized(self, a0, a1):
2817 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2818 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
2821 def get_is_optimized(self, a0):
2822 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2823 return _IMP_core.Centroid_get_is_optimized(self, a0)
2827 """get_check_level(Centroid self) -> IMP::CheckLevel"""
2828 return _IMP_core.Centroid_get_check_level(self)
2831 def __eq__(self, *args):
2833 __eq__(Centroid self, Centroid o) -> bool
2834 __eq__(Centroid self, Particle d) -> bool
2836 return _IMP_core.Centroid___eq__(self, *args)
2839 def __ne__(self, *args):
2841 __ne__(Centroid self, Centroid o) -> bool
2842 __ne__(Centroid self, Particle d) -> bool
2844 return _IMP_core.Centroid___ne__(self, *args)
2847 def __le__(self, *args):
2849 __le__(Centroid self, Centroid o) -> bool
2850 __le__(Centroid self, Particle d) -> bool
2852 return _IMP_core.Centroid___le__(self, *args)
2855 def __lt__(self, *args):
2857 __lt__(Centroid self, Centroid o) -> bool
2858 __lt__(Centroid self, Particle d) -> bool
2860 return _IMP_core.Centroid___lt__(self, *args)
2863 def __ge__(self, *args):
2865 __ge__(Centroid self, Centroid o) -> bool
2866 __ge__(Centroid self, Particle d) -> bool
2868 return _IMP_core.Centroid___ge__(self, *args)
2871 def __gt__(self, *args):
2873 __gt__(Centroid self, Centroid o) -> bool
2874 __gt__(Centroid self, Particle d) -> bool
2876 return _IMP_core.Centroid___gt__(self, *args)
2880 """__hash__(Centroid self) -> std::size_t"""
2881 return _IMP_core.Centroid___hash__(self)
2885 """__str__(Centroid self) -> std::string"""
2886 return _IMP_core.Centroid___str__(self)
2890 """__repr__(Centroid self) -> std::string"""
2891 return _IMP_core.Centroid___repr__(self)
2893 __swig_destroy__ = _IMP_core.delete_Centroid
2894 __del__ =
lambda self:
None
2895 Centroid_swigregister = _IMP_core.Centroid_swigregister
2896 Centroid_swigregister(Centroid)
2898 def Centroid_setup_particle(*args):
2900 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2901 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2902 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
2903 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2905 return _IMP_core.Centroid_setup_particle(*args)
2907 def Centroid_get_is_setup(*args):
2909 get_is_setup(_ParticleAdaptor p) -> bool
2910 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
2912 return _IMP_core.Centroid_get_is_setup(*args)
2915 """Proxy of C++ IMP::core::ChecksScoreState class"""
2916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2918 def __init__(self, m, probability):
2919 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
2920 this = _IMP_core.new_ChecksScoreState(m, probability)
2922 self.this.append(this)
2926 def get_number_of_checked(self):
2927 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2928 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2931 def do_before_evaluate(self):
2932 """do_before_evaluate(ChecksScoreState self)"""
2933 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
2936 def do_after_evaluate(self, da):
2937 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
2938 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
2941 def do_get_outputs(self):
2942 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
2943 return _IMP_core.ChecksScoreState_do_get_outputs(self)
2946 def do_get_inputs(self):
2947 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
2948 return _IMP_core.ChecksScoreState_do_get_inputs(self)
2951 def get_version_info(self):
2952 """get_version_info(ChecksScoreState self) -> VersionInfo"""
2953 return _IMP_core.ChecksScoreState_get_version_info(self)
2957 """__str__(ChecksScoreState self) -> std::string"""
2958 return _IMP_core.ChecksScoreState___str__(self)
2962 """__repr__(ChecksScoreState self) -> std::string"""
2963 return _IMP_core.ChecksScoreState___repr__(self)
2966 return _object_cast_to_ChecksScoreState(o)
2967 get_from = staticmethod(get_from)
2969 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2970 ChecksScoreState_swigregister(ChecksScoreState)
2973 """Proxy of C++ IMP::core::ChildrenRefiner class"""
2974 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2976 def __init__(self, tr):
2977 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2978 this = _IMP_core.new_ChildrenRefiner(tr)
2980 self.this.append(this)
2984 def do_get_inputs(self, m, pis):
2985 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2986 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
2989 def get_version_info(self):
2990 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2991 return _IMP_core.ChildrenRefiner_get_version_info(self)
2995 """__str__(ChildrenRefiner self) -> std::string"""
2996 return _IMP_core.ChildrenRefiner___str__(self)
3000 """__repr__(ChildrenRefiner self) -> std::string"""
3001 return _IMP_core.ChildrenRefiner___repr__(self)
3004 return _object_cast_to_ChildrenRefiner(o)
3005 get_from = staticmethod(get_from)
3007 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
3008 ChildrenRefiner_swigregister(ChildrenRefiner)
3011 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
3012 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3014 def __init__(self, values, minrange, spacing):
3015 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
3016 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
3018 self.this.append(this)
3022 def get_version_info(self):
3023 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
3024 return _IMP_core.ClosedCubicSpline_get_version_info(self)
3027 def do_show(self, out):
3028 """do_show(ClosedCubicSpline self, _ostream out)"""
3029 return _IMP_core.ClosedCubicSpline_do_show(self, out)
3033 """__str__(ClosedCubicSpline self) -> std::string"""
3034 return _IMP_core.ClosedCubicSpline___str__(self)
3038 """__repr__(ClosedCubicSpline self) -> std::string"""
3039 return _IMP_core.ClosedCubicSpline___repr__(self)
3042 return _object_cast_to_ClosedCubicSpline(o)
3043 get_from = staticmethod(get_from)
3045 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
3046 ClosedCubicSpline_swigregister(ClosedCubicSpline)
3049 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
3050 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3052 def __init__(self, f, r, k=1):
3054 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
3055 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
3057 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
3059 self.this.append(this)
3063 def get_close_pairs(self, pp):
3064 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3065 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
3068 def create_current_decomposition(self, m, vt):
3069 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3070 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
3073 def do_get_inputs(self, m, pis):
3074 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3075 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
3078 def get_version_info(self):
3079 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
3080 return _IMP_core.KClosePairsPairScore_get_version_info(self)
3084 """__str__(KClosePairsPairScore self) -> std::string"""
3085 return _IMP_core.KClosePairsPairScore___str__(self)
3089 """__repr__(KClosePairsPairScore self) -> std::string"""
3090 return _IMP_core.KClosePairsPairScore___repr__(self)
3093 return _object_cast_to_KClosePairsPairScore(o)
3094 get_from = staticmethod(get_from)
3096 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
3097 KClosePairsPairScore_swigregister(KClosePairsPairScore)
3100 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
3101 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3103 def __init__(self, f, r, max_distance):
3104 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
3105 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
3107 self.this.append(this)
3111 def get_close_pairs(self, pp):
3112 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3113 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
3116 def create_current_decomposition(self, m, vt):
3117 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3118 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
3121 def do_get_inputs(self, m, pis):
3122 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3123 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
3126 def get_version_info(self):
3127 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
3128 return _IMP_core.ClosePairsPairScore_get_version_info(self)
3132 """__str__(ClosePairsPairScore self) -> std::string"""
3133 return _IMP_core.ClosePairsPairScore___str__(self)
3137 """__repr__(ClosePairsPairScore self) -> std::string"""
3138 return _IMP_core.ClosePairsPairScore___repr__(self)
3141 return _object_cast_to_ClosePairsPairScore(o)
3142 get_from = staticmethod(get_from)
3144 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
3145 ClosePairsPairScore_swigregister(ClosePairsPairScore)
3148 """Proxy of C++ IMP::core::ConjugateGradients class"""
3149 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3151 def __init__(self, *args):
3153 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
3154 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
3156 this = _IMP_core.new_ConjugateGradients(*args)
3158 self.this.append(this)
3162 def set_gradient_threshold(self, t):
3163 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
3164 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
3167 def set_threshold(self, t):
3168 """set_threshold(ConjugateGradients self, IMP::Float t)"""
3169 return _IMP_core.ConjugateGradients_set_threshold(self, t)
3172 def set_max_change(self, t):
3173 """set_max_change(ConjugateGradients self, IMP::Float t)"""
3174 return _IMP_core.ConjugateGradients_set_max_change(self, t)
3177 def do_optimize(self, max_steps):
3178 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
3179 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
3182 def get_version_info(self):
3183 """get_version_info(ConjugateGradients self) -> VersionInfo"""
3184 return _IMP_core.ConjugateGradients_get_version_info(self)
3188 """__str__(ConjugateGradients self) -> std::string"""
3189 return _IMP_core.ConjugateGradients___str__(self)
3193 """__repr__(ConjugateGradients self) -> std::string"""
3194 return _IMP_core.ConjugateGradients___repr__(self)
3197 return _object_cast_to_ConjugateGradients(o)
3198 get_from = staticmethod(get_from)
3200 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3201 ConjugateGradients_swigregister(ConjugateGradients)
3204 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
3205 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3207 def __init__(self, ps, sc):
3208 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
3209 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
3211 self.this.append(this)
3215 def get_connected_pairs(self):
3216 """get_connected_pairs(ConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
3217 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3220 def get_pair_score(self):
3221 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3222 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3225 def do_create_current_decomposition(self):
3226 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
3227 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3230 def do_get_inputs(self):
3231 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
3232 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3235 def get_version_info(self):
3236 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3237 return _IMP_core.ConnectivityRestraint_get_version_info(self)
3241 """__str__(ConnectivityRestraint self) -> std::string"""
3242 return _IMP_core.ConnectivityRestraint___str__(self)
3246 """__repr__(ConnectivityRestraint self) -> std::string"""
3247 return _IMP_core.ConnectivityRestraint___repr__(self)
3250 return _object_cast_to_ConnectivityRestraint(o)
3251 get_from = staticmethod(get_from)
3253 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3254 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3257 """Proxy of C++ IMP::core::ConstantRestraint class"""
3258 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3260 def __init__(self, m, v):
3261 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
3262 this = _IMP_core.new_ConstantRestraint(m, v)
3264 self.this.append(this)
3268 def do_get_inputs(self):
3269 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
3270 return _IMP_core.ConstantRestraint_do_get_inputs(self)
3273 def get_version_info(self):
3274 """get_version_info(ConstantRestraint self) -> VersionInfo"""
3275 return _IMP_core.ConstantRestraint_get_version_info(self)
3279 """__str__(ConstantRestraint self) -> std::string"""
3280 return _IMP_core.ConstantRestraint___str__(self)
3284 """__repr__(ConstantRestraint self) -> std::string"""
3285 return _IMP_core.ConstantRestraint___repr__(self)
3288 return _object_cast_to_ConstantRestraint(o)
3289 get_from = staticmethod(get_from)
3291 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3292 ConstantRestraint_swigregister(ConstantRestraint)
3295 """Proxy of C++ IMP::core::Cosine class"""
3296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3298 def __init__(self, force_constant, periodicity, phase):
3299 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3300 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
3302 self.this.append(this)
3306 def get_version_info(self):
3307 """get_version_info(Cosine self) -> VersionInfo"""
3308 return _IMP_core.Cosine_get_version_info(self)
3311 def do_show(self, out):
3312 """do_show(Cosine self, _ostream out)"""
3313 return _IMP_core.Cosine_do_show(self, out)
3317 """__str__(Cosine self) -> std::string"""
3318 return _IMP_core.Cosine___str__(self)
3322 """__repr__(Cosine self) -> std::string"""
3323 return _IMP_core.Cosine___repr__(self)
3326 return _object_cast_to_Cosine(o)
3327 get_from = staticmethod(get_from)
3329 Cosine_swigregister = _IMP_core.Cosine_swigregister
3330 Cosine_swigregister(Cosine)
3333 """Proxy of C++ IMP::core::CoverRefined class"""
3334 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3336 def __init__(self, ref, slack=0):
3338 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3339 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3341 this = _IMP_core.new_CoverRefined(ref, slack)
3343 self.this.append(this)
3347 def set_slack(self, slack):
3348 """set_slack(CoverRefined self, IMP::Float slack)"""
3349 return _IMP_core.CoverRefined_set_slack(self, slack)
3352 def do_get_inputs(self, m, pis):
3353 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3354 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
3357 def do_get_outputs(self, m, pis):
3358 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3359 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
3362 def get_version_info(self):
3363 """get_version_info(CoverRefined self) -> VersionInfo"""
3364 return _IMP_core.CoverRefined_get_version_info(self)
3368 """__str__(CoverRefined self) -> std::string"""
3369 return _IMP_core.CoverRefined___str__(self)
3373 """__repr__(CoverRefined self) -> std::string"""
3374 return _IMP_core.CoverRefined___repr__(self)
3377 return _object_cast_to_CoverRefined(o)
3378 get_from = staticmethod(get_from)
3380 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3381 CoverRefined_swigregister(CoverRefined)
3384 """Proxy of C++ IMP::core::Cover class"""
3385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3387 def get_constraint(self):
3388 """get_constraint(Cover self) -> Constraint"""
3389 return _IMP_core.Cover_get_constraint(self)
3392 def __init__(self, *args):
3394 __init__(IMP::core::Cover self) -> Cover
3395 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
3396 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3398 this = _IMP_core.new_Cover(*args)
3400 self.this.append(this)
3404 def show(self, *args):
3406 show(Cover self, _ostream out)
3409 return _IMP_core.Cover_show(self, *args)
3412 def setup_particle(*args):
3414 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3415 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3416 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
3417 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3419 return _IMP_core.Cover_setup_particle(*args)
3421 setup_particle = staticmethod(setup_particle)
3423 def get_is_setup(*args):
3425 get_is_setup(_ParticleAdaptor p) -> bool
3426 get_is_setup(Model m, ParticleIndex pi) -> bool
3428 return _IMP_core.Cover_get_is_setup(*args)
3430 get_is_setup = staticmethod(get_is_setup)
3432 def add_attribute(self, *args):
3434 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3435 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3436 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3437 add_attribute(Cover self, StringKey a0, IMP::String a1)
3438 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3439 add_attribute(Cover self, ObjectKey a0, Object a1)
3441 return _IMP_core.Cover_add_attribute(self, *args)
3444 def get_value(self, *args):
3446 get_value(Cover self, FloatKey a0) -> IMP::Float
3447 get_value(Cover self, IntKey a0) -> IMP::Int
3448 get_value(Cover self, StringKey a0) -> IMP::String
3449 get_value(Cover self, ParticleIndexKey a0) -> Particle
3450 get_value(Cover self, ObjectKey a0) -> Object
3452 return _IMP_core.Cover_get_value(self, *args)
3455 def set_value(self, *args):
3457 set_value(Cover self, FloatKey a0, IMP::Float a1)
3458 set_value(Cover self, IntKey a0, IMP::Int a1)
3459 set_value(Cover self, StringKey a0, IMP::String a1)
3460 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3461 set_value(Cover self, ObjectKey a0, Object a1)
3463 return _IMP_core.Cover_set_value(self, *args)
3466 def remove_attribute(self, *args):
3468 remove_attribute(Cover self, FloatKey a0)
3469 remove_attribute(Cover self, IntKey a0)
3470 remove_attribute(Cover self, StringKey a0)
3471 remove_attribute(Cover self, ParticleIndexKey a0)
3472 remove_attribute(Cover self, ObjectKey a0)
3474 return _IMP_core.Cover_remove_attribute(self, *args)
3477 def has_attribute(self, *args):
3479 has_attribute(Cover self, FloatKey a0) -> bool
3480 has_attribute(Cover self, IntKey a0) -> bool
3481 has_attribute(Cover self, StringKey a0) -> bool
3482 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3483 has_attribute(Cover self, ObjectKey a0) -> bool
3485 return _IMP_core.Cover_has_attribute(self, *args)
3488 def get_derivative(self, a0):
3489 """get_derivative(Cover self, FloatKey a0) -> double"""
3490 return _IMP_core.Cover_get_derivative(self, a0)
3494 """get_name(Cover self) -> std::string"""
3495 return _IMP_core.Cover_get_name(self)
3498 def clear_caches(self):
3499 """clear_caches(Cover self)"""
3500 return _IMP_core.Cover_clear_caches(self)
3503 def set_name(self, a0):
3504 """set_name(Cover self, std::string a0)"""
3505 return _IMP_core.Cover_set_name(self, a0)
3509 """set_check_level(Cover self, IMP::CheckLevel a0)"""
3510 return _IMP_core.Cover_set_check_level(self, a0)
3513 def add_to_derivative(self, a0, a1, a2):
3514 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3515 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
3518 def set_is_optimized(self, a0, a1):
3519 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3520 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
3523 def get_is_optimized(self, a0):
3524 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3525 return _IMP_core.Cover_get_is_optimized(self, a0)
3529 """get_check_level(Cover self) -> IMP::CheckLevel"""
3530 return _IMP_core.Cover_get_check_level(self)
3533 def __eq__(self, *args):
3535 __eq__(Cover self, Cover o) -> bool
3536 __eq__(Cover self, Particle d) -> bool
3538 return _IMP_core.Cover___eq__(self, *args)
3541 def __ne__(self, *args):
3543 __ne__(Cover self, Cover o) -> bool
3544 __ne__(Cover self, Particle d) -> bool
3546 return _IMP_core.Cover___ne__(self, *args)
3549 def __le__(self, *args):
3551 __le__(Cover self, Cover o) -> bool
3552 __le__(Cover self, Particle d) -> bool
3554 return _IMP_core.Cover___le__(self, *args)
3557 def __lt__(self, *args):
3559 __lt__(Cover self, Cover o) -> bool
3560 __lt__(Cover self, Particle d) -> bool
3562 return _IMP_core.Cover___lt__(self, *args)
3565 def __ge__(self, *args):
3567 __ge__(Cover self, Cover o) -> bool
3568 __ge__(Cover self, Particle d) -> bool
3570 return _IMP_core.Cover___ge__(self, *args)
3573 def __gt__(self, *args):
3575 __gt__(Cover self, Cover o) -> bool
3576 __gt__(Cover self, Particle d) -> bool
3578 return _IMP_core.Cover___gt__(self, *args)
3582 """__hash__(Cover self) -> std::size_t"""
3583 return _IMP_core.Cover___hash__(self)
3587 """__str__(Cover self) -> std::string"""
3588 return _IMP_core.Cover___str__(self)
3592 """__repr__(Cover self) -> std::string"""
3593 return _IMP_core.Cover___repr__(self)
3595 __swig_destroy__ = _IMP_core.delete_Cover
3596 __del__ =
lambda self:
None
3597 Cover_swigregister = _IMP_core.Cover_swigregister
3598 Cover_swigregister(Cover)
3600 def Cover_setup_particle(*args):
3602 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3603 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3604 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
3605 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3607 return _IMP_core.Cover_setup_particle(*args)
3609 def Cover_get_is_setup(*args):
3611 get_is_setup(_ParticleAdaptor p) -> bool
3612 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
3614 return _IMP_core.Cover_get_is_setup(*args)
3617 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3618 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3620 def __init__(self, *args):
3622 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
3623 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3625 this = _IMP_core.new_DerivativesFromRefined(*args)
3627 self.this.append(this)
3631 def do_get_inputs(self, m, pis):
3632 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3633 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
3636 def do_get_outputs(self, m, pis):
3637 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3638 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
3641 def get_version_info(self):
3642 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3643 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3647 """__str__(DerivativesFromRefined self) -> std::string"""
3648 return _IMP_core.DerivativesFromRefined___str__(self)
3652 """__repr__(DerivativesFromRefined self) -> std::string"""
3653 return _IMP_core.DerivativesFromRefined___repr__(self)
3656 return _object_cast_to_DerivativesFromRefined(o)
3657 get_from = staticmethod(get_from)
3659 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3660 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3663 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3664 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3666 def __init__(self, *args):
3668 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
3669 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3671 this = _IMP_core.new_DerivativesToRefined(*args)
3673 self.this.append(this)
3677 def do_get_inputs(self, m, pis):
3678 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3679 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
3682 def do_get_outputs(self, m, pis):
3683 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3684 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
3687 def get_version_info(self):
3688 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3689 return _IMP_core.DerivativesToRefined_get_version_info(self)
3693 """__str__(DerivativesToRefined self) -> std::string"""
3694 return _IMP_core.DerivativesToRefined___str__(self)
3698 """__repr__(DerivativesToRefined self) -> std::string"""
3699 return _IMP_core.DerivativesToRefined___repr__(self)
3702 return _object_cast_to_DerivativesToRefined(o)
3703 get_from = staticmethod(get_from)
3705 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3706 DerivativesToRefined_swigregister(DerivativesToRefined)
3709 """Proxy of C++ IMP::core::DiameterRestraint class"""
3710 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3712 def __init__(self, f, sc, diameter):
3713 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3714 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
3716 self.this.append(this)
3720 def do_get_inputs(self):
3721 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
3722 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3725 def get_version_info(self):
3726 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3727 return _IMP_core.DiameterRestraint_get_version_info(self)
3730 def do_create_decomposition(self):
3731 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
3732 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3735 def do_create_current_decomposition(self):
3736 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
3737 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3741 """__str__(DiameterRestraint self) -> std::string"""
3742 return _IMP_core.DiameterRestraint___str__(self)
3746 """__repr__(DiameterRestraint self) -> std::string"""
3747 return _IMP_core.DiameterRestraint___repr__(self)
3750 return _object_cast_to_DiameterRestraint(o)
3751 get_from = staticmethod(get_from)
3753 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3754 DiameterRestraint_swigregister(DiameterRestraint)
3757 """Proxy of C++ IMP::core::Transform class"""
3758 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3760 def __init__(self, t, ignore_non_xyz=False):
3762 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3763 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3765 this = _IMP_core.new_Transform(t, ignore_non_xyz)
3767 self.this.append(this)
3771 def do_get_inputs(self, m, pis):
3772 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3773 return _IMP_core.Transform_do_get_inputs(self, m, pis)
3776 def do_get_outputs(self, m, pis):
3777 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3778 return _IMP_core.Transform_do_get_outputs(self, m, pis)
3781 def get_version_info(self):
3782 """get_version_info(Transform self) -> VersionInfo"""
3783 return _IMP_core.Transform_get_version_info(self)
3787 """__str__(Transform self) -> std::string"""
3788 return _IMP_core.Transform___str__(self)
3792 """__repr__(Transform self) -> std::string"""
3793 return _IMP_core.Transform___repr__(self)
3796 return _object_cast_to_Transform(o)
3797 get_from = staticmethod(get_from)
3799 Transform_swigregister = _IMP_core.Transform_swigregister
3800 Transform_swigregister(Transform)
3803 """Proxy of C++ IMP::core::Reference class"""
3804 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3806 def __init__(self, *args):
3808 __init__(IMP::core::Reference self) -> Reference
3809 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
3810 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
3812 this = _IMP_core.new_Reference(*args)
3814 self.this.append(this)
3818 def show(self, *args):
3820 show(Reference self, _ostream out)
3821 show(Reference self)
3823 return _IMP_core.Reference_show(self, *args)
3826 def setup_particle(*args):
3828 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3829 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3831 return _IMP_core.Reference_setup_particle(*args)
3833 setup_particle = staticmethod(setup_particle)
3835 def get_reference_particle(self):
3836 """get_reference_particle(Reference self) -> Particle"""
3837 return _IMP_core.Reference_get_reference_particle(self)
3840 def get_is_setup(*args):
3842 get_is_setup(_ParticleAdaptor p) -> bool
3843 get_is_setup(Model m, ParticleIndex pi) -> bool
3845 return _IMP_core.Reference_get_is_setup(*args)
3847 get_is_setup = staticmethod(get_is_setup)
3849 def get_reference_key():
3850 """get_reference_key() -> ParticleIndexKey"""
3851 return _IMP_core.Reference_get_reference_key()
3853 get_reference_key = staticmethod(get_reference_key)
3855 def add_attribute(self, *args):
3857 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3858 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3859 add_attribute(Reference self, IntKey a0, IMP::Int a1)
3860 add_attribute(Reference self, StringKey a0, IMP::String a1)
3861 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3862 add_attribute(Reference self, ObjectKey a0, Object a1)
3864 return _IMP_core.Reference_add_attribute(self, *args)
3867 def get_value(self, *args):
3869 get_value(Reference self, FloatKey a0) -> IMP::Float
3870 get_value(Reference self, IntKey a0) -> IMP::Int
3871 get_value(Reference self, StringKey a0) -> IMP::String
3872 get_value(Reference self, ParticleIndexKey a0) -> Particle
3873 get_value(Reference self, ObjectKey a0) -> Object
3875 return _IMP_core.Reference_get_value(self, *args)
3878 def set_value(self, *args):
3880 set_value(Reference self, FloatKey a0, IMP::Float a1)
3881 set_value(Reference self, IntKey a0, IMP::Int a1)
3882 set_value(Reference self, StringKey a0, IMP::String a1)
3883 set_value(Reference self, ParticleIndexKey a0, Particle a1)
3884 set_value(Reference self, ObjectKey a0, Object a1)
3886 return _IMP_core.Reference_set_value(self, *args)
3889 def remove_attribute(self, *args):
3891 remove_attribute(Reference self, FloatKey a0)
3892 remove_attribute(Reference self, IntKey a0)
3893 remove_attribute(Reference self, StringKey a0)
3894 remove_attribute(Reference self, ParticleIndexKey a0)
3895 remove_attribute(Reference self, ObjectKey a0)
3897 return _IMP_core.Reference_remove_attribute(self, *args)
3900 def has_attribute(self, *args):
3902 has_attribute(Reference self, FloatKey a0) -> bool
3903 has_attribute(Reference self, IntKey a0) -> bool
3904 has_attribute(Reference self, StringKey a0) -> bool
3905 has_attribute(Reference self, ParticleIndexKey a0) -> bool
3906 has_attribute(Reference self, ObjectKey a0) -> bool
3908 return _IMP_core.Reference_has_attribute(self, *args)
3911 def get_derivative(self, a0):
3912 """get_derivative(Reference self, FloatKey a0) -> double"""
3913 return _IMP_core.Reference_get_derivative(self, a0)
3917 """get_name(Reference self) -> std::string"""
3918 return _IMP_core.Reference_get_name(self)
3921 def clear_caches(self):
3922 """clear_caches(Reference self)"""
3923 return _IMP_core.Reference_clear_caches(self)
3926 def set_name(self, a0):
3927 """set_name(Reference self, std::string a0)"""
3928 return _IMP_core.Reference_set_name(self, a0)
3932 """set_check_level(Reference self, IMP::CheckLevel a0)"""
3933 return _IMP_core.Reference_set_check_level(self, a0)
3936 def add_to_derivative(self, a0, a1, a2):
3937 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3938 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
3941 def set_is_optimized(self, a0, a1):
3942 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3943 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
3946 def get_is_optimized(self, a0):
3947 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3948 return _IMP_core.Reference_get_is_optimized(self, a0)
3952 """get_check_level(Reference self) -> IMP::CheckLevel"""
3953 return _IMP_core.Reference_get_check_level(self)
3956 def __eq__(self, *args):
3958 __eq__(Reference self, Reference o) -> bool
3959 __eq__(Reference self, Particle d) -> bool
3961 return _IMP_core.Reference___eq__(self, *args)
3964 def __ne__(self, *args):
3966 __ne__(Reference self, Reference o) -> bool
3967 __ne__(Reference self, Particle d) -> bool
3969 return _IMP_core.Reference___ne__(self, *args)
3972 def __le__(self, *args):
3974 __le__(Reference self, Reference o) -> bool
3975 __le__(Reference self, Particle d) -> bool
3977 return _IMP_core.Reference___le__(self, *args)
3980 def __lt__(self, *args):
3982 __lt__(Reference self, Reference o) -> bool
3983 __lt__(Reference self, Particle d) -> bool
3985 return _IMP_core.Reference___lt__(self, *args)
3988 def __ge__(self, *args):
3990 __ge__(Reference self, Reference o) -> bool
3991 __ge__(Reference self, Particle d) -> bool
3993 return _IMP_core.Reference___ge__(self, *args)
3996 def __gt__(self, *args):
3998 __gt__(Reference self, Reference o) -> bool
3999 __gt__(Reference self, Particle d) -> bool
4001 return _IMP_core.Reference___gt__(self, *args)
4005 """__hash__(Reference self) -> std::size_t"""
4006 return _IMP_core.Reference___hash__(self)
4010 """__str__(Reference self) -> std::string"""
4011 return _IMP_core.Reference___str__(self)
4015 """__repr__(Reference self) -> std::string"""
4016 return _IMP_core.Reference___repr__(self)
4018 __swig_destroy__ = _IMP_core.delete_Reference
4019 __del__ =
lambda self:
None
4020 Reference_swigregister = _IMP_core.Reference_swigregister
4021 Reference_swigregister(Reference)
4023 def Reference_setup_particle(*args):
4025 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4026 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4028 return _IMP_core.Reference_setup_particle(*args)
4030 def Reference_get_is_setup(*args):
4032 get_is_setup(_ParticleAdaptor p) -> bool
4033 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
4035 return _IMP_core.Reference_get_is_setup(*args)
4037 def Reference_get_reference_key():
4038 """Reference_get_reference_key() -> ParticleIndexKey"""
4039 return _IMP_core.Reference_get_reference_key()
4042 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
4043 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4045 def __init__(self, t, r):
4046 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
4047 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
4049 self.this.append(this)
4053 def do_get_inputs(self, m, pis):
4054 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4055 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
4058 def do_get_outputs(self, m, pis):
4059 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4060 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
4063 def get_version_info(self):
4064 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
4065 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
4069 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
4070 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
4074 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
4075 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
4078 return _object_cast_to_TransformationAndReflectionSymmetry(o)
4079 get_from = staticmethod(get_from)
4081 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
4082 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
4085 """Proxy of C++ IMP::core::TransformationSymmetry class"""
4086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4088 def __init__(self, t):
4089 """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
4090 this = _IMP_core.new_TransformationSymmetry(t)
4092 self.this.append(this)
4096 def do_get_inputs(self, m, pis):
4097 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4098 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
4101 def do_get_outputs(self, m, pis):
4102 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4103 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
4106 def get_version_info(self):
4107 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
4108 return _IMP_core.TransformationSymmetry_get_version_info(self)
4112 """__str__(TransformationSymmetry self) -> std::string"""
4113 return _IMP_core.TransformationSymmetry___str__(self)
4117 """__repr__(TransformationSymmetry self) -> std::string"""
4118 return _IMP_core.TransformationSymmetry___repr__(self)
4121 return _object_cast_to_TransformationSymmetry(o)
4122 get_from = staticmethod(get_from)
4124 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
4125 TransformationSymmetry_swigregister(TransformationSymmetry)
4128 """Proxy of C++ IMP::core::DihedralRestraint class"""
4129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4131 def __init__(self, *args):
4133 __init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint
4134 __init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint
4136 this = _IMP_core.new_DihedralRestraint(*args)
4138 self.this.append(this)
4142 def do_get_inputs(self):
4143 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
4144 return _IMP_core.DihedralRestraint_do_get_inputs(self)
4147 def get_version_info(self):
4148 """get_version_info(DihedralRestraint self) -> VersionInfo"""
4149 return _IMP_core.DihedralRestraint_get_version_info(self)
4153 """__str__(DihedralRestraint self) -> std::string"""
4154 return _IMP_core.DihedralRestraint___str__(self)
4158 """__repr__(DihedralRestraint self) -> std::string"""
4159 return _IMP_core.DihedralRestraint___repr__(self)
4162 return _object_cast_to_DihedralRestraint(o)
4163 get_from = staticmethod(get_from)
4165 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
4166 DihedralRestraint_swigregister(DihedralRestraint)
4169 """Proxy of C++ IMP::core::DistancePairScore class"""
4170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4172 def __init__(self, *args):
4174 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
4175 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
4177 this = _IMP_core.new_DistancePairScore(*args)
4179 self.this.append(this)
4183 def do_get_inputs(self, m, pis):
4184 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4185 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
4188 def get_version_info(self):
4189 """get_version_info(DistancePairScore self) -> VersionInfo"""
4190 return _IMP_core.DistancePairScore_get_version_info(self)
4194 """__str__(DistancePairScore self) -> std::string"""
4195 return _IMP_core.DistancePairScore___str__(self)
4199 """__repr__(DistancePairScore self) -> std::string"""
4200 return _IMP_core.DistancePairScore___repr__(self)
4203 return _object_cast_to_DistancePairScore(o)
4204 get_from = staticmethod(get_from)
4206 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4207 DistancePairScore_swigregister(DistancePairScore)
4210 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
4211 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4213 def __init__(self, *args):
4215 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
4216 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4218 this = _IMP_core.new_HarmonicDistancePairScore(*args)
4220 self.this.append(this)
4224 def do_get_inputs(self, m, pis):
4225 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4226 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
4229 def get_version_info(self):
4230 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4231 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4235 """__str__(HarmonicDistancePairScore self) -> std::string"""
4236 return _IMP_core.HarmonicDistancePairScore___str__(self)
4240 """__repr__(HarmonicDistancePairScore self) -> std::string"""
4241 return _IMP_core.HarmonicDistancePairScore___repr__(self)
4244 return _object_cast_to_HarmonicDistancePairScore(o)
4245 get_from = staticmethod(get_from)
4247 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4248 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4251 """Proxy of C++ IMP::core::DistanceRestraint class"""
4252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4254 def __init__(self, *args):
4256 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
4257 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
4258 __init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b, std::string name) -> DistanceRestraint
4259 __init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint
4261 this = _IMP_core.new_DistanceRestraint(*args)
4263 self.this.append(this)
4267 def get_version_info(self):
4268 """get_version_info(DistanceRestraint self) -> VersionInfo"""
4269 return _IMP_core.DistanceRestraint_get_version_info(self)
4273 """__str__(DistanceRestraint self) -> std::string"""
4274 return _IMP_core.DistanceRestraint___str__(self)
4278 """__repr__(DistanceRestraint self) -> std::string"""
4279 return _IMP_core.DistanceRestraint___repr__(self)
4282 return _object_cast_to_DistanceRestraint(o)
4283 get_from = staticmethod(get_from)
4285 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4286 DistanceRestraint_swigregister(DistanceRestraint)
4289 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
4290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4292 def __init__(self, f, pt):
4293 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4294 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
4296 self.this.append(this)
4300 def do_get_inputs(self, m, pis):
4301 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4302 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
4305 def get_version_info(self):
4306 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4307 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4311 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4312 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4316 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4317 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4320 return _object_cast_to_SphereDistanceToSingletonScore(o)
4321 get_from = staticmethod(get_from)
4323 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4324 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4327 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
4328 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4330 def __init__(self, *args):
4332 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
4333 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4334 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4335 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4337 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4339 self.this.append(this)
4343 def do_get_inputs(self):
4344 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
4345 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4348 def get_version_info(self):
4349 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4350 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4353 def do_create_decomposition(self):
4354 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
4355 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4358 def do_create_current_decomposition(self):
4359 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
4360 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4364 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
4365 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4368 def remove_pair_filter(self, d):
4369 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4370 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
4373 def remove_pair_filters(self, d):
4374 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
4375 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
4378 def set_pair_filters(self, ps):
4379 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
4380 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
4383 def set_pair_filters_order(self, objs):
4384 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
4385 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
4388 def add_pair_filter(self, obj):
4389 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4390 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
4393 def add_pair_filters(self, objs):
4394 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
4395 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
4398 def clear_pair_filters(self):
4399 """clear_pair_filters(ExcludedVolumeRestraint self)"""
4400 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4403 def get_number_of_pair_filters(self):
4404 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4405 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4408 def get_has_pair_filters(self):
4409 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4410 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4413 def get_pair_filter(self, i):
4414 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4415 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
4418 def get_pair_filters(self):
4419 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
4420 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4423 def reserve_pair_filters(self, sz):
4424 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4425 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
4429 """__str__(ExcludedVolumeRestraint self) -> std::string"""
4430 return _IMP_core.ExcludedVolumeRestraint___str__(self)
4434 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4435 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4438 return _object_cast_to_ExcludedVolumeRestraint(o)
4439 get_from = staticmethod(get_from)
4441 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4442 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4445 """Proxy of C++ IMP::core::FixedRefiner class"""
4446 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4448 def __init__(self, *args):
4450 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
4451 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
4453 this = _IMP_core.new_FixedRefiner(*args)
4455 self.this.append(this)
4459 def do_get_inputs(self, m, pis):
4460 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4461 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
4464 def get_version_info(self):
4465 """get_version_info(FixedRefiner self) -> VersionInfo"""
4466 return _IMP_core.FixedRefiner_get_version_info(self)
4470 """__str__(FixedRefiner self) -> std::string"""
4471 return _IMP_core.FixedRefiner___str__(self)
4475 """__repr__(FixedRefiner self) -> std::string"""
4476 return _IMP_core.FixedRefiner___repr__(self)
4479 return _object_cast_to_FixedRefiner(o)
4480 get_from = staticmethod(get_from)
4482 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4483 FixedRefiner_swigregister(FixedRefiner)
4485 class GridClosePairsFinder(ClosePairsFinder):
4486 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4490 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4491 this = _IMP_core.new_GridClosePairsFinder()
4493 self.this.append(this)
4497 def get_close_pairs(self, *args):
4499 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4500 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4501 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4502 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4504 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4507 def do_get_inputs(self, m, pis):
4508 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4509 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
4512 def get_version_info(self):
4513 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4514 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4518 """__str__(GridClosePairsFinder self) -> std::string"""
4519 return _IMP_core.GridClosePairsFinder___str__(self)
4523 """__repr__(GridClosePairsFinder self) -> std::string"""
4524 return _IMP_core.GridClosePairsFinder___repr__(self)
4527 return _object_cast_to_GridClosePairsFinder(o)
4528 get_from = staticmethod(get_from)
4530 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4531 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4534 """Proxy of C++ IMP::core::Harmonic class"""
4535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4537 def __init__(self, mean, k):
4538 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4539 this = _IMP_core.new_Harmonic(mean, k)
4541 self.this.append(this)
4545 def get_version_info(self):
4546 """get_version_info(Harmonic self) -> VersionInfo"""
4547 return _IMP_core.Harmonic_get_version_info(self)
4551 """get_mean(Harmonic self) -> IMP::Float"""
4552 return _IMP_core.Harmonic_get_mean(self)
4556 """get_k(Harmonic self) -> IMP::Float"""
4557 return _IMP_core.Harmonic_get_k(self)
4560 def set_mean(self, mean):
4561 """set_mean(Harmonic self, IMP::Float mean)"""
4562 return _IMP_core.Harmonic_set_mean(self, mean)
4566 """set_k(Harmonic self, IMP::Float k)"""
4567 return _IMP_core.Harmonic_set_k(self, k)
4570 def get_k_from_standard_deviation(sd, t=297.15):
4572 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4573 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4575 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
4577 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4580 """__str__(Harmonic self) -> std::string"""
4581 return _IMP_core.Harmonic___str__(self)
4585 """__repr__(Harmonic self) -> std::string"""
4586 return _IMP_core.Harmonic___repr__(self)
4589 return _object_cast_to_Harmonic(o)
4590 get_from = staticmethod(get_from)
4592 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4593 Harmonic_swigregister(Harmonic)
4595 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
4597 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4598 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4600 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
4603 """Proxy of C++ IMP::core::HarmonicWell class"""
4604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4606 def __init__(self, well, k):
4607 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4608 this = _IMP_core.new_HarmonicWell(well, k)
4610 self.this.append(this)
4614 def get_version_info(self):
4615 """get_version_info(HarmonicWell self) -> VersionInfo"""
4616 return _IMP_core.HarmonicWell_get_version_info(self)
4620 """__str__(HarmonicWell self) -> std::string"""
4621 return _IMP_core.HarmonicWell___str__(self)
4625 """__repr__(HarmonicWell self) -> std::string"""
4626 return _IMP_core.HarmonicWell___repr__(self)
4629 return _object_cast_to_HarmonicWell(o)
4630 get_from = staticmethod(get_from)
4632 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4633 HarmonicWell_swigregister(HarmonicWell)
4635 class HarmonicLowerBound(Harmonic):
4636 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4637 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4639 def __init__(self, mean, k):
4640 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4641 this = _IMP_core.new_HarmonicLowerBound(mean, k)
4643 self.this.append(this)
4648 """__str__(HarmonicLowerBound self) -> std::string"""
4649 return _IMP_core.HarmonicLowerBound___str__(self)
4653 """__repr__(HarmonicLowerBound self) -> std::string"""
4654 return _IMP_core.HarmonicLowerBound___repr__(self)
4657 return _object_cast_to_HarmonicLowerBound(o)
4658 get_from = staticmethod(get_from)
4660 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4661 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4663 class HarmonicUpperBound(Harmonic):
4664 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4667 def __init__(self, mean, k):
4668 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4669 this = _IMP_core.new_HarmonicUpperBound(mean, k)
4671 self.this.append(this)
4676 """__str__(HarmonicUpperBound self) -> std::string"""
4677 return _IMP_core.HarmonicUpperBound___str__(self)
4681 """__repr__(HarmonicUpperBound self) -> std::string"""
4682 return _IMP_core.HarmonicUpperBound___repr__(self)
4685 return _object_cast_to_HarmonicUpperBound(o)
4686 get_from = staticmethod(get_from)
4688 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4689 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4692 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4695 def __init__(self, m, ps, eps=0.1):
4697 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4698 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
4700 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
4702 self.this.append(this)
4706 def add_type(self, ps):
4707 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
4708 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
4711 def add_composite(self, *args):
4713 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4714 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4716 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4719 def get_connected_pairs(self):
4720 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
4721 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4724 def get_pair_score(self):
4725 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4726 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4729 def do_create_current_decomposition(self):
4730 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
4731 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4734 def do_get_inputs(self):
4735 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4736 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4739 def get_version_info(self):
4740 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4741 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4745 """__str__(MSConnectivityRestraint self) -> std::string"""
4746 return _IMP_core.MSConnectivityRestraint___str__(self)
4750 """__repr__(MSConnectivityRestraint self) -> std::string"""
4751 return _IMP_core.MSConnectivityRestraint___repr__(self)
4754 return _object_cast_to_MSConnectivityRestraint(o)
4755 get_from = staticmethod(get_from)
4757 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4758 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4760 class HierarchyTraits(object):
4761 """Proxy of C++ IMP::core::HierarchyTraits class"""
4762 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4764 def __init__(self, *args):
4766 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4767 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4769 this = _IMP_core.new_HierarchyTraits(*args)
4771 self.this.append(this)
4775 def get_children_key(self):
4776 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4777 return _IMP_core.HierarchyTraits_get_children_key(self)
4780 def get_parent_key(self):
4781 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4782 return _IMP_core.HierarchyTraits_get_parent_key(self)
4785 def __eq__(self, o):
4786 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4787 return _IMP_core.HierarchyTraits___eq__(self, o)
4790 def show(self, *args):
4792 show(HierarchyTraits self, _ostream out)
4793 show(HierarchyTraits self)
4795 return _IMP_core.HierarchyTraits_show(self, *args)
4799 """__str__(HierarchyTraits self) -> std::string"""
4800 return _IMP_core.HierarchyTraits___str__(self)
4804 """__repr__(HierarchyTraits self) -> std::string"""
4805 return _IMP_core.HierarchyTraits___repr__(self)
4807 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4808 __del__ =
lambda self:
None
4809 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4810 HierarchyTraits_swigregister(HierarchyTraits)
4813 """Proxy of C++ IMP::core::Hierarchy class"""
4814 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4816 def get_decorator_traits(self):
4817 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4818 return _IMP_core.Hierarchy_get_decorator_traits(self)
4821 def get_default_decorator_traits():
4822 """get_default_decorator_traits() -> HierarchyTraits"""
4823 return _IMP_core.Hierarchy_get_default_decorator_traits()
4825 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4827 def __init__(self, *args):
4829 __init__(IMP::core::Hierarchy self) -> Hierarchy
4830 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
4831 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
4832 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
4833 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
4835 this = _IMP_core.new_Hierarchy(*args)
4837 self.this.append(this)
4841 def show(self, *args):
4843 show(Hierarchy self, _ostream out)
4844 show(Hierarchy self)
4846 return _IMP_core.Hierarchy_show(self, *args)
4849 def setup_particle(*args):
4851 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
4852 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
4853 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
4854 setup_particle(_ParticleAdaptor d) -> Hierarchy
4855 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
4856 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
4857 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
4858 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
4859 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
4860 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
4861 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
4862 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
4864 return _IMP_core.Hierarchy_setup_particle(*args)
4866 setup_particle = staticmethod(setup_particle)
4868 def get_is_setup(*args):
4870 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
4871 get_is_setup(_ParticleAdaptor p) -> bool
4872 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
4873 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
4875 return _IMP_core.Hierarchy_get_is_setup(*args)
4877 get_is_setup = staticmethod(get_is_setup)
4879 def get_parent(self):
4880 """get_parent(Hierarchy self) -> Hierarchy"""
4881 return _IMP_core.Hierarchy_get_parent(self)
4884 def get_number_of_children(self):
4885 """get_number_of_children(Hierarchy self) -> unsigned int"""
4886 return _IMP_core.Hierarchy_get_number_of_children(self)
4889 def get_child(self, i):
4890 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4891 return _IMP_core.Hierarchy_get_child(self, i)
4894 def get_children_indexes(self):
4895 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
4896 return _IMP_core.Hierarchy_get_children_indexes(self)
4899 def get_children(self):
4900 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4901 return _IMP_core.Hierarchy_get_children(self)
4904 def remove_child(self, *args):
4906 remove_child(Hierarchy self, unsigned int i)
4907 remove_child(Hierarchy self, Hierarchy h)
4909 return _IMP_core.Hierarchy_remove_child(self, *args)
4912 def clear_children(self):
4913 """clear_children(Hierarchy self)"""
4914 return _IMP_core.Hierarchy_clear_children(self)
4917 def add_child(self, h):
4918 """add_child(Hierarchy self, Hierarchy h)"""
4919 return _IMP_core.Hierarchy_add_child(self, h)
4922 def add_child_at(self, h, pos):
4923 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4924 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
4927 def get_child_index(self, *args):
4929 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
4930 get_child_index(Hierarchy self) -> int
4932 return _IMP_core.Hierarchy_get_child_index(self, *args)
4935 def get_default_traits():
4936 """get_default_traits() -> HierarchyTraits"""
4937 return _IMP_core.Hierarchy_get_default_traits()
4939 get_default_traits = staticmethod(get_default_traits)
4941 def get_traits(self):
4942 """get_traits(Hierarchy self) -> HierarchyTraits"""
4943 return _IMP_core.Hierarchy_get_traits(self)
4946 def add_attribute(self, *args):
4948 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4949 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4950 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4951 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4952 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4953 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
4955 return _IMP_core.Hierarchy_add_attribute(self, *args)
4958 def get_value(self, *args):
4960 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4961 get_value(Hierarchy self, IntKey a0) -> IMP::Int
4962 get_value(Hierarchy self, StringKey a0) -> IMP::String
4963 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4964 get_value(Hierarchy self, ObjectKey a0) -> Object
4966 return _IMP_core.Hierarchy_get_value(self, *args)
4969 def set_value(self, *args):
4971 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4972 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4973 set_value(Hierarchy self, StringKey a0, IMP::String a1)
4974 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4975 set_value(Hierarchy self, ObjectKey a0, Object a1)
4977 return _IMP_core.Hierarchy_set_value(self, *args)
4980 def remove_attribute(self, *args):
4982 remove_attribute(Hierarchy self, FloatKey a0)
4983 remove_attribute(Hierarchy self, IntKey a0)
4984 remove_attribute(Hierarchy self, StringKey a0)
4985 remove_attribute(Hierarchy self, ParticleIndexKey a0)
4986 remove_attribute(Hierarchy self, ObjectKey a0)
4988 return _IMP_core.Hierarchy_remove_attribute(self, *args)
4991 def has_attribute(self, *args):
4993 has_attribute(Hierarchy self, FloatKey a0) -> bool
4994 has_attribute(Hierarchy self, IntKey a0) -> bool
4995 has_attribute(Hierarchy self, StringKey a0) -> bool
4996 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4997 has_attribute(Hierarchy self, ObjectKey a0) -> bool
4999 return _IMP_core.Hierarchy_has_attribute(self, *args)
5002 def get_derivative(self, a0):
5003 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
5004 return _IMP_core.Hierarchy_get_derivative(self, a0)
5008 """get_name(Hierarchy self) -> std::string"""
5009 return _IMP_core.Hierarchy_get_name(self)
5012 def clear_caches(self):
5013 """clear_caches(Hierarchy self)"""
5014 return _IMP_core.Hierarchy_clear_caches(self)
5017 def set_name(self, a0):
5018 """set_name(Hierarchy self, std::string a0)"""
5019 return _IMP_core.Hierarchy_set_name(self, a0)
5023 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
5024 return _IMP_core.Hierarchy_set_check_level(self, a0)
5027 def add_to_derivative(self, a0, a1, a2):
5028 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5029 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
5032 def set_is_optimized(self, a0, a1):
5033 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
5034 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
5037 def get_is_optimized(self, a0):
5038 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
5039 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
5043 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
5044 return _IMP_core.Hierarchy_get_check_level(self)
5047 def __eq__(self, *args):
5049 __eq__(Hierarchy self, Hierarchy o) -> bool
5050 __eq__(Hierarchy self, Particle d) -> bool
5052 return _IMP_core.Hierarchy___eq__(self, *args)
5055 def __ne__(self, *args):
5057 __ne__(Hierarchy self, Hierarchy o) -> bool
5058 __ne__(Hierarchy self, Particle d) -> bool
5060 return _IMP_core.Hierarchy___ne__(self, *args)
5063 def __le__(self, *args):
5065 __le__(Hierarchy self, Hierarchy o) -> bool
5066 __le__(Hierarchy self, Particle d) -> bool
5068 return _IMP_core.Hierarchy___le__(self, *args)
5071 def __lt__(self, *args):
5073 __lt__(Hierarchy self, Hierarchy o) -> bool
5074 __lt__(Hierarchy self, Particle d) -> bool
5076 return _IMP_core.Hierarchy___lt__(self, *args)
5079 def __ge__(self, *args):
5081 __ge__(Hierarchy self, Hierarchy o) -> bool
5082 __ge__(Hierarchy self, Particle d) -> bool
5084 return _IMP_core.Hierarchy___ge__(self, *args)
5087 def __gt__(self, *args):
5089 __gt__(Hierarchy self, Hierarchy o) -> bool
5090 __gt__(Hierarchy self, Particle d) -> bool
5092 return _IMP_core.Hierarchy___gt__(self, *args)
5096 """__hash__(Hierarchy self) -> std::size_t"""
5097 return _IMP_core.Hierarchy___hash__(self)
5101 """__str__(Hierarchy self) -> std::string"""
5102 return _IMP_core.Hierarchy___str__(self)
5106 """__repr__(Hierarchy self) -> std::string"""
5107 return _IMP_core.Hierarchy___repr__(self)
5109 __swig_destroy__ = _IMP_core.delete_Hierarchy
5110 __del__ =
lambda self:
None
5111 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
5112 Hierarchy_swigregister(Hierarchy)
5114 def Hierarchy_get_default_decorator_traits():
5115 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
5116 return _IMP_core.Hierarchy_get_default_decorator_traits()
5118 def Hierarchy_setup_particle(*args):
5120 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
5121 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
5122 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5123 setup_particle(_ParticleAdaptor d) -> Hierarchy
5124 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5125 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
5126 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5127 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
5128 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5129 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
5130 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5131 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
5133 return _IMP_core.Hierarchy_setup_particle(*args)
5135 def Hierarchy_get_is_setup(*args):
5137 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
5138 get_is_setup(_ParticleAdaptor p) -> bool
5139 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
5140 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
5142 return _IMP_core.Hierarchy_get_is_setup(*args)
5144 def Hierarchy_get_default_traits():
5145 """Hierarchy_get_default_traits() -> HierarchyTraits"""
5146 return _IMP_core.Hierarchy_get_default_traits()
5148 class HierarchyVisitor(object):
5149 """Proxy of C++ IMP::core::HierarchyVisitor class"""
5150 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5152 def __init__(self, *args, **kwargs):
5153 raise AttributeError(
"No constructor defined - class is abstract")
5154 __repr__ = _swig_repr
5156 def __call__(self, p):
5157 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
5158 return _IMP_core.HierarchyVisitor___call__(self, p)
5160 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
5161 __del__ =
lambda self:
None
5162 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
5163 HierarchyVisitor_swigregister(HierarchyVisitor)
5165 class ModifierVisitor(HierarchyVisitor):
5166 """Proxy of C++ IMP::core::ModifierVisitor class"""
5167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5168 __repr__ = _swig_repr
5170 def __init__(self, sm):
5171 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
5172 this = _IMP_core.new_ModifierVisitor(sm)
5174 self.this.append(this)
5177 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
5178 __del__ =
lambda self:
None
5179 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
5180 ModifierVisitor_swigregister(ModifierVisitor)
5182 class HierarchyCounter(HierarchyVisitor):
5183 """Proxy of C++ IMP::core::HierarchyCounter class"""
5184 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5187 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
5188 this = _IMP_core.new_HierarchyCounter()
5190 self.this.append(this)
5194 def get_count(self):
5195 """get_count(HierarchyCounter self) -> unsigned int"""
5196 return _IMP_core.HierarchyCounter_get_count(self)
5199 def show(self, *args):
5201 show(HierarchyCounter self, _ostream out)
5202 show(HierarchyCounter self)
5204 return _IMP_core.HierarchyCounter_show(self, *args)
5208 """__str__(HierarchyCounter self) -> std::string"""
5209 return _IMP_core.HierarchyCounter___str__(self)
5213 """__repr__(HierarchyCounter self) -> std::string"""
5214 return _IMP_core.HierarchyCounter___repr__(self)
5216 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5217 __del__ =
lambda self:
None
5218 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5219 HierarchyCounter_swigregister(HierarchyCounter)
5223 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5224 return _IMP_core.get_leaves(mhd)
5227 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5228 return _IMP_core.get_internal(mhd)
5231 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5232 return _IMP_core.get_all_descendants(mhd)
5235 """get_root(Hierarchy h) -> Hierarchy"""
5236 return _IMP_core.get_root(h)
5239 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5240 return _IMP_core.visit_breadth_first(d, f)
5243 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5244 return _IMP_core.visit_depth_first(d, f)
5246 """Proxy of C++ IMP::core::LeavesRefiner class"""
5247 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5249 def __init__(self, tr):
5250 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5251 this = _IMP_core.new_LeavesRefiner(tr)
5253 self.this.append(this)
5257 def do_get_inputs(self, m, pis):
5258 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5259 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
5262 def get_version_info(self):
5263 """get_version_info(LeavesRefiner self) -> VersionInfo"""
5264 return _IMP_core.LeavesRefiner_get_version_info(self)
5268 """__str__(LeavesRefiner self) -> std::string"""
5269 return _IMP_core.LeavesRefiner___str__(self)
5273 """__repr__(LeavesRefiner self) -> std::string"""
5274 return _IMP_core.LeavesRefiner___repr__(self)
5277 return _object_cast_to_LeavesRefiner(o)
5278 get_from = staticmethod(get_from)
5280 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5281 LeavesRefiner_swigregister(LeavesRefiner)
5284 """Proxy of C++ IMP::core::Linear class"""
5285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5287 def __init__(self, offset, slope):
5288 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5289 this = _IMP_core.new_Linear(offset, slope)
5291 self.this.append(this)
5295 def set_slope(self, f):
5296 """set_slope(Linear self, double f)"""
5297 return _IMP_core.Linear_set_slope(self, f)
5300 def set_offset(self, f):
5301 """set_offset(Linear self, double f)"""
5302 return _IMP_core.Linear_set_offset(self, f)
5305 def get_version_info(self):
5306 """get_version_info(Linear self) -> VersionInfo"""
5307 return _IMP_core.Linear_get_version_info(self)
5311 """__str__(Linear self) -> std::string"""
5312 return _IMP_core.Linear___str__(self)
5316 """__repr__(Linear self) -> std::string"""
5317 return _IMP_core.Linear___repr__(self)
5320 return _object_cast_to_Linear(o)
5321 get_from = staticmethod(get_from)
5323 Linear_swigregister = _IMP_core.Linear_swigregister
5324 Linear_swigregister(Linear)
5327 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
5328 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5330 def __init__(self, *args):
5332 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
5333 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
5334 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
5335 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
5337 this = _IMP_core.new_IncrementalScoringFunction(*args)
5339 self.this.append(this)
5343 def reset_moved_particles(self):
5344 """reset_moved_particles(IncrementalScoringFunction self)"""
5345 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5348 def set_moved_particles(self, p):
5349 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
5350 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
5353 def add_close_pair_score(self, *args):
5355 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
5356 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
5358 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5361 def clear_close_pair_scores(self):
5362 """clear_close_pair_scores(IncrementalScoringFunction self)"""
5363 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5366 def get_movable_indexes(self):
5367 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
5368 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
5371 def do_add_score_and_derivatives(self, sa, ss):
5372 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
5373 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
5376 def do_get_inputs(self):
5377 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
5378 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
5381 def handle_set_has_required_score_states(self, arg2):
5382 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
5383 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
5386 def get_version_info(self):
5387 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5388 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5392 """__str__(IncrementalScoringFunction self) -> std::string"""
5393 return _IMP_core.IncrementalScoringFunction___str__(self)
5397 """__repr__(IncrementalScoringFunction self) -> std::string"""
5398 return _IMP_core.IncrementalScoringFunction___repr__(self)
5401 return _object_cast_to_IncrementalScoringFunction(o)
5402 get_from = staticmethod(get_from)
5404 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5405 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5408 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
5409 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5411 """Proxy of C++ IMP::core::MonteCarlo class"""
5412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5414 def __init__(self, m):
5415 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
5416 this = _IMP_core.new_MonteCarlo(m)
5418 self.this.append(this)
5422 def get_version_info(self):
5423 """get_version_info(MonteCarlo self) -> VersionInfo"""
5424 return _IMP_core.MonteCarlo_get_version_info(self)
5427 def set_return_best(self, tf):
5428 """set_return_best(MonteCarlo self, bool tf)"""
5429 return _IMP_core.MonteCarlo_set_return_best(self, tf)
5432 def set_kt(self, t):
5433 """set_kt(MonteCarlo self, IMP::Float t)"""
5434 return _IMP_core.MonteCarlo_set_kt(self, t)
5438 """get_kt(MonteCarlo self) -> IMP::Float"""
5439 return _IMP_core.MonteCarlo_get_kt(self)
5442 def get_last_accepted_energy(self):
5443 """get_last_accepted_energy(MonteCarlo self) -> double"""
5444 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5447 def get_best_accepted_energy(self):
5448 """get_best_accepted_energy(MonteCarlo self) -> double"""
5449 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5452 def get_number_of_downward_steps(self):
5453 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
5454 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
5457 def get_number_of_upward_steps(self):
5458 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5459 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5462 def get_number_of_proposed_steps(self):
5463 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
5464 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
5467 def get_number_of_accepted_steps(self):
5468 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
5469 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
5472 def reset_statistics(self):
5473 """reset_statistics(MonteCarlo self)"""
5474 return _IMP_core.MonteCarlo_reset_statistics(self)
5477 def set_score_threshold(self, s):
5478 """set_score_threshold(MonteCarlo self, double s)"""
5479 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
5482 def get_score_threshold(self):
5483 """get_score_threshold(MonteCarlo self) -> double"""
5484 return _IMP_core.MonteCarlo_get_score_threshold(self)
5487 def set_maximum_difference(self, d):
5488 """set_maximum_difference(MonteCarlo self, double d)"""
5489 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
5492 def get_maximum_difference(self):
5493 """get_maximum_difference(MonteCarlo self) -> double"""
5494 return _IMP_core.MonteCarlo_get_maximum_difference(self)
5497 def remove_mover(self, d):
5498 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5499 return _IMP_core.MonteCarlo_remove_mover(self, d)
5502 def remove_movers(self, d):
5503 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5504 return _IMP_core.MonteCarlo_remove_movers(self, d)
5507 def set_movers(self, ps):
5508 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5509 return _IMP_core.MonteCarlo_set_movers(self, ps)
5512 def set_movers_order(self, objs):
5513 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5514 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
5517 def add_mover(self, obj):
5518 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5519 return _IMP_core.MonteCarlo_add_mover(self, obj)
5522 def add_movers(self, objs):
5523 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5524 return _IMP_core.MonteCarlo_add_movers(self, objs)
5527 def clear_movers(self):
5528 """clear_movers(MonteCarlo self)"""
5529 return _IMP_core.MonteCarlo_clear_movers(self)
5532 def get_number_of_movers(self):
5533 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5534 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5537 def get_has_movers(self):
5538 """get_has_movers(MonteCarlo self) -> bool"""
5539 return _IMP_core.MonteCarlo_get_has_movers(self)
5542 def get_mover(self, i):
5543 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5544 return _IMP_core.MonteCarlo_get_mover(self, i)
5547 def get_movers(self):
5548 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5549 return _IMP_core.MonteCarlo_get_movers(self)
5552 def reserve_movers(self, sz):
5553 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5554 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
5557 def set_incremental_scoring_function(self, isf):
5558 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5559 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
5562 def get_use_incremental_scoring_function(self):
5563 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5564 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5567 def get_incremental_scoring_function(self):
5568 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5569 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5573 """__str__(MonteCarlo self) -> std::string"""
5574 return _IMP_core.MonteCarlo___str__(self)
5578 """__repr__(MonteCarlo self) -> std::string"""
5579 return _IMP_core.MonteCarlo___repr__(self)
5582 return _object_cast_to_MonteCarlo(o)
5583 get_from = staticmethod(get_from)
5585 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5586 MonteCarlo_swigregister(MonteCarlo)
5588 class MonteCarloWithLocalOptimization(MonteCarlo):
5589 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5592 def __init__(self, opt, steps):
5593 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5594 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
5596 self.this.append(this)
5600 def get_number_of_steps(self):
5601 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5602 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5605 def get_local_optimizer(self):
5606 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5607 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5611 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5612 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5616 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5617 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5620 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5621 get_from = staticmethod(get_from)
5623 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5624 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5626 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5627 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5628 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5630 def __init__(self, opt, ns):
5631 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5632 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
5634 self.this.append(this)
5639 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5640 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5644 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5645 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5648 return _object_cast_to_MonteCarloWithBasinHopping(o)
5649 get_from = staticmethod(get_from)
5651 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5652 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5655 """Proxy of C++ IMP::core::NeighborsTable class"""
5656 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5658 def __init__(self, *args):
5660 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
5661 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
5663 this = _IMP_core.new_NeighborsTable(*args)
5665 self.this.append(this)
5669 def get_neighbors(self, pi):
5670 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
5671 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
5674 def get_version_info(self):
5675 """get_version_info(NeighborsTable self) -> VersionInfo"""
5676 return _IMP_core.NeighborsTable_get_version_info(self)
5680 """__str__(NeighborsTable self) -> std::string"""
5681 return _IMP_core.NeighborsTable___str__(self)
5685 """__repr__(NeighborsTable self) -> std::string"""
5686 return _IMP_core.NeighborsTable___repr__(self)
5689 return _object_cast_to_NeighborsTable(o)
5690 get_from = staticmethod(get_from)
5692 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
5693 NeighborsTable_swigregister(NeighborsTable)
5695 class NormalMover(MonteCarloMover):
5696 """Proxy of C++ IMP::core::NormalMover class"""
5697 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5699 def __init__(self, *args):
5701 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
5702 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
5703 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5704 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5706 this = _IMP_core.new_NormalMover(*args)
5708 self.this.append(this)
5712 def set_sigma(self, sigma):
5713 """set_sigma(NormalMover self, IMP::Float sigma)"""
5714 return _IMP_core.NormalMover_set_sigma(self, sigma)
5717 def get_sigma(self):
5718 """get_sigma(NormalMover self) -> IMP::Float"""
5719 return _IMP_core.NormalMover_get_sigma(self)
5722 def get_version_info(self):
5723 """get_version_info(NormalMover self) -> VersionInfo"""
5724 return _IMP_core.NormalMover_get_version_info(self)
5728 """__str__(NormalMover self) -> std::string"""
5729 return _IMP_core.NormalMover___str__(self)
5733 """__repr__(NormalMover self) -> std::string"""
5734 return _IMP_core.NormalMover___repr__(self)
5737 return _object_cast_to_NormalMover(o)
5738 get_from = staticmethod(get_from)
5740 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
5741 NormalMover_swigregister(NormalMover)
5743 class OpenCubicSpline(_OpenCubicSplineBase):
5744 """Proxy of C++ IMP::core::OpenCubicSpline 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, values, minrange, spacing, extend=False):
5749 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
5750 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
5752 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
5754 self.this.append(this)
5759 """__str__(OpenCubicSpline self) -> std::string"""
5760 return _IMP_core.OpenCubicSpline___str__(self)
5764 """__repr__(OpenCubicSpline self) -> std::string"""
5765 return _IMP_core.OpenCubicSpline___repr__(self)
5768 return _object_cast_to_OpenCubicSpline(o)
5769 get_from = staticmethod(get_from)
5771 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
5772 __del__ =
lambda self:
None
5773 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
5774 OpenCubicSpline_swigregister(OpenCubicSpline)
5776 class QuadraticClosePairsFinder(ClosePairsFinder):
5777 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
5778 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5781 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
5782 this = _IMP_core.new_QuadraticClosePairsFinder()
5784 self.this.append(this)
5788 def get_are_close(self, *args):
5790 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
5791 get_are_close(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
5793 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
5796 def get_close_pairs(self, *args):
5798 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5799 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5800 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
5801 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
5803 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
5806 def do_get_inputs(self, m, pis):
5807 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5808 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
5811 def get_version_info(self):
5812 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
5813 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
5817 """__str__(QuadraticClosePairsFinder self) -> std::string"""
5818 return _IMP_core.QuadraticClosePairsFinder___str__(self)
5822 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
5823 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
5826 return _object_cast_to_QuadraticClosePairsFinder(o)
5827 get_from = staticmethod(get_from)
5829 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
5830 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
5833 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
5834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5836 def __init__(self, r, f):
5837 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
5838 this = _IMP_core.new_RefinedPairsPairScore(r, f)
5840 self.this.append(this)
5844 def do_get_inputs(self, m, pis):
5845 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5846 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
5849 def get_version_info(self):
5850 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
5851 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
5855 """__str__(RefinedPairsPairScore self) -> std::string"""
5856 return _IMP_core.RefinedPairsPairScore___str__(self)
5860 """__repr__(RefinedPairsPairScore self) -> std::string"""
5861 return _IMP_core.RefinedPairsPairScore___repr__(self)
5864 return _object_cast_to_RefinedPairsPairScore(o)
5865 get_from = staticmethod(get_from)
5867 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5868 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5870 class RigidBody(XYZ):
5871 """Proxy of C++ IMP::core::RigidBody class"""
5872 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5874 def get_rigid_members(self):
5875 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
5876 return _IMP_core.RigidBody_get_rigid_members(self)
5879 def get_member_particle_indexes(self):
5880 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
5881 return _IMP_core.RigidBody_get_member_particle_indexes(self)
5884 def get_body_member_particle_indexes(self):
5885 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
5886 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5889 def get_member_indexes(self):
5890 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
5891 return _IMP_core.RigidBody_get_member_indexes(self)
5894 def __init__(self, *args):
5896 __init__(IMP::core::RigidBody self) -> RigidBody
5897 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
5898 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
5900 this = _IMP_core.new_RigidBody(*args)
5902 self.this.append(this)
5906 def show(self, *args):
5908 show(RigidBody self, _ostream out)
5909 show(RigidBody self)
5911 return _IMP_core.RigidBody_show(self, *args)
5914 def setup_particle(*args):
5916 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5917 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5918 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5919 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5921 return _IMP_core.RigidBody_setup_particle(*args)
5923 setup_particle = staticmethod(setup_particle)
5925 def teardown_particle(rb):
5926 """teardown_particle(RigidBody rb)"""
5927 return _IMP_core.RigidBody_teardown_particle(rb)
5929 teardown_particle = staticmethod(teardown_particle)
5930 __swig_destroy__ = _IMP_core.delete_RigidBody
5931 __del__ =
lambda self:
None
5933 def get_is_setup(*args):
5935 get_is_setup(_ParticleAdaptor p) -> bool
5936 get_is_setup(Model m, ParticleIndex pi) -> bool
5938 return _IMP_core.RigidBody_get_is_setup(*args)
5940 get_is_setup = staticmethod(get_is_setup)
5942 def get_coordinates(self):
5943 """get_coordinates(RigidBody self) -> Vector3D"""
5944 return _IMP_core.RigidBody_get_coordinates(self)
5947 def get_reference_frame(self):
5948 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5949 return _IMP_core.RigidBody_get_reference_frame(self)
5952 def set_reference_frame(self, tr):
5953 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5954 return _IMP_core.RigidBody_set_reference_frame(self, tr)
5957 def set_reference_frame_lazy(self, tr):
5958 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5959 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
5962 def set_reference_frame_from_members(self, members):
5963 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
5964 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
5967 def add_to_derivatives(self, *args):
5969 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5970 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot, DerivativeAccumulator da)
5972 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5975 def get_torque(self):
5976 """get_torque(RigidBody self) -> Vector3D"""
5977 return _IMP_core.RigidBody_get_torque(self)
5980 def get_coordinates_are_optimized(self):
5981 """get_coordinates_are_optimized(RigidBody self) -> bool"""
5982 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5985 def set_coordinates_are_optimized(self, tf):
5986 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5987 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
5990 def normalize_rotation(self):
5991 """normalize_rotation(RigidBody self)"""
5992 return _IMP_core.RigidBody_normalize_rotation(self)
5995 def update_members(self):
5996 """update_members(RigidBody self)"""
5997 return _IMP_core.RigidBody_update_members(self)
6000 def get_rotational_derivatives(self):
6001 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
6002 return _IMP_core.RigidBody_get_rotational_derivatives(self)
6005 def get_number_of_members(self):
6006 """get_number_of_members(RigidBody self) -> unsigned int"""
6007 return _IMP_core.RigidBody_get_number_of_members(self)
6010 def get_member(self, i):
6011 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
6012 return _IMP_core.RigidBody_get_member(self, i)
6015 def add_member(self, p):
6016 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
6017 return _IMP_core.RigidBody_add_member(self, p)
6020 def add_non_rigid_member(self, p):
6021 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
6022 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
6025 def set_is_rigid_member(self, pi, tf):
6026 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
6027 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
6030 def add_attribute(self, *args):
6032 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
6033 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
6034 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
6035 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
6036 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
6037 add_attribute(RigidBody self, ObjectKey a0, Object a1)
6039 return _IMP_core.RigidBody_add_attribute(self, *args)
6042 def get_value(self, *args):
6044 get_value(RigidBody self, FloatKey a0) -> IMP::Float
6045 get_value(RigidBody self, IntKey a0) -> IMP::Int
6046 get_value(RigidBody self, StringKey a0) -> IMP::String
6047 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
6048 get_value(RigidBody self, ObjectKey a0) -> Object
6050 return _IMP_core.RigidBody_get_value(self, *args)
6053 def set_value(self, *args):
6055 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
6056 set_value(RigidBody self, IntKey a0, IMP::Int a1)
6057 set_value(RigidBody self, StringKey a0, IMP::String a1)
6058 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
6059 set_value(RigidBody self, ObjectKey a0, Object a1)
6061 return _IMP_core.RigidBody_set_value(self, *args)
6064 def remove_attribute(self, *args):
6066 remove_attribute(RigidBody self, FloatKey a0)
6067 remove_attribute(RigidBody self, IntKey a0)
6068 remove_attribute(RigidBody self, StringKey a0)
6069 remove_attribute(RigidBody self, ParticleIndexKey a0)
6070 remove_attribute(RigidBody self, ObjectKey a0)
6072 return _IMP_core.RigidBody_remove_attribute(self, *args)
6075 def has_attribute(self, *args):
6077 has_attribute(RigidBody self, FloatKey a0) -> bool
6078 has_attribute(RigidBody self, IntKey a0) -> bool
6079 has_attribute(RigidBody self, StringKey a0) -> bool
6080 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
6081 has_attribute(RigidBody self, ObjectKey a0) -> bool
6083 return _IMP_core.RigidBody_has_attribute(self, *args)
6086 def get_derivative(self, a0):
6087 """get_derivative(RigidBody self, FloatKey a0) -> double"""
6088 return _IMP_core.RigidBody_get_derivative(self, a0)
6092 """get_name(RigidBody self) -> std::string"""
6093 return _IMP_core.RigidBody_get_name(self)
6096 def clear_caches(self):
6097 """clear_caches(RigidBody self)"""
6098 return _IMP_core.RigidBody_clear_caches(self)
6101 def set_name(self, a0):
6102 """set_name(RigidBody self, std::string a0)"""
6103 return _IMP_core.RigidBody_set_name(self, a0)
6107 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
6108 return _IMP_core.RigidBody_set_check_level(self, a0)
6111 def add_to_derivative(self, a0, a1, a2):
6112 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6113 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
6116 def set_is_optimized(self, a0, a1):
6117 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
6118 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
6121 def get_is_optimized(self, a0):
6122 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
6123 return _IMP_core.RigidBody_get_is_optimized(self, a0)
6127 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
6128 return _IMP_core.RigidBody_get_check_level(self)
6131 def __eq__(self, *args):
6133 __eq__(RigidBody self, RigidBody o) -> bool
6134 __eq__(RigidBody self, Particle d) -> bool
6136 return _IMP_core.RigidBody___eq__(self, *args)
6139 def __ne__(self, *args):
6141 __ne__(RigidBody self, RigidBody o) -> bool
6142 __ne__(RigidBody self, Particle d) -> bool
6144 return _IMP_core.RigidBody___ne__(self, *args)
6147 def __le__(self, *args):
6149 __le__(RigidBody self, RigidBody o) -> bool
6150 __le__(RigidBody self, Particle d) -> bool
6152 return _IMP_core.RigidBody___le__(self, *args)
6155 def __lt__(self, *args):
6157 __lt__(RigidBody self, RigidBody o) -> bool
6158 __lt__(RigidBody self, Particle d) -> bool
6160 return _IMP_core.RigidBody___lt__(self, *args)
6163 def __ge__(self, *args):
6165 __ge__(RigidBody self, RigidBody o) -> bool
6166 __ge__(RigidBody self, Particle d) -> bool
6168 return _IMP_core.RigidBody___ge__(self, *args)
6171 def __gt__(self, *args):
6173 __gt__(RigidBody self, RigidBody o) -> bool
6174 __gt__(RigidBody self, Particle d) -> bool
6176 return _IMP_core.RigidBody___gt__(self, *args)
6180 """__hash__(RigidBody self) -> std::size_t"""
6181 return _IMP_core.RigidBody___hash__(self)
6185 """__str__(RigidBody self) -> std::string"""
6186 return _IMP_core.RigidBody___str__(self)
6190 """__repr__(RigidBody self) -> std::string"""
6191 return _IMP_core.RigidBody___repr__(self)
6193 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
6194 RigidBody_swigregister(RigidBody)
6196 def RigidBody_setup_particle(*args):
6198 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
6199 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
6200 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
6201 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
6203 return _IMP_core.RigidBody_setup_particle(*args)
6205 def RigidBody_teardown_particle(rb):
6206 """RigidBody_teardown_particle(RigidBody rb)"""
6207 return _IMP_core.RigidBody_teardown_particle(rb)
6209 def RigidBody_get_is_setup(*args):
6211 get_is_setup(_ParticleAdaptor p) -> bool
6212 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
6214 return _IMP_core.RigidBody_get_is_setup(*args)
6218 """add_rigid_body_cache_key(ObjectKey k)"""
6219 return _IMP_core.add_rigid_body_cache_key(k)
6220 class RigidBodyMember(XYZ):
6221 """Proxy of C++ IMP::core::RigidBodyMember class"""
6222 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6224 def __init__(self, *args):
6226 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
6227 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
6228 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
6230 this = _IMP_core.new_RigidBodyMember(*args)
6232 self.this.append(this)
6236 def show(self, *args):
6238 show(RigidBodyMember self, _ostream out)
6239 show(RigidBodyMember self)
6241 return _IMP_core.RigidBodyMember_show(self, *args)
6244 def get_rigid_body(self):
6245 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
6246 return _IMP_core.RigidBodyMember_get_rigid_body(self)
6249 def get_internal_coordinates(self):
6250 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
6251 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
6254 def set_internal_coordinates(self, v):
6255 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
6256 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
6259 def set_internal_transformation(self, v):
6260 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
6261 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
6264 def get_internal_transformation(self):
6265 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
6266 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
6268 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
6269 __del__ =
lambda self:
None
6271 def set_coordinates(self, *args):
6273 set_coordinates(RigidBodyMember self, Vector3D center)
6274 set_coordinates(RigidBodyMember self, Transformation3D tr)
6276 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
6279 def get_is_setup(*args):
6281 get_is_setup(_ParticleAdaptor p) -> bool
6282 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6284 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6286 get_is_setup = staticmethod(get_is_setup)
6288 def get_internal_coordinate_keys():
6289 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
6290 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6292 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6294 def add_attribute(self, *args):
6296 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
6297 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6298 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
6299 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
6300 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6301 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
6303 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
6306 def get_value(self, *args):
6308 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
6309 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
6310 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
6311 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
6312 get_value(RigidBodyMember self, ObjectKey a0) -> Object
6314 return _IMP_core.RigidBodyMember_get_value(self, *args)
6317 def set_value(self, *args):
6319 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6320 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
6321 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
6322 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6323 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
6325 return _IMP_core.RigidBodyMember_set_value(self, *args)
6328 def remove_attribute(self, *args):
6330 remove_attribute(RigidBodyMember self, FloatKey a0)
6331 remove_attribute(RigidBodyMember self, IntKey a0)
6332 remove_attribute(RigidBodyMember self, StringKey a0)
6333 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
6334 remove_attribute(RigidBodyMember self, ObjectKey a0)
6336 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
6339 def has_attribute(self, *args):
6341 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
6342 has_attribute(RigidBodyMember self, IntKey a0) -> bool
6343 has_attribute(RigidBodyMember self, StringKey a0) -> bool
6344 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
6345 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
6347 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
6350 def get_derivative(self, a0):
6351 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
6352 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
6356 """get_name(RigidBodyMember self) -> std::string"""
6357 return _IMP_core.RigidBodyMember_get_name(self)
6360 def clear_caches(self):
6361 """clear_caches(RigidBodyMember self)"""
6362 return _IMP_core.RigidBodyMember_clear_caches(self)
6365 def set_name(self, a0):
6366 """set_name(RigidBodyMember self, std::string a0)"""
6367 return _IMP_core.RigidBodyMember_set_name(self, a0)
6371 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
6372 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
6375 def add_to_derivative(self, a0, a1, a2):
6376 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6377 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
6380 def set_is_optimized(self, a0, a1):
6381 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
6382 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
6385 def get_is_optimized(self, a0):
6386 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
6387 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
6391 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
6392 return _IMP_core.RigidBodyMember_get_check_level(self)
6395 def __eq__(self, *args):
6397 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
6398 __eq__(RigidBodyMember self, Particle d) -> bool
6400 return _IMP_core.RigidBodyMember___eq__(self, *args)
6403 def __ne__(self, *args):
6405 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
6406 __ne__(RigidBodyMember self, Particle d) -> bool
6408 return _IMP_core.RigidBodyMember___ne__(self, *args)
6411 def __le__(self, *args):
6413 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
6414 __le__(RigidBodyMember self, Particle d) -> bool
6416 return _IMP_core.RigidBodyMember___le__(self, *args)
6419 def __lt__(self, *args):
6421 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
6422 __lt__(RigidBodyMember self, Particle d) -> bool
6424 return _IMP_core.RigidBodyMember___lt__(self, *args)
6427 def __ge__(self, *args):
6429 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
6430 __ge__(RigidBodyMember self, Particle d) -> bool
6432 return _IMP_core.RigidBodyMember___ge__(self, *args)
6435 def __gt__(self, *args):
6437 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
6438 __gt__(RigidBodyMember self, Particle d) -> bool
6440 return _IMP_core.RigidBodyMember___gt__(self, *args)
6444 """__hash__(RigidBodyMember self) -> std::size_t"""
6445 return _IMP_core.RigidBodyMember___hash__(self)
6449 """__str__(RigidBodyMember self) -> std::string"""
6450 return _IMP_core.RigidBodyMember___str__(self)
6454 """__repr__(RigidBodyMember self) -> std::string"""
6455 return _IMP_core.RigidBodyMember___repr__(self)
6457 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
6458 RigidBodyMember_swigregister(RigidBodyMember)
6460 def RigidBodyMember_get_is_setup(*args):
6462 get_is_setup(_ParticleAdaptor p) -> bool
6463 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6465 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6467 def RigidBodyMember_get_internal_coordinate_keys():
6468 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
6469 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6471 class RigidMember(RigidBodyMember):
6472 """Proxy of C++ IMP::core::RigidMember class"""
6473 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6475 def __init__(self, *args):
6477 __init__(IMP::core::RigidMember self) -> RigidMember
6478 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
6479 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
6481 this = _IMP_core.new_RigidMember(*args)
6483 self.this.append(this)
6487 def show(self, *args):
6489 show(RigidMember self, _ostream out)
6490 show(RigidMember self)
6492 return _IMP_core.RigidMember_show(self, *args)
6494 __swig_destroy__ = _IMP_core.delete_RigidMember
6495 __del__ =
lambda self:
None
6497 def get_is_setup(*args):
6499 get_is_setup(_ParticleAdaptor p) -> bool
6500 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6502 return _IMP_core.RigidMember_get_is_setup(*args)
6504 get_is_setup = staticmethod(get_is_setup)
6506 def add_attribute(self, *args):
6508 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6509 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6510 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6511 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6512 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6513 add_attribute(RigidMember self, ObjectKey a0, Object a1)
6515 return _IMP_core.RigidMember_add_attribute(self, *args)
6518 def get_value(self, *args):
6520 get_value(RigidMember self, FloatKey a0) -> IMP::Float
6521 get_value(RigidMember self, IntKey a0) -> IMP::Int
6522 get_value(RigidMember self, StringKey a0) -> IMP::String
6523 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6524 get_value(RigidMember self, ObjectKey a0) -> Object
6526 return _IMP_core.RigidMember_get_value(self, *args)
6529 def set_value(self, *args):
6531 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6532 set_value(RigidMember self, IntKey a0, IMP::Int a1)
6533 set_value(RigidMember self, StringKey a0, IMP::String a1)
6534 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6535 set_value(RigidMember self, ObjectKey a0, Object a1)
6537 return _IMP_core.RigidMember_set_value(self, *args)
6540 def remove_attribute(self, *args):
6542 remove_attribute(RigidMember self, FloatKey a0)
6543 remove_attribute(RigidMember self, IntKey a0)
6544 remove_attribute(RigidMember self, StringKey a0)
6545 remove_attribute(RigidMember self, ParticleIndexKey a0)
6546 remove_attribute(RigidMember self, ObjectKey a0)
6548 return _IMP_core.RigidMember_remove_attribute(self, *args)
6551 def has_attribute(self, *args):
6553 has_attribute(RigidMember self, FloatKey a0) -> bool
6554 has_attribute(RigidMember self, IntKey a0) -> bool
6555 has_attribute(RigidMember self, StringKey a0) -> bool
6556 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6557 has_attribute(RigidMember self, ObjectKey a0) -> bool
6559 return _IMP_core.RigidMember_has_attribute(self, *args)
6562 def get_derivative(self, a0):
6563 """get_derivative(RigidMember self, FloatKey a0) -> double"""
6564 return _IMP_core.RigidMember_get_derivative(self, a0)
6568 """get_name(RigidMember self) -> std::string"""
6569 return _IMP_core.RigidMember_get_name(self)
6572 def clear_caches(self):
6573 """clear_caches(RigidMember self)"""
6574 return _IMP_core.RigidMember_clear_caches(self)
6577 def set_name(self, a0):
6578 """set_name(RigidMember self, std::string a0)"""
6579 return _IMP_core.RigidMember_set_name(self, a0)
6583 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
6584 return _IMP_core.RigidMember_set_check_level(self, a0)
6587 def add_to_derivative(self, a0, a1, a2):
6588 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6589 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
6592 def set_is_optimized(self, a0, a1):
6593 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6594 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
6597 def get_is_optimized(self, a0):
6598 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6599 return _IMP_core.RigidMember_get_is_optimized(self, a0)
6603 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
6604 return _IMP_core.RigidMember_get_check_level(self)
6607 def __eq__(self, *args):
6609 __eq__(RigidMember self, RigidMember o) -> bool
6610 __eq__(RigidMember self, Particle d) -> bool
6612 return _IMP_core.RigidMember___eq__(self, *args)
6615 def __ne__(self, *args):
6617 __ne__(RigidMember self, RigidMember o) -> bool
6618 __ne__(RigidMember self, Particle d) -> bool
6620 return _IMP_core.RigidMember___ne__(self, *args)
6623 def __le__(self, *args):
6625 __le__(RigidMember self, RigidMember o) -> bool
6626 __le__(RigidMember self, Particle d) -> bool
6628 return _IMP_core.RigidMember___le__(self, *args)
6631 def __lt__(self, *args):
6633 __lt__(RigidMember self, RigidMember o) -> bool
6634 __lt__(RigidMember self, Particle d) -> bool
6636 return _IMP_core.RigidMember___lt__(self, *args)
6639 def __ge__(self, *args):
6641 __ge__(RigidMember self, RigidMember o) -> bool
6642 __ge__(RigidMember self, Particle d) -> bool
6644 return _IMP_core.RigidMember___ge__(self, *args)
6647 def __gt__(self, *args):
6649 __gt__(RigidMember self, RigidMember o) -> bool
6650 __gt__(RigidMember self, Particle d) -> bool
6652 return _IMP_core.RigidMember___gt__(self, *args)
6656 """__hash__(RigidMember self) -> std::size_t"""
6657 return _IMP_core.RigidMember___hash__(self)
6661 """__str__(RigidMember self) -> std::string"""
6662 return _IMP_core.RigidMember___str__(self)
6666 """__repr__(RigidMember self) -> std::string"""
6667 return _IMP_core.RigidMember___repr__(self)
6669 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6670 RigidMember_swigregister(RigidMember)
6672 def RigidMember_get_is_setup(*args):
6674 get_is_setup(_ParticleAdaptor p) -> bool
6675 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6677 return _IMP_core.RigidMember_get_is_setup(*args)
6679 class NonRigidMember(RigidBodyMember):
6680 """Proxy of C++ IMP::core::NonRigidMember class"""
6681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6683 def __init__(self, *args):
6685 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6686 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
6687 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
6689 this = _IMP_core.new_NonRigidMember(*args)
6691 self.this.append(this)
6695 def show(self, *args):
6697 show(NonRigidMember self, _ostream out)
6698 show(NonRigidMember self)
6700 return _IMP_core.NonRigidMember_show(self, *args)
6702 __swig_destroy__ = _IMP_core.delete_NonRigidMember
6703 __del__ =
lambda self:
None
6705 def get_is_setup(*args):
6707 get_is_setup(_ParticleAdaptor p) -> bool
6708 get_is_setup(Model m, ParticleIndex p) -> bool
6710 return _IMP_core.NonRigidMember_get_is_setup(*args)
6712 get_is_setup = staticmethod(get_is_setup)
6714 def add_attribute(self, *args):
6716 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6717 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6718 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6719 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
6720 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6721 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
6723 return _IMP_core.NonRigidMember_add_attribute(self, *args)
6726 def get_value(self, *args):
6728 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
6729 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
6730 get_value(NonRigidMember self, StringKey a0) -> IMP::String
6731 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
6732 get_value(NonRigidMember self, ObjectKey a0) -> Object
6734 return _IMP_core.NonRigidMember_get_value(self, *args)
6737 def set_value(self, *args):
6739 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
6740 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
6741 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
6742 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6743 set_value(NonRigidMember self, ObjectKey a0, Object a1)
6745 return _IMP_core.NonRigidMember_set_value(self, *args)
6748 def remove_attribute(self, *args):
6750 remove_attribute(NonRigidMember self, FloatKey a0)
6751 remove_attribute(NonRigidMember self, IntKey a0)
6752 remove_attribute(NonRigidMember self, StringKey a0)
6753 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
6754 remove_attribute(NonRigidMember self, ObjectKey a0)
6756 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
6759 def has_attribute(self, *args):
6761 has_attribute(NonRigidMember self, FloatKey a0) -> bool
6762 has_attribute(NonRigidMember self, IntKey a0) -> bool
6763 has_attribute(NonRigidMember self, StringKey a0) -> bool
6764 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
6765 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
6767 return _IMP_core.NonRigidMember_has_attribute(self, *args)
6770 def get_derivative(self, a0):
6771 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
6772 return _IMP_core.NonRigidMember_get_derivative(self, a0)
6776 """get_name(NonRigidMember self) -> std::string"""
6777 return _IMP_core.NonRigidMember_get_name(self)
6780 def clear_caches(self):
6781 """clear_caches(NonRigidMember self)"""
6782 return _IMP_core.NonRigidMember_clear_caches(self)
6785 def set_name(self, a0):
6786 """set_name(NonRigidMember self, std::string a0)"""
6787 return _IMP_core.NonRigidMember_set_name(self, a0)
6791 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
6792 return _IMP_core.NonRigidMember_set_check_level(self, a0)
6795 def add_to_derivative(self, a0, a1, a2):
6796 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6797 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
6800 def set_is_optimized(self, a0, a1):
6801 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
6802 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
6805 def get_is_optimized(self, a0):
6806 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
6807 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
6811 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
6812 return _IMP_core.NonRigidMember_get_check_level(self)
6815 def __eq__(self, *args):
6817 __eq__(NonRigidMember self, NonRigidMember o) -> bool
6818 __eq__(NonRigidMember self, Particle d) -> bool
6820 return _IMP_core.NonRigidMember___eq__(self, *args)
6823 def __ne__(self, *args):
6825 __ne__(NonRigidMember self, NonRigidMember o) -> bool
6826 __ne__(NonRigidMember self, Particle d) -> bool
6828 return _IMP_core.NonRigidMember___ne__(self, *args)
6831 def __le__(self, *args):
6833 __le__(NonRigidMember self, NonRigidMember o) -> bool
6834 __le__(NonRigidMember self, Particle d) -> bool
6836 return _IMP_core.NonRigidMember___le__(self, *args)
6839 def __lt__(self, *args):
6841 __lt__(NonRigidMember self, NonRigidMember o) -> bool
6842 __lt__(NonRigidMember self, Particle d) -> bool
6844 return _IMP_core.NonRigidMember___lt__(self, *args)
6847 def __ge__(self, *args):
6849 __ge__(NonRigidMember self, NonRigidMember o) -> bool
6850 __ge__(NonRigidMember self, Particle d) -> bool
6852 return _IMP_core.NonRigidMember___ge__(self, *args)
6855 def __gt__(self, *args):
6857 __gt__(NonRigidMember self, NonRigidMember o) -> bool
6858 __gt__(NonRigidMember self, Particle d) -> bool
6860 return _IMP_core.NonRigidMember___gt__(self, *args)
6864 """__hash__(NonRigidMember self) -> std::size_t"""
6865 return _IMP_core.NonRigidMember___hash__(self)
6869 """__str__(NonRigidMember self) -> std::string"""
6870 return _IMP_core.NonRigidMember___str__(self)
6874 """__repr__(NonRigidMember self) -> std::string"""
6875 return _IMP_core.NonRigidMember___repr__(self)
6877 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
6878 NonRigidMember_swigregister(NonRigidMember)
6880 def NonRigidMember_get_is_setup(*args):
6882 get_is_setup(_ParticleAdaptor p) -> bool
6883 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
6885 return _IMP_core.NonRigidMember_get_is_setup(*args)
6888 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
6889 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6891 def __init__(self, *args):
6893 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
6894 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
6896 this = _IMP_core.new_RigidMembersRefiner(*args)
6898 self.this.append(this)
6902 def do_get_inputs(self, m, pis):
6903 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6904 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
6907 def get_version_info(self):
6908 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
6909 return _IMP_core.RigidMembersRefiner_get_version_info(self)
6913 """__str__(RigidMembersRefiner self) -> std::string"""
6914 return _IMP_core.RigidMembersRefiner___str__(self)
6918 """__repr__(RigidMembersRefiner self) -> std::string"""
6919 return _IMP_core.RigidMembersRefiner___repr__(self)
6922 return _object_cast_to_RigidMembersRefiner(o)
6923 get_from = staticmethod(get_from)
6925 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
6926 RigidMembersRefiner_swigregister(RigidMembersRefiner)
6929 def get_rigid_members_refiner():
6930 """get_rigid_members_refiner() -> RigidMembersRefiner"""
6931 return _IMP_core.get_rigid_members_refiner()
6935 transform(XYZ a, Transformation3D tr)
6936 transform(RigidBody a, Transformation3D tr)
6938 return _IMP_core.transform(*args)
6942 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
6943 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
6945 return _IMP_core.get_initial_reference_frame(*args)
6949 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
6950 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
6952 return _IMP_core.create_rigid_bodies(m, n, no_members)
6956 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
6957 show_rigid_body_hierarchy(RigidBody rb)
6959 return _IMP_core.show_rigid_body_hierarchy(*args)
6962 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
6963 return _IMP_core.get_root_rigid_body(m)
6965 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
6966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6968 def __init__(self, rb, constituents):
6969 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
6970 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
6972 self.this.append(this)
6976 def get_version_info(self):
6977 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
6978 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
6982 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
6983 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
6987 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
6988 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
6991 return _object_cast_to_RigidBodyHierarchyGeometry(o)
6992 get_from = staticmethod(get_from)
6994 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
6995 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
6998 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
6999 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7001 def __init__(self, *args):
7003 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
7004 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
7006 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
7008 self.this.append(this)
7012 def get_version_info(self):
7013 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
7014 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
7018 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
7019 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
7023 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
7024 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
7027 return _object_cast_to_RigidBodyDerivativeGeometry(o)
7028 get_from = staticmethod(get_from)
7030 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
7031 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
7034 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
7035 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7037 def __init__(self, sc):
7038 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
7039 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
7041 self.this.append(this)
7045 def get_version_info(self):
7046 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
7047 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
7051 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
7052 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
7056 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
7057 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
7060 return _object_cast_to_RigidBodyDerivativesGeometry(o)
7061 get_from = staticmethod(get_from)
7063 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
7064 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
7067 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
7068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7070 def __init__(self, *args):
7072 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
7073 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
7075 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
7077 self.this.append(this)
7081 def get_version_info(self):
7082 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
7083 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
7087 """__str__(RigidBodyFrameGeometry self) -> std::string"""
7088 return _IMP_core.RigidBodyFrameGeometry___str__(self)
7092 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
7093 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
7096 return _object_cast_to_RigidBodyFrameGeometry(o)
7097 get_from = staticmethod(get_from)
7099 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
7100 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
7103 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
7104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7106 def __init__(self, sc):
7107 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
7108 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
7110 self.this.append(this)
7114 def get_version_info(self):
7115 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
7116 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
7120 """__str__(RigidBodyFramesGeometry self) -> std::string"""
7121 return _IMP_core.RigidBodyFramesGeometry___str__(self)
7125 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
7126 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
7129 return _object_cast_to_RigidBodyFramesGeometry(o)
7130 get_from = staticmethod(get_from)
7132 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
7133 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
7136 """Proxy of C++ IMP::core::RigidBodyTorque class"""
7137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7139 def __init__(self, p):
7140 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
7141 this = _IMP_core.new_RigidBodyTorque(p)
7143 self.this.append(this)
7148 """__str__(RigidBodyTorque self) -> std::string"""
7149 return _IMP_core.RigidBodyTorque___str__(self)
7153 """__repr__(RigidBodyTorque self) -> std::string"""
7154 return _IMP_core.RigidBodyTorque___repr__(self)
7157 return _object_cast_to_RigidBodyTorque(o)
7158 get_from = staticmethod(get_from)
7160 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
7161 __del__ =
lambda self:
None
7162 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
7163 RigidBodyTorque_swigregister(RigidBodyTorque)
7165 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
7166 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
7167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7170 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
7171 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
7173 self.this.append(this)
7177 def get_close_pairs(self, *args):
7179 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7180 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7181 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7182 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7184 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
7187 def do_get_inputs(self, m, pis):
7188 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7189 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
7192 def get_version_info(self):
7193 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
7194 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
7198 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
7199 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
7203 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
7204 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
7207 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
7208 get_from = staticmethod(get_from)
7210 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
7211 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
7214 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
7215 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7217 def __init__(self, *args):
7219 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
7220 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
7221 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
7222 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
7223 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
7225 this = _IMP_core.new_RestraintsScoringFunction(*args)
7227 self.this.append(this)
7231 def do_add_score_and_derivatives(self, sa, ss):
7232 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7233 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7236 def do_get_inputs(self):
7237 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
7238 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
7241 def get_version_info(self):
7242 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
7243 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
7247 """__str__(RestraintsScoringFunction self) -> std::string"""
7248 return _IMP_core.RestraintsScoringFunction___str__(self)
7252 """__repr__(RestraintsScoringFunction self) -> std::string"""
7253 return _IMP_core.RestraintsScoringFunction___repr__(self)
7256 return _object_cast_to_RestraintsScoringFunction(o)
7257 get_from = staticmethod(get_from)
7259 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
7260 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
7262 class RigidClosePairsFinder(ClosePairsFinder):
7263 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
7264 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7266 def __init__(self, cpf=None):
7268 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
7269 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
7271 this = _IMP_core.new_RigidClosePairsFinder(cpf)
7273 self.this.append(this)
7277 def do_get_inputs(self, m, pis):
7278 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7279 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
7282 def get_close_pairs(self, *args):
7284 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
7285 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7286 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7287 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7288 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7290 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
7293 def get_version_info(self):
7294 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
7295 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
7299 """__str__(RigidClosePairsFinder self) -> std::string"""
7300 return _IMP_core.RigidClosePairsFinder___str__(self)
7304 """__repr__(RigidClosePairsFinder self) -> std::string"""
7305 return _IMP_core.RigidClosePairsFinder___repr__(self)
7308 return _object_cast_to_RigidClosePairsFinder(o)
7309 get_from = staticmethod(get_from)
7311 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
7312 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
7315 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
7316 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7318 def __init__(self, *args):
7320 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
7321 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
7323 this = _IMP_core.new_SphereDistancePairScore(*args)
7325 self.this.append(this)
7329 def do_get_inputs(self, m, pis):
7330 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7331 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
7334 def get_version_info(self):
7335 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
7336 return _IMP_core.SphereDistancePairScore_get_version_info(self)
7340 """__str__(SphereDistancePairScore self) -> std::string"""
7341 return _IMP_core.SphereDistancePairScore___str__(self)
7345 """__repr__(SphereDistancePairScore self) -> std::string"""
7346 return _IMP_core.SphereDistancePairScore___repr__(self)
7349 return _object_cast_to_SphereDistancePairScore(o)
7350 get_from = staticmethod(get_from)
7352 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
7353 SphereDistancePairScore_swigregister(SphereDistancePairScore)
7355 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
7356 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
7357 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7359 def __init__(self, *args):
7361 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
7362 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
7364 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
7366 self.this.append(this)
7370 def do_get_inputs(self, m, pis):
7371 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7372 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
7375 def get_version_info(self):
7376 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
7377 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
7381 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7382 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
7386 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7387 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
7390 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
7391 get_from = staticmethod(get_from)
7393 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
7394 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
7396 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
7397 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
7398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7400 def __init__(self, d0, k):
7401 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
7402 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
7404 self.this.append(this)
7408 def get_rest_length(self):
7409 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7410 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
7413 def get_stiffness(self):
7414 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7415 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
7418 def do_get_inputs(self, m, pis):
7419 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7420 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
7423 def get_version_info(self):
7424 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
7425 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
7429 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7430 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
7434 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7435 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
7438 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
7439 get_from = staticmethod(get_from)
7441 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
7442 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
7445 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
7446 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7448 def __init__(self, *args):
7450 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
7451 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
7453 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
7455 self.this.append(this)
7459 def do_get_inputs(self, m, pis):
7460 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7461 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
7464 def get_version_info(self):
7465 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7466 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7470 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7471 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7475 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7476 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7479 return _object_cast_to_HarmonicSphereDistancePairScore(o)
7480 get_from = staticmethod(get_from)
7482 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7483 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7486 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
7487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7489 def __init__(self, *args):
7491 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
7492 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7494 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7496 self.this.append(this)
7500 def do_get_inputs(self, m, pis):
7501 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7502 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
7505 def get_version_info(self):
7506 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7507 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7511 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7512 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7516 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7517 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7520 return _object_cast_to_NormalizedSphereDistancePairScore(o)
7521 get_from = staticmethod(get_from)
7523 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7524 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7527 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
7528 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7530 def __init__(self, *args):
7532 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
7533 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7535 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7537 self.this.append(this)
7541 def do_get_inputs(self, m, pis):
7542 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7543 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
7546 def get_version_info(self):
7547 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7548 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7552 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7553 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7557 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7558 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7561 return _object_cast_to_WeightedSphereDistancePairScore(o)
7562 get_from = staticmethod(get_from)
7564 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7565 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7568 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
7569 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7571 def __init__(self, *args):
7573 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
7574 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7576 this = _IMP_core.new_SoftSpherePairScore(*args)
7578 self.this.append(this)
7582 def do_get_inputs(self, m, pis):
7583 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7584 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
7587 def get_version_info(self):
7588 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7589 return _IMP_core.SoftSpherePairScore_get_version_info(self)
7593 """__str__(SoftSpherePairScore self) -> std::string"""
7594 return _IMP_core.SoftSpherePairScore___str__(self)
7598 """__repr__(SoftSpherePairScore self) -> std::string"""
7599 return _IMP_core.SoftSpherePairScore___repr__(self)
7602 return _object_cast_to_SoftSpherePairScore(o)
7603 get_from = staticmethod(get_from)
7605 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7606 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7609 """Proxy of C++ IMP::core::SteepestDescent class"""
7610 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7612 def __init__(self, *args):
7614 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
7615 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
7617 this = _IMP_core.new_SteepestDescent(*args)
7619 self.this.append(this)
7623 def do_optimize(self, max_steps):
7624 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
7625 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
7628 def get_version_info(self):
7629 """get_version_info(SteepestDescent self) -> VersionInfo"""
7630 return _IMP_core.SteepestDescent_get_version_info(self)
7633 def set_threshold(self, t):
7634 """set_threshold(SteepestDescent self, IMP::Float t)"""
7635 return _IMP_core.SteepestDescent_set_threshold(self, t)
7638 def set_step_size(self, t):
7639 """set_step_size(SteepestDescent self, IMP::Float t)"""
7640 return _IMP_core.SteepestDescent_set_step_size(self, t)
7643 def set_maximum_step_size(self, t):
7644 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
7645 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
7649 """__str__(SteepestDescent self) -> std::string"""
7650 return _IMP_core.SteepestDescent___str__(self)
7654 """__repr__(SteepestDescent self) -> std::string"""
7655 return _IMP_core.SteepestDescent___repr__(self)
7658 return _object_cast_to_SteepestDescent(o)
7659 get_from = staticmethod(get_from)
7661 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
7662 SteepestDescent_swigregister(SteepestDescent)
7665 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
7666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7668 def __init__(self, f, transformation):
7669 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
7670 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
7672 self.this.append(this)
7676 def set_transformation(self, rot):
7677 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
7678 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
7681 def do_get_inputs(self, m, pis):
7682 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7683 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
7686 def get_version_info(self):
7687 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
7688 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
7692 """__str__(TransformedDistancePairScore self) -> std::string"""
7693 return _IMP_core.TransformedDistancePairScore___str__(self)
7697 """__repr__(TransformedDistancePairScore self) -> std::string"""
7698 return _IMP_core.TransformedDistancePairScore___repr__(self)
7701 return _object_cast_to_TransformedDistancePairScore(o)
7702 get_from = staticmethod(get_from)
7704 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
7705 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
7708 """Proxy of C++ IMP::core::TypedPairScore class"""
7709 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7711 def __init__(self, typekey, allow_invalid_types=True):
7713 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
7714 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
7716 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
7718 self.this.append(this)
7722 def set_particle_type(self, arg2):
7723 """set_particle_type(TypedPairScore self, Particle arg2)"""
7724 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
7727 def set_pair_score(self, ps, atype, btype):
7728 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
7729 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
7732 def do_get_inputs(self, m, pis):
7733 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7734 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
7737 def get_version_info(self):
7738 """get_version_info(TypedPairScore self) -> VersionInfo"""
7739 return _IMP_core.TypedPairScore_get_version_info(self)
7743 """__str__(TypedPairScore self) -> std::string"""
7744 return _IMP_core.TypedPairScore___str__(self)
7748 """__repr__(TypedPairScore self) -> std::string"""
7749 return _IMP_core.TypedPairScore___repr__(self)
7752 return _object_cast_to_TypedPairScore(o)
7753 get_from = staticmethod(get_from)
7755 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
7756 TypedPairScore_swigregister(TypedPairScore)
7758 class RigidBodyDistancePairScore(KClosePairsPairScore):
7759 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
7760 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7762 def __init__(self, ps, r):
7763 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
7764 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
7766 self.this.append(this)
7771 """__str__(RigidBodyDistancePairScore self) -> std::string"""
7772 return _IMP_core.RigidBodyDistancePairScore___str__(self)
7776 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
7777 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
7780 return _object_cast_to_RigidBodyDistancePairScore(o)
7781 get_from = staticmethod(get_from)
7783 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
7784 __del__ =
lambda self:
None
7785 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
7786 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
7789 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class"""
7790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7792 def __init__(self, f):
7793 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
7794 this = _IMP_core.new_RigidBodyAnglePairScore(f)
7796 self.this.append(this)
7800 def do_get_inputs(self, m, pis):
7801 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7802 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
7805 def get_version_info(self):
7806 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
7807 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
7811 """__str__(RigidBodyAnglePairScore self) -> std::string"""
7812 return _IMP_core.RigidBodyAnglePairScore___str__(self)
7816 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
7817 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
7820 return _object_cast_to_RigidBodyAnglePairScore(o)
7821 get_from = staticmethod(get_from)
7823 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
7824 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
7827 """Proxy of C++ IMP::core::TableRefiner class"""
7828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7831 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
7832 this = _IMP_core.new_TableRefiner()
7834 self.this.append(this)
7839 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
7840 return _IMP_core.TableRefiner_add_particle(self, p, ps)
7843 def remove_particle(self, p):
7844 """remove_particle(TableRefiner self, Particle p)"""
7845 return _IMP_core.TableRefiner_remove_particle(self, p)
7848 def set_particle(self, p, ps):
7849 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
7850 return _IMP_core.TableRefiner_set_particle(self, p, ps)
7853 def do_get_inputs(self, m, pis):
7854 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7855 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
7858 def get_version_info(self):
7859 """get_version_info(TableRefiner self) -> VersionInfo"""
7860 return _IMP_core.TableRefiner_get_version_info(self)
7864 """__str__(TableRefiner self) -> std::string"""
7865 return _IMP_core.TableRefiner___str__(self)
7869 """__repr__(TableRefiner self) -> std::string"""
7870 return _IMP_core.TableRefiner___repr__(self)
7873 return _object_cast_to_TableRefiner(o)
7874 get_from = staticmethod(get_from)
7876 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
7877 TableRefiner_swigregister(TableRefiner)
7880 _IMP_core.LOWER_swigconstant(_IMP_core)
7881 LOWER = _IMP_core.LOWER
7883 _IMP_core.BOTH_swigconstant(_IMP_core)
7884 BOTH = _IMP_core.BOTH
7886 _IMP_core.UPPER_swigconstant(_IMP_core)
7887 UPPER = _IMP_core.UPPER
7889 """Proxy of C++ IMP::core::MCCGSampler class"""
7890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7892 def __init__(self, *args):
7894 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
7895 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
7897 this = _IMP_core.new_MCCGSampler(*args)
7899 self.this.append(this)
7903 def set_bounding_box(self, bb):
7904 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
7905 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
7908 def set_number_of_attempts(self, att):
7909 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
7910 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
7913 def set_number_of_monte_carlo_steps(self, cg):
7914 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
7915 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
7918 def set_number_of_conjugate_gradient_steps(self, cg):
7919 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
7920 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
7923 def set_max_monte_carlo_step_size(self, *args):
7925 set_max_monte_carlo_step_size(MCCGSampler self, double d)
7926 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
7928 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
7931 def set_is_refining(self, tf):
7932 """set_is_refining(MCCGSampler self, bool tf)"""
7933 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
7936 def set_local_optimizer(self, opt):
7937 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
7938 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
7941 def set_save_rejected_configurations(self, tf):
7942 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
7943 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
7946 def get_rejected_configurations(self):
7947 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
7948 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
7951 def remove_optimizer_state(self, d):
7952 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
7953 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
7956 def remove_optimizer_states(self, d):
7957 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
7958 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
7961 def set_optimizer_states(self, ps):
7962 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
7963 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
7966 def set_optimizer_states_order(self, objs):
7967 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
7968 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
7971 def add_optimizer_state(self, obj):
7972 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
7973 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
7976 def add_optimizer_states(self, objs):
7977 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
7978 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
7981 def clear_optimizer_states(self):
7982 """clear_optimizer_states(MCCGSampler self)"""
7983 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
7986 def get_number_of_optimizer_states(self):
7987 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
7988 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
7991 def get_has_optimizer_states(self):
7992 """get_has_optimizer_states(MCCGSampler self) -> bool"""
7993 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
7996 def get_optimizer_state(self, i):
7997 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
7998 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
8001 def get_optimizer_states(self):
8002 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
8003 return _IMP_core.MCCGSampler_get_optimizer_states(self)
8006 def reserve_optimizer_states(self, sz):
8007 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
8008 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
8011 def do_sample(self):
8012 """do_sample(MCCGSampler self) -> ConfigurationSet"""
8013 return _IMP_core.MCCGSampler_do_sample(self)
8016 def get_version_info(self):
8017 """get_version_info(MCCGSampler self) -> VersionInfo"""
8018 return _IMP_core.MCCGSampler_get_version_info(self)
8022 """__str__(MCCGSampler self) -> std::string"""
8023 return _IMP_core.MCCGSampler___str__(self)
8027 """__repr__(MCCGSampler self) -> std::string"""
8028 return _IMP_core.MCCGSampler___repr__(self)
8031 return _object_cast_to_MCCGSampler(o)
8032 get_from = staticmethod(get_from)
8034 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
8035 MCCGSampler_swigregister(MCCGSampler)
8038 """Proxy of C++ IMP::core::MinimumRestraint class"""
8039 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8041 def __init__(self, *args):
8043 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
8044 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
8045 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
8047 this = _IMP_core.new_MinimumRestraint(*args)
8049 self.this.append(this)
8053 def do_get_inputs(self):
8054 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
8055 return _IMP_core.MinimumRestraint_do_get_inputs(self)
8058 def get_version_info(self):
8059 """get_version_info(MinimumRestraint self) -> VersionInfo"""
8060 return _IMP_core.MinimumRestraint_get_version_info(self)
8063 def remove_restraint(self, d):
8064 """remove_restraint(MinimumRestraint self, Restraint d)"""
8065 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
8068 def remove_restraints(self, d):
8069 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
8070 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
8073 def set_restraints(self, ps):
8074 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
8075 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
8078 def set_restraints_order(self, objs):
8079 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
8080 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
8084 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
8085 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
8089 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
8090 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
8093 def clear_restraints(self):
8094 """clear_restraints(MinimumRestraint self)"""
8095 return _IMP_core.MinimumRestraint_clear_restraints(self)
8098 def get_number_of_restraints(self):
8099 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
8100 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
8103 def get_has_restraints(self):
8104 """get_has_restraints(MinimumRestraint self) -> bool"""
8105 return _IMP_core.MinimumRestraint_get_has_restraints(self)
8108 def get_restraint(self, i):
8109 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
8110 return _IMP_core.MinimumRestraint_get_restraint(self, i)
8113 def get_restraints(self):
8114 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
8115 return _IMP_core.MinimumRestraint_get_restraints(self)
8118 def reserve_restraints(self, sz):
8119 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
8120 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
8124 """__str__(MinimumRestraint self) -> std::string"""
8125 return _IMP_core.MinimumRestraint___str__(self)
8129 """__repr__(MinimumRestraint self) -> std::string"""
8130 return _IMP_core.MinimumRestraint___repr__(self)
8133 return _object_cast_to_MinimumRestraint(o)
8134 get_from = staticmethod(get_from)
8136 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
8137 MinimumRestraint_swigregister(MinimumRestraint)
8139 class Gaussian(RigidBody):
8140 """Proxy of C++ IMP::core::Gaussian class"""
8141 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8143 def __init__(self, *args):
8145 __init__(IMP::core::Gaussian self) -> Gaussian
8146 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
8147 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
8149 this = _IMP_core.new_Gaussian(*args)
8151 self.this.append(this)
8155 def show(self, *args):
8157 show(Gaussian self, _ostream out)
8160 return _IMP_core.Gaussian_show(self, *args)
8163 def setup_particle(*args):
8165 setup_particle(Model m, ParticleIndex pi) -> Gaussian
8166 setup_particle(_ParticleAdaptor decorator) -> Gaussian
8167 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
8168 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
8170 return _IMP_core.Gaussian_setup_particle(*args)
8172 setup_particle = staticmethod(setup_particle)
8174 def get_local_covariance_key():
8175 """get_local_covariance_key() -> ObjectKey"""
8176 return _IMP_core.Gaussian_get_local_covariance_key()
8178 get_local_covariance_key = staticmethod(get_local_covariance_key)
8180 def get_global_covariance_key():
8181 """get_global_covariance_key() -> ObjectKey"""
8182 return _IMP_core.Gaussian_get_global_covariance_key()
8184 get_global_covariance_key = staticmethod(get_global_covariance_key)
8186 def get_is_setup(*args):
8188 get_is_setup(_ParticleAdaptor p) -> bool
8189 get_is_setup(Model m, ParticleIndex pi) -> bool
8191 return _IMP_core.Gaussian_get_is_setup(*args)
8193 get_is_setup = staticmethod(get_is_setup)
8195 def get_local_covariance(self):
8196 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
8197 return _IMP_core.Gaussian_get_local_covariance(self)
8200 def get_variances(self):
8201 """get_variances(Gaussian self) -> Vector3D"""
8202 return _IMP_core.Gaussian_get_variances(self)
8205 def get_global_covariance(self):
8206 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
8207 return _IMP_core.Gaussian_get_global_covariance(self)
8210 def get_gaussian(self):
8211 """get_gaussian(Gaussian self) -> Gaussian3D"""
8212 return _IMP_core.Gaussian_get_gaussian(self)
8215 def set_local_covariance(self, covar):
8216 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
8217 return _IMP_core.Gaussian_set_local_covariance(self, covar)
8220 def set_variances(self, v):
8221 """set_variances(Gaussian self, Vector3D v)"""
8222 return _IMP_core.Gaussian_set_variances(self, v)
8225 def set_global_covariance(self, covar):
8226 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
8227 return _IMP_core.Gaussian_set_global_covariance(self, covar)
8230 def update_global_covariance(self):
8231 """update_global_covariance(Gaussian self)"""
8232 return _IMP_core.Gaussian_update_global_covariance(self)
8235 def add_attribute(self, *args):
8237 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
8238 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
8239 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
8240 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
8241 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
8242 add_attribute(Gaussian self, ObjectKey a0, Object a1)
8244 return _IMP_core.Gaussian_add_attribute(self, *args)
8247 def get_value(self, *args):
8249 get_value(Gaussian self, FloatKey a0) -> IMP::Float
8250 get_value(Gaussian self, IntKey a0) -> IMP::Int
8251 get_value(Gaussian self, StringKey a0) -> IMP::String
8252 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
8253 get_value(Gaussian self, ObjectKey a0) -> Object
8255 return _IMP_core.Gaussian_get_value(self, *args)
8258 def set_value(self, *args):
8260 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
8261 set_value(Gaussian self, IntKey a0, IMP::Int a1)
8262 set_value(Gaussian self, StringKey a0, IMP::String a1)
8263 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
8264 set_value(Gaussian self, ObjectKey a0, Object a1)
8266 return _IMP_core.Gaussian_set_value(self, *args)
8269 def remove_attribute(self, *args):
8271 remove_attribute(Gaussian self, FloatKey a0)
8272 remove_attribute(Gaussian self, IntKey a0)
8273 remove_attribute(Gaussian self, StringKey a0)
8274 remove_attribute(Gaussian self, ParticleIndexKey a0)
8275 remove_attribute(Gaussian self, ObjectKey a0)
8277 return _IMP_core.Gaussian_remove_attribute(self, *args)
8280 def has_attribute(self, *args):
8282 has_attribute(Gaussian self, FloatKey a0) -> bool
8283 has_attribute(Gaussian self, IntKey a0) -> bool
8284 has_attribute(Gaussian self, StringKey a0) -> bool
8285 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
8286 has_attribute(Gaussian self, ObjectKey a0) -> bool
8288 return _IMP_core.Gaussian_has_attribute(self, *args)
8291 def get_derivative(self, a0):
8292 """get_derivative(Gaussian self, FloatKey a0) -> double"""
8293 return _IMP_core.Gaussian_get_derivative(self, a0)
8297 """get_name(Gaussian self) -> std::string"""
8298 return _IMP_core.Gaussian_get_name(self)
8301 def clear_caches(self):
8302 """clear_caches(Gaussian self)"""
8303 return _IMP_core.Gaussian_clear_caches(self)
8306 def set_name(self, a0):
8307 """set_name(Gaussian self, std::string a0)"""
8308 return _IMP_core.Gaussian_set_name(self, a0)
8312 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
8313 return _IMP_core.Gaussian_set_check_level(self, a0)
8316 def add_to_derivative(self, a0, a1, a2):
8317 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8318 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
8321 def set_is_optimized(self, a0, a1):
8322 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
8323 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
8326 def get_is_optimized(self, a0):
8327 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
8328 return _IMP_core.Gaussian_get_is_optimized(self, a0)
8332 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
8333 return _IMP_core.Gaussian_get_check_level(self)
8336 def __eq__(self, *args):
8338 __eq__(Gaussian self, Gaussian o) -> bool
8339 __eq__(Gaussian self, Particle d) -> bool
8341 return _IMP_core.Gaussian___eq__(self, *args)
8344 def __ne__(self, *args):
8346 __ne__(Gaussian self, Gaussian o) -> bool
8347 __ne__(Gaussian self, Particle d) -> bool
8349 return _IMP_core.Gaussian___ne__(self, *args)
8352 def __le__(self, *args):
8354 __le__(Gaussian self, Gaussian o) -> bool
8355 __le__(Gaussian self, Particle d) -> bool
8357 return _IMP_core.Gaussian___le__(self, *args)
8360 def __lt__(self, *args):
8362 __lt__(Gaussian self, Gaussian o) -> bool
8363 __lt__(Gaussian self, Particle d) -> bool
8365 return _IMP_core.Gaussian___lt__(self, *args)
8368 def __ge__(self, *args):
8370 __ge__(Gaussian self, Gaussian o) -> bool
8371 __ge__(Gaussian self, Particle d) -> bool
8373 return _IMP_core.Gaussian___ge__(self, *args)
8376 def __gt__(self, *args):
8378 __gt__(Gaussian self, Gaussian o) -> bool
8379 __gt__(Gaussian self, Particle d) -> bool
8381 return _IMP_core.Gaussian___gt__(self, *args)
8385 """__hash__(Gaussian self) -> std::size_t"""
8386 return _IMP_core.Gaussian___hash__(self)
8390 """__str__(Gaussian self) -> std::string"""
8391 return _IMP_core.Gaussian___str__(self)
8395 """__repr__(Gaussian self) -> std::string"""
8396 return _IMP_core.Gaussian___repr__(self)
8398 __swig_destroy__ = _IMP_core.delete_Gaussian
8399 __del__ =
lambda self:
None
8400 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
8401 Gaussian_swigregister(Gaussian)
8403 def Gaussian_setup_particle(*args):
8405 setup_particle(Model m, ParticleIndex pi) -> Gaussian
8406 setup_particle(_ParticleAdaptor decorator) -> Gaussian
8407 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
8408 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
8410 return _IMP_core.Gaussian_setup_particle(*args)
8412 def Gaussian_get_local_covariance_key():
8413 """Gaussian_get_local_covariance_key() -> ObjectKey"""
8414 return _IMP_core.Gaussian_get_local_covariance_key()
8416 def Gaussian_get_global_covariance_key():
8417 """Gaussian_get_global_covariance_key() -> ObjectKey"""
8418 return _IMP_core.Gaussian_get_global_covariance_key()
8420 def Gaussian_get_is_setup(*args):
8422 get_is_setup(_ParticleAdaptor p) -> bool
8423 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
8425 return _IMP_core.Gaussian_get_is_setup(*args)
8428 """Proxy of C++ IMP::core::PairRestraint class"""
8429 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8431 def __init__(self, *args):
8433 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
8434 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
8435 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::ParticlePair const & vt, std::string name) -> PairRestraint
8436 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::ParticlePair const & vt) -> PairRestraint
8438 this = _IMP_core.new_PairRestraint(*args)
8440 self.this.append(this)
8444 def get_version_info(self):
8445 """get_version_info(PairRestraint self) -> VersionInfo"""
8446 return _IMP_core.PairRestraint_get_version_info(self)
8450 """__str__(PairRestraint self) -> std::string"""
8451 return _IMP_core.PairRestraint___str__(self)
8455 """__repr__(PairRestraint self) -> std::string"""
8456 return _IMP_core.PairRestraint___repr__(self)
8459 return _object_cast_to_PairRestraint(o)
8460 get_from = staticmethod(get_from)
8462 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
8463 PairRestraint_swigregister(PairRestraint)
8466 """Proxy of C++ IMP::core::SingletonRestraint class"""
8467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8469 def __init__(self, *args):
8471 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
8472 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
8473 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name) -> SingletonRestraint
8474 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
8476 this = _IMP_core.new_SingletonRestraint(*args)
8478 self.this.append(this)
8482 def get_version_info(self):
8483 """get_version_info(SingletonRestraint self) -> VersionInfo"""
8484 return _IMP_core.SingletonRestraint_get_version_info(self)
8488 """__str__(SingletonRestraint self) -> std::string"""
8489 return _IMP_core.SingletonRestraint___str__(self)
8493 """__repr__(SingletonRestraint self) -> std::string"""
8494 return _IMP_core.SingletonRestraint___repr__(self)
8497 return _object_cast_to_SingletonRestraint(o)
8498 get_from = staticmethod(get_from)
8500 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
8501 SingletonRestraint_swigregister(SingletonRestraint)
8504 """Proxy of C++ IMP::core::TripletRestraint class"""
8505 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8507 def __init__(self, *args):
8509 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
8510 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
8511 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::ParticleTriplet const & vt, std::string name) -> TripletRestraint
8512 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::ParticleTriplet const & vt) -> TripletRestraint
8514 this = _IMP_core.new_TripletRestraint(*args)
8516 self.this.append(this)
8520 def get_version_info(self):
8521 """get_version_info(TripletRestraint self) -> VersionInfo"""
8522 return _IMP_core.TripletRestraint_get_version_info(self)
8526 """__str__(TripletRestraint self) -> std::string"""
8527 return _IMP_core.TripletRestraint___str__(self)
8531 """__repr__(TripletRestraint self) -> std::string"""
8532 return _IMP_core.TripletRestraint___repr__(self)
8535 return _object_cast_to_TripletRestraint(o)
8536 get_from = staticmethod(get_from)
8538 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
8539 TripletRestraint_swigregister(TripletRestraint)
8542 """Proxy of C++ IMP::core::QuadRestraint class"""
8543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8545 def __init__(self, *args):
8547 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
8548 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
8549 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::ParticleQuad const & vt, std::string name) -> QuadRestraint
8550 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::ParticleQuad const & vt) -> QuadRestraint
8552 this = _IMP_core.new_QuadRestraint(*args)
8554 self.this.append(this)
8558 def get_version_info(self):
8559 """get_version_info(QuadRestraint self) -> VersionInfo"""
8560 return _IMP_core.QuadRestraint_get_version_info(self)
8564 """__str__(QuadRestraint self) -> std::string"""
8565 return _IMP_core.QuadRestraint___str__(self)
8569 """__repr__(QuadRestraint self) -> std::string"""
8570 return _IMP_core.QuadRestraint___repr__(self)
8573 return _object_cast_to_QuadRestraint(o)
8574 get_from = staticmethod(get_from)
8576 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
8577 QuadRestraint_swigregister(QuadRestraint)
8580 """Proxy of C++ IMP::core::SingletonConstraint class"""
8581 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8583 def __init__(self, *args):
8585 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
8586 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
8587 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
8588 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
8590 this = _IMP_core.new_SingletonConstraint(*args)
8592 self.this.append(this)
8596 def get_version_info(self):
8597 """get_version_info(SingletonConstraint self) -> VersionInfo"""
8598 return _IMP_core.SingletonConstraint_get_version_info(self)
8602 """__str__(SingletonConstraint self) -> std::string"""
8603 return _IMP_core.SingletonConstraint___str__(self)
8607 """__repr__(SingletonConstraint self) -> std::string"""
8608 return _IMP_core.SingletonConstraint___repr__(self)
8611 return _object_cast_to_SingletonConstraint(o)
8612 get_from = staticmethod(get_from)
8614 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
8615 SingletonConstraint_swigregister(SingletonConstraint)
8618 """Proxy of C++ IMP::core::PairConstraint class"""
8619 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8621 def __init__(self, *args):
8623 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
8624 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
8625 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
8626 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
8628 this = _IMP_core.new_PairConstraint(*args)
8630 self.this.append(this)
8634 def get_version_info(self):
8635 """get_version_info(PairConstraint self) -> VersionInfo"""
8636 return _IMP_core.PairConstraint_get_version_info(self)
8640 """__str__(PairConstraint self) -> std::string"""
8641 return _IMP_core.PairConstraint___str__(self)
8645 """__repr__(PairConstraint self) -> std::string"""
8646 return _IMP_core.PairConstraint___repr__(self)
8649 return _object_cast_to_PairConstraint(o)
8650 get_from = staticmethod(get_from)
8652 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
8653 PairConstraint_swigregister(PairConstraint)
8656 """Proxy of C++ IMP::core::TripletConstraint class"""
8657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8659 def __init__(self, *args):
8661 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
8662 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
8663 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
8664 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
8666 this = _IMP_core.new_TripletConstraint(*args)
8668 self.this.append(this)
8672 def get_version_info(self):
8673 """get_version_info(TripletConstraint self) -> VersionInfo"""
8674 return _IMP_core.TripletConstraint_get_version_info(self)
8678 """__str__(TripletConstraint self) -> std::string"""
8679 return _IMP_core.TripletConstraint___str__(self)
8683 """__repr__(TripletConstraint self) -> std::string"""
8684 return _IMP_core.TripletConstraint___repr__(self)
8687 return _object_cast_to_TripletConstraint(o)
8688 get_from = staticmethod(get_from)
8690 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
8691 TripletConstraint_swigregister(TripletConstraint)
8694 """Proxy of C++ IMP::core::QuadConstraint class"""
8695 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8697 def __init__(self, *args):
8699 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
8700 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
8701 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
8702 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
8704 this = _IMP_core.new_QuadConstraint(*args)
8706 self.this.append(this)
8710 def get_version_info(self):
8711 """get_version_info(QuadConstraint self) -> VersionInfo"""
8712 return _IMP_core.QuadConstraint_get_version_info(self)
8716 """__str__(QuadConstraint self) -> std::string"""
8717 return _IMP_core.QuadConstraint___str__(self)
8721 """__repr__(QuadConstraint self) -> std::string"""
8722 return _IMP_core.QuadConstraint___repr__(self)
8725 return _object_cast_to_QuadConstraint(o)
8726 get_from = staticmethod(get_from)
8728 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
8729 QuadConstraint_swigregister(QuadConstraint)
8732 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
8733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8735 def __init__(self, *args):
8737 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
8738 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
8740 this = _IMP_core.new_ConstantSingletonPredicate(*args)
8742 self.this.append(this)
8746 def do_get_inputs(self, arg2, arg3):
8747 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
8748 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
8751 def get_value(self, *args):
8753 get_value(ConstantSingletonPredicate self, Particle a) -> int
8754 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
8756 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
8759 def get_value_index(self, *args):
8761 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
8762 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
8764 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
8767 def get_version_info(self):
8768 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
8769 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
8773 """__str__(ConstantSingletonPredicate self) -> std::string"""
8774 return _IMP_core.ConstantSingletonPredicate___str__(self)
8778 """__repr__(ConstantSingletonPredicate self) -> std::string"""
8779 return _IMP_core.ConstantSingletonPredicate___repr__(self)
8782 return _object_cast_to_ConstantSingletonPredicate(o)
8783 get_from = staticmethod(get_from)
8785 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
8786 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
8789 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
8790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8792 def __init__(self, *args):
8794 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
8795 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
8797 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
8799 self.this.append(this)
8803 def do_get_inputs(self, m, pis):
8804 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8805 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
8808 def get_value(self, *args):
8810 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
8811 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
8813 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
8816 def get_value_index(self, *args):
8818 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
8819 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
8821 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
8824 def get_version_info(self):
8825 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
8826 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
8830 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
8831 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
8835 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
8836 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
8839 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
8840 get_from = staticmethod(get_from)
8842 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
8843 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
8846 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
8847 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8849 def __init__(self, *args):
8851 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
8852 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
8854 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
8856 self.this.append(this)
8860 def do_get_inputs(self, m, pis):
8861 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8862 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
8865 def get_value(self, *args):
8867 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
8868 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
8869 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
8871 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
8874 def get_value_index(self, *args):
8876 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
8877 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
8879 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
8882 def get_version_info(self):
8883 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
8884 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
8888 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
8889 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
8893 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
8894 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
8897 return _object_cast_to_OrderedTypeSingletonPredicate(o)
8898 get_from = staticmethod(get_from)
8900 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
8901 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
8904 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
8905 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8907 def __init__(self, *args):
8909 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
8910 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
8912 this = _IMP_core.new_AllSameSingletonPredicate(*args)
8914 self.this.append(this)
8918 def do_get_inputs(self, arg2, arg3):
8919 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
8920 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
8923 def get_value(self, *args):
8925 get_value(AllSameSingletonPredicate self, Particle a) -> int
8926 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
8928 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
8931 def get_value_index(self, *args):
8933 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
8934 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
8936 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
8939 def get_version_info(self):
8940 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
8941 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
8945 """__str__(AllSameSingletonPredicate self) -> std::string"""
8946 return _IMP_core.AllSameSingletonPredicate___str__(self)
8950 """__repr__(AllSameSingletonPredicate self) -> std::string"""
8951 return _IMP_core.AllSameSingletonPredicate___repr__(self)
8954 return _object_cast_to_AllSameSingletonPredicate(o)
8955 get_from = staticmethod(get_from)
8957 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
8958 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
8961 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
8962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8964 def __init__(self, *args):
8966 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
8967 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
8969 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
8971 self.this.append(this)
8975 def do_get_inputs(self, arg2, arg3):
8976 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
8977 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
8980 def get_value(self, *args):
8982 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
8983 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
8985 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
8988 def get_value_index(self, *args):
8990 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
8991 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
8993 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
8996 def get_version_info(self):
8997 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
8998 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
9002 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
9003 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
9007 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
9008 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
9011 return _object_cast_to_CoinFlipSingletonPredicate(o)
9012 get_from = staticmethod(get_from)
9014 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
9015 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
9018 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
9019 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9021 def __init__(self, *args):
9023 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
9024 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
9026 this = _IMP_core.new_ConstantPairPredicate(*args)
9028 self.this.append(this)
9032 def do_get_inputs(self, arg2, arg3):
9033 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9034 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
9037 def get_value(self, *args):
9039 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
9040 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9042 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
9045 def get_value_index(self, *args):
9047 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
9048 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9050 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
9053 def get_version_info(self):
9054 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
9055 return _IMP_core.ConstantPairPredicate_get_version_info(self)
9059 """__str__(ConstantPairPredicate self) -> std::string"""
9060 return _IMP_core.ConstantPairPredicate___str__(self)
9064 """__repr__(ConstantPairPredicate self) -> std::string"""
9065 return _IMP_core.ConstantPairPredicate___repr__(self)
9068 return _object_cast_to_ConstantPairPredicate(o)
9069 get_from = staticmethod(get_from)
9071 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
9072 ConstantPairPredicate_swigregister(ConstantPairPredicate)
9075 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
9076 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9078 def __init__(self, *args):
9080 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
9081 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
9083 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
9085 self.this.append(this)
9089 def do_get_inputs(self, m, pis):
9090 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9091 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
9094 def get_value(self, *args):
9096 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
9097 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9099 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
9102 def get_value_index(self, *args):
9104 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9105 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9107 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
9110 def get_version_info(self):
9111 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
9112 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
9116 """__str__(UnorderedTypePairPredicate self) -> std::string"""
9117 return _IMP_core.UnorderedTypePairPredicate___str__(self)
9121 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
9122 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
9125 return _object_cast_to_UnorderedTypePairPredicate(o)
9126 get_from = staticmethod(get_from)
9128 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
9129 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
9132 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
9133 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9135 def __init__(self, *args):
9137 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
9138 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
9140 this = _IMP_core.new_OrderedTypePairPredicate(*args)
9142 self.this.append(this)
9146 def do_get_inputs(self, m, pis):
9147 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9148 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
9151 def get_value(self, *args):
9153 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
9154 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
9155 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9157 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
9160 def get_value_index(self, *args):
9162 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9163 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9165 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
9168 def get_version_info(self):
9169 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
9170 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
9174 """__str__(OrderedTypePairPredicate self) -> std::string"""
9175 return _IMP_core.OrderedTypePairPredicate___str__(self)
9179 """__repr__(OrderedTypePairPredicate self) -> std::string"""
9180 return _IMP_core.OrderedTypePairPredicate___repr__(self)
9183 return _object_cast_to_OrderedTypePairPredicate(o)
9184 get_from = staticmethod(get_from)
9186 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
9187 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
9190 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
9191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9193 def __init__(self, *args):
9195 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
9196 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
9198 this = _IMP_core.new_AllSamePairPredicate(*args)
9200 self.this.append(this)
9204 def do_get_inputs(self, arg2, arg3):
9205 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9206 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
9209 def get_value(self, *args):
9211 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
9212 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9214 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
9217 def get_value_index(self, *args):
9219 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9220 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9222 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
9225 def get_version_info(self):
9226 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
9227 return _IMP_core.AllSamePairPredicate_get_version_info(self)
9231 """__str__(AllSamePairPredicate self) -> std::string"""
9232 return _IMP_core.AllSamePairPredicate___str__(self)
9236 """__repr__(AllSamePairPredicate self) -> std::string"""
9237 return _IMP_core.AllSamePairPredicate___repr__(self)
9240 return _object_cast_to_AllSamePairPredicate(o)
9241 get_from = staticmethod(get_from)
9243 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
9244 AllSamePairPredicate_swigregister(AllSamePairPredicate)
9247 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
9248 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9250 def __init__(self, *args):
9252 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
9253 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
9255 this = _IMP_core.new_CoinFlipPairPredicate(*args)
9257 self.this.append(this)
9261 def do_get_inputs(self, arg2, arg3):
9262 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9263 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
9266 def get_value(self, *args):
9268 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
9269 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9271 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
9274 def get_value_index(self, *args):
9276 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
9277 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9279 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
9282 def get_version_info(self):
9283 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
9284 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
9288 """__str__(CoinFlipPairPredicate self) -> std::string"""
9289 return _IMP_core.CoinFlipPairPredicate___str__(self)
9293 """__repr__(CoinFlipPairPredicate self) -> std::string"""
9294 return _IMP_core.CoinFlipPairPredicate___repr__(self)
9297 return _object_cast_to_CoinFlipPairPredicate(o)
9298 get_from = staticmethod(get_from)
9300 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
9301 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
9304 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
9305 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9307 def __init__(self, *args):
9309 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
9310 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
9312 this = _IMP_core.new_ConstantTripletPredicate(*args)
9314 self.this.append(this)
9318 def do_get_inputs(self, arg2, arg3):
9319 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9320 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
9323 def get_value(self, *args):
9325 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9326 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9328 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
9331 def get_value_index(self, *args):
9333 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
9334 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9336 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
9339 def get_version_info(self):
9340 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
9341 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
9345 """__str__(ConstantTripletPredicate self) -> std::string"""
9346 return _IMP_core.ConstantTripletPredicate___str__(self)
9350 """__repr__(ConstantTripletPredicate self) -> std::string"""
9351 return _IMP_core.ConstantTripletPredicate___repr__(self)
9354 return _object_cast_to_ConstantTripletPredicate(o)
9355 get_from = staticmethod(get_from)
9357 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
9358 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
9361 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
9362 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9364 def __init__(self, *args):
9366 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
9367 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
9369 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
9371 self.this.append(this)
9375 def do_get_inputs(self, m, pis):
9376 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9377 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
9380 def get_value(self, *args):
9382 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9383 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9385 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
9388 def get_value_index(self, *args):
9390 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9391 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9393 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
9396 def get_version_info(self):
9397 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
9398 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
9402 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
9403 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
9407 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
9408 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
9411 return _object_cast_to_UnorderedTypeTripletPredicate(o)
9412 get_from = staticmethod(get_from)
9414 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
9415 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
9418 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
9419 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9421 def __init__(self, *args):
9423 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
9424 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
9426 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
9428 self.this.append(this)
9432 def do_get_inputs(self, m, pis):
9433 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9434 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
9437 def get_value(self, *args):
9439 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
9440 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9441 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9443 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
9446 def get_value_index(self, *args):
9448 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9449 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9451 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
9454 def get_version_info(self):
9455 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
9456 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
9460 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
9461 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
9465 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
9466 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
9469 return _object_cast_to_OrderedTypeTripletPredicate(o)
9470 get_from = staticmethod(get_from)
9472 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
9473 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
9476 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
9477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9479 def __init__(self, *args):
9481 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
9482 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
9484 this = _IMP_core.new_AllSameTripletPredicate(*args)
9486 self.this.append(this)
9490 def do_get_inputs(self, arg2, arg3):
9491 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9492 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
9495 def get_value(self, *args):
9497 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9498 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9500 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
9503 def get_value_index(self, *args):
9505 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9506 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9508 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
9511 def get_version_info(self):
9512 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
9513 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
9517 """__str__(AllSameTripletPredicate self) -> std::string"""
9518 return _IMP_core.AllSameTripletPredicate___str__(self)
9522 """__repr__(AllSameTripletPredicate self) -> std::string"""
9523 return _IMP_core.AllSameTripletPredicate___repr__(self)
9526 return _object_cast_to_AllSameTripletPredicate(o)
9527 get_from = staticmethod(get_from)
9529 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
9530 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
9533 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
9534 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9536 def __init__(self, *args):
9538 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
9539 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
9541 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
9543 self.this.append(this)
9547 def do_get_inputs(self, arg2, arg3):
9548 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9549 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
9552 def get_value(self, *args):
9554 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9555 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9557 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
9560 def get_value_index(self, *args):
9562 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
9563 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9565 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
9568 def get_version_info(self):
9569 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
9570 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
9574 """__str__(CoinFlipTripletPredicate self) -> std::string"""
9575 return _IMP_core.CoinFlipTripletPredicate___str__(self)
9579 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
9580 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
9583 return _object_cast_to_CoinFlipTripletPredicate(o)
9584 get_from = staticmethod(get_from)
9586 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
9587 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
9590 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
9591 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9593 def __init__(self, *args):
9595 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
9596 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
9598 this = _IMP_core.new_ConstantQuadPredicate(*args)
9600 self.this.append(this)
9604 def do_get_inputs(self, arg2, arg3):
9605 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9606 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
9609 def get_value(self, *args):
9611 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
9612 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
9614 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
9617 def get_value_index(self, *args):
9619 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
9620 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
9622 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
9625 def get_version_info(self):
9626 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
9627 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
9631 """__str__(ConstantQuadPredicate self) -> std::string"""
9632 return _IMP_core.ConstantQuadPredicate___str__(self)
9636 """__repr__(ConstantQuadPredicate self) -> std::string"""
9637 return _IMP_core.ConstantQuadPredicate___repr__(self)
9640 return _object_cast_to_ConstantQuadPredicate(o)
9641 get_from = staticmethod(get_from)
9643 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
9644 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
9647 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
9648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9650 def __init__(self, *args):
9652 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
9653 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
9655 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
9657 self.this.append(this)
9661 def do_get_inputs(self, m, pis):
9662 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9663 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
9666 def get_value(self, *args):
9668 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
9669 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
9671 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
9674 def get_value_index(self, *args):
9676 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
9677 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
9679 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
9682 def get_version_info(self):
9683 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
9684 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
9688 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
9689 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
9693 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
9694 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
9697 return _object_cast_to_UnorderedTypeQuadPredicate(o)
9698 get_from = staticmethod(get_from)
9700 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
9701 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
9704 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
9705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9707 def __init__(self, *args):
9709 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
9710 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
9712 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
9714 self.this.append(this)
9718 def do_get_inputs(self, m, pis):
9719 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9720 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
9723 def get_value(self, *args):
9725 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
9726 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
9727 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
9729 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
9732 def get_value_index(self, *args):
9734 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
9735 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
9737 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
9740 def get_version_info(self):
9741 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
9742 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
9746 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
9747 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
9751 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
9752 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
9755 return _object_cast_to_OrderedTypeQuadPredicate(o)
9756 get_from = staticmethod(get_from)
9758 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
9759 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
9762 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
9763 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9765 def __init__(self, *args):
9767 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
9768 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
9770 this = _IMP_core.new_AllSameQuadPredicate(*args)
9772 self.this.append(this)
9776 def do_get_inputs(self, arg2, arg3):
9777 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9778 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
9781 def get_value(self, *args):
9783 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
9784 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
9786 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
9789 def get_value_index(self, *args):
9791 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
9792 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
9794 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
9797 def get_version_info(self):
9798 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
9799 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
9803 """__str__(AllSameQuadPredicate self) -> std::string"""
9804 return _IMP_core.AllSameQuadPredicate___str__(self)
9808 """__repr__(AllSameQuadPredicate self) -> std::string"""
9809 return _IMP_core.AllSameQuadPredicate___repr__(self)
9812 return _object_cast_to_AllSameQuadPredicate(o)
9813 get_from = staticmethod(get_from)
9815 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
9816 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
9819 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
9820 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9822 def __init__(self, *args):
9824 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
9825 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
9827 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
9829 self.this.append(this)
9833 def do_get_inputs(self, arg2, arg3):
9834 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9835 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
9838 def get_value(self, *args):
9840 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
9841 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
9843 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
9846 def get_value_index(self, *args):
9848 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
9849 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
9851 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
9854 def get_version_info(self):
9855 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
9856 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
9860 """__str__(CoinFlipQuadPredicate self) -> std::string"""
9861 return _IMP_core.CoinFlipQuadPredicate___str__(self)
9865 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
9866 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
9869 return _object_cast_to_CoinFlipQuadPredicate(o)
9870 get_from = staticmethod(get_from)
9872 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
9873 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
9876 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
9877 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9879 def __init__(self, *args):
9881 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
9882 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
9884 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
9886 self.this.append(this)
9890 def do_get_inputs(self, m, pi):
9891 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
9892 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
9895 def get_value(self, *args):
9897 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
9898 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9900 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
9903 def get_value_index(self, *args):
9905 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
9906 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9908 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
9911 def get_version_info(self):
9912 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
9913 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
9917 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9918 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
9922 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9923 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
9926 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
9927 get_from = staticmethod(get_from)
9929 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
9930 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
9933 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
9934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9936 def __init__(self, *args):
9938 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
9939 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
9941 this = _IMP_core.new_AttributeSingletonPredicate(*args)
9943 self.this.append(this)
9947 def do_get_inputs(self, m, pi):
9948 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
9949 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
9952 def get_value(self, *args):
9954 get_value(AttributeSingletonPredicate self, Particle a) -> int
9955 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9957 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
9960 def get_value_index(self, *args):
9962 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
9963 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9965 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
9968 def get_version_info(self):
9969 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
9970 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
9974 """__str__(AttributeSingletonPredicate self) -> std::string"""
9975 return _IMP_core.AttributeSingletonPredicate___str__(self)
9979 """__repr__(AttributeSingletonPredicate self) -> std::string"""
9980 return _IMP_core.AttributeSingletonPredicate___repr__(self)
9983 return _object_cast_to_AttributeSingletonPredicate(o)
9984 get_from = staticmethod(get_from)
9986 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
9987 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
9990 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
9991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9993 def __init__(self, *args):
9995 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
9996 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
9998 this = _IMP_core.new_IsCollisionPairPredicate(*args)
10000 self.this.append(this)
10004 def do_get_inputs(self, m, pi):
10005 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10006 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
10009 def get_value(self, *args):
10011 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
10012 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10014 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
10017 def get_value_index(self, *args):
10019 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
10020 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10022 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
10025 def get_version_info(self):
10026 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
10027 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
10031 """__str__(IsCollisionPairPredicate self) -> std::string"""
10032 return _IMP_core.IsCollisionPairPredicate___str__(self)
10035 def __repr__(self):
10036 """__repr__(IsCollisionPairPredicate self) -> std::string"""
10037 return _IMP_core.IsCollisionPairPredicate___repr__(self)
10040 return _object_cast_to_IsCollisionPairPredicate(o)
10041 get_from = staticmethod(get_from)
10043 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
10044 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
10046 class AngleRestraint(TripletRestraint):
10047 """Proxy of C++ IMP::core::AngleRestraint class"""
10048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10050 def __init__(self, *args):
10052 __init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint
10053 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
10054 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
10056 this = _IMP_core.new_AngleRestraint(*args)
10058 self.this.append(this)
10063 """__str__(AngleRestraint self) -> std::string"""
10064 return _IMP_core.AngleRestraint___str__(self)
10067 def __repr__(self):
10068 """__repr__(AngleRestraint self) -> std::string"""
10069 return _IMP_core.AngleRestraint___repr__(self)
10072 return _object_cast_to_AngleRestraint(o)
10073 get_from = staticmethod(get_from)
10075 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
10076 AngleRestraint_swigregister(AngleRestraint)
10078 class RigidBodyMover(MonteCarloMover):
10079 """Proxy of C++ IMP::core::RigidBodyMover class"""
10080 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10082 def __init__(self, *args):
10084 __init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
10085 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
10087 this = _IMP_core.new_RigidBodyMover(*args)
10089 self.this.append(this)
10093 def set_maximum_translation(self, mt):
10094 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
10095 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
10098 def set_maximum_rotation(self, mr):
10099 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
10100 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
10103 def get_maximum_translation(self):
10104 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
10105 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
10108 def get_maximum_rotation(self):
10109 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
10110 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
10113 def get_version_info(self):
10114 """get_version_info(RigidBodyMover self) -> VersionInfo"""
10115 return _IMP_core.RigidBodyMover_get_version_info(self)
10119 """__str__(RigidBodyMover self) -> std::string"""
10120 return _IMP_core.RigidBodyMover___str__(self)
10123 def __repr__(self):
10124 """__repr__(RigidBodyMover self) -> std::string"""
10125 return _IMP_core.RigidBodyMover___repr__(self)
10128 return _object_cast_to_RigidBodyMover(o)
10129 get_from = staticmethod(get_from)
10131 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
10132 RigidBodyMover_swigregister(RigidBodyMover)
10134 class RigidBodyTunneler(MonteCarloMover):
10135 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
10136 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10138 def __init__(self, m, pis, ref, k, move_probability=1.):
10140 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
10141 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
10143 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
10145 self.this.append(this)
10149 def add_entry_point(self, fl):
10150 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
10151 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
10154 def reset_stats(self):
10155 """reset_stats(RigidBodyTunneler self)"""
10156 return _IMP_core.RigidBodyTunneler_reset_stats(self)
10159 def get_number_of_rejected_moves(self):
10160 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
10161 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
10164 def get_number_of_proposed_moves(self):
10165 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
10166 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
10169 def get_number_of_impossible_moves(self):
10170 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
10171 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
10174 def get_number_of_calls(self):
10175 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
10176 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
10179 def get_reduced_coordinates(*args):
10181 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
10182 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
10184 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
10186 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
10188 def set_reduced_coordinates(m, target, ref, coords):
10189 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
10190 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
10192 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
10194 def get_version_info(self):
10195 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
10196 return _IMP_core.RigidBodyTunneler_get_version_info(self)
10200 """__str__(RigidBodyTunneler self) -> std::string"""
10201 return _IMP_core.RigidBodyTunneler___str__(self)
10204 def __repr__(self):
10205 """__repr__(RigidBodyTunneler self) -> std::string"""
10206 return _IMP_core.RigidBodyTunneler___repr__(self)
10209 return _object_cast_to_RigidBodyTunneler(o)
10210 get_from = staticmethod(get_from)
10212 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
10213 RigidBodyTunneler_swigregister(RigidBodyTunneler)
10215 def RigidBodyTunneler_get_reduced_coordinates(*args):
10217 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
10218 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
10220 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
10222 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
10223 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
10224 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
10227 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
10228 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10230 def __init__(self, *args):
10232 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
10233 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
10234 __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
10235 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
10237 this = _IMP_core.new_RigidBodyUmbrella(*args)
10239 self.this.append(this)
10243 def set_x0(self, *args):
10245 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
10246 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
10248 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
10252 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
10253 return _IMP_core.RigidBodyUmbrella_get_x0(self)
10257 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
10258 return _IMP_core.RigidBodyUmbrella_get_x(self)
10261 def set_alpha(self, alpha):
10262 """set_alpha(RigidBodyUmbrella self, double alpha)"""
10263 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
10266 def set_k(self, k):
10267 """set_k(RigidBodyUmbrella self, double k)"""
10268 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
10271 def get_version_info(self):
10272 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
10273 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
10277 """__str__(RigidBodyUmbrella self) -> std::string"""
10278 return _IMP_core.RigidBodyUmbrella___str__(self)
10281 def __repr__(self):
10282 """__repr__(RigidBodyUmbrella self) -> std::string"""
10283 return _IMP_core.RigidBodyUmbrella___repr__(self)
10286 return _object_cast_to_RigidBodyUmbrella(o)
10287 get_from = staticmethod(get_from)
10289 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
10290 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
10293 """Proxy of C++ IMP::core::VolumeRestraint class"""
10294 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10296 def __init__(self, f, sc, volume):
10297 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
10298 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
10300 self.this.append(this)
10304 def do_get_inputs(self):
10305 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
10306 return _IMP_core.VolumeRestraint_do_get_inputs(self)
10309 def get_version_info(self):
10310 """get_version_info(VolumeRestraint self) -> VersionInfo"""
10311 return _IMP_core.VolumeRestraint_get_version_info(self)
10315 """__str__(VolumeRestraint self) -> std::string"""
10316 return _IMP_core.VolumeRestraint___str__(self)
10319 def __repr__(self):
10320 """__repr__(VolumeRestraint self) -> std::string"""
10321 return _IMP_core.VolumeRestraint___repr__(self)
10324 return _object_cast_to_VolumeRestraint(o)
10325 get_from = staticmethod(get_from)
10327 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
10328 VolumeRestraint_swigregister(VolumeRestraint)
10332 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
10333 return _IMP_core.get_centroid(ps)
10335 def get_bounding_box(ps):
10336 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
10337 return _IMP_core.get_bounding_box(ps)
10339 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
10340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10342 def __init__(self, ps):
10343 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
10344 this = _IMP_core.new_MoveStatisticsScoreState(ps)
10346 self.this.append(this)
10350 def show_statistics(self, *args):
10352 show_statistics(MoveStatisticsScoreState self, _ostream out)
10353 show_statistics(MoveStatisticsScoreState self)
10355 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
10359 """reset(MoveStatisticsScoreState self)"""
10360 return _IMP_core.MoveStatisticsScoreState_reset(self)
10363 def do_before_evaluate(self):
10364 """do_before_evaluate(MoveStatisticsScoreState self)"""
10365 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
10368 def do_after_evaluate(self, da):
10369 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
10370 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
10373 def do_get_inputs(self):
10374 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
10375 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
10378 def do_get_outputs(self):
10379 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
10380 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
10383 def get_version_info(self):
10384 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
10385 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
10389 """__str__(MoveStatisticsScoreState self) -> std::string"""
10390 return _IMP_core.MoveStatisticsScoreState___str__(self)
10393 def __repr__(self):
10394 """__repr__(MoveStatisticsScoreState self) -> std::string"""
10395 return _IMP_core.MoveStatisticsScoreState___repr__(self)
10398 return _object_cast_to_MoveStatisticsScoreState(o)
10399 get_from = staticmethod(get_from)
10401 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
10402 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
10405 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
10406 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
10408 """Proxy of C++ IMP::core::Typed class"""
10409 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10411 def get_type_key():
10412 """get_type_key() -> IntKey"""
10413 return _IMP_core.Typed_get_type_key()
10415 get_type_key = staticmethod(get_type_key)
10417 def __init__(self, *args):
10419 __init__(IMP::core::Typed self) -> Typed
10420 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
10421 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
10423 this = _IMP_core.new_Typed(*args)
10425 self.this.append(this)
10429 def show(self, *args):
10431 show(Typed self, _ostream out)
10434 return _IMP_core.Typed_show(self, *args)
10437 def setup_particle(*args):
10439 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
10440 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
10442 return _IMP_core.Typed_setup_particle(*args)
10444 setup_particle = staticmethod(setup_particle)
10446 def get_is_setup(*args):
10448 get_is_setup(_ParticleAdaptor p) -> bool
10449 get_is_setup(Model m, ParticleIndex pi) -> bool
10451 return _IMP_core.Typed_get_is_setup(*args)
10453 get_is_setup = staticmethod(get_is_setup)
10455 def get_type(self):
10456 """get_type(Typed self) -> ParticleType"""
10457 return _IMP_core.Typed_get_type(self)
10460 def add_attribute(self, *args):
10462 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
10463 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
10464 add_attribute(Typed self, IntKey a0, IMP::Int a1)
10465 add_attribute(Typed self, StringKey a0, IMP::String a1)
10466 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
10467 add_attribute(Typed self, ObjectKey a0, Object a1)
10469 return _IMP_core.Typed_add_attribute(self, *args)
10472 def get_value(self, *args):
10474 get_value(Typed self, FloatKey a0) -> IMP::Float
10475 get_value(Typed self, IntKey a0) -> IMP::Int
10476 get_value(Typed self, StringKey a0) -> IMP::String
10477 get_value(Typed self, ParticleIndexKey a0) -> Particle
10478 get_value(Typed self, ObjectKey a0) -> Object
10480 return _IMP_core.Typed_get_value(self, *args)
10483 def set_value(self, *args):
10485 set_value(Typed self, FloatKey a0, IMP::Float a1)
10486 set_value(Typed self, IntKey a0, IMP::Int a1)
10487 set_value(Typed self, StringKey a0, IMP::String a1)
10488 set_value(Typed self, ParticleIndexKey a0, Particle a1)
10489 set_value(Typed self, ObjectKey a0, Object a1)
10491 return _IMP_core.Typed_set_value(self, *args)
10494 def remove_attribute(self, *args):
10496 remove_attribute(Typed self, FloatKey a0)
10497 remove_attribute(Typed self, IntKey a0)
10498 remove_attribute(Typed self, StringKey a0)
10499 remove_attribute(Typed self, ParticleIndexKey a0)
10500 remove_attribute(Typed self, ObjectKey a0)
10502 return _IMP_core.Typed_remove_attribute(self, *args)
10505 def has_attribute(self, *args):
10507 has_attribute(Typed self, FloatKey a0) -> bool
10508 has_attribute(Typed self, IntKey a0) -> bool
10509 has_attribute(Typed self, StringKey a0) -> bool
10510 has_attribute(Typed self, ParticleIndexKey a0) -> bool
10511 has_attribute(Typed self, ObjectKey a0) -> bool
10513 return _IMP_core.Typed_has_attribute(self, *args)
10516 def get_derivative(self, a0):
10517 """get_derivative(Typed self, FloatKey a0) -> double"""
10518 return _IMP_core.Typed_get_derivative(self, a0)
10521 def get_name(self):
10522 """get_name(Typed self) -> std::string"""
10523 return _IMP_core.Typed_get_name(self)
10526 def clear_caches(self):
10527 """clear_caches(Typed self)"""
10528 return _IMP_core.Typed_clear_caches(self)
10531 def set_name(self, a0):
10532 """set_name(Typed self, std::string a0)"""
10533 return _IMP_core.Typed_set_name(self, a0)
10537 """set_check_level(Typed self, IMP::CheckLevel a0)"""
10538 return _IMP_core.Typed_set_check_level(self, a0)
10541 def add_to_derivative(self, a0, a1, a2):
10542 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10543 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
10546 def set_is_optimized(self, a0, a1):
10547 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
10548 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
10551 def get_is_optimized(self, a0):
10552 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
10553 return _IMP_core.Typed_get_is_optimized(self, a0)
10557 """get_check_level(Typed self) -> IMP::CheckLevel"""
10558 return _IMP_core.Typed_get_check_level(self)
10561 def __eq__(self, *args):
10563 __eq__(Typed self, Typed o) -> bool
10564 __eq__(Typed self, Particle d) -> bool
10566 return _IMP_core.Typed___eq__(self, *args)
10569 def __ne__(self, *args):
10571 __ne__(Typed self, Typed o) -> bool
10572 __ne__(Typed self, Particle d) -> bool
10574 return _IMP_core.Typed___ne__(self, *args)
10577 def __le__(self, *args):
10579 __le__(Typed self, Typed o) -> bool
10580 __le__(Typed self, Particle d) -> bool
10582 return _IMP_core.Typed___le__(self, *args)
10585 def __lt__(self, *args):
10587 __lt__(Typed self, Typed o) -> bool
10588 __lt__(Typed self, Particle d) -> bool
10590 return _IMP_core.Typed___lt__(self, *args)
10593 def __ge__(self, *args):
10595 __ge__(Typed self, Typed o) -> bool
10596 __ge__(Typed self, Particle d) -> bool
10598 return _IMP_core.Typed___ge__(self, *args)
10601 def __gt__(self, *args):
10603 __gt__(Typed self, Typed o) -> bool
10604 __gt__(Typed self, Particle d) -> bool
10606 return _IMP_core.Typed___gt__(self, *args)
10609 def __hash__(self):
10610 """__hash__(Typed self) -> std::size_t"""
10611 return _IMP_core.Typed___hash__(self)
10615 """__str__(Typed self) -> std::string"""
10616 return _IMP_core.Typed___str__(self)
10619 def __repr__(self):
10620 """__repr__(Typed self) -> std::string"""
10621 return _IMP_core.Typed___repr__(self)
10623 __swig_destroy__ = _IMP_core.delete_Typed
10624 __del__ =
lambda self:
None
10625 Typed_swigregister = _IMP_core.Typed_swigregister
10626 Typed_swigregister(Typed)
10628 def Typed_get_type_key():
10629 """Typed_get_type_key() -> IntKey"""
10630 return _IMP_core.Typed_get_type_key()
10632 def Typed_setup_particle(*args):
10634 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
10635 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
10637 return _IMP_core.Typed_setup_particle(*args)
10639 def Typed_get_is_setup(*args):
10641 get_is_setup(_ParticleAdaptor p) -> bool
10642 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
10644 return _IMP_core.Typed_get_is_setup(*args)
10647 def __lshift__(*args):
10649 __lshift__(_ostream out, XYZ n) -> _ostream
10650 __lshift__(_ostream out, XYZR n) -> _ostream
10651 __lshift__(_ostream out, Centroid n) -> _ostream
10652 __lshift__(_ostream out, Cover n) -> _ostream
10653 __lshift__(_ostream out, Reference n) -> _ostream
10654 __lshift__(_ostream out, RigidMember n) -> _ostream
10655 __lshift__(_ostream out, RigidBody n) -> _ostream
10656 __lshift__(_ostream out, Gaussian n) -> _ostream
10657 __lshift__(_ostream out, Typed n) -> _ostream
10659 return _IMP_core.__lshift__(*args)
10661 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
10662 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10664 def __init__(self, rs, out):
10665 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
10666 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
10668 self.this.append(this)
10672 def get_version_info(self):
10673 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
10674 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
10678 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
10679 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
10682 def __repr__(self):
10683 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
10684 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
10687 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
10688 get_from = staticmethod(get_from)
10690 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
10691 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
10695 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
10696 return _IMP_core.assign_blame(rs, ps, attribute)
10700 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
10701 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
10702 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
10704 return _IMP_core.create_blame_geometries(*args)
10708 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
10709 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
10710 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
10712 return _IMP_core.get_transformation_aligning_first_to_second(*args)
10715 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
10716 return _IMP_core.create_restraint(ps, pp)
10718 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
10719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10721 def __init__(self, *args):
10723 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
10724 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
10726 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
10728 self.this.append(this)
10732 def get_version_info(self):
10733 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
10734 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
10738 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
10739 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
10742 def __repr__(self):
10743 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
10744 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
10747 return _object_cast_to_TruncatedHarmonic(o)
10748 get_from = staticmethod(get_from)
10750 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
10751 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
10754 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
10755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10757 def __init__(self, *args):
10759 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
10760 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
10762 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
10764 self.this.append(this)
10768 def get_version_info(self):
10769 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
10770 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
10774 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
10775 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
10778 def __repr__(self):
10779 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
10780 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
10783 return _object_cast_to_TruncatedHarmonic(o)
10784 get_from = staticmethod(get_from)
10786 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
10787 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
10790 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
10791 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10793 def __init__(self, *args):
10795 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
10796 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
10798 this = _IMP_core.new_TruncatedHarmonicBound(*args)
10800 self.this.append(this)
10804 def get_version_info(self):
10805 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
10806 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
10810 """__str__(TruncatedHarmonicBound self) -> std::string"""
10811 return _IMP_core.TruncatedHarmonicBound___str__(self)
10814 def __repr__(self):
10815 """__repr__(TruncatedHarmonicBound self) -> std::string"""
10816 return _IMP_core.TruncatedHarmonicBound___repr__(self)
10819 return _object_cast_to_TruncatedHarmonic(o)
10820 get_from = staticmethod(get_from)
10822 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
10823 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
10826 """Proxy of C++ IMP::Key<(34897493,true)> class"""
10827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10829 def __init__(self, *args):
10831 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
10832 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
10833 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
10835 this = _IMP_core.new_ParticleType(*args)
10837 self.this.append(this)
10842 """add_key(std::string sc) -> unsigned int"""
10843 return _IMP_core.ParticleType_add_key(sc)
10845 add_key = staticmethod(add_key)
10847 def get_key_exists(sc):
10848 """get_key_exists(std::string sc) -> bool"""
10849 return _IMP_core.ParticleType_get_key_exists(sc)
10851 get_key_exists = staticmethod(get_key_exists)
10853 def get_string(self):
10854 """get_string(ParticleType self) -> std::string const"""
10855 return _IMP_core.ParticleType_get_string(self)
10858 def __cmp__(self, o):
10859 """__cmp__(ParticleType self, ParticleType o) -> int"""
10860 return _IMP_core.ParticleType___cmp__(self, o)
10863 def __eq__(self, o):
10864 """__eq__(ParticleType self, ParticleType o) -> bool"""
10865 return _IMP_core.ParticleType___eq__(self, o)
10868 def __ne__(self, o):
10869 """__ne__(ParticleType self, ParticleType o) -> bool"""
10870 return _IMP_core.ParticleType___ne__(self, o)
10873 def __lt__(self, o):
10874 """__lt__(ParticleType self, ParticleType o) -> bool"""
10875 return _IMP_core.ParticleType___lt__(self, o)
10878 def __gt__(self, o):
10879 """__gt__(ParticleType self, ParticleType o) -> bool"""
10880 return _IMP_core.ParticleType___gt__(self, o)
10883 def __ge__(self, o):
10884 """__ge__(ParticleType self, ParticleType o) -> bool"""
10885 return _IMP_core.ParticleType___ge__(self, o)
10888 def __le__(self, o):
10889 """__le__(ParticleType self, ParticleType o) -> bool"""
10890 return _IMP_core.ParticleType___le__(self, o)
10893 def __hash__(self):
10894 """__hash__(ParticleType self) -> std::size_t"""
10895 return _IMP_core.ParticleType___hash__(self)
10898 def show(self, *args):
10900 show(ParticleType self, _ostream out)
10901 show(ParticleType self)
10903 return _IMP_core.ParticleType_show(self, *args)
10906 def add_alias(old_key, new_name):
10907 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
10908 return _IMP_core.ParticleType_add_alias(old_key, new_name)
10910 add_alias = staticmethod(add_alias)
10913 """get_index(ParticleType self) -> unsigned int"""
10914 return _IMP_core.ParticleType_get_index(self)
10918 """show_all(_ostream out)"""
10919 return _IMP_core.ParticleType_show_all(out)
10921 show_all = staticmethod(show_all)
10923 def get_all_strings():
10924 """get_all_strings() -> IMP::Vector< std::string >"""
10925 return _IMP_core.ParticleType_get_all_strings()
10927 get_all_strings = staticmethod(get_all_strings)
10929 def get_number_unique():
10930 """get_number_unique() -> unsigned int"""
10931 return _IMP_core.ParticleType_get_number_unique()
10933 get_number_unique = staticmethod(get_number_unique)
10936 """__str__(ParticleType self) -> std::string"""
10937 return _IMP_core.ParticleType___str__(self)
10940 def __repr__(self):
10941 """__repr__(ParticleType self) -> std::string"""
10942 return _IMP_core.ParticleType___repr__(self)
10944 __swig_destroy__ = _IMP_core.delete_ParticleType
10945 __del__ =
lambda self:
None
10946 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
10947 ParticleType_swigregister(ParticleType)
10949 def ParticleType_add_key(sc):
10950 """ParticleType_add_key(std::string sc) -> unsigned int"""
10951 return _IMP_core.ParticleType_add_key(sc)
10953 def ParticleType_get_key_exists(sc):
10954 """ParticleType_get_key_exists(std::string sc) -> bool"""
10955 return _IMP_core.ParticleType_get_key_exists(sc)
10957 def ParticleType_add_alias(old_key, new_name):
10958 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
10959 return _IMP_core.ParticleType_add_alias(old_key, new_name)
10961 def ParticleType_show_all(out):
10962 """ParticleType_show_all(_ostream out)"""
10963 return _IMP_core.ParticleType_show_all(out)
10965 def ParticleType_get_all_strings():
10966 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
10967 return _IMP_core.ParticleType_get_all_strings()
10969 def ParticleType_get_number_unique():
10970 """ParticleType_get_number_unique() -> unsigned int"""
10971 return _IMP_core.ParticleType_get_number_unique()
10974 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
10975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10976 __repr__ = _swig_repr
10978 def __init__(self, f, k):
10979 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
10980 this = _IMP_core.new_AttributeSingletonScore(f, k)
10982 self.this.append(this)
10986 def do_get_inputs(self, m, pis):
10987 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10988 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
10991 def get_version_info(self):
10992 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
10993 return _IMP_core.AttributeSingletonScore_get_version_info(self)
10995 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
10996 AttributeSingletonScore_swigregister(AttributeSingletonScore)
11000 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
11001 return _IMP_core.create_attribute_singleton_score(uf, k)
11003 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
11004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11005 __repr__ = _swig_repr
11007 def __init__(self, f, bb):
11008 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
11009 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
11011 self.this.append(this)
11015 def do_get_inputs(self, m, pis):
11016 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11017 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
11020 def get_version_info(self):
11021 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
11022 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
11024 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
11025 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
11028 def create_bounding_box_3d_singleton_score(f, bb):
11029 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
11030 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
11032 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
11033 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11034 __repr__ = _swig_repr
11036 def __init__(self, f, pt):
11037 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
11038 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
11040 self.this.append(this)
11044 def do_get_inputs(self, m, pis):
11045 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11046 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
11049 def get_version_info(self):
11050 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
11051 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
11053 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
11054 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
11057 def create_distance_to_singleton_score(f, pt):
11058 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
11059 return _IMP_core.create_distance_to_singleton_score(f, pt)
11061 def get_module_version():
11062 """get_module_version() -> std::string const"""
11063 return _IMP_core.get_module_version()
11066 """get_example_path(std::string fname) -> std::string"""
11067 return _IMP_core.get_example_path(fname)
11070 """get_data_path(std::string fname) -> std::string"""
11071 return _IMP_core.get_data_path(fname)
11072 from .
import _version_check
11073 _version_check.check_version(get_module_version())
11074 __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
Hierarchies get_leaves(Hierarchy h)
double get_kt(double T)
Return kT for a given temperature.
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)
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
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
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
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.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
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.
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.
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)