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)
223 _IMP_core.IMP_DEBUG_swigconstant(_IMP_core)
224 IMP_DEBUG = _IMP_core.IMP_DEBUG
226 _IMP_core.IMP_RELEASE_swigconstant(_IMP_core)
227 IMP_RELEASE = _IMP_core.IMP_RELEASE
229 _IMP_core.IMP_SILENT_swigconstant(_IMP_core)
230 IMP_SILENT = _IMP_core.IMP_SILENT
232 _IMP_core.IMP_PROGRESS_swigconstant(_IMP_core)
233 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
235 _IMP_core.IMP_TERSE_swigconstant(_IMP_core)
236 IMP_TERSE = _IMP_core.IMP_TERSE
238 _IMP_core.IMP_VERBOSE_swigconstant(_IMP_core)
239 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
241 _IMP_core.IMP_MEMORY_swigconstant(_IMP_core)
242 IMP_MEMORY = _IMP_core.IMP_MEMORY
244 _IMP_core.IMP_NONE_swigconstant(_IMP_core)
245 IMP_NONE = _IMP_core.IMP_NONE
247 _IMP_core.IMP_USAGE_swigconstant(_IMP_core)
248 IMP_USAGE = _IMP_core.IMP_USAGE
250 _IMP_core.IMP_INTERNAL_swigconstant(_IMP_core)
251 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
253 _IMP_core.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_core)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_core.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_core)
257 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
259 _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_core)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_core)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_core)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
271 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_core)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_core)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 _IMP_core.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_core)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
281 class _DirectorObjects(object):
282 """@internal Simple class to keep references to director objects
283 to prevent premature deletion."""
286 def register(self, obj):
287 """Take a reference to a director object; will only work for
288 refcounted C++ classes"""
289 if hasattr(obj,
'get_ref_count'):
290 self._objects.append(obj)
292 """Only drop our reference and allow cleanup by Python if no other
293 Python references exist (we hold 3 references: one in self._objects,
294 one in x, and one in the argument list for getrefcount) *and* no
295 other C++ references exist (the Python object always holds one)"""
296 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
297 or x.get_ref_count() > 1]
301 def get_object_count(self):
302 """Get number of director objects (useful for testing only)"""
303 return len(self._objects)
304 _director_objects = _DirectorObjects()
306 class _ostream(object):
307 """Proxy of C++ std::ostream class"""
308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
310 def __init__(self, *args, **kwargs):
311 raise AttributeError(
"No constructor defined")
312 __repr__ = _swig_repr
314 def write(self, osa_buf):
315 """write(_ostream self, char const * osa_buf)"""
316 return _IMP_core._ostream_write(self, osa_buf)
318 _ostream_swigregister = _IMP_core._ostream_swigregister
319 _ostream_swigregister(_ostream)
322 _IMP_core.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_core)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
325 _IMP_core.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_core)
326 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
328 _IMP_core.IMP_HAS_NOEXCEPT_swigconstant(_IMP_core)
329 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
332 _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
335 _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
338 _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
341 _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
344 _IMP_core.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_core)
345 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
348 _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_core)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
351 _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
354 _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
357 _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
360 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
363 _IMP_core.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_core)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
366 _IMP_core.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_core)
367 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
369 _IMP_core.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_core)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
373 _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_core)
374 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
376 _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
377 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
379 _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
380 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
382 _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
383 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
385 _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
386 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
388 _IMP_core.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_core)
389 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
391 _IMP_core.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_core)
392 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
395 _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_core)
396 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
398 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
399 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
401 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
402 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
404 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
405 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
407 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
408 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
410 _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_core)
411 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
413 _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_core)
414 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
416 _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_core)
417 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 _IMP_core.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_core)
421 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
423 _IMP_core.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_core)
424 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
426 _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
427 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
429 _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
430 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
432 _IMP_core.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
433 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
435 _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
436 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
438 _IMP_core.IMP_CORE_HAS_CGAL_swigconstant(_IMP_core)
439 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
441 _IMP_core.IMP_CORE_HAS_HDF5_swigconstant(_IMP_core)
442 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
444 _IMP_core.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_core)
445 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
447 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
448 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
449 __repr__ = _swig_repr
451 def __init__(self, *args):
453 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
454 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
456 this = _IMP_core.new__OpenCubicSplineBase(*args)
458 self.this.append(this)
462 def get_version_info(self):
463 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
464 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
466 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
467 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
470 _object_types.append(
"MonteCarloMover")
473 def _object_cast_to_MonteCarloMover(o):
474 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
475 return _IMP_core._object_cast_to_MonteCarloMover(o)
477 MonteCarloMoverResults=list
478 _plural_types.append(
"MonteCarloMoverResults")
479 _value_types.append(
"MonteCarloMoverResult")
482 _object_types.append(
"AngleRestraint")
485 def _object_cast_to_AngleRestraint(o):
486 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
487 return _IMP_core._object_cast_to_AngleRestraint(o)
489 _object_types.append(
"AngleTripletScore")
492 def _object_cast_to_AngleTripletScore(o):
493 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
494 return _IMP_core._object_cast_to_AngleTripletScore(o)
496 _object_types.append(
"AttributeSingletonScore")
499 def _object_cast_to_AttributeSingletonScore(o):
500 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
501 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
503 _object_types.append(
"BallMover")
506 def _object_cast_to_BallMover(o):
507 """_object_cast_to_BallMover(Object o) -> BallMover"""
508 return _IMP_core._object_cast_to_BallMover(o)
510 _object_types.append(
"SerialMover")
513 def _object_cast_to_SerialMover(o):
514 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
515 return _IMP_core._object_cast_to_SerialMover(o)
517 _object_types.append(
"BoundingBox3DSingletonScore")
520 def _object_cast_to_BoundingBox3DSingletonScore(o):
521 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
522 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
524 _object_types.append(
"BoxSweepClosePairsFinder")
527 def _object_cast_to_BoxSweepClosePairsFinder(o):
528 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
529 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
531 _object_types.append(
"NearestNeighborsClosePairsFinder")
534 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
535 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
536 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
538 _object_types.append(
"CentroidOfRefined")
541 def _object_cast_to_CentroidOfRefined(o):
542 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
543 return _IMP_core._object_cast_to_CentroidOfRefined(o)
545 _object_types.append(
"ChecksScoreState")
548 def _object_cast_to_ChecksScoreState(o):
549 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
550 return _IMP_core._object_cast_to_ChecksScoreState(o)
552 _object_types.append(
"ChildrenRefiner")
555 def _object_cast_to_ChildrenRefiner(o):
556 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
557 return _IMP_core._object_cast_to_ChildrenRefiner(o)
559 _object_types.append(
"ClosePairsFinder")
562 def _object_cast_to_ClosePairsFinder(o):
563 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
564 return _IMP_core._object_cast_to_ClosePairsFinder(o)
566 _object_types.append(
"ClosePairsPairScore")
569 def _object_cast_to_ClosePairsPairScore(o):
570 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
571 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
573 _object_types.append(
"ClosedCubicSpline")
576 def _object_cast_to_ClosedCubicSpline(o):
577 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
578 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
580 _object_types.append(
"ConjugateGradients")
583 def _object_cast_to_ConjugateGradients(o):
584 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
585 return _IMP_core._object_cast_to_ConjugateGradients(o)
587 _object_types.append(
"ConnectivityRestraint")
590 def _object_cast_to_ConnectivityRestraint(o):
591 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
592 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
594 _object_types.append(
"ConstantRestraint")
597 def _object_cast_to_ConstantRestraint(o):
598 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
599 return _IMP_core._object_cast_to_ConstantRestraint(o)
601 _object_types.append(
"Cosine")
604 def _object_cast_to_Cosine(o):
605 """_object_cast_to_Cosine(Object o) -> Cosine"""
606 return _IMP_core._object_cast_to_Cosine(o)
608 _object_types.append(
"CoverRefined")
611 def _object_cast_to_CoverRefined(o):
612 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
613 return _IMP_core._object_cast_to_CoverRefined(o)
615 _object_types.append(
"DerivativesFromRefined")
618 def _object_cast_to_DerivativesFromRefined(o):
619 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
620 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
622 _object_types.append(
"DerivativesToRefined")
625 def _object_cast_to_DerivativesToRefined(o):
626 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
627 return _IMP_core._object_cast_to_DerivativesToRefined(o)
629 _object_types.append(
"WeightedDerivativesToRefined")
632 def _object_cast_to_WeightedDerivativesToRefined(o):
633 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
634 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
636 _object_types.append(
"DiameterRestraint")
639 def _object_cast_to_DiameterRestraint(o):
640 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
641 return _IMP_core._object_cast_to_DiameterRestraint(o)
643 _object_types.append(
"DihedralRestraint")
646 def _object_cast_to_DihedralRestraint(o):
647 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
648 return _IMP_core._object_cast_to_DihedralRestraint(o)
650 _object_types.append(
"DistanceRestraint")
653 def _object_cast_to_DistanceRestraint(o):
654 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
655 return _IMP_core._object_cast_to_DistanceRestraint(o)
657 _object_types.append(
"DistanceToSingletonScore")
660 def _object_cast_to_DistanceToSingletonScore(o):
661 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
662 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
664 _object_types.append(
"ExcludedVolumeRestraint")
667 def _object_cast_to_ExcludedVolumeRestraint(o):
668 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
669 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
671 _object_types.append(
"FixedRefiner")
674 def _object_cast_to_FixedRefiner(o):
675 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
676 return _IMP_core._object_cast_to_FixedRefiner(o)
678 _object_types.append(
"GridClosePairsFinder")
681 def _object_cast_to_GridClosePairsFinder(o):
682 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
683 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
685 _object_types.append(
"Harmonic")
688 def _object_cast_to_Harmonic(o):
689 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
690 return _IMP_core._object_cast_to_Harmonic(o)
692 _object_types.append(
"HarmonicWell")
695 def _object_cast_to_HarmonicWell(o):
696 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
697 return _IMP_core._object_cast_to_HarmonicWell(o)
699 _object_types.append(
"HarmonicLowerBound")
702 def _object_cast_to_HarmonicLowerBound(o):
703 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
704 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
706 _object_types.append(
"HarmonicUpperBound")
709 def _object_cast_to_HarmonicUpperBound(o):
710 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
711 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
713 _object_types.append(
"HarmonicSphereDistancePairScore")
716 def _object_cast_to_HarmonicSphereDistancePairScore(o):
717 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
718 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
720 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
723 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
724 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
725 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
727 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
730 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
731 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
732 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
734 _object_types.append(
"IncrementalScoringFunction")
737 def _object_cast_to_IncrementalScoringFunction(o):
738 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
739 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
741 _object_types.append(
"KClosePairsPairScore")
744 def _object_cast_to_KClosePairsPairScore(o):
745 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
746 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
748 _object_types.append(
"LeavesRefiner")
751 def _object_cast_to_LeavesRefiner(o):
752 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
753 return _IMP_core._object_cast_to_LeavesRefiner(o)
755 _object_types.append(
"Linear")
758 def _object_cast_to_Linear(o):
759 """_object_cast_to_Linear(Object o) -> Linear"""
760 return _IMP_core._object_cast_to_Linear(o)
762 _object_types.append(
"MCCGSampler")
765 def _object_cast_to_MCCGSampler(o):
766 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
767 return _IMP_core._object_cast_to_MCCGSampler(o)
769 _object_types.append(
"MonteCarlo")
772 def _object_cast_to_MonteCarlo(o):
773 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
774 return _IMP_core._object_cast_to_MonteCarlo(o)
776 _object_types.append(
"MonteCarloWithLocalOptimization")
779 def _object_cast_to_MonteCarloWithLocalOptimization(o):
780 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
781 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
783 _object_types.append(
"MonteCarloWithBasinHopping")
786 def _object_cast_to_MonteCarloWithBasinHopping(o):
787 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
788 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
790 _object_types.append(
"MSConnectivityRestraint")
793 def _object_cast_to_MSConnectivityRestraint(o):
794 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
795 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
797 _object_types.append(
"NeighborsTable")
800 def _object_cast_to_NeighborsTable(o):
801 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
802 return _IMP_core._object_cast_to_NeighborsTable(o)
804 _object_types.append(
"NormalMover")
807 def _object_cast_to_NormalMover(o):
808 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
809 return _IMP_core._object_cast_to_NormalMover(o)
811 _object_types.append(
"NormalizedSphereDistancePairScore")
814 def _object_cast_to_NormalizedSphereDistancePairScore(o):
815 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
816 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
818 _object_types.append(
"OpenCubicSpline")
821 def _object_cast_to_OpenCubicSpline(o):
822 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
823 return _IMP_core._object_cast_to_OpenCubicSpline(o)
825 _object_types.append(
"PairConstraint")
828 def _object_cast_to_PairConstraint(o):
829 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
830 return _IMP_core._object_cast_to_PairConstraint(o)
832 _object_types.append(
"PairRestraint")
835 def _object_cast_to_PairRestraint(o):
836 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
837 return _IMP_core._object_cast_to_PairRestraint(o)
839 _object_types.append(
"QuadConstraint")
842 def _object_cast_to_QuadConstraint(o):
843 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
844 return _IMP_core._object_cast_to_QuadConstraint(o)
846 _object_types.append(
"QuadRestraint")
849 def _object_cast_to_QuadRestraint(o):
850 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
851 return _IMP_core._object_cast_to_QuadRestraint(o)
853 _object_types.append(
"QuadraticClosePairsFinder")
856 def _object_cast_to_QuadraticClosePairsFinder(o):
857 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
858 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
860 _object_types.append(
"RefinedPairsPairScore")
863 def _object_cast_to_RefinedPairsPairScore(o):
864 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
865 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
867 _object_types.append(
"RestraintsScoringFunction")
870 def _object_cast_to_RestraintsScoringFunction(o):
871 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
872 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
874 _object_types.append(
"RigidBodyDistancePairScore")
877 def _object_cast_to_RigidBodyDistancePairScore(o):
878 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
879 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
881 _object_types.append(
"RigidBodyAnglePairScore")
884 def _object_cast_to_RigidBodyAnglePairScore(o):
885 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
886 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
888 _object_types.append(
"RigidBodyMover")
891 def _object_cast_to_RigidBodyMover(o):
892 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
893 return _IMP_core._object_cast_to_RigidBodyMover(o)
895 _object_types.append(
"RigidBodyTunneler")
898 def _object_cast_to_RigidBodyTunneler(o):
899 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
900 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
902 _object_types.append(
"RigidBodyUmbrella")
905 def _object_cast_to_RigidBodyUmbrella(o):
906 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
907 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
909 _object_types.append(
"RigidClosePairsFinder")
912 def _object_cast_to_RigidClosePairsFinder(o):
913 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
914 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
916 _object_types.append(
"RigidMembersRefiner")
919 def _object_cast_to_RigidMembersRefiner(o):
920 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
921 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
923 _object_types.append(
"SingletonConstraint")
926 def _object_cast_to_SingletonConstraint(o):
927 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
928 return _IMP_core._object_cast_to_SingletonConstraint(o)
930 _object_types.append(
"SingletonRestraint")
933 def _object_cast_to_SingletonRestraint(o):
934 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
935 return _IMP_core._object_cast_to_SingletonRestraint(o)
937 _object_types.append(
"SoftSpherePairScore")
940 def _object_cast_to_SoftSpherePairScore(o):
941 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
942 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
944 _object_types.append(
"SphereDistancePairScore")
947 def _object_cast_to_SphereDistancePairScore(o):
948 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
949 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
951 _object_types.append(
"SphereDistanceToSingletonScore")
954 def _object_cast_to_SphereDistanceToSingletonScore(o):
955 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
956 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
958 _object_types.append(
"SteepestDescent")
961 def _object_cast_to_SteepestDescent(o):
962 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
963 return _IMP_core._object_cast_to_SteepestDescent(o)
965 _object_types.append(
"TableRefiner")
968 def _object_cast_to_TableRefiner(o):
969 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
970 return _IMP_core._object_cast_to_TableRefiner(o)
972 _object_types.append(
"Transform")
975 def _object_cast_to_Transform(o):
976 """_object_cast_to_Transform(Object o) -> Transform"""
977 return _IMP_core._object_cast_to_Transform(o)
979 _object_types.append(
"TransformationAndReflectionSymmetry")
982 def _object_cast_to_TransformationAndReflectionSymmetry(o):
983 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
984 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
986 _object_types.append(
"TransformationSymmetry")
989 def _object_cast_to_TransformationSymmetry(o):
990 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
991 return _IMP_core._object_cast_to_TransformationSymmetry(o)
993 _object_types.append(
"TransformationSymmetryMover")
996 def _object_cast_to_TransformationSymmetryMover(o):
997 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
998 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1000 _object_types.append(
"TransformedDistancePairScore")
1003 def _object_cast_to_TransformedDistancePairScore(o):
1004 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1005 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1007 _object_types.append(
"TripletConstraint")
1010 def _object_cast_to_TripletConstraint(o):
1011 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1012 return _IMP_core._object_cast_to_TripletConstraint(o)
1014 _object_types.append(
"TripletRestraint")
1017 def _object_cast_to_TripletRestraint(o):
1018 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1019 return _IMP_core._object_cast_to_TripletRestraint(o)
1021 _object_types.append(
"TypedPairScore")
1024 def _object_cast_to_TypedPairScore(o):
1025 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1026 return _IMP_core._object_cast_to_TypedPairScore(o)
1028 _object_types.append(
"VolumeRestraint")
1031 def _object_cast_to_VolumeRestraint(o):
1032 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1033 return _IMP_core._object_cast_to_VolumeRestraint(o)
1035 _object_types.append(
"WeightedSphereDistancePairScore")
1038 def _object_cast_to_WeightedSphereDistancePairScore(o):
1039 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1040 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1042 _object_types.append(
"MoveStatisticsScoreState")
1045 def _object_cast_to_MoveStatisticsScoreState(o):
1046 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1047 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1049 _object_types.append(
"MinimumRestraint")
1052 def _object_cast_to_MinimumRestraint(o):
1053 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1054 return _IMP_core._object_cast_to_MinimumRestraint(o)
1056 _object_types.append(
"WriteRestraintScoresOptimizerState")
1059 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1060 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1061 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1063 _object_types.append(
"ConstantSingletonPredicate")
1066 def _object_cast_to_ConstantSingletonPredicate(o):
1067 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1068 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1070 _object_types.append(
"ConstantPairPredicate")
1073 def _object_cast_to_ConstantPairPredicate(o):
1074 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1075 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1077 _object_types.append(
"ConstantTripletPredicate")
1080 def _object_cast_to_ConstantTripletPredicate(o):
1081 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1082 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1084 _object_types.append(
"ConstantQuadPredicate")
1087 def _object_cast_to_ConstantQuadPredicate(o):
1088 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1089 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1091 _object_types.append(
"CoinFlipSingletonPredicate")
1094 def _object_cast_to_CoinFlipSingletonPredicate(o):
1095 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1096 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1098 _object_types.append(
"CoinFlipPairPredicate")
1101 def _object_cast_to_CoinFlipPairPredicate(o):
1102 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1103 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1105 _object_types.append(
"CoinFlipTripletPredicate")
1108 def _object_cast_to_CoinFlipTripletPredicate(o):
1109 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1110 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1112 _object_types.append(
"CoinFlipQuadPredicate")
1115 def _object_cast_to_CoinFlipQuadPredicate(o):
1116 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1117 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1119 _object_types.append(
"UnorderedTypeSingletonPredicate")
1122 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1123 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1124 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1126 _object_types.append(
"UnorderedTypePairPredicate")
1129 def _object_cast_to_UnorderedTypePairPredicate(o):
1130 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1131 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1133 _object_types.append(
"UnorderedTypeTripletPredicate")
1136 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1137 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1138 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1140 _object_types.append(
"UnorderedTypeQuadPredicate")
1143 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1144 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1145 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1147 _object_types.append(
"OrderedTypeSingletonPredicate")
1150 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1151 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1152 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1154 _object_types.append(
"OrderedTypePairPredicate")
1157 def _object_cast_to_OrderedTypePairPredicate(o):
1158 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1159 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1161 _object_types.append(
"OrderedTypeTripletPredicate")
1164 def _object_cast_to_OrderedTypeTripletPredicate(o):
1165 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1166 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1168 _object_types.append(
"OrderedTypeQuadPredicate")
1171 def _object_cast_to_OrderedTypeQuadPredicate(o):
1172 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1173 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1175 _object_types.append(
"AllSameSingletonPredicate")
1178 def _object_cast_to_AllSameSingletonPredicate(o):
1179 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1180 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1182 _object_types.append(
"AllSamePairPredicate")
1185 def _object_cast_to_AllSamePairPredicate(o):
1186 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1187 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1189 _object_types.append(
"AllSameTripletPredicate")
1192 def _object_cast_to_AllSameTripletPredicate(o):
1193 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1194 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1196 _object_types.append(
"AllSameQuadPredicate")
1199 def _object_cast_to_AllSameQuadPredicate(o):
1200 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1201 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1204 return [XYZ(x)
for x
in l]
1205 _plural_types.append(
"XYZs")
1208 _value_types.append(
"XYZ")
1212 return [XYZR(x)
for x
in l]
1213 _plural_types.append(
"XYZRs")
1216 _value_types.append(
"XYZR")
1219 def RigidBodies(l=[]):
1220 return [RigidBody(x)
for x
in l]
1221 _plural_types.append(
"RigidBodies")
1224 _value_types.append(
"RigidBody")
1227 def RigidBodyMembers(l=[]):
1228 return [RigidBodyMember(x)
for x
in l]
1229 _plural_types.append(
"RigidBodyMembers")
1232 _value_types.append(
"RigidBodyMember")
1235 def RigidMembers(l=[]):
1236 return [RigidMember(x)
for x
in l]
1237 _plural_types.append(
"RigidMembers")
1240 _value_types.append(
"RigidMember")
1243 def NonRigidMembers(l=[]):
1244 return [NonRigidMember(x)
for x
in l]
1245 _plural_types.append(
"NonRigidMembers")
1248 _value_types.append(
"NonRigidMember")
1251 def Centroids(l=[]):
1252 return [Centroid(x)
for x
in l]
1253 _plural_types.append(
"Centroids")
1256 _value_types.append(
"Centroid")
1260 return [Cover(x)
for x
in l]
1261 _plural_types.append(
"Covers")
1264 _value_types.append(
"Cover")
1267 def References(l=[]):
1268 return [Reference(x)
for x
in l]
1269 _plural_types.append(
"References")
1272 _value_types.append(
"Reference")
1276 _plural_types.append(
"ParticleTypes")
1277 _value_types.append(
"ParticleType")
1281 return [Typed(x)
for x
in l]
1282 _plural_types.append(
"Typeds")
1285 _value_types.append(
"Typed")
1288 def GenericHierarchies(l=[]):
1289 return [Hierarchy(x)
for x
in l]
1290 _plural_types.append(
"GenericHierarchies")
1293 _value_types.append(
"Hierarchy")
1296 def Gaussians(l=[]):
1297 return [Gaussian(x)
for x
in l]
1298 _plural_types.append(
"Gaussians")
1301 _value_types.append(
"Gaussian")
1304 HierarchyCounters=list
1305 _plural_types.append(
"HierarchyCounters")
1306 _value_types.append(
"HierarchyCounter")
1309 HierarchyTraitsList=list
1310 _plural_types.append(
"HierarchyTraitsList")
1311 _value_types.append(
"HierarchyTraits")
1314 _object_types.append(
"TruncatedHarmonicBound")
1317 def _object_cast_to_TruncatedHarmonicBound(o):
1318 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1319 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1321 _object_types.append(
"TruncatedHarmonicLowerBound")
1324 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1325 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1326 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1328 _object_types.append(
"TruncatedHarmonicUpperBound")
1331 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1332 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1333 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1335 _object_types.append(
"HarmonicDistancePairScore")
1338 def _object_cast_to_HarmonicDistancePairScore(o):
1339 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1340 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1342 _object_types.append(
"DistancePairScore")
1345 def _object_cast_to_DistancePairScore(o):
1346 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1347 return _IMP_core._object_cast_to_DistancePairScore(o)
1349 _object_types.append(
"XYZRGeometry")
1352 def _object_cast_to_XYZRGeometry(o):
1353 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1354 return _IMP_core._object_cast_to_XYZRGeometry(o)
1356 _object_types.append(
"XYZRsGeometry")
1359 def _object_cast_to_XYZRsGeometry(o):
1360 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1361 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1363 _object_types.append(
"XYZDerivativeGeometry")
1366 def _object_cast_to_XYZDerivativeGeometry(o):
1367 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1368 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1370 _object_types.append(
"XYZDerivativesGeometry")
1373 def _object_cast_to_XYZDerivativesGeometry(o):
1374 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1375 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1377 _object_types.append(
"RigidBodyDerivativeGeometry")
1380 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1381 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1382 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1384 _object_types.append(
"RigidBodyDerivativesGeometry")
1387 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1388 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1389 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1391 _object_types.append(
"RigidBodyHierarchyGeometry")
1394 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1395 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1396 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1398 _object_types.append(
"RigidBodyFrameGeometry")
1401 def _object_cast_to_RigidBodyFrameGeometry(o):
1402 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1403 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1405 _object_types.append(
"RigidBodyFramesGeometry")
1408 def _object_cast_to_RigidBodyFramesGeometry(o):
1409 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1410 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1412 _object_types.append(
"RigidBodyTorque")
1415 def _object_cast_to_RigidBodyTorque(o):
1416 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1417 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1419 _object_types.append(
"EdgePairGeometry")
1422 def _object_cast_to_EdgePairGeometry(o):
1423 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1424 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1426 _object_types.append(
"EdgePairsGeometry")
1429 def _object_cast_to_EdgePairsGeometry(o):
1430 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1431 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1433 _object_types.append(
"AttributeSingletonPredicate")
1436 def _object_cast_to_AttributeSingletonPredicate(o):
1437 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1438 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1440 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1443 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1444 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1445 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1447 _object_types.append(
"IsCollisionPairPredicate")
1450 def _object_cast_to_IsCollisionPairPredicate(o):
1451 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1452 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1453 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1454 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1457 def __init__(self, *args, **kwargs):
1458 raise AttributeError(
"No constructor defined - class is abstract")
1459 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1460 __del__ =
lambda self:
None
1462 def get_close_pairs(self, *args):
1464 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1465 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1466 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1467 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1469 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1472 def set_distance(self, d):
1473 """set_distance(ClosePairsFinder self, double d)"""
1474 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1478 """get_distance(ClosePairsFinder self) -> double"""
1479 return _IMP_core.ClosePairsFinder_get_distance(self)
1482 def remove_pair_filter(self, d):
1483 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1484 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1487 def remove_pair_filters(self, d):
1488 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1489 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1492 def set_pair_filters(self, ps):
1493 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1494 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1497 def set_pair_filters_order(self, objs):
1498 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1499 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1502 def add_pair_filter(self, obj):
1503 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1504 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1507 def add_pair_filters(self, objs):
1508 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1509 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1512 def clear_pair_filters(self):
1513 """clear_pair_filters(ClosePairsFinder self)"""
1514 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1517 def get_number_of_pair_filters(self):
1518 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1519 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1522 def get_has_pair_filters(self):
1523 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1524 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1527 def get_pair_filter(self, i):
1528 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1529 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1532 def get_pair_filters(self):
1533 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1534 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1537 def reserve_pair_filters(self, sz):
1538 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1539 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1543 """__str__(ClosePairsFinder self) -> std::string"""
1544 return _IMP_core.ClosePairsFinder___str__(self)
1548 """__repr__(ClosePairsFinder self) -> std::string"""
1549 return _IMP_core.ClosePairsFinder___repr__(self)
1554 return _object_cast_to_ClosePairsFinder(o)
1556 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1557 ClosePairsFinder_swigregister(ClosePairsFinder)
1559 class MonteCarloMoverResult(IMP._Value):
1560 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1561 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1563 def __init__(self, *args):
1565 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1566 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1567 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1569 this = _IMP_core.new_MonteCarloMoverResult(*args)
1571 self.this.append(this)
1576 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1577 return _IMP_core.MonteCarloMoverResult___hash__(self)
1580 def show(self, *args):
1582 show(MonteCarloMoverResult self, _ostream out)
1583 show(MonteCarloMoverResult self)
1585 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1588 def __cmp__(self, o):
1589 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1590 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1593 def __eq__(self, o):
1594 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1595 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1598 def __ne__(self, o):
1599 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1600 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1603 def __lt__(self, o):
1604 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1605 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1608 def __gt__(self, o):
1609 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1610 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1613 def __ge__(self, o):
1614 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1615 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1618 def __le__(self, o):
1619 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1620 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1623 def get_moved_particles(self):
1624 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1625 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1628 def set_moved_particles(self, v):
1629 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1630 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1633 def get_proposal_ratio(self):
1634 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1635 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1638 def set_proposal_ratio(self, v):
1639 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1640 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1644 """__str__(MonteCarloMoverResult self) -> std::string"""
1645 return _IMP_core.MonteCarloMoverResult___str__(self)
1649 """__repr__(MonteCarloMoverResult self) -> std::string"""
1650 return _IMP_core.MonteCarloMoverResult___repr__(self)
1652 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1653 __del__ =
lambda self:
None
1654 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1655 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1658 """Proxy of C++ IMP::core::MonteCarloMover class"""
1659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1661 def __init__(self, m, name):
1662 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1663 if self.__class__ == MonteCarloMover:
1667 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1669 self.this.append(this)
1673 if self.__class__ != MonteCarloMover:
1674 _director_objects.register(self)
1680 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1681 return _IMP_core.MonteCarloMover_propose(self)
1685 """reject(MonteCarloMover self)"""
1686 return _IMP_core.MonteCarloMover_reject(self)
1690 """accept(MonteCarloMover self)"""
1691 return _IMP_core.MonteCarloMover_accept(self)
1694 def get_number_of_proposed(self):
1695 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1696 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1699 def get_number_of_accepted(self):
1700 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1701 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1704 def reset_statistics(self):
1705 """reset_statistics(MonteCarloMover self)"""
1706 return _IMP_core.MonteCarloMover_reset_statistics(self)
1709 def do_propose(self):
1710 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1711 return _IMP_core.MonteCarloMover_do_propose(self)
1714 def do_reject(self):
1715 """do_reject(MonteCarloMover self)"""
1716 return _IMP_core.MonteCarloMover_do_reject(self)
1719 def do_accept(self):
1720 """do_accept(MonteCarloMover self)"""
1721 return _IMP_core.MonteCarloMover_do_accept(self)
1724 def do_get_outputs(self):
1725 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1726 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1730 """__str__(MonteCarloMover self) -> std::string"""
1731 return _IMP_core.MonteCarloMover___str__(self)
1735 """__repr__(MonteCarloMover self) -> std::string"""
1736 return _IMP_core.MonteCarloMover___repr__(self)
1741 return _object_cast_to_MonteCarloMover(o)
1744 def get_type_name(self):
1745 return self.__class__.__name__
1746 def do_show(self, out):
1748 def get_version_info(self):
1749 if"IMP::core" ==
"IMP":
1750 return VersionInfo(self.__module__,
1751 __import__(self.__module__).get_module_version())
1754 __import__(self.__module__).get_module_version())
1757 return _object_cast_to_MonteCarloMover(o)
1759 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1760 __del__ =
lambda self:
None
1761 def __disown__(self):
1763 _IMP_core.disown_MonteCarloMover(self)
1764 return weakref_proxy(self)
1766 def do_destroy(self):
1767 """do_destroy(MonteCarloMover self)"""
1768 return _IMP_core.MonteCarloMover_do_destroy(self)
1771 def handle_set_has_required_score_states(self, arg0):
1772 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1773 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1776 def do_get_inputs(self):
1777 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1778 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1781 def do_get_interactions(self):
1782 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1783 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1785 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1786 MonteCarloMover_swigregister(MonteCarloMover)
1789 """Proxy of C++ IMP::core::XYZ class"""
1790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1792 def get_coordinate_key(i):
1793 """get_coordinate_key(unsigned int i) -> FloatKey"""
1794 return _IMP_core.XYZ_get_coordinate_key(i)
1796 get_coordinate_key = staticmethod(get_coordinate_key)
1798 def __init__(self, *args):
1800 __init__(IMP::core::XYZ self) -> XYZ
1801 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1802 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1804 this = _IMP_core.new_XYZ(*args)
1806 self.this.append(this)
1810 def show(self, *args):
1812 show(XYZ self, _ostream out)
1815 return _IMP_core.XYZ_show(self, *args)
1818 def setup_particle(*args):
1820 setup_particle(Model m, ParticleIndex pi) -> XYZ
1821 setup_particle(_ParticleAdaptor decorator) -> XYZ
1822 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1823 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1825 return _IMP_core.XYZ_setup_particle(*args)
1827 setup_particle = staticmethod(setup_particle)
1830 """get_x(XYZ self) -> IMP::Float"""
1831 return _IMP_core.XYZ_get_x(self)
1835 """set_x(XYZ self, IMP::Float t)"""
1836 return _IMP_core.XYZ_set_x(self, t)
1840 """get_y(XYZ self) -> IMP::Float"""
1841 return _IMP_core.XYZ_get_y(self)
1845 """set_y(XYZ self, IMP::Float t)"""
1846 return _IMP_core.XYZ_set_y(self, t)
1850 """get_z(XYZ self) -> IMP::Float"""
1851 return _IMP_core.XYZ_get_z(self)
1855 """set_z(XYZ self, IMP::Float t)"""
1856 return _IMP_core.XYZ_set_z(self, t)
1859 def set_coordinate(self, i, v):
1860 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1861 return _IMP_core.XYZ_set_coordinate(self, i, v)
1864 def set_coordinates(self, v):
1865 """set_coordinates(XYZ self, Vector3D v)"""
1866 return _IMP_core.XYZ_set_coordinates(self, v)
1869 def get_coordinate(self, i):
1870 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1871 return _IMP_core.XYZ_get_coordinate(self, i)
1874 def add_to_derivatives(self, v, d):
1875 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1876 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
1879 def get_coordinates_are_optimized(self):
1880 """get_coordinates_are_optimized(XYZ self) -> bool"""
1881 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1884 def set_coordinates_are_optimized(self, tf):
1885 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1886 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
1889 def get_vector_to(self, b):
1890 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1891 return _IMP_core.XYZ_get_vector_to(self, b)
1894 def get_coordinates(self):
1895 """get_coordinates(XYZ self) -> Vector3D"""
1896 return _IMP_core.XYZ_get_coordinates(self)
1899 def get_derivatives(self):
1900 """get_derivatives(XYZ self) -> Vector3D"""
1901 return _IMP_core.XYZ_get_derivatives(self)
1904 def get_is_setup(*args):
1906 get_is_setup(_ParticleAdaptor p) -> bool
1907 get_is_setup(Model m, ParticleIndex pi) -> bool
1909 return _IMP_core.XYZ_get_is_setup(*args)
1911 get_is_setup = staticmethod(get_is_setup)
1914 """get_xyz_keys() -> IMP::FloatKeys const &"""
1915 return _IMP_core.XYZ_get_xyz_keys()
1917 get_xyz_keys = staticmethod(get_xyz_keys)
1919 def add_attribute(self, *args):
1921 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1922 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1923 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1924 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1925 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1926 add_attribute(XYZ self, ObjectKey a0, Object a1)
1928 return _IMP_core.XYZ_add_attribute(self, *args)
1931 def get_value(self, *args):
1933 get_value(XYZ self, FloatKey a0) -> IMP::Float
1934 get_value(XYZ self, IntKey a0) -> IMP::Int
1935 get_value(XYZ self, StringKey a0) -> IMP::String
1936 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1937 get_value(XYZ self, ObjectKey a0) -> Object
1939 return _IMP_core.XYZ_get_value(self, *args)
1942 def set_value(self, *args):
1944 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1945 set_value(XYZ self, IntKey a0, IMP::Int a1)
1946 set_value(XYZ self, StringKey a0, IMP::String a1)
1947 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1948 set_value(XYZ self, ObjectKey a0, Object a1)
1950 return _IMP_core.XYZ_set_value(self, *args)
1953 def remove_attribute(self, *args):
1955 remove_attribute(XYZ self, FloatKey a0)
1956 remove_attribute(XYZ self, IntKey a0)
1957 remove_attribute(XYZ self, StringKey a0)
1958 remove_attribute(XYZ self, ParticleIndexKey a0)
1959 remove_attribute(XYZ self, ObjectKey a0)
1961 return _IMP_core.XYZ_remove_attribute(self, *args)
1964 def has_attribute(self, *args):
1966 has_attribute(XYZ self, FloatKey a0) -> bool
1967 has_attribute(XYZ self, IntKey a0) -> bool
1968 has_attribute(XYZ self, StringKey a0) -> bool
1969 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1970 has_attribute(XYZ self, ObjectKey a0) -> bool
1972 return _IMP_core.XYZ_has_attribute(self, *args)
1975 def get_derivative(self, *args):
1977 get_derivative(XYZ self, int i) -> IMP::Float
1978 get_derivative(XYZ self, FloatKey a0) -> double
1980 return _IMP_core.XYZ_get_derivative(self, *args)
1984 """get_name(XYZ self) -> std::string"""
1985 return _IMP_core.XYZ_get_name(self)
1988 def clear_caches(self):
1989 """clear_caches(XYZ self)"""
1990 return _IMP_core.XYZ_clear_caches(self)
1993 def set_name(self, a0):
1994 """set_name(XYZ self, std::string a0)"""
1995 return _IMP_core.XYZ_set_name(self, a0)
1999 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2000 return _IMP_core.XYZ_set_check_level(self, a0)
2003 def add_to_derivative(self, *args):
2005 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2006 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2008 return _IMP_core.XYZ_add_to_derivative(self, *args)
2011 def set_is_optimized(self, a0, a1):
2012 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2013 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2016 def get_is_optimized(self, a0):
2017 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2018 return _IMP_core.XYZ_get_is_optimized(self, a0)
2022 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2023 return _IMP_core.XYZ_get_check_level(self)
2026 def __eq__(self, *args):
2028 __eq__(XYZ self, XYZ o) -> bool
2029 __eq__(XYZ self, Particle d) -> bool
2031 return _IMP_core.XYZ___eq__(self, *args)
2034 def __ne__(self, *args):
2036 __ne__(XYZ self, XYZ o) -> bool
2037 __ne__(XYZ self, Particle d) -> bool
2039 return _IMP_core.XYZ___ne__(self, *args)
2042 def __le__(self, *args):
2044 __le__(XYZ self, XYZ o) -> bool
2045 __le__(XYZ self, Particle d) -> bool
2047 return _IMP_core.XYZ___le__(self, *args)
2050 def __lt__(self, *args):
2052 __lt__(XYZ self, XYZ o) -> bool
2053 __lt__(XYZ self, Particle d) -> bool
2055 return _IMP_core.XYZ___lt__(self, *args)
2058 def __ge__(self, *args):
2060 __ge__(XYZ self, XYZ o) -> bool
2061 __ge__(XYZ self, Particle d) -> bool
2063 return _IMP_core.XYZ___ge__(self, *args)
2066 def __gt__(self, *args):
2068 __gt__(XYZ self, XYZ o) -> bool
2069 __gt__(XYZ self, Particle d) -> bool
2071 return _IMP_core.XYZ___gt__(self, *args)
2075 """__hash__(XYZ self) -> std::size_t"""
2076 return _IMP_core.XYZ___hash__(self)
2080 """__str__(XYZ self) -> std::string"""
2081 return _IMP_core.XYZ___str__(self)
2085 """__repr__(XYZ self) -> std::string"""
2086 return _IMP_core.XYZ___repr__(self)
2088 __swig_destroy__ = _IMP_core.delete_XYZ
2089 __del__ =
lambda self:
None
2090 XYZ_swigregister = _IMP_core.XYZ_swigregister
2091 XYZ_swigregister(XYZ)
2093 def XYZ_get_coordinate_key(i):
2094 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2095 return _IMP_core.XYZ_get_coordinate_key(i)
2097 def XYZ_setup_particle(*args):
2099 setup_particle(Model m, ParticleIndex pi) -> XYZ
2100 setup_particle(_ParticleAdaptor decorator) -> XYZ
2101 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2102 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2104 return _IMP_core.XYZ_setup_particle(*args)
2106 def XYZ_get_is_setup(*args):
2108 get_is_setup(_ParticleAdaptor p) -> bool
2109 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2111 return _IMP_core.XYZ_get_is_setup(*args)
2113 def XYZ_get_xyz_keys():
2114 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2115 return _IMP_core.XYZ_get_xyz_keys()
2119 """set_vector_geometry(XYZ d, Vector3D v)"""
2120 return _IMP_core.set_vector_geometry(d, v)
2123 """get_vector_geometry(XYZ d) -> Vector3D"""
2124 return _IMP_core.get_vector_geometry(d)
2127 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2128 return _IMP_core.get_dihedral(a, b, c, d)
2130 """Proxy of C++ IMP::core::XYZR class"""
2131 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2133 def __init__(self, *args):
2135 __init__(IMP::core::XYZR self) -> XYZR
2136 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2137 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2139 this = _IMP_core.new_XYZR(*args)
2141 self.this.append(this)
2145 def show(self, *args):
2147 show(XYZR self, _ostream out)
2150 return _IMP_core.XYZR_show(self, *args)
2153 def setup_particle(*args):
2155 setup_particle(Model m, ParticleIndex pi) -> XYZR
2156 setup_particle(_ParticleAdaptor decorator) -> XYZR
2157 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2158 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2159 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2160 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2162 return _IMP_core.XYZR_setup_particle(*args)
2164 setup_particle = staticmethod(setup_particle)
2166 def get_is_setup(*args):
2168 get_is_setup(_ParticleAdaptor p) -> bool
2169 get_is_setup(Model m, ParticleIndex pi) -> bool
2171 return _IMP_core.XYZR_get_is_setup(*args)
2173 get_is_setup = staticmethod(get_is_setup)
2175 def get_radius(self):
2176 """get_radius(XYZR self) -> double"""
2177 return _IMP_core.XYZR_get_radius(self)
2180 def set_radius(self, r):
2181 """set_radius(XYZR self, double r)"""
2182 return _IMP_core.XYZR_set_radius(self, r)
2185 def get_sphere(self):
2186 """get_sphere(XYZR self) -> Sphere3D"""
2187 return _IMP_core.XYZR_get_sphere(self)
2190 def set_sphere(self, s):
2191 """set_sphere(XYZR self, Sphere3D s)"""
2192 return _IMP_core.XYZR_set_sphere(self, s)
2195 def get_radius_key():
2196 """get_radius_key() -> FloatKey"""
2197 return _IMP_core.XYZR_get_radius_key()
2199 get_radius_key = staticmethod(get_radius_key)
2201 def add_to_radius_derivative(self, v, d):
2202 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2203 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2206 def add_attribute(self, *args):
2208 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2209 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2210 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2211 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2212 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2213 add_attribute(XYZR self, ObjectKey a0, Object a1)
2215 return _IMP_core.XYZR_add_attribute(self, *args)
2218 def get_value(self, *args):
2220 get_value(XYZR self, FloatKey a0) -> IMP::Float
2221 get_value(XYZR self, IntKey a0) -> IMP::Int
2222 get_value(XYZR self, StringKey a0) -> IMP::String
2223 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2224 get_value(XYZR self, ObjectKey a0) -> Object
2226 return _IMP_core.XYZR_get_value(self, *args)
2229 def set_value(self, *args):
2231 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2232 set_value(XYZR self, IntKey a0, IMP::Int a1)
2233 set_value(XYZR self, StringKey a0, IMP::String a1)
2234 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2235 set_value(XYZR self, ObjectKey a0, Object a1)
2237 return _IMP_core.XYZR_set_value(self, *args)
2240 def remove_attribute(self, *args):
2242 remove_attribute(XYZR self, FloatKey a0)
2243 remove_attribute(XYZR self, IntKey a0)
2244 remove_attribute(XYZR self, StringKey a0)
2245 remove_attribute(XYZR self, ParticleIndexKey a0)
2246 remove_attribute(XYZR self, ObjectKey a0)
2248 return _IMP_core.XYZR_remove_attribute(self, *args)
2251 def has_attribute(self, *args):
2253 has_attribute(XYZR self, FloatKey a0) -> bool
2254 has_attribute(XYZR self, IntKey a0) -> bool
2255 has_attribute(XYZR self, StringKey a0) -> bool
2256 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2257 has_attribute(XYZR self, ObjectKey a0) -> bool
2259 return _IMP_core.XYZR_has_attribute(self, *args)
2262 def get_derivative(self, a0):
2263 """get_derivative(XYZR self, FloatKey a0) -> double"""
2264 return _IMP_core.XYZR_get_derivative(self, a0)
2268 """get_name(XYZR self) -> std::string"""
2269 return _IMP_core.XYZR_get_name(self)
2272 def clear_caches(self):
2273 """clear_caches(XYZR self)"""
2274 return _IMP_core.XYZR_clear_caches(self)
2277 def set_name(self, a0):
2278 """set_name(XYZR self, std::string a0)"""
2279 return _IMP_core.XYZR_set_name(self, a0)
2283 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2284 return _IMP_core.XYZR_set_check_level(self, a0)
2287 def add_to_derivative(self, a0, a1, a2):
2288 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2289 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2292 def set_is_optimized(self, a0, a1):
2293 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2294 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2297 def get_is_optimized(self, a0):
2298 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2299 return _IMP_core.XYZR_get_is_optimized(self, a0)
2303 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2304 return _IMP_core.XYZR_get_check_level(self)
2307 def __eq__(self, *args):
2309 __eq__(XYZR self, XYZR o) -> bool
2310 __eq__(XYZR self, Particle d) -> bool
2312 return _IMP_core.XYZR___eq__(self, *args)
2315 def __ne__(self, *args):
2317 __ne__(XYZR self, XYZR o) -> bool
2318 __ne__(XYZR self, Particle d) -> bool
2320 return _IMP_core.XYZR___ne__(self, *args)
2323 def __le__(self, *args):
2325 __le__(XYZR self, XYZR o) -> bool
2326 __le__(XYZR self, Particle d) -> bool
2328 return _IMP_core.XYZR___le__(self, *args)
2331 def __lt__(self, *args):
2333 __lt__(XYZR self, XYZR o) -> bool
2334 __lt__(XYZR self, Particle d) -> bool
2336 return _IMP_core.XYZR___lt__(self, *args)
2339 def __ge__(self, *args):
2341 __ge__(XYZR self, XYZR o) -> bool
2342 __ge__(XYZR self, Particle d) -> bool
2344 return _IMP_core.XYZR___ge__(self, *args)
2347 def __gt__(self, *args):
2349 __gt__(XYZR self, XYZR o) -> bool
2350 __gt__(XYZR self, Particle d) -> bool
2352 return _IMP_core.XYZR___gt__(self, *args)
2356 """__hash__(XYZR self) -> std::size_t"""
2357 return _IMP_core.XYZR___hash__(self)
2361 """__str__(XYZR self) -> std::string"""
2362 return _IMP_core.XYZR___str__(self)
2366 """__repr__(XYZR self) -> std::string"""
2367 return _IMP_core.XYZR___repr__(self)
2369 __swig_destroy__ = _IMP_core.delete_XYZR
2370 __del__ =
lambda self:
None
2371 XYZR_swigregister = _IMP_core.XYZR_swigregister
2372 XYZR_swigregister(XYZR)
2374 def XYZR_setup_particle(*args):
2376 setup_particle(Model m, ParticleIndex pi) -> XYZR
2377 setup_particle(_ParticleAdaptor decorator) -> XYZR
2378 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2379 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2380 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2381 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2383 return _IMP_core.XYZR_setup_particle(*args)
2385 def XYZR_get_is_setup(*args):
2387 get_is_setup(_ParticleAdaptor p) -> bool
2388 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2390 return _IMP_core.XYZR_get_is_setup(*args)
2392 def XYZR_get_radius_key():
2393 """XYZR_get_radius_key() -> FloatKey"""
2394 return _IMP_core.XYZR_get_radius_key()
2399 get_distance(XYZ a, XYZ b) -> double
2400 get_distance(XYZR a, XYZR b) -> double
2402 return _IMP_core.get_distance(*args)
2406 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2407 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2409 return _IMP_core.set_enclosing_sphere(b, v, slack)
2412 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2413 return _IMP_core.set_enclosing_radius(b, v)
2416 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2417 return _IMP_core.get_enclosing_sphere(v)
2421 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2422 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2424 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2426 """Proxy of C++ IMP::core::XYZRGeometry class"""
2427 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2429 def __init__(self, *args):
2431 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2432 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2434 this = _IMP_core.new_XYZRGeometry(*args)
2436 self.this.append(this)
2440 def get_version_info(self):
2441 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2442 return _IMP_core.XYZRGeometry_get_version_info(self)
2446 """__str__(XYZRGeometry self) -> std::string"""
2447 return _IMP_core.XYZRGeometry___str__(self)
2451 """__repr__(XYZRGeometry self) -> std::string"""
2452 return _IMP_core.XYZRGeometry___repr__(self)
2457 return _object_cast_to_XYZRGeometry(o)
2459 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2460 XYZRGeometry_swigregister(XYZRGeometry)
2463 """Proxy of C++ IMP::core::XYZRsGeometry 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, sc):
2467 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2468 this = _IMP_core.new_XYZRsGeometry(sc)
2470 self.this.append(this)
2474 def get_version_info(self):
2475 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2476 return _IMP_core.XYZRsGeometry_get_version_info(self)
2480 """__str__(XYZRsGeometry self) -> std::string"""
2481 return _IMP_core.XYZRsGeometry___str__(self)
2485 """__repr__(XYZRsGeometry self) -> std::string"""
2486 return _IMP_core.XYZRsGeometry___repr__(self)
2491 return _object_cast_to_XYZRsGeometry(o)
2493 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2494 XYZRsGeometry_swigregister(XYZRsGeometry)
2497 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2498 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2500 def __init__(self, *args):
2502 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2503 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2505 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2507 self.this.append(this)
2511 def get_version_info(self):
2512 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2513 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2517 """__str__(XYZDerivativeGeometry self) -> std::string"""
2518 return _IMP_core.XYZDerivativeGeometry___str__(self)
2522 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2523 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2528 return _object_cast_to_XYZDerivativeGeometry(o)
2530 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2531 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2534 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2537 def __init__(self, sc):
2538 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2539 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2541 self.this.append(this)
2545 def get_version_info(self):
2546 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2547 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2551 """__str__(XYZDerivativesGeometry self) -> std::string"""
2552 return _IMP_core.XYZDerivativesGeometry___str__(self)
2556 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2557 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2562 return _object_cast_to_XYZDerivativesGeometry(o)
2564 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2565 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2568 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2569 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2571 def __init__(self, pp):
2572 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2573 this = _IMP_core.new_EdgePairGeometry(pp)
2575 self.this.append(this)
2579 def get_version_info(self):
2580 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2581 return _IMP_core.EdgePairGeometry_get_version_info(self)
2585 """__str__(EdgePairGeometry self) -> std::string"""
2586 return _IMP_core.EdgePairGeometry___str__(self)
2590 """__repr__(EdgePairGeometry self) -> std::string"""
2591 return _IMP_core.EdgePairGeometry___repr__(self)
2596 return _object_cast_to_EdgePairGeometry(o)
2598 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2599 EdgePairGeometry_swigregister(EdgePairGeometry)
2602 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2605 def __init__(self, sc):
2606 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2607 this = _IMP_core.new_EdgePairsGeometry(sc)
2609 self.this.append(this)
2613 def get_version_info(self):
2614 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2615 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2619 """__str__(EdgePairsGeometry self) -> std::string"""
2620 return _IMP_core.EdgePairsGeometry___str__(self)
2624 """__repr__(EdgePairsGeometry self) -> std::string"""
2625 return _IMP_core.EdgePairsGeometry___repr__(self)
2630 return _object_cast_to_EdgePairsGeometry(o)
2632 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2633 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2636 """Proxy of C++ IMP::core::AngleTripletScore class"""
2637 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2639 def __init__(self, f):
2640 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2641 this = _IMP_core.new_AngleTripletScore(f)
2643 self.this.append(this)
2647 def do_get_inputs(self, m, pis):
2648 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2649 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
2652 def get_version_info(self):
2653 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2654 return _IMP_core.AngleTripletScore_get_version_info(self)
2658 """__str__(AngleTripletScore self) -> std::string"""
2659 return _IMP_core.AngleTripletScore___str__(self)
2663 """__repr__(AngleTripletScore self) -> std::string"""
2664 return _IMP_core.AngleTripletScore___repr__(self)
2669 return _object_cast_to_AngleTripletScore(o)
2671 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2672 AngleTripletScore_swigregister(AngleTripletScore)
2674 class BallMover(MonteCarloMover):
2675 """Proxy of C++ IMP::core::BallMover class"""
2676 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2678 def __init__(self, *args):
2680 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
2681 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
2682 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
2683 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2685 this = _IMP_core.new_BallMover(*args)
2687 self.this.append(this)
2691 def set_radius(self, radius):
2692 """set_radius(BallMover self, IMP::Float radius)"""
2693 return _IMP_core.BallMover_set_radius(self, radius)
2696 def get_radius(self):
2697 """get_radius(BallMover self) -> IMP::Float"""
2698 return _IMP_core.BallMover_get_radius(self)
2701 def get_version_info(self):
2702 """get_version_info(BallMover self) -> VersionInfo"""
2703 return _IMP_core.BallMover_get_version_info(self)
2707 """__str__(BallMover self) -> std::string"""
2708 return _IMP_core.BallMover___str__(self)
2712 """__repr__(BallMover self) -> std::string"""
2713 return _IMP_core.BallMover___repr__(self)
2718 return _object_cast_to_BallMover(o)
2720 BallMover_swigregister = _IMP_core.BallMover_swigregister
2721 BallMover_swigregister(BallMover)
2723 class SerialMover(MonteCarloMover):
2724 """Proxy of C++ IMP::core::SerialMover class"""
2725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2727 def __init__(self, mvs):
2728 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2729 this = _IMP_core.new_SerialMover(mvs)
2731 self.this.append(this)
2735 def get_movers(self):
2736 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2737 return _IMP_core.SerialMover_get_movers(self)
2740 def get_version_info(self):
2741 """get_version_info(SerialMover self) -> VersionInfo"""
2742 return _IMP_core.SerialMover_get_version_info(self)
2746 """__str__(SerialMover self) -> std::string"""
2747 return _IMP_core.SerialMover___str__(self)
2751 """__repr__(SerialMover self) -> std::string"""
2752 return _IMP_core.SerialMover___repr__(self)
2757 return _object_cast_to_SerialMover(o)
2759 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2760 SerialMover_swigregister(SerialMover)
2762 class BoxSweepClosePairsFinder(ClosePairsFinder):
2763 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2764 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2767 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2768 this = _IMP_core.new_BoxSweepClosePairsFinder()
2770 self.this.append(this)
2774 def get_close_pairs(self, *args):
2776 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2777 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2778 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
2779 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
2781 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2784 def do_get_inputs(self, m, pis):
2785 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2786 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
2789 def get_version_info(self):
2790 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2791 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2795 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2796 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2800 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2801 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2806 return _object_cast_to_BoxSweepClosePairsFinder(o)
2808 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2809 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2812 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2815 def __init__(self, *args):
2817 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
2818 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
2819 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2821 this = _IMP_core.new_CentroidOfRefined(*args)
2823 self.this.append(this)
2827 def do_get_inputs(self, m, pis):
2828 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2829 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
2832 def do_get_outputs(self, m, pis):
2833 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2834 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
2837 def get_version_info(self):
2838 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2839 return _IMP_core.CentroidOfRefined_get_version_info(self)
2843 """__str__(CentroidOfRefined self) -> std::string"""
2844 return _IMP_core.CentroidOfRefined___str__(self)
2848 """__repr__(CentroidOfRefined self) -> std::string"""
2849 return _IMP_core.CentroidOfRefined___repr__(self)
2854 return _object_cast_to_CentroidOfRefined(o)
2856 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2857 CentroidOfRefined_swigregister(CentroidOfRefined)
2859 class Centroid(XYZ):
2860 """Proxy of C++ IMP::core::Centroid class"""
2861 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2863 def get_constraint(self):
2864 """get_constraint(Centroid self) -> Constraint"""
2865 return _IMP_core.Centroid_get_constraint(self)
2868 def __init__(self, *args):
2870 __init__(IMP::core::Centroid self) -> Centroid
2871 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
2872 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2874 this = _IMP_core.new_Centroid(*args)
2876 self.this.append(this)
2880 def show(self, *args):
2882 show(Centroid self, _ostream out)
2885 return _IMP_core.Centroid_show(self, *args)
2888 def setup_particle(*args):
2890 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2891 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2892 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
2893 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2895 return _IMP_core.Centroid_setup_particle(*args)
2897 setup_particle = staticmethod(setup_particle)
2899 def get_is_setup(*args):
2901 get_is_setup(_ParticleAdaptor p) -> bool
2902 get_is_setup(Model m, ParticleIndex pi) -> bool
2904 return _IMP_core.Centroid_get_is_setup(*args)
2906 get_is_setup = staticmethod(get_is_setup)
2908 def add_attribute(self, *args):
2910 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2911 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2912 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2913 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2914 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2915 add_attribute(Centroid self, ObjectKey a0, Object a1)
2917 return _IMP_core.Centroid_add_attribute(self, *args)
2920 def get_value(self, *args):
2922 get_value(Centroid self, FloatKey a0) -> IMP::Float
2923 get_value(Centroid self, IntKey a0) -> IMP::Int
2924 get_value(Centroid self, StringKey a0) -> IMP::String
2925 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2926 get_value(Centroid self, ObjectKey a0) -> Object
2928 return _IMP_core.Centroid_get_value(self, *args)
2931 def set_value(self, *args):
2933 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2934 set_value(Centroid self, IntKey a0, IMP::Int a1)
2935 set_value(Centroid self, StringKey a0, IMP::String a1)
2936 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2937 set_value(Centroid self, ObjectKey a0, Object a1)
2939 return _IMP_core.Centroid_set_value(self, *args)
2942 def remove_attribute(self, *args):
2944 remove_attribute(Centroid self, FloatKey a0)
2945 remove_attribute(Centroid self, IntKey a0)
2946 remove_attribute(Centroid self, StringKey a0)
2947 remove_attribute(Centroid self, ParticleIndexKey a0)
2948 remove_attribute(Centroid self, ObjectKey a0)
2950 return _IMP_core.Centroid_remove_attribute(self, *args)
2953 def has_attribute(self, *args):
2955 has_attribute(Centroid self, FloatKey a0) -> bool
2956 has_attribute(Centroid self, IntKey a0) -> bool
2957 has_attribute(Centroid self, StringKey a0) -> bool
2958 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2959 has_attribute(Centroid self, ObjectKey a0) -> bool
2961 return _IMP_core.Centroid_has_attribute(self, *args)
2964 def get_derivative(self, a0):
2965 """get_derivative(Centroid self, FloatKey a0) -> double"""
2966 return _IMP_core.Centroid_get_derivative(self, a0)
2970 """get_name(Centroid self) -> std::string"""
2971 return _IMP_core.Centroid_get_name(self)
2974 def clear_caches(self):
2975 """clear_caches(Centroid self)"""
2976 return _IMP_core.Centroid_clear_caches(self)
2979 def set_name(self, a0):
2980 """set_name(Centroid self, std::string a0)"""
2981 return _IMP_core.Centroid_set_name(self, a0)
2985 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
2986 return _IMP_core.Centroid_set_check_level(self, a0)
2989 def add_to_derivative(self, a0, a1, a2):
2990 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2991 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
2994 def set_is_optimized(self, a0, a1):
2995 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2996 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
2999 def get_is_optimized(self, a0):
3000 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
3001 return _IMP_core.Centroid_get_is_optimized(self, a0)
3005 """get_check_level(Centroid self) -> IMP::CheckLevel"""
3006 return _IMP_core.Centroid_get_check_level(self)
3009 def __eq__(self, *args):
3011 __eq__(Centroid self, Centroid o) -> bool
3012 __eq__(Centroid self, Particle d) -> bool
3014 return _IMP_core.Centroid___eq__(self, *args)
3017 def __ne__(self, *args):
3019 __ne__(Centroid self, Centroid o) -> bool
3020 __ne__(Centroid self, Particle d) -> bool
3022 return _IMP_core.Centroid___ne__(self, *args)
3025 def __le__(self, *args):
3027 __le__(Centroid self, Centroid o) -> bool
3028 __le__(Centroid self, Particle d) -> bool
3030 return _IMP_core.Centroid___le__(self, *args)
3033 def __lt__(self, *args):
3035 __lt__(Centroid self, Centroid o) -> bool
3036 __lt__(Centroid self, Particle d) -> bool
3038 return _IMP_core.Centroid___lt__(self, *args)
3041 def __ge__(self, *args):
3043 __ge__(Centroid self, Centroid o) -> bool
3044 __ge__(Centroid self, Particle d) -> bool
3046 return _IMP_core.Centroid___ge__(self, *args)
3049 def __gt__(self, *args):
3051 __gt__(Centroid self, Centroid o) -> bool
3052 __gt__(Centroid self, Particle d) -> bool
3054 return _IMP_core.Centroid___gt__(self, *args)
3058 """__hash__(Centroid self) -> std::size_t"""
3059 return _IMP_core.Centroid___hash__(self)
3063 """__str__(Centroid self) -> std::string"""
3064 return _IMP_core.Centroid___str__(self)
3068 """__repr__(Centroid self) -> std::string"""
3069 return _IMP_core.Centroid___repr__(self)
3071 __swig_destroy__ = _IMP_core.delete_Centroid
3072 __del__ =
lambda self:
None
3073 Centroid_swigregister = _IMP_core.Centroid_swigregister
3074 Centroid_swigregister(Centroid)
3076 def Centroid_setup_particle(*args):
3078 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
3079 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
3080 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
3081 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
3083 return _IMP_core.Centroid_setup_particle(*args)
3085 def Centroid_get_is_setup(*args):
3087 get_is_setup(_ParticleAdaptor p) -> bool
3088 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
3090 return _IMP_core.Centroid_get_is_setup(*args)
3093 """Proxy of C++ IMP::core::ChecksScoreState class"""
3094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3096 def __init__(self, m, probability):
3097 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
3098 this = _IMP_core.new_ChecksScoreState(m, probability)
3100 self.this.append(this)
3104 def get_number_of_checked(self):
3105 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
3106 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
3109 def do_before_evaluate(self):
3110 """do_before_evaluate(ChecksScoreState self)"""
3111 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
3114 def do_after_evaluate(self, da):
3115 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
3116 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
3119 def do_get_outputs(self):
3120 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
3121 return _IMP_core.ChecksScoreState_do_get_outputs(self)
3124 def do_get_inputs(self):
3125 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
3126 return _IMP_core.ChecksScoreState_do_get_inputs(self)
3129 def get_version_info(self):
3130 """get_version_info(ChecksScoreState self) -> VersionInfo"""
3131 return _IMP_core.ChecksScoreState_get_version_info(self)
3135 """__str__(ChecksScoreState self) -> std::string"""
3136 return _IMP_core.ChecksScoreState___str__(self)
3140 """__repr__(ChecksScoreState self) -> std::string"""
3141 return _IMP_core.ChecksScoreState___repr__(self)
3146 return _object_cast_to_ChecksScoreState(o)
3148 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
3149 ChecksScoreState_swigregister(ChecksScoreState)
3152 """Proxy of C++ IMP::core::ChildrenRefiner class"""
3153 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3155 def __init__(self, tr):
3156 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
3157 this = _IMP_core.new_ChildrenRefiner(tr)
3159 self.this.append(this)
3163 def do_get_inputs(self, m, pis):
3164 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3165 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
3168 def get_version_info(self):
3169 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
3170 return _IMP_core.ChildrenRefiner_get_version_info(self)
3174 """__str__(ChildrenRefiner self) -> std::string"""
3175 return _IMP_core.ChildrenRefiner___str__(self)
3179 """__repr__(ChildrenRefiner self) -> std::string"""
3180 return _IMP_core.ChildrenRefiner___repr__(self)
3185 return _object_cast_to_ChildrenRefiner(o)
3187 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
3188 ChildrenRefiner_swigregister(ChildrenRefiner)
3191 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
3192 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3194 def __init__(self, values, minrange, spacing):
3195 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
3196 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
3198 self.this.append(this)
3202 def get_version_info(self):
3203 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
3204 return _IMP_core.ClosedCubicSpline_get_version_info(self)
3207 def do_show(self, out):
3208 """do_show(ClosedCubicSpline self, _ostream out)"""
3209 return _IMP_core.ClosedCubicSpline_do_show(self, out)
3213 """__str__(ClosedCubicSpline self) -> std::string"""
3214 return _IMP_core.ClosedCubicSpline___str__(self)
3218 """__repr__(ClosedCubicSpline self) -> std::string"""
3219 return _IMP_core.ClosedCubicSpline___repr__(self)
3224 return _object_cast_to_ClosedCubicSpline(o)
3226 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
3227 ClosedCubicSpline_swigregister(ClosedCubicSpline)
3230 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
3231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3233 def __init__(self, f, r, k=1):
3235 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
3236 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
3238 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
3240 self.this.append(this)
3244 def get_close_pairs(self, pp):
3245 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3246 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
3249 def create_current_decomposition(self, m, vt):
3250 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3251 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
3254 def do_get_inputs(self, m, pis):
3255 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3256 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
3259 def get_version_info(self):
3260 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
3261 return _IMP_core.KClosePairsPairScore_get_version_info(self)
3265 """__str__(KClosePairsPairScore self) -> std::string"""
3266 return _IMP_core.KClosePairsPairScore___str__(self)
3270 """__repr__(KClosePairsPairScore self) -> std::string"""
3271 return _IMP_core.KClosePairsPairScore___repr__(self)
3276 return _object_cast_to_KClosePairsPairScore(o)
3278 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
3279 KClosePairsPairScore_swigregister(KClosePairsPairScore)
3282 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
3283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3285 def __init__(self, f, r, max_distance):
3286 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
3287 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
3289 self.this.append(this)
3293 def get_close_pairs(self, pp):
3294 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3295 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
3298 def create_current_decomposition(self, m, vt):
3299 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3300 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
3303 def do_get_inputs(self, m, pis):
3304 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3305 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
3308 def get_version_info(self):
3309 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
3310 return _IMP_core.ClosePairsPairScore_get_version_info(self)
3314 """__str__(ClosePairsPairScore self) -> std::string"""
3315 return _IMP_core.ClosePairsPairScore___str__(self)
3319 """__repr__(ClosePairsPairScore self) -> std::string"""
3320 return _IMP_core.ClosePairsPairScore___repr__(self)
3325 return _object_cast_to_ClosePairsPairScore(o)
3327 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
3328 ClosePairsPairScore_swigregister(ClosePairsPairScore)
3331 """Proxy of C++ IMP::core::ConjugateGradients class"""
3332 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3334 def __init__(self, *args):
3336 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
3337 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
3339 this = _IMP_core.new_ConjugateGradients(*args)
3341 self.this.append(this)
3345 def set_gradient_threshold(self, t):
3346 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
3347 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
3350 def set_threshold(self, t):
3351 """set_threshold(ConjugateGradients self, IMP::Float t)"""
3352 return _IMP_core.ConjugateGradients_set_threshold(self, t)
3355 def set_max_change(self, t):
3356 """set_max_change(ConjugateGradients self, IMP::Float t)"""
3357 return _IMP_core.ConjugateGradients_set_max_change(self, t)
3360 def do_optimize(self, max_steps):
3361 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
3362 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
3365 def get_version_info(self):
3366 """get_version_info(ConjugateGradients self) -> VersionInfo"""
3367 return _IMP_core.ConjugateGradients_get_version_info(self)
3371 """__str__(ConjugateGradients self) -> std::string"""
3372 return _IMP_core.ConjugateGradients___str__(self)
3376 """__repr__(ConjugateGradients self) -> std::string"""
3377 return _IMP_core.ConjugateGradients___repr__(self)
3382 return _object_cast_to_ConjugateGradients(o)
3384 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3385 ConjugateGradients_swigregister(ConjugateGradients)
3388 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
3389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3391 def __init__(self, ps, sc):
3392 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
3393 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
3395 self.this.append(this)
3399 def get_connected_pairs(self):
3400 """get_connected_pairs(ConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
3401 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3404 def get_pair_score(self):
3405 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3406 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3409 def do_create_current_decomposition(self):
3410 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
3411 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3414 def do_get_inputs(self):
3415 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
3416 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3419 def get_version_info(self):
3420 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3421 return _IMP_core.ConnectivityRestraint_get_version_info(self)
3425 """__str__(ConnectivityRestraint self) -> std::string"""
3426 return _IMP_core.ConnectivityRestraint___str__(self)
3430 """__repr__(ConnectivityRestraint self) -> std::string"""
3431 return _IMP_core.ConnectivityRestraint___repr__(self)
3436 return _object_cast_to_ConnectivityRestraint(o)
3438 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3439 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3442 """Proxy of C++ IMP::core::ConstantRestraint class"""
3443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3445 def __init__(self, m, v):
3446 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
3447 this = _IMP_core.new_ConstantRestraint(m, v)
3449 self.this.append(this)
3453 def do_get_inputs(self):
3454 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
3455 return _IMP_core.ConstantRestraint_do_get_inputs(self)
3458 def get_version_info(self):
3459 """get_version_info(ConstantRestraint self) -> VersionInfo"""
3460 return _IMP_core.ConstantRestraint_get_version_info(self)
3464 """__str__(ConstantRestraint self) -> std::string"""
3465 return _IMP_core.ConstantRestraint___str__(self)
3469 """__repr__(ConstantRestraint self) -> std::string"""
3470 return _IMP_core.ConstantRestraint___repr__(self)
3475 return _object_cast_to_ConstantRestraint(o)
3477 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3478 ConstantRestraint_swigregister(ConstantRestraint)
3481 """Proxy of C++ IMP::core::Cosine class"""
3482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3484 def __init__(self, force_constant, periodicity, phase):
3485 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3486 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
3488 self.this.append(this)
3492 def get_version_info(self):
3493 """get_version_info(Cosine self) -> VersionInfo"""
3494 return _IMP_core.Cosine_get_version_info(self)
3497 def do_show(self, out):
3498 """do_show(Cosine self, _ostream out)"""
3499 return _IMP_core.Cosine_do_show(self, out)
3503 """__str__(Cosine self) -> std::string"""
3504 return _IMP_core.Cosine___str__(self)
3508 """__repr__(Cosine self) -> std::string"""
3509 return _IMP_core.Cosine___repr__(self)
3514 return _object_cast_to_Cosine(o)
3516 Cosine_swigregister = _IMP_core.Cosine_swigregister
3517 Cosine_swigregister(Cosine)
3520 """Proxy of C++ IMP::core::CoverRefined class"""
3521 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3523 def __init__(self, ref, slack=0):
3525 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3526 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3528 this = _IMP_core.new_CoverRefined(ref, slack)
3530 self.this.append(this)
3534 def set_slack(self, slack):
3535 """set_slack(CoverRefined self, IMP::Float slack)"""
3536 return _IMP_core.CoverRefined_set_slack(self, slack)
3539 def do_get_inputs(self, m, pis):
3540 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3541 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
3544 def do_get_outputs(self, m, pis):
3545 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3546 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
3549 def get_version_info(self):
3550 """get_version_info(CoverRefined self) -> VersionInfo"""
3551 return _IMP_core.CoverRefined_get_version_info(self)
3555 """__str__(CoverRefined self) -> std::string"""
3556 return _IMP_core.CoverRefined___str__(self)
3560 """__repr__(CoverRefined self) -> std::string"""
3561 return _IMP_core.CoverRefined___repr__(self)
3566 return _object_cast_to_CoverRefined(o)
3568 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3569 CoverRefined_swigregister(CoverRefined)
3572 """Proxy of C++ IMP::core::Cover class"""
3573 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3575 def get_constraint(self):
3576 """get_constraint(Cover self) -> Constraint"""
3577 return _IMP_core.Cover_get_constraint(self)
3580 def __init__(self, *args):
3582 __init__(IMP::core::Cover self) -> Cover
3583 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
3584 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3586 this = _IMP_core.new_Cover(*args)
3588 self.this.append(this)
3592 def show(self, *args):
3594 show(Cover self, _ostream out)
3597 return _IMP_core.Cover_show(self, *args)
3600 def 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 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3607 return _IMP_core.Cover_setup_particle(*args)
3609 setup_particle = staticmethod(setup_particle)
3611 def get_is_setup(*args):
3613 get_is_setup(_ParticleAdaptor p) -> bool
3614 get_is_setup(Model m, ParticleIndex pi) -> bool
3616 return _IMP_core.Cover_get_is_setup(*args)
3618 get_is_setup = staticmethod(get_is_setup)
3620 def add_attribute(self, *args):
3622 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3623 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3624 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3625 add_attribute(Cover self, StringKey a0, IMP::String a1)
3626 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3627 add_attribute(Cover self, ObjectKey a0, Object a1)
3629 return _IMP_core.Cover_add_attribute(self, *args)
3632 def get_value(self, *args):
3634 get_value(Cover self, FloatKey a0) -> IMP::Float
3635 get_value(Cover self, IntKey a0) -> IMP::Int
3636 get_value(Cover self, StringKey a0) -> IMP::String
3637 get_value(Cover self, ParticleIndexKey a0) -> Particle
3638 get_value(Cover self, ObjectKey a0) -> Object
3640 return _IMP_core.Cover_get_value(self, *args)
3643 def set_value(self, *args):
3645 set_value(Cover self, FloatKey a0, IMP::Float a1)
3646 set_value(Cover self, IntKey a0, IMP::Int a1)
3647 set_value(Cover self, StringKey a0, IMP::String a1)
3648 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3649 set_value(Cover self, ObjectKey a0, Object a1)
3651 return _IMP_core.Cover_set_value(self, *args)
3654 def remove_attribute(self, *args):
3656 remove_attribute(Cover self, FloatKey a0)
3657 remove_attribute(Cover self, IntKey a0)
3658 remove_attribute(Cover self, StringKey a0)
3659 remove_attribute(Cover self, ParticleIndexKey a0)
3660 remove_attribute(Cover self, ObjectKey a0)
3662 return _IMP_core.Cover_remove_attribute(self, *args)
3665 def has_attribute(self, *args):
3667 has_attribute(Cover self, FloatKey a0) -> bool
3668 has_attribute(Cover self, IntKey a0) -> bool
3669 has_attribute(Cover self, StringKey a0) -> bool
3670 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3671 has_attribute(Cover self, ObjectKey a0) -> bool
3673 return _IMP_core.Cover_has_attribute(self, *args)
3676 def get_derivative(self, a0):
3677 """get_derivative(Cover self, FloatKey a0) -> double"""
3678 return _IMP_core.Cover_get_derivative(self, a0)
3682 """get_name(Cover self) -> std::string"""
3683 return _IMP_core.Cover_get_name(self)
3686 def clear_caches(self):
3687 """clear_caches(Cover self)"""
3688 return _IMP_core.Cover_clear_caches(self)
3691 def set_name(self, a0):
3692 """set_name(Cover self, std::string a0)"""
3693 return _IMP_core.Cover_set_name(self, a0)
3697 """set_check_level(Cover self, IMP::CheckLevel a0)"""
3698 return _IMP_core.Cover_set_check_level(self, a0)
3701 def add_to_derivative(self, a0, a1, a2):
3702 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3703 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
3706 def set_is_optimized(self, a0, a1):
3707 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3708 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
3711 def get_is_optimized(self, a0):
3712 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3713 return _IMP_core.Cover_get_is_optimized(self, a0)
3717 """get_check_level(Cover self) -> IMP::CheckLevel"""
3718 return _IMP_core.Cover_get_check_level(self)
3721 def __eq__(self, *args):
3723 __eq__(Cover self, Cover o) -> bool
3724 __eq__(Cover self, Particle d) -> bool
3726 return _IMP_core.Cover___eq__(self, *args)
3729 def __ne__(self, *args):
3731 __ne__(Cover self, Cover o) -> bool
3732 __ne__(Cover self, Particle d) -> bool
3734 return _IMP_core.Cover___ne__(self, *args)
3737 def __le__(self, *args):
3739 __le__(Cover self, Cover o) -> bool
3740 __le__(Cover self, Particle d) -> bool
3742 return _IMP_core.Cover___le__(self, *args)
3745 def __lt__(self, *args):
3747 __lt__(Cover self, Cover o) -> bool
3748 __lt__(Cover self, Particle d) -> bool
3750 return _IMP_core.Cover___lt__(self, *args)
3753 def __ge__(self, *args):
3755 __ge__(Cover self, Cover o) -> bool
3756 __ge__(Cover self, Particle d) -> bool
3758 return _IMP_core.Cover___ge__(self, *args)
3761 def __gt__(self, *args):
3763 __gt__(Cover self, Cover o) -> bool
3764 __gt__(Cover self, Particle d) -> bool
3766 return _IMP_core.Cover___gt__(self, *args)
3770 """__hash__(Cover self) -> std::size_t"""
3771 return _IMP_core.Cover___hash__(self)
3775 """__str__(Cover self) -> std::string"""
3776 return _IMP_core.Cover___str__(self)
3780 """__repr__(Cover self) -> std::string"""
3781 return _IMP_core.Cover___repr__(self)
3783 __swig_destroy__ = _IMP_core.delete_Cover
3784 __del__ =
lambda self:
None
3785 Cover_swigregister = _IMP_core.Cover_swigregister
3786 Cover_swigregister(Cover)
3788 def Cover_setup_particle(*args):
3790 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3791 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3792 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
3793 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3795 return _IMP_core.Cover_setup_particle(*args)
3797 def Cover_get_is_setup(*args):
3799 get_is_setup(_ParticleAdaptor p) -> bool
3800 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
3802 return _IMP_core.Cover_get_is_setup(*args)
3805 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3806 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3808 def __init__(self, *args):
3810 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
3811 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3813 this = _IMP_core.new_DerivativesFromRefined(*args)
3815 self.this.append(this)
3819 def do_get_inputs(self, m, pis):
3820 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3821 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
3824 def do_get_outputs(self, m, pis):
3825 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3826 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
3829 def get_version_info(self):
3830 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3831 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3835 """__str__(DerivativesFromRefined self) -> std::string"""
3836 return _IMP_core.DerivativesFromRefined___str__(self)
3840 """__repr__(DerivativesFromRefined self) -> std::string"""
3841 return _IMP_core.DerivativesFromRefined___repr__(self)
3846 return _object_cast_to_DerivativesFromRefined(o)
3848 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3849 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3852 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3855 def __init__(self, *args):
3857 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
3858 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3860 this = _IMP_core.new_DerivativesToRefined(*args)
3862 self.this.append(this)
3866 def do_get_inputs(self, m, pis):
3867 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3868 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
3871 def do_get_outputs(self, m, pis):
3872 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3873 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
3876 def get_version_info(self):
3877 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3878 return _IMP_core.DerivativesToRefined_get_version_info(self)
3882 """__str__(DerivativesToRefined self) -> std::string"""
3883 return _IMP_core.DerivativesToRefined___str__(self)
3887 """__repr__(DerivativesToRefined self) -> std::string"""
3888 return _IMP_core.DerivativesToRefined___repr__(self)
3893 return _object_cast_to_DerivativesToRefined(o)
3895 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3896 DerivativesToRefined_swigregister(DerivativesToRefined)
3899 """Proxy of C++ IMP::core::DiameterRestraint class"""
3900 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3902 def __init__(self, f, sc, diameter):
3903 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3904 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
3906 self.this.append(this)
3910 def do_get_inputs(self):
3911 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
3912 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3915 def get_version_info(self):
3916 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3917 return _IMP_core.DiameterRestraint_get_version_info(self)
3920 def do_create_decomposition(self):
3921 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
3922 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3925 def do_create_current_decomposition(self):
3926 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
3927 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3931 """__str__(DiameterRestraint self) -> std::string"""
3932 return _IMP_core.DiameterRestraint___str__(self)
3936 """__repr__(DiameterRestraint self) -> std::string"""
3937 return _IMP_core.DiameterRestraint___repr__(self)
3942 return _object_cast_to_DiameterRestraint(o)
3944 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3945 DiameterRestraint_swigregister(DiameterRestraint)
3948 """Proxy of C++ IMP::core::Transform class"""
3949 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3951 def __init__(self, t, ignore_non_xyz=False):
3953 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3954 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3956 this = _IMP_core.new_Transform(t, ignore_non_xyz)
3958 self.this.append(this)
3962 def do_get_inputs(self, m, pis):
3963 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3964 return _IMP_core.Transform_do_get_inputs(self, m, pis)
3967 def do_get_outputs(self, m, pis):
3968 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3969 return _IMP_core.Transform_do_get_outputs(self, m, pis)
3972 def get_version_info(self):
3973 """get_version_info(Transform self) -> VersionInfo"""
3974 return _IMP_core.Transform_get_version_info(self)
3978 """__str__(Transform self) -> std::string"""
3979 return _IMP_core.Transform___str__(self)
3983 """__repr__(Transform self) -> std::string"""
3984 return _IMP_core.Transform___repr__(self)
3989 return _object_cast_to_Transform(o)
3991 Transform_swigregister = _IMP_core.Transform_swigregister
3992 Transform_swigregister(Transform)
3995 """Proxy of C++ IMP::core::Reference class"""
3996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3998 def __init__(self, *args):
4000 __init__(IMP::core::Reference self) -> Reference
4001 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
4002 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
4004 this = _IMP_core.new_Reference(*args)
4006 self.this.append(this)
4010 def show(self, *args):
4012 show(Reference self, _ostream out)
4013 show(Reference self)
4015 return _IMP_core.Reference_show(self, *args)
4018 def setup_particle(*args):
4020 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4021 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4023 return _IMP_core.Reference_setup_particle(*args)
4025 setup_particle = staticmethod(setup_particle)
4027 def get_reference_particle(self):
4028 """get_reference_particle(Reference self) -> Particle"""
4029 return _IMP_core.Reference_get_reference_particle(self)
4032 def get_is_setup(*args):
4034 get_is_setup(_ParticleAdaptor p) -> bool
4035 get_is_setup(Model m, ParticleIndex pi) -> bool
4037 return _IMP_core.Reference_get_is_setup(*args)
4039 get_is_setup = staticmethod(get_is_setup)
4041 def get_reference_key():
4042 """get_reference_key() -> ParticleIndexKey"""
4043 return _IMP_core.Reference_get_reference_key()
4045 get_reference_key = staticmethod(get_reference_key)
4047 def add_attribute(self, *args):
4049 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
4050 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
4051 add_attribute(Reference self, IntKey a0, IMP::Int a1)
4052 add_attribute(Reference self, StringKey a0, IMP::String a1)
4053 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
4054 add_attribute(Reference self, ObjectKey a0, Object a1)
4056 return _IMP_core.Reference_add_attribute(self, *args)
4059 def get_value(self, *args):
4061 get_value(Reference self, FloatKey a0) -> IMP::Float
4062 get_value(Reference self, IntKey a0) -> IMP::Int
4063 get_value(Reference self, StringKey a0) -> IMP::String
4064 get_value(Reference self, ParticleIndexKey a0) -> Particle
4065 get_value(Reference self, ObjectKey a0) -> Object
4067 return _IMP_core.Reference_get_value(self, *args)
4070 def set_value(self, *args):
4072 set_value(Reference self, FloatKey a0, IMP::Float a1)
4073 set_value(Reference self, IntKey a0, IMP::Int a1)
4074 set_value(Reference self, StringKey a0, IMP::String a1)
4075 set_value(Reference self, ParticleIndexKey a0, Particle a1)
4076 set_value(Reference self, ObjectKey a0, Object a1)
4078 return _IMP_core.Reference_set_value(self, *args)
4081 def remove_attribute(self, *args):
4083 remove_attribute(Reference self, FloatKey a0)
4084 remove_attribute(Reference self, IntKey a0)
4085 remove_attribute(Reference self, StringKey a0)
4086 remove_attribute(Reference self, ParticleIndexKey a0)
4087 remove_attribute(Reference self, ObjectKey a0)
4089 return _IMP_core.Reference_remove_attribute(self, *args)
4092 def has_attribute(self, *args):
4094 has_attribute(Reference self, FloatKey a0) -> bool
4095 has_attribute(Reference self, IntKey a0) -> bool
4096 has_attribute(Reference self, StringKey a0) -> bool
4097 has_attribute(Reference self, ParticleIndexKey a0) -> bool
4098 has_attribute(Reference self, ObjectKey a0) -> bool
4100 return _IMP_core.Reference_has_attribute(self, *args)
4103 def get_derivative(self, a0):
4104 """get_derivative(Reference self, FloatKey a0) -> double"""
4105 return _IMP_core.Reference_get_derivative(self, a0)
4109 """get_name(Reference self) -> std::string"""
4110 return _IMP_core.Reference_get_name(self)
4113 def clear_caches(self):
4114 """clear_caches(Reference self)"""
4115 return _IMP_core.Reference_clear_caches(self)
4118 def set_name(self, a0):
4119 """set_name(Reference self, std::string a0)"""
4120 return _IMP_core.Reference_set_name(self, a0)
4124 """set_check_level(Reference self, IMP::CheckLevel a0)"""
4125 return _IMP_core.Reference_set_check_level(self, a0)
4128 def add_to_derivative(self, a0, a1, a2):
4129 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4130 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
4133 def set_is_optimized(self, a0, a1):
4134 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
4135 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
4138 def get_is_optimized(self, a0):
4139 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
4140 return _IMP_core.Reference_get_is_optimized(self, a0)
4144 """get_check_level(Reference self) -> IMP::CheckLevel"""
4145 return _IMP_core.Reference_get_check_level(self)
4148 def __eq__(self, *args):
4150 __eq__(Reference self, Reference o) -> bool
4151 __eq__(Reference self, Particle d) -> bool
4153 return _IMP_core.Reference___eq__(self, *args)
4156 def __ne__(self, *args):
4158 __ne__(Reference self, Reference o) -> bool
4159 __ne__(Reference self, Particle d) -> bool
4161 return _IMP_core.Reference___ne__(self, *args)
4164 def __le__(self, *args):
4166 __le__(Reference self, Reference o) -> bool
4167 __le__(Reference self, Particle d) -> bool
4169 return _IMP_core.Reference___le__(self, *args)
4172 def __lt__(self, *args):
4174 __lt__(Reference self, Reference o) -> bool
4175 __lt__(Reference self, Particle d) -> bool
4177 return _IMP_core.Reference___lt__(self, *args)
4180 def __ge__(self, *args):
4182 __ge__(Reference self, Reference o) -> bool
4183 __ge__(Reference self, Particle d) -> bool
4185 return _IMP_core.Reference___ge__(self, *args)
4188 def __gt__(self, *args):
4190 __gt__(Reference self, Reference o) -> bool
4191 __gt__(Reference self, Particle d) -> bool
4193 return _IMP_core.Reference___gt__(self, *args)
4197 """__hash__(Reference self) -> std::size_t"""
4198 return _IMP_core.Reference___hash__(self)
4202 """__str__(Reference self) -> std::string"""
4203 return _IMP_core.Reference___str__(self)
4207 """__repr__(Reference self) -> std::string"""
4208 return _IMP_core.Reference___repr__(self)
4210 __swig_destroy__ = _IMP_core.delete_Reference
4211 __del__ =
lambda self:
None
4212 Reference_swigregister = _IMP_core.Reference_swigregister
4213 Reference_swigregister(Reference)
4215 def Reference_setup_particle(*args):
4217 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4218 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4220 return _IMP_core.Reference_setup_particle(*args)
4222 def Reference_get_is_setup(*args):
4224 get_is_setup(_ParticleAdaptor p) -> bool
4225 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
4227 return _IMP_core.Reference_get_is_setup(*args)
4229 def Reference_get_reference_key():
4230 """Reference_get_reference_key() -> ParticleIndexKey"""
4231 return _IMP_core.Reference_get_reference_key()
4234 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
4235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4237 def __init__(self, t, r):
4238 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
4239 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
4241 self.this.append(this)
4245 def do_get_inputs(self, m, pis):
4246 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4247 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
4250 def do_get_outputs(self, m, pis):
4251 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4252 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
4255 def get_version_info(self):
4256 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
4257 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
4261 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
4262 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
4266 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
4267 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
4272 return _object_cast_to_TransformationAndReflectionSymmetry(o)
4274 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
4275 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
4278 """Proxy of C++ IMP::core::TransformationSymmetry class"""
4279 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4281 def __init__(self, *args):
4283 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
4284 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
4286 this = _IMP_core.new_TransformationSymmetry(*args)
4288 self.this.append(this)
4292 def get_transformation(self):
4293 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
4294 return _IMP_core.TransformationSymmetry_get_transformation(self)
4297 def set_transformation(self, t):
4298 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
4299 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
4302 def do_get_inputs(self, m, pis):
4303 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4304 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
4307 def do_get_outputs(self, m, pis):
4308 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4309 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
4312 def get_version_info(self):
4313 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
4314 return _IMP_core.TransformationSymmetry_get_version_info(self)
4318 """__str__(TransformationSymmetry self) -> std::string"""
4319 return _IMP_core.TransformationSymmetry___str__(self)
4323 """__repr__(TransformationSymmetry self) -> std::string"""
4324 return _IMP_core.TransformationSymmetry___repr__(self)
4329 return _object_cast_to_TransformationSymmetry(o)
4331 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
4332 TransformationSymmetry_swigregister(TransformationSymmetry)
4334 class TransformationSymmetryMover(MonteCarloMover):
4335 """Proxy of C++ IMP::core::TransformationSymmetryMover class"""
4336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4338 def __init__(self, m, symm, pivot, max_translation, max_rotation):
4339 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
4340 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
4342 self.this.append(this)
4346 def set_maximum_translation(self, mt):
4347 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
4348 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
4351 def set_maximum_rotation(self, mr):
4352 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
4353 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
4356 def get_maximum_translation(self):
4357 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
4358 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
4361 def get_maximum_rotation(self):
4362 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
4363 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
4366 def get_version_info(self):
4367 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
4368 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
4372 """__str__(TransformationSymmetryMover self) -> std::string"""
4373 return _IMP_core.TransformationSymmetryMover___str__(self)
4377 """__repr__(TransformationSymmetryMover self) -> std::string"""
4378 return _IMP_core.TransformationSymmetryMover___repr__(self)
4383 return _object_cast_to_TransformationSymmetryMover(o)
4385 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
4386 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
4389 """Proxy of C++ IMP::core::DihedralRestraint class"""
4390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4392 def __init__(self, m, score_func, p1, p2, p3, p4):
4393 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
4394 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
4396 self.this.append(this)
4400 def do_get_inputs(self):
4401 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
4402 return _IMP_core.DihedralRestraint_do_get_inputs(self)
4405 def get_version_info(self):
4406 """get_version_info(DihedralRestraint self) -> VersionInfo"""
4407 return _IMP_core.DihedralRestraint_get_version_info(self)
4411 """__str__(DihedralRestraint self) -> std::string"""
4412 return _IMP_core.DihedralRestraint___str__(self)
4416 """__repr__(DihedralRestraint self) -> std::string"""
4417 return _IMP_core.DihedralRestraint___repr__(self)
4422 return _object_cast_to_DihedralRestraint(o)
4424 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
4425 DihedralRestraint_swigregister(DihedralRestraint)
4428 """Proxy of C++ IMP::core::DistancePairScore class"""
4429 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4431 def __init__(self, *args):
4433 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
4434 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
4436 this = _IMP_core.new_DistancePairScore(*args)
4438 self.this.append(this)
4442 def do_get_inputs(self, m, pis):
4443 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4444 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
4447 def get_version_info(self):
4448 """get_version_info(DistancePairScore self) -> VersionInfo"""
4449 return _IMP_core.DistancePairScore_get_version_info(self)
4453 """__str__(DistancePairScore self) -> std::string"""
4454 return _IMP_core.DistancePairScore___str__(self)
4458 """__repr__(DistancePairScore self) -> std::string"""
4459 return _IMP_core.DistancePairScore___repr__(self)
4464 return _object_cast_to_DistancePairScore(o)
4466 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4467 DistancePairScore_swigregister(DistancePairScore)
4470 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
4471 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4473 def __init__(self, *args):
4475 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
4476 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4478 this = _IMP_core.new_HarmonicDistancePairScore(*args)
4480 self.this.append(this)
4484 def do_get_inputs(self, m, pis):
4485 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4486 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
4489 def get_version_info(self):
4490 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4491 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4495 """__str__(HarmonicDistancePairScore self) -> std::string"""
4496 return _IMP_core.HarmonicDistancePairScore___str__(self)
4500 """__repr__(HarmonicDistancePairScore self) -> std::string"""
4501 return _IMP_core.HarmonicDistancePairScore___repr__(self)
4506 return _object_cast_to_HarmonicDistancePairScore(o)
4508 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4509 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4512 """Proxy of C++ IMP::core::DistanceRestraint class"""
4513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4515 def __init__(self, *args):
4517 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
4518 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
4520 this = _IMP_core.new_DistanceRestraint(*args)
4522 self.this.append(this)
4526 def get_version_info(self):
4527 """get_version_info(DistanceRestraint self) -> VersionInfo"""
4528 return _IMP_core.DistanceRestraint_get_version_info(self)
4532 """__str__(DistanceRestraint self) -> std::string"""
4533 return _IMP_core.DistanceRestraint___str__(self)
4537 """__repr__(DistanceRestraint self) -> std::string"""
4538 return _IMP_core.DistanceRestraint___repr__(self)
4543 return _object_cast_to_DistanceRestraint(o)
4545 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4546 DistanceRestraint_swigregister(DistanceRestraint)
4549 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
4550 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4552 def __init__(self, f, pt):
4553 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4554 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
4556 self.this.append(this)
4560 def do_get_inputs(self, m, pis):
4561 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4562 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
4565 def get_version_info(self):
4566 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4567 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4571 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4572 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4576 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4577 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4582 return _object_cast_to_SphereDistanceToSingletonScore(o)
4584 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4585 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4588 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
4589 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4591 def __init__(self, *args):
4593 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
4594 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4595 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4596 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4598 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4600 self.this.append(this)
4604 def do_get_inputs(self):
4605 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
4606 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4609 def get_version_info(self):
4610 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4611 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4614 def do_create_decomposition(self):
4615 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
4616 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4619 def do_create_current_decomposition(self):
4620 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
4621 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4625 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
4626 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4629 def remove_pair_filter(self, d):
4630 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4631 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
4634 def remove_pair_filters(self, d):
4635 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
4636 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
4639 def set_pair_filters(self, ps):
4640 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
4641 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
4644 def set_pair_filters_order(self, objs):
4645 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
4646 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
4649 def add_pair_filter(self, obj):
4650 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4651 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
4654 def add_pair_filters(self, objs):
4655 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
4656 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
4659 def clear_pair_filters(self):
4660 """clear_pair_filters(ExcludedVolumeRestraint self)"""
4661 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4664 def get_number_of_pair_filters(self):
4665 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4666 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4669 def get_has_pair_filters(self):
4670 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4671 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4674 def get_pair_filter(self, i):
4675 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4676 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
4679 def get_pair_filters(self):
4680 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
4681 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4684 def reserve_pair_filters(self, sz):
4685 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4686 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
4690 """__str__(ExcludedVolumeRestraint self) -> std::string"""
4691 return _IMP_core.ExcludedVolumeRestraint___str__(self)
4695 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4696 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4701 return _object_cast_to_ExcludedVolumeRestraint(o)
4703 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4704 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4707 """Proxy of C++ IMP::core::FixedRefiner class"""
4708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4710 def __init__(self, *args):
4712 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
4713 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
4715 this = _IMP_core.new_FixedRefiner(*args)
4717 self.this.append(this)
4721 def do_get_inputs(self, m, pis):
4722 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4723 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
4726 def get_version_info(self):
4727 """get_version_info(FixedRefiner self) -> VersionInfo"""
4728 return _IMP_core.FixedRefiner_get_version_info(self)
4732 """__str__(FixedRefiner self) -> std::string"""
4733 return _IMP_core.FixedRefiner___str__(self)
4737 """__repr__(FixedRefiner self) -> std::string"""
4738 return _IMP_core.FixedRefiner___repr__(self)
4743 return _object_cast_to_FixedRefiner(o)
4745 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4746 FixedRefiner_swigregister(FixedRefiner)
4748 class GridClosePairsFinder(ClosePairsFinder):
4749 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4750 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4753 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4754 this = _IMP_core.new_GridClosePairsFinder()
4756 self.this.append(this)
4760 def get_close_pairs(self, *args):
4762 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4763 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4764 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4765 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4767 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4770 def do_get_inputs(self, m, pis):
4771 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4772 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
4775 def get_version_info(self):
4776 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4777 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4781 """__str__(GridClosePairsFinder self) -> std::string"""
4782 return _IMP_core.GridClosePairsFinder___str__(self)
4786 """__repr__(GridClosePairsFinder self) -> std::string"""
4787 return _IMP_core.GridClosePairsFinder___repr__(self)
4792 return _object_cast_to_GridClosePairsFinder(o)
4794 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4795 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4798 """Proxy of C++ IMP::core::Harmonic class"""
4799 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4801 def __init__(self, mean, k):
4802 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4803 this = _IMP_core.new_Harmonic(mean, k)
4805 self.this.append(this)
4809 def get_version_info(self):
4810 """get_version_info(Harmonic self) -> VersionInfo"""
4811 return _IMP_core.Harmonic_get_version_info(self)
4815 """get_mean(Harmonic self) -> IMP::Float"""
4816 return _IMP_core.Harmonic_get_mean(self)
4820 """get_k(Harmonic self) -> IMP::Float"""
4821 return _IMP_core.Harmonic_get_k(self)
4824 def set_mean(self, mean):
4825 """set_mean(Harmonic self, IMP::Float mean)"""
4826 return _IMP_core.Harmonic_set_mean(self, mean)
4830 """set_k(Harmonic self, IMP::Float k)"""
4831 return _IMP_core.Harmonic_set_k(self, k)
4834 def get_k_from_standard_deviation(sd, t=297.15):
4836 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4837 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4839 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
4841 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4844 """__str__(Harmonic self) -> std::string"""
4845 return _IMP_core.Harmonic___str__(self)
4849 """__repr__(Harmonic self) -> std::string"""
4850 return _IMP_core.Harmonic___repr__(self)
4855 return _object_cast_to_Harmonic(o)
4857 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4858 Harmonic_swigregister(Harmonic)
4860 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
4862 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4863 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4865 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
4868 """Proxy of C++ IMP::core::HarmonicWell class"""
4869 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4871 def __init__(self, well, k):
4872 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4873 this = _IMP_core.new_HarmonicWell(well, k)
4875 self.this.append(this)
4879 def get_version_info(self):
4880 """get_version_info(HarmonicWell self) -> VersionInfo"""
4881 return _IMP_core.HarmonicWell_get_version_info(self)
4885 """__str__(HarmonicWell self) -> std::string"""
4886 return _IMP_core.HarmonicWell___str__(self)
4890 """__repr__(HarmonicWell self) -> std::string"""
4891 return _IMP_core.HarmonicWell___repr__(self)
4896 return _object_cast_to_HarmonicWell(o)
4898 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4899 HarmonicWell_swigregister(HarmonicWell)
4901 class HarmonicLowerBound(Harmonic):
4902 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4905 def __init__(self, mean, k):
4906 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4907 this = _IMP_core.new_HarmonicLowerBound(mean, k)
4909 self.this.append(this)
4914 """__str__(HarmonicLowerBound self) -> std::string"""
4915 return _IMP_core.HarmonicLowerBound___str__(self)
4919 """__repr__(HarmonicLowerBound self) -> std::string"""
4920 return _IMP_core.HarmonicLowerBound___repr__(self)
4925 return _object_cast_to_HarmonicLowerBound(o)
4927 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4928 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4930 class HarmonicUpperBound(Harmonic):
4931 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4932 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4934 def __init__(self, mean, k):
4935 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4936 this = _IMP_core.new_HarmonicUpperBound(mean, k)
4938 self.this.append(this)
4943 """__str__(HarmonicUpperBound self) -> std::string"""
4944 return _IMP_core.HarmonicUpperBound___str__(self)
4948 """__repr__(HarmonicUpperBound self) -> std::string"""
4949 return _IMP_core.HarmonicUpperBound___repr__(self)
4954 return _object_cast_to_HarmonicUpperBound(o)
4956 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4957 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4960 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4961 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4963 def __init__(self, m, ps, eps=0.1):
4965 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4966 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
4968 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
4970 self.this.append(this)
4974 def add_type(self, ps):
4975 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
4976 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
4979 def add_composite(self, *args):
4981 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4982 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4984 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4987 def get_connected_pairs(self):
4988 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
4989 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4992 def get_pair_score(self):
4993 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4994 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4997 def do_create_current_decomposition(self):
4998 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
4999 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
5002 def do_get_inputs(self):
5003 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
5004 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
5007 def get_version_info(self):
5008 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
5009 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
5013 """__str__(MSConnectivityRestraint self) -> std::string"""
5014 return _IMP_core.MSConnectivityRestraint___str__(self)
5018 """__repr__(MSConnectivityRestraint self) -> std::string"""
5019 return _IMP_core.MSConnectivityRestraint___repr__(self)
5024 return _object_cast_to_MSConnectivityRestraint(o)
5026 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
5027 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
5029 class HierarchyTraits(object):
5030 """Proxy of C++ IMP::core::HierarchyTraits class"""
5031 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5033 def __init__(self, *args):
5035 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
5036 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
5038 this = _IMP_core.new_HierarchyTraits(*args)
5040 self.this.append(this)
5044 def get_children_key(self):
5045 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
5046 return _IMP_core.HierarchyTraits_get_children_key(self)
5049 def get_parent_key(self):
5050 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
5051 return _IMP_core.HierarchyTraits_get_parent_key(self)
5054 def __eq__(self, o):
5055 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
5056 return _IMP_core.HierarchyTraits___eq__(self, o)
5059 def show(self, *args):
5061 show(HierarchyTraits self, _ostream out)
5062 show(HierarchyTraits self)
5064 return _IMP_core.HierarchyTraits_show(self, *args)
5068 """__str__(HierarchyTraits self) -> std::string"""
5069 return _IMP_core.HierarchyTraits___str__(self)
5073 """__repr__(HierarchyTraits self) -> std::string"""
5074 return _IMP_core.HierarchyTraits___repr__(self)
5076 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
5077 __del__ =
lambda self:
None
5078 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
5079 HierarchyTraits_swigregister(HierarchyTraits)
5082 """Proxy of C++ IMP::core::Hierarchy class"""
5083 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5085 def get_decorator_traits(self):
5086 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
5087 return _IMP_core.Hierarchy_get_decorator_traits(self)
5090 def get_default_decorator_traits():
5091 """get_default_decorator_traits() -> HierarchyTraits"""
5092 return _IMP_core.Hierarchy_get_default_decorator_traits()
5094 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
5096 def __init__(self, *args):
5098 __init__(IMP::core::Hierarchy self) -> Hierarchy
5099 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
5100 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
5101 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5102 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
5104 this = _IMP_core.new_Hierarchy(*args)
5106 self.this.append(this)
5110 def show(self, *args):
5112 show(Hierarchy self, _ostream out)
5113 show(Hierarchy self)
5115 return _IMP_core.Hierarchy_show(self, *args)
5118 def 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 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
5133 return _IMP_core.Hierarchy_setup_particle(*args)
5135 setup_particle = staticmethod(setup_particle)
5137 def get_is_setup(*args):
5139 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
5140 get_is_setup(_ParticleAdaptor p) -> bool
5141 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
5142 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
5144 return _IMP_core.Hierarchy_get_is_setup(*args)
5146 get_is_setup = staticmethod(get_is_setup)
5148 def get_parent(self):
5149 """get_parent(Hierarchy self) -> Hierarchy"""
5150 return _IMP_core.Hierarchy_get_parent(self)
5153 def get_number_of_children(self):
5154 """get_number_of_children(Hierarchy self) -> unsigned int"""
5155 return _IMP_core.Hierarchy_get_number_of_children(self)
5158 def get_child(self, i):
5159 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
5160 return _IMP_core.Hierarchy_get_child(self, i)
5163 def get_children_indexes(self):
5164 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
5165 return _IMP_core.Hierarchy_get_children_indexes(self)
5168 def get_children(self):
5169 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
5170 return _IMP_core.Hierarchy_get_children(self)
5173 def remove_child(self, *args):
5175 remove_child(Hierarchy self, unsigned int i)
5176 remove_child(Hierarchy self, Hierarchy h)
5178 return _IMP_core.Hierarchy_remove_child(self, *args)
5181 def clear_children(self):
5182 """clear_children(Hierarchy self)"""
5183 return _IMP_core.Hierarchy_clear_children(self)
5186 def add_child(self, h):
5187 """add_child(Hierarchy self, Hierarchy h)"""
5188 return _IMP_core.Hierarchy_add_child(self, h)
5191 def add_child_at(self, h, pos):
5192 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
5193 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
5196 def get_child_index(self, *args):
5198 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
5199 get_child_index(Hierarchy self) -> int
5201 return _IMP_core.Hierarchy_get_child_index(self, *args)
5204 def get_default_traits():
5205 """get_default_traits() -> HierarchyTraits"""
5206 return _IMP_core.Hierarchy_get_default_traits()
5208 get_default_traits = staticmethod(get_default_traits)
5210 def get_traits(self):
5211 """get_traits(Hierarchy self) -> HierarchyTraits"""
5212 return _IMP_core.Hierarchy_get_traits(self)
5215 def add_attribute(self, *args):
5217 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
5218 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
5219 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
5220 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
5221 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
5222 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
5224 return _IMP_core.Hierarchy_add_attribute(self, *args)
5227 def get_value(self, *args):
5229 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
5230 get_value(Hierarchy self, IntKey a0) -> IMP::Int
5231 get_value(Hierarchy self, StringKey a0) -> IMP::String
5232 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
5233 get_value(Hierarchy self, ObjectKey a0) -> Object
5235 return _IMP_core.Hierarchy_get_value(self, *args)
5238 def set_value(self, *args):
5240 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
5241 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
5242 set_value(Hierarchy self, StringKey a0, IMP::String a1)
5243 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
5244 set_value(Hierarchy self, ObjectKey a0, Object a1)
5246 return _IMP_core.Hierarchy_set_value(self, *args)
5249 def remove_attribute(self, *args):
5251 remove_attribute(Hierarchy self, FloatKey a0)
5252 remove_attribute(Hierarchy self, IntKey a0)
5253 remove_attribute(Hierarchy self, StringKey a0)
5254 remove_attribute(Hierarchy self, ParticleIndexKey a0)
5255 remove_attribute(Hierarchy self, ObjectKey a0)
5257 return _IMP_core.Hierarchy_remove_attribute(self, *args)
5260 def has_attribute(self, *args):
5262 has_attribute(Hierarchy self, FloatKey a0) -> bool
5263 has_attribute(Hierarchy self, IntKey a0) -> bool
5264 has_attribute(Hierarchy self, StringKey a0) -> bool
5265 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
5266 has_attribute(Hierarchy self, ObjectKey a0) -> bool
5268 return _IMP_core.Hierarchy_has_attribute(self, *args)
5271 def get_derivative(self, a0):
5272 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
5273 return _IMP_core.Hierarchy_get_derivative(self, a0)
5277 """get_name(Hierarchy self) -> std::string"""
5278 return _IMP_core.Hierarchy_get_name(self)
5281 def clear_caches(self):
5282 """clear_caches(Hierarchy self)"""
5283 return _IMP_core.Hierarchy_clear_caches(self)
5286 def set_name(self, a0):
5287 """set_name(Hierarchy self, std::string a0)"""
5288 return _IMP_core.Hierarchy_set_name(self, a0)
5292 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
5293 return _IMP_core.Hierarchy_set_check_level(self, a0)
5296 def add_to_derivative(self, a0, a1, a2):
5297 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5298 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
5301 def set_is_optimized(self, a0, a1):
5302 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
5303 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
5306 def get_is_optimized(self, a0):
5307 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
5308 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
5312 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
5313 return _IMP_core.Hierarchy_get_check_level(self)
5316 def __eq__(self, *args):
5318 __eq__(Hierarchy self, Hierarchy o) -> bool
5319 __eq__(Hierarchy self, Particle d) -> bool
5321 return _IMP_core.Hierarchy___eq__(self, *args)
5324 def __ne__(self, *args):
5326 __ne__(Hierarchy self, Hierarchy o) -> bool
5327 __ne__(Hierarchy self, Particle d) -> bool
5329 return _IMP_core.Hierarchy___ne__(self, *args)
5332 def __le__(self, *args):
5334 __le__(Hierarchy self, Hierarchy o) -> bool
5335 __le__(Hierarchy self, Particle d) -> bool
5337 return _IMP_core.Hierarchy___le__(self, *args)
5340 def __lt__(self, *args):
5342 __lt__(Hierarchy self, Hierarchy o) -> bool
5343 __lt__(Hierarchy self, Particle d) -> bool
5345 return _IMP_core.Hierarchy___lt__(self, *args)
5348 def __ge__(self, *args):
5350 __ge__(Hierarchy self, Hierarchy o) -> bool
5351 __ge__(Hierarchy self, Particle d) -> bool
5353 return _IMP_core.Hierarchy___ge__(self, *args)
5356 def __gt__(self, *args):
5358 __gt__(Hierarchy self, Hierarchy o) -> bool
5359 __gt__(Hierarchy self, Particle d) -> bool
5361 return _IMP_core.Hierarchy___gt__(self, *args)
5365 """__hash__(Hierarchy self) -> std::size_t"""
5366 return _IMP_core.Hierarchy___hash__(self)
5370 """__str__(Hierarchy self) -> std::string"""
5371 return _IMP_core.Hierarchy___str__(self)
5375 """__repr__(Hierarchy self) -> std::string"""
5376 return _IMP_core.Hierarchy___repr__(self)
5378 __swig_destroy__ = _IMP_core.delete_Hierarchy
5379 __del__ =
lambda self:
None
5380 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
5381 Hierarchy_swigregister(Hierarchy)
5383 def Hierarchy_get_default_decorator_traits():
5384 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
5385 return _IMP_core.Hierarchy_get_default_decorator_traits()
5387 def Hierarchy_setup_particle(*args):
5389 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
5390 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
5391 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5392 setup_particle(_ParticleAdaptor d) -> Hierarchy
5393 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5394 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
5395 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
5396 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
5397 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5398 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
5399 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
5400 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
5402 return _IMP_core.Hierarchy_setup_particle(*args)
5404 def Hierarchy_get_is_setup(*args):
5406 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
5407 get_is_setup(_ParticleAdaptor p) -> bool
5408 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
5409 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
5411 return _IMP_core.Hierarchy_get_is_setup(*args)
5413 def Hierarchy_get_default_traits():
5414 """Hierarchy_get_default_traits() -> HierarchyTraits"""
5415 return _IMP_core.Hierarchy_get_default_traits()
5417 class HierarchyVisitor(object):
5418 """Proxy of C++ IMP::core::HierarchyVisitor class"""
5419 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5421 def __init__(self, *args, **kwargs):
5422 raise AttributeError(
"No constructor defined - class is abstract")
5423 __repr__ = _swig_repr
5425 def __call__(self, p):
5426 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
5427 return _IMP_core.HierarchyVisitor___call__(self, p)
5429 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
5430 __del__ =
lambda self:
None
5431 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
5432 HierarchyVisitor_swigregister(HierarchyVisitor)
5434 class ModifierVisitor(HierarchyVisitor):
5435 """Proxy of C++ IMP::core::ModifierVisitor class"""
5436 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5437 __repr__ = _swig_repr
5439 def __init__(self, sm):
5440 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
5441 this = _IMP_core.new_ModifierVisitor(sm)
5443 self.this.append(this)
5446 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
5447 __del__ =
lambda self:
None
5448 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
5449 ModifierVisitor_swigregister(ModifierVisitor)
5451 class HierarchyCounter(HierarchyVisitor):
5452 """Proxy of C++ IMP::core::HierarchyCounter class"""
5453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5456 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
5457 this = _IMP_core.new_HierarchyCounter()
5459 self.this.append(this)
5463 def get_count(self):
5464 """get_count(HierarchyCounter self) -> unsigned int"""
5465 return _IMP_core.HierarchyCounter_get_count(self)
5468 def show(self, *args):
5470 show(HierarchyCounter self, _ostream out)
5471 show(HierarchyCounter self)
5473 return _IMP_core.HierarchyCounter_show(self, *args)
5477 """__str__(HierarchyCounter self) -> std::string"""
5478 return _IMP_core.HierarchyCounter___str__(self)
5482 """__repr__(HierarchyCounter self) -> std::string"""
5483 return _IMP_core.HierarchyCounter___repr__(self)
5485 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5486 __del__ =
lambda self:
None
5487 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5488 HierarchyCounter_swigregister(HierarchyCounter)
5492 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5493 return _IMP_core.get_leaves(mhd)
5496 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5497 return _IMP_core.get_internal(mhd)
5500 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5501 return _IMP_core.get_all_descendants(mhd)
5504 """get_root(Hierarchy h) -> Hierarchy"""
5505 return _IMP_core.get_root(h)
5508 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5509 return _IMP_core.visit_breadth_first(d, f)
5512 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5513 return _IMP_core.visit_depth_first(d, f)
5515 """Proxy of C++ IMP::core::LeavesRefiner class"""
5516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5518 def __init__(self, tr):
5519 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5520 this = _IMP_core.new_LeavesRefiner(tr)
5522 self.this.append(this)
5526 def do_get_inputs(self, m, pis):
5527 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5528 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
5531 def get_version_info(self):
5532 """get_version_info(LeavesRefiner self) -> VersionInfo"""
5533 return _IMP_core.LeavesRefiner_get_version_info(self)
5537 """__str__(LeavesRefiner self) -> std::string"""
5538 return _IMP_core.LeavesRefiner___str__(self)
5542 """__repr__(LeavesRefiner self) -> std::string"""
5543 return _IMP_core.LeavesRefiner___repr__(self)
5548 return _object_cast_to_LeavesRefiner(o)
5550 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5551 LeavesRefiner_swigregister(LeavesRefiner)
5554 """Proxy of C++ IMP::core::Linear class"""
5555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5557 def __init__(self, offset, slope):
5558 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5559 this = _IMP_core.new_Linear(offset, slope)
5561 self.this.append(this)
5565 def set_slope(self, f):
5566 """set_slope(Linear self, double f)"""
5567 return _IMP_core.Linear_set_slope(self, f)
5570 def set_offset(self, f):
5571 """set_offset(Linear self, double f)"""
5572 return _IMP_core.Linear_set_offset(self, f)
5575 def get_version_info(self):
5576 """get_version_info(Linear self) -> VersionInfo"""
5577 return _IMP_core.Linear_get_version_info(self)
5581 """__str__(Linear self) -> std::string"""
5582 return _IMP_core.Linear___str__(self)
5586 """__repr__(Linear self) -> std::string"""
5587 return _IMP_core.Linear___repr__(self)
5592 return _object_cast_to_Linear(o)
5594 Linear_swigregister = _IMP_core.Linear_swigregister
5595 Linear_swigregister(Linear)
5598 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
5599 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5601 def __init__(self, *args):
5603 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
5604 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
5605 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
5606 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
5608 this = _IMP_core.new_IncrementalScoringFunction(*args)
5610 self.this.append(this)
5614 def reset_moved_particles(self):
5615 """reset_moved_particles(IncrementalScoringFunction self)"""
5616 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5619 def set_moved_particles(self, p):
5620 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
5621 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
5624 def add_close_pair_score(self, *args):
5626 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
5627 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
5629 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5632 def clear_close_pair_scores(self):
5633 """clear_close_pair_scores(IncrementalScoringFunction self)"""
5634 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5637 def get_movable_indexes(self):
5638 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
5639 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
5642 def do_add_score_and_derivatives(self, sa, ss):
5643 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
5644 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
5647 def do_get_inputs(self):
5648 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
5649 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
5652 def handle_set_has_required_score_states(self, arg2):
5653 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
5654 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
5657 def get_version_info(self):
5658 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5659 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5663 """__str__(IncrementalScoringFunction self) -> std::string"""
5664 return _IMP_core.IncrementalScoringFunction___str__(self)
5668 """__repr__(IncrementalScoringFunction self) -> std::string"""
5669 return _IMP_core.IncrementalScoringFunction___repr__(self)
5674 return _object_cast_to_IncrementalScoringFunction(o)
5676 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5677 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5680 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
5681 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5683 """Proxy of C++ IMP::core::MonteCarlo class"""
5684 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5686 def __init__(self, m):
5687 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
5688 this = _IMP_core.new_MonteCarlo(m)
5690 self.this.append(this)
5694 def get_version_info(self):
5695 """get_version_info(MonteCarlo self) -> VersionInfo"""
5696 return _IMP_core.MonteCarlo_get_version_info(self)
5699 def set_return_best(self, tf):
5700 """set_return_best(MonteCarlo self, bool tf)"""
5701 return _IMP_core.MonteCarlo_set_return_best(self, tf)
5704 def set_kt(self, t):
5705 """set_kt(MonteCarlo self, IMP::Float t)"""
5706 return _IMP_core.MonteCarlo_set_kt(self, t)
5710 """get_kt(MonteCarlo self) -> IMP::Float"""
5711 return _IMP_core.MonteCarlo_get_kt(self)
5714 def get_last_accepted_energy(self):
5715 """get_last_accepted_energy(MonteCarlo self) -> double"""
5716 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5719 def get_best_accepted_energy(self):
5720 """get_best_accepted_energy(MonteCarlo self) -> double"""
5721 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5724 def get_number_of_downward_steps(self):
5725 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
5726 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
5729 def get_number_of_upward_steps(self):
5730 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5731 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5734 def get_number_of_proposed_steps(self):
5735 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
5736 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
5739 def get_number_of_accepted_steps(self):
5740 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
5741 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
5744 def reset_statistics(self):
5745 """reset_statistics(MonteCarlo self)"""
5746 return _IMP_core.MonteCarlo_reset_statistics(self)
5749 def set_score_threshold(self, s):
5750 """set_score_threshold(MonteCarlo self, double s)"""
5751 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
5754 def get_score_threshold(self):
5755 """get_score_threshold(MonteCarlo self) -> double"""
5756 return _IMP_core.MonteCarlo_get_score_threshold(self)
5759 def set_maximum_difference(self, d):
5760 """set_maximum_difference(MonteCarlo self, double d)"""
5761 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
5764 def get_maximum_difference(self):
5765 """get_maximum_difference(MonteCarlo self) -> double"""
5766 return _IMP_core.MonteCarlo_get_maximum_difference(self)
5769 def remove_mover(self, d):
5770 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5771 return _IMP_core.MonteCarlo_remove_mover(self, d)
5774 def remove_movers(self, d):
5775 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5776 return _IMP_core.MonteCarlo_remove_movers(self, d)
5779 def set_movers(self, ps):
5780 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5781 return _IMP_core.MonteCarlo_set_movers(self, ps)
5784 def set_movers_order(self, objs):
5785 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5786 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
5789 def add_mover(self, obj):
5790 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5791 return _IMP_core.MonteCarlo_add_mover(self, obj)
5794 def add_movers(self, objs):
5795 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5796 return _IMP_core.MonteCarlo_add_movers(self, objs)
5799 def clear_movers(self):
5800 """clear_movers(MonteCarlo self)"""
5801 return _IMP_core.MonteCarlo_clear_movers(self)
5804 def get_number_of_movers(self):
5805 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5806 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5809 def get_has_movers(self):
5810 """get_has_movers(MonteCarlo self) -> bool"""
5811 return _IMP_core.MonteCarlo_get_has_movers(self)
5814 def get_mover(self, i):
5815 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5816 return _IMP_core.MonteCarlo_get_mover(self, i)
5819 def get_movers(self):
5820 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5821 return _IMP_core.MonteCarlo_get_movers(self)
5824 def reserve_movers(self, sz):
5825 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5826 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
5829 def set_incremental_scoring_function(self, isf):
5830 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5831 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
5834 def get_use_incremental_scoring_function(self):
5835 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5836 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5839 def get_incremental_scoring_function(self):
5840 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5841 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5845 """__str__(MonteCarlo self) -> std::string"""
5846 return _IMP_core.MonteCarlo___str__(self)
5850 """__repr__(MonteCarlo self) -> std::string"""
5851 return _IMP_core.MonteCarlo___repr__(self)
5856 return _object_cast_to_MonteCarlo(o)
5858 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5859 MonteCarlo_swigregister(MonteCarlo)
5861 class MonteCarloWithLocalOptimization(MonteCarlo):
5862 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5863 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5865 def __init__(self, opt, steps):
5866 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5867 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
5869 self.this.append(this)
5873 def get_number_of_steps(self):
5874 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5875 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5878 def get_local_optimizer(self):
5879 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5880 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5884 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5885 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5889 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5890 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5895 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5897 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5898 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5900 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5901 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5904 def __init__(self, opt, ns):
5905 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5906 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
5908 self.this.append(this)
5913 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5914 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5918 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5919 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5924 return _object_cast_to_MonteCarloWithBasinHopping(o)
5926 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5927 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5930 """Proxy of C++ IMP::core::NeighborsTable class"""
5931 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5933 def __init__(self, *args):
5935 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
5936 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
5938 this = _IMP_core.new_NeighborsTable(*args)
5940 self.this.append(this)
5944 def get_neighbors(self, pi):
5945 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
5946 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
5949 def get_version_info(self):
5950 """get_version_info(NeighborsTable self) -> VersionInfo"""
5951 return _IMP_core.NeighborsTable_get_version_info(self)
5955 """__str__(NeighborsTable self) -> std::string"""
5956 return _IMP_core.NeighborsTable___str__(self)
5960 """__repr__(NeighborsTable self) -> std::string"""
5961 return _IMP_core.NeighborsTable___repr__(self)
5966 return _object_cast_to_NeighborsTable(o)
5968 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
5969 NeighborsTable_swigregister(NeighborsTable)
5971 class NormalMover(MonteCarloMover):
5972 """Proxy of C++ IMP::core::NormalMover class"""
5973 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5975 def __init__(self, *args):
5977 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
5978 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
5979 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5980 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5982 this = _IMP_core.new_NormalMover(*args)
5984 self.this.append(this)
5988 def set_sigma(self, sigma):
5989 """set_sigma(NormalMover self, IMP::Float sigma)"""
5990 return _IMP_core.NormalMover_set_sigma(self, sigma)
5993 def get_sigma(self):
5994 """get_sigma(NormalMover self) -> IMP::Float"""
5995 return _IMP_core.NormalMover_get_sigma(self)
5998 def get_version_info(self):
5999 """get_version_info(NormalMover self) -> VersionInfo"""
6000 return _IMP_core.NormalMover_get_version_info(self)
6004 """__str__(NormalMover self) -> std::string"""
6005 return _IMP_core.NormalMover___str__(self)
6009 """__repr__(NormalMover self) -> std::string"""
6010 return _IMP_core.NormalMover___repr__(self)
6015 return _object_cast_to_NormalMover(o)
6017 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
6018 NormalMover_swigregister(NormalMover)
6020 class OpenCubicSpline(_OpenCubicSplineBase):
6021 """Proxy of C++ IMP::core::OpenCubicSpline class"""
6022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6024 def __init__(self, values, minrange, spacing, extend=False):
6026 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
6027 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
6029 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
6031 self.this.append(this)
6036 """__str__(OpenCubicSpline self) -> std::string"""
6037 return _IMP_core.OpenCubicSpline___str__(self)
6041 """__repr__(OpenCubicSpline self) -> std::string"""
6042 return _IMP_core.OpenCubicSpline___repr__(self)
6047 return _object_cast_to_OpenCubicSpline(o)
6049 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
6050 __del__ =
lambda self:
None
6051 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
6052 OpenCubicSpline_swigregister(OpenCubicSpline)
6054 class QuadraticClosePairsFinder(ClosePairsFinder):
6055 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
6056 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6059 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
6060 this = _IMP_core.new_QuadraticClosePairsFinder()
6062 self.this.append(this)
6066 def get_are_close(self, *args):
6068 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
6069 get_are_close(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
6071 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
6074 def get_close_pairs(self, *args):
6076 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6077 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6078 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6079 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6081 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
6084 def do_get_inputs(self, m, pis):
6085 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6086 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
6089 def get_version_info(self):
6090 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
6091 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
6095 """__str__(QuadraticClosePairsFinder self) -> std::string"""
6096 return _IMP_core.QuadraticClosePairsFinder___str__(self)
6100 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
6101 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
6106 return _object_cast_to_QuadraticClosePairsFinder(o)
6108 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
6109 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
6112 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
6113 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6115 def __init__(self, r, f):
6116 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
6117 this = _IMP_core.new_RefinedPairsPairScore(r, f)
6119 self.this.append(this)
6123 def do_get_inputs(self, m, pis):
6124 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6125 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
6128 def get_version_info(self):
6129 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
6130 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
6134 """__str__(RefinedPairsPairScore self) -> std::string"""
6135 return _IMP_core.RefinedPairsPairScore___str__(self)
6139 """__repr__(RefinedPairsPairScore self) -> std::string"""
6140 return _IMP_core.RefinedPairsPairScore___repr__(self)
6145 return _object_cast_to_RefinedPairsPairScore(o)
6147 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
6148 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
6150 class RigidBody(XYZ):
6151 """Proxy of C++ IMP::core::RigidBody class"""
6152 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6154 def get_rigid_members(self):
6155 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
6156 return _IMP_core.RigidBody_get_rigid_members(self)
6159 def get_member_particle_indexes(self):
6160 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
6161 return _IMP_core.RigidBody_get_member_particle_indexes(self)
6164 def get_body_member_particle_indexes(self):
6165 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
6166 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
6169 def get_member_indexes(self):
6170 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
6171 return _IMP_core.RigidBody_get_member_indexes(self)
6174 def __init__(self, *args):
6176 __init__(IMP::core::RigidBody self) -> RigidBody
6177 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
6178 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
6180 this = _IMP_core.new_RigidBody(*args)
6182 self.this.append(this)
6186 def show(self, *args):
6188 show(RigidBody self, _ostream out)
6189 show(RigidBody self)
6191 return _IMP_core.RigidBody_show(self, *args)
6194 def setup_particle(*args):
6196 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
6197 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
6198 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
6199 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
6201 return _IMP_core.RigidBody_setup_particle(*args)
6203 setup_particle = staticmethod(setup_particle)
6205 def teardown_particle(rb):
6206 """teardown_particle(RigidBody rb)"""
6207 return _IMP_core.RigidBody_teardown_particle(rb)
6209 teardown_particle = staticmethod(teardown_particle)
6210 __swig_destroy__ = _IMP_core.delete_RigidBody
6211 __del__ =
lambda self:
None
6213 def get_is_setup(*args):
6215 get_is_setup(_ParticleAdaptor p) -> bool
6216 get_is_setup(Model m, ParticleIndex pi) -> bool
6218 return _IMP_core.RigidBody_get_is_setup(*args)
6220 get_is_setup = staticmethod(get_is_setup)
6222 def get_coordinates(self):
6223 """get_coordinates(RigidBody self) -> Vector3D"""
6224 return _IMP_core.RigidBody_get_coordinates(self)
6227 def get_reference_frame(self):
6228 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
6229 return _IMP_core.RigidBody_get_reference_frame(self)
6232 def set_reference_frame(self, tr):
6233 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
6234 return _IMP_core.RigidBody_set_reference_frame(self, tr)
6237 def set_reference_frame_lazy(self, tr):
6238 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
6239 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
6242 def set_reference_frame_from_members(self, members):
6243 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
6244 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
6247 def add_to_derivatives(self, *args):
6249 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
6250 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot, DerivativeAccumulator da)
6252 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
6255 def get_torque(self):
6256 """get_torque(RigidBody self) -> Vector3D"""
6257 return _IMP_core.RigidBody_get_torque(self)
6260 def get_coordinates_are_optimized(self):
6261 """get_coordinates_are_optimized(RigidBody self) -> bool"""
6262 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
6265 def set_coordinates_are_optimized(self, tf):
6266 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
6267 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
6270 def normalize_rotation(self):
6271 """normalize_rotation(RigidBody self)"""
6272 return _IMP_core.RigidBody_normalize_rotation(self)
6275 def update_members(self):
6276 """update_members(RigidBody self)"""
6277 return _IMP_core.RigidBody_update_members(self)
6280 def get_rotational_derivatives(self):
6281 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
6282 return _IMP_core.RigidBody_get_rotational_derivatives(self)
6285 def get_number_of_members(self):
6286 """get_number_of_members(RigidBody self) -> unsigned int"""
6287 return _IMP_core.RigidBody_get_number_of_members(self)
6290 def get_member(self, i):
6291 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
6292 return _IMP_core.RigidBody_get_member(self, i)
6295 def add_member(self, p):
6296 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
6297 return _IMP_core.RigidBody_add_member(self, p)
6300 def add_non_rigid_member(self, p):
6301 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
6302 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
6305 def set_is_rigid_member(self, pi, tf):
6306 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
6307 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
6310 def add_attribute(self, *args):
6312 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
6313 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
6314 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
6315 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
6316 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
6317 add_attribute(RigidBody self, ObjectKey a0, Object a1)
6319 return _IMP_core.RigidBody_add_attribute(self, *args)
6322 def get_value(self, *args):
6324 get_value(RigidBody self, FloatKey a0) -> IMP::Float
6325 get_value(RigidBody self, IntKey a0) -> IMP::Int
6326 get_value(RigidBody self, StringKey a0) -> IMP::String
6327 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
6328 get_value(RigidBody self, ObjectKey a0) -> Object
6330 return _IMP_core.RigidBody_get_value(self, *args)
6333 def set_value(self, *args):
6335 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
6336 set_value(RigidBody self, IntKey a0, IMP::Int a1)
6337 set_value(RigidBody self, StringKey a0, IMP::String a1)
6338 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
6339 set_value(RigidBody self, ObjectKey a0, Object a1)
6341 return _IMP_core.RigidBody_set_value(self, *args)
6344 def remove_attribute(self, *args):
6346 remove_attribute(RigidBody self, FloatKey a0)
6347 remove_attribute(RigidBody self, IntKey a0)
6348 remove_attribute(RigidBody self, StringKey a0)
6349 remove_attribute(RigidBody self, ParticleIndexKey a0)
6350 remove_attribute(RigidBody self, ObjectKey a0)
6352 return _IMP_core.RigidBody_remove_attribute(self, *args)
6355 def has_attribute(self, *args):
6357 has_attribute(RigidBody self, FloatKey a0) -> bool
6358 has_attribute(RigidBody self, IntKey a0) -> bool
6359 has_attribute(RigidBody self, StringKey a0) -> bool
6360 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
6361 has_attribute(RigidBody self, ObjectKey a0) -> bool
6363 return _IMP_core.RigidBody_has_attribute(self, *args)
6366 def get_derivative(self, a0):
6367 """get_derivative(RigidBody self, FloatKey a0) -> double"""
6368 return _IMP_core.RigidBody_get_derivative(self, a0)
6372 """get_name(RigidBody self) -> std::string"""
6373 return _IMP_core.RigidBody_get_name(self)
6376 def clear_caches(self):
6377 """clear_caches(RigidBody self)"""
6378 return _IMP_core.RigidBody_clear_caches(self)
6381 def set_name(self, a0):
6382 """set_name(RigidBody self, std::string a0)"""
6383 return _IMP_core.RigidBody_set_name(self, a0)
6387 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
6388 return _IMP_core.RigidBody_set_check_level(self, a0)
6391 def add_to_derivative(self, a0, a1, a2):
6392 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6393 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
6396 def set_is_optimized(self, a0, a1):
6397 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
6398 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
6401 def get_is_optimized(self, a0):
6402 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
6403 return _IMP_core.RigidBody_get_is_optimized(self, a0)
6407 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
6408 return _IMP_core.RigidBody_get_check_level(self)
6411 def __eq__(self, *args):
6413 __eq__(RigidBody self, RigidBody o) -> bool
6414 __eq__(RigidBody self, Particle d) -> bool
6416 return _IMP_core.RigidBody___eq__(self, *args)
6419 def __ne__(self, *args):
6421 __ne__(RigidBody self, RigidBody o) -> bool
6422 __ne__(RigidBody self, Particle d) -> bool
6424 return _IMP_core.RigidBody___ne__(self, *args)
6427 def __le__(self, *args):
6429 __le__(RigidBody self, RigidBody o) -> bool
6430 __le__(RigidBody self, Particle d) -> bool
6432 return _IMP_core.RigidBody___le__(self, *args)
6435 def __lt__(self, *args):
6437 __lt__(RigidBody self, RigidBody o) -> bool
6438 __lt__(RigidBody self, Particle d) -> bool
6440 return _IMP_core.RigidBody___lt__(self, *args)
6443 def __ge__(self, *args):
6445 __ge__(RigidBody self, RigidBody o) -> bool
6446 __ge__(RigidBody self, Particle d) -> bool
6448 return _IMP_core.RigidBody___ge__(self, *args)
6451 def __gt__(self, *args):
6453 __gt__(RigidBody self, RigidBody o) -> bool
6454 __gt__(RigidBody self, Particle d) -> bool
6456 return _IMP_core.RigidBody___gt__(self, *args)
6460 """__hash__(RigidBody self) -> std::size_t"""
6461 return _IMP_core.RigidBody___hash__(self)
6465 """__str__(RigidBody self) -> std::string"""
6466 return _IMP_core.RigidBody___str__(self)
6470 """__repr__(RigidBody self) -> std::string"""
6471 return _IMP_core.RigidBody___repr__(self)
6473 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
6474 RigidBody_swigregister(RigidBody)
6476 def RigidBody_setup_particle(*args):
6478 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
6479 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
6480 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
6481 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
6483 return _IMP_core.RigidBody_setup_particle(*args)
6485 def RigidBody_teardown_particle(rb):
6486 """RigidBody_teardown_particle(RigidBody rb)"""
6487 return _IMP_core.RigidBody_teardown_particle(rb)
6489 def RigidBody_get_is_setup(*args):
6491 get_is_setup(_ParticleAdaptor p) -> bool
6492 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
6494 return _IMP_core.RigidBody_get_is_setup(*args)
6498 """add_rigid_body_cache_key(ObjectKey k)"""
6499 return _IMP_core.add_rigid_body_cache_key(k)
6500 class RigidBodyMember(XYZ):
6501 """Proxy of C++ IMP::core::RigidBodyMember class"""
6502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6504 def __init__(self, *args):
6506 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
6507 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
6508 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
6510 this = _IMP_core.new_RigidBodyMember(*args)
6512 self.this.append(this)
6516 def show(self, *args):
6518 show(RigidBodyMember self, _ostream out)
6519 show(RigidBodyMember self)
6521 return _IMP_core.RigidBodyMember_show(self, *args)
6524 def get_rigid_body(self):
6525 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
6526 return _IMP_core.RigidBodyMember_get_rigid_body(self)
6529 def get_internal_coordinates(self):
6530 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
6531 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
6534 def set_internal_coordinates(self, v):
6535 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
6536 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
6539 def set_internal_transformation(self, v):
6540 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
6541 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
6544 def get_internal_transformation(self):
6545 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
6546 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
6548 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
6549 __del__ =
lambda self:
None
6551 def set_coordinates(self, *args):
6553 set_coordinates(RigidBodyMember self, Vector3D center)
6554 set_coordinates(RigidBodyMember self, Transformation3D tr)
6556 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
6559 def get_is_setup(*args):
6561 get_is_setup(_ParticleAdaptor p) -> bool
6562 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6564 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6566 get_is_setup = staticmethod(get_is_setup)
6568 def get_internal_coordinate_keys():
6569 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
6570 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6572 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6574 def add_attribute(self, *args):
6576 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
6577 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6578 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
6579 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
6580 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6581 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
6583 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
6586 def get_value(self, *args):
6588 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
6589 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
6590 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
6591 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
6592 get_value(RigidBodyMember self, ObjectKey a0) -> Object
6594 return _IMP_core.RigidBodyMember_get_value(self, *args)
6597 def set_value(self, *args):
6599 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6600 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
6601 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
6602 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6603 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
6605 return _IMP_core.RigidBodyMember_set_value(self, *args)
6608 def remove_attribute(self, *args):
6610 remove_attribute(RigidBodyMember self, FloatKey a0)
6611 remove_attribute(RigidBodyMember self, IntKey a0)
6612 remove_attribute(RigidBodyMember self, StringKey a0)
6613 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
6614 remove_attribute(RigidBodyMember self, ObjectKey a0)
6616 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
6619 def has_attribute(self, *args):
6621 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
6622 has_attribute(RigidBodyMember self, IntKey a0) -> bool
6623 has_attribute(RigidBodyMember self, StringKey a0) -> bool
6624 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
6625 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
6627 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
6630 def get_derivative(self, a0):
6631 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
6632 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
6636 """get_name(RigidBodyMember self) -> std::string"""
6637 return _IMP_core.RigidBodyMember_get_name(self)
6640 def clear_caches(self):
6641 """clear_caches(RigidBodyMember self)"""
6642 return _IMP_core.RigidBodyMember_clear_caches(self)
6645 def set_name(self, a0):
6646 """set_name(RigidBodyMember self, std::string a0)"""
6647 return _IMP_core.RigidBodyMember_set_name(self, a0)
6651 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
6652 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
6655 def add_to_derivative(self, a0, a1, a2):
6656 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6657 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
6660 def set_is_optimized(self, a0, a1):
6661 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
6662 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
6665 def get_is_optimized(self, a0):
6666 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
6667 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
6671 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
6672 return _IMP_core.RigidBodyMember_get_check_level(self)
6675 def __eq__(self, *args):
6677 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
6678 __eq__(RigidBodyMember self, Particle d) -> bool
6680 return _IMP_core.RigidBodyMember___eq__(self, *args)
6683 def __ne__(self, *args):
6685 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
6686 __ne__(RigidBodyMember self, Particle d) -> bool
6688 return _IMP_core.RigidBodyMember___ne__(self, *args)
6691 def __le__(self, *args):
6693 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
6694 __le__(RigidBodyMember self, Particle d) -> bool
6696 return _IMP_core.RigidBodyMember___le__(self, *args)
6699 def __lt__(self, *args):
6701 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
6702 __lt__(RigidBodyMember self, Particle d) -> bool
6704 return _IMP_core.RigidBodyMember___lt__(self, *args)
6707 def __ge__(self, *args):
6709 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
6710 __ge__(RigidBodyMember self, Particle d) -> bool
6712 return _IMP_core.RigidBodyMember___ge__(self, *args)
6715 def __gt__(self, *args):
6717 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
6718 __gt__(RigidBodyMember self, Particle d) -> bool
6720 return _IMP_core.RigidBodyMember___gt__(self, *args)
6724 """__hash__(RigidBodyMember self) -> std::size_t"""
6725 return _IMP_core.RigidBodyMember___hash__(self)
6729 """__str__(RigidBodyMember self) -> std::string"""
6730 return _IMP_core.RigidBodyMember___str__(self)
6734 """__repr__(RigidBodyMember self) -> std::string"""
6735 return _IMP_core.RigidBodyMember___repr__(self)
6737 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
6738 RigidBodyMember_swigregister(RigidBodyMember)
6740 def RigidBodyMember_get_is_setup(*args):
6742 get_is_setup(_ParticleAdaptor p) -> bool
6743 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6745 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6747 def RigidBodyMember_get_internal_coordinate_keys():
6748 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
6749 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6751 class RigidMember(RigidBodyMember):
6752 """Proxy of C++ IMP::core::RigidMember class"""
6753 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6755 def __init__(self, *args):
6757 __init__(IMP::core::RigidMember self) -> RigidMember
6758 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
6759 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
6761 this = _IMP_core.new_RigidMember(*args)
6763 self.this.append(this)
6767 def show(self, *args):
6769 show(RigidMember self, _ostream out)
6770 show(RigidMember self)
6772 return _IMP_core.RigidMember_show(self, *args)
6774 __swig_destroy__ = _IMP_core.delete_RigidMember
6775 __del__ =
lambda self:
None
6777 def get_is_setup(*args):
6779 get_is_setup(_ParticleAdaptor p) -> bool
6780 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6782 return _IMP_core.RigidMember_get_is_setup(*args)
6784 get_is_setup = staticmethod(get_is_setup)
6786 def add_attribute(self, *args):
6788 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6789 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6790 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6791 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6792 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6793 add_attribute(RigidMember self, ObjectKey a0, Object a1)
6795 return _IMP_core.RigidMember_add_attribute(self, *args)
6798 def get_value(self, *args):
6800 get_value(RigidMember self, FloatKey a0) -> IMP::Float
6801 get_value(RigidMember self, IntKey a0) -> IMP::Int
6802 get_value(RigidMember self, StringKey a0) -> IMP::String
6803 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6804 get_value(RigidMember self, ObjectKey a0) -> Object
6806 return _IMP_core.RigidMember_get_value(self, *args)
6809 def set_value(self, *args):
6811 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6812 set_value(RigidMember self, IntKey a0, IMP::Int a1)
6813 set_value(RigidMember self, StringKey a0, IMP::String a1)
6814 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6815 set_value(RigidMember self, ObjectKey a0, Object a1)
6817 return _IMP_core.RigidMember_set_value(self, *args)
6820 def remove_attribute(self, *args):
6822 remove_attribute(RigidMember self, FloatKey a0)
6823 remove_attribute(RigidMember self, IntKey a0)
6824 remove_attribute(RigidMember self, StringKey a0)
6825 remove_attribute(RigidMember self, ParticleIndexKey a0)
6826 remove_attribute(RigidMember self, ObjectKey a0)
6828 return _IMP_core.RigidMember_remove_attribute(self, *args)
6831 def has_attribute(self, *args):
6833 has_attribute(RigidMember self, FloatKey a0) -> bool
6834 has_attribute(RigidMember self, IntKey a0) -> bool
6835 has_attribute(RigidMember self, StringKey a0) -> bool
6836 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6837 has_attribute(RigidMember self, ObjectKey a0) -> bool
6839 return _IMP_core.RigidMember_has_attribute(self, *args)
6842 def get_derivative(self, a0):
6843 """get_derivative(RigidMember self, FloatKey a0) -> double"""
6844 return _IMP_core.RigidMember_get_derivative(self, a0)
6848 """get_name(RigidMember self) -> std::string"""
6849 return _IMP_core.RigidMember_get_name(self)
6852 def clear_caches(self):
6853 """clear_caches(RigidMember self)"""
6854 return _IMP_core.RigidMember_clear_caches(self)
6857 def set_name(self, a0):
6858 """set_name(RigidMember self, std::string a0)"""
6859 return _IMP_core.RigidMember_set_name(self, a0)
6863 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
6864 return _IMP_core.RigidMember_set_check_level(self, a0)
6867 def add_to_derivative(self, a0, a1, a2):
6868 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6869 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
6872 def set_is_optimized(self, a0, a1):
6873 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6874 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
6877 def get_is_optimized(self, a0):
6878 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6879 return _IMP_core.RigidMember_get_is_optimized(self, a0)
6883 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
6884 return _IMP_core.RigidMember_get_check_level(self)
6887 def __eq__(self, *args):
6889 __eq__(RigidMember self, RigidMember o) -> bool
6890 __eq__(RigidMember self, Particle d) -> bool
6892 return _IMP_core.RigidMember___eq__(self, *args)
6895 def __ne__(self, *args):
6897 __ne__(RigidMember self, RigidMember o) -> bool
6898 __ne__(RigidMember self, Particle d) -> bool
6900 return _IMP_core.RigidMember___ne__(self, *args)
6903 def __le__(self, *args):
6905 __le__(RigidMember self, RigidMember o) -> bool
6906 __le__(RigidMember self, Particle d) -> bool
6908 return _IMP_core.RigidMember___le__(self, *args)
6911 def __lt__(self, *args):
6913 __lt__(RigidMember self, RigidMember o) -> bool
6914 __lt__(RigidMember self, Particle d) -> bool
6916 return _IMP_core.RigidMember___lt__(self, *args)
6919 def __ge__(self, *args):
6921 __ge__(RigidMember self, RigidMember o) -> bool
6922 __ge__(RigidMember self, Particle d) -> bool
6924 return _IMP_core.RigidMember___ge__(self, *args)
6927 def __gt__(self, *args):
6929 __gt__(RigidMember self, RigidMember o) -> bool
6930 __gt__(RigidMember self, Particle d) -> bool
6932 return _IMP_core.RigidMember___gt__(self, *args)
6936 """__hash__(RigidMember self) -> std::size_t"""
6937 return _IMP_core.RigidMember___hash__(self)
6941 """__str__(RigidMember self) -> std::string"""
6942 return _IMP_core.RigidMember___str__(self)
6946 """__repr__(RigidMember self) -> std::string"""
6947 return _IMP_core.RigidMember___repr__(self)
6949 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6950 RigidMember_swigregister(RigidMember)
6952 def RigidMember_get_is_setup(*args):
6954 get_is_setup(_ParticleAdaptor p) -> bool
6955 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6957 return _IMP_core.RigidMember_get_is_setup(*args)
6959 class NonRigidMember(RigidBodyMember):
6960 """Proxy of C++ IMP::core::NonRigidMember class"""
6961 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6963 def __init__(self, *args):
6965 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6966 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
6967 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
6969 this = _IMP_core.new_NonRigidMember(*args)
6971 self.this.append(this)
6975 def show(self, *args):
6977 show(NonRigidMember self, _ostream out)
6978 show(NonRigidMember self)
6980 return _IMP_core.NonRigidMember_show(self, *args)
6982 __swig_destroy__ = _IMP_core.delete_NonRigidMember
6983 __del__ =
lambda self:
None
6985 def get_is_setup(*args):
6987 get_is_setup(_ParticleAdaptor p) -> bool
6988 get_is_setup(Model m, ParticleIndex p) -> bool
6990 return _IMP_core.NonRigidMember_get_is_setup(*args)
6992 get_is_setup = staticmethod(get_is_setup)
6994 def add_attribute(self, *args):
6996 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6997 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6998 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6999 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
7000 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
7001 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
7003 return _IMP_core.NonRigidMember_add_attribute(self, *args)
7006 def get_value(self, *args):
7008 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
7009 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
7010 get_value(NonRigidMember self, StringKey a0) -> IMP::String
7011 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
7012 get_value(NonRigidMember self, ObjectKey a0) -> Object
7014 return _IMP_core.NonRigidMember_get_value(self, *args)
7017 def set_value(self, *args):
7019 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
7020 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
7021 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
7022 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
7023 set_value(NonRigidMember self, ObjectKey a0, Object a1)
7025 return _IMP_core.NonRigidMember_set_value(self, *args)
7028 def remove_attribute(self, *args):
7030 remove_attribute(NonRigidMember self, FloatKey a0)
7031 remove_attribute(NonRigidMember self, IntKey a0)
7032 remove_attribute(NonRigidMember self, StringKey a0)
7033 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
7034 remove_attribute(NonRigidMember self, ObjectKey a0)
7036 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
7039 def has_attribute(self, *args):
7041 has_attribute(NonRigidMember self, FloatKey a0) -> bool
7042 has_attribute(NonRigidMember self, IntKey a0) -> bool
7043 has_attribute(NonRigidMember self, StringKey a0) -> bool
7044 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
7045 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
7047 return _IMP_core.NonRigidMember_has_attribute(self, *args)
7050 def get_derivative(self, a0):
7051 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
7052 return _IMP_core.NonRigidMember_get_derivative(self, a0)
7056 """get_name(NonRigidMember self) -> std::string"""
7057 return _IMP_core.NonRigidMember_get_name(self)
7060 def clear_caches(self):
7061 """clear_caches(NonRigidMember self)"""
7062 return _IMP_core.NonRigidMember_clear_caches(self)
7065 def set_name(self, a0):
7066 """set_name(NonRigidMember self, std::string a0)"""
7067 return _IMP_core.NonRigidMember_set_name(self, a0)
7071 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
7072 return _IMP_core.NonRigidMember_set_check_level(self, a0)
7075 def add_to_derivative(self, a0, a1, a2):
7076 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7077 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
7080 def set_is_optimized(self, a0, a1):
7081 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
7082 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
7085 def get_is_optimized(self, a0):
7086 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
7087 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
7091 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
7092 return _IMP_core.NonRigidMember_get_check_level(self)
7095 def __eq__(self, *args):
7097 __eq__(NonRigidMember self, NonRigidMember o) -> bool
7098 __eq__(NonRigidMember self, Particle d) -> bool
7100 return _IMP_core.NonRigidMember___eq__(self, *args)
7103 def __ne__(self, *args):
7105 __ne__(NonRigidMember self, NonRigidMember o) -> bool
7106 __ne__(NonRigidMember self, Particle d) -> bool
7108 return _IMP_core.NonRigidMember___ne__(self, *args)
7111 def __le__(self, *args):
7113 __le__(NonRigidMember self, NonRigidMember o) -> bool
7114 __le__(NonRigidMember self, Particle d) -> bool
7116 return _IMP_core.NonRigidMember___le__(self, *args)
7119 def __lt__(self, *args):
7121 __lt__(NonRigidMember self, NonRigidMember o) -> bool
7122 __lt__(NonRigidMember self, Particle d) -> bool
7124 return _IMP_core.NonRigidMember___lt__(self, *args)
7127 def __ge__(self, *args):
7129 __ge__(NonRigidMember self, NonRigidMember o) -> bool
7130 __ge__(NonRigidMember self, Particle d) -> bool
7132 return _IMP_core.NonRigidMember___ge__(self, *args)
7135 def __gt__(self, *args):
7137 __gt__(NonRigidMember self, NonRigidMember o) -> bool
7138 __gt__(NonRigidMember self, Particle d) -> bool
7140 return _IMP_core.NonRigidMember___gt__(self, *args)
7144 """__hash__(NonRigidMember self) -> std::size_t"""
7145 return _IMP_core.NonRigidMember___hash__(self)
7149 """__str__(NonRigidMember self) -> std::string"""
7150 return _IMP_core.NonRigidMember___str__(self)
7154 """__repr__(NonRigidMember self) -> std::string"""
7155 return _IMP_core.NonRigidMember___repr__(self)
7157 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
7158 NonRigidMember_swigregister(NonRigidMember)
7160 def NonRigidMember_get_is_setup(*args):
7162 get_is_setup(_ParticleAdaptor p) -> bool
7163 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
7165 return _IMP_core.NonRigidMember_get_is_setup(*args)
7168 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
7169 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7171 def __init__(self, *args):
7173 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
7174 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
7176 this = _IMP_core.new_RigidMembersRefiner(*args)
7178 self.this.append(this)
7182 def do_get_inputs(self, m, pis):
7183 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7184 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
7187 def get_version_info(self):
7188 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
7189 return _IMP_core.RigidMembersRefiner_get_version_info(self)
7193 """__str__(RigidMembersRefiner self) -> std::string"""
7194 return _IMP_core.RigidMembersRefiner___str__(self)
7198 """__repr__(RigidMembersRefiner self) -> std::string"""
7199 return _IMP_core.RigidMembersRefiner___repr__(self)
7204 return _object_cast_to_RigidMembersRefiner(o)
7206 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
7207 RigidMembersRefiner_swigregister(RigidMembersRefiner)
7210 def get_rigid_members_refiner():
7211 """get_rigid_members_refiner() -> RigidMembersRefiner"""
7212 return _IMP_core.get_rigid_members_refiner()
7216 transform(XYZ a, Transformation3D tr)
7217 transform(RigidBody a, Transformation3D tr)
7219 return _IMP_core.transform(*args)
7223 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
7224 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
7226 return _IMP_core.get_initial_reference_frame(*args)
7230 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
7231 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
7233 return _IMP_core.create_rigid_bodies(m, n, no_members)
7237 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
7238 show_rigid_body_hierarchy(RigidBody rb)
7240 return _IMP_core.show_rigid_body_hierarchy(*args)
7243 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
7244 return _IMP_core.get_root_rigid_body(m)
7246 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
7247 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7249 def __init__(self, rb, constituents):
7250 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
7251 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
7253 self.this.append(this)
7257 def get_version_info(self):
7258 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
7259 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
7263 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
7264 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
7268 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
7269 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
7274 return _object_cast_to_RigidBodyHierarchyGeometry(o)
7276 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
7277 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
7280 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
7281 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7283 def __init__(self, *args):
7285 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
7286 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
7288 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
7290 self.this.append(this)
7294 def get_version_info(self):
7295 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
7296 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
7300 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
7301 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
7305 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
7306 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
7311 return _object_cast_to_RigidBodyDerivativeGeometry(o)
7313 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
7314 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
7317 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
7318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7320 def __init__(self, sc):
7321 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
7322 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
7324 self.this.append(this)
7328 def get_version_info(self):
7329 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
7330 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
7334 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
7335 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
7339 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
7340 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
7345 return _object_cast_to_RigidBodyDerivativesGeometry(o)
7347 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
7348 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
7351 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
7352 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7354 def __init__(self, *args):
7356 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
7357 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
7359 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
7361 self.this.append(this)
7365 def get_version_info(self):
7366 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
7367 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
7371 """__str__(RigidBodyFrameGeometry self) -> std::string"""
7372 return _IMP_core.RigidBodyFrameGeometry___str__(self)
7376 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
7377 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
7382 return _object_cast_to_RigidBodyFrameGeometry(o)
7384 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
7385 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
7388 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
7389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7391 def __init__(self, sc):
7392 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
7393 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
7395 self.this.append(this)
7399 def get_version_info(self):
7400 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
7401 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
7405 """__str__(RigidBodyFramesGeometry self) -> std::string"""
7406 return _IMP_core.RigidBodyFramesGeometry___str__(self)
7410 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
7411 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
7416 return _object_cast_to_RigidBodyFramesGeometry(o)
7418 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
7419 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
7422 """Proxy of C++ IMP::core::RigidBodyTorque class"""
7423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7425 def __init__(self, p):
7426 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
7427 this = _IMP_core.new_RigidBodyTorque(p)
7429 self.this.append(this)
7434 """__str__(RigidBodyTorque self) -> std::string"""
7435 return _IMP_core.RigidBodyTorque___str__(self)
7439 """__repr__(RigidBodyTorque self) -> std::string"""
7440 return _IMP_core.RigidBodyTorque___repr__(self)
7445 return _object_cast_to_RigidBodyTorque(o)
7447 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
7448 __del__ =
lambda self:
None
7449 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
7450 RigidBodyTorque_swigregister(RigidBodyTorque)
7452 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
7453 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
7454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7457 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
7458 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
7460 self.this.append(this)
7464 def get_close_pairs(self, *args):
7466 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7467 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7468 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7469 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7471 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
7474 def do_get_inputs(self, m, pis):
7475 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7476 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
7479 def get_version_info(self):
7480 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
7481 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
7485 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
7486 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
7490 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
7491 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
7496 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
7498 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
7499 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
7502 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
7503 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7505 def __init__(self, *args):
7507 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
7508 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
7509 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
7510 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
7511 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
7513 this = _IMP_core.new_RestraintsScoringFunction(*args)
7515 self.this.append(this)
7519 def do_add_score_and_derivatives(self, sa, ss):
7520 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7521 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7524 def do_get_inputs(self):
7525 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
7526 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
7529 def get_version_info(self):
7530 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
7531 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
7535 """__str__(RestraintsScoringFunction self) -> std::string"""
7536 return _IMP_core.RestraintsScoringFunction___str__(self)
7540 """__repr__(RestraintsScoringFunction self) -> std::string"""
7541 return _IMP_core.RestraintsScoringFunction___repr__(self)
7546 return _object_cast_to_RestraintsScoringFunction(o)
7548 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
7549 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
7551 class RigidClosePairsFinder(ClosePairsFinder):
7552 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
7553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7555 def __init__(self, cpf=None):
7557 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
7558 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
7560 this = _IMP_core.new_RigidClosePairsFinder(cpf)
7562 self.this.append(this)
7566 def do_get_inputs(self, m, pis):
7567 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7568 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
7571 def get_close_pairs(self, *args):
7573 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
7574 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7575 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7576 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7577 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7579 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
7582 def get_version_info(self):
7583 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
7584 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
7588 """__str__(RigidClosePairsFinder self) -> std::string"""
7589 return _IMP_core.RigidClosePairsFinder___str__(self)
7593 """__repr__(RigidClosePairsFinder self) -> std::string"""
7594 return _IMP_core.RigidClosePairsFinder___repr__(self)
7599 return _object_cast_to_RigidClosePairsFinder(o)
7601 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
7602 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
7605 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
7606 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7608 def __init__(self, *args):
7610 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
7611 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
7613 this = _IMP_core.new_SphereDistancePairScore(*args)
7615 self.this.append(this)
7619 def do_get_inputs(self, m, pis):
7620 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7621 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
7624 def get_version_info(self):
7625 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
7626 return _IMP_core.SphereDistancePairScore_get_version_info(self)
7630 """__str__(SphereDistancePairScore self) -> std::string"""
7631 return _IMP_core.SphereDistancePairScore___str__(self)
7635 """__repr__(SphereDistancePairScore self) -> std::string"""
7636 return _IMP_core.SphereDistancePairScore___repr__(self)
7641 return _object_cast_to_SphereDistancePairScore(o)
7643 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
7644 SphereDistancePairScore_swigregister(SphereDistancePairScore)
7646 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
7647 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
7648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7650 def __init__(self, *args):
7652 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
7653 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
7655 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
7657 self.this.append(this)
7661 def do_get_inputs(self, m, pis):
7662 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7663 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
7666 def get_version_info(self):
7667 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
7668 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
7672 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7673 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
7677 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7678 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
7683 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
7685 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
7686 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
7688 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
7689 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
7690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7692 def __init__(self, d0, k):
7693 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
7694 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
7696 self.this.append(this)
7700 def get_rest_length(self):
7701 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7702 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
7705 def get_stiffness(self):
7706 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7707 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
7710 def do_get_inputs(self, m, pis):
7711 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7712 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
7715 def get_version_info(self):
7716 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
7717 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
7721 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7722 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
7726 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7727 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
7732 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
7734 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
7735 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
7738 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
7739 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7741 def __init__(self, *args):
7743 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
7744 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
7746 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
7748 self.this.append(this)
7752 def do_get_inputs(self, m, pis):
7753 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7754 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
7757 def get_version_info(self):
7758 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7759 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7763 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7764 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7768 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7769 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7774 return _object_cast_to_HarmonicSphereDistancePairScore(o)
7776 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7777 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7780 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
7781 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7783 def __init__(self, *args):
7785 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
7786 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7788 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7790 self.this.append(this)
7794 def do_get_inputs(self, m, pis):
7795 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7796 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
7799 def get_version_info(self):
7800 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7801 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7805 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7806 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7810 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7811 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7816 return _object_cast_to_NormalizedSphereDistancePairScore(o)
7818 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7819 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7822 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
7823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7825 def __init__(self, *args):
7827 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
7828 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7830 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7832 self.this.append(this)
7836 def do_get_inputs(self, m, pis):
7837 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7838 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
7841 def get_version_info(self):
7842 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7843 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7847 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7848 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7852 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7853 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7858 return _object_cast_to_WeightedSphereDistancePairScore(o)
7860 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7861 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7864 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
7865 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7867 def __init__(self, *args):
7869 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
7870 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7872 this = _IMP_core.new_SoftSpherePairScore(*args)
7874 self.this.append(this)
7878 def do_get_inputs(self, m, pis):
7879 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7880 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
7883 def get_version_info(self):
7884 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7885 return _IMP_core.SoftSpherePairScore_get_version_info(self)
7889 """__str__(SoftSpherePairScore self) -> std::string"""
7890 return _IMP_core.SoftSpherePairScore___str__(self)
7894 """__repr__(SoftSpherePairScore self) -> std::string"""
7895 return _IMP_core.SoftSpherePairScore___repr__(self)
7900 return _object_cast_to_SoftSpherePairScore(o)
7902 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7903 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7906 """Proxy of C++ IMP::core::SteepestDescent class"""
7907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7909 def __init__(self, *args):
7911 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
7912 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
7914 this = _IMP_core.new_SteepestDescent(*args)
7916 self.this.append(this)
7920 def do_optimize(self, max_steps):
7921 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
7922 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
7925 def get_version_info(self):
7926 """get_version_info(SteepestDescent self) -> VersionInfo"""
7927 return _IMP_core.SteepestDescent_get_version_info(self)
7930 def set_threshold(self, t):
7931 """set_threshold(SteepestDescent self, IMP::Float t)"""
7932 return _IMP_core.SteepestDescent_set_threshold(self, t)
7935 def set_step_size(self, t):
7936 """set_step_size(SteepestDescent self, IMP::Float t)"""
7937 return _IMP_core.SteepestDescent_set_step_size(self, t)
7940 def set_maximum_step_size(self, t):
7941 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
7942 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
7946 """__str__(SteepestDescent self) -> std::string"""
7947 return _IMP_core.SteepestDescent___str__(self)
7951 """__repr__(SteepestDescent self) -> std::string"""
7952 return _IMP_core.SteepestDescent___repr__(self)
7957 return _object_cast_to_SteepestDescent(o)
7959 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
7960 SteepestDescent_swigregister(SteepestDescent)
7963 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
7964 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7966 def __init__(self, f, transformation):
7967 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
7968 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
7970 self.this.append(this)
7974 def set_transformation(self, rot):
7975 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
7976 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
7979 def do_get_inputs(self, m, pis):
7980 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7981 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
7984 def get_version_info(self):
7985 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
7986 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
7990 """__str__(TransformedDistancePairScore self) -> std::string"""
7991 return _IMP_core.TransformedDistancePairScore___str__(self)
7995 """__repr__(TransformedDistancePairScore self) -> std::string"""
7996 return _IMP_core.TransformedDistancePairScore___repr__(self)
8001 return _object_cast_to_TransformedDistancePairScore(o)
8003 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
8004 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
8007 """Proxy of C++ IMP::core::TypedPairScore class"""
8008 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8010 def __init__(self, typekey, allow_invalid_types=True):
8012 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
8013 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
8015 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
8017 self.this.append(this)
8021 def set_particle_type(self, arg2):
8022 """set_particle_type(TypedPairScore self, Particle arg2)"""
8023 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
8026 def set_pair_score(self, ps, atype, btype):
8027 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
8028 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
8031 def do_get_inputs(self, m, pis):
8032 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8033 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
8036 def get_version_info(self):
8037 """get_version_info(TypedPairScore self) -> VersionInfo"""
8038 return _IMP_core.TypedPairScore_get_version_info(self)
8042 """__str__(TypedPairScore self) -> std::string"""
8043 return _IMP_core.TypedPairScore___str__(self)
8047 """__repr__(TypedPairScore self) -> std::string"""
8048 return _IMP_core.TypedPairScore___repr__(self)
8053 return _object_cast_to_TypedPairScore(o)
8055 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
8056 TypedPairScore_swigregister(TypedPairScore)
8058 class RigidBodyDistancePairScore(KClosePairsPairScore):
8059 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
8060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8062 def __init__(self, ps, r):
8063 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
8064 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
8066 self.this.append(this)
8071 """__str__(RigidBodyDistancePairScore self) -> std::string"""
8072 return _IMP_core.RigidBodyDistancePairScore___str__(self)
8076 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
8077 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
8082 return _object_cast_to_RigidBodyDistancePairScore(o)
8084 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
8085 __del__ =
lambda self:
None
8086 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
8087 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
8090 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class"""
8091 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8093 def __init__(self, f):
8094 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
8095 this = _IMP_core.new_RigidBodyAnglePairScore(f)
8097 self.this.append(this)
8101 def do_get_inputs(self, m, pis):
8102 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8103 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
8106 def get_version_info(self):
8107 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
8108 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
8112 """__str__(RigidBodyAnglePairScore self) -> std::string"""
8113 return _IMP_core.RigidBodyAnglePairScore___str__(self)
8117 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
8118 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
8123 return _object_cast_to_RigidBodyAnglePairScore(o)
8125 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
8126 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
8129 """Proxy of C++ IMP::core::TableRefiner class"""
8130 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8133 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
8134 this = _IMP_core.new_TableRefiner()
8136 self.this.append(this)
8141 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
8142 return _IMP_core.TableRefiner_add_particle(self, p, ps)
8145 def remove_particle(self, p):
8146 """remove_particle(TableRefiner self, Particle p)"""
8147 return _IMP_core.TableRefiner_remove_particle(self, p)
8150 def set_particle(self, p, ps):
8151 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
8152 return _IMP_core.TableRefiner_set_particle(self, p, ps)
8155 def do_get_inputs(self, m, pis):
8156 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8157 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
8160 def get_version_info(self):
8161 """get_version_info(TableRefiner self) -> VersionInfo"""
8162 return _IMP_core.TableRefiner_get_version_info(self)
8166 """__str__(TableRefiner self) -> std::string"""
8167 return _IMP_core.TableRefiner___str__(self)
8171 """__repr__(TableRefiner self) -> std::string"""
8172 return _IMP_core.TableRefiner___repr__(self)
8177 return _object_cast_to_TableRefiner(o)
8179 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
8180 TableRefiner_swigregister(TableRefiner)
8183 _IMP_core.LOWER_swigconstant(_IMP_core)
8184 LOWER = _IMP_core.LOWER
8186 _IMP_core.BOTH_swigconstant(_IMP_core)
8187 BOTH = _IMP_core.BOTH
8189 _IMP_core.UPPER_swigconstant(_IMP_core)
8190 UPPER = _IMP_core.UPPER
8192 """Proxy of C++ IMP::core::MCCGSampler class"""
8193 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8195 def __init__(self, *args):
8197 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
8198 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
8200 this = _IMP_core.new_MCCGSampler(*args)
8202 self.this.append(this)
8206 def set_bounding_box(self, bb):
8207 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
8208 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
8211 def set_number_of_attempts(self, att):
8212 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
8213 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
8216 def set_number_of_monte_carlo_steps(self, cg):
8217 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
8218 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
8221 def set_number_of_conjugate_gradient_steps(self, cg):
8222 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
8223 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
8226 def set_max_monte_carlo_step_size(self, *args):
8228 set_max_monte_carlo_step_size(MCCGSampler self, double d)
8229 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
8231 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
8234 def set_is_refining(self, tf):
8235 """set_is_refining(MCCGSampler self, bool tf)"""
8236 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
8239 def set_local_optimizer(self, opt):
8240 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
8241 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
8244 def set_save_rejected_configurations(self, tf):
8245 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
8246 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
8249 def get_rejected_configurations(self):
8250 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
8251 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
8254 def remove_optimizer_state(self, d):
8255 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
8256 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
8259 def remove_optimizer_states(self, d):
8260 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
8261 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
8264 def set_optimizer_states(self, ps):
8265 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
8266 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
8269 def set_optimizer_states_order(self, objs):
8270 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
8271 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
8274 def add_optimizer_state(self, obj):
8275 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
8276 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
8279 def add_optimizer_states(self, objs):
8280 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
8281 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
8284 def clear_optimizer_states(self):
8285 """clear_optimizer_states(MCCGSampler self)"""
8286 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
8289 def get_number_of_optimizer_states(self):
8290 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
8291 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
8294 def get_has_optimizer_states(self):
8295 """get_has_optimizer_states(MCCGSampler self) -> bool"""
8296 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
8299 def get_optimizer_state(self, i):
8300 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
8301 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
8304 def get_optimizer_states(self):
8305 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
8306 return _IMP_core.MCCGSampler_get_optimizer_states(self)
8309 def reserve_optimizer_states(self, sz):
8310 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
8311 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
8314 def do_sample(self):
8315 """do_sample(MCCGSampler self) -> ConfigurationSet"""
8316 return _IMP_core.MCCGSampler_do_sample(self)
8319 def get_version_info(self):
8320 """get_version_info(MCCGSampler self) -> VersionInfo"""
8321 return _IMP_core.MCCGSampler_get_version_info(self)
8325 """__str__(MCCGSampler self) -> std::string"""
8326 return _IMP_core.MCCGSampler___str__(self)
8330 """__repr__(MCCGSampler self) -> std::string"""
8331 return _IMP_core.MCCGSampler___repr__(self)
8336 return _object_cast_to_MCCGSampler(o)
8338 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
8339 MCCGSampler_swigregister(MCCGSampler)
8342 """Proxy of C++ IMP::core::MinimumRestraint class"""
8343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8345 def __init__(self, *args):
8347 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
8348 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
8349 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
8351 this = _IMP_core.new_MinimumRestraint(*args)
8353 self.this.append(this)
8357 def do_get_inputs(self):
8358 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
8359 return _IMP_core.MinimumRestraint_do_get_inputs(self)
8362 def get_version_info(self):
8363 """get_version_info(MinimumRestraint self) -> VersionInfo"""
8364 return _IMP_core.MinimumRestraint_get_version_info(self)
8367 def remove_restraint(self, d):
8368 """remove_restraint(MinimumRestraint self, Restraint d)"""
8369 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
8372 def remove_restraints(self, d):
8373 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
8374 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
8377 def set_restraints(self, ps):
8378 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
8379 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
8382 def set_restraints_order(self, objs):
8383 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
8384 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
8388 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
8389 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
8393 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
8394 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
8397 def clear_restraints(self):
8398 """clear_restraints(MinimumRestraint self)"""
8399 return _IMP_core.MinimumRestraint_clear_restraints(self)
8402 def get_number_of_restraints(self):
8403 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
8404 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
8407 def get_has_restraints(self):
8408 """get_has_restraints(MinimumRestraint self) -> bool"""
8409 return _IMP_core.MinimumRestraint_get_has_restraints(self)
8412 def get_restraint(self, i):
8413 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
8414 return _IMP_core.MinimumRestraint_get_restraint(self, i)
8417 def get_restraints(self):
8418 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
8419 return _IMP_core.MinimumRestraint_get_restraints(self)
8422 def reserve_restraints(self, sz):
8423 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
8424 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
8428 """__str__(MinimumRestraint self) -> std::string"""
8429 return _IMP_core.MinimumRestraint___str__(self)
8433 """__repr__(MinimumRestraint self) -> std::string"""
8434 return _IMP_core.MinimumRestraint___repr__(self)
8439 return _object_cast_to_MinimumRestraint(o)
8441 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
8442 MinimumRestraint_swigregister(MinimumRestraint)
8444 class Gaussian(RigidBody):
8445 """Proxy of C++ IMP::core::Gaussian class"""
8446 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8448 def __init__(self, *args):
8450 __init__(IMP::core::Gaussian self) -> Gaussian
8451 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
8452 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
8454 this = _IMP_core.new_Gaussian(*args)
8456 self.this.append(this)
8460 def show(self, *args):
8462 show(Gaussian self, _ostream out)
8465 return _IMP_core.Gaussian_show(self, *args)
8468 def setup_particle(*args):
8470 setup_particle(Model m, ParticleIndex pi) -> Gaussian
8471 setup_particle(_ParticleAdaptor decorator) -> Gaussian
8472 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
8473 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
8475 return _IMP_core.Gaussian_setup_particle(*args)
8477 setup_particle = staticmethod(setup_particle)
8479 def get_local_covariance_key():
8480 """get_local_covariance_key() -> ObjectKey"""
8481 return _IMP_core.Gaussian_get_local_covariance_key()
8483 get_local_covariance_key = staticmethod(get_local_covariance_key)
8485 def get_global_covariance_key():
8486 """get_global_covariance_key() -> ObjectKey"""
8487 return _IMP_core.Gaussian_get_global_covariance_key()
8489 get_global_covariance_key = staticmethod(get_global_covariance_key)
8491 def get_is_setup(*args):
8493 get_is_setup(_ParticleAdaptor p) -> bool
8494 get_is_setup(Model m, ParticleIndex pi) -> bool
8496 return _IMP_core.Gaussian_get_is_setup(*args)
8498 get_is_setup = staticmethod(get_is_setup)
8500 def get_local_covariance(self):
8501 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
8502 return _IMP_core.Gaussian_get_local_covariance(self)
8505 def get_variances(self):
8506 """get_variances(Gaussian self) -> Vector3D"""
8507 return _IMP_core.Gaussian_get_variances(self)
8510 def get_global_covariance(self):
8511 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
8512 return _IMP_core.Gaussian_get_global_covariance(self)
8515 def get_gaussian(self):
8516 """get_gaussian(Gaussian self) -> Gaussian3D"""
8517 return _IMP_core.Gaussian_get_gaussian(self)
8520 def set_gaussian(self, g):
8521 """set_gaussian(Gaussian self, Gaussian3D g)"""
8522 return _IMP_core.Gaussian_set_gaussian(self, g)
8525 def set_local_covariance(self, covar):
8526 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
8527 return _IMP_core.Gaussian_set_local_covariance(self, covar)
8530 def set_variances(self, v):
8531 """set_variances(Gaussian self, Vector3D v)"""
8532 return _IMP_core.Gaussian_set_variances(self, v)
8535 def set_global_covariance(self, covar):
8536 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
8537 return _IMP_core.Gaussian_set_global_covariance(self, covar)
8540 def update_global_covariance(self):
8541 """update_global_covariance(Gaussian self)"""
8542 return _IMP_core.Gaussian_update_global_covariance(self)
8545 def add_attribute(self, *args):
8547 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
8548 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
8549 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
8550 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
8551 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
8552 add_attribute(Gaussian self, ObjectKey a0, Object a1)
8554 return _IMP_core.Gaussian_add_attribute(self, *args)
8557 def get_value(self, *args):
8559 get_value(Gaussian self, FloatKey a0) -> IMP::Float
8560 get_value(Gaussian self, IntKey a0) -> IMP::Int
8561 get_value(Gaussian self, StringKey a0) -> IMP::String
8562 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
8563 get_value(Gaussian self, ObjectKey a0) -> Object
8565 return _IMP_core.Gaussian_get_value(self, *args)
8568 def set_value(self, *args):
8570 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
8571 set_value(Gaussian self, IntKey a0, IMP::Int a1)
8572 set_value(Gaussian self, StringKey a0, IMP::String a1)
8573 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
8574 set_value(Gaussian self, ObjectKey a0, Object a1)
8576 return _IMP_core.Gaussian_set_value(self, *args)
8579 def remove_attribute(self, *args):
8581 remove_attribute(Gaussian self, FloatKey a0)
8582 remove_attribute(Gaussian self, IntKey a0)
8583 remove_attribute(Gaussian self, StringKey a0)
8584 remove_attribute(Gaussian self, ParticleIndexKey a0)
8585 remove_attribute(Gaussian self, ObjectKey a0)
8587 return _IMP_core.Gaussian_remove_attribute(self, *args)
8590 def has_attribute(self, *args):
8592 has_attribute(Gaussian self, FloatKey a0) -> bool
8593 has_attribute(Gaussian self, IntKey a0) -> bool
8594 has_attribute(Gaussian self, StringKey a0) -> bool
8595 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
8596 has_attribute(Gaussian self, ObjectKey a0) -> bool
8598 return _IMP_core.Gaussian_has_attribute(self, *args)
8601 def get_derivative(self, a0):
8602 """get_derivative(Gaussian self, FloatKey a0) -> double"""
8603 return _IMP_core.Gaussian_get_derivative(self, a0)
8607 """get_name(Gaussian self) -> std::string"""
8608 return _IMP_core.Gaussian_get_name(self)
8611 def clear_caches(self):
8612 """clear_caches(Gaussian self)"""
8613 return _IMP_core.Gaussian_clear_caches(self)
8616 def set_name(self, a0):
8617 """set_name(Gaussian self, std::string a0)"""
8618 return _IMP_core.Gaussian_set_name(self, a0)
8622 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
8623 return _IMP_core.Gaussian_set_check_level(self, a0)
8626 def add_to_derivative(self, a0, a1, a2):
8627 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8628 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
8631 def set_is_optimized(self, a0, a1):
8632 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
8633 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
8636 def get_is_optimized(self, a0):
8637 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
8638 return _IMP_core.Gaussian_get_is_optimized(self, a0)
8642 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
8643 return _IMP_core.Gaussian_get_check_level(self)
8646 def __eq__(self, *args):
8648 __eq__(Gaussian self, Gaussian o) -> bool
8649 __eq__(Gaussian self, Particle d) -> bool
8651 return _IMP_core.Gaussian___eq__(self, *args)
8654 def __ne__(self, *args):
8656 __ne__(Gaussian self, Gaussian o) -> bool
8657 __ne__(Gaussian self, Particle d) -> bool
8659 return _IMP_core.Gaussian___ne__(self, *args)
8662 def __le__(self, *args):
8664 __le__(Gaussian self, Gaussian o) -> bool
8665 __le__(Gaussian self, Particle d) -> bool
8667 return _IMP_core.Gaussian___le__(self, *args)
8670 def __lt__(self, *args):
8672 __lt__(Gaussian self, Gaussian o) -> bool
8673 __lt__(Gaussian self, Particle d) -> bool
8675 return _IMP_core.Gaussian___lt__(self, *args)
8678 def __ge__(self, *args):
8680 __ge__(Gaussian self, Gaussian o) -> bool
8681 __ge__(Gaussian self, Particle d) -> bool
8683 return _IMP_core.Gaussian___ge__(self, *args)
8686 def __gt__(self, *args):
8688 __gt__(Gaussian self, Gaussian o) -> bool
8689 __gt__(Gaussian self, Particle d) -> bool
8691 return _IMP_core.Gaussian___gt__(self, *args)
8695 """__hash__(Gaussian self) -> std::size_t"""
8696 return _IMP_core.Gaussian___hash__(self)
8700 """__str__(Gaussian self) -> std::string"""
8701 return _IMP_core.Gaussian___str__(self)
8705 """__repr__(Gaussian self) -> std::string"""
8706 return _IMP_core.Gaussian___repr__(self)
8708 __swig_destroy__ = _IMP_core.delete_Gaussian
8709 __del__ =
lambda self:
None
8710 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
8711 Gaussian_swigregister(Gaussian)
8713 def Gaussian_setup_particle(*args):
8715 setup_particle(Model m, ParticleIndex pi) -> Gaussian
8716 setup_particle(_ParticleAdaptor decorator) -> Gaussian
8717 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
8718 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
8720 return _IMP_core.Gaussian_setup_particle(*args)
8722 def Gaussian_get_local_covariance_key():
8723 """Gaussian_get_local_covariance_key() -> ObjectKey"""
8724 return _IMP_core.Gaussian_get_local_covariance_key()
8726 def Gaussian_get_global_covariance_key():
8727 """Gaussian_get_global_covariance_key() -> ObjectKey"""
8728 return _IMP_core.Gaussian_get_global_covariance_key()
8730 def Gaussian_get_is_setup(*args):
8732 get_is_setup(_ParticleAdaptor p) -> bool
8733 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
8735 return _IMP_core.Gaussian_get_is_setup(*args)
8738 """Proxy of C++ IMP::core::PairRestraint class"""
8739 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8741 def __init__(self, *args):
8743 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
8744 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
8745 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::ParticlePair const & vt, std::string name) -> PairRestraint
8746 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::ParticlePair const & vt) -> PairRestraint
8748 this = _IMP_core.new_PairRestraint(*args)
8750 self.this.append(this)
8754 def get_version_info(self):
8755 """get_version_info(PairRestraint self) -> VersionInfo"""
8756 return _IMP_core.PairRestraint_get_version_info(self)
8760 """__str__(PairRestraint self) -> std::string"""
8761 return _IMP_core.PairRestraint___str__(self)
8765 """__repr__(PairRestraint self) -> std::string"""
8766 return _IMP_core.PairRestraint___repr__(self)
8771 return _object_cast_to_PairRestraint(o)
8773 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
8774 PairRestraint_swigregister(PairRestraint)
8777 """Proxy of C++ IMP::core::SingletonRestraint class"""
8778 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8780 def __init__(self, *args):
8782 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
8783 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
8784 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name) -> SingletonRestraint
8785 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
8787 this = _IMP_core.new_SingletonRestraint(*args)
8789 self.this.append(this)
8793 def get_version_info(self):
8794 """get_version_info(SingletonRestraint self) -> VersionInfo"""
8795 return _IMP_core.SingletonRestraint_get_version_info(self)
8799 """__str__(SingletonRestraint self) -> std::string"""
8800 return _IMP_core.SingletonRestraint___str__(self)
8804 """__repr__(SingletonRestraint self) -> std::string"""
8805 return _IMP_core.SingletonRestraint___repr__(self)
8810 return _object_cast_to_SingletonRestraint(o)
8812 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
8813 SingletonRestraint_swigregister(SingletonRestraint)
8816 """Proxy of C++ IMP::core::TripletRestraint class"""
8817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8819 def __init__(self, *args):
8821 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
8822 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
8823 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::ParticleTriplet const & vt, std::string name) -> TripletRestraint
8824 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::ParticleTriplet const & vt) -> TripletRestraint
8826 this = _IMP_core.new_TripletRestraint(*args)
8828 self.this.append(this)
8832 def get_version_info(self):
8833 """get_version_info(TripletRestraint self) -> VersionInfo"""
8834 return _IMP_core.TripletRestraint_get_version_info(self)
8838 """__str__(TripletRestraint self) -> std::string"""
8839 return _IMP_core.TripletRestraint___str__(self)
8843 """__repr__(TripletRestraint self) -> std::string"""
8844 return _IMP_core.TripletRestraint___repr__(self)
8849 return _object_cast_to_TripletRestraint(o)
8851 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
8852 TripletRestraint_swigregister(TripletRestraint)
8855 """Proxy of C++ IMP::core::QuadRestraint class"""
8856 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8858 def __init__(self, *args):
8860 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
8861 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
8862 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::ParticleQuad const & vt, std::string name) -> QuadRestraint
8863 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::ParticleQuad const & vt) -> QuadRestraint
8865 this = _IMP_core.new_QuadRestraint(*args)
8867 self.this.append(this)
8871 def get_version_info(self):
8872 """get_version_info(QuadRestraint self) -> VersionInfo"""
8873 return _IMP_core.QuadRestraint_get_version_info(self)
8877 """__str__(QuadRestraint self) -> std::string"""
8878 return _IMP_core.QuadRestraint___str__(self)
8882 """__repr__(QuadRestraint self) -> std::string"""
8883 return _IMP_core.QuadRestraint___repr__(self)
8888 return _object_cast_to_QuadRestraint(o)
8890 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
8891 QuadRestraint_swigregister(QuadRestraint)
8894 """Proxy of C++ IMP::core::SingletonConstraint class"""
8895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8897 def __init__(self, *args):
8899 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
8900 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
8901 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
8902 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
8904 this = _IMP_core.new_SingletonConstraint(*args)
8906 self.this.append(this)
8910 def get_version_info(self):
8911 """get_version_info(SingletonConstraint self) -> VersionInfo"""
8912 return _IMP_core.SingletonConstraint_get_version_info(self)
8916 """__str__(SingletonConstraint self) -> std::string"""
8917 return _IMP_core.SingletonConstraint___str__(self)
8921 """__repr__(SingletonConstraint self) -> std::string"""
8922 return _IMP_core.SingletonConstraint___repr__(self)
8927 return _object_cast_to_SingletonConstraint(o)
8929 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
8930 SingletonConstraint_swigregister(SingletonConstraint)
8933 """Proxy of C++ IMP::core::PairConstraint class"""
8934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8936 def __init__(self, *args):
8938 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
8939 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
8940 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
8941 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
8943 this = _IMP_core.new_PairConstraint(*args)
8945 self.this.append(this)
8949 def get_version_info(self):
8950 """get_version_info(PairConstraint self) -> VersionInfo"""
8951 return _IMP_core.PairConstraint_get_version_info(self)
8955 """__str__(PairConstraint self) -> std::string"""
8956 return _IMP_core.PairConstraint___str__(self)
8960 """__repr__(PairConstraint self) -> std::string"""
8961 return _IMP_core.PairConstraint___repr__(self)
8966 return _object_cast_to_PairConstraint(o)
8968 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
8969 PairConstraint_swigregister(PairConstraint)
8972 """Proxy of C++ IMP::core::TripletConstraint class"""
8973 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8975 def __init__(self, *args):
8977 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
8978 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
8979 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
8980 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
8982 this = _IMP_core.new_TripletConstraint(*args)
8984 self.this.append(this)
8988 def get_version_info(self):
8989 """get_version_info(TripletConstraint self) -> VersionInfo"""
8990 return _IMP_core.TripletConstraint_get_version_info(self)
8994 """__str__(TripletConstraint self) -> std::string"""
8995 return _IMP_core.TripletConstraint___str__(self)
8999 """__repr__(TripletConstraint self) -> std::string"""
9000 return _IMP_core.TripletConstraint___repr__(self)
9005 return _object_cast_to_TripletConstraint(o)
9007 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
9008 TripletConstraint_swigregister(TripletConstraint)
9011 """Proxy of C++ IMP::core::QuadConstraint class"""
9012 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9014 def __init__(self, *args):
9016 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
9017 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
9018 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
9019 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
9021 this = _IMP_core.new_QuadConstraint(*args)
9023 self.this.append(this)
9027 def get_version_info(self):
9028 """get_version_info(QuadConstraint self) -> VersionInfo"""
9029 return _IMP_core.QuadConstraint_get_version_info(self)
9033 """__str__(QuadConstraint self) -> std::string"""
9034 return _IMP_core.QuadConstraint___str__(self)
9038 """__repr__(QuadConstraint self) -> std::string"""
9039 return _IMP_core.QuadConstraint___repr__(self)
9044 return _object_cast_to_QuadConstraint(o)
9046 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
9047 QuadConstraint_swigregister(QuadConstraint)
9050 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
9051 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9053 def __init__(self, *args):
9055 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
9056 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
9058 this = _IMP_core.new_ConstantSingletonPredicate(*args)
9060 self.this.append(this)
9064 def do_get_inputs(self, arg2, arg3):
9065 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9066 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
9069 def get_value(self, *args):
9071 get_value(ConstantSingletonPredicate self, Particle a) -> int
9072 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9074 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
9077 def get_value_index(self, *args):
9079 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
9080 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9082 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
9085 def get_version_info(self):
9086 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
9087 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
9091 """__str__(ConstantSingletonPredicate self) -> std::string"""
9092 return _IMP_core.ConstantSingletonPredicate___str__(self)
9096 """__repr__(ConstantSingletonPredicate self) -> std::string"""
9097 return _IMP_core.ConstantSingletonPredicate___repr__(self)
9102 return _object_cast_to_ConstantSingletonPredicate(o)
9104 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
9105 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
9108 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
9109 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9111 def __init__(self, *args):
9113 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
9114 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
9116 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
9118 self.this.append(this)
9122 def do_get_inputs(self, m, pis):
9123 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9124 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
9127 def get_value(self, *args):
9129 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
9130 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9132 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
9135 def get_value_index(self, *args):
9137 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
9138 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9140 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
9143 def get_version_info(self):
9144 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
9145 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
9149 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
9150 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
9154 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
9155 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
9160 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
9162 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
9163 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
9166 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
9167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9169 def __init__(self, *args):
9171 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
9172 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
9174 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
9176 self.this.append(this)
9180 def do_get_inputs(self, m, pis):
9181 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9182 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
9185 def get_value(self, *args):
9187 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
9188 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
9189 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9191 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
9194 def get_value_index(self, *args):
9196 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
9197 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9199 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
9202 def get_version_info(self):
9203 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
9204 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
9208 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
9209 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
9213 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
9214 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
9219 return _object_cast_to_OrderedTypeSingletonPredicate(o)
9221 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
9222 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
9225 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
9226 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9228 def __init__(self, *args):
9230 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
9231 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
9233 this = _IMP_core.new_AllSameSingletonPredicate(*args)
9235 self.this.append(this)
9239 def do_get_inputs(self, arg2, arg3):
9240 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9241 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
9244 def get_value(self, *args):
9246 get_value(AllSameSingletonPredicate self, Particle a) -> int
9247 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9249 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
9252 def get_value_index(self, *args):
9254 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
9255 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9257 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
9260 def get_version_info(self):
9261 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
9262 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
9266 """__str__(AllSameSingletonPredicate self) -> std::string"""
9267 return _IMP_core.AllSameSingletonPredicate___str__(self)
9271 """__repr__(AllSameSingletonPredicate self) -> std::string"""
9272 return _IMP_core.AllSameSingletonPredicate___repr__(self)
9277 return _object_cast_to_AllSameSingletonPredicate(o)
9279 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
9280 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
9283 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
9284 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9286 def __init__(self, *args):
9288 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
9289 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
9291 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
9293 self.this.append(this)
9297 def do_get_inputs(self, arg2, arg3):
9298 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9299 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
9302 def get_value(self, *args):
9304 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
9305 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
9307 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
9310 def get_value_index(self, *args):
9312 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
9313 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
9315 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
9318 def get_version_info(self):
9319 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
9320 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
9324 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
9325 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
9329 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
9330 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
9335 return _object_cast_to_CoinFlipSingletonPredicate(o)
9337 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
9338 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
9341 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
9342 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9344 def __init__(self, *args):
9346 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
9347 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
9349 this = _IMP_core.new_ConstantPairPredicate(*args)
9351 self.this.append(this)
9355 def do_get_inputs(self, arg2, arg3):
9356 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9357 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
9360 def get_value(self, *args):
9362 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
9363 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9365 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
9368 def get_value_index(self, *args):
9370 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
9371 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9373 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
9376 def get_version_info(self):
9377 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
9378 return _IMP_core.ConstantPairPredicate_get_version_info(self)
9382 """__str__(ConstantPairPredicate self) -> std::string"""
9383 return _IMP_core.ConstantPairPredicate___str__(self)
9387 """__repr__(ConstantPairPredicate self) -> std::string"""
9388 return _IMP_core.ConstantPairPredicate___repr__(self)
9393 return _object_cast_to_ConstantPairPredicate(o)
9395 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
9396 ConstantPairPredicate_swigregister(ConstantPairPredicate)
9399 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
9400 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9402 def __init__(self, *args):
9404 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
9405 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
9407 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
9409 self.this.append(this)
9413 def do_get_inputs(self, m, pis):
9414 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9415 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
9418 def get_value(self, *args):
9420 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
9421 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9423 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
9426 def get_value_index(self, *args):
9428 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9429 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9431 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
9434 def get_version_info(self):
9435 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
9436 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
9440 """__str__(UnorderedTypePairPredicate self) -> std::string"""
9441 return _IMP_core.UnorderedTypePairPredicate___str__(self)
9445 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
9446 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
9451 return _object_cast_to_UnorderedTypePairPredicate(o)
9453 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
9454 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
9457 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
9458 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9460 def __init__(self, *args):
9462 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
9463 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
9465 this = _IMP_core.new_OrderedTypePairPredicate(*args)
9467 self.this.append(this)
9471 def do_get_inputs(self, m, pis):
9472 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9473 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
9476 def get_value(self, *args):
9478 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
9479 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
9480 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9482 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
9485 def get_value_index(self, *args):
9487 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9488 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9490 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
9493 def get_version_info(self):
9494 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
9495 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
9499 """__str__(OrderedTypePairPredicate self) -> std::string"""
9500 return _IMP_core.OrderedTypePairPredicate___str__(self)
9504 """__repr__(OrderedTypePairPredicate self) -> std::string"""
9505 return _IMP_core.OrderedTypePairPredicate___repr__(self)
9510 return _object_cast_to_OrderedTypePairPredicate(o)
9512 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
9513 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
9516 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
9517 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9519 def __init__(self, *args):
9521 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
9522 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
9524 this = _IMP_core.new_AllSamePairPredicate(*args)
9526 self.this.append(this)
9530 def do_get_inputs(self, arg2, arg3):
9531 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9532 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
9535 def get_value(self, *args):
9537 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
9538 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9540 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
9543 def get_value_index(self, *args):
9545 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
9546 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9548 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
9551 def get_version_info(self):
9552 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
9553 return _IMP_core.AllSamePairPredicate_get_version_info(self)
9557 """__str__(AllSamePairPredicate self) -> std::string"""
9558 return _IMP_core.AllSamePairPredicate___str__(self)
9562 """__repr__(AllSamePairPredicate self) -> std::string"""
9563 return _IMP_core.AllSamePairPredicate___repr__(self)
9568 return _object_cast_to_AllSamePairPredicate(o)
9570 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
9571 AllSamePairPredicate_swigregister(AllSamePairPredicate)
9574 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
9575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9577 def __init__(self, *args):
9579 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
9580 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
9582 this = _IMP_core.new_CoinFlipPairPredicate(*args)
9584 self.this.append(this)
9588 def do_get_inputs(self, arg2, arg3):
9589 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9590 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
9593 def get_value(self, *args):
9595 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
9596 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
9598 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
9601 def get_value_index(self, *args):
9603 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
9604 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
9606 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
9609 def get_version_info(self):
9610 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
9611 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
9615 """__str__(CoinFlipPairPredicate self) -> std::string"""
9616 return _IMP_core.CoinFlipPairPredicate___str__(self)
9620 """__repr__(CoinFlipPairPredicate self) -> std::string"""
9621 return _IMP_core.CoinFlipPairPredicate___repr__(self)
9626 return _object_cast_to_CoinFlipPairPredicate(o)
9628 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
9629 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
9632 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
9633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9635 def __init__(self, *args):
9637 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
9638 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
9640 this = _IMP_core.new_ConstantTripletPredicate(*args)
9642 self.this.append(this)
9646 def do_get_inputs(self, arg2, arg3):
9647 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9648 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
9651 def get_value(self, *args):
9653 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9654 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9656 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
9659 def get_value_index(self, *args):
9661 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
9662 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9664 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
9667 def get_version_info(self):
9668 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
9669 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
9673 """__str__(ConstantTripletPredicate self) -> std::string"""
9674 return _IMP_core.ConstantTripletPredicate___str__(self)
9678 """__repr__(ConstantTripletPredicate self) -> std::string"""
9679 return _IMP_core.ConstantTripletPredicate___repr__(self)
9684 return _object_cast_to_ConstantTripletPredicate(o)
9686 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
9687 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
9690 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
9691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9693 def __init__(self, *args):
9695 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
9696 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
9698 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
9700 self.this.append(this)
9704 def do_get_inputs(self, m, pis):
9705 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9706 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
9709 def get_value(self, *args):
9711 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9712 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9714 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
9717 def get_value_index(self, *args):
9719 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9720 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9722 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
9725 def get_version_info(self):
9726 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
9727 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
9731 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
9732 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
9736 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
9737 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
9742 return _object_cast_to_UnorderedTypeTripletPredicate(o)
9744 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
9745 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
9748 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
9749 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9751 def __init__(self, *args):
9753 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
9754 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
9756 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
9758 self.this.append(this)
9762 def do_get_inputs(self, m, pis):
9763 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9764 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
9767 def get_value(self, *args):
9769 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
9770 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9771 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9773 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
9776 def get_value_index(self, *args):
9778 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9779 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9781 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
9784 def get_version_info(self):
9785 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
9786 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
9790 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
9791 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
9795 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
9796 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
9801 return _object_cast_to_OrderedTypeTripletPredicate(o)
9803 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
9804 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
9807 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
9808 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9810 def __init__(self, *args):
9812 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
9813 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
9815 this = _IMP_core.new_AllSameTripletPredicate(*args)
9817 self.this.append(this)
9821 def do_get_inputs(self, arg2, arg3):
9822 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9823 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
9826 def get_value(self, *args):
9828 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9829 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9831 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
9834 def get_value_index(self, *args):
9836 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
9837 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9839 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
9842 def get_version_info(self):
9843 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
9844 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
9848 """__str__(AllSameTripletPredicate self) -> std::string"""
9849 return _IMP_core.AllSameTripletPredicate___str__(self)
9853 """__repr__(AllSameTripletPredicate self) -> std::string"""
9854 return _IMP_core.AllSameTripletPredicate___repr__(self)
9859 return _object_cast_to_AllSameTripletPredicate(o)
9861 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
9862 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
9865 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
9866 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9868 def __init__(self, *args):
9870 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
9871 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
9873 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
9875 self.this.append(this)
9879 def do_get_inputs(self, arg2, arg3):
9880 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9881 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
9884 def get_value(self, *args):
9886 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
9887 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
9889 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
9892 def get_value_index(self, *args):
9894 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
9895 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
9897 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
9900 def get_version_info(self):
9901 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
9902 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
9906 """__str__(CoinFlipTripletPredicate self) -> std::string"""
9907 return _IMP_core.CoinFlipTripletPredicate___str__(self)
9911 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
9912 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
9917 return _object_cast_to_CoinFlipTripletPredicate(o)
9919 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
9920 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
9923 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
9924 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9926 def __init__(self, *args):
9928 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
9929 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
9931 this = _IMP_core.new_ConstantQuadPredicate(*args)
9933 self.this.append(this)
9937 def do_get_inputs(self, arg2, arg3):
9938 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
9939 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
9942 def get_value(self, *args):
9944 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
9945 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
9947 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
9950 def get_value_index(self, *args):
9952 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
9953 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
9955 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
9958 def get_version_info(self):
9959 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
9960 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
9964 """__str__(ConstantQuadPredicate self) -> std::string"""
9965 return _IMP_core.ConstantQuadPredicate___str__(self)
9969 """__repr__(ConstantQuadPredicate self) -> std::string"""
9970 return _IMP_core.ConstantQuadPredicate___repr__(self)
9975 return _object_cast_to_ConstantQuadPredicate(o)
9977 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
9978 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
9981 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
9982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9984 def __init__(self, *args):
9986 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
9987 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
9989 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
9991 self.this.append(this)
9995 def do_get_inputs(self, m, pis):
9996 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9997 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
10000 def get_value(self, *args):
10002 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
10003 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10005 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
10008 def get_value_index(self, *args):
10010 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
10011 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10013 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
10016 def get_version_info(self):
10017 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
10018 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
10022 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
10023 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
10026 def __repr__(self):
10027 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
10028 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
10033 return _object_cast_to_UnorderedTypeQuadPredicate(o)
10035 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
10036 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
10039 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
10040 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10042 def __init__(self, *args):
10044 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
10045 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
10047 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
10049 self.this.append(this)
10053 def do_get_inputs(self, m, pis):
10054 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10055 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
10058 def get_value(self, *args):
10060 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
10061 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
10062 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10064 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
10067 def get_value_index(self, *args):
10069 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
10070 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10072 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
10075 def get_version_info(self):
10076 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
10077 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
10081 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
10082 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
10085 def __repr__(self):
10086 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
10087 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
10092 return _object_cast_to_OrderedTypeQuadPredicate(o)
10094 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
10095 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
10098 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
10099 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10101 def __init__(self, *args):
10103 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
10104 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
10106 this = _IMP_core.new_AllSameQuadPredicate(*args)
10108 self.this.append(this)
10112 def do_get_inputs(self, arg2, arg3):
10113 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10114 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
10117 def get_value(self, *args):
10119 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
10120 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10122 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
10125 def get_value_index(self, *args):
10127 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
10128 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10130 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
10133 def get_version_info(self):
10134 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
10135 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
10139 """__str__(AllSameQuadPredicate self) -> std::string"""
10140 return _IMP_core.AllSameQuadPredicate___str__(self)
10143 def __repr__(self):
10144 """__repr__(AllSameQuadPredicate self) -> std::string"""
10145 return _IMP_core.AllSameQuadPredicate___repr__(self)
10150 return _object_cast_to_AllSameQuadPredicate(o)
10152 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
10153 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
10156 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
10157 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10159 def __init__(self, *args):
10161 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
10162 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
10164 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
10166 self.this.append(this)
10170 def do_get_inputs(self, arg2, arg3):
10171 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10172 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
10175 def get_value(self, *args):
10177 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
10178 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
10180 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
10183 def get_value_index(self, *args):
10185 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
10186 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
10188 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
10191 def get_version_info(self):
10192 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
10193 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
10197 """__str__(CoinFlipQuadPredicate self) -> std::string"""
10198 return _IMP_core.CoinFlipQuadPredicate___str__(self)
10201 def __repr__(self):
10202 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
10203 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
10208 return _object_cast_to_CoinFlipQuadPredicate(o)
10210 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
10211 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
10214 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
10215 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10217 def __init__(self, *args):
10219 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
10220 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
10222 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
10224 self.this.append(this)
10228 def do_get_inputs(self, m, pi):
10229 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10230 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
10233 def get_value(self, *args):
10235 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
10236 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10238 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
10241 def get_value_index(self, *args):
10243 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
10244 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10246 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
10249 def get_version_info(self):
10250 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
10251 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
10255 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
10256 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
10259 def __repr__(self):
10260 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
10261 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
10266 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
10268 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
10269 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
10272 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
10273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10275 def __init__(self, *args):
10277 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
10278 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
10280 this = _IMP_core.new_AttributeSingletonPredicate(*args)
10282 self.this.append(this)
10286 def do_get_inputs(self, m, pi):
10287 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10288 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
10291 def get_value(self, *args):
10293 get_value(AttributeSingletonPredicate self, Particle a) -> int
10294 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10296 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
10299 def get_value_index(self, *args):
10301 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
10302 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10304 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
10307 def get_version_info(self):
10308 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
10309 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
10313 """__str__(AttributeSingletonPredicate self) -> std::string"""
10314 return _IMP_core.AttributeSingletonPredicate___str__(self)
10317 def __repr__(self):
10318 """__repr__(AttributeSingletonPredicate self) -> std::string"""
10319 return _IMP_core.AttributeSingletonPredicate___repr__(self)
10324 return _object_cast_to_AttributeSingletonPredicate(o)
10326 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
10327 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
10330 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
10331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10333 def __init__(self, *args):
10335 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
10336 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
10338 this = _IMP_core.new_IsCollisionPairPredicate(*args)
10340 self.this.append(this)
10344 def do_get_inputs(self, m, pi):
10345 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
10346 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
10349 def get_value(self, *args):
10351 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
10352 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10354 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
10357 def get_value_index(self, *args):
10359 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
10360 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10362 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
10365 def get_version_info(self):
10366 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
10367 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
10371 """__str__(IsCollisionPairPredicate self) -> std::string"""
10372 return _IMP_core.IsCollisionPairPredicate___str__(self)
10375 def __repr__(self):
10376 """__repr__(IsCollisionPairPredicate self) -> std::string"""
10377 return _IMP_core.IsCollisionPairPredicate___repr__(self)
10382 return _object_cast_to_IsCollisionPairPredicate(o)
10384 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
10385 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
10387 class AngleRestraint(TripletRestraint):
10388 """Proxy of C++ IMP::core::AngleRestraint class"""
10389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10391 def __init__(self, m, score_func, p1, p2, p3):
10392 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
10393 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
10395 self.this.append(this)
10400 """__str__(AngleRestraint self) -> std::string"""
10401 return _IMP_core.AngleRestraint___str__(self)
10404 def __repr__(self):
10405 """__repr__(AngleRestraint self) -> std::string"""
10406 return _IMP_core.AngleRestraint___repr__(self)
10411 return _object_cast_to_AngleRestraint(o)
10413 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
10414 AngleRestraint_swigregister(AngleRestraint)
10416 class RigidBodyMover(MonteCarloMover):
10417 """Proxy of C++ IMP::core::RigidBodyMover class"""
10418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10420 def __init__(self, *args):
10422 __init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
10423 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
10425 this = _IMP_core.new_RigidBodyMover(*args)
10427 self.this.append(this)
10431 def set_maximum_translation(self, mt):
10432 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
10433 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
10436 def set_maximum_rotation(self, mr):
10437 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
10438 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
10441 def get_maximum_translation(self):
10442 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
10443 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
10446 def get_maximum_rotation(self):
10447 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
10448 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
10451 def get_version_info(self):
10452 """get_version_info(RigidBodyMover self) -> VersionInfo"""
10453 return _IMP_core.RigidBodyMover_get_version_info(self)
10457 """__str__(RigidBodyMover self) -> std::string"""
10458 return _IMP_core.RigidBodyMover___str__(self)
10461 def __repr__(self):
10462 """__repr__(RigidBodyMover self) -> std::string"""
10463 return _IMP_core.RigidBodyMover___repr__(self)
10468 return _object_cast_to_RigidBodyMover(o)
10470 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
10471 RigidBodyMover_swigregister(RigidBodyMover)
10473 class RigidBodyTunneler(MonteCarloMover):
10474 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
10475 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10477 def __init__(self, m, pis, ref, k, move_probability=1.):
10479 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
10480 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
10482 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
10484 self.this.append(this)
10488 def add_entry_point(self, fl):
10489 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
10490 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
10493 def reset_stats(self):
10494 """reset_stats(RigidBodyTunneler self)"""
10495 return _IMP_core.RigidBodyTunneler_reset_stats(self)
10498 def get_number_of_rejected_moves(self):
10499 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
10500 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
10503 def get_number_of_proposed_moves(self):
10504 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
10505 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
10508 def get_number_of_impossible_moves(self):
10509 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
10510 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
10513 def get_number_of_calls(self):
10514 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
10515 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
10518 def get_reduced_coordinates(*args):
10520 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
10521 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
10523 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
10525 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
10527 def set_reduced_coordinates(m, target, ref, coords):
10528 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
10529 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
10531 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
10533 def get_version_info(self):
10534 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
10535 return _IMP_core.RigidBodyTunneler_get_version_info(self)
10539 """__str__(RigidBodyTunneler self) -> std::string"""
10540 return _IMP_core.RigidBodyTunneler___str__(self)
10543 def __repr__(self):
10544 """__repr__(RigidBodyTunneler self) -> std::string"""
10545 return _IMP_core.RigidBodyTunneler___repr__(self)
10550 return _object_cast_to_RigidBodyTunneler(o)
10552 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
10553 RigidBodyTunneler_swigregister(RigidBodyTunneler)
10555 def RigidBodyTunneler_get_reduced_coordinates(*args):
10557 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
10558 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
10560 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
10562 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
10563 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
10564 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
10567 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
10568 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10570 def __init__(self, *args):
10572 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
10573 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
10574 __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
10575 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
10577 this = _IMP_core.new_RigidBodyUmbrella(*args)
10579 self.this.append(this)
10583 def set_x0(self, *args):
10585 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
10586 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
10588 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
10592 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
10593 return _IMP_core.RigidBodyUmbrella_get_x0(self)
10597 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
10598 return _IMP_core.RigidBodyUmbrella_get_x(self)
10601 def set_alpha(self, alpha):
10602 """set_alpha(RigidBodyUmbrella self, double alpha)"""
10603 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
10606 def set_k(self, k):
10607 """set_k(RigidBodyUmbrella self, double k)"""
10608 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
10611 def get_version_info(self):
10612 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
10613 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
10617 """__str__(RigidBodyUmbrella self) -> std::string"""
10618 return _IMP_core.RigidBodyUmbrella___str__(self)
10621 def __repr__(self):
10622 """__repr__(RigidBodyUmbrella self) -> std::string"""
10623 return _IMP_core.RigidBodyUmbrella___repr__(self)
10628 return _object_cast_to_RigidBodyUmbrella(o)
10630 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
10631 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
10634 """Proxy of C++ IMP::core::VolumeRestraint class"""
10635 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10637 def __init__(self, f, sc, volume):
10638 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
10639 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
10641 self.this.append(this)
10645 def do_get_inputs(self):
10646 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
10647 return _IMP_core.VolumeRestraint_do_get_inputs(self)
10650 def get_version_info(self):
10651 """get_version_info(VolumeRestraint self) -> VersionInfo"""
10652 return _IMP_core.VolumeRestraint_get_version_info(self)
10656 """__str__(VolumeRestraint self) -> std::string"""
10657 return _IMP_core.VolumeRestraint___str__(self)
10660 def __repr__(self):
10661 """__repr__(VolumeRestraint self) -> std::string"""
10662 return _IMP_core.VolumeRestraint___repr__(self)
10667 return _object_cast_to_VolumeRestraint(o)
10669 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
10670 VolumeRestraint_swigregister(VolumeRestraint)
10674 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
10675 return _IMP_core.get_centroid(ps)
10677 def get_bounding_box(ps):
10678 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
10679 return _IMP_core.get_bounding_box(ps)
10681 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
10682 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10684 def __init__(self, ps):
10685 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
10686 this = _IMP_core.new_MoveStatisticsScoreState(ps)
10688 self.this.append(this)
10692 def show_statistics(self, *args):
10694 show_statistics(MoveStatisticsScoreState self, _ostream out)
10695 show_statistics(MoveStatisticsScoreState self)
10697 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
10701 """reset(MoveStatisticsScoreState self)"""
10702 return _IMP_core.MoveStatisticsScoreState_reset(self)
10705 def do_before_evaluate(self):
10706 """do_before_evaluate(MoveStatisticsScoreState self)"""
10707 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
10710 def do_after_evaluate(self, da):
10711 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
10712 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
10715 def do_get_inputs(self):
10716 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
10717 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
10720 def do_get_outputs(self):
10721 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
10722 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
10725 def get_version_info(self):
10726 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
10727 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
10731 """__str__(MoveStatisticsScoreState self) -> std::string"""
10732 return _IMP_core.MoveStatisticsScoreState___str__(self)
10735 def __repr__(self):
10736 """__repr__(MoveStatisticsScoreState self) -> std::string"""
10737 return _IMP_core.MoveStatisticsScoreState___repr__(self)
10742 return _object_cast_to_MoveStatisticsScoreState(o)
10744 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
10745 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
10748 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
10749 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
10751 """Proxy of C++ IMP::core::Typed class"""
10752 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10754 def get_type_key():
10755 """get_type_key() -> IntKey"""
10756 return _IMP_core.Typed_get_type_key()
10758 get_type_key = staticmethod(get_type_key)
10760 def __init__(self, *args):
10762 __init__(IMP::core::Typed self) -> Typed
10763 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
10764 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
10766 this = _IMP_core.new_Typed(*args)
10768 self.this.append(this)
10772 def show(self, *args):
10774 show(Typed self, _ostream out)
10777 return _IMP_core.Typed_show(self, *args)
10780 def setup_particle(*args):
10782 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
10783 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
10785 return _IMP_core.Typed_setup_particle(*args)
10787 setup_particle = staticmethod(setup_particle)
10789 def get_is_setup(*args):
10791 get_is_setup(_ParticleAdaptor p) -> bool
10792 get_is_setup(Model m, ParticleIndex pi) -> bool
10794 return _IMP_core.Typed_get_is_setup(*args)
10796 get_is_setup = staticmethod(get_is_setup)
10798 def get_type(self):
10799 """get_type(Typed self) -> ParticleType"""
10800 return _IMP_core.Typed_get_type(self)
10803 def add_attribute(self, *args):
10805 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
10806 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
10807 add_attribute(Typed self, IntKey a0, IMP::Int a1)
10808 add_attribute(Typed self, StringKey a0, IMP::String a1)
10809 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
10810 add_attribute(Typed self, ObjectKey a0, Object a1)
10812 return _IMP_core.Typed_add_attribute(self, *args)
10815 def get_value(self, *args):
10817 get_value(Typed self, FloatKey a0) -> IMP::Float
10818 get_value(Typed self, IntKey a0) -> IMP::Int
10819 get_value(Typed self, StringKey a0) -> IMP::String
10820 get_value(Typed self, ParticleIndexKey a0) -> Particle
10821 get_value(Typed self, ObjectKey a0) -> Object
10823 return _IMP_core.Typed_get_value(self, *args)
10826 def set_value(self, *args):
10828 set_value(Typed self, FloatKey a0, IMP::Float a1)
10829 set_value(Typed self, IntKey a0, IMP::Int a1)
10830 set_value(Typed self, StringKey a0, IMP::String a1)
10831 set_value(Typed self, ParticleIndexKey a0, Particle a1)
10832 set_value(Typed self, ObjectKey a0, Object a1)
10834 return _IMP_core.Typed_set_value(self, *args)
10837 def remove_attribute(self, *args):
10839 remove_attribute(Typed self, FloatKey a0)
10840 remove_attribute(Typed self, IntKey a0)
10841 remove_attribute(Typed self, StringKey a0)
10842 remove_attribute(Typed self, ParticleIndexKey a0)
10843 remove_attribute(Typed self, ObjectKey a0)
10845 return _IMP_core.Typed_remove_attribute(self, *args)
10848 def has_attribute(self, *args):
10850 has_attribute(Typed self, FloatKey a0) -> bool
10851 has_attribute(Typed self, IntKey a0) -> bool
10852 has_attribute(Typed self, StringKey a0) -> bool
10853 has_attribute(Typed self, ParticleIndexKey a0) -> bool
10854 has_attribute(Typed self, ObjectKey a0) -> bool
10856 return _IMP_core.Typed_has_attribute(self, *args)
10859 def get_derivative(self, a0):
10860 """get_derivative(Typed self, FloatKey a0) -> double"""
10861 return _IMP_core.Typed_get_derivative(self, a0)
10864 def get_name(self):
10865 """get_name(Typed self) -> std::string"""
10866 return _IMP_core.Typed_get_name(self)
10869 def clear_caches(self):
10870 """clear_caches(Typed self)"""
10871 return _IMP_core.Typed_clear_caches(self)
10874 def set_name(self, a0):
10875 """set_name(Typed self, std::string a0)"""
10876 return _IMP_core.Typed_set_name(self, a0)
10880 """set_check_level(Typed self, IMP::CheckLevel a0)"""
10881 return _IMP_core.Typed_set_check_level(self, a0)
10884 def add_to_derivative(self, a0, a1, a2):
10885 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10886 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
10889 def set_is_optimized(self, a0, a1):
10890 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
10891 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
10894 def get_is_optimized(self, a0):
10895 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
10896 return _IMP_core.Typed_get_is_optimized(self, a0)
10900 """get_check_level(Typed self) -> IMP::CheckLevel"""
10901 return _IMP_core.Typed_get_check_level(self)
10904 def __eq__(self, *args):
10906 __eq__(Typed self, Typed o) -> bool
10907 __eq__(Typed self, Particle d) -> bool
10909 return _IMP_core.Typed___eq__(self, *args)
10912 def __ne__(self, *args):
10914 __ne__(Typed self, Typed o) -> bool
10915 __ne__(Typed self, Particle d) -> bool
10917 return _IMP_core.Typed___ne__(self, *args)
10920 def __le__(self, *args):
10922 __le__(Typed self, Typed o) -> bool
10923 __le__(Typed self, Particle d) -> bool
10925 return _IMP_core.Typed___le__(self, *args)
10928 def __lt__(self, *args):
10930 __lt__(Typed self, Typed o) -> bool
10931 __lt__(Typed self, Particle d) -> bool
10933 return _IMP_core.Typed___lt__(self, *args)
10936 def __ge__(self, *args):
10938 __ge__(Typed self, Typed o) -> bool
10939 __ge__(Typed self, Particle d) -> bool
10941 return _IMP_core.Typed___ge__(self, *args)
10944 def __gt__(self, *args):
10946 __gt__(Typed self, Typed o) -> bool
10947 __gt__(Typed self, Particle d) -> bool
10949 return _IMP_core.Typed___gt__(self, *args)
10952 def __hash__(self):
10953 """__hash__(Typed self) -> std::size_t"""
10954 return _IMP_core.Typed___hash__(self)
10958 """__str__(Typed self) -> std::string"""
10959 return _IMP_core.Typed___str__(self)
10962 def __repr__(self):
10963 """__repr__(Typed self) -> std::string"""
10964 return _IMP_core.Typed___repr__(self)
10966 __swig_destroy__ = _IMP_core.delete_Typed
10967 __del__ =
lambda self:
None
10968 Typed_swigregister = _IMP_core.Typed_swigregister
10969 Typed_swigregister(Typed)
10971 def Typed_get_type_key():
10972 """Typed_get_type_key() -> IntKey"""
10973 return _IMP_core.Typed_get_type_key()
10975 def Typed_setup_particle(*args):
10977 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
10978 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
10980 return _IMP_core.Typed_setup_particle(*args)
10982 def Typed_get_is_setup(*args):
10984 get_is_setup(_ParticleAdaptor p) -> bool
10985 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
10987 return _IMP_core.Typed_get_is_setup(*args)
10990 def __lshift__(*args):
10992 __lshift__(_ostream out, XYZ n) -> _ostream
10993 __lshift__(_ostream out, XYZR n) -> _ostream
10994 __lshift__(_ostream out, Centroid n) -> _ostream
10995 __lshift__(_ostream out, Cover n) -> _ostream
10996 __lshift__(_ostream out, Reference n) -> _ostream
10997 __lshift__(_ostream out, RigidMember n) -> _ostream
10998 __lshift__(_ostream out, RigidBody n) -> _ostream
10999 __lshift__(_ostream out, Gaussian n) -> _ostream
11000 __lshift__(_ostream out, Typed n) -> _ostream
11002 return _IMP_core.__lshift__(*args)
11004 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
11005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11007 def __init__(self, rs, out):
11008 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
11009 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
11011 self.this.append(this)
11015 def get_version_info(self):
11016 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
11017 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
11021 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
11022 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
11025 def __repr__(self):
11026 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
11027 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
11032 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
11034 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
11035 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
11039 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
11040 return _IMP_core.assign_blame(rs, ps, attribute)
11044 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
11045 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
11046 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
11048 return _IMP_core.create_blame_geometries(*args)
11052 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
11053 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
11054 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
11056 return _IMP_core.get_transformation_aligning_first_to_second(*args)
11059 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
11060 return _IMP_core.create_restraint(ps, pp)
11062 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
11063 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11065 def __init__(self, *args):
11067 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
11068 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
11070 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
11072 self.this.append(this)
11076 def get_version_info(self):
11077 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
11078 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
11082 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
11083 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
11086 def __repr__(self):
11087 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
11088 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
11093 return _object_cast_to_TruncatedHarmonic(o)
11095 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
11096 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
11099 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
11100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11102 def __init__(self, *args):
11104 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
11105 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
11107 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
11109 self.this.append(this)
11113 def get_version_info(self):
11114 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
11115 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
11119 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
11120 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
11123 def __repr__(self):
11124 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
11125 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
11130 return _object_cast_to_TruncatedHarmonic(o)
11132 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
11133 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
11136 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
11137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11139 def __init__(self, *args):
11141 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
11142 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
11144 this = _IMP_core.new_TruncatedHarmonicBound(*args)
11146 self.this.append(this)
11150 def get_version_info(self):
11151 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
11152 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
11156 """__str__(TruncatedHarmonicBound self) -> std::string"""
11157 return _IMP_core.TruncatedHarmonicBound___str__(self)
11160 def __repr__(self):
11161 """__repr__(TruncatedHarmonicBound self) -> std::string"""
11162 return _IMP_core.TruncatedHarmonicBound___repr__(self)
11167 return _object_cast_to_TruncatedHarmonic(o)
11169 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
11170 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
11173 """Proxy of C++ IMP::Key<(34897493,true)> class"""
11174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11176 def __init__(self, *args):
11178 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
11179 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
11180 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
11182 this = _IMP_core.new_ParticleType(*args)
11184 self.this.append(this)
11189 """add_key(std::string sc) -> unsigned int"""
11190 return _IMP_core.ParticleType_add_key(sc)
11192 add_key = staticmethod(add_key)
11194 def get_key_exists(sc):
11195 """get_key_exists(std::string sc) -> bool"""
11196 return _IMP_core.ParticleType_get_key_exists(sc)
11198 get_key_exists = staticmethod(get_key_exists)
11200 def get_string(self):
11201 """get_string(ParticleType self) -> std::string const"""
11202 return _IMP_core.ParticleType_get_string(self)
11205 def __cmp__(self, o):
11206 """__cmp__(ParticleType self, ParticleType o) -> int"""
11207 return _IMP_core.ParticleType___cmp__(self, o)
11210 def __eq__(self, o):
11211 """__eq__(ParticleType self, ParticleType o) -> bool"""
11212 return _IMP_core.ParticleType___eq__(self, o)
11215 def __ne__(self, o):
11216 """__ne__(ParticleType self, ParticleType o) -> bool"""
11217 return _IMP_core.ParticleType___ne__(self, o)
11220 def __lt__(self, o):
11221 """__lt__(ParticleType self, ParticleType o) -> bool"""
11222 return _IMP_core.ParticleType___lt__(self, o)
11225 def __gt__(self, o):
11226 """__gt__(ParticleType self, ParticleType o) -> bool"""
11227 return _IMP_core.ParticleType___gt__(self, o)
11230 def __ge__(self, o):
11231 """__ge__(ParticleType self, ParticleType o) -> bool"""
11232 return _IMP_core.ParticleType___ge__(self, o)
11235 def __le__(self, o):
11236 """__le__(ParticleType self, ParticleType o) -> bool"""
11237 return _IMP_core.ParticleType___le__(self, o)
11240 def __hash__(self):
11241 """__hash__(ParticleType self) -> std::size_t"""
11242 return _IMP_core.ParticleType___hash__(self)
11245 def show(self, *args):
11247 show(ParticleType self, _ostream out)
11248 show(ParticleType self)
11250 return _IMP_core.ParticleType_show(self, *args)
11253 def add_alias(old_key, new_name):
11254 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
11255 return _IMP_core.ParticleType_add_alias(old_key, new_name)
11257 add_alias = staticmethod(add_alias)
11260 """get_index(ParticleType self) -> unsigned int"""
11261 return _IMP_core.ParticleType_get_index(self)
11265 """show_all(_ostream out)"""
11266 return _IMP_core.ParticleType_show_all(out)
11268 show_all = staticmethod(show_all)
11270 def get_all_strings():
11271 """get_all_strings() -> IMP::Vector< std::string >"""
11272 return _IMP_core.ParticleType_get_all_strings()
11274 get_all_strings = staticmethod(get_all_strings)
11276 def get_number_unique():
11277 """get_number_unique() -> unsigned int"""
11278 return _IMP_core.ParticleType_get_number_unique()
11280 get_number_unique = staticmethod(get_number_unique)
11283 """__str__(ParticleType self) -> std::string"""
11284 return _IMP_core.ParticleType___str__(self)
11287 def __repr__(self):
11288 """__repr__(ParticleType self) -> std::string"""
11289 return _IMP_core.ParticleType___repr__(self)
11291 __swig_destroy__ = _IMP_core.delete_ParticleType
11292 __del__ =
lambda self:
None
11293 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
11294 ParticleType_swigregister(ParticleType)
11296 def ParticleType_add_key(sc):
11297 """ParticleType_add_key(std::string sc) -> unsigned int"""
11298 return _IMP_core.ParticleType_add_key(sc)
11300 def ParticleType_get_key_exists(sc):
11301 """ParticleType_get_key_exists(std::string sc) -> bool"""
11302 return _IMP_core.ParticleType_get_key_exists(sc)
11304 def ParticleType_add_alias(old_key, new_name):
11305 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
11306 return _IMP_core.ParticleType_add_alias(old_key, new_name)
11308 def ParticleType_show_all(out):
11309 """ParticleType_show_all(_ostream out)"""
11310 return _IMP_core.ParticleType_show_all(out)
11312 def ParticleType_get_all_strings():
11313 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
11314 return _IMP_core.ParticleType_get_all_strings()
11316 def ParticleType_get_number_unique():
11317 """ParticleType_get_number_unique() -> unsigned int"""
11318 return _IMP_core.ParticleType_get_number_unique()
11321 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
11322 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11323 __repr__ = _swig_repr
11325 def __init__(self, f, k):
11326 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
11327 this = _IMP_core.new_AttributeSingletonScore(f, k)
11329 self.this.append(this)
11333 def do_get_inputs(self, m, pis):
11334 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11335 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
11338 def get_version_info(self):
11339 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
11340 return _IMP_core.AttributeSingletonScore_get_version_info(self)
11342 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
11343 AttributeSingletonScore_swigregister(AttributeSingletonScore)
11347 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
11348 return _IMP_core.create_attribute_singleton_score(uf, k)
11350 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
11351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11352 __repr__ = _swig_repr
11354 def __init__(self, f, bb):
11355 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
11356 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
11358 self.this.append(this)
11362 def do_get_inputs(self, m, pis):
11363 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11364 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
11367 def get_version_info(self):
11368 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
11369 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
11371 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
11372 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
11375 def create_bounding_box_3d_singleton_score(f, bb):
11376 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
11377 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
11379 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
11380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11381 __repr__ = _swig_repr
11383 def __init__(self, f, pt):
11384 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
11385 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
11387 self.this.append(this)
11391 def do_get_inputs(self, m, pis):
11392 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11393 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
11396 def get_version_info(self):
11397 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
11398 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
11400 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
11401 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
11404 def create_distance_to_singleton_score(f, pt):
11405 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
11406 return _IMP_core.create_distance_to_singleton_score(f, pt)
11408 def get_module_version():
11409 """get_module_version() -> std::string const"""
11410 return _IMP_core.get_module_version()
11413 """get_example_path(std::string fname) -> std::string"""
11414 return _IMP_core.get_example_path(fname)
11417 """get_data_path(std::string fname) -> std::string"""
11418 return _IMP_core.get_data_path(fname)
11420 from .
import _version_check
11421 _version_check.check_version(get_module_version())
11422 __version__ = get_module_version()
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
double get_kt(double T)
Return kT for a given temperature.
Abstract class for scoring object(s) of type ParticleIndexPair.
void set_vector_geometry(Particle *p, const algebra::Vector3D &v)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
Abstract predicate function.
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
algebra::ReferenceFrame3D get_initial_reference_frame(Model *m, const ParticleIndexes &pis)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
XYZRs create_xyzr_particles(Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A base class for geometry contained in particles.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
Make CGAL functionality available to IMP.
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
void add_rigid_body_cache_key(ObjectKey k)
Base class for all samplers.
void add_particle(RMF::FileHandle fh, Particle *hs)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Composable functors to implement scores via compile-time composition.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
display::Geometries create_blame_geometries(const RestraintsTemp &rs, const ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
void show_rigid_body_hierarchy(RigidBody rb, TextOutput out=TextOutput(std::cout))
Implement a constraint on the Model.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
Abstract predicate function.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Base class for all optimizers.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
Version and module information for Objects.
const algebra::Vector3D get_vector_geometry(Particle *p)
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Key< 34897493, true > ParticleType
Interface to specialized Particle types (e.g. atoms)
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Base class for optimizers that act on individual attributes.
Abstract predicate function.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Represents a scoring function on the model.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract predicate function.
Abstract class to implement hierarchical methods.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
Output IMP model data in various file formats.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
Hierarchies get_leaves(const Selection &h)
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Abstract single variable functor class for score functions.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
A specialization for the lower bound.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
A restraint is a term in an IMP ScoringFunction.
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)