10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_core')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_core')
25 _IMP_core = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
43 _IMP_core = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
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
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_CORE_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
126 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
131 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
132 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
134 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
139 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
140 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
142 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
151 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
152 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
156 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
157 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
161 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
162 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
166 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
167 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
171 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
172 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
177 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
182 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
187 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
192 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
197 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
202 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
208 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
214 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
215 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
223 IMP_DEBUG = _IMP_core.IMP_DEBUG
224 IMP_RELEASE = _IMP_core.IMP_RELEASE
225 IMP_SILENT = _IMP_core.IMP_SILENT
226 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
227 IMP_TERSE = _IMP_core.IMP_TERSE
228 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
229 IMP_MEMORY = _IMP_core.IMP_MEMORY
230 IMP_NONE = _IMP_core.IMP_NONE
231 IMP_USAGE = _IMP_core.IMP_USAGE
232 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_core.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_core._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_core._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_core.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_core.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_core.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
330 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
331 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
332 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
333 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
334 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
335 IMP_CORE_HAS_NUMPY = _IMP_core.IMP_CORE_HAS_NUMPY
336 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
338 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class."""
340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
341 __repr__ = _swig_repr
343 def __init__(self, *args):
345 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
346 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
348 this = _IMP_core.new__OpenCubicSplineBase(*args)
350 self.this.append(this)
351 except __builtin__.Exception:
354 def get_version_info(self):
355 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
356 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
358 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
359 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
362 _object_types.append(
"MonteCarloMover")
365 def _object_cast_to_MonteCarloMover(o):
366 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
367 return _IMP_core._object_cast_to_MonteCarloMover(o)
369 MonteCarloMoverResults=list
370 _plural_types.append(
"MonteCarloMoverResults")
371 _value_types.append(
"MonteCarloMoverResult")
374 _object_types.append(
"AngleRestraint")
377 def _object_cast_to_AngleRestraint(o):
378 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
379 return _IMP_core._object_cast_to_AngleRestraint(o)
381 _object_types.append(
"AngleTripletScore")
384 def _object_cast_to_AngleTripletScore(o):
385 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
386 return _IMP_core._object_cast_to_AngleTripletScore(o)
388 _object_types.append(
"AttributeSingletonScore")
391 def _object_cast_to_AttributeSingletonScore(o):
392 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
393 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
395 _object_types.append(
"BallMover")
398 def _object_cast_to_BallMover(o):
399 """_object_cast_to_BallMover(Object o) -> BallMover"""
400 return _IMP_core._object_cast_to_BallMover(o)
402 _object_types.append(
"SerialMover")
405 def _object_cast_to_SerialMover(o):
406 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
407 return _IMP_core._object_cast_to_SerialMover(o)
409 _object_types.append(
"SubsetMover")
412 def _object_cast_to_SubsetMover(o):
413 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
414 return _IMP_core._object_cast_to_SubsetMover(o)
416 _object_types.append(
"DirectionMover")
419 def _object_cast_to_DirectionMover(o):
420 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
421 return _IMP_core._object_cast_to_DirectionMover(o)
423 _object_types.append(
"SurfaceMover")
426 def _object_cast_to_SurfaceMover(o):
427 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
428 return _IMP_core._object_cast_to_SurfaceMover(o)
430 _object_types.append(
"BoundingBox3DSingletonScore")
433 def _object_cast_to_BoundingBox3DSingletonScore(o):
434 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
435 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
437 _object_types.append(
"BoundingSphere3DSingletonScore")
440 def _object_cast_to_BoundingSphere3DSingletonScore(o):
441 """_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
442 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
444 _object_types.append(
"BoxSweepClosePairsFinder")
447 def _object_cast_to_BoxSweepClosePairsFinder(o):
448 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
449 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
451 _object_types.append(
"NearestNeighborsClosePairsFinder")
454 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
455 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
456 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
458 _object_types.append(
"CentroidOfRefined")
461 def _object_cast_to_CentroidOfRefined(o):
462 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
463 return _IMP_core._object_cast_to_CentroidOfRefined(o)
465 _object_types.append(
"ChecksScoreState")
468 def _object_cast_to_ChecksScoreState(o):
469 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
470 return _IMP_core._object_cast_to_ChecksScoreState(o)
472 _object_types.append(
"ChildrenRefiner")
475 def _object_cast_to_ChildrenRefiner(o):
476 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
477 return _IMP_core._object_cast_to_ChildrenRefiner(o)
479 _object_types.append(
"ClosePairsFinder")
482 def _object_cast_to_ClosePairsFinder(o):
483 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
484 return _IMP_core._object_cast_to_ClosePairsFinder(o)
486 _object_types.append(
"ClosePairsPairScore")
489 def _object_cast_to_ClosePairsPairScore(o):
490 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
491 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
493 _object_types.append(
"ClosedCubicSpline")
496 def _object_cast_to_ClosedCubicSpline(o):
497 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
498 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
500 _object_types.append(
"ConjugateGradients")
503 def _object_cast_to_ConjugateGradients(o):
504 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
505 return _IMP_core._object_cast_to_ConjugateGradients(o)
507 _object_types.append(
"ConnectivityRestraint")
510 def _object_cast_to_ConnectivityRestraint(o):
511 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
512 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
514 _object_types.append(
"ConstantRestraint")
517 def _object_cast_to_ConstantRestraint(o):
518 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
519 return _IMP_core._object_cast_to_ConstantRestraint(o)
521 _object_types.append(
"Cosine")
524 def _object_cast_to_Cosine(o):
525 """_object_cast_to_Cosine(Object o) -> Cosine"""
526 return _IMP_core._object_cast_to_Cosine(o)
528 _object_types.append(
"CoverRefined")
531 def _object_cast_to_CoverRefined(o):
532 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
533 return _IMP_core._object_cast_to_CoverRefined(o)
535 _object_types.append(
"DerivativesFromRefined")
538 def _object_cast_to_DerivativesFromRefined(o):
539 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
540 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
542 _object_types.append(
"DerivativesToRefined")
545 def _object_cast_to_DerivativesToRefined(o):
546 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
547 return _IMP_core._object_cast_to_DerivativesToRefined(o)
549 _object_types.append(
"WeightedDerivativesToRefined")
552 def _object_cast_to_WeightedDerivativesToRefined(o):
553 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
554 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
556 _object_types.append(
"DiameterRestraint")
559 def _object_cast_to_DiameterRestraint(o):
560 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
561 return _IMP_core._object_cast_to_DiameterRestraint(o)
563 _object_types.append(
"DihedralRestraint")
566 def _object_cast_to_DihedralRestraint(o):
567 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
568 return _IMP_core._object_cast_to_DihedralRestraint(o)
570 _object_types.append(
"DistanceRestraint")
573 def _object_cast_to_DistanceRestraint(o):
574 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
575 return _IMP_core._object_cast_to_DistanceRestraint(o)
577 _object_types.append(
"DistanceToSingletonScore")
580 def _object_cast_to_DistanceToSingletonScore(o):
581 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
582 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
584 _object_types.append(
"ExcludedVolumeRestraint")
587 def _object_cast_to_ExcludedVolumeRestraint(o):
588 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
589 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
591 _object_types.append(
"FixedRefiner")
594 def _object_cast_to_FixedRefiner(o):
595 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
596 return _IMP_core._object_cast_to_FixedRefiner(o)
598 _object_types.append(
"GridClosePairsFinder")
601 def _object_cast_to_GridClosePairsFinder(o):
602 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
603 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
605 _object_types.append(
"Harmonic")
608 def _object_cast_to_Harmonic(o):
609 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
610 return _IMP_core._object_cast_to_Harmonic(o)
612 _object_types.append(
"HarmonicWell")
615 def _object_cast_to_HarmonicWell(o):
616 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
617 return _IMP_core._object_cast_to_HarmonicWell(o)
619 _object_types.append(
"HarmonicLowerBound")
622 def _object_cast_to_HarmonicLowerBound(o):
623 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
624 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
626 _object_types.append(
"HarmonicUpperBound")
629 def _object_cast_to_HarmonicUpperBound(o):
630 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
631 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
633 _object_types.append(
"HarmonicSphereDistancePairScore")
636 def _object_cast_to_HarmonicSphereDistancePairScore(o):
637 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
638 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
640 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
643 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
644 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
645 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
647 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
650 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
651 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
652 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
654 _object_types.append(
"HarmonicSurfaceDistancePairScore")
657 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
658 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
659 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
661 _object_types.append(
"HarmonicSurfaceHeightPairScore")
664 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
665 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
666 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
668 _object_types.append(
"HarmonicSurfaceDepthPairScore")
671 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
672 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
673 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
675 _object_types.append(
"WeightedSum")
678 def _object_cast_to_WeightedSum(o):
679 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
680 return _IMP_core._object_cast_to_WeightedSum(o)
682 _object_types.append(
"WeightedSumOfExponential")
685 def _object_cast_to_WeightedSumOfExponential(o):
686 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
687 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
689 _object_types.append(
"IncrementalScoringFunction")
692 def _object_cast_to_IncrementalScoringFunction(o):
693 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
694 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
696 _object_types.append(
"KClosePairsPairScore")
699 def _object_cast_to_KClosePairsPairScore(o):
700 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
701 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
703 _object_types.append(
"LeavesRefiner")
706 def _object_cast_to_LeavesRefiner(o):
707 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
708 return _IMP_core._object_cast_to_LeavesRefiner(o)
710 _object_types.append(
"Linear")
713 def _object_cast_to_Linear(o):
714 """_object_cast_to_Linear(Object o) -> Linear"""
715 return _IMP_core._object_cast_to_Linear(o)
717 _object_types.append(
"LogNormalMover")
720 def _object_cast_to_LogNormalMover(o):
721 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
722 return _IMP_core._object_cast_to_LogNormalMover(o)
724 _object_types.append(
"MCCGSampler")
727 def _object_cast_to_MCCGSampler(o):
728 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
729 return _IMP_core._object_cast_to_MCCGSampler(o)
731 _object_types.append(
"MonteCarlo")
734 def _object_cast_to_MonteCarlo(o):
735 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
736 return _IMP_core._object_cast_to_MonteCarlo(o)
738 _object_types.append(
"MonteCarloWithLocalOptimization")
741 def _object_cast_to_MonteCarloWithLocalOptimization(o):
742 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
743 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
745 _object_types.append(
"MonteCarloWithBasinHopping")
748 def _object_cast_to_MonteCarloWithBasinHopping(o):
749 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
750 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
752 _object_types.append(
"MSConnectivityRestraint")
755 def _object_cast_to_MSConnectivityRestraint(o):
756 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
757 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
759 _object_types.append(
"NeighborsTable")
762 def _object_cast_to_NeighborsTable(o):
763 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
764 return _IMP_core._object_cast_to_NeighborsTable(o)
766 _object_types.append(
"NormalMover")
769 def _object_cast_to_NormalMover(o):
770 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
771 return _IMP_core._object_cast_to_NormalMover(o)
773 _object_types.append(
"NormalizedSphereDistancePairScore")
776 def _object_cast_to_NormalizedSphereDistancePairScore(o):
777 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
778 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
780 _object_types.append(
"OpenCubicSpline")
783 def _object_cast_to_OpenCubicSpline(o):
784 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
785 return _IMP_core._object_cast_to_OpenCubicSpline(o)
787 _object_types.append(
"PairConstraint")
790 def _object_cast_to_PairConstraint(o):
791 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
792 return _IMP_core._object_cast_to_PairConstraint(o)
794 _object_types.append(
"PairRestraint")
797 def _object_cast_to_PairRestraint(o):
798 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
799 return _IMP_core._object_cast_to_PairRestraint(o)
801 _object_types.append(
"QuadConstraint")
804 def _object_cast_to_QuadConstraint(o):
805 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
806 return _IMP_core._object_cast_to_QuadConstraint(o)
808 _object_types.append(
"QuadRestraint")
811 def _object_cast_to_QuadRestraint(o):
812 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
813 return _IMP_core._object_cast_to_QuadRestraint(o)
815 _object_types.append(
"QuadraticClosePairsFinder")
818 def _object_cast_to_QuadraticClosePairsFinder(o):
819 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
820 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
822 _object_types.append(
"RefinedPairsPairScore")
825 def _object_cast_to_RefinedPairsPairScore(o):
826 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
827 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
829 _object_types.append(
"RestraintsScoringFunction")
832 def _object_cast_to_RestraintsScoringFunction(o):
833 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
834 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
836 _object_types.append(
"RigidBodyDistancePairScore")
839 def _object_cast_to_RigidBodyDistancePairScore(o):
840 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
841 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
843 _object_types.append(
"RigidBodyAnglePairScore")
846 def _object_cast_to_RigidBodyAnglePairScore(o):
847 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
848 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
850 _object_types.append(
"RigidBodyMover")
853 def _object_cast_to_RigidBodyMover(o):
854 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
855 return _IMP_core._object_cast_to_RigidBodyMover(o)
857 _object_types.append(
"RigidBodyTunneler")
860 def _object_cast_to_RigidBodyTunneler(o):
861 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
862 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
864 _object_types.append(
"RigidBodyUmbrella")
867 def _object_cast_to_RigidBodyUmbrella(o):
868 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
869 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
871 _object_types.append(
"RigidClosePairsFinder")
874 def _object_cast_to_RigidClosePairsFinder(o):
875 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
876 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
878 _object_types.append(
"RigidMembersRefiner")
881 def _object_cast_to_RigidMembersRefiner(o):
882 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
883 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
885 _object_types.append(
"SingletonConstraint")
888 def _object_cast_to_SingletonConstraint(o):
889 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
890 return _IMP_core._object_cast_to_SingletonConstraint(o)
892 _object_types.append(
"SingletonRestraint")
895 def _object_cast_to_SingletonRestraint(o):
896 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
897 return _IMP_core._object_cast_to_SingletonRestraint(o)
899 _object_types.append(
"SoftSpherePairScore")
902 def _object_cast_to_SoftSpherePairScore(o):
903 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
904 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
906 _object_types.append(
"SphereDistancePairScore")
909 def _object_cast_to_SphereDistancePairScore(o):
910 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
911 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
913 _object_types.append(
"SphereDistanceToSingletonScore")
916 def _object_cast_to_SphereDistanceToSingletonScore(o):
917 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
918 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
920 _object_types.append(
"SoftSubSurfacePairScore")
923 def _object_cast_to_SoftSubSurfacePairScore(o):
924 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
925 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
927 _object_types.append(
"SoftSuperSurfacePairScore")
930 def _object_cast_to_SoftSuperSurfacePairScore(o):
931 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
932 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
934 _object_types.append(
"SurfaceDistancePairScore")
937 def _object_cast_to_SurfaceDistancePairScore(o):
938 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
939 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
941 _object_types.append(
"SurfaceHeightPairScore")
944 def _object_cast_to_SurfaceHeightPairScore(o):
945 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
946 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
948 _object_types.append(
"SurfaceDepthPairScore")
951 def _object_cast_to_SurfaceDepthPairScore(o):
952 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
953 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
955 _object_types.append(
"SurfaceTetheredChain")
958 def _object_cast_to_SurfaceTetheredChain(o):
959 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
960 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
962 _object_types.append(
"SurfaceSymmetryConstraint")
965 def _object_cast_to_SurfaceSymmetryConstraint(o):
966 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
967 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
969 _object_types.append(
"SteepestDescent")
972 def _object_cast_to_SteepestDescent(o):
973 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
974 return _IMP_core._object_cast_to_SteepestDescent(o)
976 _object_types.append(
"TableRefiner")
979 def _object_cast_to_TableRefiner(o):
980 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
981 return _IMP_core._object_cast_to_TableRefiner(o)
983 _object_types.append(
"Transform")
986 def _object_cast_to_Transform(o):
987 """_object_cast_to_Transform(Object o) -> Transform"""
988 return _IMP_core._object_cast_to_Transform(o)
990 _object_types.append(
"TransformationAndReflectionSymmetry")
993 def _object_cast_to_TransformationAndReflectionSymmetry(o):
994 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
995 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
997 _object_types.append(
"TransformationSymmetry")
1000 def _object_cast_to_TransformationSymmetry(o):
1001 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
1002 return _IMP_core._object_cast_to_TransformationSymmetry(o)
1004 _object_types.append(
"TransformationSymmetryMover")
1007 def _object_cast_to_TransformationSymmetryMover(o):
1008 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1009 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1011 _object_types.append(
"TransformedDistancePairScore")
1014 def _object_cast_to_TransformedDistancePairScore(o):
1015 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1016 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1018 _object_types.append(
"TripletConstraint")
1021 def _object_cast_to_TripletConstraint(o):
1022 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1023 return _IMP_core._object_cast_to_TripletConstraint(o)
1025 _object_types.append(
"TripletRestraint")
1028 def _object_cast_to_TripletRestraint(o):
1029 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1030 return _IMP_core._object_cast_to_TripletRestraint(o)
1032 _object_types.append(
"TypedPairScore")
1035 def _object_cast_to_TypedPairScore(o):
1036 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1037 return _IMP_core._object_cast_to_TypedPairScore(o)
1039 _object_types.append(
"VolumeRestraint")
1042 def _object_cast_to_VolumeRestraint(o):
1043 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1044 return _IMP_core._object_cast_to_VolumeRestraint(o)
1046 _object_types.append(
"WeightedSphereDistancePairScore")
1049 def _object_cast_to_WeightedSphereDistancePairScore(o):
1050 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1051 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1053 _object_types.append(
"MoveStatisticsScoreState")
1056 def _object_cast_to_MoveStatisticsScoreState(o):
1057 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1058 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1060 _object_types.append(
"MinimumRestraint")
1063 def _object_cast_to_MinimumRestraint(o):
1064 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1065 return _IMP_core._object_cast_to_MinimumRestraint(o)
1067 _object_types.append(
"WriteRestraintScoresOptimizerState")
1070 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1071 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1072 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1074 _object_types.append(
"LateralSurfaceConstraint")
1077 def _object_cast_to_LateralSurfaceConstraint(o):
1078 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1079 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1081 _object_types.append(
"ConstantSingletonPredicate")
1084 def _object_cast_to_ConstantSingletonPredicate(o):
1085 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1086 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1088 _object_types.append(
"ConstantPairPredicate")
1091 def _object_cast_to_ConstantPairPredicate(o):
1092 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1093 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1095 _object_types.append(
"ConstantTripletPredicate")
1098 def _object_cast_to_ConstantTripletPredicate(o):
1099 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1100 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1102 _object_types.append(
"ConstantQuadPredicate")
1105 def _object_cast_to_ConstantQuadPredicate(o):
1106 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1107 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1109 _object_types.append(
"CoinFlipSingletonPredicate")
1112 def _object_cast_to_CoinFlipSingletonPredicate(o):
1113 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1114 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1116 _object_types.append(
"CoinFlipPairPredicate")
1119 def _object_cast_to_CoinFlipPairPredicate(o):
1120 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1121 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1123 _object_types.append(
"CoinFlipTripletPredicate")
1126 def _object_cast_to_CoinFlipTripletPredicate(o):
1127 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1128 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1130 _object_types.append(
"CoinFlipQuadPredicate")
1133 def _object_cast_to_CoinFlipQuadPredicate(o):
1134 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1135 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1137 _object_types.append(
"UnorderedTypeSingletonPredicate")
1140 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1141 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1142 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1144 _object_types.append(
"UnorderedTypePairPredicate")
1147 def _object_cast_to_UnorderedTypePairPredicate(o):
1148 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1149 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1151 _object_types.append(
"UnorderedTypeTripletPredicate")
1154 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1155 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1156 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1158 _object_types.append(
"UnorderedTypeQuadPredicate")
1161 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1162 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1163 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1165 _object_types.append(
"OrderedTypeSingletonPredicate")
1168 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1169 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1170 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1172 _object_types.append(
"OrderedTypePairPredicate")
1175 def _object_cast_to_OrderedTypePairPredicate(o):
1176 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1177 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1179 _object_types.append(
"OrderedTypeTripletPredicate")
1182 def _object_cast_to_OrderedTypeTripletPredicate(o):
1183 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1184 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1186 _object_types.append(
"OrderedTypeQuadPredicate")
1189 def _object_cast_to_OrderedTypeQuadPredicate(o):
1190 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1191 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1193 _object_types.append(
"AllSameSingletonPredicate")
1196 def _object_cast_to_AllSameSingletonPredicate(o):
1197 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1198 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1200 _object_types.append(
"AllSamePairPredicate")
1203 def _object_cast_to_AllSamePairPredicate(o):
1204 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1205 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1207 _object_types.append(
"AllSameTripletPredicate")
1210 def _object_cast_to_AllSameTripletPredicate(o):
1211 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1212 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1214 _object_types.append(
"AllSameQuadPredicate")
1217 def _object_cast_to_AllSameQuadPredicate(o):
1218 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1219 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1222 return [XYZ(x)
for x
in l]
1223 _plural_types.append(
"XYZs")
1226 _value_types.append(
"XYZ")
1230 return [XYZR(x)
for x
in l]
1231 _plural_types.append(
"XYZRs")
1234 _value_types.append(
"XYZR")
1237 def RigidBodies(l=[]):
1238 return [RigidBody(x)
for x
in l]
1239 _plural_types.append(
"RigidBodies")
1242 _value_types.append(
"RigidBody")
1245 def RigidBodyMembers(l=[]):
1246 return [RigidBodyMember(x)
for x
in l]
1247 _plural_types.append(
"RigidBodyMembers")
1250 _value_types.append(
"RigidBodyMember")
1253 def RigidMembers(l=[]):
1254 return [RigidMember(x)
for x
in l]
1255 _plural_types.append(
"RigidMembers")
1258 _value_types.append(
"RigidMember")
1261 def NonRigidMembers(l=[]):
1262 return [NonRigidMember(x)
for x
in l]
1263 _plural_types.append(
"NonRigidMembers")
1266 _value_types.append(
"NonRigidMember")
1269 def Centroids(l=[]):
1270 return [Centroid(x)
for x
in l]
1271 _plural_types.append(
"Centroids")
1274 _value_types.append(
"Centroid")
1278 return [Cover(x)
for x
in l]
1279 _plural_types.append(
"Covers")
1282 _value_types.append(
"Cover")
1285 def References(l=[]):
1286 return [Reference(x)
for x
in l]
1287 _plural_types.append(
"References")
1290 _value_types.append(
"Reference")
1294 _plural_types.append(
"ParticleTypes")
1295 _value_types.append(
"ParticleType")
1299 return [Typed(x)
for x
in l]
1300 _plural_types.append(
"Typeds")
1303 _value_types.append(
"Typed")
1306 def GenericHierarchies(l=[]):
1307 return [Hierarchy(x)
for x
in l]
1308 _plural_types.append(
"GenericHierarchies")
1311 _value_types.append(
"Hierarchy")
1314 def Gaussians(l=[]):
1315 return [Gaussian(x)
for x
in l]
1316 _plural_types.append(
"Gaussians")
1319 _value_types.append(
"Gaussian")
1322 def Directions(l=[]):
1323 return [Direction(x)
for x
in l]
1324 _plural_types.append(
"Directions")
1327 _value_types.append(
"Direction")
1330 def DirectionAngles(l=[]):
1331 return [DirectionAngle(x)
for x
in l]
1332 _plural_types.append(
"DirectionAngles")
1335 _value_types.append(
"DirectionAngle")
1339 return [Surface(x)
for x
in l]
1340 _plural_types.append(
"Surfaces")
1343 _value_types.append(
"Surface")
1346 def Provenances(l=[]):
1347 return [Provenance(x)
for x
in l]
1348 _plural_types.append(
"Provenances")
1351 _value_types.append(
"Provenance")
1354 def StructureProvenances(l=[]):
1355 return [StructureProvenance(x)
for x
in l]
1356 _plural_types.append(
"StructureProvenances")
1359 _value_types.append(
"StructureProvenance")
1362 def SampleProvenances(l=[]):
1363 return [SampleProvenance(x)
for x
in l]
1364 _plural_types.append(
"SampleProvenances")
1367 _value_types.append(
"SampleProvenance")
1370 def ClusterProvenances(l=[]):
1371 return [ClusterProvenance(x)
for x
in l]
1372 _plural_types.append(
"ClusterProvenances")
1375 _value_types.append(
"ClusterProvenance")
1378 def CombineProvenances(l=[]):
1379 return [CombineProvenance(x)
for x
in l]
1380 _plural_types.append(
"CombineProvenances")
1383 _value_types.append(
"CombineProvenance")
1386 def FilterProvenances(l=[]):
1387 return [FilterProvenance(x)
for x
in l]
1388 _plural_types.append(
"FilterProvenances")
1391 _value_types.append(
"FilterProvenance")
1394 def ScriptProvenances(l=[]):
1395 return [ScriptProvenance(x)
for x
in l]
1396 _plural_types.append(
"ScriptProvenances")
1399 _value_types.append(
"ScriptProvenance")
1402 def SoftwareProvenances(l=[]):
1403 return [SoftwareProvenance(x)
for x
in l]
1404 _plural_types.append(
"SoftwareProvenances")
1407 _value_types.append(
"SoftwareProvenance")
1410 def Provenanceds(l=[]):
1411 return [Provenanced(x)
for x
in l]
1412 _plural_types.append(
"Provenanceds")
1415 _value_types.append(
"Provenanced")
1418 HierarchyCounters=list
1419 _plural_types.append(
"HierarchyCounters")
1420 _value_types.append(
"HierarchyCounter")
1423 HierarchyTraitsList=list
1424 _plural_types.append(
"HierarchyTraitsList")
1425 _value_types.append(
"HierarchyTraits")
1428 _object_types.append(
"TruncatedHarmonicBound")
1431 def _object_cast_to_TruncatedHarmonicBound(o):
1432 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1433 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1435 _object_types.append(
"TruncatedHarmonicLowerBound")
1438 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1439 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1440 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1442 _object_types.append(
"TruncatedHarmonicUpperBound")
1445 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1446 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1447 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1449 _object_types.append(
"HarmonicDistancePairScore")
1452 def _object_cast_to_HarmonicDistancePairScore(o):
1453 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1454 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1456 _object_types.append(
"DistancePairScore")
1459 def _object_cast_to_DistancePairScore(o):
1460 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1461 return _IMP_core._object_cast_to_DistancePairScore(o)
1463 _object_types.append(
"XYZRGeometry")
1466 def _object_cast_to_XYZRGeometry(o):
1467 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1468 return _IMP_core._object_cast_to_XYZRGeometry(o)
1470 _object_types.append(
"XYZRsGeometry")
1473 def _object_cast_to_XYZRsGeometry(o):
1474 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1475 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1477 _object_types.append(
"XYZDerivativeGeometry")
1480 def _object_cast_to_XYZDerivativeGeometry(o):
1481 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1482 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1484 _object_types.append(
"XYZDerivativesGeometry")
1487 def _object_cast_to_XYZDerivativesGeometry(o):
1488 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1489 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1491 _object_types.append(
"RigidBodyDerivativeGeometry")
1494 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1495 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1496 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1498 _object_types.append(
"RigidBodyDerivativesGeometry")
1501 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1502 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1503 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1505 _object_types.append(
"RigidBodyHierarchyGeometry")
1508 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1509 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1510 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1512 _object_types.append(
"RigidBodyFrameGeometry")
1515 def _object_cast_to_RigidBodyFrameGeometry(o):
1516 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1517 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1519 _object_types.append(
"RigidBodyFramesGeometry")
1522 def _object_cast_to_RigidBodyFramesGeometry(o):
1523 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1524 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1526 _object_types.append(
"RigidBodyTorque")
1529 def _object_cast_to_RigidBodyTorque(o):
1530 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1531 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1533 _object_types.append(
"EdgePairGeometry")
1536 def _object_cast_to_EdgePairGeometry(o):
1537 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1538 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1540 _object_types.append(
"EdgePairsGeometry")
1543 def _object_cast_to_EdgePairsGeometry(o):
1544 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1545 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1547 _object_types.append(
"SurfaceGeometry")
1550 def _object_cast_to_SurfaceGeometry(o):
1551 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1552 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1554 _object_types.append(
"SurfaceGeometryConstraint")
1557 def _object_cast_to_SurfaceGeometryConstraint(o):
1558 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1559 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1561 _object_types.append(
"AttributeSingletonPredicate")
1564 def _object_cast_to_AttributeSingletonPredicate(o):
1565 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1566 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1568 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1571 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1572 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1573 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1575 _object_types.append(
"IsCollisionPairPredicate")
1578 def _object_cast_to_IsCollisionPairPredicate(o):
1579 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1580 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1582 BinormalTermList=list
1583 _plural_types.append(
"BinormalTermList")
1584 _value_types.append(
"BinormalTerm")
1587 _object_types.append(
"MultipleBinormalRestraint")
1590 def _object_cast_to_MultipleBinormalRestraint(o):
1591 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1592 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1593 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1594 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1598 def __init__(self, *args, **kwargs):
1599 raise AttributeError(
"No constructor defined - class is abstract")
1600 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1601 __del__ =
lambda self:
None
1603 def get_close_pairs(self, *args):
1605 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1606 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1607 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1608 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1610 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1613 def set_distance(self, d):
1614 """set_distance(ClosePairsFinder self, double d)"""
1615 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1619 """get_distance(ClosePairsFinder self) -> double"""
1620 return _IMP_core.ClosePairsFinder_get_distance(self)
1623 def remove_pair_filter(self, d):
1624 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1625 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1628 def remove_pair_filters(self, d):
1629 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1630 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1633 def set_pair_filters(self, ps):
1634 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1635 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1638 def set_pair_filters_order(self, objs):
1639 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1640 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1643 def add_pair_filter(self, obj):
1644 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1645 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1648 def add_pair_filters(self, objs):
1649 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1650 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1653 def clear_pair_filters(self):
1654 """clear_pair_filters(ClosePairsFinder self)"""
1655 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1658 def get_number_of_pair_filters(self):
1659 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1660 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1663 def get_has_pair_filters(self):
1664 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1665 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1668 def get_pair_filter(self, i):
1669 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1670 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1673 def get_pair_filters(self):
1674 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1675 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1678 def reserve_pair_filters(self, sz):
1679 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1680 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1684 """__str__(ClosePairsFinder self) -> std::string"""
1685 return _IMP_core.ClosePairsFinder___str__(self)
1689 """__repr__(ClosePairsFinder self) -> std::string"""
1690 return _IMP_core.ClosePairsFinder___repr__(self)
1695 return _object_cast_to_ClosePairsFinder(o)
1697 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1698 ClosePairsFinder_swigregister(ClosePairsFinder)
1700 class MonteCarloMoverResult(IMP._Value):
1701 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1705 def __init__(self, *args):
1707 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1708 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1709 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1711 this = _IMP_core.new_MonteCarloMoverResult(*args)
1713 self.this.append(this)
1714 except __builtin__.Exception:
1718 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1719 return _IMP_core.MonteCarloMoverResult___hash__(self)
1722 def show(self, *args):
1724 show(MonteCarloMoverResult self, _ostream out)
1725 show(MonteCarloMoverResult self)
1727 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1730 def __cmp__(self, o):
1731 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1732 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1735 def __eq__(self, o):
1736 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1737 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1740 def __ne__(self, o):
1741 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1742 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1745 def __lt__(self, o):
1746 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1747 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1750 def __gt__(self, o):
1751 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1752 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1755 def __ge__(self, o):
1756 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1757 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1760 def __le__(self, o):
1761 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1762 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1765 def get_moved_particles(self):
1766 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1767 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1770 def set_moved_particles(self, v):
1771 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1772 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1775 def get_proposal_ratio(self):
1776 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1777 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1780 def set_proposal_ratio(self, v):
1781 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1782 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1786 """__str__(MonteCarloMoverResult self) -> std::string"""
1787 return _IMP_core.MonteCarloMoverResult___str__(self)
1791 """__repr__(MonteCarloMoverResult self) -> std::string"""
1792 return _IMP_core.MonteCarloMoverResult___repr__(self)
1794 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1795 __del__ =
lambda self:
None
1796 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1797 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1800 """Proxy of C++ IMP::core::MonteCarloMover class."""
1802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1804 def __init__(self, m, name):
1805 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1806 if self.__class__ == MonteCarloMover:
1810 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1812 self.this.append(this)
1813 except __builtin__.Exception:
1816 if self.__class__ != MonteCarloMover:
1817 _director_objects.register(self)
1823 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1824 return _IMP_core.MonteCarloMover_propose(self)
1828 """reject(MonteCarloMover self)"""
1829 return _IMP_core.MonteCarloMover_reject(self)
1833 """accept(MonteCarloMover self)"""
1834 return _IMP_core.MonteCarloMover_accept(self)
1837 def get_number_of_proposed(self):
1838 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1839 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1842 def get_number_of_accepted(self):
1843 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1844 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1847 def reset_statistics(self):
1848 """reset_statistics(MonteCarloMover self)"""
1849 return _IMP_core.MonteCarloMover_reset_statistics(self)
1852 def do_propose(self):
1853 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1854 return _IMP_core.MonteCarloMover_do_propose(self)
1857 def do_reject(self):
1858 """do_reject(MonteCarloMover self)"""
1859 return _IMP_core.MonteCarloMover_do_reject(self)
1862 def do_accept(self):
1863 """do_accept(MonteCarloMover self)"""
1864 return _IMP_core.MonteCarloMover_do_accept(self)
1867 def do_get_outputs(self):
1868 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1869 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1873 """__str__(MonteCarloMover self) -> std::string"""
1874 return _IMP_core.MonteCarloMover___str__(self)
1878 """__repr__(MonteCarloMover self) -> std::string"""
1879 return _IMP_core.MonteCarloMover___repr__(self)
1884 return _object_cast_to_MonteCarloMover(o)
1887 def get_type_name(self):
1888 return self.__class__.__name__
1889 def do_show(self, out):
1891 def get_version_info(self):
1892 if"IMP::core" ==
"IMP":
1893 return VersionInfo(self.__module__,
1900 return _object_cast_to_MonteCarloMover(o)
1902 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1903 __del__ =
lambda self:
None
1904 def __disown__(self):
1906 _IMP_core.disown_MonteCarloMover(self)
1907 return weakref_proxy(self)
1909 def do_destroy(self):
1910 """do_destroy(MonteCarloMover self)"""
1911 return _IMP_core.MonteCarloMover_do_destroy(self)
1914 def handle_set_has_required_score_states(self, arg0):
1915 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1916 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1919 def do_get_inputs(self):
1920 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1921 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1924 def do_get_interactions(self):
1925 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1926 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1928 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1929 MonteCarloMover_swigregister(MonteCarloMover)
1932 """Proxy of C++ IMP::core::XYZ class."""
1934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1936 def get_coordinate_key(i):
1937 """get_coordinate_key(unsigned int i) -> FloatKey"""
1938 return _IMP_core.XYZ_get_coordinate_key(i)
1940 get_coordinate_key = staticmethod(get_coordinate_key)
1942 def __init__(self, *args):
1944 __init__(IMP::core::XYZ self) -> XYZ
1945 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1946 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1948 this = _IMP_core.new_XYZ(*args)
1950 self.this.append(this)
1951 except __builtin__.Exception:
1954 def show(self, *args):
1956 show(XYZ self, _ostream out)
1959 return _IMP_core.XYZ_show(self, *args)
1962 def setup_particle(*args):
1964 setup_particle(Model m, ParticleIndex pi) -> XYZ
1965 setup_particle(_ParticleAdaptor decorator) -> XYZ
1966 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1967 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1969 return _IMP_core.XYZ_setup_particle(*args)
1971 setup_particle = staticmethod(setup_particle)
1974 """get_x(XYZ self) -> IMP::Float"""
1975 return _IMP_core.XYZ_get_x(self)
1979 """set_x(XYZ self, IMP::Float t)"""
1980 return _IMP_core.XYZ_set_x(self, t)
1984 """get_y(XYZ self) -> IMP::Float"""
1985 return _IMP_core.XYZ_get_y(self)
1989 """set_y(XYZ self, IMP::Float t)"""
1990 return _IMP_core.XYZ_set_y(self, t)
1994 """get_z(XYZ self) -> IMP::Float"""
1995 return _IMP_core.XYZ_get_z(self)
1999 """set_z(XYZ self, IMP::Float t)"""
2000 return _IMP_core.XYZ_set_z(self, t)
2003 def set_coordinate(self, i, v):
2004 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
2005 return _IMP_core.XYZ_set_coordinate(self, i, v)
2008 def set_coordinates(self, v):
2009 """set_coordinates(XYZ self, Vector3D v)"""
2010 return _IMP_core.XYZ_set_coordinates(self, v)
2013 def get_coordinate(self, i):
2014 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2015 return _IMP_core.XYZ_get_coordinate(self, i)
2018 def add_to_derivatives(self, v, d):
2019 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2020 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2023 def get_coordinates_are_optimized(self):
2024 """get_coordinates_are_optimized(XYZ self) -> bool"""
2025 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2028 def set_coordinates_are_optimized(self, tf):
2029 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2030 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2033 def get_vector_to(self, b):
2034 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2035 return _IMP_core.XYZ_get_vector_to(self, b)
2038 def get_coordinates(self):
2039 """get_coordinates(XYZ self) -> Vector3D"""
2040 return _IMP_core.XYZ_get_coordinates(self)
2043 def get_derivatives(self):
2044 """get_derivatives(XYZ self) -> Vector3D"""
2045 return _IMP_core.XYZ_get_derivatives(self)
2048 def get_is_setup(*args):
2050 get_is_setup(_ParticleAdaptor p) -> bool
2051 get_is_setup(Model m, ParticleIndex pi) -> bool
2053 return _IMP_core.XYZ_get_is_setup(*args)
2055 get_is_setup = staticmethod(get_is_setup)
2058 """get_xyz_keys() -> IMP::FloatKeys const &"""
2059 return _IMP_core.XYZ_get_xyz_keys()
2061 get_xyz_keys = staticmethod(get_xyz_keys)
2063 def add_attribute(self, *args):
2065 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2066 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2067 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2068 add_attribute(XYZ self, FloatsKey a0, IMP::Floats a1)
2069 add_attribute(XYZ self, IntsKey a0, IMP::Ints a1)
2070 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2071 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2072 add_attribute(XYZ self, ObjectKey a0, Object a1)
2074 return _IMP_core.XYZ_add_attribute(self, *args)
2077 def get_value(self, *args):
2079 get_value(XYZ self, FloatKey a0) -> IMP::Float
2080 get_value(XYZ self, IntKey a0) -> IMP::Int
2081 get_value(XYZ self, FloatsKey a0) -> IMP::Floats
2082 get_value(XYZ self, IntsKey a0) -> IMP::Ints
2083 get_value(XYZ self, StringKey a0) -> IMP::String
2084 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2085 get_value(XYZ self, ObjectKey a0) -> Object
2087 return _IMP_core.XYZ_get_value(self, *args)
2090 def set_value(self, *args):
2092 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2093 set_value(XYZ self, IntKey a0, IMP::Int a1)
2094 set_value(XYZ self, FloatsKey a0, IMP::Floats a1)
2095 set_value(XYZ self, IntsKey a0, IMP::Ints a1)
2096 set_value(XYZ self, StringKey a0, IMP::String a1)
2097 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2098 set_value(XYZ self, ObjectKey a0, Object a1)
2100 return _IMP_core.XYZ_set_value(self, *args)
2103 def remove_attribute(self, *args):
2105 remove_attribute(XYZ self, FloatKey a0)
2106 remove_attribute(XYZ self, IntKey a0)
2107 remove_attribute(XYZ self, FloatsKey a0)
2108 remove_attribute(XYZ self, IntsKey a0)
2109 remove_attribute(XYZ self, StringKey a0)
2110 remove_attribute(XYZ self, ParticleIndexKey a0)
2111 remove_attribute(XYZ self, ObjectKey a0)
2113 return _IMP_core.XYZ_remove_attribute(self, *args)
2116 def has_attribute(self, *args):
2118 has_attribute(XYZ self, FloatKey a0) -> bool
2119 has_attribute(XYZ self, IntKey a0) -> bool
2120 has_attribute(XYZ self, FloatsKey a0) -> bool
2121 has_attribute(XYZ self, IntsKey a0) -> bool
2122 has_attribute(XYZ self, StringKey a0) -> bool
2123 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2124 has_attribute(XYZ self, ObjectKey a0) -> bool
2126 return _IMP_core.XYZ_has_attribute(self, *args)
2129 def get_derivative(self, *args):
2131 get_derivative(XYZ self, int i) -> IMP::Float
2132 get_derivative(XYZ self, FloatKey a0) -> double
2134 return _IMP_core.XYZ_get_derivative(self, *args)
2138 """get_name(XYZ self) -> std::string"""
2139 return _IMP_core.XYZ_get_name(self)
2142 def clear_caches(self):
2143 """clear_caches(XYZ self)"""
2144 return _IMP_core.XYZ_clear_caches(self)
2147 def set_name(self, a0):
2148 """set_name(XYZ self, std::string a0)"""
2149 return _IMP_core.XYZ_set_name(self, a0)
2153 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2154 return _IMP_core.XYZ_set_check_level(self, a0)
2157 def add_to_derivative(self, *args):
2159 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2160 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2162 return _IMP_core.XYZ_add_to_derivative(self, *args)
2165 def set_is_optimized(self, a0, a1):
2166 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2167 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2170 def get_is_optimized(self, a0):
2171 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2172 return _IMP_core.XYZ_get_is_optimized(self, a0)
2176 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2177 return _IMP_core.XYZ_get_check_level(self)
2180 def __eq__(self, *args):
2182 __eq__(XYZ self, XYZ o) -> bool
2183 __eq__(XYZ self, Particle d) -> bool
2185 return _IMP_core.XYZ___eq__(self, *args)
2188 def __ne__(self, *args):
2190 __ne__(XYZ self, XYZ o) -> bool
2191 __ne__(XYZ self, Particle d) -> bool
2193 return _IMP_core.XYZ___ne__(self, *args)
2196 def __le__(self, *args):
2198 __le__(XYZ self, XYZ o) -> bool
2199 __le__(XYZ self, Particle d) -> bool
2201 return _IMP_core.XYZ___le__(self, *args)
2204 def __lt__(self, *args):
2206 __lt__(XYZ self, XYZ o) -> bool
2207 __lt__(XYZ self, Particle d) -> bool
2209 return _IMP_core.XYZ___lt__(self, *args)
2212 def __ge__(self, *args):
2214 __ge__(XYZ self, XYZ o) -> bool
2215 __ge__(XYZ self, Particle d) -> bool
2217 return _IMP_core.XYZ___ge__(self, *args)
2220 def __gt__(self, *args):
2222 __gt__(XYZ self, XYZ o) -> bool
2223 __gt__(XYZ self, Particle d) -> bool
2225 return _IMP_core.XYZ___gt__(self, *args)
2229 """__hash__(XYZ self) -> std::size_t"""
2230 return _IMP_core.XYZ___hash__(self)
2234 """__str__(XYZ self) -> std::string"""
2235 return _IMP_core.XYZ___str__(self)
2239 """__repr__(XYZ self) -> std::string"""
2240 return _IMP_core.XYZ___repr__(self)
2242 __swig_destroy__ = _IMP_core.delete_XYZ
2243 __del__ =
lambda self:
None
2244 XYZ_swigregister = _IMP_core.XYZ_swigregister
2245 XYZ_swigregister(XYZ)
2247 def XYZ_get_coordinate_key(i):
2248 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2249 return _IMP_core.XYZ_get_coordinate_key(i)
2251 def XYZ_setup_particle(*args):
2253 setup_particle(Model m, ParticleIndex pi) -> XYZ
2254 setup_particle(_ParticleAdaptor decorator) -> XYZ
2255 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2256 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2258 return _IMP_core.XYZ_setup_particle(*args)
2260 def XYZ_get_is_setup(*args):
2262 get_is_setup(_ParticleAdaptor p) -> bool
2263 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2265 return _IMP_core.XYZ_get_is_setup(*args)
2267 def XYZ_get_xyz_keys():
2268 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2269 return _IMP_core.XYZ_get_xyz_keys()
2273 """set_vector_geometry(XYZ d, Vector3D v)"""
2274 return _IMP_core.set_vector_geometry(d, v)
2277 """get_vector_geometry(XYZ d) -> Vector3D"""
2278 return _IMP_core.get_vector_geometry(d)
2281 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2282 return _IMP_core.get_dihedral(a, b, c, d)
2284 """Proxy of C++ IMP::core::XYZR class."""
2286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2288 def __init__(self, *args):
2290 __init__(IMP::core::XYZR self) -> XYZR
2291 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2292 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2294 this = _IMP_core.new_XYZR(*args)
2296 self.this.append(this)
2297 except __builtin__.Exception:
2300 def show(self, *args):
2302 show(XYZR self, _ostream out)
2305 return _IMP_core.XYZR_show(self, *args)
2308 def setup_particle(*args):
2310 setup_particle(Model m, ParticleIndex pi) -> XYZR
2311 setup_particle(_ParticleAdaptor decorator) -> XYZR
2312 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2313 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2314 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2315 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2317 return _IMP_core.XYZR_setup_particle(*args)
2319 setup_particle = staticmethod(setup_particle)
2321 def get_is_setup(*args):
2323 get_is_setup(_ParticleAdaptor p) -> bool
2324 get_is_setup(Model m, ParticleIndex pi) -> bool
2326 return _IMP_core.XYZR_get_is_setup(*args)
2328 get_is_setup = staticmethod(get_is_setup)
2330 def get_radius(self):
2331 """get_radius(XYZR self) -> double"""
2332 return _IMP_core.XYZR_get_radius(self)
2335 def set_radius(self, r):
2336 """set_radius(XYZR self, double r)"""
2337 return _IMP_core.XYZR_set_radius(self, r)
2340 def get_sphere(self):
2341 """get_sphere(XYZR self) -> Sphere3D"""
2342 return _IMP_core.XYZR_get_sphere(self)
2345 def set_sphere(self, s):
2346 """set_sphere(XYZR self, Sphere3D s)"""
2347 return _IMP_core.XYZR_set_sphere(self, s)
2350 def get_radius_key():
2351 """get_radius_key() -> FloatKey"""
2352 return _IMP_core.XYZR_get_radius_key()
2354 get_radius_key = staticmethod(get_radius_key)
2356 def add_to_radius_derivative(self, v, d):
2357 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2358 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2361 def add_attribute(self, *args):
2363 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2364 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2365 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2366 add_attribute(XYZR self, FloatsKey a0, IMP::Floats a1)
2367 add_attribute(XYZR self, IntsKey a0, IMP::Ints a1)
2368 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2369 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2370 add_attribute(XYZR self, ObjectKey a0, Object a1)
2372 return _IMP_core.XYZR_add_attribute(self, *args)
2375 def get_value(self, *args):
2377 get_value(XYZR self, FloatKey a0) -> IMP::Float
2378 get_value(XYZR self, IntKey a0) -> IMP::Int
2379 get_value(XYZR self, FloatsKey a0) -> IMP::Floats
2380 get_value(XYZR self, IntsKey a0) -> IMP::Ints
2381 get_value(XYZR self, StringKey a0) -> IMP::String
2382 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2383 get_value(XYZR self, ObjectKey a0) -> Object
2385 return _IMP_core.XYZR_get_value(self, *args)
2388 def set_value(self, *args):
2390 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2391 set_value(XYZR self, IntKey a0, IMP::Int a1)
2392 set_value(XYZR self, FloatsKey a0, IMP::Floats a1)
2393 set_value(XYZR self, IntsKey a0, IMP::Ints a1)
2394 set_value(XYZR self, StringKey a0, IMP::String a1)
2395 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2396 set_value(XYZR self, ObjectKey a0, Object a1)
2398 return _IMP_core.XYZR_set_value(self, *args)
2401 def remove_attribute(self, *args):
2403 remove_attribute(XYZR self, FloatKey a0)
2404 remove_attribute(XYZR self, IntKey a0)
2405 remove_attribute(XYZR self, FloatsKey a0)
2406 remove_attribute(XYZR self, IntsKey a0)
2407 remove_attribute(XYZR self, StringKey a0)
2408 remove_attribute(XYZR self, ParticleIndexKey a0)
2409 remove_attribute(XYZR self, ObjectKey a0)
2411 return _IMP_core.XYZR_remove_attribute(self, *args)
2414 def has_attribute(self, *args):
2416 has_attribute(XYZR self, FloatKey a0) -> bool
2417 has_attribute(XYZR self, IntKey a0) -> bool
2418 has_attribute(XYZR self, FloatsKey a0) -> bool
2419 has_attribute(XYZR self, IntsKey a0) -> bool
2420 has_attribute(XYZR self, StringKey a0) -> bool
2421 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2422 has_attribute(XYZR self, ObjectKey a0) -> bool
2424 return _IMP_core.XYZR_has_attribute(self, *args)
2427 def get_derivative(self, a0):
2428 """get_derivative(XYZR self, FloatKey a0) -> double"""
2429 return _IMP_core.XYZR_get_derivative(self, a0)
2433 """get_name(XYZR self) -> std::string"""
2434 return _IMP_core.XYZR_get_name(self)
2437 def clear_caches(self):
2438 """clear_caches(XYZR self)"""
2439 return _IMP_core.XYZR_clear_caches(self)
2442 def set_name(self, a0):
2443 """set_name(XYZR self, std::string a0)"""
2444 return _IMP_core.XYZR_set_name(self, a0)
2448 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2449 return _IMP_core.XYZR_set_check_level(self, a0)
2452 def add_to_derivative(self, a0, a1, a2):
2453 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2454 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2457 def set_is_optimized(self, a0, a1):
2458 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2459 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2462 def get_is_optimized(self, a0):
2463 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2464 return _IMP_core.XYZR_get_is_optimized(self, a0)
2468 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2469 return _IMP_core.XYZR_get_check_level(self)
2472 def __eq__(self, *args):
2474 __eq__(XYZR self, XYZR o) -> bool
2475 __eq__(XYZR self, Particle d) -> bool
2477 return _IMP_core.XYZR___eq__(self, *args)
2480 def __ne__(self, *args):
2482 __ne__(XYZR self, XYZR o) -> bool
2483 __ne__(XYZR self, Particle d) -> bool
2485 return _IMP_core.XYZR___ne__(self, *args)
2488 def __le__(self, *args):
2490 __le__(XYZR self, XYZR o) -> bool
2491 __le__(XYZR self, Particle d) -> bool
2493 return _IMP_core.XYZR___le__(self, *args)
2496 def __lt__(self, *args):
2498 __lt__(XYZR self, XYZR o) -> bool
2499 __lt__(XYZR self, Particle d) -> bool
2501 return _IMP_core.XYZR___lt__(self, *args)
2504 def __ge__(self, *args):
2506 __ge__(XYZR self, XYZR o) -> bool
2507 __ge__(XYZR self, Particle d) -> bool
2509 return _IMP_core.XYZR___ge__(self, *args)
2512 def __gt__(self, *args):
2514 __gt__(XYZR self, XYZR o) -> bool
2515 __gt__(XYZR self, Particle d) -> bool
2517 return _IMP_core.XYZR___gt__(self, *args)
2521 """__hash__(XYZR self) -> std::size_t"""
2522 return _IMP_core.XYZR___hash__(self)
2526 """__str__(XYZR self) -> std::string"""
2527 return _IMP_core.XYZR___str__(self)
2531 """__repr__(XYZR self) -> std::string"""
2532 return _IMP_core.XYZR___repr__(self)
2534 __swig_destroy__ = _IMP_core.delete_XYZR
2535 __del__ =
lambda self:
None
2536 XYZR_swigregister = _IMP_core.XYZR_swigregister
2537 XYZR_swigregister(XYZR)
2539 def XYZR_setup_particle(*args):
2541 setup_particle(Model m, ParticleIndex pi) -> XYZR
2542 setup_particle(_ParticleAdaptor decorator) -> XYZR
2543 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2544 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2545 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2546 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2548 return _IMP_core.XYZR_setup_particle(*args)
2550 def XYZR_get_is_setup(*args):
2552 get_is_setup(_ParticleAdaptor p) -> bool
2553 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2555 return _IMP_core.XYZR_get_is_setup(*args)
2557 def XYZR_get_radius_key():
2558 """XYZR_get_radius_key() -> FloatKey"""
2559 return _IMP_core.XYZR_get_radius_key()
2564 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2565 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2567 return _IMP_core.set_enclosing_sphere(b, v, slack)
2570 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2571 return _IMP_core.set_enclosing_radius(b, v)
2574 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2575 return _IMP_core.get_enclosing_sphere(v)
2579 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2580 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2582 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2584 """Proxy of C++ IMP::core::XYZRGeometry class."""
2586 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2588 def __init__(self, *args):
2590 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2591 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2593 this = _IMP_core.new_XYZRGeometry(*args)
2595 self.this.append(this)
2596 except __builtin__.Exception:
2599 def get_version_info(self):
2600 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2601 return _IMP_core.XYZRGeometry_get_version_info(self)
2605 """__str__(XYZRGeometry self) -> std::string"""
2606 return _IMP_core.XYZRGeometry___str__(self)
2610 """__repr__(XYZRGeometry self) -> std::string"""
2611 return _IMP_core.XYZRGeometry___repr__(self)
2616 return _object_cast_to_XYZRGeometry(o)
2618 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2619 XYZRGeometry_swigregister(XYZRGeometry)
2622 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2626 def __init__(self, sc):
2627 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2628 this = _IMP_core.new_XYZRsGeometry(sc)
2630 self.this.append(this)
2631 except __builtin__.Exception:
2634 def get_version_info(self):
2635 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2636 return _IMP_core.XYZRsGeometry_get_version_info(self)
2640 """__str__(XYZRsGeometry self) -> std::string"""
2641 return _IMP_core.XYZRsGeometry___str__(self)
2645 """__repr__(XYZRsGeometry self) -> std::string"""
2646 return _IMP_core.XYZRsGeometry___repr__(self)
2651 return _object_cast_to_XYZRsGeometry(o)
2653 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2654 XYZRsGeometry_swigregister(XYZRsGeometry)
2657 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2661 def __init__(self, *args):
2663 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2664 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2666 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2668 self.this.append(this)
2669 except __builtin__.Exception:
2672 def get_version_info(self):
2673 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2674 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2678 """__str__(XYZDerivativeGeometry self) -> std::string"""
2679 return _IMP_core.XYZDerivativeGeometry___str__(self)
2683 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2684 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2689 return _object_cast_to_XYZDerivativeGeometry(o)
2691 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2692 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2695 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2697 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2699 def __init__(self, sc):
2700 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2701 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2703 self.this.append(this)
2704 except __builtin__.Exception:
2707 def get_version_info(self):
2708 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2709 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2713 """__str__(XYZDerivativesGeometry self) -> std::string"""
2714 return _IMP_core.XYZDerivativesGeometry___str__(self)
2718 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2719 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2724 return _object_cast_to_XYZDerivativesGeometry(o)
2726 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2727 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2730 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2732 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2734 def __init__(self, pp):
2735 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2736 this = _IMP_core.new_EdgePairGeometry(pp)
2738 self.this.append(this)
2739 except __builtin__.Exception:
2742 def get_version_info(self):
2743 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2744 return _IMP_core.EdgePairGeometry_get_version_info(self)
2748 """__str__(EdgePairGeometry self) -> std::string"""
2749 return _IMP_core.EdgePairGeometry___str__(self)
2753 """__repr__(EdgePairGeometry self) -> std::string"""
2754 return _IMP_core.EdgePairGeometry___repr__(self)
2759 return _object_cast_to_EdgePairGeometry(o)
2761 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2762 EdgePairGeometry_swigregister(EdgePairGeometry)
2765 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2769 def __init__(self, sc):
2770 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2771 this = _IMP_core.new_EdgePairsGeometry(sc)
2773 self.this.append(this)
2774 except __builtin__.Exception:
2777 def get_version_info(self):
2778 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2779 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2783 """__str__(EdgePairsGeometry self) -> std::string"""
2784 return _IMP_core.EdgePairsGeometry___str__(self)
2788 """__repr__(EdgePairsGeometry self) -> std::string"""
2789 return _IMP_core.EdgePairsGeometry___repr__(self)
2794 return _object_cast_to_EdgePairsGeometry(o)
2796 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2797 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2800 """Proxy of C++ IMP::core::Direction class."""
2802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2804 def do_setup_particle(m, pi, v):
2805 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2806 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2808 do_setup_particle = staticmethod(do_setup_particle)
2810 def __init__(self, *args):
2812 __init__(IMP::core::Direction self) -> Direction
2813 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2814 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2816 this = _IMP_core.new_Direction(*args)
2818 self.this.append(this)
2819 except __builtin__.Exception:
2822 def show(self, *args):
2824 show(Direction self, _ostream out)
2825 show(Direction self)
2827 return _IMP_core.Direction_show(self, *args)
2830 def setup_particle(*args):
2832 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2833 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2835 return _IMP_core.Direction_setup_particle(*args)
2837 setup_particle = staticmethod(setup_particle)
2839 def get_is_setup(*args):
2841 get_is_setup(_ParticleAdaptor p) -> bool
2842 get_is_setup(Model m, ParticleIndex pi) -> bool
2844 return _IMP_core.Direction_get_is_setup(*args)
2846 get_is_setup = staticmethod(get_is_setup)
2848 def get_direction_key(i):
2849 """get_direction_key(unsigned int i) -> FloatKey"""
2850 return _IMP_core.Direction_get_direction_key(i)
2852 get_direction_key = staticmethod(get_direction_key)
2854 def get_direction_derivative(self, i):
2855 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2856 return _IMP_core.Direction_get_direction_derivative(self, i)
2859 def get_direction_derivatives(self):
2860 """get_direction_derivatives(Direction self) -> Vector3D"""
2861 return _IMP_core.Direction_get_direction_derivatives(self)
2864 def add_to_direction_derivative(self, i, v, d):
2865 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2866 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2869 def add_to_direction_derivatives(self, v, d):
2870 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2871 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2874 def get_direction_is_optimized(self):
2875 """get_direction_is_optimized(Direction self) -> bool"""
2876 return _IMP_core.Direction_get_direction_is_optimized(self)
2879 def set_direction_is_optimized(self, tf):
2880 """set_direction_is_optimized(Direction self, bool tf)"""
2881 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2884 def get_direction(self):
2885 """get_direction(Direction self) -> Vector3D"""
2886 return _IMP_core.Direction_get_direction(self)
2889 def set_direction(self, v):
2890 """set_direction(Direction self, Vector3D v)"""
2891 return _IMP_core.Direction_set_direction(self, v)
2895 """reflect(Direction self)"""
2896 return _IMP_core.Direction_reflect(self)
2899 def add_attribute(self, *args):
2901 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
2902 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
2903 add_attribute(Direction self, IntKey a0, IMP::Int a1)
2904 add_attribute(Direction self, FloatsKey a0, IMP::Floats a1)
2905 add_attribute(Direction self, IntsKey a0, IMP::Ints a1)
2906 add_attribute(Direction self, StringKey a0, IMP::String a1)
2907 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
2908 add_attribute(Direction self, ObjectKey a0, Object a1)
2910 return _IMP_core.Direction_add_attribute(self, *args)
2913 def get_value(self, *args):
2915 get_value(Direction self, FloatKey a0) -> IMP::Float
2916 get_value(Direction self, IntKey a0) -> IMP::Int
2917 get_value(Direction self, FloatsKey a0) -> IMP::Floats
2918 get_value(Direction self, IntsKey a0) -> IMP::Ints
2919 get_value(Direction self, StringKey a0) -> IMP::String
2920 get_value(Direction self, ParticleIndexKey a0) -> Particle
2921 get_value(Direction self, ObjectKey a0) -> Object
2923 return _IMP_core.Direction_get_value(self, *args)
2926 def set_value(self, *args):
2928 set_value(Direction self, FloatKey a0, IMP::Float a1)
2929 set_value(Direction self, IntKey a0, IMP::Int a1)
2930 set_value(Direction self, FloatsKey a0, IMP::Floats a1)
2931 set_value(Direction self, IntsKey a0, IMP::Ints a1)
2932 set_value(Direction self, StringKey a0, IMP::String a1)
2933 set_value(Direction self, ParticleIndexKey a0, Particle a1)
2934 set_value(Direction self, ObjectKey a0, Object a1)
2936 return _IMP_core.Direction_set_value(self, *args)
2939 def remove_attribute(self, *args):
2941 remove_attribute(Direction self, FloatKey a0)
2942 remove_attribute(Direction self, IntKey a0)
2943 remove_attribute(Direction self, FloatsKey a0)
2944 remove_attribute(Direction self, IntsKey a0)
2945 remove_attribute(Direction self, StringKey a0)
2946 remove_attribute(Direction self, ParticleIndexKey a0)
2947 remove_attribute(Direction self, ObjectKey a0)
2949 return _IMP_core.Direction_remove_attribute(self, *args)
2952 def has_attribute(self, *args):
2954 has_attribute(Direction self, FloatKey a0) -> bool
2955 has_attribute(Direction self, IntKey a0) -> bool
2956 has_attribute(Direction self, FloatsKey a0) -> bool
2957 has_attribute(Direction self, IntsKey a0) -> bool
2958 has_attribute(Direction self, StringKey a0) -> bool
2959 has_attribute(Direction self, ParticleIndexKey a0) -> bool
2960 has_attribute(Direction self, ObjectKey a0) -> bool
2962 return _IMP_core.Direction_has_attribute(self, *args)
2965 def get_derivative(self, a0):
2966 """get_derivative(Direction self, FloatKey a0) -> double"""
2967 return _IMP_core.Direction_get_derivative(self, a0)
2971 """get_name(Direction self) -> std::string"""
2972 return _IMP_core.Direction_get_name(self)
2975 def clear_caches(self):
2976 """clear_caches(Direction self)"""
2977 return _IMP_core.Direction_clear_caches(self)
2980 def set_name(self, a0):
2981 """set_name(Direction self, std::string a0)"""
2982 return _IMP_core.Direction_set_name(self, a0)
2986 """set_check_level(Direction self, IMP::CheckLevel a0)"""
2987 return _IMP_core.Direction_set_check_level(self, a0)
2990 def add_to_derivative(self, a0, a1, a2):
2991 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2992 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
2995 def set_is_optimized(self, a0, a1):
2996 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
2997 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
3000 def get_is_optimized(self, a0):
3001 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
3002 return _IMP_core.Direction_get_is_optimized(self, a0)
3006 """get_check_level(Direction self) -> IMP::CheckLevel"""
3007 return _IMP_core.Direction_get_check_level(self)
3010 def __eq__(self, *args):
3012 __eq__(Direction self, Direction o) -> bool
3013 __eq__(Direction self, Particle d) -> bool
3015 return _IMP_core.Direction___eq__(self, *args)
3018 def __ne__(self, *args):
3020 __ne__(Direction self, Direction o) -> bool
3021 __ne__(Direction self, Particle d) -> bool
3023 return _IMP_core.Direction___ne__(self, *args)
3026 def __le__(self, *args):
3028 __le__(Direction self, Direction o) -> bool
3029 __le__(Direction self, Particle d) -> bool
3031 return _IMP_core.Direction___le__(self, *args)
3034 def __lt__(self, *args):
3036 __lt__(Direction self, Direction o) -> bool
3037 __lt__(Direction self, Particle d) -> bool
3039 return _IMP_core.Direction___lt__(self, *args)
3042 def __ge__(self, *args):
3044 __ge__(Direction self, Direction o) -> bool
3045 __ge__(Direction self, Particle d) -> bool
3047 return _IMP_core.Direction___ge__(self, *args)
3050 def __gt__(self, *args):
3052 __gt__(Direction self, Direction o) -> bool
3053 __gt__(Direction self, Particle d) -> bool
3055 return _IMP_core.Direction___gt__(self, *args)
3059 """__hash__(Direction self) -> std::size_t"""
3060 return _IMP_core.Direction___hash__(self)
3064 """__str__(Direction self) -> std::string"""
3065 return _IMP_core.Direction___str__(self)
3069 """__repr__(Direction self) -> std::string"""
3070 return _IMP_core.Direction___repr__(self)
3072 __swig_destroy__ = _IMP_core.delete_Direction
3073 __del__ =
lambda self:
None
3074 Direction_swigregister = _IMP_core.Direction_swigregister
3075 Direction_swigregister(Direction)
3077 def Direction_do_setup_particle(m, pi, v):
3078 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3079 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3081 def Direction_setup_particle(*args):
3083 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3084 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3086 return _IMP_core.Direction_setup_particle(*args)
3088 def Direction_get_is_setup(*args):
3090 get_is_setup(_ParticleAdaptor p) -> bool
3091 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3093 return _IMP_core.Direction_get_is_setup(*args)
3095 def Direction_get_direction_key(i):
3096 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3097 return _IMP_core.Direction_get_direction_key(i)
3101 """get_angle(Direction a, Direction b) -> double"""
3102 return _IMP_core.get_angle(a, b)
3104 """Proxy of C++ IMP::core::DirectionAngle class."""
3106 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3108 def __init__(self, *args):
3110 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3111 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3112 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3114 this = _IMP_core.new_DirectionAngle(*args)
3116 self.this.append(this)
3117 except __builtin__.Exception:
3120 def show(self, *args):
3122 show(DirectionAngle self, _ostream out)
3123 show(DirectionAngle self)
3125 return _IMP_core.DirectionAngle_show(self, *args)
3128 def setup_particle(*args):
3130 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3131 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3132 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3133 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3135 return _IMP_core.DirectionAngle_setup_particle(*args)
3137 setup_particle = staticmethod(setup_particle)
3139 def get_is_setup(*args):
3141 get_is_setup(_ParticleAdaptor p) -> bool
3142 get_is_setup(Model m, ParticleIndex pi) -> bool
3144 return _IMP_core.DirectionAngle_get_is_setup(*args)
3146 get_is_setup = staticmethod(get_is_setup)
3148 def get_angle_key():
3149 """get_angle_key() -> FloatKey"""
3150 return _IMP_core.DirectionAngle_get_angle_key()
3152 get_angle_key = staticmethod(get_angle_key)
3154 def get_particle_key(i):
3155 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3156 return _IMP_core.DirectionAngle_get_particle_key(i)
3158 get_particle_key = staticmethod(get_particle_key)
3160 def get_particle(self, *args):
3162 get_particle(DirectionAngle self, unsigned int i) -> Particle
3163 get_particle(DirectionAngle self) -> Particle
3165 return _IMP_core.DirectionAngle_get_particle(self, *args)
3168 def get_particle_index(self, *args):
3170 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3171 get_particle_index(DirectionAngle self) -> ParticleIndex
3173 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3177 """get_angle(DirectionAngle self) -> IMP::Float"""
3178 return _IMP_core.DirectionAngle_get_angle(self)
3181 def get_angle_derivative(self):
3182 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3183 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3186 def add_to_angle_derivative(self, v, d):
3187 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3188 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3191 def add_attribute(self, *args):
3193 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3194 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3195 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3196 add_attribute(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3197 add_attribute(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3198 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3199 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3200 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3202 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3205 def get_value(self, *args):
3207 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3208 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3209 get_value(DirectionAngle self, FloatsKey a0) -> IMP::Floats
3210 get_value(DirectionAngle self, IntsKey a0) -> IMP::Ints
3211 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3212 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3213 get_value(DirectionAngle self, ObjectKey a0) -> Object
3215 return _IMP_core.DirectionAngle_get_value(self, *args)
3218 def set_value(self, *args):
3220 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3221 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3222 set_value(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3223 set_value(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3224 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3225 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3226 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3228 return _IMP_core.DirectionAngle_set_value(self, *args)
3231 def remove_attribute(self, *args):
3233 remove_attribute(DirectionAngle self, FloatKey a0)
3234 remove_attribute(DirectionAngle self, IntKey a0)
3235 remove_attribute(DirectionAngle self, FloatsKey a0)
3236 remove_attribute(DirectionAngle self, IntsKey a0)
3237 remove_attribute(DirectionAngle self, StringKey a0)
3238 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3239 remove_attribute(DirectionAngle self, ObjectKey a0)
3241 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3244 def has_attribute(self, *args):
3246 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3247 has_attribute(DirectionAngle self, IntKey a0) -> bool
3248 has_attribute(DirectionAngle self, FloatsKey a0) -> bool
3249 has_attribute(DirectionAngle self, IntsKey a0) -> bool
3250 has_attribute(DirectionAngle self, StringKey a0) -> bool
3251 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3252 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3254 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3257 def get_derivative(self, a0):
3258 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3259 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3263 """get_name(DirectionAngle self) -> std::string"""
3264 return _IMP_core.DirectionAngle_get_name(self)
3267 def clear_caches(self):
3268 """clear_caches(DirectionAngle self)"""
3269 return _IMP_core.DirectionAngle_clear_caches(self)
3272 def set_name(self, a0):
3273 """set_name(DirectionAngle self, std::string a0)"""
3274 return _IMP_core.DirectionAngle_set_name(self, a0)
3278 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3279 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3282 def add_to_derivative(self, a0, a1, a2):
3283 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3284 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3287 def set_is_optimized(self, a0, a1):
3288 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3289 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3292 def get_is_optimized(self, a0):
3293 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3294 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3298 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3299 return _IMP_core.DirectionAngle_get_check_level(self)
3302 def __eq__(self, *args):
3304 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3305 __eq__(DirectionAngle self, Particle d) -> bool
3307 return _IMP_core.DirectionAngle___eq__(self, *args)
3310 def __ne__(self, *args):
3312 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3313 __ne__(DirectionAngle self, Particle d) -> bool
3315 return _IMP_core.DirectionAngle___ne__(self, *args)
3318 def __le__(self, *args):
3320 __le__(DirectionAngle self, DirectionAngle o) -> bool
3321 __le__(DirectionAngle self, Particle d) -> bool
3323 return _IMP_core.DirectionAngle___le__(self, *args)
3326 def __lt__(self, *args):
3328 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3329 __lt__(DirectionAngle self, Particle d) -> bool
3331 return _IMP_core.DirectionAngle___lt__(self, *args)
3334 def __ge__(self, *args):
3336 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3337 __ge__(DirectionAngle self, Particle d) -> bool
3339 return _IMP_core.DirectionAngle___ge__(self, *args)
3342 def __gt__(self, *args):
3344 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3345 __gt__(DirectionAngle self, Particle d) -> bool
3347 return _IMP_core.DirectionAngle___gt__(self, *args)
3351 """__hash__(DirectionAngle self) -> std::size_t"""
3352 return _IMP_core.DirectionAngle___hash__(self)
3356 """__str__(DirectionAngle self) -> std::string"""
3357 return _IMP_core.DirectionAngle___str__(self)
3361 """__repr__(DirectionAngle self) -> std::string"""
3362 return _IMP_core.DirectionAngle___repr__(self)
3364 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3365 __del__ =
lambda self:
None
3366 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3367 DirectionAngle_swigregister(DirectionAngle)
3369 def DirectionAngle_setup_particle(*args):
3371 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3372 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3373 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3374 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3376 return _IMP_core.DirectionAngle_setup_particle(*args)
3378 def DirectionAngle_get_is_setup(*args):
3380 get_is_setup(_ParticleAdaptor p) -> bool
3381 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3383 return _IMP_core.DirectionAngle_get_is_setup(*args)
3385 def DirectionAngle_get_angle_key():
3386 """DirectionAngle_get_angle_key() -> FloatKey"""
3387 return _IMP_core.DirectionAngle_get_angle_key()
3389 def DirectionAngle_get_particle_key(i):
3390 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3391 return _IMP_core.DirectionAngle_get_particle_key(i)
3394 """Proxy of C++ IMP::core::Surface class."""
3396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3398 def do_setup_particle(*args):
3400 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3401 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3402 do_setup_particle(Model m, ParticleIndex pi)
3403 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3405 return _IMP_core.Surface_do_setup_particle(*args)
3407 do_setup_particle = staticmethod(do_setup_particle)
3409 def __init__(self, *args):
3411 __init__(IMP::core::Surface self) -> Surface
3412 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3413 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3415 this = _IMP_core.new_Surface(*args)
3417 self.this.append(this)
3418 except __builtin__.Exception:
3421 def show(self, *args):
3423 show(Surface self, _ostream out)
3426 return _IMP_core.Surface_show(self, *args)
3429 def setup_particle(*args):
3431 setup_particle(Model m, ParticleIndex pi) -> Surface
3432 setup_particle(_ParticleAdaptor decorator) -> Surface
3433 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3434 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3435 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3436 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3437 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3438 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3440 return _IMP_core.Surface_setup_particle(*args)
3442 setup_particle = staticmethod(setup_particle)
3444 def get_normal_x(self):
3445 """get_normal_x(Surface self) -> IMP::Float"""
3446 return _IMP_core.Surface_get_normal_x(self)
3449 def set_normal_x(self, t):
3450 """set_normal_x(Surface self, IMP::Float t)"""
3451 return _IMP_core.Surface_set_normal_x(self, t)
3454 def get_normal_y(self):
3455 """get_normal_y(Surface self) -> IMP::Float"""
3456 return _IMP_core.Surface_get_normal_y(self)
3459 def set_normal_y(self, t):
3460 """set_normal_y(Surface self, IMP::Float t)"""
3461 return _IMP_core.Surface_set_normal_y(self, t)
3464 def get_normal_z(self):
3465 """get_normal_z(Surface self) -> IMP::Float"""
3466 return _IMP_core.Surface_get_normal_z(self)
3469 def set_normal_z(self, t):
3470 """set_normal_z(Surface self, IMP::Float t)"""
3471 return _IMP_core.Surface_set_normal_z(self, t)
3474 def get_is_setup(*args):
3476 get_is_setup(_ParticleAdaptor p) -> bool
3477 get_is_setup(Model m, ParticleIndex pi) -> bool
3479 return _IMP_core.Surface_get_is_setup(*args)
3481 get_is_setup = staticmethod(get_is_setup)
3483 def get_normal_key(i):
3484 """get_normal_key(unsigned int i) -> FloatKey"""
3485 return _IMP_core.Surface_get_normal_key(i)
3487 get_normal_key = staticmethod(get_normal_key)
3489 def get_normal_derivative(self, i):
3490 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3491 return _IMP_core.Surface_get_normal_derivative(self, i)
3494 def get_normal_derivatives(self):
3495 """get_normal_derivatives(Surface self) -> Vector3D"""
3496 return _IMP_core.Surface_get_normal_derivatives(self)
3499 def add_to_normal_derivative(self, i, v, d):
3500 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3501 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3504 def add_to_normal_derivatives(self, v, d):
3505 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3506 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3509 def get_normal_is_optimized(self):
3510 """get_normal_is_optimized(Surface self) -> bool"""
3511 return _IMP_core.Surface_get_normal_is_optimized(self)
3514 def set_normal_is_optimized(self, tf):
3515 """set_normal_is_optimized(Surface self, bool tf)"""
3516 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3519 def get_normal(self):
3520 """get_normal(Surface self) -> Vector3D"""
3521 return _IMP_core.Surface_get_normal(self)
3524 def set_normal(self, normal):
3525 """set_normal(Surface self, Vector3D normal)"""
3526 return _IMP_core.Surface_set_normal(self, normal)
3530 """reflect(Surface self)"""
3531 return _IMP_core.Surface_reflect(self)
3535 """get_height(Surface self, Vector3D v) -> double"""
3536 return _IMP_core.Surface_get_height(self, v)
3540 """get_depth(Surface self, Vector3D v) -> double"""
3541 return _IMP_core.Surface_get_depth(self, v)
3544 def get_distance_to(self, v):
3545 """get_distance_to(Surface self, Vector3D v) -> double"""
3546 return _IMP_core.Surface_get_distance_to(self, v)
3549 def get_distance_to_center(self, v):
3550 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3551 return _IMP_core.Surface_get_distance_to_center(self, v)
3554 def set_reference_frame(self, rf):
3555 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3556 return _IMP_core.Surface_set_reference_frame(self, rf)
3559 def get_reference_frame(self):
3560 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3561 return _IMP_core.Surface_get_reference_frame(self)
3564 def get_plane(self):
3565 """get_plane(Surface self) -> Plane3D"""
3566 return _IMP_core.Surface_get_plane(self)
3569 def add_attribute(self, *args):
3571 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3572 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3573 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3574 add_attribute(Surface self, FloatsKey a0, IMP::Floats a1)
3575 add_attribute(Surface self, IntsKey a0, IMP::Ints a1)
3576 add_attribute(Surface self, StringKey a0, IMP::String a1)
3577 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3578 add_attribute(Surface self, ObjectKey a0, Object a1)
3580 return _IMP_core.Surface_add_attribute(self, *args)
3583 def get_value(self, *args):
3585 get_value(Surface self, FloatKey a0) -> IMP::Float
3586 get_value(Surface self, IntKey a0) -> IMP::Int
3587 get_value(Surface self, FloatsKey a0) -> IMP::Floats
3588 get_value(Surface self, IntsKey a0) -> IMP::Ints
3589 get_value(Surface self, StringKey a0) -> IMP::String
3590 get_value(Surface self, ParticleIndexKey a0) -> Particle
3591 get_value(Surface self, ObjectKey a0) -> Object
3593 return _IMP_core.Surface_get_value(self, *args)
3596 def set_value(self, *args):
3598 set_value(Surface self, FloatKey a0, IMP::Float a1)
3599 set_value(Surface self, IntKey a0, IMP::Int a1)
3600 set_value(Surface self, FloatsKey a0, IMP::Floats a1)
3601 set_value(Surface self, IntsKey a0, IMP::Ints a1)
3602 set_value(Surface self, StringKey a0, IMP::String a1)
3603 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3604 set_value(Surface self, ObjectKey a0, Object a1)
3606 return _IMP_core.Surface_set_value(self, *args)
3609 def remove_attribute(self, *args):
3611 remove_attribute(Surface self, FloatKey a0)
3612 remove_attribute(Surface self, IntKey a0)
3613 remove_attribute(Surface self, FloatsKey a0)
3614 remove_attribute(Surface self, IntsKey a0)
3615 remove_attribute(Surface self, StringKey a0)
3616 remove_attribute(Surface self, ParticleIndexKey a0)
3617 remove_attribute(Surface self, ObjectKey a0)
3619 return _IMP_core.Surface_remove_attribute(self, *args)
3622 def has_attribute(self, *args):
3624 has_attribute(Surface self, FloatKey a0) -> bool
3625 has_attribute(Surface self, IntKey a0) -> bool
3626 has_attribute(Surface self, FloatsKey a0) -> bool
3627 has_attribute(Surface self, IntsKey a0) -> bool
3628 has_attribute(Surface self, StringKey a0) -> bool
3629 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3630 has_attribute(Surface self, ObjectKey a0) -> bool
3632 return _IMP_core.Surface_has_attribute(self, *args)
3635 def get_derivative(self, a0):
3636 """get_derivative(Surface self, FloatKey a0) -> double"""
3637 return _IMP_core.Surface_get_derivative(self, a0)
3641 """get_name(Surface self) -> std::string"""
3642 return _IMP_core.Surface_get_name(self)
3645 def clear_caches(self):
3646 """clear_caches(Surface self)"""
3647 return _IMP_core.Surface_clear_caches(self)
3650 def set_name(self, a0):
3651 """set_name(Surface self, std::string a0)"""
3652 return _IMP_core.Surface_set_name(self, a0)
3656 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3657 return _IMP_core.Surface_set_check_level(self, a0)
3660 def add_to_derivative(self, a0, a1, a2):
3661 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3662 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3665 def set_is_optimized(self, a0, a1):
3666 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3667 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3670 def get_is_optimized(self, a0):
3671 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3672 return _IMP_core.Surface_get_is_optimized(self, a0)
3676 """get_check_level(Surface self) -> IMP::CheckLevel"""
3677 return _IMP_core.Surface_get_check_level(self)
3680 def __eq__(self, *args):
3682 __eq__(Surface self, Surface o) -> bool
3683 __eq__(Surface self, Particle d) -> bool
3685 return _IMP_core.Surface___eq__(self, *args)
3688 def __ne__(self, *args):
3690 __ne__(Surface self, Surface o) -> bool
3691 __ne__(Surface self, Particle d) -> bool
3693 return _IMP_core.Surface___ne__(self, *args)
3696 def __le__(self, *args):
3698 __le__(Surface self, Surface o) -> bool
3699 __le__(Surface self, Particle d) -> bool
3701 return _IMP_core.Surface___le__(self, *args)
3704 def __lt__(self, *args):
3706 __lt__(Surface self, Surface o) -> bool
3707 __lt__(Surface self, Particle d) -> bool
3709 return _IMP_core.Surface___lt__(self, *args)
3712 def __ge__(self, *args):
3714 __ge__(Surface self, Surface o) -> bool
3715 __ge__(Surface self, Particle d) -> bool
3717 return _IMP_core.Surface___ge__(self, *args)
3720 def __gt__(self, *args):
3722 __gt__(Surface self, Surface o) -> bool
3723 __gt__(Surface self, Particle d) -> bool
3725 return _IMP_core.Surface___gt__(self, *args)
3729 """__hash__(Surface self) -> std::size_t"""
3730 return _IMP_core.Surface___hash__(self)
3734 """__str__(Surface self) -> std::string"""
3735 return _IMP_core.Surface___str__(self)
3739 """__repr__(Surface self) -> std::string"""
3740 return _IMP_core.Surface___repr__(self)
3742 __swig_destroy__ = _IMP_core.delete_Surface
3743 __del__ =
lambda self:
None
3744 Surface_swigregister = _IMP_core.Surface_swigregister
3745 Surface_swigregister(Surface)
3747 def Surface_do_setup_particle(*args):
3749 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3750 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3751 do_setup_particle(Model m, ParticleIndex pi)
3752 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3754 return _IMP_core.Surface_do_setup_particle(*args)
3756 def Surface_setup_particle(*args):
3758 setup_particle(Model m, ParticleIndex pi) -> Surface
3759 setup_particle(_ParticleAdaptor decorator) -> Surface
3760 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3761 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3762 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3763 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3764 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3765 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3767 return _IMP_core.Surface_setup_particle(*args)
3769 def Surface_get_is_setup(*args):
3771 get_is_setup(_ParticleAdaptor p) -> bool
3772 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3774 return _IMP_core.Surface_get_is_setup(*args)
3776 def Surface_get_normal_key(i):
3777 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3778 return _IMP_core.Surface_get_normal_key(i)
3783 get_height(Surface s, XYZR d) -> double
3784 get_height(Surface s, XYZ d) -> double
3786 return _IMP_core.get_height(*args)
3790 get_depth(Surface s, XYZR d) -> double
3791 get_depth(Surface s, XYZ d) -> double
3793 return _IMP_core.get_depth(*args)
3797 get_distance(XYZ a, XYZ b) -> double
3798 get_distance(XYZR a, XYZR b) -> double
3799 get_distance(Surface s, XYZR d) -> double
3800 get_distance(Surface s, XYZ d) -> double
3802 return _IMP_core.get_distance(*args)
3804 """Proxy of C++ IMP::core::SurfaceGeometry 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::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3811 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3812 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3813 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3814 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3815 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3817 this = _IMP_core.new_SurfaceGeometry(*args)
3819 self.this.append(this)
3820 except __builtin__.Exception:
3823 def get_geometry(self):
3824 """get_geometry(SurfaceGeometry self) -> Surface"""
3825 return _IMP_core.SurfaceGeometry_get_geometry(self)
3828 def set_geometry(self, s):
3829 """set_geometry(SurfaceGeometry self, Surface s)"""
3830 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3833 def get_version_info(self):
3834 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3835 return _IMP_core.SurfaceGeometry_get_version_info(self)
3839 """__str__(SurfaceGeometry self) -> std::string"""
3840 return _IMP_core.SurfaceGeometry___str__(self)
3844 """__repr__(SurfaceGeometry self) -> std::string"""
3845 return _IMP_core.SurfaceGeometry___repr__(self)
3850 return _object_cast_to_SurfaceGeometry(o)
3852 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3853 SurfaceGeometry_swigregister(SurfaceGeometry)
3858 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3859 create_geometry(Surface s) -> SurfaceGeometry
3861 return _IMP_core.create_geometry(*args)
3863 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3865 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3867 def __init__(self, s, g):
3868 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3869 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3871 self.this.append(this)
3872 except __builtin__.Exception:
3875 def get_surface(self):
3876 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3877 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3880 def get_geometry(self):
3881 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3882 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3885 def do_get_inputs(self):
3886 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3887 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3890 def do_get_outputs(self):
3891 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3892 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3895 def get_version_info(self):
3896 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3897 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3901 """__str__(SurfaceGeometryConstraint self) -> std::string"""
3902 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3906 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
3907 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3912 return _object_cast_to_SurfaceGeometryConstraint(o)
3914 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
3915 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3920 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
3921 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
3923 return _IMP_core.get_constrained_surface_geometry(*args)
3925 """Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3927 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3929 def __init__(self, s, d):
3930 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3931 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
3933 self.this.append(this)
3934 except __builtin__.Exception:
3937 def do_get_inputs(self):
3938 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3939 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3942 def do_get_outputs(self):
3943 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3944 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3947 def get_version_info(self):
3948 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3949 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3953 """__str__(LateralSurfaceConstraint self) -> std::string"""
3954 return _IMP_core.LateralSurfaceConstraint___str__(self)
3958 """__repr__(LateralSurfaceConstraint self) -> std::string"""
3959 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3964 return _object_cast_to_LateralSurfaceConstraint(o)
3966 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
3967 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3970 """Proxy of C++ IMP::core::AngleTripletScore class."""
3972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3974 def __init__(self, f):
3975 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
3976 this = _IMP_core.new_AngleTripletScore(f)
3978 self.this.append(this)
3979 except __builtin__.Exception:
3982 def do_get_inputs(self, m, pis):
3983 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3984 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3987 def get_version_info(self):
3988 """get_version_info(AngleTripletScore self) -> VersionInfo"""
3989 return _IMP_core.AngleTripletScore_get_version_info(self)
3993 """__str__(AngleTripletScore self) -> std::string"""
3994 return _IMP_core.AngleTripletScore___str__(self)
3998 """__repr__(AngleTripletScore self) -> std::string"""
3999 return _IMP_core.AngleTripletScore___repr__(self)
4004 return _object_cast_to_AngleTripletScore(o)
4006 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
4007 AngleTripletScore_swigregister(AngleTripletScore)
4009 class BallMover(MonteCarloMover):
4010 """Proxy of C++ IMP::core::BallMover class."""
4012 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4014 def __init__(self, *args):
4016 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
4017 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
4018 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
4019 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
4021 this = _IMP_core.new_BallMover(*args)
4023 self.this.append(this)
4024 except __builtin__.Exception:
4027 def set_radius(self, radius):
4028 """set_radius(BallMover self, IMP::Float radius)"""
4029 return _IMP_core.BallMover_set_radius(self, radius)
4032 def get_radius(self):
4033 """get_radius(BallMover self) -> IMP::Float"""
4034 return _IMP_core.BallMover_get_radius(self)
4037 def get_version_info(self):
4038 """get_version_info(BallMover self) -> VersionInfo"""
4039 return _IMP_core.BallMover_get_version_info(self)
4043 """__str__(BallMover self) -> std::string"""
4044 return _IMP_core.BallMover___str__(self)
4048 """__repr__(BallMover self) -> std::string"""
4049 return _IMP_core.BallMover___repr__(self)
4054 return _object_cast_to_BallMover(o)
4056 BallMover_swigregister = _IMP_core.BallMover_swigregister
4057 BallMover_swigregister(BallMover)
4059 class SerialMover(MonteCarloMover):
4060 """Proxy of C++ IMP::core::SerialMover class."""
4062 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4064 def __init__(self, mvs):
4065 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4066 this = _IMP_core.new_SerialMover(mvs)
4068 self.this.append(this)
4069 except __builtin__.Exception:
4072 def get_movers(self):
4073 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4074 return _IMP_core.SerialMover_get_movers(self)
4077 def get_version_info(self):
4078 """get_version_info(SerialMover self) -> VersionInfo"""
4079 return _IMP_core.SerialMover_get_version_info(self)
4083 """__str__(SerialMover self) -> std::string"""
4084 return _IMP_core.SerialMover___str__(self)
4088 """__repr__(SerialMover self) -> std::string"""
4089 return _IMP_core.SerialMover___repr__(self)
4094 return _object_cast_to_SerialMover(o)
4096 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4097 SerialMover_swigregister(SerialMover)
4099 class SubsetMover(MonteCarloMover):
4100 """Proxy of C++ IMP::core::SubsetMover class."""
4102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4104 def __init__(self, mvs, n):
4105 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4106 this = _IMP_core.new_SubsetMover(mvs, n)
4108 self.this.append(this)
4109 except __builtin__.Exception:
4112 def get_movers(self):
4113 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4114 return _IMP_core.SubsetMover_get_movers(self)
4117 def get_subset_size(self):
4118 """get_subset_size(SubsetMover self) -> unsigned int"""
4119 return _IMP_core.SubsetMover_get_subset_size(self)
4122 def get_version_info(self):
4123 """get_version_info(SubsetMover self) -> VersionInfo"""
4124 return _IMP_core.SubsetMover_get_version_info(self)
4128 """__str__(SubsetMover self) -> std::string"""
4129 return _IMP_core.SubsetMover___str__(self)
4133 """__repr__(SubsetMover self) -> std::string"""
4134 return _IMP_core.SubsetMover___repr__(self)
4139 return _object_cast_to_SubsetMover(o)
4141 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4142 SubsetMover_swigregister(SubsetMover)
4144 class DirectionMover(MonteCarloMover):
4145 """Proxy of C++ IMP::core::DirectionMover class."""
4147 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4149 def __init__(self, *args):
4151 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4152 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4154 this = _IMP_core.new_DirectionMover(*args)
4156 self.this.append(this)
4157 except __builtin__.Exception:
4160 def set_maximum_rotation(self, mr):
4161 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4162 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4165 def set_reflect_probability(self, rp):
4166 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4167 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4170 def get_maximum_rotation(self):
4171 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4172 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4175 def get_reflect_probability(self):
4176 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4177 return _IMP_core.DirectionMover_get_reflect_probability(self)
4180 def get_direction(self):
4181 """get_direction(DirectionMover self) -> Direction"""
4182 return _IMP_core.DirectionMover_get_direction(self)
4185 def get_version_info(self):
4186 """get_version_info(DirectionMover self) -> VersionInfo"""
4187 return _IMP_core.DirectionMover_get_version_info(self)
4191 """__str__(DirectionMover self) -> std::string"""
4192 return _IMP_core.DirectionMover___str__(self)
4196 """__repr__(DirectionMover self) -> std::string"""
4197 return _IMP_core.DirectionMover___repr__(self)
4202 return _object_cast_to_DirectionMover(o)
4204 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4205 DirectionMover_swigregister(DirectionMover)
4207 class SurfaceMover(MonteCarloMover):
4208 """Proxy of C++ IMP::core::SurfaceMover class."""
4210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4212 def __init__(self, *args):
4214 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4215 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4217 this = _IMP_core.new_SurfaceMover(*args)
4219 self.this.append(this)
4220 except __builtin__.Exception:
4223 def set_maximum_translation(self, mt):
4224 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4225 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4228 def set_maximum_rotation(self, mr):
4229 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4230 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4233 def set_reflect_probability(self, rp):
4234 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4235 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4238 def get_maximum_translation(self):
4239 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4240 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4243 def get_maximum_rotation(self):
4244 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4245 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4248 def get_reflect_probability(self):
4249 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4250 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4253 def get_surface(self):
4254 """get_surface(SurfaceMover self) -> Surface"""
4255 return _IMP_core.SurfaceMover_get_surface(self)
4258 def get_version_info(self):
4259 """get_version_info(SurfaceMover self) -> VersionInfo"""
4260 return _IMP_core.SurfaceMover_get_version_info(self)
4264 """__str__(SurfaceMover self) -> std::string"""
4265 return _IMP_core.SurfaceMover___str__(self)
4269 """__repr__(SurfaceMover self) -> std::string"""
4270 return _IMP_core.SurfaceMover___repr__(self)
4275 return _object_cast_to_SurfaceMover(o)
4277 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4278 SurfaceMover_swigregister(SurfaceMover)
4280 class BoxSweepClosePairsFinder(ClosePairsFinder):
4281 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
4283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4286 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4287 this = _IMP_core.new_BoxSweepClosePairsFinder()
4289 self.this.append(this)
4290 except __builtin__.Exception:
4293 def get_close_pairs(self, *args):
4295 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4296 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4297 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4298 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4300 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4303 def do_get_inputs(self, m, pis):
4304 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4305 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4308 def get_version_info(self):
4309 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4310 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4314 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4315 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4319 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4320 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4325 return _object_cast_to_BoxSweepClosePairsFinder(o)
4327 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4328 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4331 """Proxy of C++ IMP::core::CentroidOfRefined class."""
4333 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4335 def __init__(self, *args):
4337 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4338 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4339 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4341 this = _IMP_core.new_CentroidOfRefined(*args)
4343 self.this.append(this)
4344 except __builtin__.Exception:
4347 def do_get_inputs(self, m, pis):
4348 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4349 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4352 def do_get_outputs(self, m, pis):
4353 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4354 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4357 def get_version_info(self):
4358 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4359 return _IMP_core.CentroidOfRefined_get_version_info(self)
4363 """__str__(CentroidOfRefined self) -> std::string"""
4364 return _IMP_core.CentroidOfRefined___str__(self)
4368 """__repr__(CentroidOfRefined self) -> std::string"""
4369 return _IMP_core.CentroidOfRefined___repr__(self)
4374 return _object_cast_to_CentroidOfRefined(o)
4376 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4377 CentroidOfRefined_swigregister(CentroidOfRefined)
4379 class Centroid(XYZ):
4380 """Proxy of C++ IMP::core::Centroid class."""
4382 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4384 def get_constraint(self):
4385 """get_constraint(Centroid self) -> Constraint"""
4386 return _IMP_core.Centroid_get_constraint(self)
4389 def __init__(self, *args):
4391 __init__(IMP::core::Centroid self) -> Centroid
4392 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4393 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4395 this = _IMP_core.new_Centroid(*args)
4397 self.this.append(this)
4398 except __builtin__.Exception:
4401 def show(self, *args):
4403 show(Centroid self, _ostream out)
4406 return _IMP_core.Centroid_show(self, *args)
4409 def setup_particle(*args):
4411 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4412 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4413 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4414 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4416 return _IMP_core.Centroid_setup_particle(*args)
4418 setup_particle = staticmethod(setup_particle)
4420 def get_is_setup(*args):
4422 get_is_setup(_ParticleAdaptor p) -> bool
4423 get_is_setup(Model m, ParticleIndex pi) -> bool
4425 return _IMP_core.Centroid_get_is_setup(*args)
4427 get_is_setup = staticmethod(get_is_setup)
4429 def add_attribute(self, *args):
4431 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4432 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4433 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4434 add_attribute(Centroid self, FloatsKey a0, IMP::Floats a1)
4435 add_attribute(Centroid self, IntsKey a0, IMP::Ints a1)
4436 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4437 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4438 add_attribute(Centroid self, ObjectKey a0, Object a1)
4440 return _IMP_core.Centroid_add_attribute(self, *args)
4443 def get_value(self, *args):
4445 get_value(Centroid self, FloatKey a0) -> IMP::Float
4446 get_value(Centroid self, IntKey a0) -> IMP::Int
4447 get_value(Centroid self, FloatsKey a0) -> IMP::Floats
4448 get_value(Centroid self, IntsKey a0) -> IMP::Ints
4449 get_value(Centroid self, StringKey a0) -> IMP::String
4450 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4451 get_value(Centroid self, ObjectKey a0) -> Object
4453 return _IMP_core.Centroid_get_value(self, *args)
4456 def set_value(self, *args):
4458 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4459 set_value(Centroid self, IntKey a0, IMP::Int a1)
4460 set_value(Centroid self, FloatsKey a0, IMP::Floats a1)
4461 set_value(Centroid self, IntsKey a0, IMP::Ints a1)
4462 set_value(Centroid self, StringKey a0, IMP::String a1)
4463 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4464 set_value(Centroid self, ObjectKey a0, Object a1)
4466 return _IMP_core.Centroid_set_value(self, *args)
4469 def remove_attribute(self, *args):
4471 remove_attribute(Centroid self, FloatKey a0)
4472 remove_attribute(Centroid self, IntKey a0)
4473 remove_attribute(Centroid self, FloatsKey a0)
4474 remove_attribute(Centroid self, IntsKey a0)
4475 remove_attribute(Centroid self, StringKey a0)
4476 remove_attribute(Centroid self, ParticleIndexKey a0)
4477 remove_attribute(Centroid self, ObjectKey a0)
4479 return _IMP_core.Centroid_remove_attribute(self, *args)
4482 def has_attribute(self, *args):
4484 has_attribute(Centroid self, FloatKey a0) -> bool
4485 has_attribute(Centroid self, IntKey a0) -> bool
4486 has_attribute(Centroid self, FloatsKey a0) -> bool
4487 has_attribute(Centroid self, IntsKey a0) -> bool
4488 has_attribute(Centroid self, StringKey a0) -> bool
4489 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4490 has_attribute(Centroid self, ObjectKey a0) -> bool
4492 return _IMP_core.Centroid_has_attribute(self, *args)
4495 def get_derivative(self, a0):
4496 """get_derivative(Centroid self, FloatKey a0) -> double"""
4497 return _IMP_core.Centroid_get_derivative(self, a0)
4501 """get_name(Centroid self) -> std::string"""
4502 return _IMP_core.Centroid_get_name(self)
4505 def clear_caches(self):
4506 """clear_caches(Centroid self)"""
4507 return _IMP_core.Centroid_clear_caches(self)
4510 def set_name(self, a0):
4511 """set_name(Centroid self, std::string a0)"""
4512 return _IMP_core.Centroid_set_name(self, a0)
4516 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4517 return _IMP_core.Centroid_set_check_level(self, a0)
4520 def add_to_derivative(self, a0, a1, a2):
4521 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4522 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4525 def set_is_optimized(self, a0, a1):
4526 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4527 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4530 def get_is_optimized(self, a0):
4531 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4532 return _IMP_core.Centroid_get_is_optimized(self, a0)
4536 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4537 return _IMP_core.Centroid_get_check_level(self)
4540 def __eq__(self, *args):
4542 __eq__(Centroid self, Centroid o) -> bool
4543 __eq__(Centroid self, Particle d) -> bool
4545 return _IMP_core.Centroid___eq__(self, *args)
4548 def __ne__(self, *args):
4550 __ne__(Centroid self, Centroid o) -> bool
4551 __ne__(Centroid self, Particle d) -> bool
4553 return _IMP_core.Centroid___ne__(self, *args)
4556 def __le__(self, *args):
4558 __le__(Centroid self, Centroid o) -> bool
4559 __le__(Centroid self, Particle d) -> bool
4561 return _IMP_core.Centroid___le__(self, *args)
4564 def __lt__(self, *args):
4566 __lt__(Centroid self, Centroid o) -> bool
4567 __lt__(Centroid self, Particle d) -> bool
4569 return _IMP_core.Centroid___lt__(self, *args)
4572 def __ge__(self, *args):
4574 __ge__(Centroid self, Centroid o) -> bool
4575 __ge__(Centroid self, Particle d) -> bool
4577 return _IMP_core.Centroid___ge__(self, *args)
4580 def __gt__(self, *args):
4582 __gt__(Centroid self, Centroid o) -> bool
4583 __gt__(Centroid self, Particle d) -> bool
4585 return _IMP_core.Centroid___gt__(self, *args)
4589 """__hash__(Centroid self) -> std::size_t"""
4590 return _IMP_core.Centroid___hash__(self)
4594 """__str__(Centroid self) -> std::string"""
4595 return _IMP_core.Centroid___str__(self)
4599 """__repr__(Centroid self) -> std::string"""
4600 return _IMP_core.Centroid___repr__(self)
4602 __swig_destroy__ = _IMP_core.delete_Centroid
4603 __del__ =
lambda self:
None
4604 Centroid_swigregister = _IMP_core.Centroid_swigregister
4605 Centroid_swigregister(Centroid)
4607 def Centroid_setup_particle(*args):
4609 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4610 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4611 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4612 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4614 return _IMP_core.Centroid_setup_particle(*args)
4616 def Centroid_get_is_setup(*args):
4618 get_is_setup(_ParticleAdaptor p) -> bool
4619 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4621 return _IMP_core.Centroid_get_is_setup(*args)
4624 """Proxy of C++ IMP::core::ChecksScoreState class."""
4626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4628 def __init__(self, m, probability):
4629 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4630 this = _IMP_core.new_ChecksScoreState(m, probability)
4632 self.this.append(this)
4633 except __builtin__.Exception:
4636 def get_number_of_checked(self):
4637 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4638 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4641 def do_before_evaluate(self):
4642 """do_before_evaluate(ChecksScoreState self)"""
4643 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4646 def do_after_evaluate(self, da):
4647 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4648 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4651 def do_get_outputs(self):
4652 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4653 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4656 def do_get_inputs(self):
4657 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4658 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4661 def get_version_info(self):
4662 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4663 return _IMP_core.ChecksScoreState_get_version_info(self)
4667 """__str__(ChecksScoreState self) -> std::string"""
4668 return _IMP_core.ChecksScoreState___str__(self)
4672 """__repr__(ChecksScoreState self) -> std::string"""
4673 return _IMP_core.ChecksScoreState___repr__(self)
4678 return _object_cast_to_ChecksScoreState(o)
4680 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4681 ChecksScoreState_swigregister(ChecksScoreState)
4684 """Proxy of C++ IMP::core::ChildrenRefiner class."""
4686 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4688 def __init__(self, tr):
4689 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4690 this = _IMP_core.new_ChildrenRefiner(tr)
4692 self.this.append(this)
4693 except __builtin__.Exception:
4696 def do_get_inputs(self, m, pis):
4697 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4698 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4701 def get_version_info(self):
4702 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4703 return _IMP_core.ChildrenRefiner_get_version_info(self)
4707 """__str__(ChildrenRefiner self) -> std::string"""
4708 return _IMP_core.ChildrenRefiner___str__(self)
4712 """__repr__(ChildrenRefiner self) -> std::string"""
4713 return _IMP_core.ChildrenRefiner___repr__(self)
4718 return _object_cast_to_ChildrenRefiner(o)
4720 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4721 ChildrenRefiner_swigregister(ChildrenRefiner)
4724 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
4726 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4728 def __init__(self, values, minrange, spacing):
4729 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4730 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4732 self.this.append(this)
4733 except __builtin__.Exception:
4736 def get_version_info(self):
4737 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4738 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4741 def do_show(self, out):
4742 """do_show(ClosedCubicSpline self, _ostream out)"""
4743 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4747 """__str__(ClosedCubicSpline self) -> std::string"""
4748 return _IMP_core.ClosedCubicSpline___str__(self)
4752 """__repr__(ClosedCubicSpline self) -> std::string"""
4753 return _IMP_core.ClosedCubicSpline___repr__(self)
4758 return _object_cast_to_ClosedCubicSpline(o)
4760 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4761 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4764 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
4766 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4768 def __init__(self, f, r, k=1):
4770 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4771 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4773 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4775 self.this.append(this)
4776 except __builtin__.Exception:
4779 def get_close_pairs(self, pp):
4780 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4781 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4784 def create_current_decomposition(self, m, vt):
4785 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4786 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4789 def do_get_inputs(self, m, pis):
4790 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4791 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4794 def get_version_info(self):
4795 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4796 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4800 """__str__(KClosePairsPairScore self) -> std::string"""
4801 return _IMP_core.KClosePairsPairScore___str__(self)
4805 """__repr__(KClosePairsPairScore self) -> std::string"""
4806 return _IMP_core.KClosePairsPairScore___repr__(self)
4811 return _object_cast_to_KClosePairsPairScore(o)
4813 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4814 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4817 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
4819 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4821 def __init__(self, f, r, max_distance):
4822 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4823 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4825 self.this.append(this)
4826 except __builtin__.Exception:
4829 def get_close_pairs(self, pp):
4830 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4831 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4834 def create_current_decomposition(self, m, vt):
4835 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4836 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4839 def do_get_inputs(self, m, pis):
4840 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4841 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4844 def get_version_info(self):
4845 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4846 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4850 """__str__(ClosePairsPairScore self) -> std::string"""
4851 return _IMP_core.ClosePairsPairScore___str__(self)
4855 """__repr__(ClosePairsPairScore self) -> std::string"""
4856 return _IMP_core.ClosePairsPairScore___repr__(self)
4861 return _object_cast_to_ClosePairsPairScore(o)
4863 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4864 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4867 """Proxy of C++ IMP::core::ConjugateGradients 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, *args):
4873 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4874 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4876 this = _IMP_core.new_ConjugateGradients(*args)
4878 self.this.append(this)
4879 except __builtin__.Exception:
4882 def set_gradient_threshold(self, t):
4883 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4884 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4887 def set_threshold(self, t):
4888 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4889 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4892 def set_max_change(self, t):
4893 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4894 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4897 def do_optimize(self, max_steps):
4898 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4899 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4902 def get_version_info(self):
4903 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4904 return _IMP_core.ConjugateGradients_get_version_info(self)
4908 """__str__(ConjugateGradients self) -> std::string"""
4909 return _IMP_core.ConjugateGradients___str__(self)
4913 """__repr__(ConjugateGradients self) -> std::string"""
4914 return _IMP_core.ConjugateGradients___repr__(self)
4919 return _object_cast_to_ConjugateGradients(o)
4921 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
4922 ConjugateGradients_swigregister(ConjugateGradients)
4925 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
4927 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4929 def __init__(self, ps, sc):
4930 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4931 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
4933 self.this.append(this)
4934 except __builtin__.Exception:
4937 def get_connected_index_pairs(self):
4938 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4939 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4942 def get_pair_score(self):
4943 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
4944 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4947 def do_create_current_decomposition(self):
4948 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4949 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4952 def do_get_inputs(self):
4953 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4954 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4957 def get_version_info(self):
4958 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4959 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4963 """__str__(ConnectivityRestraint self) -> std::string"""
4964 return _IMP_core.ConnectivityRestraint___str__(self)
4968 """__repr__(ConnectivityRestraint self) -> std::string"""
4969 return _IMP_core.ConnectivityRestraint___repr__(self)
4974 return _object_cast_to_ConnectivityRestraint(o)
4976 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
4977 ConnectivityRestraint_swigregister(ConnectivityRestraint)
4980 """Proxy of C++ IMP::core::ConstantRestraint class."""
4982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4984 def __init__(self, m, v):
4985 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
4986 this = _IMP_core.new_ConstantRestraint(m, v)
4988 self.this.append(this)
4989 except __builtin__.Exception:
4992 def do_get_inputs(self):
4993 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4994 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4997 def get_version_info(self):
4998 """get_version_info(ConstantRestraint self) -> VersionInfo"""
4999 return _IMP_core.ConstantRestraint_get_version_info(self)
5003 """__str__(ConstantRestraint self) -> std::string"""
5004 return _IMP_core.ConstantRestraint___str__(self)
5008 """__repr__(ConstantRestraint self) -> std::string"""
5009 return _IMP_core.ConstantRestraint___repr__(self)
5014 return _object_cast_to_ConstantRestraint(o)
5016 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
5017 ConstantRestraint_swigregister(ConstantRestraint)
5020 """Proxy of C++ IMP::core::Cosine class."""
5022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5024 def __init__(self, force_constant, periodicity, phase):
5025 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
5026 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
5028 self.this.append(this)
5029 except __builtin__.Exception:
5032 def get_version_info(self):
5033 """get_version_info(Cosine self) -> VersionInfo"""
5034 return _IMP_core.Cosine_get_version_info(self)
5037 def do_show(self, out):
5038 """do_show(Cosine self, _ostream out)"""
5039 return _IMP_core.Cosine_do_show(self, out)
5043 """__str__(Cosine self) -> std::string"""
5044 return _IMP_core.Cosine___str__(self)
5048 """__repr__(Cosine self) -> std::string"""
5049 return _IMP_core.Cosine___repr__(self)
5054 return _object_cast_to_Cosine(o)
5056 Cosine_swigregister = _IMP_core.Cosine_swigregister
5057 Cosine_swigregister(Cosine)
5060 """Proxy of C++ IMP::core::CoverRefined class."""
5062 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5064 def __init__(self, ref, slack=0):
5066 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
5067 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
5069 this = _IMP_core.new_CoverRefined(ref, slack)
5071 self.this.append(this)
5072 except __builtin__.Exception:
5075 def set_slack(self, slack):
5076 """set_slack(CoverRefined self, IMP::Float slack)"""
5077 return _IMP_core.CoverRefined_set_slack(self, slack)
5080 def do_get_inputs(self, m, pis):
5081 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5082 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5085 def do_get_outputs(self, m, pis):
5086 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5087 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5090 def get_version_info(self):
5091 """get_version_info(CoverRefined self) -> VersionInfo"""
5092 return _IMP_core.CoverRefined_get_version_info(self)
5096 """__str__(CoverRefined self) -> std::string"""
5097 return _IMP_core.CoverRefined___str__(self)
5101 """__repr__(CoverRefined self) -> std::string"""
5102 return _IMP_core.CoverRefined___repr__(self)
5107 return _object_cast_to_CoverRefined(o)
5109 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5110 CoverRefined_swigregister(CoverRefined)
5113 """Proxy of C++ IMP::core::Cover class."""
5115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5117 def get_constraint(self):
5118 """get_constraint(Cover self) -> Constraint"""
5119 return _IMP_core.Cover_get_constraint(self)
5122 def __init__(self, *args):
5124 __init__(IMP::core::Cover self) -> Cover
5125 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5126 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5128 this = _IMP_core.new_Cover(*args)
5130 self.this.append(this)
5131 except __builtin__.Exception:
5134 def show(self, *args):
5136 show(Cover self, _ostream out)
5139 return _IMP_core.Cover_show(self, *args)
5142 def setup_particle(*args):
5144 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5145 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5146 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5147 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5149 return _IMP_core.Cover_setup_particle(*args)
5151 setup_particle = staticmethod(setup_particle)
5153 def get_is_setup(*args):
5155 get_is_setup(_ParticleAdaptor p) -> bool
5156 get_is_setup(Model m, ParticleIndex pi) -> bool
5158 return _IMP_core.Cover_get_is_setup(*args)
5160 get_is_setup = staticmethod(get_is_setup)
5162 def add_attribute(self, *args):
5164 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5165 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5166 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5167 add_attribute(Cover self, FloatsKey a0, IMP::Floats a1)
5168 add_attribute(Cover self, IntsKey a0, IMP::Ints a1)
5169 add_attribute(Cover self, StringKey a0, IMP::String a1)
5170 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5171 add_attribute(Cover self, ObjectKey a0, Object a1)
5173 return _IMP_core.Cover_add_attribute(self, *args)
5176 def get_value(self, *args):
5178 get_value(Cover self, FloatKey a0) -> IMP::Float
5179 get_value(Cover self, IntKey a0) -> IMP::Int
5180 get_value(Cover self, FloatsKey a0) -> IMP::Floats
5181 get_value(Cover self, IntsKey a0) -> IMP::Ints
5182 get_value(Cover self, StringKey a0) -> IMP::String
5183 get_value(Cover self, ParticleIndexKey a0) -> Particle
5184 get_value(Cover self, ObjectKey a0) -> Object
5186 return _IMP_core.Cover_get_value(self, *args)
5189 def set_value(self, *args):
5191 set_value(Cover self, FloatKey a0, IMP::Float a1)
5192 set_value(Cover self, IntKey a0, IMP::Int a1)
5193 set_value(Cover self, FloatsKey a0, IMP::Floats a1)
5194 set_value(Cover self, IntsKey a0, IMP::Ints a1)
5195 set_value(Cover self, StringKey a0, IMP::String a1)
5196 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5197 set_value(Cover self, ObjectKey a0, Object a1)
5199 return _IMP_core.Cover_set_value(self, *args)
5202 def remove_attribute(self, *args):
5204 remove_attribute(Cover self, FloatKey a0)
5205 remove_attribute(Cover self, IntKey a0)
5206 remove_attribute(Cover self, FloatsKey a0)
5207 remove_attribute(Cover self, IntsKey a0)
5208 remove_attribute(Cover self, StringKey a0)
5209 remove_attribute(Cover self, ParticleIndexKey a0)
5210 remove_attribute(Cover self, ObjectKey a0)
5212 return _IMP_core.Cover_remove_attribute(self, *args)
5215 def has_attribute(self, *args):
5217 has_attribute(Cover self, FloatKey a0) -> bool
5218 has_attribute(Cover self, IntKey a0) -> bool
5219 has_attribute(Cover self, FloatsKey a0) -> bool
5220 has_attribute(Cover self, IntsKey a0) -> bool
5221 has_attribute(Cover self, StringKey a0) -> bool
5222 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5223 has_attribute(Cover self, ObjectKey a0) -> bool
5225 return _IMP_core.Cover_has_attribute(self, *args)
5228 def get_derivative(self, a0):
5229 """get_derivative(Cover self, FloatKey a0) -> double"""
5230 return _IMP_core.Cover_get_derivative(self, a0)
5234 """get_name(Cover self) -> std::string"""
5235 return _IMP_core.Cover_get_name(self)
5238 def clear_caches(self):
5239 """clear_caches(Cover self)"""
5240 return _IMP_core.Cover_clear_caches(self)
5243 def set_name(self, a0):
5244 """set_name(Cover self, std::string a0)"""
5245 return _IMP_core.Cover_set_name(self, a0)
5249 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5250 return _IMP_core.Cover_set_check_level(self, a0)
5253 def add_to_derivative(self, a0, a1, a2):
5254 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5255 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5258 def set_is_optimized(self, a0, a1):
5259 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5260 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5263 def get_is_optimized(self, a0):
5264 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5265 return _IMP_core.Cover_get_is_optimized(self, a0)
5269 """get_check_level(Cover self) -> IMP::CheckLevel"""
5270 return _IMP_core.Cover_get_check_level(self)
5273 def __eq__(self, *args):
5275 __eq__(Cover self, Cover o) -> bool
5276 __eq__(Cover self, Particle d) -> bool
5278 return _IMP_core.Cover___eq__(self, *args)
5281 def __ne__(self, *args):
5283 __ne__(Cover self, Cover o) -> bool
5284 __ne__(Cover self, Particle d) -> bool
5286 return _IMP_core.Cover___ne__(self, *args)
5289 def __le__(self, *args):
5291 __le__(Cover self, Cover o) -> bool
5292 __le__(Cover self, Particle d) -> bool
5294 return _IMP_core.Cover___le__(self, *args)
5297 def __lt__(self, *args):
5299 __lt__(Cover self, Cover o) -> bool
5300 __lt__(Cover self, Particle d) -> bool
5302 return _IMP_core.Cover___lt__(self, *args)
5305 def __ge__(self, *args):
5307 __ge__(Cover self, Cover o) -> bool
5308 __ge__(Cover self, Particle d) -> bool
5310 return _IMP_core.Cover___ge__(self, *args)
5313 def __gt__(self, *args):
5315 __gt__(Cover self, Cover o) -> bool
5316 __gt__(Cover self, Particle d) -> bool
5318 return _IMP_core.Cover___gt__(self, *args)
5322 """__hash__(Cover self) -> std::size_t"""
5323 return _IMP_core.Cover___hash__(self)
5327 """__str__(Cover self) -> std::string"""
5328 return _IMP_core.Cover___str__(self)
5332 """__repr__(Cover self) -> std::string"""
5333 return _IMP_core.Cover___repr__(self)
5335 __swig_destroy__ = _IMP_core.delete_Cover
5336 __del__ =
lambda self:
None
5337 Cover_swigregister = _IMP_core.Cover_swigregister
5338 Cover_swigregister(Cover)
5340 def Cover_setup_particle(*args):
5342 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5343 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5344 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5345 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5347 return _IMP_core.Cover_setup_particle(*args)
5349 def Cover_get_is_setup(*args):
5351 get_is_setup(_ParticleAdaptor p) -> bool
5352 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5354 return _IMP_core.Cover_get_is_setup(*args)
5357 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
5359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5361 def __init__(self, *args):
5363 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5364 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5366 this = _IMP_core.new_DerivativesFromRefined(*args)
5368 self.this.append(this)
5369 except __builtin__.Exception:
5372 def do_get_inputs(self, m, pis):
5373 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5374 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5377 def do_get_outputs(self, m, pis):
5378 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5379 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5382 def get_version_info(self):
5383 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5384 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5388 """__str__(DerivativesFromRefined self) -> std::string"""
5389 return _IMP_core.DerivativesFromRefined___str__(self)
5393 """__repr__(DerivativesFromRefined self) -> std::string"""
5394 return _IMP_core.DerivativesFromRefined___repr__(self)
5399 return _object_cast_to_DerivativesFromRefined(o)
5401 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5402 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5405 """Proxy of C++ IMP::core::DerivativesToRefined class."""
5407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5409 def __init__(self, *args):
5411 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5412 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5414 this = _IMP_core.new_DerivativesToRefined(*args)
5416 self.this.append(this)
5417 except __builtin__.Exception:
5420 def do_get_inputs(self, m, pis):
5421 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5422 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5425 def do_get_outputs(self, m, pis):
5426 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5427 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5430 def get_version_info(self):
5431 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5432 return _IMP_core.DerivativesToRefined_get_version_info(self)
5436 """__str__(DerivativesToRefined self) -> std::string"""
5437 return _IMP_core.DerivativesToRefined___str__(self)
5441 """__repr__(DerivativesToRefined self) -> std::string"""
5442 return _IMP_core.DerivativesToRefined___repr__(self)
5447 return _object_cast_to_DerivativesToRefined(o)
5449 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5450 DerivativesToRefined_swigregister(DerivativesToRefined)
5453 """Proxy of C++ IMP::core::DiameterRestraint class."""
5455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5457 def __init__(self, f, sc, diameter):
5458 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5459 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5461 self.this.append(this)
5462 except __builtin__.Exception:
5465 def do_get_inputs(self):
5466 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5467 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5470 def get_version_info(self):
5471 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5472 return _IMP_core.DiameterRestraint_get_version_info(self)
5475 def do_create_decomposition(self):
5476 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5477 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5480 def do_create_current_decomposition(self):
5481 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5482 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5486 """__str__(DiameterRestraint self) -> std::string"""
5487 return _IMP_core.DiameterRestraint___str__(self)
5491 """__repr__(DiameterRestraint self) -> std::string"""
5492 return _IMP_core.DiameterRestraint___repr__(self)
5497 return _object_cast_to_DiameterRestraint(o)
5499 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5500 DiameterRestraint_swigregister(DiameterRestraint)
5503 """Proxy of C++ IMP::core::Transform class."""
5505 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5507 def __init__(self, t, ignore_non_xyz=False):
5509 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5510 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5512 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5514 self.this.append(this)
5515 except __builtin__.Exception:
5518 def do_get_inputs(self, m, pis):
5519 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5520 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5523 def do_get_outputs(self, m, pis):
5524 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5525 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5528 def get_version_info(self):
5529 """get_version_info(Transform self) -> VersionInfo"""
5530 return _IMP_core.Transform_get_version_info(self)
5534 """__str__(Transform self) -> std::string"""
5535 return _IMP_core.Transform___str__(self)
5539 """__repr__(Transform self) -> std::string"""
5540 return _IMP_core.Transform___repr__(self)
5545 return _object_cast_to_Transform(o)
5547 Transform_swigregister = _IMP_core.Transform_swigregister
5548 Transform_swigregister(Transform)
5551 """Proxy of C++ IMP::core::Reference class."""
5553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5555 def __init__(self, *args):
5557 __init__(IMP::core::Reference self) -> Reference
5558 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5559 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5561 this = _IMP_core.new_Reference(*args)
5563 self.this.append(this)
5564 except __builtin__.Exception:
5567 def show(self, *args):
5569 show(Reference self, _ostream out)
5570 show(Reference self)
5572 return _IMP_core.Reference_show(self, *args)
5575 def setup_particle(*args):
5577 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5578 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5580 return _IMP_core.Reference_setup_particle(*args)
5582 setup_particle = staticmethod(setup_particle)
5584 def get_reference_particle(self):
5585 """get_reference_particle(Reference self) -> Particle"""
5586 return _IMP_core.Reference_get_reference_particle(self)
5589 def get_is_setup(*args):
5591 get_is_setup(_ParticleAdaptor p) -> bool
5592 get_is_setup(Model m, ParticleIndex pi) -> bool
5594 return _IMP_core.Reference_get_is_setup(*args)
5596 get_is_setup = staticmethod(get_is_setup)
5598 def get_reference_key():
5599 """get_reference_key() -> ParticleIndexKey"""
5600 return _IMP_core.Reference_get_reference_key()
5602 get_reference_key = staticmethod(get_reference_key)
5604 def add_attribute(self, *args):
5606 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5607 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5608 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5609 add_attribute(Reference self, FloatsKey a0, IMP::Floats a1)
5610 add_attribute(Reference self, IntsKey a0, IMP::Ints a1)
5611 add_attribute(Reference self, StringKey a0, IMP::String a1)
5612 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5613 add_attribute(Reference self, ObjectKey a0, Object a1)
5615 return _IMP_core.Reference_add_attribute(self, *args)
5618 def get_value(self, *args):
5620 get_value(Reference self, FloatKey a0) -> IMP::Float
5621 get_value(Reference self, IntKey a0) -> IMP::Int
5622 get_value(Reference self, FloatsKey a0) -> IMP::Floats
5623 get_value(Reference self, IntsKey a0) -> IMP::Ints
5624 get_value(Reference self, StringKey a0) -> IMP::String
5625 get_value(Reference self, ParticleIndexKey a0) -> Particle
5626 get_value(Reference self, ObjectKey a0) -> Object
5628 return _IMP_core.Reference_get_value(self, *args)
5631 def set_value(self, *args):
5633 set_value(Reference self, FloatKey a0, IMP::Float a1)
5634 set_value(Reference self, IntKey a0, IMP::Int a1)
5635 set_value(Reference self, FloatsKey a0, IMP::Floats a1)
5636 set_value(Reference self, IntsKey a0, IMP::Ints a1)
5637 set_value(Reference self, StringKey a0, IMP::String a1)
5638 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5639 set_value(Reference self, ObjectKey a0, Object a1)
5641 return _IMP_core.Reference_set_value(self, *args)
5644 def remove_attribute(self, *args):
5646 remove_attribute(Reference self, FloatKey a0)
5647 remove_attribute(Reference self, IntKey a0)
5648 remove_attribute(Reference self, FloatsKey a0)
5649 remove_attribute(Reference self, IntsKey a0)
5650 remove_attribute(Reference self, StringKey a0)
5651 remove_attribute(Reference self, ParticleIndexKey a0)
5652 remove_attribute(Reference self, ObjectKey a0)
5654 return _IMP_core.Reference_remove_attribute(self, *args)
5657 def has_attribute(self, *args):
5659 has_attribute(Reference self, FloatKey a0) -> bool
5660 has_attribute(Reference self, IntKey a0) -> bool
5661 has_attribute(Reference self, FloatsKey a0) -> bool
5662 has_attribute(Reference self, IntsKey a0) -> bool
5663 has_attribute(Reference self, StringKey a0) -> bool
5664 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5665 has_attribute(Reference self, ObjectKey a0) -> bool
5667 return _IMP_core.Reference_has_attribute(self, *args)
5670 def get_derivative(self, a0):
5671 """get_derivative(Reference self, FloatKey a0) -> double"""
5672 return _IMP_core.Reference_get_derivative(self, a0)
5676 """get_name(Reference self) -> std::string"""
5677 return _IMP_core.Reference_get_name(self)
5680 def clear_caches(self):
5681 """clear_caches(Reference self)"""
5682 return _IMP_core.Reference_clear_caches(self)
5685 def set_name(self, a0):
5686 """set_name(Reference self, std::string a0)"""
5687 return _IMP_core.Reference_set_name(self, a0)
5691 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5692 return _IMP_core.Reference_set_check_level(self, a0)
5695 def add_to_derivative(self, a0, a1, a2):
5696 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5697 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5700 def set_is_optimized(self, a0, a1):
5701 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5702 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5705 def get_is_optimized(self, a0):
5706 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5707 return _IMP_core.Reference_get_is_optimized(self, a0)
5711 """get_check_level(Reference self) -> IMP::CheckLevel"""
5712 return _IMP_core.Reference_get_check_level(self)
5715 def __eq__(self, *args):
5717 __eq__(Reference self, Reference o) -> bool
5718 __eq__(Reference self, Particle d) -> bool
5720 return _IMP_core.Reference___eq__(self, *args)
5723 def __ne__(self, *args):
5725 __ne__(Reference self, Reference o) -> bool
5726 __ne__(Reference self, Particle d) -> bool
5728 return _IMP_core.Reference___ne__(self, *args)
5731 def __le__(self, *args):
5733 __le__(Reference self, Reference o) -> bool
5734 __le__(Reference self, Particle d) -> bool
5736 return _IMP_core.Reference___le__(self, *args)
5739 def __lt__(self, *args):
5741 __lt__(Reference self, Reference o) -> bool
5742 __lt__(Reference self, Particle d) -> bool
5744 return _IMP_core.Reference___lt__(self, *args)
5747 def __ge__(self, *args):
5749 __ge__(Reference self, Reference o) -> bool
5750 __ge__(Reference self, Particle d) -> bool
5752 return _IMP_core.Reference___ge__(self, *args)
5755 def __gt__(self, *args):
5757 __gt__(Reference self, Reference o) -> bool
5758 __gt__(Reference self, Particle d) -> bool
5760 return _IMP_core.Reference___gt__(self, *args)
5764 """__hash__(Reference self) -> std::size_t"""
5765 return _IMP_core.Reference___hash__(self)
5769 """__str__(Reference self) -> std::string"""
5770 return _IMP_core.Reference___str__(self)
5774 """__repr__(Reference self) -> std::string"""
5775 return _IMP_core.Reference___repr__(self)
5777 __swig_destroy__ = _IMP_core.delete_Reference
5778 __del__ =
lambda self:
None
5779 Reference_swigregister = _IMP_core.Reference_swigregister
5780 Reference_swigregister(Reference)
5782 def Reference_setup_particle(*args):
5784 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5785 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5787 return _IMP_core.Reference_setup_particle(*args)
5789 def Reference_get_is_setup(*args):
5791 get_is_setup(_ParticleAdaptor p) -> bool
5792 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5794 return _IMP_core.Reference_get_is_setup(*args)
5796 def Reference_get_reference_key():
5797 """Reference_get_reference_key() -> ParticleIndexKey"""
5798 return _IMP_core.Reference_get_reference_key()
5801 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
5803 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5805 def __init__(self, t, r):
5806 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5807 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5809 self.this.append(this)
5810 except __builtin__.Exception:
5813 def do_get_inputs(self, m, pis):
5814 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5815 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5818 def do_get_outputs(self, m, pis):
5819 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5820 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5823 def get_version_info(self):
5824 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5825 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5829 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5830 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5834 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5835 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5840 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5842 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5843 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5846 """Proxy of C++ IMP::core::TransformationSymmetry class."""
5848 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5850 def __init__(self, *args):
5852 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5853 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5855 this = _IMP_core.new_TransformationSymmetry(*args)
5857 self.this.append(this)
5858 except __builtin__.Exception:
5861 def get_transformation(self):
5862 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5863 return _IMP_core.TransformationSymmetry_get_transformation(self)
5866 def set_transformation(self, t):
5867 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5868 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5871 def do_get_inputs(self, m, pis):
5872 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5873 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5876 def do_get_outputs(self, m, pis):
5877 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5878 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5881 def get_version_info(self):
5882 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5883 return _IMP_core.TransformationSymmetry_get_version_info(self)
5887 """__str__(TransformationSymmetry self) -> std::string"""
5888 return _IMP_core.TransformationSymmetry___str__(self)
5892 """__repr__(TransformationSymmetry self) -> std::string"""
5893 return _IMP_core.TransformationSymmetry___repr__(self)
5898 return _object_cast_to_TransformationSymmetry(o)
5900 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5901 TransformationSymmetry_swigregister(TransformationSymmetry)
5903 class TransformationSymmetryMover(MonteCarloMover):
5904 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5906 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5908 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5909 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5910 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5912 self.this.append(this)
5913 except __builtin__.Exception:
5916 def set_maximum_translation(self, mt):
5917 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5918 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5921 def set_maximum_rotation(self, mr):
5922 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5923 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5926 def get_maximum_translation(self):
5927 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5928 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5931 def get_maximum_rotation(self):
5932 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5933 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5936 def get_version_info(self):
5937 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5938 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5942 """__str__(TransformationSymmetryMover self) -> std::string"""
5943 return _IMP_core.TransformationSymmetryMover___str__(self)
5947 """__repr__(TransformationSymmetryMover self) -> std::string"""
5948 return _IMP_core.TransformationSymmetryMover___repr__(self)
5953 return _object_cast_to_TransformationSymmetryMover(o)
5955 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
5956 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5959 """Proxy of C++ IMP::core::DihedralRestraint class."""
5961 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5963 def __init__(self, m, score_func, p1, p2, p3, p4):
5964 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5965 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
5967 self.this.append(this)
5968 except __builtin__.Exception:
5971 def do_get_inputs(self):
5972 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5973 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5976 def get_version_info(self):
5977 """get_version_info(DihedralRestraint self) -> VersionInfo"""
5978 return _IMP_core.DihedralRestraint_get_version_info(self)
5982 """__str__(DihedralRestraint self) -> std::string"""
5983 return _IMP_core.DihedralRestraint___str__(self)
5987 """__repr__(DihedralRestraint self) -> std::string"""
5988 return _IMP_core.DihedralRestraint___repr__(self)
5993 return _object_cast_to_DihedralRestraint(o)
5995 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
5996 DihedralRestraint_swigregister(DihedralRestraint)
5999 """Proxy of C++ IMP::core::DistancePairScore class."""
6001 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6003 def __init__(self, *args):
6005 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
6006 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
6008 this = _IMP_core.new_DistancePairScore(*args)
6010 self.this.append(this)
6011 except __builtin__.Exception:
6014 def do_get_inputs(self, m, pis):
6015 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6016 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
6019 def get_version_info(self):
6020 """get_version_info(DistancePairScore self) -> VersionInfo"""
6021 return _IMP_core.DistancePairScore_get_version_info(self)
6025 """__str__(DistancePairScore self) -> std::string"""
6026 return _IMP_core.DistancePairScore___str__(self)
6030 """__repr__(DistancePairScore self) -> std::string"""
6031 return _IMP_core.DistancePairScore___repr__(self)
6036 return _object_cast_to_DistancePairScore(o)
6038 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
6039 DistancePairScore_swigregister(DistancePairScore)
6042 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
6044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6046 def __init__(self, *args):
6048 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
6049 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
6051 this = _IMP_core.new_HarmonicDistancePairScore(*args)
6053 self.this.append(this)
6054 except __builtin__.Exception:
6057 def do_get_inputs(self, m, pis):
6058 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6059 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
6062 def get_version_info(self):
6063 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
6064 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
6068 """__str__(HarmonicDistancePairScore self) -> std::string"""
6069 return _IMP_core.HarmonicDistancePairScore___str__(self)
6073 """__repr__(HarmonicDistancePairScore self) -> std::string"""
6074 return _IMP_core.HarmonicDistancePairScore___repr__(self)
6079 return _object_cast_to_HarmonicDistancePairScore(o)
6081 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
6082 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
6085 """Proxy of C++ IMP::core::DistanceRestraint class."""
6087 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6089 def __init__(self, *args):
6091 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
6092 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6094 this = _IMP_core.new_DistanceRestraint(*args)
6096 self.this.append(this)
6097 except __builtin__.Exception:
6100 def get_version_info(self):
6101 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6102 return _IMP_core.DistanceRestraint_get_version_info(self)
6106 """__str__(DistanceRestraint self) -> std::string"""
6107 return _IMP_core.DistanceRestraint___str__(self)
6111 """__repr__(DistanceRestraint self) -> std::string"""
6112 return _IMP_core.DistanceRestraint___repr__(self)
6117 return _object_cast_to_DistanceRestraint(o)
6119 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6120 DistanceRestraint_swigregister(DistanceRestraint)
6123 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
6125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6127 def __init__(self, f, pt):
6128 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6129 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6131 self.this.append(this)
6132 except __builtin__.Exception:
6135 def do_get_inputs(self, m, pis):
6136 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6137 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6140 def get_version_info(self):
6141 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6142 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6146 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6147 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6151 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6152 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6157 return _object_cast_to_SphereDistanceToSingletonScore(o)
6159 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6160 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6163 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
6165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6167 def __init__(self, *args):
6169 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6170 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6171 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6172 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6174 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6176 self.this.append(this)
6177 except __builtin__.Exception:
6180 def do_get_inputs(self):
6181 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6182 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6185 def get_version_info(self):
6186 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6187 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6190 def do_create_decomposition(self):
6191 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6192 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6195 def do_create_current_decomposition(self):
6196 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6197 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6201 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6202 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6205 def remove_pair_filter(self, d):
6206 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6207 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6210 def remove_pair_filters(self, d):
6211 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6212 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6215 def set_pair_filters(self, ps):
6216 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6217 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6220 def set_pair_filters_order(self, objs):
6221 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6222 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6225 def add_pair_filter(self, obj):
6226 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6227 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6230 def add_pair_filters(self, objs):
6231 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6232 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6235 def clear_pair_filters(self):
6236 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6237 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6240 def get_number_of_pair_filters(self):
6241 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6242 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6245 def get_has_pair_filters(self):
6246 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6247 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6250 def get_pair_filter(self, i):
6251 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6252 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6255 def get_pair_filters(self):
6256 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6257 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6260 def reserve_pair_filters(self, sz):
6261 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6262 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6266 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6267 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6271 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6272 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6277 return _object_cast_to_ExcludedVolumeRestraint(o)
6279 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6280 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6283 """Proxy of C++ IMP::core::FixedRefiner class."""
6285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6287 def __init__(self, *args):
6289 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6290 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6292 this = _IMP_core.new_FixedRefiner(*args)
6294 self.this.append(this)
6295 except __builtin__.Exception:
6298 def do_get_inputs(self, m, pis):
6299 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6300 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6303 def get_version_info(self):
6304 """get_version_info(FixedRefiner self) -> VersionInfo"""
6305 return _IMP_core.FixedRefiner_get_version_info(self)
6309 """__str__(FixedRefiner self) -> std::string"""
6310 return _IMP_core.FixedRefiner___str__(self)
6314 """__repr__(FixedRefiner self) -> std::string"""
6315 return _IMP_core.FixedRefiner___repr__(self)
6320 return _object_cast_to_FixedRefiner(o)
6322 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6323 FixedRefiner_swigregister(FixedRefiner)
6325 class GridClosePairsFinder(ClosePairsFinder):
6326 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
6328 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6331 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6332 this = _IMP_core.new_GridClosePairsFinder()
6334 self.this.append(this)
6335 except __builtin__.Exception:
6338 def get_close_pairs(self, *args):
6340 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6341 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6342 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6343 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6345 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6348 def do_get_inputs(self, m, pis):
6349 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6350 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6353 def get_version_info(self):
6354 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6355 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6359 """__str__(GridClosePairsFinder self) -> std::string"""
6360 return _IMP_core.GridClosePairsFinder___str__(self)
6364 """__repr__(GridClosePairsFinder self) -> std::string"""
6365 return _IMP_core.GridClosePairsFinder___repr__(self)
6370 return _object_cast_to_GridClosePairsFinder(o)
6372 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6373 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6376 """Proxy of C++ IMP::core::Harmonic class."""
6378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6380 def __init__(self, mean, k):
6381 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6382 this = _IMP_core.new_Harmonic(mean, k)
6384 self.this.append(this)
6385 except __builtin__.Exception:
6388 def get_version_info(self):
6389 """get_version_info(Harmonic self) -> VersionInfo"""
6390 return _IMP_core.Harmonic_get_version_info(self)
6394 """get_mean(Harmonic self) -> IMP::Float"""
6395 return _IMP_core.Harmonic_get_mean(self)
6399 """get_k(Harmonic self) -> IMP::Float"""
6400 return _IMP_core.Harmonic_get_k(self)
6403 def set_mean(self, mean):
6404 """set_mean(Harmonic self, IMP::Float mean)"""
6405 return _IMP_core.Harmonic_set_mean(self, mean)
6409 """set_k(Harmonic self, IMP::Float k)"""
6410 return _IMP_core.Harmonic_set_k(self, k)
6413 def get_k_from_standard_deviation(sd, t=297.15):
6415 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6416 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6418 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6420 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6423 """__str__(Harmonic self) -> std::string"""
6424 return _IMP_core.Harmonic___str__(self)
6428 """__repr__(Harmonic self) -> std::string"""
6429 return _IMP_core.Harmonic___repr__(self)
6434 return _object_cast_to_Harmonic(o)
6436 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6437 Harmonic_swigregister(Harmonic)
6439 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6441 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6442 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6444 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6447 """Proxy of C++ IMP::core::HarmonicWell class."""
6449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6451 def __init__(self, well, k):
6452 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6453 this = _IMP_core.new_HarmonicWell(well, k)
6455 self.this.append(this)
6456 except __builtin__.Exception:
6459 def get_version_info(self):
6460 """get_version_info(HarmonicWell self) -> VersionInfo"""
6461 return _IMP_core.HarmonicWell_get_version_info(self)
6465 """__str__(HarmonicWell self) -> std::string"""
6466 return _IMP_core.HarmonicWell___str__(self)
6470 """__repr__(HarmonicWell self) -> std::string"""
6471 return _IMP_core.HarmonicWell___repr__(self)
6476 return _object_cast_to_HarmonicWell(o)
6478 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6479 HarmonicWell_swigregister(HarmonicWell)
6481 class HarmonicLowerBound(Harmonic):
6482 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
6484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6486 def __init__(self, mean, k):
6487 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6488 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6490 self.this.append(this)
6491 except __builtin__.Exception:
6495 """__str__(HarmonicLowerBound self) -> std::string"""
6496 return _IMP_core.HarmonicLowerBound___str__(self)
6500 """__repr__(HarmonicLowerBound self) -> std::string"""
6501 return _IMP_core.HarmonicLowerBound___repr__(self)
6506 return _object_cast_to_HarmonicLowerBound(o)
6508 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6509 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6511 class HarmonicUpperBound(Harmonic):
6512 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
6514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6516 def __init__(self, mean, k):
6517 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6518 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6520 self.this.append(this)
6521 except __builtin__.Exception:
6525 """__str__(HarmonicUpperBound self) -> std::string"""
6526 return _IMP_core.HarmonicUpperBound___str__(self)
6530 """__repr__(HarmonicUpperBound self) -> std::string"""
6531 return _IMP_core.HarmonicUpperBound___repr__(self)
6536 return _object_cast_to_HarmonicUpperBound(o)
6538 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6539 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6542 """Proxy of C++ IMP::core::WeightedSum class."""
6544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6546 def __init__(self, funcs, weights):
6547 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6548 this = _IMP_core.new_WeightedSum(funcs, weights)
6550 self.this.append(this)
6551 except __builtin__.Exception:
6554 def get_function_number(self):
6555 """get_function_number(WeightedSum self) -> unsigned int"""
6556 return _IMP_core.WeightedSum_get_function_number(self)
6559 def set_weights(self, weights):
6560 """set_weights(WeightedSum self, IMP::Floats weights)"""
6561 return _IMP_core.WeightedSum_set_weights(self, weights)
6564 def get_weights(self):
6565 """get_weights(WeightedSum self) -> IMP::Floats"""
6566 return _IMP_core.WeightedSum_get_weights(self)
6569 def get_weight(self, i):
6570 """get_weight(WeightedSum self, unsigned int i) -> double"""
6571 return _IMP_core.WeightedSum_get_weight(self, i)
6574 def get_function(self, i):
6575 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6576 return _IMP_core.WeightedSum_get_function(self, i)
6579 def get_version_info(self):
6580 """get_version_info(WeightedSum self) -> VersionInfo"""
6581 return _IMP_core.WeightedSum_get_version_info(self)
6585 """__str__(WeightedSum self) -> std::string"""
6586 return _IMP_core.WeightedSum___str__(self)
6590 """__repr__(WeightedSum self) -> std::string"""
6591 return _IMP_core.WeightedSum___repr__(self)
6596 return _object_cast_to_WeightedSum(o)
6598 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6599 WeightedSum_swigregister(WeightedSum)
6602 """Proxy of C++ IMP::core::WeightedSumOfExponential class."""
6604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6606 def __init__(self, funcs, weights, denom=1.0):
6608 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6609 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6611 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6613 self.this.append(this)
6614 except __builtin__.Exception:
6617 def get_function_number(self):
6618 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6619 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6622 def set_weights(self, weights):
6623 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6624 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6627 def get_weights(self):
6628 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6629 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6632 def get_weight(self, i):
6633 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6634 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6637 def get_function(self, i):
6638 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6639 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6642 def set_denominator(self, denom):
6643 """set_denominator(WeightedSumOfExponential self, double denom)"""
6644 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6647 def get_denominator(self):
6648 """get_denominator(WeightedSumOfExponential self) -> double"""
6649 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6652 def get_version_info(self):
6653 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6654 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6658 """__str__(WeightedSumOfExponential self) -> std::string"""
6659 return _IMP_core.WeightedSumOfExponential___str__(self)
6663 """__repr__(WeightedSumOfExponential self) -> std::string"""
6664 return _IMP_core.WeightedSumOfExponential___repr__(self)
6669 return _object_cast_to_WeightedSumOfExponential(o)
6671 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6672 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6675 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
6677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6679 def __init__(self, m, ps, eps=0.1):
6681 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6682 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6684 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6686 self.this.append(this)
6687 except __builtin__.Exception:
6690 def add_type(self, ps):
6691 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6692 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6695 def add_composite(self, *args):
6697 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6698 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6700 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6703 def get_connected_pairs(self):
6704 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6705 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6708 def get_pair_score(self):
6709 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6710 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6713 def do_create_current_decomposition(self):
6714 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6715 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6718 def do_get_inputs(self):
6719 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6720 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6723 def get_version_info(self):
6724 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6725 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6729 """__str__(MSConnectivityRestraint self) -> std::string"""
6730 return _IMP_core.MSConnectivityRestraint___str__(self)
6734 """__repr__(MSConnectivityRestraint self) -> std::string"""
6735 return _IMP_core.MSConnectivityRestraint___repr__(self)
6740 return _object_cast_to_MSConnectivityRestraint(o)
6742 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6743 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6745 class HierarchyTraits(object):
6746 """Proxy of C++ IMP::core::HierarchyTraits class."""
6748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6750 def __init__(self, *args):
6752 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6753 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6755 this = _IMP_core.new_HierarchyTraits(*args)
6757 self.this.append(this)
6758 except __builtin__.Exception:
6761 def get_children_key(self):
6762 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6763 return _IMP_core.HierarchyTraits_get_children_key(self)
6766 def get_parent_key(self):
6767 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6768 return _IMP_core.HierarchyTraits_get_parent_key(self)
6771 def __eq__(self, o):
6772 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6773 return _IMP_core.HierarchyTraits___eq__(self, o)
6776 def show(self, *args):
6778 show(HierarchyTraits self, _ostream out)
6779 show(HierarchyTraits self)
6781 return _IMP_core.HierarchyTraits_show(self, *args)
6785 """__str__(HierarchyTraits self) -> std::string"""
6786 return _IMP_core.HierarchyTraits___str__(self)
6790 """__repr__(HierarchyTraits self) -> std::string"""
6791 return _IMP_core.HierarchyTraits___repr__(self)
6793 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6794 __del__ =
lambda self:
None
6795 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6796 HierarchyTraits_swigregister(HierarchyTraits)
6799 """Proxy of C++ IMP::core::Hierarchy class."""
6801 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6803 def get_decorator_traits(self):
6804 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6805 return _IMP_core.Hierarchy_get_decorator_traits(self)
6808 def get_default_decorator_traits():
6809 """get_default_decorator_traits() -> HierarchyTraits"""
6810 return _IMP_core.Hierarchy_get_default_decorator_traits()
6812 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6814 def __init__(self, *args):
6816 __init__(IMP::core::Hierarchy self) -> Hierarchy
6817 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6818 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6819 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6820 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6822 this = _IMP_core.new_Hierarchy(*args)
6824 self.this.append(this)
6825 except __builtin__.Exception:
6828 def show(self, *args):
6830 show(Hierarchy self, _ostream out)
6831 show(Hierarchy self)
6833 return _IMP_core.Hierarchy_show(self, *args)
6836 def setup_particle(*args):
6838 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6839 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6840 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6841 setup_particle(_ParticleAdaptor d) -> Hierarchy
6842 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6843 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6844 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6845 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6846 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6847 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6848 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6849 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6851 return _IMP_core.Hierarchy_setup_particle(*args)
6853 setup_particle = staticmethod(setup_particle)
6855 def get_is_setup(*args):
6857 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6858 get_is_setup(_ParticleAdaptor p) -> bool
6859 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6860 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6862 return _IMP_core.Hierarchy_get_is_setup(*args)
6864 get_is_setup = staticmethod(get_is_setup)
6866 def get_parent(self):
6867 """get_parent(Hierarchy self) -> Hierarchy"""
6868 return _IMP_core.Hierarchy_get_parent(self)
6871 def get_number_of_children(self):
6872 """get_number_of_children(Hierarchy self) -> unsigned int"""
6873 return _IMP_core.Hierarchy_get_number_of_children(self)
6876 def get_child(self, i):
6877 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6878 return _IMP_core.Hierarchy_get_child(self, i)
6881 def get_children_indexes(self):
6882 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6883 return _IMP_core.Hierarchy_get_children_indexes(self)
6886 def get_children(self):
6887 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6888 return _IMP_core.Hierarchy_get_children(self)
6891 def remove_child(self, *args):
6893 remove_child(Hierarchy self, unsigned int i)
6894 remove_child(Hierarchy self, Hierarchy h)
6896 return _IMP_core.Hierarchy_remove_child(self, *args)
6899 def clear_children(self):
6900 """clear_children(Hierarchy self)"""
6901 return _IMP_core.Hierarchy_clear_children(self)
6904 def add_child(self, h):
6905 """add_child(Hierarchy self, Hierarchy h)"""
6906 return _IMP_core.Hierarchy_add_child(self, h)
6909 def add_child_at(self, h, pos):
6910 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6911 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6914 def get_child_index(self, *args):
6916 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6917 get_child_index(Hierarchy self) -> int
6919 return _IMP_core.Hierarchy_get_child_index(self, *args)
6922 def get_default_traits():
6923 """get_default_traits() -> HierarchyTraits"""
6924 return _IMP_core.Hierarchy_get_default_traits()
6926 get_default_traits = staticmethod(get_default_traits)
6928 def get_traits(self):
6929 """get_traits(Hierarchy self) -> HierarchyTraits"""
6930 return _IMP_core.Hierarchy_get_traits(self)
6933 def add_attribute(self, *args):
6935 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6936 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6937 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6938 add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
6939 add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
6940 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6941 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6942 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6944 return _IMP_core.Hierarchy_add_attribute(self, *args)
6947 def get_value(self, *args):
6949 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6950 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6951 get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
6952 get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
6953 get_value(Hierarchy self, StringKey a0) -> IMP::String
6954 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6955 get_value(Hierarchy self, ObjectKey a0) -> Object
6957 return _IMP_core.Hierarchy_get_value(self, *args)
6960 def set_value(self, *args):
6962 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6963 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6964 set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
6965 set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
6966 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6967 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6968 set_value(Hierarchy self, ObjectKey a0, Object a1)
6970 return _IMP_core.Hierarchy_set_value(self, *args)
6973 def remove_attribute(self, *args):
6975 remove_attribute(Hierarchy self, FloatKey a0)
6976 remove_attribute(Hierarchy self, IntKey a0)
6977 remove_attribute(Hierarchy self, FloatsKey a0)
6978 remove_attribute(Hierarchy self, IntsKey a0)
6979 remove_attribute(Hierarchy self, StringKey a0)
6980 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6981 remove_attribute(Hierarchy self, ObjectKey a0)
6983 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6986 def has_attribute(self, *args):
6988 has_attribute(Hierarchy self, FloatKey a0) -> bool
6989 has_attribute(Hierarchy self, IntKey a0) -> bool
6990 has_attribute(Hierarchy self, FloatsKey a0) -> bool
6991 has_attribute(Hierarchy self, IntsKey a0) -> bool
6992 has_attribute(Hierarchy self, StringKey a0) -> bool
6993 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6994 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6996 return _IMP_core.Hierarchy_has_attribute(self, *args)
6999 def get_derivative(self, a0):
7000 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
7001 return _IMP_core.Hierarchy_get_derivative(self, a0)
7005 """get_name(Hierarchy self) -> std::string"""
7006 return _IMP_core.Hierarchy_get_name(self)
7009 def clear_caches(self):
7010 """clear_caches(Hierarchy self)"""
7011 return _IMP_core.Hierarchy_clear_caches(self)
7014 def set_name(self, a0):
7015 """set_name(Hierarchy self, std::string a0)"""
7016 return _IMP_core.Hierarchy_set_name(self, a0)
7020 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
7021 return _IMP_core.Hierarchy_set_check_level(self, a0)
7024 def add_to_derivative(self, a0, a1, a2):
7025 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7026 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
7029 def set_is_optimized(self, a0, a1):
7030 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
7031 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
7034 def get_is_optimized(self, a0):
7035 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
7036 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
7040 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
7041 return _IMP_core.Hierarchy_get_check_level(self)
7044 def __eq__(self, *args):
7046 __eq__(Hierarchy self, Hierarchy o) -> bool
7047 __eq__(Hierarchy self, Particle d) -> bool
7049 return _IMP_core.Hierarchy___eq__(self, *args)
7052 def __ne__(self, *args):
7054 __ne__(Hierarchy self, Hierarchy o) -> bool
7055 __ne__(Hierarchy self, Particle d) -> bool
7057 return _IMP_core.Hierarchy___ne__(self, *args)
7060 def __le__(self, *args):
7062 __le__(Hierarchy self, Hierarchy o) -> bool
7063 __le__(Hierarchy self, Particle d) -> bool
7065 return _IMP_core.Hierarchy___le__(self, *args)
7068 def __lt__(self, *args):
7070 __lt__(Hierarchy self, Hierarchy o) -> bool
7071 __lt__(Hierarchy self, Particle d) -> bool
7073 return _IMP_core.Hierarchy___lt__(self, *args)
7076 def __ge__(self, *args):
7078 __ge__(Hierarchy self, Hierarchy o) -> bool
7079 __ge__(Hierarchy self, Particle d) -> bool
7081 return _IMP_core.Hierarchy___ge__(self, *args)
7084 def __gt__(self, *args):
7086 __gt__(Hierarchy self, Hierarchy o) -> bool
7087 __gt__(Hierarchy self, Particle d) -> bool
7089 return _IMP_core.Hierarchy___gt__(self, *args)
7093 """__hash__(Hierarchy self) -> std::size_t"""
7094 return _IMP_core.Hierarchy___hash__(self)
7098 """__str__(Hierarchy self) -> std::string"""
7099 return _IMP_core.Hierarchy___str__(self)
7103 """__repr__(Hierarchy self) -> std::string"""
7104 return _IMP_core.Hierarchy___repr__(self)
7106 __swig_destroy__ = _IMP_core.delete_Hierarchy
7107 __del__ =
lambda self:
None
7108 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7109 Hierarchy_swigregister(Hierarchy)
7111 def Hierarchy_get_default_decorator_traits():
7112 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7113 return _IMP_core.Hierarchy_get_default_decorator_traits()
7115 def Hierarchy_setup_particle(*args):
7117 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7118 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7119 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7120 setup_particle(_ParticleAdaptor d) -> Hierarchy
7121 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7122 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7123 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7124 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7125 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7126 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7127 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7128 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7130 return _IMP_core.Hierarchy_setup_particle(*args)
7132 def Hierarchy_get_is_setup(*args):
7134 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7135 get_is_setup(_ParticleAdaptor p) -> bool
7136 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7137 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7139 return _IMP_core.Hierarchy_get_is_setup(*args)
7141 def Hierarchy_get_default_traits():
7142 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7143 return _IMP_core.Hierarchy_get_default_traits()
7145 class HierarchyVisitor(object):
7146 """Proxy of C++ IMP::core::HierarchyVisitor class."""
7148 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7149 __repr__ = _swig_repr
7152 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7153 if self.__class__ == HierarchyVisitor:
7157 this = _IMP_core.new_HierarchyVisitor(_self, )
7159 self.this.append(this)
7160 except __builtin__.Exception:
7163 if self.__class__ != HierarchyVisitor:
7164 _director_objects.register(self)
7169 def __call__(self, p):
7170 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7171 return _IMP_core.HierarchyVisitor___call__(self, p)
7173 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7174 __del__ =
lambda self:
None
7175 def __disown__(self):
7177 _IMP_core.disown_HierarchyVisitor(self)
7178 return weakref_proxy(self)
7179 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7180 HierarchyVisitor_swigregister(HierarchyVisitor)
7182 class ModifierVisitor(HierarchyVisitor):
7183 """Proxy of C++ IMP::core::ModifierVisitor class."""
7185 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7186 __repr__ = _swig_repr
7188 def __init__(self, sm):
7189 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7190 this = _IMP_core.new_ModifierVisitor(sm)
7192 self.this.append(this)
7193 except __builtin__.Exception:
7195 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7196 __del__ =
lambda self:
None
7197 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7198 ModifierVisitor_swigregister(ModifierVisitor)
7200 class HierarchyCounter(HierarchyVisitor):
7201 """Proxy of C++ IMP::core::HierarchyCounter class."""
7203 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7206 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7207 this = _IMP_core.new_HierarchyCounter()
7209 self.this.append(this)
7210 except __builtin__.Exception:
7213 def get_count(self):
7214 """get_count(HierarchyCounter self) -> unsigned int"""
7215 return _IMP_core.HierarchyCounter_get_count(self)
7218 def show(self, *args):
7220 show(HierarchyCounter self, _ostream out)
7221 show(HierarchyCounter self)
7223 return _IMP_core.HierarchyCounter_show(self, *args)
7227 """__str__(HierarchyCounter self) -> std::string"""
7228 return _IMP_core.HierarchyCounter___str__(self)
7232 """__repr__(HierarchyCounter self) -> std::string"""
7233 return _IMP_core.HierarchyCounter___repr__(self)
7235 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7236 __del__ =
lambda self:
None
7237 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7238 HierarchyCounter_swigregister(HierarchyCounter)
7242 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7243 return _IMP_core.get_leaves(mhd)
7246 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7247 return _IMP_core.get_internal(mhd)
7250 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7251 return _IMP_core.get_all_descendants(mhd)
7254 """get_root(Hierarchy h) -> Hierarchy"""
7255 return _IMP_core.get_root(h)
7258 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7259 return _IMP_core.visit_breadth_first(d, f)
7262 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7263 return _IMP_core.visit_depth_first(d, f)
7265 """Proxy of C++ IMP::core::LeavesRefiner class."""
7267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7269 def __init__(self, tr):
7270 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7271 this = _IMP_core.new_LeavesRefiner(tr)
7273 self.this.append(this)
7274 except __builtin__.Exception:
7277 def do_get_inputs(self, m, pis):
7278 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7279 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7282 def get_version_info(self):
7283 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7284 return _IMP_core.LeavesRefiner_get_version_info(self)
7288 """__str__(LeavesRefiner self) -> std::string"""
7289 return _IMP_core.LeavesRefiner___str__(self)
7293 """__repr__(LeavesRefiner self) -> std::string"""
7294 return _IMP_core.LeavesRefiner___repr__(self)
7299 return _object_cast_to_LeavesRefiner(o)
7301 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7302 LeavesRefiner_swigregister(LeavesRefiner)
7305 """Proxy of C++ IMP::core::Linear class."""
7307 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7309 def __init__(self, offset, slope):
7310 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7311 this = _IMP_core.new_Linear(offset, slope)
7313 self.this.append(this)
7314 except __builtin__.Exception:
7317 def set_slope(self, f):
7318 """set_slope(Linear self, double f)"""
7319 return _IMP_core.Linear_set_slope(self, f)
7322 def set_offset(self, f):
7323 """set_offset(Linear self, double f)"""
7324 return _IMP_core.Linear_set_offset(self, f)
7327 def get_version_info(self):
7328 """get_version_info(Linear self) -> VersionInfo"""
7329 return _IMP_core.Linear_get_version_info(self)
7333 """__str__(Linear self) -> std::string"""
7334 return _IMP_core.Linear___str__(self)
7338 """__repr__(Linear self) -> std::string"""
7339 return _IMP_core.Linear___repr__(self)
7344 return _object_cast_to_Linear(o)
7346 Linear_swigregister = _IMP_core.Linear_swigregister
7347 Linear_swigregister(Linear)
7349 class LogNormalMover(MonteCarloMover):
7350 """Proxy of C++ IMP::core::LogNormalMover 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::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7357 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7358 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7359 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7361 this = _IMP_core.new_LogNormalMover(*args)
7363 self.this.append(this)
7364 except __builtin__.Exception:
7367 def set_sigma(self, sigma):
7368 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7369 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7372 def get_sigma(self):
7373 """get_sigma(LogNormalMover self) -> IMP::Float"""
7374 return _IMP_core.LogNormalMover_get_sigma(self)
7377 def get_version_info(self):
7378 """get_version_info(LogNormalMover self) -> VersionInfo"""
7379 return _IMP_core.LogNormalMover_get_version_info(self)
7383 """__str__(LogNormalMover self) -> std::string"""
7384 return _IMP_core.LogNormalMover___str__(self)
7388 """__repr__(LogNormalMover self) -> std::string"""
7389 return _IMP_core.LogNormalMover___repr__(self)
7394 return _object_cast_to_LogNormalMover(o)
7396 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7397 LogNormalMover_swigregister(LogNormalMover)
7400 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
7402 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7404 def __init__(self, *args):
7406 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
7407 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7408 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7409 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7411 this = _IMP_core.new_IncrementalScoringFunction(*args)
7413 self.this.append(this)
7414 except __builtin__.Exception:
7417 def reset_moved_particles(self):
7418 """reset_moved_particles(IncrementalScoringFunction self)"""
7419 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7422 def set_moved_particles(self, p):
7423 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7424 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7427 def add_close_pair_score(self, *args):
7429 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7430 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7432 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7435 def clear_close_pair_scores(self):
7436 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7437 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7440 def get_movable_indexes(self):
7441 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7442 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7445 def do_add_score_and_derivatives(self, sa, ss):
7446 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7447 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7450 def do_get_inputs(self):
7451 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7452 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7455 def handle_set_has_required_score_states(self, arg2):
7456 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7457 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7460 def get_version_info(self):
7461 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7462 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7466 """__str__(IncrementalScoringFunction self) -> std::string"""
7467 return _IMP_core.IncrementalScoringFunction___str__(self)
7471 """__repr__(IncrementalScoringFunction self) -> std::string"""
7472 return _IMP_core.IncrementalScoringFunction___repr__(self)
7477 return _object_cast_to_IncrementalScoringFunction(o)
7479 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7480 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7482 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7484 """Proxy of C++ IMP::core::MonteCarlo class."""
7486 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7488 def __init__(self, m):
7489 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7490 this = _IMP_core.new_MonteCarlo(m)
7492 self.this.append(this)
7493 except __builtin__.Exception:
7496 def get_version_info(self):
7497 """get_version_info(MonteCarlo self) -> VersionInfo"""
7498 return _IMP_core.MonteCarlo_get_version_info(self)
7501 def set_return_best(self, tf):
7502 """set_return_best(MonteCarlo self, bool tf)"""
7503 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7506 def set_kt(self, t):
7507 """set_kt(MonteCarlo self, IMP::Float t)"""
7508 return _IMP_core.MonteCarlo_set_kt(self, t)
7512 """get_kt(MonteCarlo self) -> IMP::Float"""
7513 return _IMP_core.MonteCarlo_get_kt(self)
7516 def get_last_accepted_energy(self):
7517 """get_last_accepted_energy(MonteCarlo self) -> double"""
7518 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7521 def get_best_accepted_energy(self):
7522 """get_best_accepted_energy(MonteCarlo self) -> double"""
7523 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7526 def get_number_of_downward_steps(self):
7527 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7528 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7531 def get_number_of_upward_steps(self):
7532 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7533 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7536 def get_number_of_proposed_steps(self):
7537 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7538 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7541 def get_number_of_accepted_steps(self):
7542 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7543 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7546 def reset_statistics(self):
7547 """reset_statistics(MonteCarlo self)"""
7548 return _IMP_core.MonteCarlo_reset_statistics(self)
7551 def set_score_threshold(self, s):
7552 """set_score_threshold(MonteCarlo self, double s)"""
7553 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7556 def get_score_threshold(self):
7557 """get_score_threshold(MonteCarlo self) -> double"""
7558 return _IMP_core.MonteCarlo_get_score_threshold(self)
7561 def set_maximum_difference(self, d):
7562 """set_maximum_difference(MonteCarlo self, double d)"""
7563 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7566 def get_maximum_difference(self):
7567 """get_maximum_difference(MonteCarlo self) -> double"""
7568 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7571 def remove_mover(self, d):
7572 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7573 return _IMP_core.MonteCarlo_remove_mover(self, d)
7576 def remove_movers(self, d):
7577 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7578 return _IMP_core.MonteCarlo_remove_movers(self, d)
7581 def set_movers(self, ps):
7582 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7583 return _IMP_core.MonteCarlo_set_movers(self, ps)
7586 def set_movers_order(self, objs):
7587 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7588 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7591 def add_mover(self, obj):
7592 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7593 return _IMP_core.MonteCarlo_add_mover(self, obj)
7596 def add_movers(self, objs):
7597 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7598 return _IMP_core.MonteCarlo_add_movers(self, objs)
7601 def clear_movers(self):
7602 """clear_movers(MonteCarlo self)"""
7603 return _IMP_core.MonteCarlo_clear_movers(self)
7606 def get_number_of_movers(self):
7607 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7608 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7611 def get_has_movers(self):
7612 """get_has_movers(MonteCarlo self) -> bool"""
7613 return _IMP_core.MonteCarlo_get_has_movers(self)
7616 def get_mover(self, i):
7617 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7618 return _IMP_core.MonteCarlo_get_mover(self, i)
7621 def get_movers(self):
7622 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7623 return _IMP_core.MonteCarlo_get_movers(self)
7626 def reserve_movers(self, sz):
7627 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7628 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7631 def set_incremental_scoring_function(self, isf):
7632 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7633 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7636 def get_use_incremental_scoring_function(self):
7637 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7638 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7641 def get_incremental_scoring_function(self):
7642 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7643 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7647 """__str__(MonteCarlo self) -> std::string"""
7648 return _IMP_core.MonteCarlo___str__(self)
7652 """__repr__(MonteCarlo self) -> std::string"""
7653 return _IMP_core.MonteCarlo___repr__(self)
7658 return _object_cast_to_MonteCarlo(o)
7660 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7661 MonteCarlo_swigregister(MonteCarlo)
7663 class MonteCarloWithLocalOptimization(MonteCarlo):
7664 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
7666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7668 def __init__(self, opt, steps):
7669 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7670 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7672 self.this.append(this)
7673 except __builtin__.Exception:
7676 def get_number_of_steps(self):
7677 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7678 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7681 def get_local_optimizer(self):
7682 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7683 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7687 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7688 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7692 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7693 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7698 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7700 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7701 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7703 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7704 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
7706 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7708 def __init__(self, opt, ns):
7709 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7710 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7712 self.this.append(this)
7713 except __builtin__.Exception:
7717 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7718 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7722 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7723 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7728 return _object_cast_to_MonteCarloWithBasinHopping(o)
7730 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7731 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7734 """Proxy of C++ IMP::core::NeighborsTable class."""
7736 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7738 def __init__(self, *args):
7740 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7741 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7743 this = _IMP_core.new_NeighborsTable(*args)
7745 self.this.append(this)
7746 except __builtin__.Exception:
7749 def get_neighbors(self, pi):
7750 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7751 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7754 def get_version_info(self):
7755 """get_version_info(NeighborsTable self) -> VersionInfo"""
7756 return _IMP_core.NeighborsTable_get_version_info(self)
7760 """__str__(NeighborsTable self) -> std::string"""
7761 return _IMP_core.NeighborsTable___str__(self)
7765 """__repr__(NeighborsTable self) -> std::string"""
7766 return _IMP_core.NeighborsTable___repr__(self)
7771 return _object_cast_to_NeighborsTable(o)
7773 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7774 NeighborsTable_swigregister(NeighborsTable)
7776 class NormalMover(MonteCarloMover):
7777 """Proxy of C++ IMP::core::NormalMover class."""
7779 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7781 def __init__(self, *args):
7783 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7784 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7785 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7786 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7788 this = _IMP_core.new_NormalMover(*args)
7790 self.this.append(this)
7791 except __builtin__.Exception:
7794 def set_sigma(self, sigma):
7795 """set_sigma(NormalMover self, IMP::Float sigma)"""
7796 return _IMP_core.NormalMover_set_sigma(self, sigma)
7799 def get_sigma(self):
7800 """get_sigma(NormalMover self) -> IMP::Float"""
7801 return _IMP_core.NormalMover_get_sigma(self)
7804 def get_version_info(self):
7805 """get_version_info(NormalMover self) -> VersionInfo"""
7806 return _IMP_core.NormalMover_get_version_info(self)
7810 """__str__(NormalMover self) -> std::string"""
7811 return _IMP_core.NormalMover___str__(self)
7815 """__repr__(NormalMover self) -> std::string"""
7816 return _IMP_core.NormalMover___repr__(self)
7821 return _object_cast_to_NormalMover(o)
7823 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7824 NormalMover_swigregister(NormalMover)
7826 class OpenCubicSpline(_OpenCubicSplineBase):
7827 """Proxy of C++ IMP::core::OpenCubicSpline class."""
7829 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7831 def __init__(self, values, minrange, spacing, extend=False):
7833 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7834 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7836 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7838 self.this.append(this)
7839 except __builtin__.Exception:
7843 """__str__(OpenCubicSpline self) -> std::string"""
7844 return _IMP_core.OpenCubicSpline___str__(self)
7848 """__repr__(OpenCubicSpline self) -> std::string"""
7849 return _IMP_core.OpenCubicSpline___repr__(self)
7854 return _object_cast_to_OpenCubicSpline(o)
7856 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7857 __del__ =
lambda self:
None
7858 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7859 OpenCubicSpline_swigregister(OpenCubicSpline)
7861 class QuadraticClosePairsFinder(ClosePairsFinder):
7862 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
7864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7867 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7868 this = _IMP_core.new_QuadraticClosePairsFinder()
7870 self.this.append(this)
7871 except __builtin__.Exception:
7874 def get_are_close_and_filtered(self, *args):
7876 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7877 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7879 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7882 def get_close_pairs(self, *args):
7884 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7885 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7886 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7887 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7889 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7892 def do_get_inputs(self, m, pis):
7893 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7894 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7897 def get_version_info(self):
7898 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7899 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7903 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7904 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7908 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7909 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7914 return _object_cast_to_QuadraticClosePairsFinder(o)
7916 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7917 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7920 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7924 def __init__(self, r, f):
7925 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7926 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7928 self.this.append(this)
7929 except __builtin__.Exception:
7932 def do_get_inputs(self, m, pis):
7933 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7934 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7937 def get_version_info(self):
7938 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7939 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7943 """__str__(RefinedPairsPairScore self) -> std::string"""
7944 return _IMP_core.RefinedPairsPairScore___str__(self)
7948 """__repr__(RefinedPairsPairScore self) -> std::string"""
7949 return _IMP_core.RefinedPairsPairScore___repr__(self)
7954 return _object_cast_to_RefinedPairsPairScore(o)
7956 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
7957 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7959 class RigidBody(XYZ):
7960 """Proxy of C++ IMP::core::RigidBody class."""
7962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7964 def get_rigid_members(self):
7965 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7966 return _IMP_core.RigidBody_get_rigid_members(self)
7969 def get_rotation_keys():
7970 """get_rotation_keys() -> IMP::FloatKeys"""
7971 return _IMP_core.RigidBody_get_rotation_keys()
7973 get_rotation_keys = staticmethod(get_rotation_keys)
7975 def get_member_particle_indexes(self):
7976 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7977 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7980 def get_body_member_particle_indexes(self):
7981 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7982 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7985 def get_member_indexes(self):
7986 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7987 return _IMP_core.RigidBody_get_member_indexes(self)
7990 def __init__(self, *args):
7992 __init__(IMP::core::RigidBody self) -> RigidBody
7993 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7994 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7996 this = _IMP_core.new_RigidBody(*args)
7998 self.this.append(this)
7999 except __builtin__.Exception:
8002 def show(self, *args):
8004 show(RigidBody self, _ostream out)
8005 show(RigidBody self)
8007 return _IMP_core.RigidBody_show(self, *args)
8010 def setup_particle(*args):
8012 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8013 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8014 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8015 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8017 return _IMP_core.RigidBody_setup_particle(*args)
8019 setup_particle = staticmethod(setup_particle)
8021 def teardown_particle(rb):
8022 """teardown_particle(RigidBody rb)"""
8023 return _IMP_core.RigidBody_teardown_particle(rb)
8025 teardown_particle = staticmethod(teardown_particle)
8026 __swig_destroy__ = _IMP_core.delete_RigidBody
8027 __del__ =
lambda self:
None
8029 def get_is_setup(*args):
8031 get_is_setup(_ParticleAdaptor p) -> bool
8032 get_is_setup(Model m, ParticleIndex pi) -> bool
8034 return _IMP_core.RigidBody_get_is_setup(*args)
8036 get_is_setup = staticmethod(get_is_setup)
8038 def get_coordinates(self):
8039 """get_coordinates(RigidBody self) -> Vector3D"""
8040 return _IMP_core.RigidBody_get_coordinates(self)
8043 def get_rotation(self):
8044 """get_rotation(RigidBody self) -> Rotation3D"""
8045 return _IMP_core.RigidBody_get_rotation(self)
8048 def get_reference_frame(self):
8049 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
8050 return _IMP_core.RigidBody_get_reference_frame(self)
8053 def set_reference_frame(self, tr):
8054 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
8055 return _IMP_core.RigidBody_set_reference_frame(self, tr)
8058 def set_reference_frame_lazy(self, tr):
8059 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
8060 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
8063 def set_reference_frame_from_members(self, members):
8064 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
8065 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
8068 def pull_back_members_adjoints(self, da):
8069 """pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
8070 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
8073 def pull_back_member_adjoints(self, pi, da):
8074 """pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8075 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
8078 def pull_back_body_member_adjoints(self, pi, da):
8079 """pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8080 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
8083 def add_to_derivatives(self, *args):
8085 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
8086 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8088 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
8091 def add_to_rotational_derivatives(self, *args):
8093 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8094 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
8096 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
8099 def add_to_torque(self, torque_local, da):
8100 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
8101 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
8104 def get_torque(self):
8105 """get_torque(RigidBody self) -> Vector3D"""
8106 return _IMP_core.RigidBody_get_torque(self)
8109 def get_coordinates_are_optimized(self):
8110 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8111 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8114 def set_coordinates_are_optimized(self, tf):
8115 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8116 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8119 def normalize_rotation(self):
8120 """normalize_rotation(RigidBody self)"""
8121 return _IMP_core.RigidBody_normalize_rotation(self)
8124 def update_members(self):
8125 """update_members(RigidBody self)"""
8126 return _IMP_core.RigidBody_update_members(self)
8129 def get_rotational_derivatives(self):
8130 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8131 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8134 def get_number_of_members(self):
8135 """get_number_of_members(RigidBody self) -> unsigned int"""
8136 return _IMP_core.RigidBody_get_number_of_members(self)
8139 def get_member(self, i):
8140 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8141 return _IMP_core.RigidBody_get_member(self, i)
8144 def add_member(self, p):
8145 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8146 return _IMP_core.RigidBody_add_member(self, p)
8149 def add_non_rigid_member(self, p):
8150 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8151 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8154 def set_is_rigid_member(self, pi, tf):
8155 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8156 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8159 def add_attribute(self, *args):
8161 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8162 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8163 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8164 add_attribute(RigidBody self, FloatsKey a0, IMP::Floats a1)
8165 add_attribute(RigidBody self, IntsKey a0, IMP::Ints a1)
8166 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8167 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8168 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8170 return _IMP_core.RigidBody_add_attribute(self, *args)
8173 def get_value(self, *args):
8175 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8176 get_value(RigidBody self, IntKey a0) -> IMP::Int
8177 get_value(RigidBody self, FloatsKey a0) -> IMP::Floats
8178 get_value(RigidBody self, IntsKey a0) -> IMP::Ints
8179 get_value(RigidBody self, StringKey a0) -> IMP::String
8180 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8181 get_value(RigidBody self, ObjectKey a0) -> Object
8183 return _IMP_core.RigidBody_get_value(self, *args)
8186 def set_value(self, *args):
8188 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8189 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8190 set_value(RigidBody self, FloatsKey a0, IMP::Floats a1)
8191 set_value(RigidBody self, IntsKey a0, IMP::Ints a1)
8192 set_value(RigidBody self, StringKey a0, IMP::String a1)
8193 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8194 set_value(RigidBody self, ObjectKey a0, Object a1)
8196 return _IMP_core.RigidBody_set_value(self, *args)
8199 def remove_attribute(self, *args):
8201 remove_attribute(RigidBody self, FloatKey a0)
8202 remove_attribute(RigidBody self, IntKey a0)
8203 remove_attribute(RigidBody self, FloatsKey a0)
8204 remove_attribute(RigidBody self, IntsKey a0)
8205 remove_attribute(RigidBody self, StringKey a0)
8206 remove_attribute(RigidBody self, ParticleIndexKey a0)
8207 remove_attribute(RigidBody self, ObjectKey a0)
8209 return _IMP_core.RigidBody_remove_attribute(self, *args)
8212 def has_attribute(self, *args):
8214 has_attribute(RigidBody self, FloatKey a0) -> bool
8215 has_attribute(RigidBody self, IntKey a0) -> bool
8216 has_attribute(RigidBody self, FloatsKey a0) -> bool
8217 has_attribute(RigidBody self, IntsKey a0) -> bool
8218 has_attribute(RigidBody self, StringKey a0) -> bool
8219 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8220 has_attribute(RigidBody self, ObjectKey a0) -> bool
8222 return _IMP_core.RigidBody_has_attribute(self, *args)
8225 def get_derivative(self, a0):
8226 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8227 return _IMP_core.RigidBody_get_derivative(self, a0)
8231 """get_name(RigidBody self) -> std::string"""
8232 return _IMP_core.RigidBody_get_name(self)
8235 def clear_caches(self):
8236 """clear_caches(RigidBody self)"""
8237 return _IMP_core.RigidBody_clear_caches(self)
8240 def set_name(self, a0):
8241 """set_name(RigidBody self, std::string a0)"""
8242 return _IMP_core.RigidBody_set_name(self, a0)
8246 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8247 return _IMP_core.RigidBody_set_check_level(self, a0)
8250 def add_to_derivative(self, a0, a1, a2):
8251 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8252 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8255 def set_is_optimized(self, a0, a1):
8256 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8257 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8260 def get_is_optimized(self, a0):
8261 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8262 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8266 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8267 return _IMP_core.RigidBody_get_check_level(self)
8270 def __eq__(self, *args):
8272 __eq__(RigidBody self, RigidBody o) -> bool
8273 __eq__(RigidBody self, Particle d) -> bool
8275 return _IMP_core.RigidBody___eq__(self, *args)
8278 def __ne__(self, *args):
8280 __ne__(RigidBody self, RigidBody o) -> bool
8281 __ne__(RigidBody self, Particle d) -> bool
8283 return _IMP_core.RigidBody___ne__(self, *args)
8286 def __le__(self, *args):
8288 __le__(RigidBody self, RigidBody o) -> bool
8289 __le__(RigidBody self, Particle d) -> bool
8291 return _IMP_core.RigidBody___le__(self, *args)
8294 def __lt__(self, *args):
8296 __lt__(RigidBody self, RigidBody o) -> bool
8297 __lt__(RigidBody self, Particle d) -> bool
8299 return _IMP_core.RigidBody___lt__(self, *args)
8302 def __ge__(self, *args):
8304 __ge__(RigidBody self, RigidBody o) -> bool
8305 __ge__(RigidBody self, Particle d) -> bool
8307 return _IMP_core.RigidBody___ge__(self, *args)
8310 def __gt__(self, *args):
8312 __gt__(RigidBody self, RigidBody o) -> bool
8313 __gt__(RigidBody self, Particle d) -> bool
8315 return _IMP_core.RigidBody___gt__(self, *args)
8319 """__hash__(RigidBody self) -> std::size_t"""
8320 return _IMP_core.RigidBody___hash__(self)
8324 """__str__(RigidBody self) -> std::string"""
8325 return _IMP_core.RigidBody___str__(self)
8329 """__repr__(RigidBody self) -> std::string"""
8330 return _IMP_core.RigidBody___repr__(self)
8332 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8333 RigidBody_swigregister(RigidBody)
8335 def RigidBody_get_rotation_keys():
8336 """RigidBody_get_rotation_keys() -> IMP::FloatKeys"""
8337 return _IMP_core.RigidBody_get_rotation_keys()
8339 def RigidBody_setup_particle(*args):
8341 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8342 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8343 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8344 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8346 return _IMP_core.RigidBody_setup_particle(*args)
8348 def RigidBody_teardown_particle(rb):
8349 """RigidBody_teardown_particle(RigidBody rb)"""
8350 return _IMP_core.RigidBody_teardown_particle(rb)
8352 def RigidBody_get_is_setup(*args):
8354 get_is_setup(_ParticleAdaptor p) -> bool
8355 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8357 return _IMP_core.RigidBody_get_is_setup(*args)
8361 """add_rigid_body_cache_key(ObjectKey k)"""
8362 return _IMP_core.add_rigid_body_cache_key(k)
8363 class RigidBodyMember(XYZ):
8364 """Proxy of C++ IMP::core::RigidBodyMember class."""
8366 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8368 def __init__(self, *args):
8370 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8371 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8372 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8374 this = _IMP_core.new_RigidBodyMember(*args)
8376 self.this.append(this)
8377 except __builtin__.Exception:
8380 def show(self, *args):
8382 show(RigidBodyMember self, _ostream out)
8383 show(RigidBodyMember self)
8385 return _IMP_core.RigidBodyMember_show(self, *args)
8388 def get_rigid_body(self):
8389 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8390 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8393 def get_internal_coordinates(self):
8394 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8395 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8398 def set_internal_coordinates(self, v):
8399 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8400 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8403 def set_internal_transformation(self, v):
8404 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8405 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8408 def get_internal_transformation(self):
8409 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8410 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8412 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8413 __del__ =
lambda self:
None
8415 def set_coordinates(self, *args):
8417 set_coordinates(RigidBodyMember self, Vector3D center)
8418 set_coordinates(RigidBodyMember self, Transformation3D tr)
8420 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8423 def get_is_setup(*args):
8425 get_is_setup(_ParticleAdaptor p) -> bool
8426 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8428 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8430 get_is_setup = staticmethod(get_is_setup)
8432 def get_internal_coordinate_keys():
8433 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8434 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8436 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8438 def get_internal_rotation_keys():
8439 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8440 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8442 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8444 def add_attribute(self, *args):
8446 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8447 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8448 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8449 add_attribute(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8450 add_attribute(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8451 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8452 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8453 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8455 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8458 def get_value(self, *args):
8460 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8461 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8462 get_value(RigidBodyMember self, FloatsKey a0) -> IMP::Floats
8463 get_value(RigidBodyMember self, IntsKey a0) -> IMP::Ints
8464 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8465 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8466 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8468 return _IMP_core.RigidBodyMember_get_value(self, *args)
8471 def set_value(self, *args):
8473 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8474 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8475 set_value(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8476 set_value(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8477 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8478 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8479 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8481 return _IMP_core.RigidBodyMember_set_value(self, *args)
8484 def remove_attribute(self, *args):
8486 remove_attribute(RigidBodyMember self, FloatKey a0)
8487 remove_attribute(RigidBodyMember self, IntKey a0)
8488 remove_attribute(RigidBodyMember self, FloatsKey a0)
8489 remove_attribute(RigidBodyMember self, IntsKey a0)
8490 remove_attribute(RigidBodyMember self, StringKey a0)
8491 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8492 remove_attribute(RigidBodyMember self, ObjectKey a0)
8494 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8497 def has_attribute(self, *args):
8499 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8500 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8501 has_attribute(RigidBodyMember self, FloatsKey a0) -> bool
8502 has_attribute(RigidBodyMember self, IntsKey a0) -> bool
8503 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8504 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8505 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8507 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8510 def get_derivative(self, a0):
8511 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8512 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8516 """get_name(RigidBodyMember self) -> std::string"""
8517 return _IMP_core.RigidBodyMember_get_name(self)
8520 def clear_caches(self):
8521 """clear_caches(RigidBodyMember self)"""
8522 return _IMP_core.RigidBodyMember_clear_caches(self)
8525 def set_name(self, a0):
8526 """set_name(RigidBodyMember self, std::string a0)"""
8527 return _IMP_core.RigidBodyMember_set_name(self, a0)
8531 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8532 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8535 def add_to_derivative(self, a0, a1, a2):
8536 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8537 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8540 def set_is_optimized(self, a0, a1):
8541 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8542 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8545 def get_is_optimized(self, a0):
8546 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8547 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8551 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8552 return _IMP_core.RigidBodyMember_get_check_level(self)
8555 def __eq__(self, *args):
8557 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8558 __eq__(RigidBodyMember self, Particle d) -> bool
8560 return _IMP_core.RigidBodyMember___eq__(self, *args)
8563 def __ne__(self, *args):
8565 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8566 __ne__(RigidBodyMember self, Particle d) -> bool
8568 return _IMP_core.RigidBodyMember___ne__(self, *args)
8571 def __le__(self, *args):
8573 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8574 __le__(RigidBodyMember self, Particle d) -> bool
8576 return _IMP_core.RigidBodyMember___le__(self, *args)
8579 def __lt__(self, *args):
8581 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8582 __lt__(RigidBodyMember self, Particle d) -> bool
8584 return _IMP_core.RigidBodyMember___lt__(self, *args)
8587 def __ge__(self, *args):
8589 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8590 __ge__(RigidBodyMember self, Particle d) -> bool
8592 return _IMP_core.RigidBodyMember___ge__(self, *args)
8595 def __gt__(self, *args):
8597 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8598 __gt__(RigidBodyMember self, Particle d) -> bool
8600 return _IMP_core.RigidBodyMember___gt__(self, *args)
8604 """__hash__(RigidBodyMember self) -> std::size_t"""
8605 return _IMP_core.RigidBodyMember___hash__(self)
8609 """__str__(RigidBodyMember self) -> std::string"""
8610 return _IMP_core.RigidBodyMember___str__(self)
8614 """__repr__(RigidBodyMember self) -> std::string"""
8615 return _IMP_core.RigidBodyMember___repr__(self)
8617 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8618 RigidBodyMember_swigregister(RigidBodyMember)
8620 def RigidBodyMember_get_is_setup(*args):
8622 get_is_setup(_ParticleAdaptor p) -> bool
8623 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8625 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8627 def RigidBodyMember_get_internal_coordinate_keys():
8628 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8629 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8631 def RigidBodyMember_get_internal_rotation_keys():
8632 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8633 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8635 class RigidMember(RigidBodyMember):
8636 """Proxy of C++ IMP::core::RigidMember class."""
8638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8640 def __init__(self, *args):
8642 __init__(IMP::core::RigidMember self) -> RigidMember
8643 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8644 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8646 this = _IMP_core.new_RigidMember(*args)
8648 self.this.append(this)
8649 except __builtin__.Exception:
8652 def show(self, *args):
8654 show(RigidMember self, _ostream out)
8655 show(RigidMember self)
8657 return _IMP_core.RigidMember_show(self, *args)
8659 __swig_destroy__ = _IMP_core.delete_RigidMember
8660 __del__ =
lambda self:
None
8662 def get_is_setup(*args):
8664 get_is_setup(_ParticleAdaptor p) -> bool
8665 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8667 return _IMP_core.RigidMember_get_is_setup(*args)
8669 get_is_setup = staticmethod(get_is_setup)
8671 def add_attribute(self, *args):
8673 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8674 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8675 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8676 add_attribute(RigidMember self, FloatsKey a0, IMP::Floats a1)
8677 add_attribute(RigidMember self, IntsKey a0, IMP::Ints a1)
8678 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8679 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8680 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8682 return _IMP_core.RigidMember_add_attribute(self, *args)
8685 def get_value(self, *args):
8687 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8688 get_value(RigidMember self, IntKey a0) -> IMP::Int
8689 get_value(RigidMember self, FloatsKey a0) -> IMP::Floats
8690 get_value(RigidMember self, IntsKey a0) -> IMP::Ints
8691 get_value(RigidMember self, StringKey a0) -> IMP::String
8692 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8693 get_value(RigidMember self, ObjectKey a0) -> Object
8695 return _IMP_core.RigidMember_get_value(self, *args)
8698 def set_value(self, *args):
8700 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8701 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8702 set_value(RigidMember self, FloatsKey a0, IMP::Floats a1)
8703 set_value(RigidMember self, IntsKey a0, IMP::Ints a1)
8704 set_value(RigidMember self, StringKey a0, IMP::String a1)
8705 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8706 set_value(RigidMember self, ObjectKey a0, Object a1)
8708 return _IMP_core.RigidMember_set_value(self, *args)
8711 def remove_attribute(self, *args):
8713 remove_attribute(RigidMember self, FloatKey a0)
8714 remove_attribute(RigidMember self, IntKey a0)
8715 remove_attribute(RigidMember self, FloatsKey a0)
8716 remove_attribute(RigidMember self, IntsKey a0)
8717 remove_attribute(RigidMember self, StringKey a0)
8718 remove_attribute(RigidMember self, ParticleIndexKey a0)
8719 remove_attribute(RigidMember self, ObjectKey a0)
8721 return _IMP_core.RigidMember_remove_attribute(self, *args)
8724 def has_attribute(self, *args):
8726 has_attribute(RigidMember self, FloatKey a0) -> bool
8727 has_attribute(RigidMember self, IntKey a0) -> bool
8728 has_attribute(RigidMember self, FloatsKey a0) -> bool
8729 has_attribute(RigidMember self, IntsKey a0) -> bool
8730 has_attribute(RigidMember self, StringKey a0) -> bool
8731 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8732 has_attribute(RigidMember self, ObjectKey a0) -> bool
8734 return _IMP_core.RigidMember_has_attribute(self, *args)
8737 def get_derivative(self, a0):
8738 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8739 return _IMP_core.RigidMember_get_derivative(self, a0)
8743 """get_name(RigidMember self) -> std::string"""
8744 return _IMP_core.RigidMember_get_name(self)
8747 def clear_caches(self):
8748 """clear_caches(RigidMember self)"""
8749 return _IMP_core.RigidMember_clear_caches(self)
8752 def set_name(self, a0):
8753 """set_name(RigidMember self, std::string a0)"""
8754 return _IMP_core.RigidMember_set_name(self, a0)
8758 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8759 return _IMP_core.RigidMember_set_check_level(self, a0)
8762 def add_to_derivative(self, a0, a1, a2):
8763 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8764 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8767 def set_is_optimized(self, a0, a1):
8768 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8769 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8772 def get_is_optimized(self, a0):
8773 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8774 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8778 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8779 return _IMP_core.RigidMember_get_check_level(self)
8782 def __eq__(self, *args):
8784 __eq__(RigidMember self, RigidMember o) -> bool
8785 __eq__(RigidMember self, Particle d) -> bool
8787 return _IMP_core.RigidMember___eq__(self, *args)
8790 def __ne__(self, *args):
8792 __ne__(RigidMember self, RigidMember o) -> bool
8793 __ne__(RigidMember self, Particle d) -> bool
8795 return _IMP_core.RigidMember___ne__(self, *args)
8798 def __le__(self, *args):
8800 __le__(RigidMember self, RigidMember o) -> bool
8801 __le__(RigidMember self, Particle d) -> bool
8803 return _IMP_core.RigidMember___le__(self, *args)
8806 def __lt__(self, *args):
8808 __lt__(RigidMember self, RigidMember o) -> bool
8809 __lt__(RigidMember self, Particle d) -> bool
8811 return _IMP_core.RigidMember___lt__(self, *args)
8814 def __ge__(self, *args):
8816 __ge__(RigidMember self, RigidMember o) -> bool
8817 __ge__(RigidMember self, Particle d) -> bool
8819 return _IMP_core.RigidMember___ge__(self, *args)
8822 def __gt__(self, *args):
8824 __gt__(RigidMember self, RigidMember o) -> bool
8825 __gt__(RigidMember self, Particle d) -> bool
8827 return _IMP_core.RigidMember___gt__(self, *args)
8831 """__hash__(RigidMember self) -> std::size_t"""
8832 return _IMP_core.RigidMember___hash__(self)
8836 """__str__(RigidMember self) -> std::string"""
8837 return _IMP_core.RigidMember___str__(self)
8841 """__repr__(RigidMember self) -> std::string"""
8842 return _IMP_core.RigidMember___repr__(self)
8844 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8845 RigidMember_swigregister(RigidMember)
8847 def RigidMember_get_is_setup(*args):
8849 get_is_setup(_ParticleAdaptor p) -> bool
8850 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8852 return _IMP_core.RigidMember_get_is_setup(*args)
8854 class NonRigidMember(RigidBodyMember):
8855 """Proxy of C++ IMP::core::NonRigidMember class."""
8857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8859 def __init__(self, *args):
8861 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8862 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8863 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8865 this = _IMP_core.new_NonRigidMember(*args)
8867 self.this.append(this)
8868 except __builtin__.Exception:
8871 def show(self, *args):
8873 show(NonRigidMember self, _ostream out)
8874 show(NonRigidMember self)
8876 return _IMP_core.NonRigidMember_show(self, *args)
8878 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8879 __del__ =
lambda self:
None
8881 def get_is_setup(*args):
8883 get_is_setup(_ParticleAdaptor p) -> bool
8884 get_is_setup(Model m, ParticleIndex p) -> bool
8886 return _IMP_core.NonRigidMember_get_is_setup(*args)
8888 get_is_setup = staticmethod(get_is_setup)
8890 def add_to_internal_derivatives(self, deriv_parent, da):
8891 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8892 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8895 def add_to_internal_rotational_derivatives(self, *args):
8897 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8898 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8900 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8903 def get_internal_derivatives(self):
8904 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8905 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8908 def get_internal_rotational_derivatives(self):
8909 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8910 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8913 def add_attribute(self, *args):
8915 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8916 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8917 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8918 add_attribute(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8919 add_attribute(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8920 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8921 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8922 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8924 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8927 def get_value(self, *args):
8929 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8930 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8931 get_value(NonRigidMember self, FloatsKey a0) -> IMP::Floats
8932 get_value(NonRigidMember self, IntsKey a0) -> IMP::Ints
8933 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8934 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8935 get_value(NonRigidMember self, ObjectKey a0) -> Object
8937 return _IMP_core.NonRigidMember_get_value(self, *args)
8940 def set_value(self, *args):
8942 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8943 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8944 set_value(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8945 set_value(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8946 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8947 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8948 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8950 return _IMP_core.NonRigidMember_set_value(self, *args)
8953 def remove_attribute(self, *args):
8955 remove_attribute(NonRigidMember self, FloatKey a0)
8956 remove_attribute(NonRigidMember self, IntKey a0)
8957 remove_attribute(NonRigidMember self, FloatsKey a0)
8958 remove_attribute(NonRigidMember self, IntsKey a0)
8959 remove_attribute(NonRigidMember self, StringKey a0)
8960 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8961 remove_attribute(NonRigidMember self, ObjectKey a0)
8963 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8966 def has_attribute(self, *args):
8968 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8969 has_attribute(NonRigidMember self, IntKey a0) -> bool
8970 has_attribute(NonRigidMember self, FloatsKey a0) -> bool
8971 has_attribute(NonRigidMember self, IntsKey a0) -> bool
8972 has_attribute(NonRigidMember self, StringKey a0) -> bool
8973 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8974 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8976 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8979 def get_derivative(self, a0):
8980 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8981 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8985 """get_name(NonRigidMember self) -> std::string"""
8986 return _IMP_core.NonRigidMember_get_name(self)
8989 def clear_caches(self):
8990 """clear_caches(NonRigidMember self)"""
8991 return _IMP_core.NonRigidMember_clear_caches(self)
8994 def set_name(self, a0):
8995 """set_name(NonRigidMember self, std::string a0)"""
8996 return _IMP_core.NonRigidMember_set_name(self, a0)
9000 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
9001 return _IMP_core.NonRigidMember_set_check_level(self, a0)
9004 def add_to_derivative(self, a0, a1, a2):
9005 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9006 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
9009 def set_is_optimized(self, a0, a1):
9010 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
9011 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
9014 def get_is_optimized(self, a0):
9015 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
9016 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
9020 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
9021 return _IMP_core.NonRigidMember_get_check_level(self)
9024 def __eq__(self, *args):
9026 __eq__(NonRigidMember self, NonRigidMember o) -> bool
9027 __eq__(NonRigidMember self, Particle d) -> bool
9029 return _IMP_core.NonRigidMember___eq__(self, *args)
9032 def __ne__(self, *args):
9034 __ne__(NonRigidMember self, NonRigidMember o) -> bool
9035 __ne__(NonRigidMember self, Particle d) -> bool
9037 return _IMP_core.NonRigidMember___ne__(self, *args)
9040 def __le__(self, *args):
9042 __le__(NonRigidMember self, NonRigidMember o) -> bool
9043 __le__(NonRigidMember self, Particle d) -> bool
9045 return _IMP_core.NonRigidMember___le__(self, *args)
9048 def __lt__(self, *args):
9050 __lt__(NonRigidMember self, NonRigidMember o) -> bool
9051 __lt__(NonRigidMember self, Particle d) -> bool
9053 return _IMP_core.NonRigidMember___lt__(self, *args)
9056 def __ge__(self, *args):
9058 __ge__(NonRigidMember self, NonRigidMember o) -> bool
9059 __ge__(NonRigidMember self, Particle d) -> bool
9061 return _IMP_core.NonRigidMember___ge__(self, *args)
9064 def __gt__(self, *args):
9066 __gt__(NonRigidMember self, NonRigidMember o) -> bool
9067 __gt__(NonRigidMember self, Particle d) -> bool
9069 return _IMP_core.NonRigidMember___gt__(self, *args)
9073 """__hash__(NonRigidMember self) -> std::size_t"""
9074 return _IMP_core.NonRigidMember___hash__(self)
9078 """__str__(NonRigidMember self) -> std::string"""
9079 return _IMP_core.NonRigidMember___str__(self)
9083 """__repr__(NonRigidMember self) -> std::string"""
9084 return _IMP_core.NonRigidMember___repr__(self)
9086 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
9087 NonRigidMember_swigregister(NonRigidMember)
9089 def NonRigidMember_get_is_setup(*args):
9091 get_is_setup(_ParticleAdaptor p) -> bool
9092 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
9094 return _IMP_core.NonRigidMember_get_is_setup(*args)
9097 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
9099 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9101 def __init__(self, *args):
9103 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
9104 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
9106 this = _IMP_core.new_RigidMembersRefiner(*args)
9108 self.this.append(this)
9109 except __builtin__.Exception:
9112 def do_get_inputs(self, m, pis):
9113 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9114 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
9117 def get_version_info(self):
9118 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
9119 return _IMP_core.RigidMembersRefiner_get_version_info(self)
9123 """__str__(RigidMembersRefiner self) -> std::string"""
9124 return _IMP_core.RigidMembersRefiner___str__(self)
9128 """__repr__(RigidMembersRefiner self) -> std::string"""
9129 return _IMP_core.RigidMembersRefiner___repr__(self)
9134 return _object_cast_to_RigidMembersRefiner(o)
9136 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
9137 RigidMembersRefiner_swigregister(RigidMembersRefiner)
9140 def get_rigid_members_refiner():
9141 """get_rigid_members_refiner() -> RigidMembersRefiner"""
9142 return _IMP_core.get_rigid_members_refiner()
9146 transform(XYZ a, Transformation3D tr)
9147 transform(RigidBody a, Transformation3D tr)
9149 return _IMP_core.transform(*args)
9153 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
9154 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9156 return _IMP_core.get_initial_reference_frame(*args)
9160 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9161 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9163 return _IMP_core.create_rigid_bodies(m, n, no_members)
9167 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9168 show_rigid_body_hierarchy(RigidBody rb)
9170 return _IMP_core.show_rigid_body_hierarchy(*args)
9173 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9174 return _IMP_core.get_root_rigid_body(m)
9176 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
9178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9180 def __init__(self, rb, constituents):
9181 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9182 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9184 self.this.append(this)
9185 except __builtin__.Exception:
9188 def get_version_info(self):
9189 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9190 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9194 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9195 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9199 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9200 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9205 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9207 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9208 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9211 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
9213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9215 def __init__(self, *args):
9217 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9218 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9220 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9222 self.this.append(this)
9223 except __builtin__.Exception:
9226 def get_version_info(self):
9227 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9228 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9232 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9233 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9237 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9238 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9243 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9245 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9246 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9249 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
9251 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9253 def __init__(self, sc):
9254 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9255 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9257 self.this.append(this)
9258 except __builtin__.Exception:
9261 def get_version_info(self):
9262 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9263 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9267 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9268 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9272 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9273 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9278 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9280 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9281 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9284 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
9286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9288 def __init__(self, *args):
9290 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9291 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9293 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9295 self.this.append(this)
9296 except __builtin__.Exception:
9299 def get_version_info(self):
9300 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9301 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9305 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9306 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9310 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9311 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9316 return _object_cast_to_RigidBodyFrameGeometry(o)
9318 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9319 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9322 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
9324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9326 def __init__(self, sc):
9327 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9328 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9330 self.this.append(this)
9331 except __builtin__.Exception:
9334 def get_version_info(self):
9335 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9336 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9340 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9341 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9345 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9346 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9351 return _object_cast_to_RigidBodyFramesGeometry(o)
9353 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9354 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9357 """Proxy of C++ IMP::core::RigidBodyTorque class."""
9359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9361 def __init__(self, p):
9362 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9363 this = _IMP_core.new_RigidBodyTorque(p)
9365 self.this.append(this)
9366 except __builtin__.Exception:
9370 """__str__(RigidBodyTorque self) -> std::string"""
9371 return _IMP_core.RigidBodyTorque___str__(self)
9375 """__repr__(RigidBodyTorque self) -> std::string"""
9376 return _IMP_core.RigidBodyTorque___repr__(self)
9381 return _object_cast_to_RigidBodyTorque(o)
9383 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9384 __del__ =
lambda self:
None
9385 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9386 RigidBodyTorque_swigregister(RigidBodyTorque)
9388 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9389 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
9391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9394 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9395 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9397 self.this.append(this)
9398 except __builtin__.Exception:
9401 def get_close_pairs(self, *args):
9403 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9404 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9405 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9406 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9408 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9411 def do_get_inputs(self, m, pis):
9412 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9413 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9416 def get_version_info(self):
9417 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9418 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9422 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9423 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9427 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9428 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9433 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9435 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9436 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9439 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
9441 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9443 def __init__(self, *args):
9445 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9446 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9447 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9448 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9449 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9451 this = _IMP_core.new_RestraintsScoringFunction(*args)
9453 self.this.append(this)
9454 except __builtin__.Exception:
9457 def do_add_score_and_derivatives(self, sa, ss):
9458 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9459 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9462 def do_get_inputs(self):
9463 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9464 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9467 def get_version_info(self):
9468 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9469 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9473 """__str__(RestraintsScoringFunction self) -> std::string"""
9474 return _IMP_core.RestraintsScoringFunction___str__(self)
9478 """__repr__(RestraintsScoringFunction self) -> std::string"""
9479 return _IMP_core.RestraintsScoringFunction___repr__(self)
9484 return _object_cast_to_RestraintsScoringFunction(o)
9486 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9487 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9489 class RigidClosePairsFinder(ClosePairsFinder):
9490 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
9492 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9494 def __init__(self, cpf=None):
9496 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9497 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9499 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9501 self.this.append(this)
9502 except __builtin__.Exception:
9505 def do_get_inputs(self, m, pis):
9506 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9507 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9510 def get_close_pairs(self, *args):
9512 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9513 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9514 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9515 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9516 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9518 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9521 def get_version_info(self):
9522 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9523 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9527 """__str__(RigidClosePairsFinder self) -> std::string"""
9528 return _IMP_core.RigidClosePairsFinder___str__(self)
9532 """__repr__(RigidClosePairsFinder self) -> std::string"""
9533 return _IMP_core.RigidClosePairsFinder___repr__(self)
9538 return _object_cast_to_RigidClosePairsFinder(o)
9540 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9541 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9544 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
9546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9548 def __init__(self, *args):
9550 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9551 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9553 this = _IMP_core.new_SphereDistancePairScore(*args)
9555 self.this.append(this)
9556 except __builtin__.Exception:
9559 def do_get_inputs(self, m, pis):
9560 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9561 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9564 def get_version_info(self):
9565 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9566 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9570 """__str__(SphereDistancePairScore self) -> std::string"""
9571 return _IMP_core.SphereDistancePairScore___str__(self)
9575 """__repr__(SphereDistancePairScore self) -> std::string"""
9576 return _IMP_core.SphereDistancePairScore___repr__(self)
9581 return _object_cast_to_SphereDistancePairScore(o)
9583 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9584 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9586 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9587 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
9589 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9591 def __init__(self, *args):
9593 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9594 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9596 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9598 self.this.append(this)
9599 except __builtin__.Exception:
9602 def do_get_inputs(self, m, pis):
9603 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9604 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9607 def get_version_info(self):
9608 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9609 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9613 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9614 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9618 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9619 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9624 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9626 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9627 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9629 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9630 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
9632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9634 def __init__(self, d0, k):
9635 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9636 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9638 self.this.append(this)
9639 except __builtin__.Exception:
9642 def get_rest_length(self):
9643 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9644 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9647 def get_stiffness(self):
9648 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9649 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9652 def do_get_inputs(self, m, pis):
9653 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9654 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9657 def get_version_info(self):
9658 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9659 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9663 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9664 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9668 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9669 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9674 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9676 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9677 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9680 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9682 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9684 def __init__(self, *args):
9686 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9687 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9689 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9691 self.this.append(this)
9692 except __builtin__.Exception:
9695 def do_get_inputs(self, m, pis):
9696 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9697 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9700 def get_version_info(self):
9701 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9702 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9706 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9707 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9711 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9712 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9717 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9719 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9720 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9723 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9727 def __init__(self, *args):
9729 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9730 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9732 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9734 self.this.append(this)
9735 except __builtin__.Exception:
9738 def do_get_inputs(self, m, pis):
9739 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9740 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9743 def get_version_info(self):
9744 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9745 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9749 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9750 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9754 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9755 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9760 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9762 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9763 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9766 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9770 def __init__(self, *args):
9772 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9773 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9775 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9777 self.this.append(this)
9778 except __builtin__.Exception:
9781 def do_get_inputs(self, m, pis):
9782 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9783 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9786 def get_version_info(self):
9787 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9788 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9792 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9793 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9797 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9798 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9803 return _object_cast_to_WeightedSphereDistancePairScore(o)
9805 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9806 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9809 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
9811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9813 def __init__(self, *args):
9815 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9816 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9818 this = _IMP_core.new_SoftSpherePairScore(*args)
9820 self.this.append(this)
9821 except __builtin__.Exception:
9824 def do_get_inputs(self, m, pis):
9825 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9826 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9829 def get_version_info(self):
9830 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9831 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9835 """__str__(SoftSpherePairScore self) -> std::string"""
9836 return _IMP_core.SoftSpherePairScore___str__(self)
9840 """__repr__(SoftSpherePairScore self) -> std::string"""
9841 return _IMP_core.SoftSpherePairScore___repr__(self)
9846 return _object_cast_to_SoftSpherePairScore(o)
9848 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9849 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9852 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9854 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9856 def __init__(self, *args):
9858 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9859 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9861 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9863 self.this.append(this)
9864 except __builtin__.Exception:
9867 def do_get_inputs(self, m, pis):
9868 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9869 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9872 def get_version_info(self):
9873 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9874 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9878 """__str__(SurfaceDistancePairScore self) -> std::string"""
9879 return _IMP_core.SurfaceDistancePairScore___str__(self)
9883 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9884 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9889 return _object_cast_to_SurfaceDistancePairScore(o)
9891 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9892 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9895 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9897 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9899 def __init__(self, *args):
9901 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9902 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9904 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9906 self.this.append(this)
9907 except __builtin__.Exception:
9910 def do_get_inputs(self, m, pis):
9911 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9912 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9915 def get_version_info(self):
9916 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9917 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9921 """__str__(SurfaceHeightPairScore self) -> std::string"""
9922 return _IMP_core.SurfaceHeightPairScore___str__(self)
9926 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9927 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9932 return _object_cast_to_SurfaceHeightPairScore(o)
9934 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9935 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9938 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9940 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9942 def __init__(self, *args):
9944 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9945 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9947 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9949 self.this.append(this)
9950 except __builtin__.Exception:
9953 def do_get_inputs(self, m, pis):
9954 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9955 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9958 def get_version_info(self):
9959 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9960 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9964 """__str__(SurfaceDepthPairScore self) -> std::string"""
9965 return _IMP_core.SurfaceDepthPairScore___str__(self)
9969 """__repr__(SurfaceDepthPairScore self) -> std::string"""
9970 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9975 return _object_cast_to_SurfaceDepthPairScore(o)
9977 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
9978 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9981 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9983 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9985 def __init__(self, *args):
9987 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9988 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9990 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9992 self.this.append(this)
9993 except __builtin__.Exception:
9996 def do_get_inputs(self, m, pis):
9997 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9998 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
10001 def get_version_info(self):
10002 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
10003 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
10007 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10008 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
10011 def __repr__(self):
10012 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10013 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
10018 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
10020 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
10021 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
10024 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
10026 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10028 def __init__(self, *args):
10030 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
10031 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
10033 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
10035 self.this.append(this)
10036 except __builtin__.Exception:
10039 def do_get_inputs(self, m, pis):
10040 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10041 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
10044 def get_version_info(self):
10045 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
10046 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
10050 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10051 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
10054 def __repr__(self):
10055 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10056 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
10061 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
10063 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
10064 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
10067 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
10069 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10071 def __init__(self, *args):
10073 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
10074 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
10076 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
10078 self.this.append(this)
10079 except __builtin__.Exception:
10082 def do_get_inputs(self, m, pis):
10083 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10084 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
10087 def get_version_info(self):
10088 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
10089 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
10093 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10094 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
10097 def __repr__(self):
10098 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10099 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
10104 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
10106 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
10107 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
10110 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
10112 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10114 def __init__(self, *args):
10116 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
10117 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
10119 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
10121 self.this.append(this)
10122 except __builtin__.Exception:
10125 def do_get_inputs(self, m, pis):
10126 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10127 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
10130 def get_version_info(self):
10131 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
10132 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
10136 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
10137 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
10140 def __repr__(self):
10141 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
10142 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
10147 return _object_cast_to_SoftSuperSurfacePairScore(o)
10149 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
10150 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
10153 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
10155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10157 def __init__(self, *args):
10159 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10160 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10162 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10164 self.this.append(this)
10165 except __builtin__.Exception:
10168 def do_get_inputs(self, m, pis):
10169 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10170 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10173 def get_version_info(self):
10174 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10175 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10179 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10180 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10183 def __repr__(self):
10184 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10185 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10190 return _object_cast_to_SoftSubSurfacePairScore(o)
10192 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10193 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10196 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
10198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10200 def __init__(self, link_num, link_length):
10201 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10202 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10204 self.this.append(this)
10205 except __builtin__.Exception:
10208 def get_version_info(self):
10209 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10210 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10213 def get_link_number(self):
10214 """get_link_number(SurfaceTetheredChain self) -> int"""
10215 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10218 def get_link_length(self):
10219 """get_link_length(SurfaceTetheredChain self) -> double"""
10220 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10223 def set_link_number(self, N):
10224 """set_link_number(SurfaceTetheredChain self, int N)"""
10225 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10228 def set_link_length(self, b):
10229 """set_link_length(SurfaceTetheredChain self, double b)"""
10230 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10233 def get_distance_at_minimum(self):
10234 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10235 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10238 def get_average_distance(self):
10239 """get_average_distance(SurfaceTetheredChain self) -> double"""
10240 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10244 """__str__(SurfaceTetheredChain self) -> std::string"""
10245 return _IMP_core.SurfaceTetheredChain___str__(self)
10248 def __repr__(self):
10249 """__repr__(SurfaceTetheredChain self) -> std::string"""
10250 return _IMP_core.SurfaceTetheredChain___repr__(self)
10255 return _object_cast_to_SurfaceTetheredChain(o)
10257 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10258 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10261 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
10263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10265 def __init__(self, m, ss, rbs):
10266 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10267 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10269 self.this.append(this)
10270 except __builtin__.Exception:
10273 def do_get_inputs(self):
10274 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10275 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10278 def do_get_outputs(self):
10279 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10280 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10283 def get_version_info(self):
10284 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10285 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10289 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10290 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10293 def __repr__(self):
10294 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10295 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10300 return _object_cast_to_SurfaceSymmetryConstraint(o)
10302 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10303 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10306 """Proxy of C++ IMP::core::SteepestDescent class."""
10308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10310 def __init__(self, *args):
10312 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10313 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10315 this = _IMP_core.new_SteepestDescent(*args)
10317 self.this.append(this)
10318 except __builtin__.Exception:
10321 def do_optimize(self, max_steps):
10322 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10323 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10326 def get_version_info(self):
10327 """get_version_info(SteepestDescent self) -> VersionInfo"""
10328 return _IMP_core.SteepestDescent_get_version_info(self)
10331 def set_threshold(self, t):
10332 """set_threshold(SteepestDescent self, IMP::Float t)"""
10333 return _IMP_core.SteepestDescent_set_threshold(self, t)
10336 def set_step_size(self, t):
10337 """set_step_size(SteepestDescent self, IMP::Float t)"""
10338 return _IMP_core.SteepestDescent_set_step_size(self, t)
10341 def set_maximum_step_size(self, t):
10342 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10343 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10347 """__str__(SteepestDescent self) -> std::string"""
10348 return _IMP_core.SteepestDescent___str__(self)
10351 def __repr__(self):
10352 """__repr__(SteepestDescent self) -> std::string"""
10353 return _IMP_core.SteepestDescent___repr__(self)
10358 return _object_cast_to_SteepestDescent(o)
10360 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10361 SteepestDescent_swigregister(SteepestDescent)
10364 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
10366 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10368 def __init__(self, f, transformation):
10369 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10370 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10372 self.this.append(this)
10373 except __builtin__.Exception:
10376 def set_transformation(self, rot):
10377 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10378 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10381 def do_get_inputs(self, m, pis):
10382 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10383 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10386 def get_version_info(self):
10387 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10388 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10392 """__str__(TransformedDistancePairScore self) -> std::string"""
10393 return _IMP_core.TransformedDistancePairScore___str__(self)
10396 def __repr__(self):
10397 """__repr__(TransformedDistancePairScore self) -> std::string"""
10398 return _IMP_core.TransformedDistancePairScore___repr__(self)
10403 return _object_cast_to_TransformedDistancePairScore(o)
10405 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10406 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10409 """Proxy of C++ IMP::core::TypedPairScore class."""
10411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10413 def __init__(self, typekey, allow_invalid_types=True):
10415 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10416 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10418 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10420 self.this.append(this)
10421 except __builtin__.Exception:
10424 def set_particle_type(self, arg2):
10425 """set_particle_type(TypedPairScore self, Particle arg2)"""
10426 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10429 def set_pair_score(self, ps, atype, btype):
10430 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10431 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10434 def do_get_inputs(self, m, pis):
10435 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10436 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10439 def get_version_info(self):
10440 """get_version_info(TypedPairScore self) -> VersionInfo"""
10441 return _IMP_core.TypedPairScore_get_version_info(self)
10445 """__str__(TypedPairScore self) -> std::string"""
10446 return _IMP_core.TypedPairScore___str__(self)
10449 def __repr__(self):
10450 """__repr__(TypedPairScore self) -> std::string"""
10451 return _IMP_core.TypedPairScore___repr__(self)
10456 return _object_cast_to_TypedPairScore(o)
10458 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10459 TypedPairScore_swigregister(TypedPairScore)
10461 class RigidBodyDistancePairScore(KClosePairsPairScore):
10462 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
10464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10466 def __init__(self, ps, r):
10467 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10468 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10470 self.this.append(this)
10471 except __builtin__.Exception:
10475 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10476 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10479 def __repr__(self):
10480 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10481 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10486 return _object_cast_to_RigidBodyDistancePairScore(o)
10488 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10489 __del__ =
lambda self:
None
10490 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10491 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10494 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
10496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10498 def __init__(self, f):
10499 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10500 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10502 self.this.append(this)
10503 except __builtin__.Exception:
10506 def do_get_inputs(self, m, pis):
10507 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10508 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10511 def get_version_info(self):
10512 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10513 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10517 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10518 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10521 def __repr__(self):
10522 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10523 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10528 return _object_cast_to_RigidBodyAnglePairScore(o)
10530 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10531 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10534 """Proxy of C++ IMP::core::TableRefiner class."""
10536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10538 def __init__(self):
10539 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10540 this = _IMP_core.new_TableRefiner()
10542 self.this.append(this)
10543 except __builtin__.Exception:
10547 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10548 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10551 def remove_particle(self, p):
10552 """remove_particle(TableRefiner self, Particle p)"""
10553 return _IMP_core.TableRefiner_remove_particle(self, p)
10556 def set_particle(self, p, ps):
10557 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10558 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10561 def do_get_inputs(self, m, pis):
10562 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10563 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10566 def get_version_info(self):
10567 """get_version_info(TableRefiner self) -> VersionInfo"""
10568 return _IMP_core.TableRefiner_get_version_info(self)
10572 """__str__(TableRefiner self) -> std::string"""
10573 return _IMP_core.TableRefiner___str__(self)
10576 def __repr__(self):
10577 """__repr__(TableRefiner self) -> std::string"""
10578 return _IMP_core.TableRefiner___repr__(self)
10583 return _object_cast_to_TableRefiner(o)
10585 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10586 TableRefiner_swigregister(TableRefiner)
10588 LOWER = _IMP_core.LOWER
10589 BOTH = _IMP_core.BOTH
10590 UPPER = _IMP_core.UPPER
10592 """Proxy of C++ IMP::core::MCCGSampler class."""
10594 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10596 def __init__(self, *args):
10598 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10599 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10601 this = _IMP_core.new_MCCGSampler(*args)
10603 self.this.append(this)
10604 except __builtin__.Exception:
10607 def set_bounding_box(self, bb):
10608 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10609 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10612 def set_number_of_attempts(self, att):
10613 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10614 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10617 def set_number_of_monte_carlo_steps(self, cg):
10618 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10619 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10622 def set_number_of_conjugate_gradient_steps(self, cg):
10623 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10624 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10627 def set_max_monte_carlo_step_size(self, *args):
10629 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10630 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10632 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10635 def set_is_refining(self, tf):
10636 """set_is_refining(MCCGSampler self, bool tf)"""
10637 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10640 def set_local_optimizer(self, opt):
10641 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10642 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10645 def set_save_rejected_configurations(self, tf):
10646 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10647 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10650 def get_rejected_configurations(self):
10651 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10652 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10655 def remove_optimizer_state(self, d):
10656 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10657 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10660 def remove_optimizer_states(self, d):
10661 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10662 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10665 def set_optimizer_states(self, ps):
10666 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10667 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10670 def set_optimizer_states_order(self, objs):
10671 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10672 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10675 def add_optimizer_state(self, obj):
10676 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10677 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10680 def add_optimizer_states(self, objs):
10681 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10682 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10685 def clear_optimizer_states(self):
10686 """clear_optimizer_states(MCCGSampler self)"""
10687 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10690 def get_number_of_optimizer_states(self):
10691 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10692 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10695 def get_has_optimizer_states(self):
10696 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10697 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10700 def get_optimizer_state(self, i):
10701 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10702 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10705 def get_optimizer_states(self):
10706 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10707 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10710 def reserve_optimizer_states(self, sz):
10711 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10712 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10715 def do_sample(self):
10716 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10717 return _IMP_core.MCCGSampler_do_sample(self)
10720 def get_version_info(self):
10721 """get_version_info(MCCGSampler self) -> VersionInfo"""
10722 return _IMP_core.MCCGSampler_get_version_info(self)
10726 """__str__(MCCGSampler self) -> std::string"""
10727 return _IMP_core.MCCGSampler___str__(self)
10730 def __repr__(self):
10731 """__repr__(MCCGSampler self) -> std::string"""
10732 return _IMP_core.MCCGSampler___repr__(self)
10737 return _object_cast_to_MCCGSampler(o)
10739 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10740 MCCGSampler_swigregister(MCCGSampler)
10743 """Proxy of C++ IMP::core::MinimumRestraint class."""
10745 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10747 def __init__(self, *args):
10749 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10750 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10751 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10753 this = _IMP_core.new_MinimumRestraint(*args)
10755 self.this.append(this)
10756 except __builtin__.Exception:
10759 def do_get_inputs(self):
10760 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10761 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10764 def get_version_info(self):
10765 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10766 return _IMP_core.MinimumRestraint_get_version_info(self)
10769 def remove_restraint(self, d):
10770 """remove_restraint(MinimumRestraint self, Restraint d)"""
10771 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10774 def remove_restraints(self, d):
10775 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10776 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10779 def set_restraints(self, ps):
10780 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10781 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10784 def set_restraints_order(self, objs):
10785 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10786 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10790 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10791 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10795 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10796 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10799 def clear_restraints(self):
10800 """clear_restraints(MinimumRestraint self)"""
10801 return _IMP_core.MinimumRestraint_clear_restraints(self)
10804 def get_number_of_restraints(self):
10805 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10806 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10809 def get_has_restraints(self):
10810 """get_has_restraints(MinimumRestraint self) -> bool"""
10811 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10814 def get_restraint(self, i):
10815 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10816 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10819 def get_restraints(self):
10820 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10821 return _IMP_core.MinimumRestraint_get_restraints(self)
10824 def reserve_restraints(self, sz):
10825 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10826 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10830 """__str__(MinimumRestraint self) -> std::string"""
10831 return _IMP_core.MinimumRestraint___str__(self)
10834 def __repr__(self):
10835 """__repr__(MinimumRestraint self) -> std::string"""
10836 return _IMP_core.MinimumRestraint___repr__(self)
10841 return _object_cast_to_MinimumRestraint(o)
10843 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10844 MinimumRestraint_swigregister(MinimumRestraint)
10846 class Gaussian(RigidBody):
10847 """Proxy of C++ IMP::core::Gaussian class."""
10849 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10851 def __init__(self, *args):
10853 __init__(IMP::core::Gaussian self) -> Gaussian
10854 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10855 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10857 this = _IMP_core.new_Gaussian(*args)
10859 self.this.append(this)
10860 except __builtin__.Exception:
10863 def show(self, *args):
10865 show(Gaussian self, _ostream out)
10866 show(Gaussian self)
10868 return _IMP_core.Gaussian_show(self, *args)
10871 def setup_particle(*args):
10873 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10874 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10875 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10876 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10878 return _IMP_core.Gaussian_setup_particle(*args)
10880 setup_particle = staticmethod(setup_particle)
10882 def get_local_covariance_key():
10883 """get_local_covariance_key() -> ObjectKey"""
10884 return _IMP_core.Gaussian_get_local_covariance_key()
10886 get_local_covariance_key = staticmethod(get_local_covariance_key)
10888 def get_global_covariance_key():
10889 """get_global_covariance_key() -> ObjectKey"""
10890 return _IMP_core.Gaussian_get_global_covariance_key()
10892 get_global_covariance_key = staticmethod(get_global_covariance_key)
10894 def get_is_setup(*args):
10896 get_is_setup(_ParticleAdaptor p) -> bool
10897 get_is_setup(Model m, ParticleIndex pi) -> bool
10899 return _IMP_core.Gaussian_get_is_setup(*args)
10901 get_is_setup = staticmethod(get_is_setup)
10903 def get_local_covariance(self):
10904 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10905 return _IMP_core.Gaussian_get_local_covariance(self)
10908 def get_variances(self):
10909 """get_variances(Gaussian self) -> Vector3D"""
10910 return _IMP_core.Gaussian_get_variances(self)
10913 def get_global_covariance(self):
10914 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10915 return _IMP_core.Gaussian_get_global_covariance(self)
10918 def get_gaussian(self):
10919 """get_gaussian(Gaussian self) -> Gaussian3D"""
10920 return _IMP_core.Gaussian_get_gaussian(self)
10923 def set_gaussian(self, g):
10924 """set_gaussian(Gaussian self, Gaussian3D g)"""
10925 return _IMP_core.Gaussian_set_gaussian(self, g)
10928 def set_local_covariance(self, covar):
10929 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10930 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10933 def set_variances(self, v):
10934 """set_variances(Gaussian self, Vector3D v)"""
10935 return _IMP_core.Gaussian_set_variances(self, v)
10938 def set_global_covariance(self, covar):
10939 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10940 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10943 def update_global_covariance(self):
10944 """update_global_covariance(Gaussian self)"""
10945 return _IMP_core.Gaussian_update_global_covariance(self)
10948 def add_attribute(self, *args):
10950 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10951 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10952 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10953 add_attribute(Gaussian self, FloatsKey a0, IMP::Floats a1)
10954 add_attribute(Gaussian self, IntsKey a0, IMP::Ints a1)
10955 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10956 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10957 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10959 return _IMP_core.Gaussian_add_attribute(self, *args)
10962 def get_value(self, *args):
10964 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10965 get_value(Gaussian self, IntKey a0) -> IMP::Int
10966 get_value(Gaussian self, FloatsKey a0) -> IMP::Floats
10967 get_value(Gaussian self, IntsKey a0) -> IMP::Ints
10968 get_value(Gaussian self, StringKey a0) -> IMP::String
10969 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10970 get_value(Gaussian self, ObjectKey a0) -> Object
10972 return _IMP_core.Gaussian_get_value(self, *args)
10975 def set_value(self, *args):
10977 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10978 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10979 set_value(Gaussian self, FloatsKey a0, IMP::Floats a1)
10980 set_value(Gaussian self, IntsKey a0, IMP::Ints a1)
10981 set_value(Gaussian self, StringKey a0, IMP::String a1)
10982 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10983 set_value(Gaussian self, ObjectKey a0, Object a1)
10985 return _IMP_core.Gaussian_set_value(self, *args)
10988 def remove_attribute(self, *args):
10990 remove_attribute(Gaussian self, FloatKey a0)
10991 remove_attribute(Gaussian self, IntKey a0)
10992 remove_attribute(Gaussian self, FloatsKey a0)
10993 remove_attribute(Gaussian self, IntsKey a0)
10994 remove_attribute(Gaussian self, StringKey a0)
10995 remove_attribute(Gaussian self, ParticleIndexKey a0)
10996 remove_attribute(Gaussian self, ObjectKey a0)
10998 return _IMP_core.Gaussian_remove_attribute(self, *args)
11001 def has_attribute(self, *args):
11003 has_attribute(Gaussian self, FloatKey a0) -> bool
11004 has_attribute(Gaussian self, IntKey a0) -> bool
11005 has_attribute(Gaussian self, FloatsKey a0) -> bool
11006 has_attribute(Gaussian self, IntsKey a0) -> bool
11007 has_attribute(Gaussian self, StringKey a0) -> bool
11008 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
11009 has_attribute(Gaussian self, ObjectKey a0) -> bool
11011 return _IMP_core.Gaussian_has_attribute(self, *args)
11014 def get_derivative(self, a0):
11015 """get_derivative(Gaussian self, FloatKey a0) -> double"""
11016 return _IMP_core.Gaussian_get_derivative(self, a0)
11019 def get_name(self):
11020 """get_name(Gaussian self) -> std::string"""
11021 return _IMP_core.Gaussian_get_name(self)
11024 def clear_caches(self):
11025 """clear_caches(Gaussian self)"""
11026 return _IMP_core.Gaussian_clear_caches(self)
11029 def set_name(self, a0):
11030 """set_name(Gaussian self, std::string a0)"""
11031 return _IMP_core.Gaussian_set_name(self, a0)
11035 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
11036 return _IMP_core.Gaussian_set_check_level(self, a0)
11039 def add_to_derivative(self, a0, a1, a2):
11040 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11041 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
11044 def set_is_optimized(self, a0, a1):
11045 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
11046 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
11049 def get_is_optimized(self, a0):
11050 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
11051 return _IMP_core.Gaussian_get_is_optimized(self, a0)
11055 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
11056 return _IMP_core.Gaussian_get_check_level(self)
11059 def __eq__(self, *args):
11061 __eq__(Gaussian self, Gaussian o) -> bool
11062 __eq__(Gaussian self, Particle d) -> bool
11064 return _IMP_core.Gaussian___eq__(self, *args)
11067 def __ne__(self, *args):
11069 __ne__(Gaussian self, Gaussian o) -> bool
11070 __ne__(Gaussian self, Particle d) -> bool
11072 return _IMP_core.Gaussian___ne__(self, *args)
11075 def __le__(self, *args):
11077 __le__(Gaussian self, Gaussian o) -> bool
11078 __le__(Gaussian self, Particle d) -> bool
11080 return _IMP_core.Gaussian___le__(self, *args)
11083 def __lt__(self, *args):
11085 __lt__(Gaussian self, Gaussian o) -> bool
11086 __lt__(Gaussian self, Particle d) -> bool
11088 return _IMP_core.Gaussian___lt__(self, *args)
11091 def __ge__(self, *args):
11093 __ge__(Gaussian self, Gaussian o) -> bool
11094 __ge__(Gaussian self, Particle d) -> bool
11096 return _IMP_core.Gaussian___ge__(self, *args)
11099 def __gt__(self, *args):
11101 __gt__(Gaussian self, Gaussian o) -> bool
11102 __gt__(Gaussian self, Particle d) -> bool
11104 return _IMP_core.Gaussian___gt__(self, *args)
11107 def __hash__(self):
11108 """__hash__(Gaussian self) -> std::size_t"""
11109 return _IMP_core.Gaussian___hash__(self)
11113 """__str__(Gaussian self) -> std::string"""
11114 return _IMP_core.Gaussian___str__(self)
11117 def __repr__(self):
11118 """__repr__(Gaussian self) -> std::string"""
11119 return _IMP_core.Gaussian___repr__(self)
11121 __swig_destroy__ = _IMP_core.delete_Gaussian
11122 __del__ =
lambda self:
None
11123 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
11124 Gaussian_swigregister(Gaussian)
11126 def Gaussian_setup_particle(*args):
11128 setup_particle(Model m, ParticleIndex pi) -> Gaussian
11129 setup_particle(_ParticleAdaptor decorator) -> Gaussian
11130 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
11131 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
11133 return _IMP_core.Gaussian_setup_particle(*args)
11135 def Gaussian_get_local_covariance_key():
11136 """Gaussian_get_local_covariance_key() -> ObjectKey"""
11137 return _IMP_core.Gaussian_get_local_covariance_key()
11139 def Gaussian_get_global_covariance_key():
11140 """Gaussian_get_global_covariance_key() -> ObjectKey"""
11141 return _IMP_core.Gaussian_get_global_covariance_key()
11143 def Gaussian_get_is_setup(*args):
11145 get_is_setup(_ParticleAdaptor p) -> bool
11146 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
11148 return _IMP_core.Gaussian_get_is_setup(*args)
11151 """Proxy of C++ IMP::core::PairRestraint class."""
11153 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11155 def __init__(self, *args):
11157 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
11158 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
11160 this = _IMP_core.new_PairRestraint(*args)
11162 self.this.append(this)
11163 except __builtin__.Exception:
11166 def get_version_info(self):
11167 """get_version_info(PairRestraint self) -> VersionInfo"""
11168 return _IMP_core.PairRestraint_get_version_info(self)
11172 """__str__(PairRestraint self) -> std::string"""
11173 return _IMP_core.PairRestraint___str__(self)
11176 def __repr__(self):
11177 """__repr__(PairRestraint self) -> std::string"""
11178 return _IMP_core.PairRestraint___repr__(self)
11183 return _object_cast_to_PairRestraint(o)
11185 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11186 PairRestraint_swigregister(PairRestraint)
11189 """Proxy of C++ IMP::core::SingletonRestraint class."""
11191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11193 def __init__(self, *args):
11195 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11196 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11198 this = _IMP_core.new_SingletonRestraint(*args)
11200 self.this.append(this)
11201 except __builtin__.Exception:
11204 def get_version_info(self):
11205 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11206 return _IMP_core.SingletonRestraint_get_version_info(self)
11210 """__str__(SingletonRestraint self) -> std::string"""
11211 return _IMP_core.SingletonRestraint___str__(self)
11214 def __repr__(self):
11215 """__repr__(SingletonRestraint self) -> std::string"""
11216 return _IMP_core.SingletonRestraint___repr__(self)
11221 return _object_cast_to_SingletonRestraint(o)
11223 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11224 SingletonRestraint_swigregister(SingletonRestraint)
11227 """Proxy of C++ IMP::core::TripletRestraint class."""
11229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11231 def __init__(self, *args):
11233 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11234 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11236 this = _IMP_core.new_TripletRestraint(*args)
11238 self.this.append(this)
11239 except __builtin__.Exception:
11242 def get_version_info(self):
11243 """get_version_info(TripletRestraint self) -> VersionInfo"""
11244 return _IMP_core.TripletRestraint_get_version_info(self)
11248 """__str__(TripletRestraint self) -> std::string"""
11249 return _IMP_core.TripletRestraint___str__(self)
11252 def __repr__(self):
11253 """__repr__(TripletRestraint self) -> std::string"""
11254 return _IMP_core.TripletRestraint___repr__(self)
11259 return _object_cast_to_TripletRestraint(o)
11261 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11262 TripletRestraint_swigregister(TripletRestraint)
11265 """Proxy of C++ IMP::core::QuadRestraint class."""
11267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11269 def __init__(self, *args):
11271 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11272 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11274 this = _IMP_core.new_QuadRestraint(*args)
11276 self.this.append(this)
11277 except __builtin__.Exception:
11280 def get_version_info(self):
11281 """get_version_info(QuadRestraint self) -> VersionInfo"""
11282 return _IMP_core.QuadRestraint_get_version_info(self)
11286 """__str__(QuadRestraint self) -> std::string"""
11287 return _IMP_core.QuadRestraint___str__(self)
11290 def __repr__(self):
11291 """__repr__(QuadRestraint self) -> std::string"""
11292 return _IMP_core.QuadRestraint___repr__(self)
11297 return _object_cast_to_QuadRestraint(o)
11299 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11300 QuadRestraint_swigregister(QuadRestraint)
11303 """Proxy of C++ IMP::core::SingletonConstraint class."""
11305 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11307 def __init__(self, *args):
11309 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11310 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11311 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11312 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11314 this = _IMP_core.new_SingletonConstraint(*args)
11316 self.this.append(this)
11317 except __builtin__.Exception:
11320 def get_version_info(self):
11321 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11322 return _IMP_core.SingletonConstraint_get_version_info(self)
11326 """__str__(SingletonConstraint self) -> std::string"""
11327 return _IMP_core.SingletonConstraint___str__(self)
11330 def __repr__(self):
11331 """__repr__(SingletonConstraint self) -> std::string"""
11332 return _IMP_core.SingletonConstraint___repr__(self)
11337 return _object_cast_to_SingletonConstraint(o)
11339 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11340 SingletonConstraint_swigregister(SingletonConstraint)
11343 """Proxy of C++ IMP::core::PairConstraint class."""
11345 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11347 def __init__(self, *args):
11349 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11350 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11351 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11352 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11354 this = _IMP_core.new_PairConstraint(*args)
11356 self.this.append(this)
11357 except __builtin__.Exception:
11360 def get_version_info(self):
11361 """get_version_info(PairConstraint self) -> VersionInfo"""
11362 return _IMP_core.PairConstraint_get_version_info(self)
11366 """__str__(PairConstraint self) -> std::string"""
11367 return _IMP_core.PairConstraint___str__(self)
11370 def __repr__(self):
11371 """__repr__(PairConstraint self) -> std::string"""
11372 return _IMP_core.PairConstraint___repr__(self)
11377 return _object_cast_to_PairConstraint(o)
11379 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11380 PairConstraint_swigregister(PairConstraint)
11383 """Proxy of C++ IMP::core::TripletConstraint class."""
11385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11387 def __init__(self, *args):
11389 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11390 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11391 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11392 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11394 this = _IMP_core.new_TripletConstraint(*args)
11396 self.this.append(this)
11397 except __builtin__.Exception:
11400 def get_version_info(self):
11401 """get_version_info(TripletConstraint self) -> VersionInfo"""
11402 return _IMP_core.TripletConstraint_get_version_info(self)
11406 """__str__(TripletConstraint self) -> std::string"""
11407 return _IMP_core.TripletConstraint___str__(self)
11410 def __repr__(self):
11411 """__repr__(TripletConstraint self) -> std::string"""
11412 return _IMP_core.TripletConstraint___repr__(self)
11417 return _object_cast_to_TripletConstraint(o)
11419 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11420 TripletConstraint_swigregister(TripletConstraint)
11423 """Proxy of C++ IMP::core::QuadConstraint class."""
11425 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11427 def __init__(self, *args):
11429 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11430 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11431 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11432 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11434 this = _IMP_core.new_QuadConstraint(*args)
11436 self.this.append(this)
11437 except __builtin__.Exception:
11440 def get_version_info(self):
11441 """get_version_info(QuadConstraint self) -> VersionInfo"""
11442 return _IMP_core.QuadConstraint_get_version_info(self)
11446 """__str__(QuadConstraint self) -> std::string"""
11447 return _IMP_core.QuadConstraint___str__(self)
11450 def __repr__(self):
11451 """__repr__(QuadConstraint self) -> std::string"""
11452 return _IMP_core.QuadConstraint___repr__(self)
11457 return _object_cast_to_QuadConstraint(o)
11459 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11460 QuadConstraint_swigregister(QuadConstraint)
11463 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
11465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11467 def __init__(self, *args):
11469 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11470 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11472 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11474 self.this.append(this)
11475 except __builtin__.Exception:
11478 def do_get_inputs(self, arg2, arg3):
11479 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11480 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11483 def get_value(self, *args):
11485 get_value(ConstantSingletonPredicate self, Particle a) -> int
11486 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11488 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11491 def get_value_index(self, *args):
11493 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11494 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11496 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11499 def get_version_info(self):
11500 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11501 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11505 """__str__(ConstantSingletonPredicate self) -> std::string"""
11506 return _IMP_core.ConstantSingletonPredicate___str__(self)
11509 def __repr__(self):
11510 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11511 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11516 return _object_cast_to_ConstantSingletonPredicate(o)
11518 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11519 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11522 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
11524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11526 def __init__(self, *args):
11528 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11529 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11531 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11533 self.this.append(this)
11534 except __builtin__.Exception:
11537 def do_get_inputs(self, m, pis):
11538 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11539 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11542 def get_value(self, *args):
11544 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11545 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11547 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11550 def get_value_index(self, *args):
11552 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11553 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11555 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11558 def get_version_info(self):
11559 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11560 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11564 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11565 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11568 def __repr__(self):
11569 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11570 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11575 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11577 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11578 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11581 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
11583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11585 def __init__(self, *args):
11587 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11588 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11590 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11592 self.this.append(this)
11593 except __builtin__.Exception:
11596 def do_get_inputs(self, m, pis):
11597 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11598 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11601 def get_value(self, *args):
11603 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11604 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11605 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11607 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11610 def get_value_index(self, *args):
11612 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11613 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11615 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11618 def get_version_info(self):
11619 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11620 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11624 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11625 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11628 def __repr__(self):
11629 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11630 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11635 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11637 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11638 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11641 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
11643 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11645 def __init__(self, *args):
11647 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11648 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11650 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11652 self.this.append(this)
11653 except __builtin__.Exception:
11656 def do_get_inputs(self, arg2, arg3):
11657 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11658 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11661 def get_value(self, *args):
11663 get_value(AllSameSingletonPredicate self, Particle a) -> int
11664 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11666 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11669 def get_value_index(self, *args):
11671 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11672 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11674 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11677 def get_version_info(self):
11678 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11679 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11683 """__str__(AllSameSingletonPredicate self) -> std::string"""
11684 return _IMP_core.AllSameSingletonPredicate___str__(self)
11687 def __repr__(self):
11688 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11689 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11694 return _object_cast_to_AllSameSingletonPredicate(o)
11696 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11697 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11700 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
11702 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11704 def __init__(self, *args):
11706 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11707 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11709 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11711 self.this.append(this)
11712 except __builtin__.Exception:
11715 def do_get_inputs(self, arg2, arg3):
11716 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11717 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11720 def get_value(self, *args):
11722 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11723 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11725 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11728 def get_value_index(self, *args):
11730 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11731 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11733 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11736 def get_version_info(self):
11737 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11738 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11742 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11743 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11746 def __repr__(self):
11747 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11748 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11753 return _object_cast_to_CoinFlipSingletonPredicate(o)
11755 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11756 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11759 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
11761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11763 def __init__(self, *args):
11765 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11766 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11768 this = _IMP_core.new_ConstantPairPredicate(*args)
11770 self.this.append(this)
11771 except __builtin__.Exception:
11774 def do_get_inputs(self, arg2, arg3):
11775 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11776 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11779 def get_value(self, *args):
11781 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11782 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11784 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11787 def get_value_index(self, *args):
11789 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11790 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11792 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11795 def get_version_info(self):
11796 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11797 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11801 """__str__(ConstantPairPredicate self) -> std::string"""
11802 return _IMP_core.ConstantPairPredicate___str__(self)
11805 def __repr__(self):
11806 """__repr__(ConstantPairPredicate self) -> std::string"""
11807 return _IMP_core.ConstantPairPredicate___repr__(self)
11812 return _object_cast_to_ConstantPairPredicate(o)
11814 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11815 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11818 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11820 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11822 def __init__(self, *args):
11824 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11825 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11827 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11829 self.this.append(this)
11830 except __builtin__.Exception:
11833 def do_get_inputs(self, m, pis):
11834 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11835 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11838 def get_value(self, *args):
11840 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11841 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11843 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11846 def get_value_index(self, *args):
11848 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11849 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11851 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11854 def get_version_info(self):
11855 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11856 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11860 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11861 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11864 def __repr__(self):
11865 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11866 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11871 return _object_cast_to_UnorderedTypePairPredicate(o)
11873 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11874 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11877 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11879 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11881 def __init__(self, *args):
11883 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11884 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11886 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11888 self.this.append(this)
11889 except __builtin__.Exception:
11892 def do_get_inputs(self, m, pis):
11893 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11894 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11897 def get_value(self, *args):
11899 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11900 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11901 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11903 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11906 def get_value_index(self, *args):
11908 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11909 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11911 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11914 def get_version_info(self):
11915 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11916 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11920 """__str__(OrderedTypePairPredicate self) -> std::string"""
11921 return _IMP_core.OrderedTypePairPredicate___str__(self)
11924 def __repr__(self):
11925 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11926 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11931 return _object_cast_to_OrderedTypePairPredicate(o)
11933 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11934 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11937 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
11939 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11941 def __init__(self, *args):
11943 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11944 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11946 this = _IMP_core.new_AllSamePairPredicate(*args)
11948 self.this.append(this)
11949 except __builtin__.Exception:
11952 def do_get_inputs(self, arg2, arg3):
11953 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11954 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11957 def get_value(self, *args):
11959 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11960 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11962 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11965 def get_value_index(self, *args):
11967 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11968 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11970 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11973 def get_version_info(self):
11974 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11975 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11979 """__str__(AllSamePairPredicate self) -> std::string"""
11980 return _IMP_core.AllSamePairPredicate___str__(self)
11983 def __repr__(self):
11984 """__repr__(AllSamePairPredicate self) -> std::string"""
11985 return _IMP_core.AllSamePairPredicate___repr__(self)
11990 return _object_cast_to_AllSamePairPredicate(o)
11992 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11993 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11996 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11998 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12000 def __init__(self, *args):
12002 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
12003 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
12005 this = _IMP_core.new_CoinFlipPairPredicate(*args)
12007 self.this.append(this)
12008 except __builtin__.Exception:
12011 def do_get_inputs(self, arg2, arg3):
12012 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12013 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
12016 def get_value(self, *args):
12018 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
12019 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12021 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
12024 def get_value_index(self, *args):
12026 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
12027 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12029 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
12032 def get_version_info(self):
12033 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
12034 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
12038 """__str__(CoinFlipPairPredicate self) -> std::string"""
12039 return _IMP_core.CoinFlipPairPredicate___str__(self)
12042 def __repr__(self):
12043 """__repr__(CoinFlipPairPredicate self) -> std::string"""
12044 return _IMP_core.CoinFlipPairPredicate___repr__(self)
12049 return _object_cast_to_CoinFlipPairPredicate(o)
12051 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
12052 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
12055 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
12057 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12059 def __init__(self, *args):
12061 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
12062 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
12064 this = _IMP_core.new_ConstantTripletPredicate(*args)
12066 self.this.append(this)
12067 except __builtin__.Exception:
12070 def do_get_inputs(self, arg2, arg3):
12071 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12072 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
12075 def get_value(self, *args):
12077 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12078 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12080 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
12083 def get_value_index(self, *args):
12085 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12086 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12088 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
12091 def get_version_info(self):
12092 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
12093 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
12097 """__str__(ConstantTripletPredicate self) -> std::string"""
12098 return _IMP_core.ConstantTripletPredicate___str__(self)
12101 def __repr__(self):
12102 """__repr__(ConstantTripletPredicate self) -> std::string"""
12103 return _IMP_core.ConstantTripletPredicate___repr__(self)
12108 return _object_cast_to_ConstantTripletPredicate(o)
12110 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
12111 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
12114 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
12116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12118 def __init__(self, *args):
12120 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
12121 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
12123 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
12125 self.this.append(this)
12126 except __builtin__.Exception:
12129 def do_get_inputs(self, m, pis):
12130 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12131 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12134 def get_value(self, *args):
12136 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12137 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12139 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
12142 def get_value_index(self, *args):
12144 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12145 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12147 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
12150 def get_version_info(self):
12151 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
12152 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
12156 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
12157 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
12160 def __repr__(self):
12161 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
12162 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12167 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12169 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12170 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12173 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
12175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12177 def __init__(self, *args):
12179 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12180 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12182 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12184 self.this.append(this)
12185 except __builtin__.Exception:
12188 def do_get_inputs(self, m, pis):
12189 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12190 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12193 def get_value(self, *args):
12195 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12196 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12197 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12199 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12202 def get_value_index(self, *args):
12204 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12205 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12207 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12210 def get_version_info(self):
12211 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12212 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12216 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12217 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12220 def __repr__(self):
12221 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12222 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12227 return _object_cast_to_OrderedTypeTripletPredicate(o)
12229 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12230 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12233 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
12235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12237 def __init__(self, *args):
12239 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12240 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12242 this = _IMP_core.new_AllSameTripletPredicate(*args)
12244 self.this.append(this)
12245 except __builtin__.Exception:
12248 def do_get_inputs(self, arg2, arg3):
12249 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12250 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12253 def get_value(self, *args):
12255 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12256 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12258 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12261 def get_value_index(self, *args):
12263 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12264 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12266 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12269 def get_version_info(self):
12270 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12271 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12275 """__str__(AllSameTripletPredicate self) -> std::string"""
12276 return _IMP_core.AllSameTripletPredicate___str__(self)
12279 def __repr__(self):
12280 """__repr__(AllSameTripletPredicate self) -> std::string"""
12281 return _IMP_core.AllSameTripletPredicate___repr__(self)
12286 return _object_cast_to_AllSameTripletPredicate(o)
12288 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12289 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12292 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
12294 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12296 def __init__(self, *args):
12298 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12299 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12301 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12303 self.this.append(this)
12304 except __builtin__.Exception:
12307 def do_get_inputs(self, arg2, arg3):
12308 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12309 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12312 def get_value(self, *args):
12314 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12315 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12317 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12320 def get_value_index(self, *args):
12322 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12323 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12325 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12328 def get_version_info(self):
12329 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12330 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12334 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12335 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12338 def __repr__(self):
12339 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12340 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12345 return _object_cast_to_CoinFlipTripletPredicate(o)
12347 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12348 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12351 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
12353 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12355 def __init__(self, *args):
12357 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12358 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12360 this = _IMP_core.new_ConstantQuadPredicate(*args)
12362 self.this.append(this)
12363 except __builtin__.Exception:
12366 def do_get_inputs(self, arg2, arg3):
12367 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12368 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12371 def get_value(self, *args):
12373 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12374 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12376 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12379 def get_value_index(self, *args):
12381 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12382 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12384 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12387 def get_version_info(self):
12388 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12389 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12393 """__str__(ConstantQuadPredicate self) -> std::string"""
12394 return _IMP_core.ConstantQuadPredicate___str__(self)
12397 def __repr__(self):
12398 """__repr__(ConstantQuadPredicate self) -> std::string"""
12399 return _IMP_core.ConstantQuadPredicate___repr__(self)
12404 return _object_cast_to_ConstantQuadPredicate(o)
12406 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12407 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12410 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
12412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12414 def __init__(self, *args):
12416 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12417 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12419 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12421 self.this.append(this)
12422 except __builtin__.Exception:
12425 def do_get_inputs(self, m, pis):
12426 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12427 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12430 def get_value(self, *args):
12432 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12433 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12435 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12438 def get_value_index(self, *args):
12440 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12441 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12443 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12446 def get_version_info(self):
12447 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12448 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12452 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12453 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12456 def __repr__(self):
12457 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12458 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12463 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12465 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12466 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12469 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
12471 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12473 def __init__(self, *args):
12475 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12476 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12478 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12480 self.this.append(this)
12481 except __builtin__.Exception:
12484 def do_get_inputs(self, m, pis):
12485 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12486 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12489 def get_value(self, *args):
12491 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12492 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12493 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12495 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12498 def get_value_index(self, *args):
12500 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12501 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12503 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12506 def get_version_info(self):
12507 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12508 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12512 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12513 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12516 def __repr__(self):
12517 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12518 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12523 return _object_cast_to_OrderedTypeQuadPredicate(o)
12525 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12526 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12529 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
12531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12533 def __init__(self, *args):
12535 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12536 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12538 this = _IMP_core.new_AllSameQuadPredicate(*args)
12540 self.this.append(this)
12541 except __builtin__.Exception:
12544 def do_get_inputs(self, arg2, arg3):
12545 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12546 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12549 def get_value(self, *args):
12551 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12552 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12554 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12557 def get_value_index(self, *args):
12559 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12560 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12562 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12565 def get_version_info(self):
12566 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12567 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12571 """__str__(AllSameQuadPredicate self) -> std::string"""
12572 return _IMP_core.AllSameQuadPredicate___str__(self)
12575 def __repr__(self):
12576 """__repr__(AllSameQuadPredicate self) -> std::string"""
12577 return _IMP_core.AllSameQuadPredicate___repr__(self)
12582 return _object_cast_to_AllSameQuadPredicate(o)
12584 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12585 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12588 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
12590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12592 def __init__(self, *args):
12594 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12595 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12597 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12599 self.this.append(this)
12600 except __builtin__.Exception:
12603 def do_get_inputs(self, arg2, arg3):
12604 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12605 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12608 def get_value(self, *args):
12610 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12611 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12613 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12616 def get_value_index(self, *args):
12618 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12619 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12621 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12624 def get_version_info(self):
12625 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12626 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12630 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12631 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12634 def __repr__(self):
12635 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12636 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12641 return _object_cast_to_CoinFlipQuadPredicate(o)
12643 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12644 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12647 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
12649 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12651 def __init__(self, *args):
12653 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12654 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12656 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12658 self.this.append(this)
12659 except __builtin__.Exception:
12662 def do_get_inputs(self, m, pi):
12663 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12664 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12667 def get_value(self, *args):
12669 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12670 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12672 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12675 def get_value_index(self, *args):
12677 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12678 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12680 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12683 def get_version_info(self):
12684 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12685 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12689 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12690 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12693 def __repr__(self):
12694 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12695 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12700 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12702 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12703 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12706 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12710 def __init__(self, *args):
12712 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12713 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12715 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12717 self.this.append(this)
12718 except __builtin__.Exception:
12721 def do_get_inputs(self, m, pi):
12722 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12723 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12726 def get_value(self, *args):
12728 get_value(AttributeSingletonPredicate self, Particle a) -> int
12729 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12731 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12734 def get_value_index(self, *args):
12736 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12737 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12739 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12742 def get_version_info(self):
12743 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12744 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12748 """__str__(AttributeSingletonPredicate self) -> std::string"""
12749 return _IMP_core.AttributeSingletonPredicate___str__(self)
12752 def __repr__(self):
12753 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12754 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12759 return _object_cast_to_AttributeSingletonPredicate(o)
12761 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12762 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12765 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12769 def __init__(self, *args):
12771 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12772 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12774 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12776 self.this.append(this)
12777 except __builtin__.Exception:
12780 def do_get_inputs(self, m, pi):
12781 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12782 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12785 def get_value(self, *args):
12787 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12788 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12790 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12793 def get_value_index(self, *args):
12795 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12796 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12798 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12801 def get_version_info(self):
12802 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12803 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12807 """__str__(IsCollisionPairPredicate self) -> std::string"""
12808 return _IMP_core.IsCollisionPairPredicate___str__(self)
12811 def __repr__(self):
12812 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12813 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12818 return _object_cast_to_IsCollisionPairPredicate(o)
12820 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12821 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12823 class AngleRestraint(TripletRestraint):
12824 """Proxy of C++ IMP::core::AngleRestraint class."""
12826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12828 def __init__(self, m, score_func, p1, p2, p3):
12829 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12830 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12832 self.this.append(this)
12833 except __builtin__.Exception:
12837 """__str__(AngleRestraint self) -> std::string"""
12838 return _IMP_core.AngleRestraint___str__(self)
12841 def __repr__(self):
12842 """__repr__(AngleRestraint self) -> std::string"""
12843 return _IMP_core.AngleRestraint___repr__(self)
12848 return _object_cast_to_AngleRestraint(o)
12850 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12851 AngleRestraint_swigregister(AngleRestraint)
12853 class RigidBodyMover(MonteCarloMover):
12854 """Proxy of C++ IMP::core::RigidBodyMover class."""
12856 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12858 def __init__(self, m, pi, max_translation, max_rotation):
12859 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12860 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12862 self.this.append(this)
12863 except __builtin__.Exception:
12866 def set_maximum_translation(self, mt):
12867 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12868 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12871 def set_maximum_rotation(self, mr):
12872 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12873 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12876 def get_maximum_translation(self):
12877 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12878 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12881 def get_maximum_rotation(self):
12882 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12883 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12886 def get_version_info(self):
12887 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12888 return _IMP_core.RigidBodyMover_get_version_info(self)
12892 """__str__(RigidBodyMover self) -> std::string"""
12893 return _IMP_core.RigidBodyMover___str__(self)
12896 def __repr__(self):
12897 """__repr__(RigidBodyMover self) -> std::string"""
12898 return _IMP_core.RigidBodyMover___repr__(self)
12903 return _object_cast_to_RigidBodyMover(o)
12905 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12906 RigidBodyMover_swigregister(RigidBodyMover)
12908 class RigidBodyTunneler(MonteCarloMover):
12909 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
12911 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12913 def __init__(self, m, pis, ref, k, move_probability=1.):
12915 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12916 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12918 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12920 self.this.append(this)
12921 except __builtin__.Exception:
12924 def add_entry_point(self, fl):
12925 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12926 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12929 def reset_stats(self):
12930 """reset_stats(RigidBodyTunneler self)"""
12931 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12934 def get_number_of_rejected_moves(self):
12935 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12936 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12939 def get_number_of_proposed_moves(self):
12940 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12941 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12944 def get_number_of_impossible_moves(self):
12945 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12946 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12949 def get_number_of_calls(self):
12950 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12951 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12954 def get_reduced_coordinates(*args):
12956 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12957 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12959 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12961 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12963 def set_reduced_coordinates(m, target, ref, coords):
12964 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12965 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12967 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12969 def get_version_info(self):
12970 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12971 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12975 """__str__(RigidBodyTunneler self) -> std::string"""
12976 return _IMP_core.RigidBodyTunneler___str__(self)
12979 def __repr__(self):
12980 """__repr__(RigidBodyTunneler self) -> std::string"""
12981 return _IMP_core.RigidBodyTunneler___repr__(self)
12986 return _object_cast_to_RigidBodyTunneler(o)
12988 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12989 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12991 def RigidBodyTunneler_get_reduced_coordinates(*args):
12993 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12994 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12996 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12998 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12999 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
13000 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
13003 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
13005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13007 def __init__(self, *args):
13009 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
13010 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
13011 __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
13012 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
13014 this = _IMP_core.new_RigidBodyUmbrella(*args)
13016 self.this.append(this)
13017 except __builtin__.Exception:
13020 def set_x0(self, *args):
13022 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
13023 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
13025 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
13029 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
13030 return _IMP_core.RigidBodyUmbrella_get_x0(self)
13034 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
13035 return _IMP_core.RigidBodyUmbrella_get_x(self)
13038 def set_alpha(self, alpha):
13039 """set_alpha(RigidBodyUmbrella self, double alpha)"""
13040 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
13043 def set_k(self, k):
13044 """set_k(RigidBodyUmbrella self, double k)"""
13045 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
13048 def get_version_info(self):
13049 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
13050 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
13054 """__str__(RigidBodyUmbrella self) -> std::string"""
13055 return _IMP_core.RigidBodyUmbrella___str__(self)
13058 def __repr__(self):
13059 """__repr__(RigidBodyUmbrella self) -> std::string"""
13060 return _IMP_core.RigidBodyUmbrella___repr__(self)
13065 return _object_cast_to_RigidBodyUmbrella(o)
13067 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
13068 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
13071 """Proxy of C++ IMP::core::VolumeRestraint class."""
13073 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13075 def __init__(self, f, sc, volume):
13076 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
13077 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
13079 self.this.append(this)
13080 except __builtin__.Exception:
13083 def do_get_inputs(self):
13084 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
13085 return _IMP_core.VolumeRestraint_do_get_inputs(self)
13088 def get_version_info(self):
13089 """get_version_info(VolumeRestraint self) -> VersionInfo"""
13090 return _IMP_core.VolumeRestraint_get_version_info(self)
13094 """__str__(VolumeRestraint self) -> std::string"""
13095 return _IMP_core.VolumeRestraint___str__(self)
13098 def __repr__(self):
13099 """__repr__(VolumeRestraint self) -> std::string"""
13100 return _IMP_core.VolumeRestraint___repr__(self)
13105 return _object_cast_to_VolumeRestraint(o)
13107 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
13108 VolumeRestraint_swigregister(VolumeRestraint)
13112 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
13113 return _IMP_core.get_centroid(ps)
13116 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
13117 return _IMP_core.get_bounding_box(ps)
13119 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
13121 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13123 def __init__(self, ps):
13124 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
13125 this = _IMP_core.new_MoveStatisticsScoreState(ps)
13127 self.this.append(this)
13128 except __builtin__.Exception:
13131 def show_statistics(self, *args):
13133 show_statistics(MoveStatisticsScoreState self, _ostream out)
13134 show_statistics(MoveStatisticsScoreState self)
13136 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
13140 """reset(MoveStatisticsScoreState self)"""
13141 return _IMP_core.MoveStatisticsScoreState_reset(self)
13144 def do_before_evaluate(self):
13145 """do_before_evaluate(MoveStatisticsScoreState self)"""
13146 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
13149 def do_after_evaluate(self, da):
13150 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
13151 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
13154 def do_get_inputs(self):
13155 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13156 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
13159 def do_get_outputs(self):
13160 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13161 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
13164 def get_version_info(self):
13165 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13166 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13170 """__str__(MoveStatisticsScoreState self) -> std::string"""
13171 return _IMP_core.MoveStatisticsScoreState___str__(self)
13174 def __repr__(self):
13175 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13176 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13181 return _object_cast_to_MoveStatisticsScoreState(o)
13183 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13184 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13186 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13188 """Proxy of C++ IMP::core::Typed class."""
13190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13192 def get_type_key():
13193 """get_type_key() -> IntKey"""
13194 return _IMP_core.Typed_get_type_key()
13196 get_type_key = staticmethod(get_type_key)
13198 def __init__(self, *args):
13200 __init__(IMP::core::Typed self) -> Typed
13201 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13202 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13204 this = _IMP_core.new_Typed(*args)
13206 self.this.append(this)
13207 except __builtin__.Exception:
13210 def show(self, *args):
13212 show(Typed self, _ostream out)
13215 return _IMP_core.Typed_show(self, *args)
13218 def setup_particle(*args):
13220 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13221 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13223 return _IMP_core.Typed_setup_particle(*args)
13225 setup_particle = staticmethod(setup_particle)
13227 def get_is_setup(*args):
13229 get_is_setup(_ParticleAdaptor p) -> bool
13230 get_is_setup(Model m, ParticleIndex pi) -> bool
13232 return _IMP_core.Typed_get_is_setup(*args)
13234 get_is_setup = staticmethod(get_is_setup)
13236 def get_type(self):
13237 """get_type(Typed self) -> ParticleType"""
13238 return _IMP_core.Typed_get_type(self)
13241 def set_type(self, pt):
13242 """set_type(Typed self, ParticleType pt)"""
13243 return _IMP_core.Typed_set_type(self, pt)
13246 def add_attribute(self, *args):
13248 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13249 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13250 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13251 add_attribute(Typed self, FloatsKey a0, IMP::Floats a1)
13252 add_attribute(Typed self, IntsKey a0, IMP::Ints a1)
13253 add_attribute(Typed self, StringKey a0, IMP::String a1)
13254 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13255 add_attribute(Typed self, ObjectKey a0, Object a1)
13257 return _IMP_core.Typed_add_attribute(self, *args)
13260 def get_value(self, *args):
13262 get_value(Typed self, FloatKey a0) -> IMP::Float
13263 get_value(Typed self, IntKey a0) -> IMP::Int
13264 get_value(Typed self, FloatsKey a0) -> IMP::Floats
13265 get_value(Typed self, IntsKey a0) -> IMP::Ints
13266 get_value(Typed self, StringKey a0) -> IMP::String
13267 get_value(Typed self, ParticleIndexKey a0) -> Particle
13268 get_value(Typed self, ObjectKey a0) -> Object
13270 return _IMP_core.Typed_get_value(self, *args)
13273 def set_value(self, *args):
13275 set_value(Typed self, FloatKey a0, IMP::Float a1)
13276 set_value(Typed self, IntKey a0, IMP::Int a1)
13277 set_value(Typed self, FloatsKey a0, IMP::Floats a1)
13278 set_value(Typed self, IntsKey a0, IMP::Ints a1)
13279 set_value(Typed self, StringKey a0, IMP::String a1)
13280 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13281 set_value(Typed self, ObjectKey a0, Object a1)
13283 return _IMP_core.Typed_set_value(self, *args)
13286 def remove_attribute(self, *args):
13288 remove_attribute(Typed self, FloatKey a0)
13289 remove_attribute(Typed self, IntKey a0)
13290 remove_attribute(Typed self, FloatsKey a0)
13291 remove_attribute(Typed self, IntsKey a0)
13292 remove_attribute(Typed self, StringKey a0)
13293 remove_attribute(Typed self, ParticleIndexKey a0)
13294 remove_attribute(Typed self, ObjectKey a0)
13296 return _IMP_core.Typed_remove_attribute(self, *args)
13299 def has_attribute(self, *args):
13301 has_attribute(Typed self, FloatKey a0) -> bool
13302 has_attribute(Typed self, IntKey a0) -> bool
13303 has_attribute(Typed self, FloatsKey a0) -> bool
13304 has_attribute(Typed self, IntsKey a0) -> bool
13305 has_attribute(Typed self, StringKey a0) -> bool
13306 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13307 has_attribute(Typed self, ObjectKey a0) -> bool
13309 return _IMP_core.Typed_has_attribute(self, *args)
13312 def get_derivative(self, a0):
13313 """get_derivative(Typed self, FloatKey a0) -> double"""
13314 return _IMP_core.Typed_get_derivative(self, a0)
13317 def get_name(self):
13318 """get_name(Typed self) -> std::string"""
13319 return _IMP_core.Typed_get_name(self)
13322 def clear_caches(self):
13323 """clear_caches(Typed self)"""
13324 return _IMP_core.Typed_clear_caches(self)
13327 def set_name(self, a0):
13328 """set_name(Typed self, std::string a0)"""
13329 return _IMP_core.Typed_set_name(self, a0)
13333 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13334 return _IMP_core.Typed_set_check_level(self, a0)
13337 def add_to_derivative(self, a0, a1, a2):
13338 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13339 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13342 def set_is_optimized(self, a0, a1):
13343 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13344 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13347 def get_is_optimized(self, a0):
13348 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13349 return _IMP_core.Typed_get_is_optimized(self, a0)
13353 """get_check_level(Typed self) -> IMP::CheckLevel"""
13354 return _IMP_core.Typed_get_check_level(self)
13357 def __eq__(self, *args):
13359 __eq__(Typed self, Typed o) -> bool
13360 __eq__(Typed self, Particle d) -> bool
13362 return _IMP_core.Typed___eq__(self, *args)
13365 def __ne__(self, *args):
13367 __ne__(Typed self, Typed o) -> bool
13368 __ne__(Typed self, Particle d) -> bool
13370 return _IMP_core.Typed___ne__(self, *args)
13373 def __le__(self, *args):
13375 __le__(Typed self, Typed o) -> bool
13376 __le__(Typed self, Particle d) -> bool
13378 return _IMP_core.Typed___le__(self, *args)
13381 def __lt__(self, *args):
13383 __lt__(Typed self, Typed o) -> bool
13384 __lt__(Typed self, Particle d) -> bool
13386 return _IMP_core.Typed___lt__(self, *args)
13389 def __ge__(self, *args):
13391 __ge__(Typed self, Typed o) -> bool
13392 __ge__(Typed self, Particle d) -> bool
13394 return _IMP_core.Typed___ge__(self, *args)
13397 def __gt__(self, *args):
13399 __gt__(Typed self, Typed o) -> bool
13400 __gt__(Typed self, Particle d) -> bool
13402 return _IMP_core.Typed___gt__(self, *args)
13405 def __hash__(self):
13406 """__hash__(Typed self) -> std::size_t"""
13407 return _IMP_core.Typed___hash__(self)
13411 """__str__(Typed self) -> std::string"""
13412 return _IMP_core.Typed___str__(self)
13415 def __repr__(self):
13416 """__repr__(Typed self) -> std::string"""
13417 return _IMP_core.Typed___repr__(self)
13419 __swig_destroy__ = _IMP_core.delete_Typed
13420 __del__ =
lambda self:
None
13421 Typed_swigregister = _IMP_core.Typed_swigregister
13422 Typed_swigregister(Typed)
13424 def Typed_get_type_key():
13425 """Typed_get_type_key() -> IntKey"""
13426 return _IMP_core.Typed_get_type_key()
13428 def Typed_setup_particle(*args):
13430 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13431 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13433 return _IMP_core.Typed_setup_particle(*args)
13435 def Typed_get_is_setup(*args):
13437 get_is_setup(_ParticleAdaptor p) -> bool
13438 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13440 return _IMP_core.Typed_get_is_setup(*args)
13443 def __lshift__(*args):
13445 __lshift__(_ostream out, XYZ n) -> _ostream
13446 __lshift__(_ostream out, XYZR n) -> _ostream
13447 __lshift__(_ostream out, Direction n) -> _ostream
13448 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13449 __lshift__(_ostream out, Surface n) -> _ostream
13450 __lshift__(_ostream out, Centroid n) -> _ostream
13451 __lshift__(_ostream out, Cover n) -> _ostream
13452 __lshift__(_ostream out, Reference n) -> _ostream
13453 __lshift__(_ostream out, RigidMember n) -> _ostream
13454 __lshift__(_ostream out, RigidBody n) -> _ostream
13455 __lshift__(_ostream out, Gaussian n) -> _ostream
13456 __lshift__(_ostream out, Typed n) -> _ostream
13458 return _IMP_core.__lshift__(*args)
13460 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
13462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13464 def __init__(self, rs, out):
13465 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13466 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13468 self.this.append(this)
13469 except __builtin__.Exception:
13472 def get_version_info(self):
13473 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13474 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13478 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13479 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13482 def __repr__(self):
13483 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13484 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13489 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13491 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13492 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13496 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13497 return _IMP_core.assign_blame(rs, ps, attribute)
13501 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13502 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13503 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13505 return _IMP_core.create_blame_geometries(*args)
13507 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
13509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13511 def __init__(self, m, q1, q2):
13512 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13513 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13515 self.this.append(this)
13516 except __builtin__.Exception:
13519 def add_term(self, term):
13520 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13521 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13524 def do_get_inputs(self):
13525 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13526 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13529 def get_version_info(self):
13530 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13531 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13535 """__str__(MultipleBinormalRestraint self) -> std::string"""
13536 return _IMP_core.MultipleBinormalRestraint___str__(self)
13539 def __repr__(self):
13540 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13541 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13546 return _object_cast_to_MultipleBinormalRestraint(o)
13548 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13549 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13551 class BinormalTerm(object):
13552 """Proxy of C++ IMP::core::BinormalTerm class."""
13554 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13556 def __init__(self):
13557 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13558 this = _IMP_core.new_BinormalTerm()
13560 self.this.append(this)
13561 except __builtin__.Exception:
13564 def set_correlation(self, correlation):
13565 """set_correlation(BinormalTerm self, double correlation)"""
13566 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13569 def set_weight(self, weight):
13570 """set_weight(BinormalTerm self, double weight)"""
13571 return _IMP_core.BinormalTerm_set_weight(self, weight)
13574 def set_means(self, means):
13575 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13576 return _IMP_core.BinormalTerm_set_means(self, means)
13579 def set_standard_deviations(self, stdevs):
13580 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13581 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13584 def show(self, *args):
13586 show(BinormalTerm self, _ostream out)
13587 show(BinormalTerm self)
13589 return _IMP_core.BinormalTerm_show(self, *args)
13593 """__str__(BinormalTerm self) -> std::string"""
13594 return _IMP_core.BinormalTerm___str__(self)
13597 def __repr__(self):
13598 """__repr__(BinormalTerm self) -> std::string"""
13599 return _IMP_core.BinormalTerm___repr__(self)
13601 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13602 __del__ =
lambda self:
None
13603 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13604 BinormalTerm_swigregister(BinormalTerm)
13607 """Proxy of C++ IMP::core::Provenance class."""
13609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13611 def get_previous(self):
13612 """get_previous(Provenance self) -> Provenance"""
13613 return _IMP_core.Provenance_get_previous(self)
13616 def set_previous(self, p):
13617 """set_previous(Provenance self, Provenance p)"""
13618 return _IMP_core.Provenance_set_previous(self, p)
13621 def __init__(self, *args):
13623 __init__(IMP::core::Provenance self) -> Provenance
13624 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13625 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13627 this = _IMP_core.new_Provenance(*args)
13629 self.this.append(this)
13630 except __builtin__.Exception:
13633 def get_is_setup(*args):
13635 get_is_setup(Model m, ParticleIndex pi) -> bool
13636 get_is_setup(_ParticleAdaptor p) -> bool
13638 return _IMP_core.Provenance_get_is_setup(*args)
13640 get_is_setup = staticmethod(get_is_setup)
13642 def show(self, *args):
13644 show(Provenance self, _ostream out)
13645 show(Provenance self)
13647 return _IMP_core.Provenance_show(self, *args)
13650 def setup_particle(*args):
13652 setup_particle(Model m, ParticleIndex pi) -> Provenance
13653 setup_particle(_ParticleAdaptor decorator) -> Provenance
13655 return _IMP_core.Provenance_setup_particle(*args)
13657 setup_particle = staticmethod(setup_particle)
13659 def add_attribute(self, *args):
13661 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13662 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13663 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13664 add_attribute(Provenance self, FloatsKey a0, IMP::Floats a1)
13665 add_attribute(Provenance self, IntsKey a0, IMP::Ints a1)
13666 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13667 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13668 add_attribute(Provenance self, ObjectKey a0, Object a1)
13670 return _IMP_core.Provenance_add_attribute(self, *args)
13673 def get_value(self, *args):
13675 get_value(Provenance self, FloatKey a0) -> IMP::Float
13676 get_value(Provenance self, IntKey a0) -> IMP::Int
13677 get_value(Provenance self, FloatsKey a0) -> IMP::Floats
13678 get_value(Provenance self, IntsKey a0) -> IMP::Ints
13679 get_value(Provenance self, StringKey a0) -> IMP::String
13680 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13681 get_value(Provenance self, ObjectKey a0) -> Object
13683 return _IMP_core.Provenance_get_value(self, *args)
13686 def set_value(self, *args):
13688 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13689 set_value(Provenance self, IntKey a0, IMP::Int a1)
13690 set_value(Provenance self, FloatsKey a0, IMP::Floats a1)
13691 set_value(Provenance self, IntsKey a0, IMP::Ints a1)
13692 set_value(Provenance self, StringKey a0, IMP::String a1)
13693 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13694 set_value(Provenance self, ObjectKey a0, Object a1)
13696 return _IMP_core.Provenance_set_value(self, *args)
13699 def remove_attribute(self, *args):
13701 remove_attribute(Provenance self, FloatKey a0)
13702 remove_attribute(Provenance self, IntKey a0)
13703 remove_attribute(Provenance self, FloatsKey a0)
13704 remove_attribute(Provenance self, IntsKey a0)
13705 remove_attribute(Provenance self, StringKey a0)
13706 remove_attribute(Provenance self, ParticleIndexKey a0)
13707 remove_attribute(Provenance self, ObjectKey a0)
13709 return _IMP_core.Provenance_remove_attribute(self, *args)
13712 def has_attribute(self, *args):
13714 has_attribute(Provenance self, FloatKey a0) -> bool
13715 has_attribute(Provenance self, IntKey a0) -> bool
13716 has_attribute(Provenance self, FloatsKey a0) -> bool
13717 has_attribute(Provenance self, IntsKey a0) -> bool
13718 has_attribute(Provenance self, StringKey a0) -> bool
13719 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13720 has_attribute(Provenance self, ObjectKey a0) -> bool
13722 return _IMP_core.Provenance_has_attribute(self, *args)
13725 def get_derivative(self, a0):
13726 """get_derivative(Provenance self, FloatKey a0) -> double"""
13727 return _IMP_core.Provenance_get_derivative(self, a0)
13730 def get_name(self):
13731 """get_name(Provenance self) -> std::string"""
13732 return _IMP_core.Provenance_get_name(self)
13735 def clear_caches(self):
13736 """clear_caches(Provenance self)"""
13737 return _IMP_core.Provenance_clear_caches(self)
13740 def set_name(self, a0):
13741 """set_name(Provenance self, std::string a0)"""
13742 return _IMP_core.Provenance_set_name(self, a0)
13746 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13747 return _IMP_core.Provenance_set_check_level(self, a0)
13750 def add_to_derivative(self, a0, a1, a2):
13751 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13752 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13755 def set_is_optimized(self, a0, a1):
13756 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13757 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13760 def get_is_optimized(self, a0):
13761 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13762 return _IMP_core.Provenance_get_is_optimized(self, a0)
13766 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13767 return _IMP_core.Provenance_get_check_level(self)
13770 def __eq__(self, *args):
13772 __eq__(Provenance self, Provenance o) -> bool
13773 __eq__(Provenance self, Particle d) -> bool
13775 return _IMP_core.Provenance___eq__(self, *args)
13778 def __ne__(self, *args):
13780 __ne__(Provenance self, Provenance o) -> bool
13781 __ne__(Provenance self, Particle d) -> bool
13783 return _IMP_core.Provenance___ne__(self, *args)
13786 def __le__(self, *args):
13788 __le__(Provenance self, Provenance o) -> bool
13789 __le__(Provenance self, Particle d) -> bool
13791 return _IMP_core.Provenance___le__(self, *args)
13794 def __lt__(self, *args):
13796 __lt__(Provenance self, Provenance o) -> bool
13797 __lt__(Provenance self, Particle d) -> bool
13799 return _IMP_core.Provenance___lt__(self, *args)
13802 def __ge__(self, *args):
13804 __ge__(Provenance self, Provenance o) -> bool
13805 __ge__(Provenance self, Particle d) -> bool
13807 return _IMP_core.Provenance___ge__(self, *args)
13810 def __gt__(self, *args):
13812 __gt__(Provenance self, Provenance o) -> bool
13813 __gt__(Provenance self, Particle d) -> bool
13815 return _IMP_core.Provenance___gt__(self, *args)
13818 def __hash__(self):
13819 """__hash__(Provenance self) -> std::size_t"""
13820 return _IMP_core.Provenance___hash__(self)
13824 """__str__(Provenance self) -> std::string"""
13825 return _IMP_core.Provenance___str__(self)
13828 def __repr__(self):
13829 """__repr__(Provenance self) -> std::string"""
13830 return _IMP_core.Provenance___repr__(self)
13832 __swig_destroy__ = _IMP_core.delete_Provenance
13833 __del__ =
lambda self:
None
13834 Provenance_swigregister = _IMP_core.Provenance_swigregister
13835 Provenance_swigregister(Provenance)
13837 def Provenance_get_is_setup(*args):
13839 get_is_setup(Model m, ParticleIndex pi) -> bool
13840 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13842 return _IMP_core.Provenance_get_is_setup(*args)
13844 def Provenance_setup_particle(*args):
13846 setup_particle(Model m, ParticleIndex pi) -> Provenance
13847 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13849 return _IMP_core.Provenance_setup_particle(*args)
13851 class StructureProvenance(Provenance):
13852 """Proxy of C++ IMP::core::StructureProvenance class."""
13854 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13856 def set_filename(self, filename):
13857 """set_filename(StructureProvenance self, std::string filename)"""
13858 return _IMP_core.StructureProvenance_set_filename(self, filename)
13861 def get_filename(self):
13862 """get_filename(StructureProvenance self) -> std::string"""
13863 return _IMP_core.StructureProvenance_get_filename(self)
13866 def set_chain_id(self, chain_id):
13867 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13868 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13872 """get_chain_id(StructureProvenance self) -> std::string"""
13873 return _IMP_core.StructureProvenance_get_chain_id(self)
13876 def set_residue_offset(self, residue_offset):
13877 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13878 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13881 def get_residue_offset(self):
13882 """get_residue_offset(StructureProvenance self) -> int"""
13883 return _IMP_core.StructureProvenance_get_residue_offset(self)
13886 def __init__(self, *args):
13888 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13889 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13890 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13892 this = _IMP_core.new_StructureProvenance(*args)
13894 self.this.append(this)
13895 except __builtin__.Exception:
13898 def get_is_setup(*args):
13900 get_is_setup(Model m, ParticleIndex pi) -> bool
13901 get_is_setup(_ParticleAdaptor p) -> bool
13903 return _IMP_core.StructureProvenance_get_is_setup(*args)
13905 get_is_setup = staticmethod(get_is_setup)
13907 def show(self, *args):
13909 show(StructureProvenance self, _ostream out)
13910 show(StructureProvenance self)
13912 return _IMP_core.StructureProvenance_show(self, *args)
13915 def setup_particle(*args):
13917 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13918 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13919 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13920 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13921 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13922 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13924 return _IMP_core.StructureProvenance_setup_particle(*args)
13926 setup_particle = staticmethod(setup_particle)
13928 def add_attribute(self, *args):
13930 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13931 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13932 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13933 add_attribute(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13934 add_attribute(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13935 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13936 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13937 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13939 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13942 def get_value(self, *args):
13944 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13945 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13946 get_value(StructureProvenance self, FloatsKey a0) -> IMP::Floats
13947 get_value(StructureProvenance self, IntsKey a0) -> IMP::Ints
13948 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13949 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13950 get_value(StructureProvenance self, ObjectKey a0) -> Object
13952 return _IMP_core.StructureProvenance_get_value(self, *args)
13955 def set_value(self, *args):
13957 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13958 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13959 set_value(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13960 set_value(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13961 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13962 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13963 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13965 return _IMP_core.StructureProvenance_set_value(self, *args)
13968 def remove_attribute(self, *args):
13970 remove_attribute(StructureProvenance self, FloatKey a0)
13971 remove_attribute(StructureProvenance self, IntKey a0)
13972 remove_attribute(StructureProvenance self, FloatsKey a0)
13973 remove_attribute(StructureProvenance self, IntsKey a0)
13974 remove_attribute(StructureProvenance self, StringKey a0)
13975 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13976 remove_attribute(StructureProvenance self, ObjectKey a0)
13978 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13981 def has_attribute(self, *args):
13983 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13984 has_attribute(StructureProvenance self, IntKey a0) -> bool
13985 has_attribute(StructureProvenance self, FloatsKey a0) -> bool
13986 has_attribute(StructureProvenance self, IntsKey a0) -> bool
13987 has_attribute(StructureProvenance self, StringKey a0) -> bool
13988 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13989 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13991 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13994 def get_derivative(self, a0):
13995 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13996 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13999 def get_name(self):
14000 """get_name(StructureProvenance self) -> std::string"""
14001 return _IMP_core.StructureProvenance_get_name(self)
14004 def clear_caches(self):
14005 """clear_caches(StructureProvenance self)"""
14006 return _IMP_core.StructureProvenance_clear_caches(self)
14009 def set_name(self, a0):
14010 """set_name(StructureProvenance self, std::string a0)"""
14011 return _IMP_core.StructureProvenance_set_name(self, a0)
14015 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
14016 return _IMP_core.StructureProvenance_set_check_level(self, a0)
14019 def add_to_derivative(self, a0, a1, a2):
14020 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14021 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
14024 def set_is_optimized(self, a0, a1):
14025 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
14026 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
14029 def get_is_optimized(self, a0):
14030 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
14031 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
14035 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
14036 return _IMP_core.StructureProvenance_get_check_level(self)
14039 def __eq__(self, *args):
14041 __eq__(StructureProvenance self, StructureProvenance o) -> bool
14042 __eq__(StructureProvenance self, Particle d) -> bool
14044 return _IMP_core.StructureProvenance___eq__(self, *args)
14047 def __ne__(self, *args):
14049 __ne__(StructureProvenance self, StructureProvenance o) -> bool
14050 __ne__(StructureProvenance self, Particle d) -> bool
14052 return _IMP_core.StructureProvenance___ne__(self, *args)
14055 def __le__(self, *args):
14057 __le__(StructureProvenance self, StructureProvenance o) -> bool
14058 __le__(StructureProvenance self, Particle d) -> bool
14060 return _IMP_core.StructureProvenance___le__(self, *args)
14063 def __lt__(self, *args):
14065 __lt__(StructureProvenance self, StructureProvenance o) -> bool
14066 __lt__(StructureProvenance self, Particle d) -> bool
14068 return _IMP_core.StructureProvenance___lt__(self, *args)
14071 def __ge__(self, *args):
14073 __ge__(StructureProvenance self, StructureProvenance o) -> bool
14074 __ge__(StructureProvenance self, Particle d) -> bool
14076 return _IMP_core.StructureProvenance___ge__(self, *args)
14079 def __gt__(self, *args):
14081 __gt__(StructureProvenance self, StructureProvenance o) -> bool
14082 __gt__(StructureProvenance self, Particle d) -> bool
14084 return _IMP_core.StructureProvenance___gt__(self, *args)
14087 def __hash__(self):
14088 """__hash__(StructureProvenance self) -> std::size_t"""
14089 return _IMP_core.StructureProvenance___hash__(self)
14093 """__str__(StructureProvenance self) -> std::string"""
14094 return _IMP_core.StructureProvenance___str__(self)
14097 def __repr__(self):
14098 """__repr__(StructureProvenance self) -> std::string"""
14099 return _IMP_core.StructureProvenance___repr__(self)
14101 __swig_destroy__ = _IMP_core.delete_StructureProvenance
14102 __del__ =
lambda self:
None
14103 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
14104 StructureProvenance_swigregister(StructureProvenance)
14106 def StructureProvenance_get_is_setup(*args):
14108 get_is_setup(Model m, ParticleIndex pi) -> bool
14109 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14111 return _IMP_core.StructureProvenance_get_is_setup(*args)
14113 def StructureProvenance_setup_particle(*args):
14115 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14116 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14117 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
14118 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
14119 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
14120 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
14122 return _IMP_core.StructureProvenance_setup_particle(*args)
14124 class SampleProvenance(Provenance):
14125 """Proxy of C++ IMP::core::SampleProvenance class."""
14127 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14129 def set_method(self, method):
14130 """set_method(SampleProvenance self, std::string method)"""
14131 return _IMP_core.SampleProvenance_set_method(self, method)
14134 def get_method(self):
14135 """get_method(SampleProvenance self) -> std::string"""
14136 return _IMP_core.SampleProvenance_get_method(self)
14139 def set_number_of_frames(self, frames):
14140 """set_number_of_frames(SampleProvenance self, int frames)"""
14141 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
14145 """get_number_of_frames(SampleProvenance self) -> int"""
14146 return _IMP_core.SampleProvenance_get_number_of_frames(self)
14149 def set_number_of_iterations(self, iterations):
14150 """set_number_of_iterations(SampleProvenance self, int iterations)"""
14151 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
14154 def get_number_of_iterations(self):
14155 """get_number_of_iterations(SampleProvenance self) -> int"""
14156 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
14159 def set_number_of_replicas(self, replicas):
14160 """set_number_of_replicas(SampleProvenance self, int replicas)"""
14161 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
14164 def get_number_of_replicas(self):
14165 """get_number_of_replicas(SampleProvenance self) -> int"""
14166 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
14169 def __init__(self, *args):
14171 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
14172 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
14173 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
14175 this = _IMP_core.new_SampleProvenance(*args)
14177 self.this.append(this)
14178 except __builtin__.Exception:
14181 def get_is_setup(*args):
14183 get_is_setup(Model m, ParticleIndex pi) -> bool
14184 get_is_setup(_ParticleAdaptor p) -> bool
14186 return _IMP_core.SampleProvenance_get_is_setup(*args)
14188 get_is_setup = staticmethod(get_is_setup)
14190 def show(self, *args):
14192 show(SampleProvenance self, _ostream out)
14193 show(SampleProvenance self)
14195 return _IMP_core.SampleProvenance_show(self, *args)
14198 def setup_particle(*args):
14200 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14201 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14202 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14203 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14204 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14205 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14207 return _IMP_core.SampleProvenance_setup_particle(*args)
14209 setup_particle = staticmethod(setup_particle)
14211 def add_attribute(self, *args):
14213 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14214 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14215 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14216 add_attribute(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14217 add_attribute(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14218 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14219 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14220 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14222 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14225 def get_value(self, *args):
14227 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14228 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14229 get_value(SampleProvenance self, FloatsKey a0) -> IMP::Floats
14230 get_value(SampleProvenance self, IntsKey a0) -> IMP::Ints
14231 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14232 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14233 get_value(SampleProvenance self, ObjectKey a0) -> Object
14235 return _IMP_core.SampleProvenance_get_value(self, *args)
14238 def set_value(self, *args):
14240 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14241 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14242 set_value(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14243 set_value(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14244 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14245 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14246 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14248 return _IMP_core.SampleProvenance_set_value(self, *args)
14251 def remove_attribute(self, *args):
14253 remove_attribute(SampleProvenance self, FloatKey a0)
14254 remove_attribute(SampleProvenance self, IntKey a0)
14255 remove_attribute(SampleProvenance self, FloatsKey a0)
14256 remove_attribute(SampleProvenance self, IntsKey a0)
14257 remove_attribute(SampleProvenance self, StringKey a0)
14258 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14259 remove_attribute(SampleProvenance self, ObjectKey a0)
14261 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14264 def has_attribute(self, *args):
14266 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14267 has_attribute(SampleProvenance self, IntKey a0) -> bool
14268 has_attribute(SampleProvenance self, FloatsKey a0) -> bool
14269 has_attribute(SampleProvenance self, IntsKey a0) -> bool
14270 has_attribute(SampleProvenance self, StringKey a0) -> bool
14271 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14272 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14274 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14277 def get_derivative(self, a0):
14278 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14279 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14282 def get_name(self):
14283 """get_name(SampleProvenance self) -> std::string"""
14284 return _IMP_core.SampleProvenance_get_name(self)
14287 def clear_caches(self):
14288 """clear_caches(SampleProvenance self)"""
14289 return _IMP_core.SampleProvenance_clear_caches(self)
14292 def set_name(self, a0):
14293 """set_name(SampleProvenance self, std::string a0)"""
14294 return _IMP_core.SampleProvenance_set_name(self, a0)
14298 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14299 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14302 def add_to_derivative(self, a0, a1, a2):
14303 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14304 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14307 def set_is_optimized(self, a0, a1):
14308 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14309 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14312 def get_is_optimized(self, a0):
14313 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14314 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14318 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14319 return _IMP_core.SampleProvenance_get_check_level(self)
14322 def __eq__(self, *args):
14324 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14325 __eq__(SampleProvenance self, Particle d) -> bool
14327 return _IMP_core.SampleProvenance___eq__(self, *args)
14330 def __ne__(self, *args):
14332 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14333 __ne__(SampleProvenance self, Particle d) -> bool
14335 return _IMP_core.SampleProvenance___ne__(self, *args)
14338 def __le__(self, *args):
14340 __le__(SampleProvenance self, SampleProvenance o) -> bool
14341 __le__(SampleProvenance self, Particle d) -> bool
14343 return _IMP_core.SampleProvenance___le__(self, *args)
14346 def __lt__(self, *args):
14348 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14349 __lt__(SampleProvenance self, Particle d) -> bool
14351 return _IMP_core.SampleProvenance___lt__(self, *args)
14354 def __ge__(self, *args):
14356 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14357 __ge__(SampleProvenance self, Particle d) -> bool
14359 return _IMP_core.SampleProvenance___ge__(self, *args)
14362 def __gt__(self, *args):
14364 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14365 __gt__(SampleProvenance self, Particle d) -> bool
14367 return _IMP_core.SampleProvenance___gt__(self, *args)
14370 def __hash__(self):
14371 """__hash__(SampleProvenance self) -> std::size_t"""
14372 return _IMP_core.SampleProvenance___hash__(self)
14376 """__str__(SampleProvenance self) -> std::string"""
14377 return _IMP_core.SampleProvenance___str__(self)
14380 def __repr__(self):
14381 """__repr__(SampleProvenance self) -> std::string"""
14382 return _IMP_core.SampleProvenance___repr__(self)
14384 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14385 __del__ =
lambda self:
None
14386 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14387 SampleProvenance_swigregister(SampleProvenance)
14389 def SampleProvenance_get_is_setup(*args):
14391 get_is_setup(Model m, ParticleIndex pi) -> bool
14392 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14394 return _IMP_core.SampleProvenance_get_is_setup(*args)
14396 def SampleProvenance_setup_particle(*args):
14398 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14399 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14400 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14401 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14402 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14403 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14405 return _IMP_core.SampleProvenance_setup_particle(*args)
14407 class CombineProvenance(Provenance):
14408 """Proxy of C++ IMP::core::CombineProvenance class."""
14410 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14412 def set_number_of_frames(self, frames):
14413 """set_number_of_frames(CombineProvenance self, int frames)"""
14414 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14418 """get_number_of_frames(CombineProvenance self) -> int"""
14419 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14422 def set_number_of_runs(self, runs):
14423 """set_number_of_runs(CombineProvenance self, int runs)"""
14424 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14427 def get_number_of_runs(self):
14428 """get_number_of_runs(CombineProvenance self) -> int"""
14429 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14432 def __init__(self, *args):
14434 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14435 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14436 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14438 this = _IMP_core.new_CombineProvenance(*args)
14440 self.this.append(this)
14441 except __builtin__.Exception:
14444 def get_is_setup(*args):
14446 get_is_setup(Model m, ParticleIndex pi) -> bool
14447 get_is_setup(_ParticleAdaptor p) -> bool
14449 return _IMP_core.CombineProvenance_get_is_setup(*args)
14451 get_is_setup = staticmethod(get_is_setup)
14453 def show(self, *args):
14455 show(CombineProvenance self, _ostream out)
14456 show(CombineProvenance self)
14458 return _IMP_core.CombineProvenance_show(self, *args)
14461 def setup_particle(*args):
14463 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14464 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14465 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14466 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14468 return _IMP_core.CombineProvenance_setup_particle(*args)
14470 setup_particle = staticmethod(setup_particle)
14472 def add_attribute(self, *args):
14474 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14475 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14476 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14477 add_attribute(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14478 add_attribute(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14479 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14480 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14481 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14483 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14486 def get_value(self, *args):
14488 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14489 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14490 get_value(CombineProvenance self, FloatsKey a0) -> IMP::Floats
14491 get_value(CombineProvenance self, IntsKey a0) -> IMP::Ints
14492 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14493 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14494 get_value(CombineProvenance self, ObjectKey a0) -> Object
14496 return _IMP_core.CombineProvenance_get_value(self, *args)
14499 def set_value(self, *args):
14501 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14502 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14503 set_value(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14504 set_value(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14505 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14506 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14507 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14509 return _IMP_core.CombineProvenance_set_value(self, *args)
14512 def remove_attribute(self, *args):
14514 remove_attribute(CombineProvenance self, FloatKey a0)
14515 remove_attribute(CombineProvenance self, IntKey a0)
14516 remove_attribute(CombineProvenance self, FloatsKey a0)
14517 remove_attribute(CombineProvenance self, IntsKey a0)
14518 remove_attribute(CombineProvenance self, StringKey a0)
14519 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14520 remove_attribute(CombineProvenance self, ObjectKey a0)
14522 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14525 def has_attribute(self, *args):
14527 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14528 has_attribute(CombineProvenance self, IntKey a0) -> bool
14529 has_attribute(CombineProvenance self, FloatsKey a0) -> bool
14530 has_attribute(CombineProvenance self, IntsKey a0) -> bool
14531 has_attribute(CombineProvenance self, StringKey a0) -> bool
14532 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14533 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14535 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14538 def get_derivative(self, a0):
14539 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14540 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14543 def get_name(self):
14544 """get_name(CombineProvenance self) -> std::string"""
14545 return _IMP_core.CombineProvenance_get_name(self)
14548 def clear_caches(self):
14549 """clear_caches(CombineProvenance self)"""
14550 return _IMP_core.CombineProvenance_clear_caches(self)
14553 def set_name(self, a0):
14554 """set_name(CombineProvenance self, std::string a0)"""
14555 return _IMP_core.CombineProvenance_set_name(self, a0)
14559 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14560 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14563 def add_to_derivative(self, a0, a1, a2):
14564 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14565 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14568 def set_is_optimized(self, a0, a1):
14569 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14570 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14573 def get_is_optimized(self, a0):
14574 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14575 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14579 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14580 return _IMP_core.CombineProvenance_get_check_level(self)
14583 def __eq__(self, *args):
14585 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14586 __eq__(CombineProvenance self, Particle d) -> bool
14588 return _IMP_core.CombineProvenance___eq__(self, *args)
14591 def __ne__(self, *args):
14593 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14594 __ne__(CombineProvenance self, Particle d) -> bool
14596 return _IMP_core.CombineProvenance___ne__(self, *args)
14599 def __le__(self, *args):
14601 __le__(CombineProvenance self, CombineProvenance o) -> bool
14602 __le__(CombineProvenance self, Particle d) -> bool
14604 return _IMP_core.CombineProvenance___le__(self, *args)
14607 def __lt__(self, *args):
14609 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14610 __lt__(CombineProvenance self, Particle d) -> bool
14612 return _IMP_core.CombineProvenance___lt__(self, *args)
14615 def __ge__(self, *args):
14617 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14618 __ge__(CombineProvenance self, Particle d) -> bool
14620 return _IMP_core.CombineProvenance___ge__(self, *args)
14623 def __gt__(self, *args):
14625 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14626 __gt__(CombineProvenance self, Particle d) -> bool
14628 return _IMP_core.CombineProvenance___gt__(self, *args)
14631 def __hash__(self):
14632 """__hash__(CombineProvenance self) -> std::size_t"""
14633 return _IMP_core.CombineProvenance___hash__(self)
14637 """__str__(CombineProvenance self) -> std::string"""
14638 return _IMP_core.CombineProvenance___str__(self)
14641 def __repr__(self):
14642 """__repr__(CombineProvenance self) -> std::string"""
14643 return _IMP_core.CombineProvenance___repr__(self)
14645 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14646 __del__ =
lambda self:
None
14647 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14648 CombineProvenance_swigregister(CombineProvenance)
14650 def CombineProvenance_get_is_setup(*args):
14652 get_is_setup(Model m, ParticleIndex pi) -> bool
14653 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14655 return _IMP_core.CombineProvenance_get_is_setup(*args)
14657 def CombineProvenance_setup_particle(*args):
14659 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14660 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14661 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14662 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14664 return _IMP_core.CombineProvenance_setup_particle(*args)
14666 class FilterProvenance(Provenance):
14667 """Proxy of C++ IMP::core::FilterProvenance class."""
14669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14671 def set_method(self, method):
14672 """set_method(FilterProvenance self, std::string method)"""
14673 return _IMP_core.FilterProvenance_set_method(self, method)
14676 def get_method(self):
14677 """get_method(FilterProvenance self) -> std::string"""
14678 return _IMP_core.FilterProvenance_get_method(self)
14681 def set_number_of_frames(self, frames):
14682 """set_number_of_frames(FilterProvenance self, int frames)"""
14683 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14687 """get_number_of_frames(FilterProvenance self) -> int"""
14688 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14691 def set_threshold(self, threshold):
14692 """set_threshold(FilterProvenance self, double threshold)"""
14693 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14696 def get_threshold(self):
14697 """get_threshold(FilterProvenance self) -> double"""
14698 return _IMP_core.FilterProvenance_get_threshold(self)
14701 def __init__(self, *args):
14703 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14704 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14705 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14707 this = _IMP_core.new_FilterProvenance(*args)
14709 self.this.append(this)
14710 except __builtin__.Exception:
14713 def get_is_setup(*args):
14715 get_is_setup(Model m, ParticleIndex pi) -> bool
14716 get_is_setup(_ParticleAdaptor p) -> bool
14718 return _IMP_core.FilterProvenance_get_is_setup(*args)
14720 get_is_setup = staticmethod(get_is_setup)
14722 def show(self, *args):
14724 show(FilterProvenance self, _ostream out)
14725 show(FilterProvenance self)
14727 return _IMP_core.FilterProvenance_show(self, *args)
14730 def setup_particle(*args):
14732 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14733 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14734 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14735 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14737 return _IMP_core.FilterProvenance_setup_particle(*args)
14739 setup_particle = staticmethod(setup_particle)
14741 def add_attribute(self, *args):
14743 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14744 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14745 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14746 add_attribute(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14747 add_attribute(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14748 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14749 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14750 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14752 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14755 def get_value(self, *args):
14757 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14758 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14759 get_value(FilterProvenance self, FloatsKey a0) -> IMP::Floats
14760 get_value(FilterProvenance self, IntsKey a0) -> IMP::Ints
14761 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14762 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14763 get_value(FilterProvenance self, ObjectKey a0) -> Object
14765 return _IMP_core.FilterProvenance_get_value(self, *args)
14768 def set_value(self, *args):
14770 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14771 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14772 set_value(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14773 set_value(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14774 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14775 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14776 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14778 return _IMP_core.FilterProvenance_set_value(self, *args)
14781 def remove_attribute(self, *args):
14783 remove_attribute(FilterProvenance self, FloatKey a0)
14784 remove_attribute(FilterProvenance self, IntKey a0)
14785 remove_attribute(FilterProvenance self, FloatsKey a0)
14786 remove_attribute(FilterProvenance self, IntsKey a0)
14787 remove_attribute(FilterProvenance self, StringKey a0)
14788 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14789 remove_attribute(FilterProvenance self, ObjectKey a0)
14791 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14794 def has_attribute(self, *args):
14796 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14797 has_attribute(FilterProvenance self, IntKey a0) -> bool
14798 has_attribute(FilterProvenance self, FloatsKey a0) -> bool
14799 has_attribute(FilterProvenance self, IntsKey a0) -> bool
14800 has_attribute(FilterProvenance self, StringKey a0) -> bool
14801 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14802 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14804 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14807 def get_derivative(self, a0):
14808 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14809 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14812 def get_name(self):
14813 """get_name(FilterProvenance self) -> std::string"""
14814 return _IMP_core.FilterProvenance_get_name(self)
14817 def clear_caches(self):
14818 """clear_caches(FilterProvenance self)"""
14819 return _IMP_core.FilterProvenance_clear_caches(self)
14822 def set_name(self, a0):
14823 """set_name(FilterProvenance self, std::string a0)"""
14824 return _IMP_core.FilterProvenance_set_name(self, a0)
14828 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14829 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14832 def add_to_derivative(self, a0, a1, a2):
14833 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14834 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14837 def set_is_optimized(self, a0, a1):
14838 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14839 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14842 def get_is_optimized(self, a0):
14843 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14844 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14848 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14849 return _IMP_core.FilterProvenance_get_check_level(self)
14852 def __eq__(self, *args):
14854 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14855 __eq__(FilterProvenance self, Particle d) -> bool
14857 return _IMP_core.FilterProvenance___eq__(self, *args)
14860 def __ne__(self, *args):
14862 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14863 __ne__(FilterProvenance self, Particle d) -> bool
14865 return _IMP_core.FilterProvenance___ne__(self, *args)
14868 def __le__(self, *args):
14870 __le__(FilterProvenance self, FilterProvenance o) -> bool
14871 __le__(FilterProvenance self, Particle d) -> bool
14873 return _IMP_core.FilterProvenance___le__(self, *args)
14876 def __lt__(self, *args):
14878 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14879 __lt__(FilterProvenance self, Particle d) -> bool
14881 return _IMP_core.FilterProvenance___lt__(self, *args)
14884 def __ge__(self, *args):
14886 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14887 __ge__(FilterProvenance self, Particle d) -> bool
14889 return _IMP_core.FilterProvenance___ge__(self, *args)
14892 def __gt__(self, *args):
14894 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14895 __gt__(FilterProvenance self, Particle d) -> bool
14897 return _IMP_core.FilterProvenance___gt__(self, *args)
14900 def __hash__(self):
14901 """__hash__(FilterProvenance self) -> std::size_t"""
14902 return _IMP_core.FilterProvenance___hash__(self)
14906 """__str__(FilterProvenance self) -> std::string"""
14907 return _IMP_core.FilterProvenance___str__(self)
14910 def __repr__(self):
14911 """__repr__(FilterProvenance self) -> std::string"""
14912 return _IMP_core.FilterProvenance___repr__(self)
14914 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14915 __del__ =
lambda self:
None
14916 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14917 FilterProvenance_swigregister(FilterProvenance)
14919 def FilterProvenance_get_is_setup(*args):
14921 get_is_setup(Model m, ParticleIndex pi) -> bool
14922 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14924 return _IMP_core.FilterProvenance_get_is_setup(*args)
14926 def FilterProvenance_setup_particle(*args):
14928 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14929 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14930 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14931 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14933 return _IMP_core.FilterProvenance_setup_particle(*args)
14935 class ClusterProvenance(Provenance):
14936 """Proxy of C++ IMP::core::ClusterProvenance class."""
14938 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14940 def set_number_of_members(self, members):
14941 """set_number_of_members(ClusterProvenance self, int members)"""
14942 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14945 def get_number_of_members(self):
14946 """get_number_of_members(ClusterProvenance self) -> int"""
14947 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14950 def set_precision(self, precision):
14951 """set_precision(ClusterProvenance self, double precision)"""
14952 return _IMP_core.ClusterProvenance_set_precision(self, precision)
14955 def get_precision(self):
14956 """get_precision(ClusterProvenance self) -> double"""
14957 return _IMP_core.ClusterProvenance_get_precision(self)
14960 def set_density(self, density):
14961 """set_density(ClusterProvenance self, std::string density)"""
14962 return _IMP_core.ClusterProvenance_set_density(self, density)
14965 def get_density(self):
14966 """get_density(ClusterProvenance self) -> std::string"""
14967 return _IMP_core.ClusterProvenance_get_density(self)
14970 def __init__(self, *args):
14972 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14973 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14974 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14976 this = _IMP_core.new_ClusterProvenance(*args)
14978 self.this.append(this)
14979 except __builtin__.Exception:
14982 def get_is_setup(*args):
14984 get_is_setup(Model m, ParticleIndex pi) -> bool
14985 get_is_setup(_ParticleAdaptor p) -> bool
14987 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14989 get_is_setup = staticmethod(get_is_setup)
14991 def show(self, *args):
14993 show(ClusterProvenance self, _ostream out)
14994 show(ClusterProvenance self)
14996 return _IMP_core.ClusterProvenance_show(self, *args)
14999 def setup_particle(*args):
15001 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15002 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15003 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15004 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15005 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15006 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15007 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15008 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15010 return _IMP_core.ClusterProvenance_setup_particle(*args)
15012 setup_particle = staticmethod(setup_particle)
15014 def add_attribute(self, *args):
15016 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
15017 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15018 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
15019 add_attribute(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15020 add_attribute(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15021 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
15022 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15023 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
15025 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
15028 def get_value(self, *args):
15030 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
15031 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
15032 get_value(ClusterProvenance self, FloatsKey a0) -> IMP::Floats
15033 get_value(ClusterProvenance self, IntsKey a0) -> IMP::Ints
15034 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
15035 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
15036 get_value(ClusterProvenance self, ObjectKey a0) -> Object
15038 return _IMP_core.ClusterProvenance_get_value(self, *args)
15041 def set_value(self, *args):
15043 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15044 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
15045 set_value(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15046 set_value(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15047 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
15048 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15049 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
15051 return _IMP_core.ClusterProvenance_set_value(self, *args)
15054 def remove_attribute(self, *args):
15056 remove_attribute(ClusterProvenance self, FloatKey a0)
15057 remove_attribute(ClusterProvenance self, IntKey a0)
15058 remove_attribute(ClusterProvenance self, FloatsKey a0)
15059 remove_attribute(ClusterProvenance self, IntsKey a0)
15060 remove_attribute(ClusterProvenance self, StringKey a0)
15061 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
15062 remove_attribute(ClusterProvenance self, ObjectKey a0)
15064 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
15067 def has_attribute(self, *args):
15069 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
15070 has_attribute(ClusterProvenance self, IntKey a0) -> bool
15071 has_attribute(ClusterProvenance self, FloatsKey a0) -> bool
15072 has_attribute(ClusterProvenance self, IntsKey a0) -> bool
15073 has_attribute(ClusterProvenance self, StringKey a0) -> bool
15074 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
15075 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
15077 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
15080 def get_derivative(self, a0):
15081 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
15082 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
15085 def get_name(self):
15086 """get_name(ClusterProvenance self) -> std::string"""
15087 return _IMP_core.ClusterProvenance_get_name(self)
15090 def clear_caches(self):
15091 """clear_caches(ClusterProvenance self)"""
15092 return _IMP_core.ClusterProvenance_clear_caches(self)
15095 def set_name(self, a0):
15096 """set_name(ClusterProvenance self, std::string a0)"""
15097 return _IMP_core.ClusterProvenance_set_name(self, a0)
15101 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
15102 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
15105 def add_to_derivative(self, a0, a1, a2):
15106 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15107 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
15110 def set_is_optimized(self, a0, a1):
15111 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
15112 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
15115 def get_is_optimized(self, a0):
15116 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
15117 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
15121 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
15122 return _IMP_core.ClusterProvenance_get_check_level(self)
15125 def __eq__(self, *args):
15127 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
15128 __eq__(ClusterProvenance self, Particle d) -> bool
15130 return _IMP_core.ClusterProvenance___eq__(self, *args)
15133 def __ne__(self, *args):
15135 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
15136 __ne__(ClusterProvenance self, Particle d) -> bool
15138 return _IMP_core.ClusterProvenance___ne__(self, *args)
15141 def __le__(self, *args):
15143 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
15144 __le__(ClusterProvenance self, Particle d) -> bool
15146 return _IMP_core.ClusterProvenance___le__(self, *args)
15149 def __lt__(self, *args):
15151 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
15152 __lt__(ClusterProvenance self, Particle d) -> bool
15154 return _IMP_core.ClusterProvenance___lt__(self, *args)
15157 def __ge__(self, *args):
15159 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
15160 __ge__(ClusterProvenance self, Particle d) -> bool
15162 return _IMP_core.ClusterProvenance___ge__(self, *args)
15165 def __gt__(self, *args):
15167 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
15168 __gt__(ClusterProvenance self, Particle d) -> bool
15170 return _IMP_core.ClusterProvenance___gt__(self, *args)
15173 def __hash__(self):
15174 """__hash__(ClusterProvenance self) -> std::size_t"""
15175 return _IMP_core.ClusterProvenance___hash__(self)
15179 """__str__(ClusterProvenance self) -> std::string"""
15180 return _IMP_core.ClusterProvenance___str__(self)
15183 def __repr__(self):
15184 """__repr__(ClusterProvenance self) -> std::string"""
15185 return _IMP_core.ClusterProvenance___repr__(self)
15187 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
15188 __del__ =
lambda self:
None
15189 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
15190 ClusterProvenance_swigregister(ClusterProvenance)
15192 def ClusterProvenance_get_is_setup(*args):
15194 get_is_setup(Model m, ParticleIndex pi) -> bool
15195 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15197 return _IMP_core.ClusterProvenance_get_is_setup(*args)
15199 def ClusterProvenance_setup_particle(*args):
15201 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15202 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15203 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15204 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15205 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15206 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15207 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15208 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15210 return _IMP_core.ClusterProvenance_setup_particle(*args)
15212 class ScriptProvenance(Provenance):
15213 """Proxy of C++ IMP::core::ScriptProvenance class."""
15215 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15217 def set_filename(self, filename):
15218 """set_filename(ScriptProvenance self, std::string filename)"""
15219 return _IMP_core.ScriptProvenance_set_filename(self, filename)
15222 def get_filename(self):
15223 """get_filename(ScriptProvenance self) -> std::string"""
15224 return _IMP_core.ScriptProvenance_get_filename(self)
15227 def __init__(self, *args):
15229 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
15230 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
15231 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
15233 this = _IMP_core.new_ScriptProvenance(*args)
15235 self.this.append(this)
15236 except __builtin__.Exception:
15239 def get_is_setup(*args):
15241 get_is_setup(Model m, ParticleIndex pi) -> bool
15242 get_is_setup(_ParticleAdaptor p) -> bool
15244 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15246 get_is_setup = staticmethod(get_is_setup)
15248 def show(self, *args):
15250 show(ScriptProvenance self, _ostream out)
15251 show(ScriptProvenance self)
15253 return _IMP_core.ScriptProvenance_show(self, *args)
15256 def setup_particle(*args):
15258 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15259 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15260 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15261 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15263 return _IMP_core.ScriptProvenance_setup_particle(*args)
15265 setup_particle = staticmethod(setup_particle)
15267 def add_attribute(self, *args):
15269 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15270 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15271 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15272 add_attribute(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15273 add_attribute(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15274 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15275 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15276 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15278 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15281 def get_value(self, *args):
15283 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15284 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15285 get_value(ScriptProvenance self, FloatsKey a0) -> IMP::Floats
15286 get_value(ScriptProvenance self, IntsKey a0) -> IMP::Ints
15287 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15288 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15289 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15291 return _IMP_core.ScriptProvenance_get_value(self, *args)
15294 def set_value(self, *args):
15296 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15297 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15298 set_value(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15299 set_value(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15300 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15301 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15302 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15304 return _IMP_core.ScriptProvenance_set_value(self, *args)
15307 def remove_attribute(self, *args):
15309 remove_attribute(ScriptProvenance self, FloatKey a0)
15310 remove_attribute(ScriptProvenance self, IntKey a0)
15311 remove_attribute(ScriptProvenance self, FloatsKey a0)
15312 remove_attribute(ScriptProvenance self, IntsKey a0)
15313 remove_attribute(ScriptProvenance self, StringKey a0)
15314 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15315 remove_attribute(ScriptProvenance self, ObjectKey a0)
15317 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15320 def has_attribute(self, *args):
15322 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15323 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15324 has_attribute(ScriptProvenance self, FloatsKey a0) -> bool
15325 has_attribute(ScriptProvenance self, IntsKey a0) -> bool
15326 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15327 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15328 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15330 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15333 def get_derivative(self, a0):
15334 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15335 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15338 def get_name(self):
15339 """get_name(ScriptProvenance self) -> std::string"""
15340 return _IMP_core.ScriptProvenance_get_name(self)
15343 def clear_caches(self):
15344 """clear_caches(ScriptProvenance self)"""
15345 return _IMP_core.ScriptProvenance_clear_caches(self)
15348 def set_name(self, a0):
15349 """set_name(ScriptProvenance self, std::string a0)"""
15350 return _IMP_core.ScriptProvenance_set_name(self, a0)
15354 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15355 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15358 def add_to_derivative(self, a0, a1, a2):
15359 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15360 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15363 def set_is_optimized(self, a0, a1):
15364 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15365 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15368 def get_is_optimized(self, a0):
15369 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15370 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15374 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15375 return _IMP_core.ScriptProvenance_get_check_level(self)
15378 def __eq__(self, *args):
15380 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15381 __eq__(ScriptProvenance self, Particle d) -> bool
15383 return _IMP_core.ScriptProvenance___eq__(self, *args)
15386 def __ne__(self, *args):
15388 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15389 __ne__(ScriptProvenance self, Particle d) -> bool
15391 return _IMP_core.ScriptProvenance___ne__(self, *args)
15394 def __le__(self, *args):
15396 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15397 __le__(ScriptProvenance self, Particle d) -> bool
15399 return _IMP_core.ScriptProvenance___le__(self, *args)
15402 def __lt__(self, *args):
15404 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15405 __lt__(ScriptProvenance self, Particle d) -> bool
15407 return _IMP_core.ScriptProvenance___lt__(self, *args)
15410 def __ge__(self, *args):
15412 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15413 __ge__(ScriptProvenance self, Particle d) -> bool
15415 return _IMP_core.ScriptProvenance___ge__(self, *args)
15418 def __gt__(self, *args):
15420 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15421 __gt__(ScriptProvenance self, Particle d) -> bool
15423 return _IMP_core.ScriptProvenance___gt__(self, *args)
15426 def __hash__(self):
15427 """__hash__(ScriptProvenance self) -> std::size_t"""
15428 return _IMP_core.ScriptProvenance___hash__(self)
15432 """__str__(ScriptProvenance self) -> std::string"""
15433 return _IMP_core.ScriptProvenance___str__(self)
15436 def __repr__(self):
15437 """__repr__(ScriptProvenance self) -> std::string"""
15438 return _IMP_core.ScriptProvenance___repr__(self)
15440 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15441 __del__ =
lambda self:
None
15442 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15443 ScriptProvenance_swigregister(ScriptProvenance)
15445 def ScriptProvenance_get_is_setup(*args):
15447 get_is_setup(Model m, ParticleIndex pi) -> bool
15448 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15450 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15452 def ScriptProvenance_setup_particle(*args):
15454 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15455 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15456 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15457 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15459 return _IMP_core.ScriptProvenance_setup_particle(*args)
15461 class SoftwareProvenance(Provenance):
15462 """Proxy of C++ IMP::core::SoftwareProvenance class."""
15464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15466 def set_software_name(self, name):
15467 """set_software_name(SoftwareProvenance self, std::string name)"""
15468 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15471 def get_software_name(self):
15472 """get_software_name(SoftwareProvenance self) -> std::string"""
15473 return _IMP_core.SoftwareProvenance_get_software_name(self)
15476 def set_version(self, version):
15477 """set_version(SoftwareProvenance self, std::string version)"""
15478 return _IMP_core.SoftwareProvenance_set_version(self, version)
15481 def get_version(self):
15482 """get_version(SoftwareProvenance self) -> std::string"""
15483 return _IMP_core.SoftwareProvenance_get_version(self)
15486 def set_location(self, location):
15487 """set_location(SoftwareProvenance self, std::string location)"""
15488 return _IMP_core.SoftwareProvenance_set_location(self, location)
15491 def get_location(self):
15492 """get_location(SoftwareProvenance self) -> std::string"""
15493 return _IMP_core.SoftwareProvenance_get_location(self)
15496 def __init__(self, *args):
15498 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15499 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15500 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15502 this = _IMP_core.new_SoftwareProvenance(*args)
15504 self.this.append(this)
15505 except __builtin__.Exception:
15508 def get_is_setup(*args):
15510 get_is_setup(Model m, ParticleIndex pi) -> bool
15511 get_is_setup(_ParticleAdaptor p) -> bool
15513 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15515 get_is_setup = staticmethod(get_is_setup)
15517 def show(self, *args):
15519 show(SoftwareProvenance self, _ostream out)
15520 show(SoftwareProvenance self)
15522 return _IMP_core.SoftwareProvenance_show(self, *args)
15525 def setup_particle(*args):
15527 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15528 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15529 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15530 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15532 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15534 setup_particle = staticmethod(setup_particle)
15536 def add_attribute(self, *args):
15538 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15539 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15540 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15541 add_attribute(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15542 add_attribute(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15543 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15544 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15545 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15547 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15550 def get_value(self, *args):
15552 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15553 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15554 get_value(SoftwareProvenance self, FloatsKey a0) -> IMP::Floats
15555 get_value(SoftwareProvenance self, IntsKey a0) -> IMP::Ints
15556 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15557 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15558 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15560 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15563 def set_value(self, *args):
15565 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15566 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15567 set_value(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15568 set_value(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15569 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15570 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15571 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15573 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15576 def remove_attribute(self, *args):
15578 remove_attribute(SoftwareProvenance self, FloatKey a0)
15579 remove_attribute(SoftwareProvenance self, IntKey a0)
15580 remove_attribute(SoftwareProvenance self, FloatsKey a0)
15581 remove_attribute(SoftwareProvenance self, IntsKey a0)
15582 remove_attribute(SoftwareProvenance self, StringKey a0)
15583 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15584 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15586 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15589 def has_attribute(self, *args):
15591 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15592 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15593 has_attribute(SoftwareProvenance self, FloatsKey a0) -> bool
15594 has_attribute(SoftwareProvenance self, IntsKey a0) -> bool
15595 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15596 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15597 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15599 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15602 def get_derivative(self, a0):
15603 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15604 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15607 def get_name(self):
15608 """get_name(SoftwareProvenance self) -> std::string"""
15609 return _IMP_core.SoftwareProvenance_get_name(self)
15612 def clear_caches(self):
15613 """clear_caches(SoftwareProvenance self)"""
15614 return _IMP_core.SoftwareProvenance_clear_caches(self)
15617 def set_name(self, a0):
15618 """set_name(SoftwareProvenance self, std::string a0)"""
15619 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15623 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15624 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15627 def add_to_derivative(self, a0, a1, a2):
15628 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15629 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15632 def set_is_optimized(self, a0, a1):
15633 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15634 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15637 def get_is_optimized(self, a0):
15638 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15639 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15643 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15644 return _IMP_core.SoftwareProvenance_get_check_level(self)
15647 def __eq__(self, *args):
15649 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15650 __eq__(SoftwareProvenance self, Particle d) -> bool
15652 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15655 def __ne__(self, *args):
15657 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15658 __ne__(SoftwareProvenance self, Particle d) -> bool
15660 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15663 def __le__(self, *args):
15665 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15666 __le__(SoftwareProvenance self, Particle d) -> bool
15668 return _IMP_core.SoftwareProvenance___le__(self, *args)
15671 def __lt__(self, *args):
15673 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15674 __lt__(SoftwareProvenance self, Particle d) -> bool
15676 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15679 def __ge__(self, *args):
15681 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15682 __ge__(SoftwareProvenance self, Particle d) -> bool
15684 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15687 def __gt__(self, *args):
15689 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15690 __gt__(SoftwareProvenance self, Particle d) -> bool
15692 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15695 def __hash__(self):
15696 """__hash__(SoftwareProvenance self) -> std::size_t"""
15697 return _IMP_core.SoftwareProvenance___hash__(self)
15701 """__str__(SoftwareProvenance self) -> std::string"""
15702 return _IMP_core.SoftwareProvenance___str__(self)
15705 def __repr__(self):
15706 """__repr__(SoftwareProvenance self) -> std::string"""
15707 return _IMP_core.SoftwareProvenance___repr__(self)
15709 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15710 __del__ =
lambda self:
None
15711 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15712 SoftwareProvenance_swigregister(SoftwareProvenance)
15714 def SoftwareProvenance_get_is_setup(*args):
15716 get_is_setup(Model m, ParticleIndex pi) -> bool
15717 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15719 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15721 def SoftwareProvenance_setup_particle(*args):
15723 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15724 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15725 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15726 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15728 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15731 """Proxy of C++ IMP::core::Provenanced class."""
15733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15735 def get_provenance(self):
15736 """get_provenance(Provenanced self) -> Provenance"""
15737 return _IMP_core.Provenanced_get_provenance(self)
15740 def set_provenance(self, p):
15741 """set_provenance(Provenanced self, Provenance p)"""
15742 return _IMP_core.Provenanced_set_provenance(self, p)
15745 def __init__(self, *args):
15747 __init__(IMP::core::Provenanced self) -> Provenanced
15748 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15749 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15751 this = _IMP_core.new_Provenanced(*args)
15753 self.this.append(this)
15754 except __builtin__.Exception:
15757 def get_is_setup(*args):
15759 get_is_setup(Model m, ParticleIndex pi) -> bool
15760 get_is_setup(_ParticleAdaptor p) -> bool
15762 return _IMP_core.Provenanced_get_is_setup(*args)
15764 get_is_setup = staticmethod(get_is_setup)
15766 def show(self, *args):
15768 show(Provenanced self, _ostream out)
15769 show(Provenanced self)
15771 return _IMP_core.Provenanced_show(self, *args)
15774 def setup_particle(*args):
15776 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15777 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15779 return _IMP_core.Provenanced_setup_particle(*args)
15781 setup_particle = staticmethod(setup_particle)
15783 def add_attribute(self, *args):
15785 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15786 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15787 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15788 add_attribute(Provenanced self, FloatsKey a0, IMP::Floats a1)
15789 add_attribute(Provenanced self, IntsKey a0, IMP::Ints a1)
15790 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15791 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15792 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15794 return _IMP_core.Provenanced_add_attribute(self, *args)
15797 def get_value(self, *args):
15799 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15800 get_value(Provenanced self, IntKey a0) -> IMP::Int
15801 get_value(Provenanced self, FloatsKey a0) -> IMP::Floats
15802 get_value(Provenanced self, IntsKey a0) -> IMP::Ints
15803 get_value(Provenanced self, StringKey a0) -> IMP::String
15804 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15805 get_value(Provenanced self, ObjectKey a0) -> Object
15807 return _IMP_core.Provenanced_get_value(self, *args)
15810 def set_value(self, *args):
15812 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15813 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15814 set_value(Provenanced self, FloatsKey a0, IMP::Floats a1)
15815 set_value(Provenanced self, IntsKey a0, IMP::Ints a1)
15816 set_value(Provenanced self, StringKey a0, IMP::String a1)
15817 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15818 set_value(Provenanced self, ObjectKey a0, Object a1)
15820 return _IMP_core.Provenanced_set_value(self, *args)
15823 def remove_attribute(self, *args):
15825 remove_attribute(Provenanced self, FloatKey a0)
15826 remove_attribute(Provenanced self, IntKey a0)
15827 remove_attribute(Provenanced self, FloatsKey a0)
15828 remove_attribute(Provenanced self, IntsKey a0)
15829 remove_attribute(Provenanced self, StringKey a0)
15830 remove_attribute(Provenanced self, ParticleIndexKey a0)
15831 remove_attribute(Provenanced self, ObjectKey a0)
15833 return _IMP_core.Provenanced_remove_attribute(self, *args)
15836 def has_attribute(self, *args):
15838 has_attribute(Provenanced self, FloatKey a0) -> bool
15839 has_attribute(Provenanced self, IntKey a0) -> bool
15840 has_attribute(Provenanced self, FloatsKey a0) -> bool
15841 has_attribute(Provenanced self, IntsKey a0) -> bool
15842 has_attribute(Provenanced self, StringKey a0) -> bool
15843 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15844 has_attribute(Provenanced self, ObjectKey a0) -> bool
15846 return _IMP_core.Provenanced_has_attribute(self, *args)
15849 def get_derivative(self, a0):
15850 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15851 return _IMP_core.Provenanced_get_derivative(self, a0)
15854 def get_name(self):
15855 """get_name(Provenanced self) -> std::string"""
15856 return _IMP_core.Provenanced_get_name(self)
15859 def clear_caches(self):
15860 """clear_caches(Provenanced self)"""
15861 return _IMP_core.Provenanced_clear_caches(self)
15864 def set_name(self, a0):
15865 """set_name(Provenanced self, std::string a0)"""
15866 return _IMP_core.Provenanced_set_name(self, a0)
15870 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15871 return _IMP_core.Provenanced_set_check_level(self, a0)
15874 def add_to_derivative(self, a0, a1, a2):
15875 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15876 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15879 def set_is_optimized(self, a0, a1):
15880 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15881 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15884 def get_is_optimized(self, a0):
15885 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15886 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15890 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15891 return _IMP_core.Provenanced_get_check_level(self)
15894 def __eq__(self, *args):
15896 __eq__(Provenanced self, Provenanced o) -> bool
15897 __eq__(Provenanced self, Particle d) -> bool
15899 return _IMP_core.Provenanced___eq__(self, *args)
15902 def __ne__(self, *args):
15904 __ne__(Provenanced self, Provenanced o) -> bool
15905 __ne__(Provenanced self, Particle d) -> bool
15907 return _IMP_core.Provenanced___ne__(self, *args)
15910 def __le__(self, *args):
15912 __le__(Provenanced self, Provenanced o) -> bool
15913 __le__(Provenanced self, Particle d) -> bool
15915 return _IMP_core.Provenanced___le__(self, *args)
15918 def __lt__(self, *args):
15920 __lt__(Provenanced self, Provenanced o) -> bool
15921 __lt__(Provenanced self, Particle d) -> bool
15923 return _IMP_core.Provenanced___lt__(self, *args)
15926 def __ge__(self, *args):
15928 __ge__(Provenanced self, Provenanced o) -> bool
15929 __ge__(Provenanced self, Particle d) -> bool
15931 return _IMP_core.Provenanced___ge__(self, *args)
15934 def __gt__(self, *args):
15936 __gt__(Provenanced self, Provenanced o) -> bool
15937 __gt__(Provenanced self, Particle d) -> bool
15939 return _IMP_core.Provenanced___gt__(self, *args)
15942 def __hash__(self):
15943 """__hash__(Provenanced self) -> std::size_t"""
15944 return _IMP_core.Provenanced___hash__(self)
15948 """__str__(Provenanced self) -> std::string"""
15949 return _IMP_core.Provenanced___str__(self)
15952 def __repr__(self):
15953 """__repr__(Provenanced self) -> std::string"""
15954 return _IMP_core.Provenanced___repr__(self)
15956 __swig_destroy__ = _IMP_core.delete_Provenanced
15957 __del__ =
lambda self:
None
15958 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15959 Provenanced_swigregister(Provenanced)
15961 def Provenanced_get_is_setup(*args):
15963 get_is_setup(Model m, ParticleIndex pi) -> bool
15964 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15966 return _IMP_core.Provenanced_get_is_setup(*args)
15968 def Provenanced_setup_particle(*args):
15970 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15971 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15973 return _IMP_core.Provenanced_setup_particle(*args)
15977 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15978 return _IMP_core.add_provenance(m, pi, p)
15981 """create_clone(Provenance p) -> Provenance"""
15982 return _IMP_core.create_clone(p)
15986 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15987 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15988 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15990 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15993 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15994 return _IMP_core.create_restraint(ps, pp)
15996 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
15998 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16000 def __init__(self, *args):
16002 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
16003 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
16005 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
16007 self.this.append(this)
16008 except __builtin__.Exception:
16011 def get_version_info(self):
16012 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
16013 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
16017 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
16018 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
16021 def __repr__(self):
16022 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
16023 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
16028 return _object_cast_to_TruncatedHarmonic(o)
16030 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
16031 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
16034 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
16036 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16038 def __init__(self, *args):
16040 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
16041 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
16043 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
16045 self.this.append(this)
16046 except __builtin__.Exception:
16049 def get_version_info(self):
16050 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
16051 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
16055 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
16056 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
16059 def __repr__(self):
16060 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
16061 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
16066 return _object_cast_to_TruncatedHarmonic(o)
16068 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
16069 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
16072 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
16074 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16076 def __init__(self, *args):
16078 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
16079 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
16081 this = _IMP_core.new_TruncatedHarmonicBound(*args)
16083 self.this.append(this)
16084 except __builtin__.Exception:
16087 def get_version_info(self):
16088 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
16089 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
16093 """__str__(TruncatedHarmonicBound self) -> std::string"""
16094 return _IMP_core.TruncatedHarmonicBound___str__(self)
16097 def __repr__(self):
16098 """__repr__(TruncatedHarmonicBound self) -> std::string"""
16099 return _IMP_core.TruncatedHarmonicBound___repr__(self)
16104 return _object_cast_to_TruncatedHarmonic(o)
16106 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
16107 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
16110 """Proxy of C++ IMP::Key<(34897493)> class."""
16112 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16114 def __init__(self, *args):
16116 __init__(IMP::Key<(34897493)> self) -> ParticleType
16117 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
16118 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
16119 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
16121 this = _IMP_core.new_ParticleType(*args)
16123 self.this.append(this)
16124 except __builtin__.Exception:
16128 """add_key(std::string sc) -> unsigned int"""
16129 return _IMP_core.ParticleType_add_key(sc)
16131 add_key = staticmethod(add_key)
16133 def get_key_exists(sc):
16134 """get_key_exists(std::string sc) -> bool"""
16135 return _IMP_core.ParticleType_get_key_exists(sc)
16137 get_key_exists = staticmethod(get_key_exists)
16139 def get_string(self):
16140 """get_string(ParticleType self) -> std::string const"""
16141 return _IMP_core.ParticleType_get_string(self)
16144 def __cmp__(self, o):
16145 """__cmp__(ParticleType self, ParticleType o) -> int"""
16146 return _IMP_core.ParticleType___cmp__(self, o)
16149 def __eq__(self, o):
16150 """__eq__(ParticleType self, ParticleType o) -> bool"""
16151 return _IMP_core.ParticleType___eq__(self, o)
16154 def __ne__(self, o):
16155 """__ne__(ParticleType self, ParticleType o) -> bool"""
16156 return _IMP_core.ParticleType___ne__(self, o)
16159 def __lt__(self, o):
16160 """__lt__(ParticleType self, ParticleType o) -> bool"""
16161 return _IMP_core.ParticleType___lt__(self, o)
16164 def __gt__(self, o):
16165 """__gt__(ParticleType self, ParticleType o) -> bool"""
16166 return _IMP_core.ParticleType___gt__(self, o)
16169 def __ge__(self, o):
16170 """__ge__(ParticleType self, ParticleType o) -> bool"""
16171 return _IMP_core.ParticleType___ge__(self, o)
16174 def __le__(self, o):
16175 """__le__(ParticleType self, ParticleType o) -> bool"""
16176 return _IMP_core.ParticleType___le__(self, o)
16179 def __hash__(self):
16180 """__hash__(ParticleType self) -> std::size_t"""
16181 return _IMP_core.ParticleType___hash__(self)
16184 def show(self, *args):
16186 show(ParticleType self, _ostream out)
16187 show(ParticleType self)
16189 return _IMP_core.ParticleType_show(self, *args)
16192 def add_alias(old_key, new_name):
16193 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16194 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16196 add_alias = staticmethod(add_alias)
16198 def get_number_of_keys():
16199 """get_number_of_keys() -> unsigned int"""
16200 return _IMP_core.ParticleType_get_number_of_keys()
16202 get_number_of_keys = staticmethod(get_number_of_keys)
16205 """get_index(ParticleType self) -> unsigned int"""
16206 return _IMP_core.ParticleType_get_index(self)
16210 """show_all(_ostream out)"""
16211 return _IMP_core.ParticleType_show_all(out)
16213 show_all = staticmethod(show_all)
16215 def get_all_strings():
16216 """get_all_strings() -> IMP::Vector< std::string >"""
16217 return _IMP_core.ParticleType_get_all_strings()
16219 get_all_strings = staticmethod(get_all_strings)
16221 def get_number_unique():
16222 """get_number_unique() -> unsigned int"""
16223 return _IMP_core.ParticleType_get_number_unique()
16225 get_number_unique = staticmethod(get_number_unique)
16228 """__str__(ParticleType self) -> std::string"""
16229 return _IMP_core.ParticleType___str__(self)
16232 def __repr__(self):
16233 """__repr__(ParticleType self) -> std::string"""
16234 return _IMP_core.ParticleType___repr__(self)
16236 __swig_destroy__ = _IMP_core.delete_ParticleType
16237 __del__ =
lambda self:
None
16238 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
16239 ParticleType_swigregister(ParticleType)
16241 def ParticleType_add_key(sc):
16242 """ParticleType_add_key(std::string sc) -> unsigned int"""
16243 return _IMP_core.ParticleType_add_key(sc)
16245 def ParticleType_get_key_exists(sc):
16246 """ParticleType_get_key_exists(std::string sc) -> bool"""
16247 return _IMP_core.ParticleType_get_key_exists(sc)
16249 def ParticleType_add_alias(old_key, new_name):
16250 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16251 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16253 def ParticleType_get_number_of_keys():
16254 """ParticleType_get_number_of_keys() -> unsigned int"""
16255 return _IMP_core.ParticleType_get_number_of_keys()
16257 def ParticleType_show_all(out):
16258 """ParticleType_show_all(_ostream out)"""
16259 return _IMP_core.ParticleType_show_all(out)
16261 def ParticleType_get_all_strings():
16262 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
16263 return _IMP_core.ParticleType_get_all_strings()
16265 def ParticleType_get_number_unique():
16266 """ParticleType_get_number_unique() -> unsigned int"""
16267 return _IMP_core.ParticleType_get_number_unique()
16270 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
16272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16273 __repr__ = _swig_repr
16275 def __init__(self, f, k):
16276 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
16277 this = _IMP_core.new_AttributeSingletonScore(f, k)
16279 self.this.append(this)
16280 except __builtin__.Exception:
16283 def do_get_inputs(self, m, pis):
16284 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16285 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
16288 def get_unary_function(self):
16289 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
16290 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16293 def get_version_info(self):
16294 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16295 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16297 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16298 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16302 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16303 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16305 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
16307 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16308 __repr__ = _swig_repr
16310 def __init__(self, f, bb):
16311 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16312 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16314 self.this.append(this)
16315 except __builtin__.Exception:
16318 def do_get_inputs(self, m, pis):
16319 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16320 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16323 def get_version_info(self):
16324 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16325 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16327 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16328 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16331 def create_bounding_box_3d_singleton_score(f, bb):
16332 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16333 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16335 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class."""
16337 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16338 __repr__ = _swig_repr
16340 def __init__(self, f, sphere):
16341 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16342 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16344 self.this.append(this)
16345 except __builtin__.Exception:
16348 def do_get_inputs(self, m, pis):
16349 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16350 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16353 def get_version_info(self):
16354 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16355 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16357 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16358 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16361 def create_bounding_sphere_3d_singleton_score(f, sphere):
16362 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16363 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16365 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
16367 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16368 __repr__ = _swig_repr
16370 def __init__(self, f, pt):
16371 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16372 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16374 self.this.append(this)
16375 except __builtin__.Exception:
16378 def do_get_inputs(self, m, pis):
16379 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16380 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16383 def get_version_info(self):
16384 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16385 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16387 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16388 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16391 def create_distance_to_singleton_score(f, pt):
16392 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16393 return _IMP_core.create_distance_to_singleton_score(f, pt)
16397 CombineProvenance, FilterProvenance,
16398 ClusterProvenance, ScriptProvenance,
16399 SoftwareProvenance]):
16400 """Yield all provenance decorators of the given types for the particle.
16401 By default, all provenance types are returned. Provenance is returned
16402 in order, most recent first. If the particle has no provenance
16403 information, an empty generator is returned."""
16404 if Provenanced.get_is_setup(p):
16408 if c.get_is_setup(prov):
16410 prov = prov.get_previous()
16413 """Tag the given particle with the current Python script.
16414 This is a noop if the particle is already so tagged."""
16415 main = sys.modules[
'__main__']
16417 if not hasattr(main,
'__file__'):
16421 if prov.get_filename() == f:
16425 provp.set_name(
'script')
16426 prov = ScriptProvenance.setup_particle(provp, f)
16430 """Tag the given particle with the software used to create it.
16431 This is a noop if the particle is already so tagged."""
16433 if prov.get_software_name() == name
and prov.get_version() == version \
16434 and prov.get_location() == location:
16438 provp.set_name(
'software')
16439 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16443 """Tag the given particle as being created by the current version of IMP."""
16446 location=
"https://integrativemodeling.org")
16450 """get_module_version() -> std::string const"""
16451 return _IMP_core.get_module_version()
16454 """get_example_path(std::string fname) -> std::string"""
16455 return _IMP_core.get_example_path(fname)
16458 """get_data_path(std::string fname) -> std::string"""
16459 return _IMP_core.get_data_path(fname)
16461 from .
import _version_check
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
Abstract class for scoring object(s) of type ParticleIndexPair.
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
algebra::Transformation3D get_transformation_aligning_first_to_second(XYZsOrVector3ds a, XYZsOrVector3ds b)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
def add_script_provenance
Tag the given particle with the current Python script.
Abstract predicate function.
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
algebra::ReferenceFrame3D get_initial_reference_frame(Model *m, const ParticleIndexes &pis)
The base class for geometry.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
XYZRs create_xyzr_particles(Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A base class for geometry contained in particles.
const algebra::Vector3D get_vector_geometry(XYZ d)
double get_angle(Direction a, Direction b)
Get angle between directions.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_rigid_body_cache_key(ObjectKey k)
Base class for all samplers.
Key< 34897493 > ParticleType
An IMP::Key object for identifying types of particles by strings.
algebra::Vector3D get_centroid(const XYZs &ps)
Get the centroid.
void add_particle(RMF::FileHandle fh, Particle *hs)
GenericHierarchies get_leaves(Hierarchy mhd)
Get all the leaves of the bit of hierarchy.
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
def add_imp_provenance
Tag the given particle as being created by the current version of IMP.
display::Geometries create_blame_geometries(const RestraintsTemp &rs, const ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
void show_rigid_body_hierarchy(RigidBody rb, TextOutput out=TextOutput(std::cout))
Implement a constraint on the Model.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
def add_software_provenance
Tag the given particle with the software used to create it.
Abstract predicate function.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
int get_number_of_frames(const ::npctransport_proto::Assignment &config, double time_step)
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Base class for all optimizers.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
SurfaceGeometry * create_geometry(const Surface s, std::string name=std::string("SurfaceGeometry%1%"))
Create a geometry from a Surface.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
algebra::BoundingBoxD< 3 > get_bounding_box(const XYZRs &ps)
Get the bounding box.
Version and module information for Objects.
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
std::string get_absolute_path(std::string file)
Convert a possibly relative path to an absolute path.
algebra::Sphere3D get_enclosing_sphere(const XYZs &v)
Get a sphere enclosing the set of XYZRs.
Base class for optimizers that act on individual attributes.
SurfaceGeometry * get_constrained_surface_geometry(const Surface s, std::string name="SurfaceGeometry%1%")
Get surface geometry constrained to the surface.
Abstract predicate function.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Represents a scoring function on the model.
void set_vector_geometry(XYZ d, const algebra::Vector3D &v)
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract predicate function.
Abstract class to implement hierarchical methods.
double get_depth(const Surface &s, const XYZR &d)
Get depth of sphere below surface.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Class to handle individual particles of a Model object.
GenericAttributeSingletonScore< UF > * create_generic_attribute_singleton_score(UF *uf, FloatKey k)
void transform(RigidBody a, const algebra::Transformation3D &tr)
Transform a rigid body.
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
std::string get_module_version()
Return the version of this module, as a string.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
def get_all_provenance
Yield all provenance decorators of the given types for the particle.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
void add_provenance(Model *m, ParticleIndex pi, Provenance p)
Add provenance to part of the model.
Tag part of the system to track how it was created.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Abstract single variable functor class for score functions.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.