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_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_core._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_core._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
305 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
306 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
307 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
308 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
309 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
310 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
311 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
313 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
314 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
315 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
316 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
317 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
318 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
319 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
320 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
322 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
323 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
324 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
325 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
326 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
327 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
328 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
329 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
330 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
332 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class."""
334 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
335 __repr__ = _swig_repr
337 def __init__(self, *args):
339 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
340 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
342 this = _IMP_core.new__OpenCubicSplineBase(*args)
344 self.this.append(this)
345 except __builtin__.Exception:
348 def get_version_info(self):
349 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
350 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
352 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
353 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
356 _object_types.append(
"MonteCarloMover")
359 def _object_cast_to_MonteCarloMover(o):
360 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
361 return _IMP_core._object_cast_to_MonteCarloMover(o)
363 MonteCarloMoverResults=list
364 _plural_types.append(
"MonteCarloMoverResults")
365 _value_types.append(
"MonteCarloMoverResult")
368 _object_types.append(
"AngleRestraint")
371 def _object_cast_to_AngleRestraint(o):
372 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
373 return _IMP_core._object_cast_to_AngleRestraint(o)
375 _object_types.append(
"AngleTripletScore")
378 def _object_cast_to_AngleTripletScore(o):
379 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
380 return _IMP_core._object_cast_to_AngleTripletScore(o)
382 _object_types.append(
"AttributeSingletonScore")
385 def _object_cast_to_AttributeSingletonScore(o):
386 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
387 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
389 _object_types.append(
"BallMover")
392 def _object_cast_to_BallMover(o):
393 """_object_cast_to_BallMover(Object o) -> BallMover"""
394 return _IMP_core._object_cast_to_BallMover(o)
396 _object_types.append(
"SerialMover")
399 def _object_cast_to_SerialMover(o):
400 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
401 return _IMP_core._object_cast_to_SerialMover(o)
403 _object_types.append(
"SubsetMover")
406 def _object_cast_to_SubsetMover(o):
407 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
408 return _IMP_core._object_cast_to_SubsetMover(o)
410 _object_types.append(
"DirectionMover")
413 def _object_cast_to_DirectionMover(o):
414 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
415 return _IMP_core._object_cast_to_DirectionMover(o)
417 _object_types.append(
"SurfaceMover")
420 def _object_cast_to_SurfaceMover(o):
421 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
422 return _IMP_core._object_cast_to_SurfaceMover(o)
424 _object_types.append(
"BoundingBox3DSingletonScore")
427 def _object_cast_to_BoundingBox3DSingletonScore(o):
428 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
429 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
431 _object_types.append(
"BoundingSphere3DSingletonScore")
434 def _object_cast_to_BoundingSphere3DSingletonScore(o):
435 """_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
436 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
438 _object_types.append(
"BoxSweepClosePairsFinder")
441 def _object_cast_to_BoxSweepClosePairsFinder(o):
442 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
443 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
445 _object_types.append(
"NearestNeighborsClosePairsFinder")
448 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
449 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
450 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
452 _object_types.append(
"CentroidOfRefined")
455 def _object_cast_to_CentroidOfRefined(o):
456 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
457 return _IMP_core._object_cast_to_CentroidOfRefined(o)
459 _object_types.append(
"ChecksScoreState")
462 def _object_cast_to_ChecksScoreState(o):
463 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
464 return _IMP_core._object_cast_to_ChecksScoreState(o)
466 _object_types.append(
"ChildrenRefiner")
469 def _object_cast_to_ChildrenRefiner(o):
470 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
471 return _IMP_core._object_cast_to_ChildrenRefiner(o)
473 _object_types.append(
"ClosePairsFinder")
476 def _object_cast_to_ClosePairsFinder(o):
477 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
478 return _IMP_core._object_cast_to_ClosePairsFinder(o)
480 _object_types.append(
"ClosePairsPairScore")
483 def _object_cast_to_ClosePairsPairScore(o):
484 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
485 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
487 _object_types.append(
"ClosedCubicSpline")
490 def _object_cast_to_ClosedCubicSpline(o):
491 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
492 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
494 _object_types.append(
"ConjugateGradients")
497 def _object_cast_to_ConjugateGradients(o):
498 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
499 return _IMP_core._object_cast_to_ConjugateGradients(o)
501 _object_types.append(
"ConnectivityRestraint")
504 def _object_cast_to_ConnectivityRestraint(o):
505 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
506 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
508 _object_types.append(
"ConstantRestraint")
511 def _object_cast_to_ConstantRestraint(o):
512 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
513 return _IMP_core._object_cast_to_ConstantRestraint(o)
515 _object_types.append(
"Cosine")
518 def _object_cast_to_Cosine(o):
519 """_object_cast_to_Cosine(Object o) -> Cosine"""
520 return _IMP_core._object_cast_to_Cosine(o)
522 _object_types.append(
"CoverRefined")
525 def _object_cast_to_CoverRefined(o):
526 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
527 return _IMP_core._object_cast_to_CoverRefined(o)
529 _object_types.append(
"DerivativesFromRefined")
532 def _object_cast_to_DerivativesFromRefined(o):
533 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
534 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
536 _object_types.append(
"DerivativesToRefined")
539 def _object_cast_to_DerivativesToRefined(o):
540 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
541 return _IMP_core._object_cast_to_DerivativesToRefined(o)
543 _object_types.append(
"WeightedDerivativesToRefined")
546 def _object_cast_to_WeightedDerivativesToRefined(o):
547 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
548 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
550 _object_types.append(
"DiameterRestraint")
553 def _object_cast_to_DiameterRestraint(o):
554 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
555 return _IMP_core._object_cast_to_DiameterRestraint(o)
557 _object_types.append(
"DihedralRestraint")
560 def _object_cast_to_DihedralRestraint(o):
561 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
562 return _IMP_core._object_cast_to_DihedralRestraint(o)
564 _object_types.append(
"DistanceRestraint")
567 def _object_cast_to_DistanceRestraint(o):
568 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
569 return _IMP_core._object_cast_to_DistanceRestraint(o)
571 _object_types.append(
"DistanceToSingletonScore")
574 def _object_cast_to_DistanceToSingletonScore(o):
575 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
576 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
578 _object_types.append(
"ExcludedVolumeRestraint")
581 def _object_cast_to_ExcludedVolumeRestraint(o):
582 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
583 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
585 _object_types.append(
"FixedRefiner")
588 def _object_cast_to_FixedRefiner(o):
589 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
590 return _IMP_core._object_cast_to_FixedRefiner(o)
592 _object_types.append(
"GridClosePairsFinder")
595 def _object_cast_to_GridClosePairsFinder(o):
596 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
597 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
599 _object_types.append(
"Harmonic")
602 def _object_cast_to_Harmonic(o):
603 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
604 return _IMP_core._object_cast_to_Harmonic(o)
606 _object_types.append(
"HarmonicWell")
609 def _object_cast_to_HarmonicWell(o):
610 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
611 return _IMP_core._object_cast_to_HarmonicWell(o)
613 _object_types.append(
"HarmonicLowerBound")
616 def _object_cast_to_HarmonicLowerBound(o):
617 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
618 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
620 _object_types.append(
"HarmonicUpperBound")
623 def _object_cast_to_HarmonicUpperBound(o):
624 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
625 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
627 _object_types.append(
"HarmonicSphereDistancePairScore")
630 def _object_cast_to_HarmonicSphereDistancePairScore(o):
631 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
632 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
634 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
637 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
638 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
639 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
641 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
644 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
645 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
646 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
648 _object_types.append(
"HarmonicSurfaceDistancePairScore")
651 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
652 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
653 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
655 _object_types.append(
"HarmonicSurfaceHeightPairScore")
658 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
659 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
660 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
662 _object_types.append(
"HarmonicSurfaceDepthPairScore")
665 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
666 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
667 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
669 _object_types.append(
"WeightedSum")
672 def _object_cast_to_WeightedSum(o):
673 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
674 return _IMP_core._object_cast_to_WeightedSum(o)
676 _object_types.append(
"WeightedSumOfExponential")
679 def _object_cast_to_WeightedSumOfExponential(o):
680 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
681 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
683 _object_types.append(
"IncrementalScoringFunction")
686 def _object_cast_to_IncrementalScoringFunction(o):
687 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
688 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
690 _object_types.append(
"KClosePairsPairScore")
693 def _object_cast_to_KClosePairsPairScore(o):
694 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
695 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
697 _object_types.append(
"LeavesRefiner")
700 def _object_cast_to_LeavesRefiner(o):
701 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
702 return _IMP_core._object_cast_to_LeavesRefiner(o)
704 _object_types.append(
"Linear")
707 def _object_cast_to_Linear(o):
708 """_object_cast_to_Linear(Object o) -> Linear"""
709 return _IMP_core._object_cast_to_Linear(o)
711 _object_types.append(
"LogNormalMover")
714 def _object_cast_to_LogNormalMover(o):
715 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
716 return _IMP_core._object_cast_to_LogNormalMover(o)
718 _object_types.append(
"MCCGSampler")
721 def _object_cast_to_MCCGSampler(o):
722 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
723 return _IMP_core._object_cast_to_MCCGSampler(o)
725 _object_types.append(
"MonteCarlo")
728 def _object_cast_to_MonteCarlo(o):
729 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
730 return _IMP_core._object_cast_to_MonteCarlo(o)
732 _object_types.append(
"MonteCarloWithLocalOptimization")
735 def _object_cast_to_MonteCarloWithLocalOptimization(o):
736 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
737 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
739 _object_types.append(
"MonteCarloWithBasinHopping")
742 def _object_cast_to_MonteCarloWithBasinHopping(o):
743 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
744 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
746 _object_types.append(
"MSConnectivityRestraint")
749 def _object_cast_to_MSConnectivityRestraint(o):
750 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
751 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
753 _object_types.append(
"NeighborsTable")
756 def _object_cast_to_NeighborsTable(o):
757 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
758 return _IMP_core._object_cast_to_NeighborsTable(o)
760 _object_types.append(
"NormalMover")
763 def _object_cast_to_NormalMover(o):
764 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
765 return _IMP_core._object_cast_to_NormalMover(o)
767 _object_types.append(
"NormalizedSphereDistancePairScore")
770 def _object_cast_to_NormalizedSphereDistancePairScore(o):
771 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
772 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
774 _object_types.append(
"OpenCubicSpline")
777 def _object_cast_to_OpenCubicSpline(o):
778 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
779 return _IMP_core._object_cast_to_OpenCubicSpline(o)
781 _object_types.append(
"PairConstraint")
784 def _object_cast_to_PairConstraint(o):
785 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
786 return _IMP_core._object_cast_to_PairConstraint(o)
788 _object_types.append(
"PairRestraint")
791 def _object_cast_to_PairRestraint(o):
792 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
793 return _IMP_core._object_cast_to_PairRestraint(o)
795 _object_types.append(
"QuadConstraint")
798 def _object_cast_to_QuadConstraint(o):
799 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
800 return _IMP_core._object_cast_to_QuadConstraint(o)
802 _object_types.append(
"QuadRestraint")
805 def _object_cast_to_QuadRestraint(o):
806 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
807 return _IMP_core._object_cast_to_QuadRestraint(o)
809 _object_types.append(
"QuadraticClosePairsFinder")
812 def _object_cast_to_QuadraticClosePairsFinder(o):
813 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
814 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
816 _object_types.append(
"RefinedPairsPairScore")
819 def _object_cast_to_RefinedPairsPairScore(o):
820 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
821 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
823 _object_types.append(
"RestraintsScoringFunction")
826 def _object_cast_to_RestraintsScoringFunction(o):
827 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
828 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
830 _object_types.append(
"RigidBodyDistancePairScore")
833 def _object_cast_to_RigidBodyDistancePairScore(o):
834 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
835 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
837 _object_types.append(
"RigidBodyAnglePairScore")
840 def _object_cast_to_RigidBodyAnglePairScore(o):
841 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
842 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
844 _object_types.append(
"RigidBodyMover")
847 def _object_cast_to_RigidBodyMover(o):
848 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
849 return _IMP_core._object_cast_to_RigidBodyMover(o)
851 _object_types.append(
"RigidBodyTunneler")
854 def _object_cast_to_RigidBodyTunneler(o):
855 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
856 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
858 _object_types.append(
"RigidBodyUmbrella")
861 def _object_cast_to_RigidBodyUmbrella(o):
862 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
863 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
865 _object_types.append(
"RigidClosePairsFinder")
868 def _object_cast_to_RigidClosePairsFinder(o):
869 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
870 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
872 _object_types.append(
"RigidMembersRefiner")
875 def _object_cast_to_RigidMembersRefiner(o):
876 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
877 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
879 _object_types.append(
"SingletonConstraint")
882 def _object_cast_to_SingletonConstraint(o):
883 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
884 return _IMP_core._object_cast_to_SingletonConstraint(o)
886 _object_types.append(
"SingletonRestraint")
889 def _object_cast_to_SingletonRestraint(o):
890 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
891 return _IMP_core._object_cast_to_SingletonRestraint(o)
893 _object_types.append(
"SoftSpherePairScore")
896 def _object_cast_to_SoftSpherePairScore(o):
897 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
898 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
900 _object_types.append(
"SphereDistancePairScore")
903 def _object_cast_to_SphereDistancePairScore(o):
904 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
905 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
907 _object_types.append(
"SphereDistanceToSingletonScore")
910 def _object_cast_to_SphereDistanceToSingletonScore(o):
911 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
912 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
914 _object_types.append(
"SoftSubSurfacePairScore")
917 def _object_cast_to_SoftSubSurfacePairScore(o):
918 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
919 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
921 _object_types.append(
"SoftSuperSurfacePairScore")
924 def _object_cast_to_SoftSuperSurfacePairScore(o):
925 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
926 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
928 _object_types.append(
"SurfaceDistancePairScore")
931 def _object_cast_to_SurfaceDistancePairScore(o):
932 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
933 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
935 _object_types.append(
"SurfaceHeightPairScore")
938 def _object_cast_to_SurfaceHeightPairScore(o):
939 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
940 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
942 _object_types.append(
"SurfaceDepthPairScore")
945 def _object_cast_to_SurfaceDepthPairScore(o):
946 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
947 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
949 _object_types.append(
"SurfaceTetheredChain")
952 def _object_cast_to_SurfaceTetheredChain(o):
953 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
954 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
956 _object_types.append(
"SurfaceSymmetryConstraint")
959 def _object_cast_to_SurfaceSymmetryConstraint(o):
960 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
961 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
963 _object_types.append(
"SteepestDescent")
966 def _object_cast_to_SteepestDescent(o):
967 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
968 return _IMP_core._object_cast_to_SteepestDescent(o)
970 _object_types.append(
"TableRefiner")
973 def _object_cast_to_TableRefiner(o):
974 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
975 return _IMP_core._object_cast_to_TableRefiner(o)
977 _object_types.append(
"Transform")
980 def _object_cast_to_Transform(o):
981 """_object_cast_to_Transform(Object o) -> Transform"""
982 return _IMP_core._object_cast_to_Transform(o)
984 _object_types.append(
"TransformationAndReflectionSymmetry")
987 def _object_cast_to_TransformationAndReflectionSymmetry(o):
988 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
989 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
991 _object_types.append(
"TransformationSymmetry")
994 def _object_cast_to_TransformationSymmetry(o):
995 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
996 return _IMP_core._object_cast_to_TransformationSymmetry(o)
998 _object_types.append(
"TransformationSymmetryMover")
1001 def _object_cast_to_TransformationSymmetryMover(o):
1002 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1003 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1005 _object_types.append(
"TransformedDistancePairScore")
1008 def _object_cast_to_TransformedDistancePairScore(o):
1009 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1010 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1012 _object_types.append(
"TripletConstraint")
1015 def _object_cast_to_TripletConstraint(o):
1016 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1017 return _IMP_core._object_cast_to_TripletConstraint(o)
1019 _object_types.append(
"TripletRestraint")
1022 def _object_cast_to_TripletRestraint(o):
1023 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1024 return _IMP_core._object_cast_to_TripletRestraint(o)
1026 _object_types.append(
"TypedPairScore")
1029 def _object_cast_to_TypedPairScore(o):
1030 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1031 return _IMP_core._object_cast_to_TypedPairScore(o)
1033 _object_types.append(
"VolumeRestraint")
1036 def _object_cast_to_VolumeRestraint(o):
1037 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1038 return _IMP_core._object_cast_to_VolumeRestraint(o)
1040 _object_types.append(
"WeightedSphereDistancePairScore")
1043 def _object_cast_to_WeightedSphereDistancePairScore(o):
1044 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1045 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1047 _object_types.append(
"MoveStatisticsScoreState")
1050 def _object_cast_to_MoveStatisticsScoreState(o):
1051 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1052 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1054 _object_types.append(
"MinimumRestraint")
1057 def _object_cast_to_MinimumRestraint(o):
1058 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1059 return _IMP_core._object_cast_to_MinimumRestraint(o)
1061 _object_types.append(
"WriteRestraintScoresOptimizerState")
1064 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1065 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1066 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1068 _object_types.append(
"LateralSurfaceConstraint")
1071 def _object_cast_to_LateralSurfaceConstraint(o):
1072 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1073 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1075 _object_types.append(
"ConstantSingletonPredicate")
1078 def _object_cast_to_ConstantSingletonPredicate(o):
1079 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1080 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1082 _object_types.append(
"ConstantPairPredicate")
1085 def _object_cast_to_ConstantPairPredicate(o):
1086 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1087 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1089 _object_types.append(
"ConstantTripletPredicate")
1092 def _object_cast_to_ConstantTripletPredicate(o):
1093 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1094 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1096 _object_types.append(
"ConstantQuadPredicate")
1099 def _object_cast_to_ConstantQuadPredicate(o):
1100 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1101 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1103 _object_types.append(
"CoinFlipSingletonPredicate")
1106 def _object_cast_to_CoinFlipSingletonPredicate(o):
1107 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1108 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1110 _object_types.append(
"CoinFlipPairPredicate")
1113 def _object_cast_to_CoinFlipPairPredicate(o):
1114 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1115 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1117 _object_types.append(
"CoinFlipTripletPredicate")
1120 def _object_cast_to_CoinFlipTripletPredicate(o):
1121 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1122 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1124 _object_types.append(
"CoinFlipQuadPredicate")
1127 def _object_cast_to_CoinFlipQuadPredicate(o):
1128 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1129 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1131 _object_types.append(
"UnorderedTypeSingletonPredicate")
1134 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1135 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1136 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1138 _object_types.append(
"UnorderedTypePairPredicate")
1141 def _object_cast_to_UnorderedTypePairPredicate(o):
1142 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1143 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1145 _object_types.append(
"UnorderedTypeTripletPredicate")
1148 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1149 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1150 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1152 _object_types.append(
"UnorderedTypeQuadPredicate")
1155 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1156 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1157 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1159 _object_types.append(
"OrderedTypeSingletonPredicate")
1162 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1163 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1164 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1166 _object_types.append(
"OrderedTypePairPredicate")
1169 def _object_cast_to_OrderedTypePairPredicate(o):
1170 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1171 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1173 _object_types.append(
"OrderedTypeTripletPredicate")
1176 def _object_cast_to_OrderedTypeTripletPredicate(o):
1177 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1178 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1180 _object_types.append(
"OrderedTypeQuadPredicate")
1183 def _object_cast_to_OrderedTypeQuadPredicate(o):
1184 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1185 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1187 _object_types.append(
"AllSameSingletonPredicate")
1190 def _object_cast_to_AllSameSingletonPredicate(o):
1191 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1192 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1194 _object_types.append(
"AllSamePairPredicate")
1197 def _object_cast_to_AllSamePairPredicate(o):
1198 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1199 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1201 _object_types.append(
"AllSameTripletPredicate")
1204 def _object_cast_to_AllSameTripletPredicate(o):
1205 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1206 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1208 _object_types.append(
"AllSameQuadPredicate")
1211 def _object_cast_to_AllSameQuadPredicate(o):
1212 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1213 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1216 return [XYZ(x)
for x
in l]
1217 _plural_types.append(
"XYZs")
1220 _value_types.append(
"XYZ")
1224 return [XYZR(x)
for x
in l]
1225 _plural_types.append(
"XYZRs")
1228 _value_types.append(
"XYZR")
1231 def RigidBodies(l=[]):
1232 return [RigidBody(x)
for x
in l]
1233 _plural_types.append(
"RigidBodies")
1236 _value_types.append(
"RigidBody")
1239 def RigidBodyMembers(l=[]):
1240 return [RigidBodyMember(x)
for x
in l]
1241 _plural_types.append(
"RigidBodyMembers")
1244 _value_types.append(
"RigidBodyMember")
1247 def RigidMembers(l=[]):
1248 return [RigidMember(x)
for x
in l]
1249 _plural_types.append(
"RigidMembers")
1252 _value_types.append(
"RigidMember")
1255 def NonRigidMembers(l=[]):
1256 return [NonRigidMember(x)
for x
in l]
1257 _plural_types.append(
"NonRigidMembers")
1260 _value_types.append(
"NonRigidMember")
1263 def Centroids(l=[]):
1264 return [Centroid(x)
for x
in l]
1265 _plural_types.append(
"Centroids")
1268 _value_types.append(
"Centroid")
1272 return [Cover(x)
for x
in l]
1273 _plural_types.append(
"Covers")
1276 _value_types.append(
"Cover")
1279 def References(l=[]):
1280 return [Reference(x)
for x
in l]
1281 _plural_types.append(
"References")
1284 _value_types.append(
"Reference")
1288 _plural_types.append(
"ParticleTypes")
1289 _value_types.append(
"ParticleType")
1293 return [Typed(x)
for x
in l]
1294 _plural_types.append(
"Typeds")
1297 _value_types.append(
"Typed")
1300 def GenericHierarchies(l=[]):
1301 return [Hierarchy(x)
for x
in l]
1302 _plural_types.append(
"GenericHierarchies")
1305 _value_types.append(
"Hierarchy")
1308 def Gaussians(l=[]):
1309 return [Gaussian(x)
for x
in l]
1310 _plural_types.append(
"Gaussians")
1313 _value_types.append(
"Gaussian")
1316 def Directions(l=[]):
1317 return [Direction(x)
for x
in l]
1318 _plural_types.append(
"Directions")
1321 _value_types.append(
"Direction")
1324 def DirectionAngles(l=[]):
1325 return [DirectionAngle(x)
for x
in l]
1326 _plural_types.append(
"DirectionAngles")
1329 _value_types.append(
"DirectionAngle")
1333 return [Surface(x)
for x
in l]
1334 _plural_types.append(
"Surfaces")
1337 _value_types.append(
"Surface")
1340 def Provenances(l=[]):
1341 return [Provenance(x)
for x
in l]
1342 _plural_types.append(
"Provenances")
1345 _value_types.append(
"Provenance")
1348 def StructureProvenances(l=[]):
1349 return [StructureProvenance(x)
for x
in l]
1350 _plural_types.append(
"StructureProvenances")
1353 _value_types.append(
"StructureProvenance")
1356 def SampleProvenances(l=[]):
1357 return [SampleProvenance(x)
for x
in l]
1358 _plural_types.append(
"SampleProvenances")
1361 _value_types.append(
"SampleProvenance")
1364 def ClusterProvenances(l=[]):
1365 return [ClusterProvenance(x)
for x
in l]
1366 _plural_types.append(
"ClusterProvenances")
1369 _value_types.append(
"ClusterProvenance")
1372 def CombineProvenances(l=[]):
1373 return [CombineProvenance(x)
for x
in l]
1374 _plural_types.append(
"CombineProvenances")
1377 _value_types.append(
"CombineProvenance")
1380 def FilterProvenances(l=[]):
1381 return [FilterProvenance(x)
for x
in l]
1382 _plural_types.append(
"FilterProvenances")
1385 _value_types.append(
"FilterProvenance")
1388 def ScriptProvenances(l=[]):
1389 return [ScriptProvenance(x)
for x
in l]
1390 _plural_types.append(
"ScriptProvenances")
1393 _value_types.append(
"ScriptProvenance")
1396 def SoftwareProvenances(l=[]):
1397 return [SoftwareProvenance(x)
for x
in l]
1398 _plural_types.append(
"SoftwareProvenances")
1401 _value_types.append(
"SoftwareProvenance")
1404 def Provenanceds(l=[]):
1405 return [Provenanced(x)
for x
in l]
1406 _plural_types.append(
"Provenanceds")
1409 _value_types.append(
"Provenanced")
1412 HierarchyCounters=list
1413 _plural_types.append(
"HierarchyCounters")
1414 _value_types.append(
"HierarchyCounter")
1417 HierarchyTraitsList=list
1418 _plural_types.append(
"HierarchyTraitsList")
1419 _value_types.append(
"HierarchyTraits")
1422 _object_types.append(
"TruncatedHarmonicBound")
1425 def _object_cast_to_TruncatedHarmonicBound(o):
1426 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1427 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1429 _object_types.append(
"TruncatedHarmonicLowerBound")
1432 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1433 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1434 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1436 _object_types.append(
"TruncatedHarmonicUpperBound")
1439 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1440 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1441 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1443 _object_types.append(
"HarmonicDistancePairScore")
1446 def _object_cast_to_HarmonicDistancePairScore(o):
1447 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1448 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1450 _object_types.append(
"DistancePairScore")
1453 def _object_cast_to_DistancePairScore(o):
1454 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1455 return _IMP_core._object_cast_to_DistancePairScore(o)
1457 _object_types.append(
"XYZRGeometry")
1460 def _object_cast_to_XYZRGeometry(o):
1461 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1462 return _IMP_core._object_cast_to_XYZRGeometry(o)
1464 _object_types.append(
"XYZRsGeometry")
1467 def _object_cast_to_XYZRsGeometry(o):
1468 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1469 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1471 _object_types.append(
"XYZDerivativeGeometry")
1474 def _object_cast_to_XYZDerivativeGeometry(o):
1475 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1476 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1478 _object_types.append(
"XYZDerivativesGeometry")
1481 def _object_cast_to_XYZDerivativesGeometry(o):
1482 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1483 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1485 _object_types.append(
"RigidBodyDerivativeGeometry")
1488 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1489 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1490 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1492 _object_types.append(
"RigidBodyDerivativesGeometry")
1495 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1496 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1497 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1499 _object_types.append(
"RigidBodyHierarchyGeometry")
1502 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1503 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1504 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1506 _object_types.append(
"RigidBodyFrameGeometry")
1509 def _object_cast_to_RigidBodyFrameGeometry(o):
1510 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1511 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1513 _object_types.append(
"RigidBodyFramesGeometry")
1516 def _object_cast_to_RigidBodyFramesGeometry(o):
1517 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1518 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1520 _object_types.append(
"RigidBodyTorque")
1523 def _object_cast_to_RigidBodyTorque(o):
1524 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1525 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1527 _object_types.append(
"EdgePairGeometry")
1530 def _object_cast_to_EdgePairGeometry(o):
1531 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1532 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1534 _object_types.append(
"EdgePairsGeometry")
1537 def _object_cast_to_EdgePairsGeometry(o):
1538 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1539 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1541 _object_types.append(
"SurfaceGeometry")
1544 def _object_cast_to_SurfaceGeometry(o):
1545 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1546 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1548 _object_types.append(
"SurfaceGeometryConstraint")
1551 def _object_cast_to_SurfaceGeometryConstraint(o):
1552 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1553 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1555 _object_types.append(
"AttributeSingletonPredicate")
1558 def _object_cast_to_AttributeSingletonPredicate(o):
1559 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1560 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1562 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1565 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1566 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1567 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1569 _object_types.append(
"IsCollisionPairPredicate")
1572 def _object_cast_to_IsCollisionPairPredicate(o):
1573 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1574 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1576 BinormalTermList=list
1577 _plural_types.append(
"BinormalTermList")
1578 _value_types.append(
"BinormalTerm")
1581 _object_types.append(
"MultipleBinormalRestraint")
1584 def _object_cast_to_MultipleBinormalRestraint(o):
1585 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1586 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1587 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1588 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1592 def __init__(self, *args, **kwargs):
1593 raise AttributeError(
"No constructor defined - class is abstract")
1594 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1595 __del__ =
lambda self:
None
1597 def get_close_pairs(self, *args):
1599 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1600 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1601 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1602 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1604 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1607 def set_distance(self, d):
1608 """set_distance(ClosePairsFinder self, double d)"""
1609 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1613 """get_distance(ClosePairsFinder self) -> double"""
1614 return _IMP_core.ClosePairsFinder_get_distance(self)
1617 def remove_pair_filter(self, d):
1618 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1619 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1622 def remove_pair_filters(self, d):
1623 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1624 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1627 def set_pair_filters(self, ps):
1628 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1629 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1632 def set_pair_filters_order(self, objs):
1633 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1634 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1637 def add_pair_filter(self, obj):
1638 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1639 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1642 def add_pair_filters(self, objs):
1643 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1644 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1647 def clear_pair_filters(self):
1648 """clear_pair_filters(ClosePairsFinder self)"""
1649 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1652 def get_number_of_pair_filters(self):
1653 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1654 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1657 def get_has_pair_filters(self):
1658 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1659 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1662 def get_pair_filter(self, i):
1663 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1664 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1667 def get_pair_filters(self):
1668 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1669 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1672 def reserve_pair_filters(self, sz):
1673 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1674 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1678 """__str__(ClosePairsFinder self) -> std::string"""
1679 return _IMP_core.ClosePairsFinder___str__(self)
1683 """__repr__(ClosePairsFinder self) -> std::string"""
1684 return _IMP_core.ClosePairsFinder___repr__(self)
1689 return _object_cast_to_ClosePairsFinder(o)
1691 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1692 ClosePairsFinder_swigregister(ClosePairsFinder)
1694 class MonteCarloMoverResult(IMP._Value):
1695 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1697 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1699 def __init__(self, *args):
1701 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1702 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1703 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1705 this = _IMP_core.new_MonteCarloMoverResult(*args)
1707 self.this.append(this)
1708 except __builtin__.Exception:
1712 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1713 return _IMP_core.MonteCarloMoverResult___hash__(self)
1716 def show(self, *args):
1718 show(MonteCarloMoverResult self, _ostream out)
1719 show(MonteCarloMoverResult self)
1721 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1724 def __cmp__(self, o):
1725 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1726 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1729 def __eq__(self, o):
1730 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1731 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1734 def __ne__(self, o):
1735 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1736 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1739 def __lt__(self, o):
1740 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1741 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1744 def __gt__(self, o):
1745 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1746 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1749 def __ge__(self, o):
1750 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1751 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1754 def __le__(self, o):
1755 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1756 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1759 def get_moved_particles(self):
1760 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1761 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1764 def set_moved_particles(self, v):
1765 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1766 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1769 def get_proposal_ratio(self):
1770 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1771 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1774 def set_proposal_ratio(self, v):
1775 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1776 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1780 """__str__(MonteCarloMoverResult self) -> std::string"""
1781 return _IMP_core.MonteCarloMoverResult___str__(self)
1785 """__repr__(MonteCarloMoverResult self) -> std::string"""
1786 return _IMP_core.MonteCarloMoverResult___repr__(self)
1788 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1789 __del__ =
lambda self:
None
1790 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1791 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1794 """Proxy of C++ IMP::core::MonteCarloMover class."""
1796 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1798 def __init__(self, m, name):
1799 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1800 if self.__class__ == MonteCarloMover:
1804 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1806 self.this.append(this)
1807 except __builtin__.Exception:
1810 if self.__class__ != MonteCarloMover:
1811 _director_objects.register(self)
1817 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1818 return _IMP_core.MonteCarloMover_propose(self)
1822 """reject(MonteCarloMover self)"""
1823 return _IMP_core.MonteCarloMover_reject(self)
1827 """accept(MonteCarloMover self)"""
1828 return _IMP_core.MonteCarloMover_accept(self)
1831 def get_number_of_proposed(self):
1832 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1833 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1836 def get_number_of_accepted(self):
1837 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1838 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1841 def reset_statistics(self):
1842 """reset_statistics(MonteCarloMover self)"""
1843 return _IMP_core.MonteCarloMover_reset_statistics(self)
1846 def do_propose(self):
1847 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1848 return _IMP_core.MonteCarloMover_do_propose(self)
1851 def do_reject(self):
1852 """do_reject(MonteCarloMover self)"""
1853 return _IMP_core.MonteCarloMover_do_reject(self)
1856 def do_accept(self):
1857 """do_accept(MonteCarloMover self)"""
1858 return _IMP_core.MonteCarloMover_do_accept(self)
1861 def do_get_outputs(self):
1862 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1863 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1867 """__str__(MonteCarloMover self) -> std::string"""
1868 return _IMP_core.MonteCarloMover___str__(self)
1872 """__repr__(MonteCarloMover self) -> std::string"""
1873 return _IMP_core.MonteCarloMover___repr__(self)
1878 return _object_cast_to_MonteCarloMover(o)
1881 def get_type_name(self):
1882 return self.__class__.__name__
1883 def do_show(self, out):
1885 def get_version_info(self):
1886 if"IMP::core" ==
"IMP":
1887 return VersionInfo(self.__module__,
1888 __import__(self.__module__).get_module_version())
1891 __import__(self.__module__).get_module_version())
1894 return _object_cast_to_MonteCarloMover(o)
1896 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1897 __del__ =
lambda self:
None
1898 def __disown__(self):
1900 _IMP_core.disown_MonteCarloMover(self)
1901 return weakref_proxy(self)
1903 def do_destroy(self):
1904 """do_destroy(MonteCarloMover self)"""
1905 return _IMP_core.MonteCarloMover_do_destroy(self)
1908 def handle_set_has_required_score_states(self, arg0):
1909 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1910 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1913 def do_get_inputs(self):
1914 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1915 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1918 def do_get_interactions(self):
1919 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1920 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1922 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1923 MonteCarloMover_swigregister(MonteCarloMover)
1926 """Proxy of C++ IMP::core::XYZ class."""
1928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1930 def get_coordinate_key(i):
1931 """get_coordinate_key(unsigned int i) -> FloatKey"""
1932 return _IMP_core.XYZ_get_coordinate_key(i)
1934 get_coordinate_key = staticmethod(get_coordinate_key)
1936 def __init__(self, *args):
1938 __init__(IMP::core::XYZ self) -> XYZ
1939 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1940 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1942 this = _IMP_core.new_XYZ(*args)
1944 self.this.append(this)
1945 except __builtin__.Exception:
1948 def show(self, *args):
1950 show(XYZ self, _ostream out)
1953 return _IMP_core.XYZ_show(self, *args)
1956 def setup_particle(*args):
1958 setup_particle(Model m, ParticleIndex pi) -> XYZ
1959 setup_particle(_ParticleAdaptor decorator) -> XYZ
1960 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1961 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1963 return _IMP_core.XYZ_setup_particle(*args)
1965 setup_particle = staticmethod(setup_particle)
1968 """get_x(XYZ self) -> IMP::Float"""
1969 return _IMP_core.XYZ_get_x(self)
1973 """set_x(XYZ self, IMP::Float t)"""
1974 return _IMP_core.XYZ_set_x(self, t)
1978 """get_y(XYZ self) -> IMP::Float"""
1979 return _IMP_core.XYZ_get_y(self)
1983 """set_y(XYZ self, IMP::Float t)"""
1984 return _IMP_core.XYZ_set_y(self, t)
1988 """get_z(XYZ self) -> IMP::Float"""
1989 return _IMP_core.XYZ_get_z(self)
1993 """set_z(XYZ self, IMP::Float t)"""
1994 return _IMP_core.XYZ_set_z(self, t)
1997 def set_coordinate(self, i, v):
1998 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1999 return _IMP_core.XYZ_set_coordinate(self, i, v)
2002 def set_coordinates(self, v):
2003 """set_coordinates(XYZ self, Vector3D v)"""
2004 return _IMP_core.XYZ_set_coordinates(self, v)
2007 def get_coordinate(self, i):
2008 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2009 return _IMP_core.XYZ_get_coordinate(self, i)
2012 def add_to_derivatives(self, v, d):
2013 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2014 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2017 def get_coordinates_are_optimized(self):
2018 """get_coordinates_are_optimized(XYZ self) -> bool"""
2019 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2022 def set_coordinates_are_optimized(self, tf):
2023 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2024 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2027 def get_vector_to(self, b):
2028 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2029 return _IMP_core.XYZ_get_vector_to(self, b)
2032 def get_coordinates(self):
2033 """get_coordinates(XYZ self) -> Vector3D"""
2034 return _IMP_core.XYZ_get_coordinates(self)
2037 def get_derivatives(self):
2038 """get_derivatives(XYZ self) -> Vector3D"""
2039 return _IMP_core.XYZ_get_derivatives(self)
2042 def get_is_setup(*args):
2044 get_is_setup(_ParticleAdaptor p) -> bool
2045 get_is_setup(Model m, ParticleIndex pi) -> bool
2047 return _IMP_core.XYZ_get_is_setup(*args)
2049 get_is_setup = staticmethod(get_is_setup)
2052 """get_xyz_keys() -> IMP::FloatKeys const &"""
2053 return _IMP_core.XYZ_get_xyz_keys()
2055 get_xyz_keys = staticmethod(get_xyz_keys)
2057 def add_attribute(self, *args):
2059 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2060 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2061 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2062 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2063 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2064 add_attribute(XYZ self, ObjectKey a0, Object a1)
2066 return _IMP_core.XYZ_add_attribute(self, *args)
2069 def get_value(self, *args):
2071 get_value(XYZ self, FloatKey a0) -> IMP::Float
2072 get_value(XYZ self, IntKey a0) -> IMP::Int
2073 get_value(XYZ self, StringKey a0) -> IMP::String
2074 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2075 get_value(XYZ self, ObjectKey a0) -> Object
2077 return _IMP_core.XYZ_get_value(self, *args)
2080 def set_value(self, *args):
2082 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2083 set_value(XYZ self, IntKey a0, IMP::Int a1)
2084 set_value(XYZ self, StringKey a0, IMP::String a1)
2085 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2086 set_value(XYZ self, ObjectKey a0, Object a1)
2088 return _IMP_core.XYZ_set_value(self, *args)
2091 def remove_attribute(self, *args):
2093 remove_attribute(XYZ self, FloatKey a0)
2094 remove_attribute(XYZ self, IntKey a0)
2095 remove_attribute(XYZ self, StringKey a0)
2096 remove_attribute(XYZ self, ParticleIndexKey a0)
2097 remove_attribute(XYZ self, ObjectKey a0)
2099 return _IMP_core.XYZ_remove_attribute(self, *args)
2102 def has_attribute(self, *args):
2104 has_attribute(XYZ self, FloatKey a0) -> bool
2105 has_attribute(XYZ self, IntKey a0) -> bool
2106 has_attribute(XYZ self, StringKey a0) -> bool
2107 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2108 has_attribute(XYZ self, ObjectKey a0) -> bool
2110 return _IMP_core.XYZ_has_attribute(self, *args)
2113 def get_derivative(self, *args):
2115 get_derivative(XYZ self, int i) -> IMP::Float
2116 get_derivative(XYZ self, FloatKey a0) -> double
2118 return _IMP_core.XYZ_get_derivative(self, *args)
2122 """get_name(XYZ self) -> std::string"""
2123 return _IMP_core.XYZ_get_name(self)
2126 def clear_caches(self):
2127 """clear_caches(XYZ self)"""
2128 return _IMP_core.XYZ_clear_caches(self)
2131 def set_name(self, a0):
2132 """set_name(XYZ self, std::string a0)"""
2133 return _IMP_core.XYZ_set_name(self, a0)
2137 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2138 return _IMP_core.XYZ_set_check_level(self, a0)
2141 def add_to_derivative(self, *args):
2143 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2144 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2146 return _IMP_core.XYZ_add_to_derivative(self, *args)
2149 def set_is_optimized(self, a0, a1):
2150 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2151 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2154 def get_is_optimized(self, a0):
2155 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2156 return _IMP_core.XYZ_get_is_optimized(self, a0)
2160 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2161 return _IMP_core.XYZ_get_check_level(self)
2164 def __eq__(self, *args):
2166 __eq__(XYZ self, XYZ o) -> bool
2167 __eq__(XYZ self, Particle d) -> bool
2169 return _IMP_core.XYZ___eq__(self, *args)
2172 def __ne__(self, *args):
2174 __ne__(XYZ self, XYZ o) -> bool
2175 __ne__(XYZ self, Particle d) -> bool
2177 return _IMP_core.XYZ___ne__(self, *args)
2180 def __le__(self, *args):
2182 __le__(XYZ self, XYZ o) -> bool
2183 __le__(XYZ self, Particle d) -> bool
2185 return _IMP_core.XYZ___le__(self, *args)
2188 def __lt__(self, *args):
2190 __lt__(XYZ self, XYZ o) -> bool
2191 __lt__(XYZ self, Particle d) -> bool
2193 return _IMP_core.XYZ___lt__(self, *args)
2196 def __ge__(self, *args):
2198 __ge__(XYZ self, XYZ o) -> bool
2199 __ge__(XYZ self, Particle d) -> bool
2201 return _IMP_core.XYZ___ge__(self, *args)
2204 def __gt__(self, *args):
2206 __gt__(XYZ self, XYZ o) -> bool
2207 __gt__(XYZ self, Particle d) -> bool
2209 return _IMP_core.XYZ___gt__(self, *args)
2213 """__hash__(XYZ self) -> std::size_t"""
2214 return _IMP_core.XYZ___hash__(self)
2218 """__str__(XYZ self) -> std::string"""
2219 return _IMP_core.XYZ___str__(self)
2223 """__repr__(XYZ self) -> std::string"""
2224 return _IMP_core.XYZ___repr__(self)
2226 __swig_destroy__ = _IMP_core.delete_XYZ
2227 __del__ =
lambda self:
None
2228 XYZ_swigregister = _IMP_core.XYZ_swigregister
2229 XYZ_swigregister(XYZ)
2231 def XYZ_get_coordinate_key(i):
2232 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2233 return _IMP_core.XYZ_get_coordinate_key(i)
2235 def XYZ_setup_particle(*args):
2237 setup_particle(Model m, ParticleIndex pi) -> XYZ
2238 setup_particle(_ParticleAdaptor decorator) -> XYZ
2239 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2240 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2242 return _IMP_core.XYZ_setup_particle(*args)
2244 def XYZ_get_is_setup(*args):
2246 get_is_setup(_ParticleAdaptor p) -> bool
2247 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2249 return _IMP_core.XYZ_get_is_setup(*args)
2251 def XYZ_get_xyz_keys():
2252 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2253 return _IMP_core.XYZ_get_xyz_keys()
2257 """set_vector_geometry(XYZ d, Vector3D v)"""
2258 return _IMP_core.set_vector_geometry(d, v)
2261 """get_vector_geometry(XYZ d) -> Vector3D"""
2262 return _IMP_core.get_vector_geometry(d)
2265 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2266 return _IMP_core.get_dihedral(a, b, c, d)
2268 """Proxy of C++ IMP::core::XYZR class."""
2270 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2272 def __init__(self, *args):
2274 __init__(IMP::core::XYZR self) -> XYZR
2275 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2276 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2278 this = _IMP_core.new_XYZR(*args)
2280 self.this.append(this)
2281 except __builtin__.Exception:
2284 def show(self, *args):
2286 show(XYZR self, _ostream out)
2289 return _IMP_core.XYZR_show(self, *args)
2292 def setup_particle(*args):
2294 setup_particle(Model m, ParticleIndex pi) -> XYZR
2295 setup_particle(_ParticleAdaptor decorator) -> XYZR
2296 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2297 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2298 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2299 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2301 return _IMP_core.XYZR_setup_particle(*args)
2303 setup_particle = staticmethod(setup_particle)
2305 def get_is_setup(*args):
2307 get_is_setup(_ParticleAdaptor p) -> bool
2308 get_is_setup(Model m, ParticleIndex pi) -> bool
2310 return _IMP_core.XYZR_get_is_setup(*args)
2312 get_is_setup = staticmethod(get_is_setup)
2314 def get_radius(self):
2315 """get_radius(XYZR self) -> double"""
2316 return _IMP_core.XYZR_get_radius(self)
2319 def set_radius(self, r):
2320 """set_radius(XYZR self, double r)"""
2321 return _IMP_core.XYZR_set_radius(self, r)
2324 def get_sphere(self):
2325 """get_sphere(XYZR self) -> Sphere3D"""
2326 return _IMP_core.XYZR_get_sphere(self)
2329 def set_sphere(self, s):
2330 """set_sphere(XYZR self, Sphere3D s)"""
2331 return _IMP_core.XYZR_set_sphere(self, s)
2334 def get_radius_key():
2335 """get_radius_key() -> FloatKey"""
2336 return _IMP_core.XYZR_get_radius_key()
2338 get_radius_key = staticmethod(get_radius_key)
2340 def add_to_radius_derivative(self, v, d):
2341 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2342 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2345 def add_attribute(self, *args):
2347 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2348 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2349 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2350 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2351 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2352 add_attribute(XYZR self, ObjectKey a0, Object a1)
2354 return _IMP_core.XYZR_add_attribute(self, *args)
2357 def get_value(self, *args):
2359 get_value(XYZR self, FloatKey a0) -> IMP::Float
2360 get_value(XYZR self, IntKey a0) -> IMP::Int
2361 get_value(XYZR self, StringKey a0) -> IMP::String
2362 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2363 get_value(XYZR self, ObjectKey a0) -> Object
2365 return _IMP_core.XYZR_get_value(self, *args)
2368 def set_value(self, *args):
2370 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2371 set_value(XYZR self, IntKey a0, IMP::Int a1)
2372 set_value(XYZR self, StringKey a0, IMP::String a1)
2373 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2374 set_value(XYZR self, ObjectKey a0, Object a1)
2376 return _IMP_core.XYZR_set_value(self, *args)
2379 def remove_attribute(self, *args):
2381 remove_attribute(XYZR self, FloatKey a0)
2382 remove_attribute(XYZR self, IntKey a0)
2383 remove_attribute(XYZR self, StringKey a0)
2384 remove_attribute(XYZR self, ParticleIndexKey a0)
2385 remove_attribute(XYZR self, ObjectKey a0)
2387 return _IMP_core.XYZR_remove_attribute(self, *args)
2390 def has_attribute(self, *args):
2392 has_attribute(XYZR self, FloatKey a0) -> bool
2393 has_attribute(XYZR self, IntKey a0) -> bool
2394 has_attribute(XYZR self, StringKey a0) -> bool
2395 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2396 has_attribute(XYZR self, ObjectKey a0) -> bool
2398 return _IMP_core.XYZR_has_attribute(self, *args)
2401 def get_derivative(self, a0):
2402 """get_derivative(XYZR self, FloatKey a0) -> double"""
2403 return _IMP_core.XYZR_get_derivative(self, a0)
2407 """get_name(XYZR self) -> std::string"""
2408 return _IMP_core.XYZR_get_name(self)
2411 def clear_caches(self):
2412 """clear_caches(XYZR self)"""
2413 return _IMP_core.XYZR_clear_caches(self)
2416 def set_name(self, a0):
2417 """set_name(XYZR self, std::string a0)"""
2418 return _IMP_core.XYZR_set_name(self, a0)
2422 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2423 return _IMP_core.XYZR_set_check_level(self, a0)
2426 def add_to_derivative(self, a0, a1, a2):
2427 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2428 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2431 def set_is_optimized(self, a0, a1):
2432 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2433 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2436 def get_is_optimized(self, a0):
2437 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2438 return _IMP_core.XYZR_get_is_optimized(self, a0)
2442 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2443 return _IMP_core.XYZR_get_check_level(self)
2446 def __eq__(self, *args):
2448 __eq__(XYZR self, XYZR o) -> bool
2449 __eq__(XYZR self, Particle d) -> bool
2451 return _IMP_core.XYZR___eq__(self, *args)
2454 def __ne__(self, *args):
2456 __ne__(XYZR self, XYZR o) -> bool
2457 __ne__(XYZR self, Particle d) -> bool
2459 return _IMP_core.XYZR___ne__(self, *args)
2462 def __le__(self, *args):
2464 __le__(XYZR self, XYZR o) -> bool
2465 __le__(XYZR self, Particle d) -> bool
2467 return _IMP_core.XYZR___le__(self, *args)
2470 def __lt__(self, *args):
2472 __lt__(XYZR self, XYZR o) -> bool
2473 __lt__(XYZR self, Particle d) -> bool
2475 return _IMP_core.XYZR___lt__(self, *args)
2478 def __ge__(self, *args):
2480 __ge__(XYZR self, XYZR o) -> bool
2481 __ge__(XYZR self, Particle d) -> bool
2483 return _IMP_core.XYZR___ge__(self, *args)
2486 def __gt__(self, *args):
2488 __gt__(XYZR self, XYZR o) -> bool
2489 __gt__(XYZR self, Particle d) -> bool
2491 return _IMP_core.XYZR___gt__(self, *args)
2495 """__hash__(XYZR self) -> std::size_t"""
2496 return _IMP_core.XYZR___hash__(self)
2500 """__str__(XYZR self) -> std::string"""
2501 return _IMP_core.XYZR___str__(self)
2505 """__repr__(XYZR self) -> std::string"""
2506 return _IMP_core.XYZR___repr__(self)
2508 __swig_destroy__ = _IMP_core.delete_XYZR
2509 __del__ =
lambda self:
None
2510 XYZR_swigregister = _IMP_core.XYZR_swigregister
2511 XYZR_swigregister(XYZR)
2513 def XYZR_setup_particle(*args):
2515 setup_particle(Model m, ParticleIndex pi) -> XYZR
2516 setup_particle(_ParticleAdaptor decorator) -> XYZR
2517 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2518 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2519 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2520 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2522 return _IMP_core.XYZR_setup_particle(*args)
2524 def XYZR_get_is_setup(*args):
2526 get_is_setup(_ParticleAdaptor p) -> bool
2527 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2529 return _IMP_core.XYZR_get_is_setup(*args)
2531 def XYZR_get_radius_key():
2532 """XYZR_get_radius_key() -> FloatKey"""
2533 return _IMP_core.XYZR_get_radius_key()
2538 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2539 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2541 return _IMP_core.set_enclosing_sphere(b, v, slack)
2544 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2545 return _IMP_core.set_enclosing_radius(b, v)
2548 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2549 return _IMP_core.get_enclosing_sphere(v)
2553 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2554 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2556 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2558 """Proxy of C++ IMP::core::XYZRGeometry class."""
2560 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2562 def __init__(self, *args):
2564 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2565 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2567 this = _IMP_core.new_XYZRGeometry(*args)
2569 self.this.append(this)
2570 except __builtin__.Exception:
2573 def get_version_info(self):
2574 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2575 return _IMP_core.XYZRGeometry_get_version_info(self)
2579 """__str__(XYZRGeometry self) -> std::string"""
2580 return _IMP_core.XYZRGeometry___str__(self)
2584 """__repr__(XYZRGeometry self) -> std::string"""
2585 return _IMP_core.XYZRGeometry___repr__(self)
2590 return _object_cast_to_XYZRGeometry(o)
2592 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2593 XYZRGeometry_swigregister(XYZRGeometry)
2596 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2598 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2600 def __init__(self, sc):
2601 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2602 this = _IMP_core.new_XYZRsGeometry(sc)
2604 self.this.append(this)
2605 except __builtin__.Exception:
2608 def get_version_info(self):
2609 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2610 return _IMP_core.XYZRsGeometry_get_version_info(self)
2614 """__str__(XYZRsGeometry self) -> std::string"""
2615 return _IMP_core.XYZRsGeometry___str__(self)
2619 """__repr__(XYZRsGeometry self) -> std::string"""
2620 return _IMP_core.XYZRsGeometry___repr__(self)
2625 return _object_cast_to_XYZRsGeometry(o)
2627 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2628 XYZRsGeometry_swigregister(XYZRsGeometry)
2631 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2635 def __init__(self, *args):
2637 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2638 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2640 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2642 self.this.append(this)
2643 except __builtin__.Exception:
2646 def get_version_info(self):
2647 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2648 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2652 """__str__(XYZDerivativeGeometry self) -> std::string"""
2653 return _IMP_core.XYZDerivativeGeometry___str__(self)
2657 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2658 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2663 return _object_cast_to_XYZDerivativeGeometry(o)
2665 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2666 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2669 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2671 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2673 def __init__(self, sc):
2674 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2675 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2677 self.this.append(this)
2678 except __builtin__.Exception:
2681 def get_version_info(self):
2682 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2683 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2687 """__str__(XYZDerivativesGeometry self) -> std::string"""
2688 return _IMP_core.XYZDerivativesGeometry___str__(self)
2692 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2693 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2698 return _object_cast_to_XYZDerivativesGeometry(o)
2700 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2701 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2704 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2706 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2708 def __init__(self, pp):
2709 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2710 this = _IMP_core.new_EdgePairGeometry(pp)
2712 self.this.append(this)
2713 except __builtin__.Exception:
2716 def get_version_info(self):
2717 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2718 return _IMP_core.EdgePairGeometry_get_version_info(self)
2722 """__str__(EdgePairGeometry self) -> std::string"""
2723 return _IMP_core.EdgePairGeometry___str__(self)
2727 """__repr__(EdgePairGeometry self) -> std::string"""
2728 return _IMP_core.EdgePairGeometry___repr__(self)
2733 return _object_cast_to_EdgePairGeometry(o)
2735 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2736 EdgePairGeometry_swigregister(EdgePairGeometry)
2739 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2741 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2743 def __init__(self, sc):
2744 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2745 this = _IMP_core.new_EdgePairsGeometry(sc)
2747 self.this.append(this)
2748 except __builtin__.Exception:
2751 def get_version_info(self):
2752 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2753 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2757 """__str__(EdgePairsGeometry self) -> std::string"""
2758 return _IMP_core.EdgePairsGeometry___str__(self)
2762 """__repr__(EdgePairsGeometry self) -> std::string"""
2763 return _IMP_core.EdgePairsGeometry___repr__(self)
2768 return _object_cast_to_EdgePairsGeometry(o)
2770 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2771 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2774 """Proxy of C++ IMP::core::Direction class."""
2776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2778 def do_setup_particle(m, pi, v):
2779 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2780 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2782 do_setup_particle = staticmethod(do_setup_particle)
2784 def __init__(self, *args):
2786 __init__(IMP::core::Direction self) -> Direction
2787 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2788 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2790 this = _IMP_core.new_Direction(*args)
2792 self.this.append(this)
2793 except __builtin__.Exception:
2796 def show(self, *args):
2798 show(Direction self, _ostream out)
2799 show(Direction self)
2801 return _IMP_core.Direction_show(self, *args)
2804 def setup_particle(*args):
2806 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2807 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2809 return _IMP_core.Direction_setup_particle(*args)
2811 setup_particle = staticmethod(setup_particle)
2813 def get_is_setup(*args):
2815 get_is_setup(_ParticleAdaptor p) -> bool
2816 get_is_setup(Model m, ParticleIndex pi) -> bool
2818 return _IMP_core.Direction_get_is_setup(*args)
2820 get_is_setup = staticmethod(get_is_setup)
2822 def get_direction_key(i):
2823 """get_direction_key(unsigned int i) -> FloatKey"""
2824 return _IMP_core.Direction_get_direction_key(i)
2826 get_direction_key = staticmethod(get_direction_key)
2828 def get_direction_derivative(self, i):
2829 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2830 return _IMP_core.Direction_get_direction_derivative(self, i)
2833 def get_direction_derivatives(self):
2834 """get_direction_derivatives(Direction self) -> Vector3D"""
2835 return _IMP_core.Direction_get_direction_derivatives(self)
2838 def add_to_direction_derivative(self, i, v, d):
2839 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2840 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2843 def add_to_direction_derivatives(self, v, d):
2844 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2845 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2848 def get_direction_is_optimized(self):
2849 """get_direction_is_optimized(Direction self) -> bool"""
2850 return _IMP_core.Direction_get_direction_is_optimized(self)
2853 def set_direction_is_optimized(self, tf):
2854 """set_direction_is_optimized(Direction self, bool tf)"""
2855 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2858 def get_direction(self):
2859 """get_direction(Direction self) -> Vector3D"""
2860 return _IMP_core.Direction_get_direction(self)
2863 def set_direction(self, v):
2864 """set_direction(Direction self, Vector3D v)"""
2865 return _IMP_core.Direction_set_direction(self, v)
2869 """reflect(Direction self)"""
2870 return _IMP_core.Direction_reflect(self)
2873 def add_attribute(self, *args):
2875 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
2876 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
2877 add_attribute(Direction self, IntKey a0, IMP::Int a1)
2878 add_attribute(Direction self, StringKey a0, IMP::String a1)
2879 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
2880 add_attribute(Direction self, ObjectKey a0, Object a1)
2882 return _IMP_core.Direction_add_attribute(self, *args)
2885 def get_value(self, *args):
2887 get_value(Direction self, FloatKey a0) -> IMP::Float
2888 get_value(Direction self, IntKey a0) -> IMP::Int
2889 get_value(Direction self, StringKey a0) -> IMP::String
2890 get_value(Direction self, ParticleIndexKey a0) -> Particle
2891 get_value(Direction self, ObjectKey a0) -> Object
2893 return _IMP_core.Direction_get_value(self, *args)
2896 def set_value(self, *args):
2898 set_value(Direction self, FloatKey a0, IMP::Float a1)
2899 set_value(Direction self, IntKey a0, IMP::Int a1)
2900 set_value(Direction self, StringKey a0, IMP::String a1)
2901 set_value(Direction self, ParticleIndexKey a0, Particle a1)
2902 set_value(Direction self, ObjectKey a0, Object a1)
2904 return _IMP_core.Direction_set_value(self, *args)
2907 def remove_attribute(self, *args):
2909 remove_attribute(Direction self, FloatKey a0)
2910 remove_attribute(Direction self, IntKey a0)
2911 remove_attribute(Direction self, StringKey a0)
2912 remove_attribute(Direction self, ParticleIndexKey a0)
2913 remove_attribute(Direction self, ObjectKey a0)
2915 return _IMP_core.Direction_remove_attribute(self, *args)
2918 def has_attribute(self, *args):
2920 has_attribute(Direction self, FloatKey a0) -> bool
2921 has_attribute(Direction self, IntKey a0) -> bool
2922 has_attribute(Direction self, StringKey a0) -> bool
2923 has_attribute(Direction self, ParticleIndexKey a0) -> bool
2924 has_attribute(Direction self, ObjectKey a0) -> bool
2926 return _IMP_core.Direction_has_attribute(self, *args)
2929 def get_derivative(self, a0):
2930 """get_derivative(Direction self, FloatKey a0) -> double"""
2931 return _IMP_core.Direction_get_derivative(self, a0)
2935 """get_name(Direction self) -> std::string"""
2936 return _IMP_core.Direction_get_name(self)
2939 def clear_caches(self):
2940 """clear_caches(Direction self)"""
2941 return _IMP_core.Direction_clear_caches(self)
2944 def set_name(self, a0):
2945 """set_name(Direction self, std::string a0)"""
2946 return _IMP_core.Direction_set_name(self, a0)
2950 """set_check_level(Direction self, IMP::CheckLevel a0)"""
2951 return _IMP_core.Direction_set_check_level(self, a0)
2954 def add_to_derivative(self, a0, a1, a2):
2955 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2956 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
2959 def set_is_optimized(self, a0, a1):
2960 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
2961 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
2964 def get_is_optimized(self, a0):
2965 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
2966 return _IMP_core.Direction_get_is_optimized(self, a0)
2970 """get_check_level(Direction self) -> IMP::CheckLevel"""
2971 return _IMP_core.Direction_get_check_level(self)
2974 def __eq__(self, *args):
2976 __eq__(Direction self, Direction o) -> bool
2977 __eq__(Direction self, Particle d) -> bool
2979 return _IMP_core.Direction___eq__(self, *args)
2982 def __ne__(self, *args):
2984 __ne__(Direction self, Direction o) -> bool
2985 __ne__(Direction self, Particle d) -> bool
2987 return _IMP_core.Direction___ne__(self, *args)
2990 def __le__(self, *args):
2992 __le__(Direction self, Direction o) -> bool
2993 __le__(Direction self, Particle d) -> bool
2995 return _IMP_core.Direction___le__(self, *args)
2998 def __lt__(self, *args):
3000 __lt__(Direction self, Direction o) -> bool
3001 __lt__(Direction self, Particle d) -> bool
3003 return _IMP_core.Direction___lt__(self, *args)
3006 def __ge__(self, *args):
3008 __ge__(Direction self, Direction o) -> bool
3009 __ge__(Direction self, Particle d) -> bool
3011 return _IMP_core.Direction___ge__(self, *args)
3014 def __gt__(self, *args):
3016 __gt__(Direction self, Direction o) -> bool
3017 __gt__(Direction self, Particle d) -> bool
3019 return _IMP_core.Direction___gt__(self, *args)
3023 """__hash__(Direction self) -> std::size_t"""
3024 return _IMP_core.Direction___hash__(self)
3028 """__str__(Direction self) -> std::string"""
3029 return _IMP_core.Direction___str__(self)
3033 """__repr__(Direction self) -> std::string"""
3034 return _IMP_core.Direction___repr__(self)
3036 __swig_destroy__ = _IMP_core.delete_Direction
3037 __del__ =
lambda self:
None
3038 Direction_swigregister = _IMP_core.Direction_swigregister
3039 Direction_swigregister(Direction)
3041 def Direction_do_setup_particle(m, pi, v):
3042 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3043 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3045 def Direction_setup_particle(*args):
3047 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3048 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3050 return _IMP_core.Direction_setup_particle(*args)
3052 def Direction_get_is_setup(*args):
3054 get_is_setup(_ParticleAdaptor p) -> bool
3055 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3057 return _IMP_core.Direction_get_is_setup(*args)
3059 def Direction_get_direction_key(i):
3060 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3061 return _IMP_core.Direction_get_direction_key(i)
3065 """get_angle(Direction a, Direction b) -> double"""
3066 return _IMP_core.get_angle(a, b)
3068 """Proxy of C++ IMP::core::DirectionAngle class."""
3070 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3072 def __init__(self, *args):
3074 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3075 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3076 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3078 this = _IMP_core.new_DirectionAngle(*args)
3080 self.this.append(this)
3081 except __builtin__.Exception:
3084 def show(self, *args):
3086 show(DirectionAngle self, _ostream out)
3087 show(DirectionAngle self)
3089 return _IMP_core.DirectionAngle_show(self, *args)
3092 def setup_particle(*args):
3094 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3095 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3096 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3097 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3099 return _IMP_core.DirectionAngle_setup_particle(*args)
3101 setup_particle = staticmethod(setup_particle)
3103 def get_is_setup(*args):
3105 get_is_setup(_ParticleAdaptor p) -> bool
3106 get_is_setup(Model m, ParticleIndex pi) -> bool
3108 return _IMP_core.DirectionAngle_get_is_setup(*args)
3110 get_is_setup = staticmethod(get_is_setup)
3112 def get_angle_key():
3113 """get_angle_key() -> FloatKey"""
3114 return _IMP_core.DirectionAngle_get_angle_key()
3116 get_angle_key = staticmethod(get_angle_key)
3118 def get_particle_key(i):
3119 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3120 return _IMP_core.DirectionAngle_get_particle_key(i)
3122 get_particle_key = staticmethod(get_particle_key)
3124 def get_particle(self, *args):
3126 get_particle(DirectionAngle self, unsigned int i) -> Particle
3127 get_particle(DirectionAngle self) -> Particle
3129 return _IMP_core.DirectionAngle_get_particle(self, *args)
3132 def get_particle_index(self, *args):
3134 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3135 get_particle_index(DirectionAngle self) -> ParticleIndex
3137 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3141 """get_angle(DirectionAngle self) -> IMP::Float"""
3142 return _IMP_core.DirectionAngle_get_angle(self)
3145 def get_angle_derivative(self):
3146 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3147 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3150 def add_to_angle_derivative(self, v, d):
3151 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3152 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3155 def add_attribute(self, *args):
3157 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3158 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3159 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3160 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3161 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3162 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3164 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3167 def get_value(self, *args):
3169 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3170 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3171 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3172 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3173 get_value(DirectionAngle self, ObjectKey a0) -> Object
3175 return _IMP_core.DirectionAngle_get_value(self, *args)
3178 def set_value(self, *args):
3180 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3181 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3182 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3183 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3184 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3186 return _IMP_core.DirectionAngle_set_value(self, *args)
3189 def remove_attribute(self, *args):
3191 remove_attribute(DirectionAngle self, FloatKey a0)
3192 remove_attribute(DirectionAngle self, IntKey a0)
3193 remove_attribute(DirectionAngle self, StringKey a0)
3194 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3195 remove_attribute(DirectionAngle self, ObjectKey a0)
3197 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3200 def has_attribute(self, *args):
3202 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3203 has_attribute(DirectionAngle self, IntKey a0) -> bool
3204 has_attribute(DirectionAngle self, StringKey a0) -> bool
3205 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3206 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3208 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3211 def get_derivative(self, a0):
3212 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3213 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3217 """get_name(DirectionAngle self) -> std::string"""
3218 return _IMP_core.DirectionAngle_get_name(self)
3221 def clear_caches(self):
3222 """clear_caches(DirectionAngle self)"""
3223 return _IMP_core.DirectionAngle_clear_caches(self)
3226 def set_name(self, a0):
3227 """set_name(DirectionAngle self, std::string a0)"""
3228 return _IMP_core.DirectionAngle_set_name(self, a0)
3232 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3233 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3236 def add_to_derivative(self, a0, a1, a2):
3237 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3238 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3241 def set_is_optimized(self, a0, a1):
3242 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3243 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3246 def get_is_optimized(self, a0):
3247 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3248 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3252 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3253 return _IMP_core.DirectionAngle_get_check_level(self)
3256 def __eq__(self, *args):
3258 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3259 __eq__(DirectionAngle self, Particle d) -> bool
3261 return _IMP_core.DirectionAngle___eq__(self, *args)
3264 def __ne__(self, *args):
3266 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3267 __ne__(DirectionAngle self, Particle d) -> bool
3269 return _IMP_core.DirectionAngle___ne__(self, *args)
3272 def __le__(self, *args):
3274 __le__(DirectionAngle self, DirectionAngle o) -> bool
3275 __le__(DirectionAngle self, Particle d) -> bool
3277 return _IMP_core.DirectionAngle___le__(self, *args)
3280 def __lt__(self, *args):
3282 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3283 __lt__(DirectionAngle self, Particle d) -> bool
3285 return _IMP_core.DirectionAngle___lt__(self, *args)
3288 def __ge__(self, *args):
3290 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3291 __ge__(DirectionAngle self, Particle d) -> bool
3293 return _IMP_core.DirectionAngle___ge__(self, *args)
3296 def __gt__(self, *args):
3298 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3299 __gt__(DirectionAngle self, Particle d) -> bool
3301 return _IMP_core.DirectionAngle___gt__(self, *args)
3305 """__hash__(DirectionAngle self) -> std::size_t"""
3306 return _IMP_core.DirectionAngle___hash__(self)
3310 """__str__(DirectionAngle self) -> std::string"""
3311 return _IMP_core.DirectionAngle___str__(self)
3315 """__repr__(DirectionAngle self) -> std::string"""
3316 return _IMP_core.DirectionAngle___repr__(self)
3318 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3319 __del__ =
lambda self:
None
3320 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3321 DirectionAngle_swigregister(DirectionAngle)
3323 def DirectionAngle_setup_particle(*args):
3325 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3326 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3327 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3328 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3330 return _IMP_core.DirectionAngle_setup_particle(*args)
3332 def DirectionAngle_get_is_setup(*args):
3334 get_is_setup(_ParticleAdaptor p) -> bool
3335 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3337 return _IMP_core.DirectionAngle_get_is_setup(*args)
3339 def DirectionAngle_get_angle_key():
3340 """DirectionAngle_get_angle_key() -> FloatKey"""
3341 return _IMP_core.DirectionAngle_get_angle_key()
3343 def DirectionAngle_get_particle_key(i):
3344 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3345 return _IMP_core.DirectionAngle_get_particle_key(i)
3348 """Proxy of C++ IMP::core::Surface class."""
3350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3352 def do_setup_particle(*args):
3354 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3355 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3356 do_setup_particle(Model m, ParticleIndex pi)
3357 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3359 return _IMP_core.Surface_do_setup_particle(*args)
3361 do_setup_particle = staticmethod(do_setup_particle)
3363 def __init__(self, *args):
3365 __init__(IMP::core::Surface self) -> Surface
3366 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3367 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3369 this = _IMP_core.new_Surface(*args)
3371 self.this.append(this)
3372 except __builtin__.Exception:
3375 def show(self, *args):
3377 show(Surface self, _ostream out)
3380 return _IMP_core.Surface_show(self, *args)
3383 def setup_particle(*args):
3385 setup_particle(Model m, ParticleIndex pi) -> Surface
3386 setup_particle(_ParticleAdaptor decorator) -> Surface
3387 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3388 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3389 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3390 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3391 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3392 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3394 return _IMP_core.Surface_setup_particle(*args)
3396 setup_particle = staticmethod(setup_particle)
3398 def get_normal_x(self):
3399 """get_normal_x(Surface self) -> IMP::Float"""
3400 return _IMP_core.Surface_get_normal_x(self)
3403 def set_normal_x(self, t):
3404 """set_normal_x(Surface self, IMP::Float t)"""
3405 return _IMP_core.Surface_set_normal_x(self, t)
3408 def get_normal_y(self):
3409 """get_normal_y(Surface self) -> IMP::Float"""
3410 return _IMP_core.Surface_get_normal_y(self)
3413 def set_normal_y(self, t):
3414 """set_normal_y(Surface self, IMP::Float t)"""
3415 return _IMP_core.Surface_set_normal_y(self, t)
3418 def get_normal_z(self):
3419 """get_normal_z(Surface self) -> IMP::Float"""
3420 return _IMP_core.Surface_get_normal_z(self)
3423 def set_normal_z(self, t):
3424 """set_normal_z(Surface self, IMP::Float t)"""
3425 return _IMP_core.Surface_set_normal_z(self, t)
3428 def get_is_setup(*args):
3430 get_is_setup(_ParticleAdaptor p) -> bool
3431 get_is_setup(Model m, ParticleIndex pi) -> bool
3433 return _IMP_core.Surface_get_is_setup(*args)
3435 get_is_setup = staticmethod(get_is_setup)
3437 def get_normal_key(i):
3438 """get_normal_key(unsigned int i) -> FloatKey"""
3439 return _IMP_core.Surface_get_normal_key(i)
3441 get_normal_key = staticmethod(get_normal_key)
3443 def get_normal_derivative(self, i):
3444 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3445 return _IMP_core.Surface_get_normal_derivative(self, i)
3448 def get_normal_derivatives(self):
3449 """get_normal_derivatives(Surface self) -> Vector3D"""
3450 return _IMP_core.Surface_get_normal_derivatives(self)
3453 def add_to_normal_derivative(self, i, v, d):
3454 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3455 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3458 def add_to_normal_derivatives(self, v, d):
3459 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3460 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3463 def get_normal_is_optimized(self):
3464 """get_normal_is_optimized(Surface self) -> bool"""
3465 return _IMP_core.Surface_get_normal_is_optimized(self)
3468 def set_normal_is_optimized(self, tf):
3469 """set_normal_is_optimized(Surface self, bool tf)"""
3470 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3473 def get_normal(self):
3474 """get_normal(Surface self) -> Vector3D"""
3475 return _IMP_core.Surface_get_normal(self)
3478 def set_normal(self, normal):
3479 """set_normal(Surface self, Vector3D normal)"""
3480 return _IMP_core.Surface_set_normal(self, normal)
3484 """reflect(Surface self)"""
3485 return _IMP_core.Surface_reflect(self)
3489 """get_height(Surface self, Vector3D v) -> double"""
3490 return _IMP_core.Surface_get_height(self, v)
3494 """get_depth(Surface self, Vector3D v) -> double"""
3495 return _IMP_core.Surface_get_depth(self, v)
3498 def get_distance_to(self, v):
3499 """get_distance_to(Surface self, Vector3D v) -> double"""
3500 return _IMP_core.Surface_get_distance_to(self, v)
3503 def get_distance_to_center(self, v):
3504 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3505 return _IMP_core.Surface_get_distance_to_center(self, v)
3508 def set_reference_frame(self, rf):
3509 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3510 return _IMP_core.Surface_set_reference_frame(self, rf)
3513 def get_reference_frame(self):
3514 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3515 return _IMP_core.Surface_get_reference_frame(self)
3518 def get_plane(self):
3519 """get_plane(Surface self) -> Plane3D"""
3520 return _IMP_core.Surface_get_plane(self)
3523 def add_attribute(self, *args):
3525 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3526 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3527 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3528 add_attribute(Surface self, StringKey a0, IMP::String a1)
3529 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3530 add_attribute(Surface self, ObjectKey a0, Object a1)
3532 return _IMP_core.Surface_add_attribute(self, *args)
3535 def get_value(self, *args):
3537 get_value(Surface self, FloatKey a0) -> IMP::Float
3538 get_value(Surface self, IntKey a0) -> IMP::Int
3539 get_value(Surface self, StringKey a0) -> IMP::String
3540 get_value(Surface self, ParticleIndexKey a0) -> Particle
3541 get_value(Surface self, ObjectKey a0) -> Object
3543 return _IMP_core.Surface_get_value(self, *args)
3546 def set_value(self, *args):
3548 set_value(Surface self, FloatKey a0, IMP::Float a1)
3549 set_value(Surface self, IntKey a0, IMP::Int a1)
3550 set_value(Surface self, StringKey a0, IMP::String a1)
3551 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3552 set_value(Surface self, ObjectKey a0, Object a1)
3554 return _IMP_core.Surface_set_value(self, *args)
3557 def remove_attribute(self, *args):
3559 remove_attribute(Surface self, FloatKey a0)
3560 remove_attribute(Surface self, IntKey a0)
3561 remove_attribute(Surface self, StringKey a0)
3562 remove_attribute(Surface self, ParticleIndexKey a0)
3563 remove_attribute(Surface self, ObjectKey a0)
3565 return _IMP_core.Surface_remove_attribute(self, *args)
3568 def has_attribute(self, *args):
3570 has_attribute(Surface self, FloatKey a0) -> bool
3571 has_attribute(Surface self, IntKey a0) -> bool
3572 has_attribute(Surface self, StringKey a0) -> bool
3573 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3574 has_attribute(Surface self, ObjectKey a0) -> bool
3576 return _IMP_core.Surface_has_attribute(self, *args)
3579 def get_derivative(self, a0):
3580 """get_derivative(Surface self, FloatKey a0) -> double"""
3581 return _IMP_core.Surface_get_derivative(self, a0)
3585 """get_name(Surface self) -> std::string"""
3586 return _IMP_core.Surface_get_name(self)
3589 def clear_caches(self):
3590 """clear_caches(Surface self)"""
3591 return _IMP_core.Surface_clear_caches(self)
3594 def set_name(self, a0):
3595 """set_name(Surface self, std::string a0)"""
3596 return _IMP_core.Surface_set_name(self, a0)
3600 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3601 return _IMP_core.Surface_set_check_level(self, a0)
3604 def add_to_derivative(self, a0, a1, a2):
3605 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3606 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3609 def set_is_optimized(self, a0, a1):
3610 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3611 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3614 def get_is_optimized(self, a0):
3615 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3616 return _IMP_core.Surface_get_is_optimized(self, a0)
3620 """get_check_level(Surface self) -> IMP::CheckLevel"""
3621 return _IMP_core.Surface_get_check_level(self)
3624 def __eq__(self, *args):
3626 __eq__(Surface self, Surface o) -> bool
3627 __eq__(Surface self, Particle d) -> bool
3629 return _IMP_core.Surface___eq__(self, *args)
3632 def __ne__(self, *args):
3634 __ne__(Surface self, Surface o) -> bool
3635 __ne__(Surface self, Particle d) -> bool
3637 return _IMP_core.Surface___ne__(self, *args)
3640 def __le__(self, *args):
3642 __le__(Surface self, Surface o) -> bool
3643 __le__(Surface self, Particle d) -> bool
3645 return _IMP_core.Surface___le__(self, *args)
3648 def __lt__(self, *args):
3650 __lt__(Surface self, Surface o) -> bool
3651 __lt__(Surface self, Particle d) -> bool
3653 return _IMP_core.Surface___lt__(self, *args)
3656 def __ge__(self, *args):
3658 __ge__(Surface self, Surface o) -> bool
3659 __ge__(Surface self, Particle d) -> bool
3661 return _IMP_core.Surface___ge__(self, *args)
3664 def __gt__(self, *args):
3666 __gt__(Surface self, Surface o) -> bool
3667 __gt__(Surface self, Particle d) -> bool
3669 return _IMP_core.Surface___gt__(self, *args)
3673 """__hash__(Surface self) -> std::size_t"""
3674 return _IMP_core.Surface___hash__(self)
3678 """__str__(Surface self) -> std::string"""
3679 return _IMP_core.Surface___str__(self)
3683 """__repr__(Surface self) -> std::string"""
3684 return _IMP_core.Surface___repr__(self)
3686 __swig_destroy__ = _IMP_core.delete_Surface
3687 __del__ =
lambda self:
None
3688 Surface_swigregister = _IMP_core.Surface_swigregister
3689 Surface_swigregister(Surface)
3691 def Surface_do_setup_particle(*args):
3693 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3694 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3695 do_setup_particle(Model m, ParticleIndex pi)
3696 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3698 return _IMP_core.Surface_do_setup_particle(*args)
3700 def Surface_setup_particle(*args):
3702 setup_particle(Model m, ParticleIndex pi) -> Surface
3703 setup_particle(_ParticleAdaptor decorator) -> Surface
3704 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3705 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3706 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3707 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3708 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3709 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3711 return _IMP_core.Surface_setup_particle(*args)
3713 def Surface_get_is_setup(*args):
3715 get_is_setup(_ParticleAdaptor p) -> bool
3716 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3718 return _IMP_core.Surface_get_is_setup(*args)
3720 def Surface_get_normal_key(i):
3721 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3722 return _IMP_core.Surface_get_normal_key(i)
3727 get_height(Surface s, XYZR d) -> double
3728 get_height(Surface s, XYZ d) -> double
3730 return _IMP_core.get_height(*args)
3734 get_depth(Surface s, XYZR d) -> double
3735 get_depth(Surface s, XYZ d) -> double
3737 return _IMP_core.get_depth(*args)
3741 get_distance(XYZ a, XYZ b) -> double
3742 get_distance(XYZR a, XYZR b) -> double
3743 get_distance(Surface s, XYZR d) -> double
3744 get_distance(Surface s, XYZ d) -> double
3746 return _IMP_core.get_distance(*args)
3748 """Proxy of C++ IMP::core::SurfaceGeometry class."""
3750 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3752 def __init__(self, *args):
3754 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3755 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3756 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3757 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3758 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3759 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3761 this = _IMP_core.new_SurfaceGeometry(*args)
3763 self.this.append(this)
3764 except __builtin__.Exception:
3767 def get_geometry(self):
3768 """get_geometry(SurfaceGeometry self) -> Surface"""
3769 return _IMP_core.SurfaceGeometry_get_geometry(self)
3772 def set_geometry(self, s):
3773 """set_geometry(SurfaceGeometry self, Surface s)"""
3774 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3777 def get_version_info(self):
3778 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3779 return _IMP_core.SurfaceGeometry_get_version_info(self)
3783 """__str__(SurfaceGeometry self) -> std::string"""
3784 return _IMP_core.SurfaceGeometry___str__(self)
3788 """__repr__(SurfaceGeometry self) -> std::string"""
3789 return _IMP_core.SurfaceGeometry___repr__(self)
3794 return _object_cast_to_SurfaceGeometry(o)
3796 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3797 SurfaceGeometry_swigregister(SurfaceGeometry)
3802 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3803 create_geometry(Surface s) -> SurfaceGeometry
3805 return _IMP_core.create_geometry(*args)
3807 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3811 def __init__(self, s, g):
3812 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3813 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3815 self.this.append(this)
3816 except __builtin__.Exception:
3819 def get_surface(self):
3820 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3821 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3824 def get_geometry(self):
3825 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3826 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3829 def do_get_inputs(self):
3830 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3831 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3834 def do_get_outputs(self):
3835 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3836 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3839 def get_version_info(self):
3840 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3841 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3845 """__str__(SurfaceGeometryConstraint self) -> std::string"""
3846 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3850 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
3851 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3856 return _object_cast_to_SurfaceGeometryConstraint(o)
3858 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
3859 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3864 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
3865 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
3867 return _IMP_core.get_constrained_surface_geometry(*args)
3869 """Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3871 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3873 def __init__(self, s, d):
3874 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3875 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
3877 self.this.append(this)
3878 except __builtin__.Exception:
3881 def do_get_inputs(self):
3882 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3883 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3886 def do_get_outputs(self):
3887 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3888 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3891 def get_version_info(self):
3892 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3893 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3897 """__str__(LateralSurfaceConstraint self) -> std::string"""
3898 return _IMP_core.LateralSurfaceConstraint___str__(self)
3902 """__repr__(LateralSurfaceConstraint self) -> std::string"""
3903 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3908 return _object_cast_to_LateralSurfaceConstraint(o)
3910 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
3911 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3914 """Proxy of C++ IMP::core::AngleTripletScore class."""
3916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3918 def __init__(self, f):
3919 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
3920 this = _IMP_core.new_AngleTripletScore(f)
3922 self.this.append(this)
3923 except __builtin__.Exception:
3926 def do_get_inputs(self, m, pis):
3927 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3928 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3931 def get_version_info(self):
3932 """get_version_info(AngleTripletScore self) -> VersionInfo"""
3933 return _IMP_core.AngleTripletScore_get_version_info(self)
3937 """__str__(AngleTripletScore self) -> std::string"""
3938 return _IMP_core.AngleTripletScore___str__(self)
3942 """__repr__(AngleTripletScore self) -> std::string"""
3943 return _IMP_core.AngleTripletScore___repr__(self)
3948 return _object_cast_to_AngleTripletScore(o)
3950 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
3951 AngleTripletScore_swigregister(AngleTripletScore)
3953 class BallMover(MonteCarloMover):
3954 """Proxy of C++ IMP::core::BallMover class."""
3956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3958 def __init__(self, *args):
3960 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
3961 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
3962 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3963 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
3965 this = _IMP_core.new_BallMover(*args)
3967 self.this.append(this)
3968 except __builtin__.Exception:
3971 def set_radius(self, radius):
3972 """set_radius(BallMover self, IMP::Float radius)"""
3973 return _IMP_core.BallMover_set_radius(self, radius)
3976 def get_radius(self):
3977 """get_radius(BallMover self) -> IMP::Float"""
3978 return _IMP_core.BallMover_get_radius(self)
3981 def get_version_info(self):
3982 """get_version_info(BallMover self) -> VersionInfo"""
3983 return _IMP_core.BallMover_get_version_info(self)
3987 """__str__(BallMover self) -> std::string"""
3988 return _IMP_core.BallMover___str__(self)
3992 """__repr__(BallMover self) -> std::string"""
3993 return _IMP_core.BallMover___repr__(self)
3998 return _object_cast_to_BallMover(o)
4000 BallMover_swigregister = _IMP_core.BallMover_swigregister
4001 BallMover_swigregister(BallMover)
4003 class SerialMover(MonteCarloMover):
4004 """Proxy of C++ IMP::core::SerialMover class."""
4006 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4008 def __init__(self, mvs):
4009 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4010 this = _IMP_core.new_SerialMover(mvs)
4012 self.this.append(this)
4013 except __builtin__.Exception:
4016 def get_movers(self):
4017 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4018 return _IMP_core.SerialMover_get_movers(self)
4021 def get_version_info(self):
4022 """get_version_info(SerialMover self) -> VersionInfo"""
4023 return _IMP_core.SerialMover_get_version_info(self)
4027 """__str__(SerialMover self) -> std::string"""
4028 return _IMP_core.SerialMover___str__(self)
4032 """__repr__(SerialMover self) -> std::string"""
4033 return _IMP_core.SerialMover___repr__(self)
4038 return _object_cast_to_SerialMover(o)
4040 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4041 SerialMover_swigregister(SerialMover)
4043 class SubsetMover(MonteCarloMover):
4044 """Proxy of C++ IMP::core::SubsetMover class."""
4046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4048 def __init__(self, mvs, n):
4049 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4050 this = _IMP_core.new_SubsetMover(mvs, n)
4052 self.this.append(this)
4053 except __builtin__.Exception:
4056 def get_movers(self):
4057 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4058 return _IMP_core.SubsetMover_get_movers(self)
4061 def get_subset_size(self):
4062 """get_subset_size(SubsetMover self) -> unsigned int"""
4063 return _IMP_core.SubsetMover_get_subset_size(self)
4066 def get_version_info(self):
4067 """get_version_info(SubsetMover self) -> VersionInfo"""
4068 return _IMP_core.SubsetMover_get_version_info(self)
4072 """__str__(SubsetMover self) -> std::string"""
4073 return _IMP_core.SubsetMover___str__(self)
4077 """__repr__(SubsetMover self) -> std::string"""
4078 return _IMP_core.SubsetMover___repr__(self)
4083 return _object_cast_to_SubsetMover(o)
4085 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4086 SubsetMover_swigregister(SubsetMover)
4088 class DirectionMover(MonteCarloMover):
4089 """Proxy of C++ IMP::core::DirectionMover class."""
4091 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4093 def __init__(self, *args):
4095 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4096 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4098 this = _IMP_core.new_DirectionMover(*args)
4100 self.this.append(this)
4101 except __builtin__.Exception:
4104 def set_maximum_rotation(self, mr):
4105 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4106 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4109 def set_reflect_probability(self, rp):
4110 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4111 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4114 def get_maximum_rotation(self):
4115 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4116 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4119 def get_reflect_probability(self):
4120 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4121 return _IMP_core.DirectionMover_get_reflect_probability(self)
4124 def get_direction(self):
4125 """get_direction(DirectionMover self) -> Direction"""
4126 return _IMP_core.DirectionMover_get_direction(self)
4129 def get_version_info(self):
4130 """get_version_info(DirectionMover self) -> VersionInfo"""
4131 return _IMP_core.DirectionMover_get_version_info(self)
4135 """__str__(DirectionMover self) -> std::string"""
4136 return _IMP_core.DirectionMover___str__(self)
4140 """__repr__(DirectionMover self) -> std::string"""
4141 return _IMP_core.DirectionMover___repr__(self)
4146 return _object_cast_to_DirectionMover(o)
4148 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4149 DirectionMover_swigregister(DirectionMover)
4151 class SurfaceMover(MonteCarloMover):
4152 """Proxy of C++ IMP::core::SurfaceMover class."""
4154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4156 def __init__(self, *args):
4158 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4159 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4161 this = _IMP_core.new_SurfaceMover(*args)
4163 self.this.append(this)
4164 except __builtin__.Exception:
4167 def set_maximum_translation(self, mt):
4168 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4169 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4172 def set_maximum_rotation(self, mr):
4173 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4174 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4177 def set_reflect_probability(self, rp):
4178 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4179 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4182 def get_maximum_translation(self):
4183 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4184 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4187 def get_maximum_rotation(self):
4188 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4189 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4192 def get_reflect_probability(self):
4193 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4194 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4197 def get_surface(self):
4198 """get_surface(SurfaceMover self) -> Surface"""
4199 return _IMP_core.SurfaceMover_get_surface(self)
4202 def get_version_info(self):
4203 """get_version_info(SurfaceMover self) -> VersionInfo"""
4204 return _IMP_core.SurfaceMover_get_version_info(self)
4208 """__str__(SurfaceMover self) -> std::string"""
4209 return _IMP_core.SurfaceMover___str__(self)
4213 """__repr__(SurfaceMover self) -> std::string"""
4214 return _IMP_core.SurfaceMover___repr__(self)
4219 return _object_cast_to_SurfaceMover(o)
4221 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4222 SurfaceMover_swigregister(SurfaceMover)
4224 class BoxSweepClosePairsFinder(ClosePairsFinder):
4225 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
4227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4230 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4231 this = _IMP_core.new_BoxSweepClosePairsFinder()
4233 self.this.append(this)
4234 except __builtin__.Exception:
4237 def get_close_pairs(self, *args):
4239 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4240 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4241 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4242 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4244 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4247 def do_get_inputs(self, m, pis):
4248 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4249 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4252 def get_version_info(self):
4253 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4254 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4258 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4259 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4263 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4264 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4269 return _object_cast_to_BoxSweepClosePairsFinder(o)
4271 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4272 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4275 """Proxy of C++ IMP::core::CentroidOfRefined class."""
4277 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4279 def __init__(self, *args):
4281 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4282 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4283 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4285 this = _IMP_core.new_CentroidOfRefined(*args)
4287 self.this.append(this)
4288 except __builtin__.Exception:
4291 def do_get_inputs(self, m, pis):
4292 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4293 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4296 def do_get_outputs(self, m, pis):
4297 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4298 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4301 def get_version_info(self):
4302 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4303 return _IMP_core.CentroidOfRefined_get_version_info(self)
4307 """__str__(CentroidOfRefined self) -> std::string"""
4308 return _IMP_core.CentroidOfRefined___str__(self)
4312 """__repr__(CentroidOfRefined self) -> std::string"""
4313 return _IMP_core.CentroidOfRefined___repr__(self)
4318 return _object_cast_to_CentroidOfRefined(o)
4320 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4321 CentroidOfRefined_swigregister(CentroidOfRefined)
4323 class Centroid(XYZ):
4324 """Proxy of C++ IMP::core::Centroid class."""
4326 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4328 def get_constraint(self):
4329 """get_constraint(Centroid self) -> Constraint"""
4330 return _IMP_core.Centroid_get_constraint(self)
4333 def __init__(self, *args):
4335 __init__(IMP::core::Centroid self) -> Centroid
4336 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4337 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4339 this = _IMP_core.new_Centroid(*args)
4341 self.this.append(this)
4342 except __builtin__.Exception:
4345 def show(self, *args):
4347 show(Centroid self, _ostream out)
4350 return _IMP_core.Centroid_show(self, *args)
4353 def setup_particle(*args):
4355 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4356 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4357 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4358 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4360 return _IMP_core.Centroid_setup_particle(*args)
4362 setup_particle = staticmethod(setup_particle)
4364 def get_is_setup(*args):
4366 get_is_setup(_ParticleAdaptor p) -> bool
4367 get_is_setup(Model m, ParticleIndex pi) -> bool
4369 return _IMP_core.Centroid_get_is_setup(*args)
4371 get_is_setup = staticmethod(get_is_setup)
4373 def add_attribute(self, *args):
4375 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4376 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4377 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4378 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4379 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4380 add_attribute(Centroid self, ObjectKey a0, Object a1)
4382 return _IMP_core.Centroid_add_attribute(self, *args)
4385 def get_value(self, *args):
4387 get_value(Centroid self, FloatKey a0) -> IMP::Float
4388 get_value(Centroid self, IntKey a0) -> IMP::Int
4389 get_value(Centroid self, StringKey a0) -> IMP::String
4390 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4391 get_value(Centroid self, ObjectKey a0) -> Object
4393 return _IMP_core.Centroid_get_value(self, *args)
4396 def set_value(self, *args):
4398 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4399 set_value(Centroid self, IntKey a0, IMP::Int a1)
4400 set_value(Centroid self, StringKey a0, IMP::String a1)
4401 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4402 set_value(Centroid self, ObjectKey a0, Object a1)
4404 return _IMP_core.Centroid_set_value(self, *args)
4407 def remove_attribute(self, *args):
4409 remove_attribute(Centroid self, FloatKey a0)
4410 remove_attribute(Centroid self, IntKey a0)
4411 remove_attribute(Centroid self, StringKey a0)
4412 remove_attribute(Centroid self, ParticleIndexKey a0)
4413 remove_attribute(Centroid self, ObjectKey a0)
4415 return _IMP_core.Centroid_remove_attribute(self, *args)
4418 def has_attribute(self, *args):
4420 has_attribute(Centroid self, FloatKey a0) -> bool
4421 has_attribute(Centroid self, IntKey a0) -> bool
4422 has_attribute(Centroid self, StringKey a0) -> bool
4423 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4424 has_attribute(Centroid self, ObjectKey a0) -> bool
4426 return _IMP_core.Centroid_has_attribute(self, *args)
4429 def get_derivative(self, a0):
4430 """get_derivative(Centroid self, FloatKey a0) -> double"""
4431 return _IMP_core.Centroid_get_derivative(self, a0)
4435 """get_name(Centroid self) -> std::string"""
4436 return _IMP_core.Centroid_get_name(self)
4439 def clear_caches(self):
4440 """clear_caches(Centroid self)"""
4441 return _IMP_core.Centroid_clear_caches(self)
4444 def set_name(self, a0):
4445 """set_name(Centroid self, std::string a0)"""
4446 return _IMP_core.Centroid_set_name(self, a0)
4450 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4451 return _IMP_core.Centroid_set_check_level(self, a0)
4454 def add_to_derivative(self, a0, a1, a2):
4455 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4456 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4459 def set_is_optimized(self, a0, a1):
4460 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4461 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4464 def get_is_optimized(self, a0):
4465 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4466 return _IMP_core.Centroid_get_is_optimized(self, a0)
4470 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4471 return _IMP_core.Centroid_get_check_level(self)
4474 def __eq__(self, *args):
4476 __eq__(Centroid self, Centroid o) -> bool
4477 __eq__(Centroid self, Particle d) -> bool
4479 return _IMP_core.Centroid___eq__(self, *args)
4482 def __ne__(self, *args):
4484 __ne__(Centroid self, Centroid o) -> bool
4485 __ne__(Centroid self, Particle d) -> bool
4487 return _IMP_core.Centroid___ne__(self, *args)
4490 def __le__(self, *args):
4492 __le__(Centroid self, Centroid o) -> bool
4493 __le__(Centroid self, Particle d) -> bool
4495 return _IMP_core.Centroid___le__(self, *args)
4498 def __lt__(self, *args):
4500 __lt__(Centroid self, Centroid o) -> bool
4501 __lt__(Centroid self, Particle d) -> bool
4503 return _IMP_core.Centroid___lt__(self, *args)
4506 def __ge__(self, *args):
4508 __ge__(Centroid self, Centroid o) -> bool
4509 __ge__(Centroid self, Particle d) -> bool
4511 return _IMP_core.Centroid___ge__(self, *args)
4514 def __gt__(self, *args):
4516 __gt__(Centroid self, Centroid o) -> bool
4517 __gt__(Centroid self, Particle d) -> bool
4519 return _IMP_core.Centroid___gt__(self, *args)
4523 """__hash__(Centroid self) -> std::size_t"""
4524 return _IMP_core.Centroid___hash__(self)
4528 """__str__(Centroid self) -> std::string"""
4529 return _IMP_core.Centroid___str__(self)
4533 """__repr__(Centroid self) -> std::string"""
4534 return _IMP_core.Centroid___repr__(self)
4536 __swig_destroy__ = _IMP_core.delete_Centroid
4537 __del__ =
lambda self:
None
4538 Centroid_swigregister = _IMP_core.Centroid_swigregister
4539 Centroid_swigregister(Centroid)
4541 def Centroid_setup_particle(*args):
4543 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4544 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4545 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4546 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4548 return _IMP_core.Centroid_setup_particle(*args)
4550 def Centroid_get_is_setup(*args):
4552 get_is_setup(_ParticleAdaptor p) -> bool
4553 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4555 return _IMP_core.Centroid_get_is_setup(*args)
4558 """Proxy of C++ IMP::core::ChecksScoreState class."""
4560 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4562 def __init__(self, m, probability):
4563 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4564 this = _IMP_core.new_ChecksScoreState(m, probability)
4566 self.this.append(this)
4567 except __builtin__.Exception:
4570 def get_number_of_checked(self):
4571 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4572 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4575 def do_before_evaluate(self):
4576 """do_before_evaluate(ChecksScoreState self)"""
4577 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4580 def do_after_evaluate(self, da):
4581 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4582 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4585 def do_get_outputs(self):
4586 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4587 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4590 def do_get_inputs(self):
4591 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4592 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4595 def get_version_info(self):
4596 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4597 return _IMP_core.ChecksScoreState_get_version_info(self)
4601 """__str__(ChecksScoreState self) -> std::string"""
4602 return _IMP_core.ChecksScoreState___str__(self)
4606 """__repr__(ChecksScoreState self) -> std::string"""
4607 return _IMP_core.ChecksScoreState___repr__(self)
4612 return _object_cast_to_ChecksScoreState(o)
4614 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4615 ChecksScoreState_swigregister(ChecksScoreState)
4618 """Proxy of C++ IMP::core::ChildrenRefiner class."""
4620 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4622 def __init__(self, tr):
4623 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4624 this = _IMP_core.new_ChildrenRefiner(tr)
4626 self.this.append(this)
4627 except __builtin__.Exception:
4630 def do_get_inputs(self, m, pis):
4631 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4632 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4635 def get_version_info(self):
4636 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4637 return _IMP_core.ChildrenRefiner_get_version_info(self)
4641 """__str__(ChildrenRefiner self) -> std::string"""
4642 return _IMP_core.ChildrenRefiner___str__(self)
4646 """__repr__(ChildrenRefiner self) -> std::string"""
4647 return _IMP_core.ChildrenRefiner___repr__(self)
4652 return _object_cast_to_ChildrenRefiner(o)
4654 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4655 ChildrenRefiner_swigregister(ChildrenRefiner)
4658 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
4660 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4662 def __init__(self, values, minrange, spacing):
4663 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4664 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4666 self.this.append(this)
4667 except __builtin__.Exception:
4670 def get_version_info(self):
4671 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4672 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4675 def do_show(self, out):
4676 """do_show(ClosedCubicSpline self, _ostream out)"""
4677 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4681 """__str__(ClosedCubicSpline self) -> std::string"""
4682 return _IMP_core.ClosedCubicSpline___str__(self)
4686 """__repr__(ClosedCubicSpline self) -> std::string"""
4687 return _IMP_core.ClosedCubicSpline___repr__(self)
4692 return _object_cast_to_ClosedCubicSpline(o)
4694 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4695 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4698 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
4700 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4702 def __init__(self, f, r, k=1):
4704 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4705 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4707 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4709 self.this.append(this)
4710 except __builtin__.Exception:
4713 def get_close_pairs(self, pp):
4714 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4715 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4718 def create_current_decomposition(self, m, vt):
4719 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4720 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4723 def do_get_inputs(self, m, pis):
4724 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4725 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4728 def get_version_info(self):
4729 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4730 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4734 """__str__(KClosePairsPairScore self) -> std::string"""
4735 return _IMP_core.KClosePairsPairScore___str__(self)
4739 """__repr__(KClosePairsPairScore self) -> std::string"""
4740 return _IMP_core.KClosePairsPairScore___repr__(self)
4745 return _object_cast_to_KClosePairsPairScore(o)
4747 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4748 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4751 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
4753 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4755 def __init__(self, f, r, max_distance):
4756 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4757 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4759 self.this.append(this)
4760 except __builtin__.Exception:
4763 def get_close_pairs(self, pp):
4764 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4765 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4768 def create_current_decomposition(self, m, vt):
4769 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4770 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4773 def do_get_inputs(self, m, pis):
4774 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4775 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4778 def get_version_info(self):
4779 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4780 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4784 """__str__(ClosePairsPairScore self) -> std::string"""
4785 return _IMP_core.ClosePairsPairScore___str__(self)
4789 """__repr__(ClosePairsPairScore self) -> std::string"""
4790 return _IMP_core.ClosePairsPairScore___repr__(self)
4795 return _object_cast_to_ClosePairsPairScore(o)
4797 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4798 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4801 """Proxy of C++ IMP::core::ConjugateGradients class."""
4803 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4805 def __init__(self, *args):
4807 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4808 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4810 this = _IMP_core.new_ConjugateGradients(*args)
4812 self.this.append(this)
4813 except __builtin__.Exception:
4816 def set_gradient_threshold(self, t):
4817 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4818 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4821 def set_threshold(self, t):
4822 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4823 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4826 def set_max_change(self, t):
4827 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4828 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4831 def do_optimize(self, max_steps):
4832 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4833 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4836 def get_version_info(self):
4837 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4838 return _IMP_core.ConjugateGradients_get_version_info(self)
4842 """__str__(ConjugateGradients self) -> std::string"""
4843 return _IMP_core.ConjugateGradients___str__(self)
4847 """__repr__(ConjugateGradients self) -> std::string"""
4848 return _IMP_core.ConjugateGradients___repr__(self)
4853 return _object_cast_to_ConjugateGradients(o)
4855 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
4856 ConjugateGradients_swigregister(ConjugateGradients)
4859 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
4861 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4863 def __init__(self, ps, sc):
4864 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4865 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
4867 self.this.append(this)
4868 except __builtin__.Exception:
4871 def get_connected_index_pairs(self):
4872 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4873 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4876 def get_pair_score(self):
4877 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
4878 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4881 def do_create_current_decomposition(self):
4882 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4883 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4886 def do_get_inputs(self):
4887 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4888 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4891 def get_version_info(self):
4892 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4893 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4897 """__str__(ConnectivityRestraint self) -> std::string"""
4898 return _IMP_core.ConnectivityRestraint___str__(self)
4902 """__repr__(ConnectivityRestraint self) -> std::string"""
4903 return _IMP_core.ConnectivityRestraint___repr__(self)
4908 return _object_cast_to_ConnectivityRestraint(o)
4910 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
4911 ConnectivityRestraint_swigregister(ConnectivityRestraint)
4914 """Proxy of C++ IMP::core::ConstantRestraint class."""
4916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4918 def __init__(self, m, v):
4919 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
4920 this = _IMP_core.new_ConstantRestraint(m, v)
4922 self.this.append(this)
4923 except __builtin__.Exception:
4926 def do_get_inputs(self):
4927 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4928 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4931 def get_version_info(self):
4932 """get_version_info(ConstantRestraint self) -> VersionInfo"""
4933 return _IMP_core.ConstantRestraint_get_version_info(self)
4937 """__str__(ConstantRestraint self) -> std::string"""
4938 return _IMP_core.ConstantRestraint___str__(self)
4942 """__repr__(ConstantRestraint self) -> std::string"""
4943 return _IMP_core.ConstantRestraint___repr__(self)
4948 return _object_cast_to_ConstantRestraint(o)
4950 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
4951 ConstantRestraint_swigregister(ConstantRestraint)
4954 """Proxy of C++ IMP::core::Cosine class."""
4956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4958 def __init__(self, force_constant, periodicity, phase):
4959 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
4960 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
4962 self.this.append(this)
4963 except __builtin__.Exception:
4966 def get_version_info(self):
4967 """get_version_info(Cosine self) -> VersionInfo"""
4968 return _IMP_core.Cosine_get_version_info(self)
4971 def do_show(self, out):
4972 """do_show(Cosine self, _ostream out)"""
4973 return _IMP_core.Cosine_do_show(self, out)
4977 """__str__(Cosine self) -> std::string"""
4978 return _IMP_core.Cosine___str__(self)
4982 """__repr__(Cosine self) -> std::string"""
4983 return _IMP_core.Cosine___repr__(self)
4988 return _object_cast_to_Cosine(o)
4990 Cosine_swigregister = _IMP_core.Cosine_swigregister
4991 Cosine_swigregister(Cosine)
4994 """Proxy of C++ IMP::core::CoverRefined class."""
4996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4998 def __init__(self, ref, slack=0):
5000 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
5001 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
5003 this = _IMP_core.new_CoverRefined(ref, slack)
5005 self.this.append(this)
5006 except __builtin__.Exception:
5009 def set_slack(self, slack):
5010 """set_slack(CoverRefined self, IMP::Float slack)"""
5011 return _IMP_core.CoverRefined_set_slack(self, slack)
5014 def do_get_inputs(self, m, pis):
5015 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5016 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5019 def do_get_outputs(self, m, pis):
5020 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5021 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5024 def get_version_info(self):
5025 """get_version_info(CoverRefined self) -> VersionInfo"""
5026 return _IMP_core.CoverRefined_get_version_info(self)
5030 """__str__(CoverRefined self) -> std::string"""
5031 return _IMP_core.CoverRefined___str__(self)
5035 """__repr__(CoverRefined self) -> std::string"""
5036 return _IMP_core.CoverRefined___repr__(self)
5041 return _object_cast_to_CoverRefined(o)
5043 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5044 CoverRefined_swigregister(CoverRefined)
5047 """Proxy of C++ IMP::core::Cover class."""
5049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5051 def get_constraint(self):
5052 """get_constraint(Cover self) -> Constraint"""
5053 return _IMP_core.Cover_get_constraint(self)
5056 def __init__(self, *args):
5058 __init__(IMP::core::Cover self) -> Cover
5059 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5060 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5062 this = _IMP_core.new_Cover(*args)
5064 self.this.append(this)
5065 except __builtin__.Exception:
5068 def show(self, *args):
5070 show(Cover self, _ostream out)
5073 return _IMP_core.Cover_show(self, *args)
5076 def setup_particle(*args):
5078 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5079 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5080 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5081 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5083 return _IMP_core.Cover_setup_particle(*args)
5085 setup_particle = staticmethod(setup_particle)
5087 def get_is_setup(*args):
5089 get_is_setup(_ParticleAdaptor p) -> bool
5090 get_is_setup(Model m, ParticleIndex pi) -> bool
5092 return _IMP_core.Cover_get_is_setup(*args)
5094 get_is_setup = staticmethod(get_is_setup)
5096 def add_attribute(self, *args):
5098 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5099 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5100 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5101 add_attribute(Cover self, StringKey a0, IMP::String a1)
5102 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5103 add_attribute(Cover self, ObjectKey a0, Object a1)
5105 return _IMP_core.Cover_add_attribute(self, *args)
5108 def get_value(self, *args):
5110 get_value(Cover self, FloatKey a0) -> IMP::Float
5111 get_value(Cover self, IntKey a0) -> IMP::Int
5112 get_value(Cover self, StringKey a0) -> IMP::String
5113 get_value(Cover self, ParticleIndexKey a0) -> Particle
5114 get_value(Cover self, ObjectKey a0) -> Object
5116 return _IMP_core.Cover_get_value(self, *args)
5119 def set_value(self, *args):
5121 set_value(Cover self, FloatKey a0, IMP::Float a1)
5122 set_value(Cover self, IntKey a0, IMP::Int a1)
5123 set_value(Cover self, StringKey a0, IMP::String a1)
5124 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5125 set_value(Cover self, ObjectKey a0, Object a1)
5127 return _IMP_core.Cover_set_value(self, *args)
5130 def remove_attribute(self, *args):
5132 remove_attribute(Cover self, FloatKey a0)
5133 remove_attribute(Cover self, IntKey a0)
5134 remove_attribute(Cover self, StringKey a0)
5135 remove_attribute(Cover self, ParticleIndexKey a0)
5136 remove_attribute(Cover self, ObjectKey a0)
5138 return _IMP_core.Cover_remove_attribute(self, *args)
5141 def has_attribute(self, *args):
5143 has_attribute(Cover self, FloatKey a0) -> bool
5144 has_attribute(Cover self, IntKey a0) -> bool
5145 has_attribute(Cover self, StringKey a0) -> bool
5146 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5147 has_attribute(Cover self, ObjectKey a0) -> bool
5149 return _IMP_core.Cover_has_attribute(self, *args)
5152 def get_derivative(self, a0):
5153 """get_derivative(Cover self, FloatKey a0) -> double"""
5154 return _IMP_core.Cover_get_derivative(self, a0)
5158 """get_name(Cover self) -> std::string"""
5159 return _IMP_core.Cover_get_name(self)
5162 def clear_caches(self):
5163 """clear_caches(Cover self)"""
5164 return _IMP_core.Cover_clear_caches(self)
5167 def set_name(self, a0):
5168 """set_name(Cover self, std::string a0)"""
5169 return _IMP_core.Cover_set_name(self, a0)
5173 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5174 return _IMP_core.Cover_set_check_level(self, a0)
5177 def add_to_derivative(self, a0, a1, a2):
5178 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5179 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5182 def set_is_optimized(self, a0, a1):
5183 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5184 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5187 def get_is_optimized(self, a0):
5188 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5189 return _IMP_core.Cover_get_is_optimized(self, a0)
5193 """get_check_level(Cover self) -> IMP::CheckLevel"""
5194 return _IMP_core.Cover_get_check_level(self)
5197 def __eq__(self, *args):
5199 __eq__(Cover self, Cover o) -> bool
5200 __eq__(Cover self, Particle d) -> bool
5202 return _IMP_core.Cover___eq__(self, *args)
5205 def __ne__(self, *args):
5207 __ne__(Cover self, Cover o) -> bool
5208 __ne__(Cover self, Particle d) -> bool
5210 return _IMP_core.Cover___ne__(self, *args)
5213 def __le__(self, *args):
5215 __le__(Cover self, Cover o) -> bool
5216 __le__(Cover self, Particle d) -> bool
5218 return _IMP_core.Cover___le__(self, *args)
5221 def __lt__(self, *args):
5223 __lt__(Cover self, Cover o) -> bool
5224 __lt__(Cover self, Particle d) -> bool
5226 return _IMP_core.Cover___lt__(self, *args)
5229 def __ge__(self, *args):
5231 __ge__(Cover self, Cover o) -> bool
5232 __ge__(Cover self, Particle d) -> bool
5234 return _IMP_core.Cover___ge__(self, *args)
5237 def __gt__(self, *args):
5239 __gt__(Cover self, Cover o) -> bool
5240 __gt__(Cover self, Particle d) -> bool
5242 return _IMP_core.Cover___gt__(self, *args)
5246 """__hash__(Cover self) -> std::size_t"""
5247 return _IMP_core.Cover___hash__(self)
5251 """__str__(Cover self) -> std::string"""
5252 return _IMP_core.Cover___str__(self)
5256 """__repr__(Cover self) -> std::string"""
5257 return _IMP_core.Cover___repr__(self)
5259 __swig_destroy__ = _IMP_core.delete_Cover
5260 __del__ =
lambda self:
None
5261 Cover_swigregister = _IMP_core.Cover_swigregister
5262 Cover_swigregister(Cover)
5264 def Cover_setup_particle(*args):
5266 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5267 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5268 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5269 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5271 return _IMP_core.Cover_setup_particle(*args)
5273 def Cover_get_is_setup(*args):
5275 get_is_setup(_ParticleAdaptor p) -> bool
5276 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5278 return _IMP_core.Cover_get_is_setup(*args)
5281 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
5283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5285 def __init__(self, *args):
5287 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5288 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5290 this = _IMP_core.new_DerivativesFromRefined(*args)
5292 self.this.append(this)
5293 except __builtin__.Exception:
5296 def do_get_inputs(self, m, pis):
5297 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5298 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5301 def do_get_outputs(self, m, pis):
5302 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5303 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5306 def get_version_info(self):
5307 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5308 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5312 """__str__(DerivativesFromRefined self) -> std::string"""
5313 return _IMP_core.DerivativesFromRefined___str__(self)
5317 """__repr__(DerivativesFromRefined self) -> std::string"""
5318 return _IMP_core.DerivativesFromRefined___repr__(self)
5323 return _object_cast_to_DerivativesFromRefined(o)
5325 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5326 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5329 """Proxy of C++ IMP::core::DerivativesToRefined class."""
5331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5333 def __init__(self, *args):
5335 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5336 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5338 this = _IMP_core.new_DerivativesToRefined(*args)
5340 self.this.append(this)
5341 except __builtin__.Exception:
5344 def do_get_inputs(self, m, pis):
5345 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5346 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5349 def do_get_outputs(self, m, pis):
5350 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5351 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5354 def get_version_info(self):
5355 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5356 return _IMP_core.DerivativesToRefined_get_version_info(self)
5360 """__str__(DerivativesToRefined self) -> std::string"""
5361 return _IMP_core.DerivativesToRefined___str__(self)
5365 """__repr__(DerivativesToRefined self) -> std::string"""
5366 return _IMP_core.DerivativesToRefined___repr__(self)
5371 return _object_cast_to_DerivativesToRefined(o)
5373 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5374 DerivativesToRefined_swigregister(DerivativesToRefined)
5377 """Proxy of C++ IMP::core::DiameterRestraint class."""
5379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5381 def __init__(self, f, sc, diameter):
5382 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5383 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5385 self.this.append(this)
5386 except __builtin__.Exception:
5389 def do_get_inputs(self):
5390 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5391 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5394 def get_version_info(self):
5395 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5396 return _IMP_core.DiameterRestraint_get_version_info(self)
5399 def do_create_decomposition(self):
5400 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5401 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5404 def do_create_current_decomposition(self):
5405 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5406 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5410 """__str__(DiameterRestraint self) -> std::string"""
5411 return _IMP_core.DiameterRestraint___str__(self)
5415 """__repr__(DiameterRestraint self) -> std::string"""
5416 return _IMP_core.DiameterRestraint___repr__(self)
5421 return _object_cast_to_DiameterRestraint(o)
5423 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5424 DiameterRestraint_swigregister(DiameterRestraint)
5427 """Proxy of C++ IMP::core::Transform class."""
5429 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5431 def __init__(self, t, ignore_non_xyz=False):
5433 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5434 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5436 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5438 self.this.append(this)
5439 except __builtin__.Exception:
5442 def do_get_inputs(self, m, pis):
5443 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5444 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5447 def do_get_outputs(self, m, pis):
5448 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5449 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5452 def get_version_info(self):
5453 """get_version_info(Transform self) -> VersionInfo"""
5454 return _IMP_core.Transform_get_version_info(self)
5458 """__str__(Transform self) -> std::string"""
5459 return _IMP_core.Transform___str__(self)
5463 """__repr__(Transform self) -> std::string"""
5464 return _IMP_core.Transform___repr__(self)
5469 return _object_cast_to_Transform(o)
5471 Transform_swigregister = _IMP_core.Transform_swigregister
5472 Transform_swigregister(Transform)
5475 """Proxy of C++ IMP::core::Reference class."""
5477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5479 def __init__(self, *args):
5481 __init__(IMP::core::Reference self) -> Reference
5482 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5483 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5485 this = _IMP_core.new_Reference(*args)
5487 self.this.append(this)
5488 except __builtin__.Exception:
5491 def show(self, *args):
5493 show(Reference self, _ostream out)
5494 show(Reference self)
5496 return _IMP_core.Reference_show(self, *args)
5499 def setup_particle(*args):
5501 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5502 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5504 return _IMP_core.Reference_setup_particle(*args)
5506 setup_particle = staticmethod(setup_particle)
5508 def get_reference_particle(self):
5509 """get_reference_particle(Reference self) -> Particle"""
5510 return _IMP_core.Reference_get_reference_particle(self)
5513 def get_is_setup(*args):
5515 get_is_setup(_ParticleAdaptor p) -> bool
5516 get_is_setup(Model m, ParticleIndex pi) -> bool
5518 return _IMP_core.Reference_get_is_setup(*args)
5520 get_is_setup = staticmethod(get_is_setup)
5522 def get_reference_key():
5523 """get_reference_key() -> ParticleIndexKey"""
5524 return _IMP_core.Reference_get_reference_key()
5526 get_reference_key = staticmethod(get_reference_key)
5528 def add_attribute(self, *args):
5530 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5531 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5532 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5533 add_attribute(Reference self, StringKey a0, IMP::String a1)
5534 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5535 add_attribute(Reference self, ObjectKey a0, Object a1)
5537 return _IMP_core.Reference_add_attribute(self, *args)
5540 def get_value(self, *args):
5542 get_value(Reference self, FloatKey a0) -> IMP::Float
5543 get_value(Reference self, IntKey a0) -> IMP::Int
5544 get_value(Reference self, StringKey a0) -> IMP::String
5545 get_value(Reference self, ParticleIndexKey a0) -> Particle
5546 get_value(Reference self, ObjectKey a0) -> Object
5548 return _IMP_core.Reference_get_value(self, *args)
5551 def set_value(self, *args):
5553 set_value(Reference self, FloatKey a0, IMP::Float a1)
5554 set_value(Reference self, IntKey a0, IMP::Int a1)
5555 set_value(Reference self, StringKey a0, IMP::String a1)
5556 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5557 set_value(Reference self, ObjectKey a0, Object a1)
5559 return _IMP_core.Reference_set_value(self, *args)
5562 def remove_attribute(self, *args):
5564 remove_attribute(Reference self, FloatKey a0)
5565 remove_attribute(Reference self, IntKey a0)
5566 remove_attribute(Reference self, StringKey a0)
5567 remove_attribute(Reference self, ParticleIndexKey a0)
5568 remove_attribute(Reference self, ObjectKey a0)
5570 return _IMP_core.Reference_remove_attribute(self, *args)
5573 def has_attribute(self, *args):
5575 has_attribute(Reference self, FloatKey a0) -> bool
5576 has_attribute(Reference self, IntKey a0) -> bool
5577 has_attribute(Reference self, StringKey a0) -> bool
5578 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5579 has_attribute(Reference self, ObjectKey a0) -> bool
5581 return _IMP_core.Reference_has_attribute(self, *args)
5584 def get_derivative(self, a0):
5585 """get_derivative(Reference self, FloatKey a0) -> double"""
5586 return _IMP_core.Reference_get_derivative(self, a0)
5590 """get_name(Reference self) -> std::string"""
5591 return _IMP_core.Reference_get_name(self)
5594 def clear_caches(self):
5595 """clear_caches(Reference self)"""
5596 return _IMP_core.Reference_clear_caches(self)
5599 def set_name(self, a0):
5600 """set_name(Reference self, std::string a0)"""
5601 return _IMP_core.Reference_set_name(self, a0)
5605 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5606 return _IMP_core.Reference_set_check_level(self, a0)
5609 def add_to_derivative(self, a0, a1, a2):
5610 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5611 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5614 def set_is_optimized(self, a0, a1):
5615 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5616 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5619 def get_is_optimized(self, a0):
5620 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5621 return _IMP_core.Reference_get_is_optimized(self, a0)
5625 """get_check_level(Reference self) -> IMP::CheckLevel"""
5626 return _IMP_core.Reference_get_check_level(self)
5629 def __eq__(self, *args):
5631 __eq__(Reference self, Reference o) -> bool
5632 __eq__(Reference self, Particle d) -> bool
5634 return _IMP_core.Reference___eq__(self, *args)
5637 def __ne__(self, *args):
5639 __ne__(Reference self, Reference o) -> bool
5640 __ne__(Reference self, Particle d) -> bool
5642 return _IMP_core.Reference___ne__(self, *args)
5645 def __le__(self, *args):
5647 __le__(Reference self, Reference o) -> bool
5648 __le__(Reference self, Particle d) -> bool
5650 return _IMP_core.Reference___le__(self, *args)
5653 def __lt__(self, *args):
5655 __lt__(Reference self, Reference o) -> bool
5656 __lt__(Reference self, Particle d) -> bool
5658 return _IMP_core.Reference___lt__(self, *args)
5661 def __ge__(self, *args):
5663 __ge__(Reference self, Reference o) -> bool
5664 __ge__(Reference self, Particle d) -> bool
5666 return _IMP_core.Reference___ge__(self, *args)
5669 def __gt__(self, *args):
5671 __gt__(Reference self, Reference o) -> bool
5672 __gt__(Reference self, Particle d) -> bool
5674 return _IMP_core.Reference___gt__(self, *args)
5678 """__hash__(Reference self) -> std::size_t"""
5679 return _IMP_core.Reference___hash__(self)
5683 """__str__(Reference self) -> std::string"""
5684 return _IMP_core.Reference___str__(self)
5688 """__repr__(Reference self) -> std::string"""
5689 return _IMP_core.Reference___repr__(self)
5691 __swig_destroy__ = _IMP_core.delete_Reference
5692 __del__ =
lambda self:
None
5693 Reference_swigregister = _IMP_core.Reference_swigregister
5694 Reference_swigregister(Reference)
5696 def Reference_setup_particle(*args):
5698 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5699 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5701 return _IMP_core.Reference_setup_particle(*args)
5703 def Reference_get_is_setup(*args):
5705 get_is_setup(_ParticleAdaptor p) -> bool
5706 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5708 return _IMP_core.Reference_get_is_setup(*args)
5710 def Reference_get_reference_key():
5711 """Reference_get_reference_key() -> ParticleIndexKey"""
5712 return _IMP_core.Reference_get_reference_key()
5715 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
5717 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5719 def __init__(self, t, r):
5720 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5721 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5723 self.this.append(this)
5724 except __builtin__.Exception:
5727 def do_get_inputs(self, m, pis):
5728 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5729 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5732 def do_get_outputs(self, m, pis):
5733 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5734 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5737 def get_version_info(self):
5738 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5739 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5743 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5744 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5748 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5749 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5754 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5756 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5757 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5760 """Proxy of C++ IMP::core::TransformationSymmetry class."""
5762 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5764 def __init__(self, *args):
5766 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5767 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5769 this = _IMP_core.new_TransformationSymmetry(*args)
5771 self.this.append(this)
5772 except __builtin__.Exception:
5775 def get_transformation(self):
5776 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5777 return _IMP_core.TransformationSymmetry_get_transformation(self)
5780 def set_transformation(self, t):
5781 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5782 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5785 def do_get_inputs(self, m, pis):
5786 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5787 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5790 def do_get_outputs(self, m, pis):
5791 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5792 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5795 def get_version_info(self):
5796 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5797 return _IMP_core.TransformationSymmetry_get_version_info(self)
5801 """__str__(TransformationSymmetry self) -> std::string"""
5802 return _IMP_core.TransformationSymmetry___str__(self)
5806 """__repr__(TransformationSymmetry self) -> std::string"""
5807 return _IMP_core.TransformationSymmetry___repr__(self)
5812 return _object_cast_to_TransformationSymmetry(o)
5814 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5815 TransformationSymmetry_swigregister(TransformationSymmetry)
5817 class TransformationSymmetryMover(MonteCarloMover):
5818 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5820 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5822 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5823 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5824 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5826 self.this.append(this)
5827 except __builtin__.Exception:
5830 def set_maximum_translation(self, mt):
5831 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5832 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5835 def set_maximum_rotation(self, mr):
5836 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5837 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5840 def get_maximum_translation(self):
5841 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5842 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5845 def get_maximum_rotation(self):
5846 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5847 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5850 def get_version_info(self):
5851 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5852 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5856 """__str__(TransformationSymmetryMover self) -> std::string"""
5857 return _IMP_core.TransformationSymmetryMover___str__(self)
5861 """__repr__(TransformationSymmetryMover self) -> std::string"""
5862 return _IMP_core.TransformationSymmetryMover___repr__(self)
5867 return _object_cast_to_TransformationSymmetryMover(o)
5869 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
5870 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5873 """Proxy of C++ IMP::core::DihedralRestraint class."""
5875 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5877 def __init__(self, m, score_func, p1, p2, p3, p4):
5878 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5879 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
5881 self.this.append(this)
5882 except __builtin__.Exception:
5885 def do_get_inputs(self):
5886 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5887 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5890 def get_version_info(self):
5891 """get_version_info(DihedralRestraint self) -> VersionInfo"""
5892 return _IMP_core.DihedralRestraint_get_version_info(self)
5896 """__str__(DihedralRestraint self) -> std::string"""
5897 return _IMP_core.DihedralRestraint___str__(self)
5901 """__repr__(DihedralRestraint self) -> std::string"""
5902 return _IMP_core.DihedralRestraint___repr__(self)
5907 return _object_cast_to_DihedralRestraint(o)
5909 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
5910 DihedralRestraint_swigregister(DihedralRestraint)
5913 """Proxy of C++ IMP::core::DistancePairScore class."""
5915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5917 def __init__(self, *args):
5919 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
5920 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
5922 this = _IMP_core.new_DistancePairScore(*args)
5924 self.this.append(this)
5925 except __builtin__.Exception:
5928 def do_get_inputs(self, m, pis):
5929 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5930 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
5933 def get_version_info(self):
5934 """get_version_info(DistancePairScore self) -> VersionInfo"""
5935 return _IMP_core.DistancePairScore_get_version_info(self)
5939 """__str__(DistancePairScore self) -> std::string"""
5940 return _IMP_core.DistancePairScore___str__(self)
5944 """__repr__(DistancePairScore self) -> std::string"""
5945 return _IMP_core.DistancePairScore___repr__(self)
5950 return _object_cast_to_DistancePairScore(o)
5952 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
5953 DistancePairScore_swigregister(DistancePairScore)
5956 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
5958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5960 def __init__(self, *args):
5962 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
5963 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
5965 this = _IMP_core.new_HarmonicDistancePairScore(*args)
5967 self.this.append(this)
5968 except __builtin__.Exception:
5971 def do_get_inputs(self, m, pis):
5972 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5973 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
5976 def get_version_info(self):
5977 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
5978 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
5982 """__str__(HarmonicDistancePairScore self) -> std::string"""
5983 return _IMP_core.HarmonicDistancePairScore___str__(self)
5987 """__repr__(HarmonicDistancePairScore self) -> std::string"""
5988 return _IMP_core.HarmonicDistancePairScore___repr__(self)
5993 return _object_cast_to_HarmonicDistancePairScore(o)
5995 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
5996 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
5999 """Proxy of C++ IMP::core::DistanceRestraint 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::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
6006 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6008 this = _IMP_core.new_DistanceRestraint(*args)
6010 self.this.append(this)
6011 except __builtin__.Exception:
6014 def get_version_info(self):
6015 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6016 return _IMP_core.DistanceRestraint_get_version_info(self)
6020 """__str__(DistanceRestraint self) -> std::string"""
6021 return _IMP_core.DistanceRestraint___str__(self)
6025 """__repr__(DistanceRestraint self) -> std::string"""
6026 return _IMP_core.DistanceRestraint___repr__(self)
6031 return _object_cast_to_DistanceRestraint(o)
6033 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6034 DistanceRestraint_swigregister(DistanceRestraint)
6037 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
6039 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6041 def __init__(self, f, pt):
6042 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6043 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6045 self.this.append(this)
6046 except __builtin__.Exception:
6049 def do_get_inputs(self, m, pis):
6050 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6051 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6054 def get_version_info(self):
6055 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6056 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6060 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6061 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6065 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6066 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6071 return _object_cast_to_SphereDistanceToSingletonScore(o)
6073 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6074 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6077 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
6079 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6081 def __init__(self, *args):
6083 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6084 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6085 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6086 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6088 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6090 self.this.append(this)
6091 except __builtin__.Exception:
6094 def do_get_inputs(self):
6095 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6096 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6099 def get_version_info(self):
6100 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6101 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6104 def do_create_decomposition(self):
6105 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6106 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6109 def do_create_current_decomposition(self):
6110 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6111 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6115 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6116 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6119 def remove_pair_filter(self, d):
6120 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6121 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6124 def remove_pair_filters(self, d):
6125 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6126 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6129 def set_pair_filters(self, ps):
6130 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6131 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6134 def set_pair_filters_order(self, objs):
6135 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6136 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6139 def add_pair_filter(self, obj):
6140 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6141 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6144 def add_pair_filters(self, objs):
6145 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6146 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6149 def clear_pair_filters(self):
6150 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6151 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6154 def get_number_of_pair_filters(self):
6155 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6156 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6159 def get_has_pair_filters(self):
6160 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6161 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6164 def get_pair_filter(self, i):
6165 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6166 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6169 def get_pair_filters(self):
6170 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6171 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6174 def reserve_pair_filters(self, sz):
6175 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6176 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6180 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6181 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6185 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6186 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6191 return _object_cast_to_ExcludedVolumeRestraint(o)
6193 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6194 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6197 """Proxy of C++ IMP::core::FixedRefiner class."""
6199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6201 def __init__(self, *args):
6203 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6204 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6206 this = _IMP_core.new_FixedRefiner(*args)
6208 self.this.append(this)
6209 except __builtin__.Exception:
6212 def do_get_inputs(self, m, pis):
6213 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6214 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6217 def get_version_info(self):
6218 """get_version_info(FixedRefiner self) -> VersionInfo"""
6219 return _IMP_core.FixedRefiner_get_version_info(self)
6223 """__str__(FixedRefiner self) -> std::string"""
6224 return _IMP_core.FixedRefiner___str__(self)
6228 """__repr__(FixedRefiner self) -> std::string"""
6229 return _IMP_core.FixedRefiner___repr__(self)
6234 return _object_cast_to_FixedRefiner(o)
6236 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6237 FixedRefiner_swigregister(FixedRefiner)
6239 class GridClosePairsFinder(ClosePairsFinder):
6240 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
6242 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6245 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6246 this = _IMP_core.new_GridClosePairsFinder()
6248 self.this.append(this)
6249 except __builtin__.Exception:
6252 def get_close_pairs(self, *args):
6254 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6255 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6256 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6257 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6259 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6262 def do_get_inputs(self, m, pis):
6263 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6264 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6267 def get_version_info(self):
6268 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6269 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6273 """__str__(GridClosePairsFinder self) -> std::string"""
6274 return _IMP_core.GridClosePairsFinder___str__(self)
6278 """__repr__(GridClosePairsFinder self) -> std::string"""
6279 return _IMP_core.GridClosePairsFinder___repr__(self)
6284 return _object_cast_to_GridClosePairsFinder(o)
6286 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6287 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6290 """Proxy of C++ IMP::core::Harmonic class."""
6292 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6294 def __init__(self, mean, k):
6295 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6296 this = _IMP_core.new_Harmonic(mean, k)
6298 self.this.append(this)
6299 except __builtin__.Exception:
6302 def get_version_info(self):
6303 """get_version_info(Harmonic self) -> VersionInfo"""
6304 return _IMP_core.Harmonic_get_version_info(self)
6308 """get_mean(Harmonic self) -> IMP::Float"""
6309 return _IMP_core.Harmonic_get_mean(self)
6313 """get_k(Harmonic self) -> IMP::Float"""
6314 return _IMP_core.Harmonic_get_k(self)
6317 def set_mean(self, mean):
6318 """set_mean(Harmonic self, IMP::Float mean)"""
6319 return _IMP_core.Harmonic_set_mean(self, mean)
6323 """set_k(Harmonic self, IMP::Float k)"""
6324 return _IMP_core.Harmonic_set_k(self, k)
6327 def get_k_from_standard_deviation(sd, t=297.15):
6329 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6330 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6332 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6334 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6337 """__str__(Harmonic self) -> std::string"""
6338 return _IMP_core.Harmonic___str__(self)
6342 """__repr__(Harmonic self) -> std::string"""
6343 return _IMP_core.Harmonic___repr__(self)
6348 return _object_cast_to_Harmonic(o)
6350 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6351 Harmonic_swigregister(Harmonic)
6353 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6355 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6356 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6358 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6361 """Proxy of C++ IMP::core::HarmonicWell class."""
6363 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6365 def __init__(self, well, k):
6366 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6367 this = _IMP_core.new_HarmonicWell(well, k)
6369 self.this.append(this)
6370 except __builtin__.Exception:
6373 def get_version_info(self):
6374 """get_version_info(HarmonicWell self) -> VersionInfo"""
6375 return _IMP_core.HarmonicWell_get_version_info(self)
6379 """__str__(HarmonicWell self) -> std::string"""
6380 return _IMP_core.HarmonicWell___str__(self)
6384 """__repr__(HarmonicWell self) -> std::string"""
6385 return _IMP_core.HarmonicWell___repr__(self)
6390 return _object_cast_to_HarmonicWell(o)
6392 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6393 HarmonicWell_swigregister(HarmonicWell)
6395 class HarmonicLowerBound(Harmonic):
6396 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
6398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6400 def __init__(self, mean, k):
6401 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6402 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6404 self.this.append(this)
6405 except __builtin__.Exception:
6409 """__str__(HarmonicLowerBound self) -> std::string"""
6410 return _IMP_core.HarmonicLowerBound___str__(self)
6414 """__repr__(HarmonicLowerBound self) -> std::string"""
6415 return _IMP_core.HarmonicLowerBound___repr__(self)
6420 return _object_cast_to_HarmonicLowerBound(o)
6422 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6423 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6425 class HarmonicUpperBound(Harmonic):
6426 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
6428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6430 def __init__(self, mean, k):
6431 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6432 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6434 self.this.append(this)
6435 except __builtin__.Exception:
6439 """__str__(HarmonicUpperBound self) -> std::string"""
6440 return _IMP_core.HarmonicUpperBound___str__(self)
6444 """__repr__(HarmonicUpperBound self) -> std::string"""
6445 return _IMP_core.HarmonicUpperBound___repr__(self)
6450 return _object_cast_to_HarmonicUpperBound(o)
6452 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6453 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6456 """Proxy of C++ IMP::core::WeightedSum class."""
6458 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6460 def __init__(self, funcs, weights):
6461 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6462 this = _IMP_core.new_WeightedSum(funcs, weights)
6464 self.this.append(this)
6465 except __builtin__.Exception:
6468 def get_function_number(self):
6469 """get_function_number(WeightedSum self) -> unsigned int"""
6470 return _IMP_core.WeightedSum_get_function_number(self)
6473 def set_weights(self, weights):
6474 """set_weights(WeightedSum self, IMP::Floats weights)"""
6475 return _IMP_core.WeightedSum_set_weights(self, weights)
6478 def get_weights(self):
6479 """get_weights(WeightedSum self) -> IMP::Floats"""
6480 return _IMP_core.WeightedSum_get_weights(self)
6483 def get_weight(self, i):
6484 """get_weight(WeightedSum self, unsigned int i) -> double"""
6485 return _IMP_core.WeightedSum_get_weight(self, i)
6488 def get_function(self, i):
6489 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6490 return _IMP_core.WeightedSum_get_function(self, i)
6493 def get_version_info(self):
6494 """get_version_info(WeightedSum self) -> VersionInfo"""
6495 return _IMP_core.WeightedSum_get_version_info(self)
6499 """__str__(WeightedSum self) -> std::string"""
6500 return _IMP_core.WeightedSum___str__(self)
6504 """__repr__(WeightedSum self) -> std::string"""
6505 return _IMP_core.WeightedSum___repr__(self)
6510 return _object_cast_to_WeightedSum(o)
6512 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6513 WeightedSum_swigregister(WeightedSum)
6516 """Proxy of C++ IMP::core::WeightedSumOfExponential class."""
6518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6520 def __init__(self, funcs, weights, denom=1.0):
6522 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6523 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6525 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6527 self.this.append(this)
6528 except __builtin__.Exception:
6531 def get_function_number(self):
6532 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6533 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6536 def set_weights(self, weights):
6537 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6538 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6541 def get_weights(self):
6542 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6543 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6546 def get_weight(self, i):
6547 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6548 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6551 def get_function(self, i):
6552 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6553 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6556 def set_denominator(self, denom):
6557 """set_denominator(WeightedSumOfExponential self, double denom)"""
6558 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6561 def get_denominator(self):
6562 """get_denominator(WeightedSumOfExponential self) -> double"""
6563 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6566 def get_version_info(self):
6567 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6568 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6572 """__str__(WeightedSumOfExponential self) -> std::string"""
6573 return _IMP_core.WeightedSumOfExponential___str__(self)
6577 """__repr__(WeightedSumOfExponential self) -> std::string"""
6578 return _IMP_core.WeightedSumOfExponential___repr__(self)
6583 return _object_cast_to_WeightedSumOfExponential(o)
6585 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6586 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6589 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
6591 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6593 def __init__(self, m, ps, eps=0.1):
6595 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6596 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6598 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6600 self.this.append(this)
6601 except __builtin__.Exception:
6604 def add_type(self, ps):
6605 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6606 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6609 def add_composite(self, *args):
6611 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6612 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6614 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6617 def get_connected_pairs(self):
6618 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6619 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6622 def get_pair_score(self):
6623 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6624 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6627 def do_create_current_decomposition(self):
6628 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6629 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6632 def do_get_inputs(self):
6633 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6634 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6637 def get_version_info(self):
6638 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6639 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6643 """__str__(MSConnectivityRestraint self) -> std::string"""
6644 return _IMP_core.MSConnectivityRestraint___str__(self)
6648 """__repr__(MSConnectivityRestraint self) -> std::string"""
6649 return _IMP_core.MSConnectivityRestraint___repr__(self)
6654 return _object_cast_to_MSConnectivityRestraint(o)
6656 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6657 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6659 class HierarchyTraits(object):
6660 """Proxy of C++ IMP::core::HierarchyTraits class."""
6662 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6664 def __init__(self, *args):
6666 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6667 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6669 this = _IMP_core.new_HierarchyTraits(*args)
6671 self.this.append(this)
6672 except __builtin__.Exception:
6675 def get_children_key(self):
6676 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6677 return _IMP_core.HierarchyTraits_get_children_key(self)
6680 def get_parent_key(self):
6681 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6682 return _IMP_core.HierarchyTraits_get_parent_key(self)
6685 def __eq__(self, o):
6686 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6687 return _IMP_core.HierarchyTraits___eq__(self, o)
6690 def show(self, *args):
6692 show(HierarchyTraits self, _ostream out)
6693 show(HierarchyTraits self)
6695 return _IMP_core.HierarchyTraits_show(self, *args)
6699 """__str__(HierarchyTraits self) -> std::string"""
6700 return _IMP_core.HierarchyTraits___str__(self)
6704 """__repr__(HierarchyTraits self) -> std::string"""
6705 return _IMP_core.HierarchyTraits___repr__(self)
6707 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6708 __del__ =
lambda self:
None
6709 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6710 HierarchyTraits_swigregister(HierarchyTraits)
6713 """Proxy of C++ IMP::core::Hierarchy class."""
6715 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6717 def get_decorator_traits(self):
6718 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6719 return _IMP_core.Hierarchy_get_decorator_traits(self)
6722 def get_default_decorator_traits():
6723 """get_default_decorator_traits() -> HierarchyTraits"""
6724 return _IMP_core.Hierarchy_get_default_decorator_traits()
6726 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6728 def __init__(self, *args):
6730 __init__(IMP::core::Hierarchy self) -> Hierarchy
6731 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6732 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6733 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6734 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6736 this = _IMP_core.new_Hierarchy(*args)
6738 self.this.append(this)
6739 except __builtin__.Exception:
6742 def show(self, *args):
6744 show(Hierarchy self, _ostream out)
6745 show(Hierarchy self)
6747 return _IMP_core.Hierarchy_show(self, *args)
6750 def setup_particle(*args):
6752 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6753 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6754 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6755 setup_particle(_ParticleAdaptor d) -> Hierarchy
6756 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6757 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6758 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6759 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6760 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6761 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6762 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6763 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6765 return _IMP_core.Hierarchy_setup_particle(*args)
6767 setup_particle = staticmethod(setup_particle)
6769 def get_is_setup(*args):
6771 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6772 get_is_setup(_ParticleAdaptor p) -> bool
6773 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6774 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6776 return _IMP_core.Hierarchy_get_is_setup(*args)
6778 get_is_setup = staticmethod(get_is_setup)
6780 def get_parent(self):
6781 """get_parent(Hierarchy self) -> Hierarchy"""
6782 return _IMP_core.Hierarchy_get_parent(self)
6785 def get_number_of_children(self):
6786 """get_number_of_children(Hierarchy self) -> unsigned int"""
6787 return _IMP_core.Hierarchy_get_number_of_children(self)
6790 def get_child(self, i):
6791 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6792 return _IMP_core.Hierarchy_get_child(self, i)
6795 def get_children_indexes(self):
6796 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6797 return _IMP_core.Hierarchy_get_children_indexes(self)
6800 def get_children(self):
6801 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6802 return _IMP_core.Hierarchy_get_children(self)
6805 def remove_child(self, *args):
6807 remove_child(Hierarchy self, unsigned int i)
6808 remove_child(Hierarchy self, Hierarchy h)
6810 return _IMP_core.Hierarchy_remove_child(self, *args)
6813 def clear_children(self):
6814 """clear_children(Hierarchy self)"""
6815 return _IMP_core.Hierarchy_clear_children(self)
6818 def add_child(self, h):
6819 """add_child(Hierarchy self, Hierarchy h)"""
6820 return _IMP_core.Hierarchy_add_child(self, h)
6823 def add_child_at(self, h, pos):
6824 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6825 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6828 def get_child_index(self, *args):
6830 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6831 get_child_index(Hierarchy self) -> int
6833 return _IMP_core.Hierarchy_get_child_index(self, *args)
6836 def get_default_traits():
6837 """get_default_traits() -> HierarchyTraits"""
6838 return _IMP_core.Hierarchy_get_default_traits()
6840 get_default_traits = staticmethod(get_default_traits)
6842 def get_traits(self):
6843 """get_traits(Hierarchy self) -> HierarchyTraits"""
6844 return _IMP_core.Hierarchy_get_traits(self)
6847 def add_attribute(self, *args):
6849 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6850 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6851 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6852 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6853 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6854 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6856 return _IMP_core.Hierarchy_add_attribute(self, *args)
6859 def get_value(self, *args):
6861 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6862 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6863 get_value(Hierarchy self, StringKey a0) -> IMP::String
6864 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6865 get_value(Hierarchy self, ObjectKey a0) -> Object
6867 return _IMP_core.Hierarchy_get_value(self, *args)
6870 def set_value(self, *args):
6872 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6873 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6874 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6875 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6876 set_value(Hierarchy self, ObjectKey a0, Object a1)
6878 return _IMP_core.Hierarchy_set_value(self, *args)
6881 def remove_attribute(self, *args):
6883 remove_attribute(Hierarchy self, FloatKey a0)
6884 remove_attribute(Hierarchy self, IntKey a0)
6885 remove_attribute(Hierarchy self, StringKey a0)
6886 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6887 remove_attribute(Hierarchy self, ObjectKey a0)
6889 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6892 def has_attribute(self, *args):
6894 has_attribute(Hierarchy self, FloatKey a0) -> bool
6895 has_attribute(Hierarchy self, IntKey a0) -> bool
6896 has_attribute(Hierarchy self, StringKey a0) -> bool
6897 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6898 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6900 return _IMP_core.Hierarchy_has_attribute(self, *args)
6903 def get_derivative(self, a0):
6904 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
6905 return _IMP_core.Hierarchy_get_derivative(self, a0)
6909 """get_name(Hierarchy self) -> std::string"""
6910 return _IMP_core.Hierarchy_get_name(self)
6913 def clear_caches(self):
6914 """clear_caches(Hierarchy self)"""
6915 return _IMP_core.Hierarchy_clear_caches(self)
6918 def set_name(self, a0):
6919 """set_name(Hierarchy self, std::string a0)"""
6920 return _IMP_core.Hierarchy_set_name(self, a0)
6924 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
6925 return _IMP_core.Hierarchy_set_check_level(self, a0)
6928 def add_to_derivative(self, a0, a1, a2):
6929 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6930 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
6933 def set_is_optimized(self, a0, a1):
6934 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
6935 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
6938 def get_is_optimized(self, a0):
6939 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
6940 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
6944 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
6945 return _IMP_core.Hierarchy_get_check_level(self)
6948 def __eq__(self, *args):
6950 __eq__(Hierarchy self, Hierarchy o) -> bool
6951 __eq__(Hierarchy self, Particle d) -> bool
6953 return _IMP_core.Hierarchy___eq__(self, *args)
6956 def __ne__(self, *args):
6958 __ne__(Hierarchy self, Hierarchy o) -> bool
6959 __ne__(Hierarchy self, Particle d) -> bool
6961 return _IMP_core.Hierarchy___ne__(self, *args)
6964 def __le__(self, *args):
6966 __le__(Hierarchy self, Hierarchy o) -> bool
6967 __le__(Hierarchy self, Particle d) -> bool
6969 return _IMP_core.Hierarchy___le__(self, *args)
6972 def __lt__(self, *args):
6974 __lt__(Hierarchy self, Hierarchy o) -> bool
6975 __lt__(Hierarchy self, Particle d) -> bool
6977 return _IMP_core.Hierarchy___lt__(self, *args)
6980 def __ge__(self, *args):
6982 __ge__(Hierarchy self, Hierarchy o) -> bool
6983 __ge__(Hierarchy self, Particle d) -> bool
6985 return _IMP_core.Hierarchy___ge__(self, *args)
6988 def __gt__(self, *args):
6990 __gt__(Hierarchy self, Hierarchy o) -> bool
6991 __gt__(Hierarchy self, Particle d) -> bool
6993 return _IMP_core.Hierarchy___gt__(self, *args)
6997 """__hash__(Hierarchy self) -> std::size_t"""
6998 return _IMP_core.Hierarchy___hash__(self)
7002 """__str__(Hierarchy self) -> std::string"""
7003 return _IMP_core.Hierarchy___str__(self)
7007 """__repr__(Hierarchy self) -> std::string"""
7008 return _IMP_core.Hierarchy___repr__(self)
7010 __swig_destroy__ = _IMP_core.delete_Hierarchy
7011 __del__ =
lambda self:
None
7012 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7013 Hierarchy_swigregister(Hierarchy)
7015 def Hierarchy_get_default_decorator_traits():
7016 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7017 return _IMP_core.Hierarchy_get_default_decorator_traits()
7019 def Hierarchy_setup_particle(*args):
7021 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7022 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7023 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7024 setup_particle(_ParticleAdaptor d) -> Hierarchy
7025 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7026 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7027 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7028 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7029 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7030 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7031 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7032 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7034 return _IMP_core.Hierarchy_setup_particle(*args)
7036 def Hierarchy_get_is_setup(*args):
7038 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7039 get_is_setup(_ParticleAdaptor p) -> bool
7040 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7041 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7043 return _IMP_core.Hierarchy_get_is_setup(*args)
7045 def Hierarchy_get_default_traits():
7046 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7047 return _IMP_core.Hierarchy_get_default_traits()
7049 class HierarchyVisitor(object):
7050 """Proxy of C++ IMP::core::HierarchyVisitor class."""
7052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7053 __repr__ = _swig_repr
7056 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7057 if self.__class__ == HierarchyVisitor:
7061 this = _IMP_core.new_HierarchyVisitor(_self, )
7063 self.this.append(this)
7064 except __builtin__.Exception:
7067 if self.__class__ != HierarchyVisitor:
7068 _director_objects.register(self)
7073 def __call__(self, p):
7074 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7075 return _IMP_core.HierarchyVisitor___call__(self, p)
7077 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7078 __del__ =
lambda self:
None
7079 def __disown__(self):
7081 _IMP_core.disown_HierarchyVisitor(self)
7082 return weakref_proxy(self)
7083 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7084 HierarchyVisitor_swigregister(HierarchyVisitor)
7086 class ModifierVisitor(HierarchyVisitor):
7087 """Proxy of C++ IMP::core::ModifierVisitor class."""
7089 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7090 __repr__ = _swig_repr
7092 def __init__(self, sm):
7093 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7094 this = _IMP_core.new_ModifierVisitor(sm)
7096 self.this.append(this)
7097 except __builtin__.Exception:
7099 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7100 __del__ =
lambda self:
None
7101 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7102 ModifierVisitor_swigregister(ModifierVisitor)
7104 class HierarchyCounter(HierarchyVisitor):
7105 """Proxy of C++ IMP::core::HierarchyCounter class."""
7107 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7110 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7111 this = _IMP_core.new_HierarchyCounter()
7113 self.this.append(this)
7114 except __builtin__.Exception:
7117 def get_count(self):
7118 """get_count(HierarchyCounter self) -> unsigned int"""
7119 return _IMP_core.HierarchyCounter_get_count(self)
7122 def show(self, *args):
7124 show(HierarchyCounter self, _ostream out)
7125 show(HierarchyCounter self)
7127 return _IMP_core.HierarchyCounter_show(self, *args)
7131 """__str__(HierarchyCounter self) -> std::string"""
7132 return _IMP_core.HierarchyCounter___str__(self)
7136 """__repr__(HierarchyCounter self) -> std::string"""
7137 return _IMP_core.HierarchyCounter___repr__(self)
7139 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7140 __del__ =
lambda self:
None
7141 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7142 HierarchyCounter_swigregister(HierarchyCounter)
7146 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7147 return _IMP_core.get_leaves(mhd)
7150 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7151 return _IMP_core.get_internal(mhd)
7154 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7155 return _IMP_core.get_all_descendants(mhd)
7158 """get_root(Hierarchy h) -> Hierarchy"""
7159 return _IMP_core.get_root(h)
7162 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7163 return _IMP_core.visit_breadth_first(d, f)
7166 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7167 return _IMP_core.visit_depth_first(d, f)
7169 """Proxy of C++ IMP::core::LeavesRefiner class."""
7171 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7173 def __init__(self, tr):
7174 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7175 this = _IMP_core.new_LeavesRefiner(tr)
7177 self.this.append(this)
7178 except __builtin__.Exception:
7181 def do_get_inputs(self, m, pis):
7182 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7183 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7186 def get_version_info(self):
7187 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7188 return _IMP_core.LeavesRefiner_get_version_info(self)
7192 """__str__(LeavesRefiner self) -> std::string"""
7193 return _IMP_core.LeavesRefiner___str__(self)
7197 """__repr__(LeavesRefiner self) -> std::string"""
7198 return _IMP_core.LeavesRefiner___repr__(self)
7203 return _object_cast_to_LeavesRefiner(o)
7205 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7206 LeavesRefiner_swigregister(LeavesRefiner)
7209 """Proxy of C++ IMP::core::Linear class."""
7211 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7213 def __init__(self, offset, slope):
7214 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7215 this = _IMP_core.new_Linear(offset, slope)
7217 self.this.append(this)
7218 except __builtin__.Exception:
7221 def set_slope(self, f):
7222 """set_slope(Linear self, double f)"""
7223 return _IMP_core.Linear_set_slope(self, f)
7226 def set_offset(self, f):
7227 """set_offset(Linear self, double f)"""
7228 return _IMP_core.Linear_set_offset(self, f)
7231 def get_version_info(self):
7232 """get_version_info(Linear self) -> VersionInfo"""
7233 return _IMP_core.Linear_get_version_info(self)
7237 """__str__(Linear self) -> std::string"""
7238 return _IMP_core.Linear___str__(self)
7242 """__repr__(Linear self) -> std::string"""
7243 return _IMP_core.Linear___repr__(self)
7248 return _object_cast_to_Linear(o)
7250 Linear_swigregister = _IMP_core.Linear_swigregister
7251 Linear_swigregister(Linear)
7253 class LogNormalMover(MonteCarloMover):
7254 """Proxy of C++ IMP::core::LogNormalMover class."""
7256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7258 def __init__(self, *args):
7260 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7261 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7262 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7263 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7265 this = _IMP_core.new_LogNormalMover(*args)
7267 self.this.append(this)
7268 except __builtin__.Exception:
7271 def set_sigma(self, sigma):
7272 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7273 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7276 def get_sigma(self):
7277 """get_sigma(LogNormalMover self) -> IMP::Float"""
7278 return _IMP_core.LogNormalMover_get_sigma(self)
7281 def get_version_info(self):
7282 """get_version_info(LogNormalMover self) -> VersionInfo"""
7283 return _IMP_core.LogNormalMover_get_version_info(self)
7287 """__str__(LogNormalMover self) -> std::string"""
7288 return _IMP_core.LogNormalMover___str__(self)
7292 """__repr__(LogNormalMover self) -> std::string"""
7293 return _IMP_core.LogNormalMover___repr__(self)
7298 return _object_cast_to_LogNormalMover(o)
7300 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7301 LogNormalMover_swigregister(LogNormalMover)
7304 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
7306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7308 def __init__(self, *args):
7310 __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
7311 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7312 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7313 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7315 this = _IMP_core.new_IncrementalScoringFunction(*args)
7317 self.this.append(this)
7318 except __builtin__.Exception:
7321 def reset_moved_particles(self):
7322 """reset_moved_particles(IncrementalScoringFunction self)"""
7323 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7326 def set_moved_particles(self, p):
7327 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7328 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7331 def add_close_pair_score(self, *args):
7333 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7334 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7336 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7339 def clear_close_pair_scores(self):
7340 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7341 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7344 def get_movable_indexes(self):
7345 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7346 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7349 def do_add_score_and_derivatives(self, sa, ss):
7350 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7351 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7354 def do_get_inputs(self):
7355 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7356 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7359 def handle_set_has_required_score_states(self, arg2):
7360 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7361 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7364 def get_version_info(self):
7365 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7366 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7370 """__str__(IncrementalScoringFunction self) -> std::string"""
7371 return _IMP_core.IncrementalScoringFunction___str__(self)
7375 """__repr__(IncrementalScoringFunction self) -> std::string"""
7376 return _IMP_core.IncrementalScoringFunction___repr__(self)
7381 return _object_cast_to_IncrementalScoringFunction(o)
7383 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7384 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7386 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7388 """Proxy of C++ IMP::core::MonteCarlo class."""
7390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7392 def __init__(self, m):
7393 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7394 this = _IMP_core.new_MonteCarlo(m)
7396 self.this.append(this)
7397 except __builtin__.Exception:
7400 def get_version_info(self):
7401 """get_version_info(MonteCarlo self) -> VersionInfo"""
7402 return _IMP_core.MonteCarlo_get_version_info(self)
7405 def set_return_best(self, tf):
7406 """set_return_best(MonteCarlo self, bool tf)"""
7407 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7410 def set_kt(self, t):
7411 """set_kt(MonteCarlo self, IMP::Float t)"""
7412 return _IMP_core.MonteCarlo_set_kt(self, t)
7416 """get_kt(MonteCarlo self) -> IMP::Float"""
7417 return _IMP_core.MonteCarlo_get_kt(self)
7420 def get_last_accepted_energy(self):
7421 """get_last_accepted_energy(MonteCarlo self) -> double"""
7422 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7425 def get_best_accepted_energy(self):
7426 """get_best_accepted_energy(MonteCarlo self) -> double"""
7427 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7430 def get_number_of_downward_steps(self):
7431 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7432 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7435 def get_number_of_upward_steps(self):
7436 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7437 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7440 def get_number_of_proposed_steps(self):
7441 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7442 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7445 def get_number_of_accepted_steps(self):
7446 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7447 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7450 def reset_statistics(self):
7451 """reset_statistics(MonteCarlo self)"""
7452 return _IMP_core.MonteCarlo_reset_statistics(self)
7455 def set_score_threshold(self, s):
7456 """set_score_threshold(MonteCarlo self, double s)"""
7457 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7460 def get_score_threshold(self):
7461 """get_score_threshold(MonteCarlo self) -> double"""
7462 return _IMP_core.MonteCarlo_get_score_threshold(self)
7465 def set_maximum_difference(self, d):
7466 """set_maximum_difference(MonteCarlo self, double d)"""
7467 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7470 def get_maximum_difference(self):
7471 """get_maximum_difference(MonteCarlo self) -> double"""
7472 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7475 def remove_mover(self, d):
7476 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7477 return _IMP_core.MonteCarlo_remove_mover(self, d)
7480 def remove_movers(self, d):
7481 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7482 return _IMP_core.MonteCarlo_remove_movers(self, d)
7485 def set_movers(self, ps):
7486 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7487 return _IMP_core.MonteCarlo_set_movers(self, ps)
7490 def set_movers_order(self, objs):
7491 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7492 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7495 def add_mover(self, obj):
7496 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7497 return _IMP_core.MonteCarlo_add_mover(self, obj)
7500 def add_movers(self, objs):
7501 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7502 return _IMP_core.MonteCarlo_add_movers(self, objs)
7505 def clear_movers(self):
7506 """clear_movers(MonteCarlo self)"""
7507 return _IMP_core.MonteCarlo_clear_movers(self)
7510 def get_number_of_movers(self):
7511 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7512 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7515 def get_has_movers(self):
7516 """get_has_movers(MonteCarlo self) -> bool"""
7517 return _IMP_core.MonteCarlo_get_has_movers(self)
7520 def get_mover(self, i):
7521 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7522 return _IMP_core.MonteCarlo_get_mover(self, i)
7525 def get_movers(self):
7526 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7527 return _IMP_core.MonteCarlo_get_movers(self)
7530 def reserve_movers(self, sz):
7531 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7532 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7535 def set_incremental_scoring_function(self, isf):
7536 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7537 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7540 def get_use_incremental_scoring_function(self):
7541 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7542 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7545 def get_incremental_scoring_function(self):
7546 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7547 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7551 """__str__(MonteCarlo self) -> std::string"""
7552 return _IMP_core.MonteCarlo___str__(self)
7556 """__repr__(MonteCarlo self) -> std::string"""
7557 return _IMP_core.MonteCarlo___repr__(self)
7562 return _object_cast_to_MonteCarlo(o)
7564 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7565 MonteCarlo_swigregister(MonteCarlo)
7567 class MonteCarloWithLocalOptimization(MonteCarlo):
7568 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
7570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7572 def __init__(self, opt, steps):
7573 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7574 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7576 self.this.append(this)
7577 except __builtin__.Exception:
7580 def get_number_of_steps(self):
7581 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7582 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7585 def get_local_optimizer(self):
7586 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7587 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7591 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7592 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7596 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7597 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7602 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7604 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7605 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7607 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7608 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
7610 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7612 def __init__(self, opt, ns):
7613 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7614 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7616 self.this.append(this)
7617 except __builtin__.Exception:
7621 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7622 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7626 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7627 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7632 return _object_cast_to_MonteCarloWithBasinHopping(o)
7634 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7635 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7638 """Proxy of C++ IMP::core::NeighborsTable class."""
7640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7642 def __init__(self, *args):
7644 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7645 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7647 this = _IMP_core.new_NeighborsTable(*args)
7649 self.this.append(this)
7650 except __builtin__.Exception:
7653 def get_neighbors(self, pi):
7654 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7655 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7658 def get_version_info(self):
7659 """get_version_info(NeighborsTable self) -> VersionInfo"""
7660 return _IMP_core.NeighborsTable_get_version_info(self)
7664 """__str__(NeighborsTable self) -> std::string"""
7665 return _IMP_core.NeighborsTable___str__(self)
7669 """__repr__(NeighborsTable self) -> std::string"""
7670 return _IMP_core.NeighborsTable___repr__(self)
7675 return _object_cast_to_NeighborsTable(o)
7677 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7678 NeighborsTable_swigregister(NeighborsTable)
7680 class NormalMover(MonteCarloMover):
7681 """Proxy of C++ IMP::core::NormalMover class."""
7683 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7685 def __init__(self, *args):
7687 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7688 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7689 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7690 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7692 this = _IMP_core.new_NormalMover(*args)
7694 self.this.append(this)
7695 except __builtin__.Exception:
7698 def set_sigma(self, sigma):
7699 """set_sigma(NormalMover self, IMP::Float sigma)"""
7700 return _IMP_core.NormalMover_set_sigma(self, sigma)
7703 def get_sigma(self):
7704 """get_sigma(NormalMover self) -> IMP::Float"""
7705 return _IMP_core.NormalMover_get_sigma(self)
7708 def get_version_info(self):
7709 """get_version_info(NormalMover self) -> VersionInfo"""
7710 return _IMP_core.NormalMover_get_version_info(self)
7714 """__str__(NormalMover self) -> std::string"""
7715 return _IMP_core.NormalMover___str__(self)
7719 """__repr__(NormalMover self) -> std::string"""
7720 return _IMP_core.NormalMover___repr__(self)
7725 return _object_cast_to_NormalMover(o)
7727 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7728 NormalMover_swigregister(NormalMover)
7730 class OpenCubicSpline(_OpenCubicSplineBase):
7731 """Proxy of C++ IMP::core::OpenCubicSpline class."""
7733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7735 def __init__(self, values, minrange, spacing, extend=False):
7737 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7738 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7740 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7742 self.this.append(this)
7743 except __builtin__.Exception:
7747 """__str__(OpenCubicSpline self) -> std::string"""
7748 return _IMP_core.OpenCubicSpline___str__(self)
7752 """__repr__(OpenCubicSpline self) -> std::string"""
7753 return _IMP_core.OpenCubicSpline___repr__(self)
7758 return _object_cast_to_OpenCubicSpline(o)
7760 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7761 __del__ =
lambda self:
None
7762 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7763 OpenCubicSpline_swigregister(OpenCubicSpline)
7765 class QuadraticClosePairsFinder(ClosePairsFinder):
7766 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
7768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7771 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7772 this = _IMP_core.new_QuadraticClosePairsFinder()
7774 self.this.append(this)
7775 except __builtin__.Exception:
7778 def get_are_close_and_filtered(self, *args):
7780 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7781 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7783 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7786 def get_close_pairs(self, *args):
7788 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7789 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7790 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7791 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7793 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7796 def do_get_inputs(self, m, pis):
7797 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7798 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7801 def get_version_info(self):
7802 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7803 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7807 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7808 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7812 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7813 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7818 return _object_cast_to_QuadraticClosePairsFinder(o)
7820 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7821 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7824 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7828 def __init__(self, r, f):
7829 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7830 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7832 self.this.append(this)
7833 except __builtin__.Exception:
7836 def do_get_inputs(self, m, pis):
7837 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7838 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7841 def get_version_info(self):
7842 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7843 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7847 """__str__(RefinedPairsPairScore self) -> std::string"""
7848 return _IMP_core.RefinedPairsPairScore___str__(self)
7852 """__repr__(RefinedPairsPairScore self) -> std::string"""
7853 return _IMP_core.RefinedPairsPairScore___repr__(self)
7858 return _object_cast_to_RefinedPairsPairScore(o)
7860 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
7861 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7863 class RigidBody(XYZ):
7864 """Proxy of C++ IMP::core::RigidBody class."""
7866 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7868 def get_rigid_members(self):
7869 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7870 return _IMP_core.RigidBody_get_rigid_members(self)
7873 def get_member_particle_indexes(self):
7874 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7875 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7878 def get_body_member_particle_indexes(self):
7879 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7880 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7883 def get_member_indexes(self):
7884 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7885 return _IMP_core.RigidBody_get_member_indexes(self)
7888 def __init__(self, *args):
7890 __init__(IMP::core::RigidBody self) -> RigidBody
7891 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7892 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7894 this = _IMP_core.new_RigidBody(*args)
7896 self.this.append(this)
7897 except __builtin__.Exception:
7900 def show(self, *args):
7902 show(RigidBody self, _ostream out)
7903 show(RigidBody self)
7905 return _IMP_core.RigidBody_show(self, *args)
7908 def setup_particle(*args):
7910 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7911 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7912 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7913 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7915 return _IMP_core.RigidBody_setup_particle(*args)
7917 setup_particle = staticmethod(setup_particle)
7919 def teardown_particle(rb):
7920 """teardown_particle(RigidBody rb)"""
7921 return _IMP_core.RigidBody_teardown_particle(rb)
7923 teardown_particle = staticmethod(teardown_particle)
7924 __swig_destroy__ = _IMP_core.delete_RigidBody
7925 __del__ =
lambda self:
None
7927 def get_is_setup(*args):
7929 get_is_setup(_ParticleAdaptor p) -> bool
7930 get_is_setup(Model m, ParticleIndex pi) -> bool
7932 return _IMP_core.RigidBody_get_is_setup(*args)
7934 get_is_setup = staticmethod(get_is_setup)
7936 def get_coordinates(self):
7937 """get_coordinates(RigidBody self) -> Vector3D"""
7938 return _IMP_core.RigidBody_get_coordinates(self)
7941 def get_rotation(self):
7942 """get_rotation(RigidBody self) -> Rotation3D"""
7943 return _IMP_core.RigidBody_get_rotation(self)
7946 def get_reference_frame(self):
7947 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7948 return _IMP_core.RigidBody_get_reference_frame(self)
7951 def set_reference_frame(self, tr):
7952 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7953 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7956 def set_reference_frame_lazy(self, tr):
7957 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7958 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7961 def set_reference_frame_from_members(self, members):
7962 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7963 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7966 def add_to_derivatives(self, *args):
7968 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7969 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7971 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
7974 def add_to_rotational_derivatives(self, *args):
7976 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7977 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
7979 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
7982 def add_to_torque(self, torque_local, da):
7983 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
7984 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
7987 def get_torque(self):
7988 """get_torque(RigidBody self) -> Vector3D"""
7989 return _IMP_core.RigidBody_get_torque(self)
7992 def get_coordinates_are_optimized(self):
7993 """get_coordinates_are_optimized(RigidBody self) -> bool"""
7994 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
7997 def set_coordinates_are_optimized(self, tf):
7998 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
7999 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8002 def normalize_rotation(self):
8003 """normalize_rotation(RigidBody self)"""
8004 return _IMP_core.RigidBody_normalize_rotation(self)
8007 def update_members(self):
8008 """update_members(RigidBody self)"""
8009 return _IMP_core.RigidBody_update_members(self)
8012 def get_rotational_derivatives(self):
8013 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8014 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8017 def get_number_of_members(self):
8018 """get_number_of_members(RigidBody self) -> unsigned int"""
8019 return _IMP_core.RigidBody_get_number_of_members(self)
8022 def get_member(self, i):
8023 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8024 return _IMP_core.RigidBody_get_member(self, i)
8027 def add_member(self, p):
8028 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8029 return _IMP_core.RigidBody_add_member(self, p)
8032 def add_non_rigid_member(self, p):
8033 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8034 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8037 def set_is_rigid_member(self, pi, tf):
8038 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8039 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8042 def add_attribute(self, *args):
8044 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8045 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8046 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8047 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8048 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8049 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8051 return _IMP_core.RigidBody_add_attribute(self, *args)
8054 def get_value(self, *args):
8056 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8057 get_value(RigidBody self, IntKey a0) -> IMP::Int
8058 get_value(RigidBody self, StringKey a0) -> IMP::String
8059 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8060 get_value(RigidBody self, ObjectKey a0) -> Object
8062 return _IMP_core.RigidBody_get_value(self, *args)
8065 def set_value(self, *args):
8067 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8068 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8069 set_value(RigidBody self, StringKey a0, IMP::String a1)
8070 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8071 set_value(RigidBody self, ObjectKey a0, Object a1)
8073 return _IMP_core.RigidBody_set_value(self, *args)
8076 def remove_attribute(self, *args):
8078 remove_attribute(RigidBody self, FloatKey a0)
8079 remove_attribute(RigidBody self, IntKey a0)
8080 remove_attribute(RigidBody self, StringKey a0)
8081 remove_attribute(RigidBody self, ParticleIndexKey a0)
8082 remove_attribute(RigidBody self, ObjectKey a0)
8084 return _IMP_core.RigidBody_remove_attribute(self, *args)
8087 def has_attribute(self, *args):
8089 has_attribute(RigidBody self, FloatKey a0) -> bool
8090 has_attribute(RigidBody self, IntKey a0) -> bool
8091 has_attribute(RigidBody self, StringKey a0) -> bool
8092 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8093 has_attribute(RigidBody self, ObjectKey a0) -> bool
8095 return _IMP_core.RigidBody_has_attribute(self, *args)
8098 def get_derivative(self, a0):
8099 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8100 return _IMP_core.RigidBody_get_derivative(self, a0)
8104 """get_name(RigidBody self) -> std::string"""
8105 return _IMP_core.RigidBody_get_name(self)
8108 def clear_caches(self):
8109 """clear_caches(RigidBody self)"""
8110 return _IMP_core.RigidBody_clear_caches(self)
8113 def set_name(self, a0):
8114 """set_name(RigidBody self, std::string a0)"""
8115 return _IMP_core.RigidBody_set_name(self, a0)
8119 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8120 return _IMP_core.RigidBody_set_check_level(self, a0)
8123 def add_to_derivative(self, a0, a1, a2):
8124 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8125 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8128 def set_is_optimized(self, a0, a1):
8129 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8130 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8133 def get_is_optimized(self, a0):
8134 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8135 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8139 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8140 return _IMP_core.RigidBody_get_check_level(self)
8143 def __eq__(self, *args):
8145 __eq__(RigidBody self, RigidBody o) -> bool
8146 __eq__(RigidBody self, Particle d) -> bool
8148 return _IMP_core.RigidBody___eq__(self, *args)
8151 def __ne__(self, *args):
8153 __ne__(RigidBody self, RigidBody o) -> bool
8154 __ne__(RigidBody self, Particle d) -> bool
8156 return _IMP_core.RigidBody___ne__(self, *args)
8159 def __le__(self, *args):
8161 __le__(RigidBody self, RigidBody o) -> bool
8162 __le__(RigidBody self, Particle d) -> bool
8164 return _IMP_core.RigidBody___le__(self, *args)
8167 def __lt__(self, *args):
8169 __lt__(RigidBody self, RigidBody o) -> bool
8170 __lt__(RigidBody self, Particle d) -> bool
8172 return _IMP_core.RigidBody___lt__(self, *args)
8175 def __ge__(self, *args):
8177 __ge__(RigidBody self, RigidBody o) -> bool
8178 __ge__(RigidBody self, Particle d) -> bool
8180 return _IMP_core.RigidBody___ge__(self, *args)
8183 def __gt__(self, *args):
8185 __gt__(RigidBody self, RigidBody o) -> bool
8186 __gt__(RigidBody self, Particle d) -> bool
8188 return _IMP_core.RigidBody___gt__(self, *args)
8192 """__hash__(RigidBody self) -> std::size_t"""
8193 return _IMP_core.RigidBody___hash__(self)
8197 """__str__(RigidBody self) -> std::string"""
8198 return _IMP_core.RigidBody___str__(self)
8202 """__repr__(RigidBody self) -> std::string"""
8203 return _IMP_core.RigidBody___repr__(self)
8205 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8206 RigidBody_swigregister(RigidBody)
8208 def RigidBody_setup_particle(*args):
8210 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8211 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8212 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8213 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8215 return _IMP_core.RigidBody_setup_particle(*args)
8217 def RigidBody_teardown_particle(rb):
8218 """RigidBody_teardown_particle(RigidBody rb)"""
8219 return _IMP_core.RigidBody_teardown_particle(rb)
8221 def RigidBody_get_is_setup(*args):
8223 get_is_setup(_ParticleAdaptor p) -> bool
8224 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8226 return _IMP_core.RigidBody_get_is_setup(*args)
8230 """add_rigid_body_cache_key(ObjectKey k)"""
8231 return _IMP_core.add_rigid_body_cache_key(k)
8232 class RigidBodyMember(XYZ):
8233 """Proxy of C++ IMP::core::RigidBodyMember class."""
8235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8237 def __init__(self, *args):
8239 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8240 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8241 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8243 this = _IMP_core.new_RigidBodyMember(*args)
8245 self.this.append(this)
8246 except __builtin__.Exception:
8249 def show(self, *args):
8251 show(RigidBodyMember self, _ostream out)
8252 show(RigidBodyMember self)
8254 return _IMP_core.RigidBodyMember_show(self, *args)
8257 def get_rigid_body(self):
8258 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8259 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8262 def get_internal_coordinates(self):
8263 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8264 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8267 def set_internal_coordinates(self, v):
8268 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8269 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8272 def set_internal_transformation(self, v):
8273 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8274 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8277 def get_internal_transformation(self):
8278 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8279 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8281 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8282 __del__ =
lambda self:
None
8284 def set_coordinates(self, *args):
8286 set_coordinates(RigidBodyMember self, Vector3D center)
8287 set_coordinates(RigidBodyMember self, Transformation3D tr)
8289 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8292 def get_is_setup(*args):
8294 get_is_setup(_ParticleAdaptor p) -> bool
8295 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8297 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8299 get_is_setup = staticmethod(get_is_setup)
8301 def get_internal_coordinate_keys():
8302 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8303 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8305 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8307 def get_internal_rotation_keys():
8308 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8309 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8311 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8313 def add_attribute(self, *args):
8315 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8316 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8317 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8318 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8319 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8320 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8322 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8325 def get_value(self, *args):
8327 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8328 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8329 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8330 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8331 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8333 return _IMP_core.RigidBodyMember_get_value(self, *args)
8336 def set_value(self, *args):
8338 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8339 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8340 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8341 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8342 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8344 return _IMP_core.RigidBodyMember_set_value(self, *args)
8347 def remove_attribute(self, *args):
8349 remove_attribute(RigidBodyMember self, FloatKey a0)
8350 remove_attribute(RigidBodyMember self, IntKey a0)
8351 remove_attribute(RigidBodyMember self, StringKey a0)
8352 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8353 remove_attribute(RigidBodyMember self, ObjectKey a0)
8355 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8358 def has_attribute(self, *args):
8360 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8361 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8362 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8363 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8364 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8366 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8369 def get_derivative(self, a0):
8370 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8371 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8375 """get_name(RigidBodyMember self) -> std::string"""
8376 return _IMP_core.RigidBodyMember_get_name(self)
8379 def clear_caches(self):
8380 """clear_caches(RigidBodyMember self)"""
8381 return _IMP_core.RigidBodyMember_clear_caches(self)
8384 def set_name(self, a0):
8385 """set_name(RigidBodyMember self, std::string a0)"""
8386 return _IMP_core.RigidBodyMember_set_name(self, a0)
8390 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8391 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8394 def add_to_derivative(self, a0, a1, a2):
8395 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8396 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8399 def set_is_optimized(self, a0, a1):
8400 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8401 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8404 def get_is_optimized(self, a0):
8405 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8406 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8410 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8411 return _IMP_core.RigidBodyMember_get_check_level(self)
8414 def __eq__(self, *args):
8416 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8417 __eq__(RigidBodyMember self, Particle d) -> bool
8419 return _IMP_core.RigidBodyMember___eq__(self, *args)
8422 def __ne__(self, *args):
8424 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8425 __ne__(RigidBodyMember self, Particle d) -> bool
8427 return _IMP_core.RigidBodyMember___ne__(self, *args)
8430 def __le__(self, *args):
8432 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8433 __le__(RigidBodyMember self, Particle d) -> bool
8435 return _IMP_core.RigidBodyMember___le__(self, *args)
8438 def __lt__(self, *args):
8440 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8441 __lt__(RigidBodyMember self, Particle d) -> bool
8443 return _IMP_core.RigidBodyMember___lt__(self, *args)
8446 def __ge__(self, *args):
8448 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8449 __ge__(RigidBodyMember self, Particle d) -> bool
8451 return _IMP_core.RigidBodyMember___ge__(self, *args)
8454 def __gt__(self, *args):
8456 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8457 __gt__(RigidBodyMember self, Particle d) -> bool
8459 return _IMP_core.RigidBodyMember___gt__(self, *args)
8463 """__hash__(RigidBodyMember self) -> std::size_t"""
8464 return _IMP_core.RigidBodyMember___hash__(self)
8468 """__str__(RigidBodyMember self) -> std::string"""
8469 return _IMP_core.RigidBodyMember___str__(self)
8473 """__repr__(RigidBodyMember self) -> std::string"""
8474 return _IMP_core.RigidBodyMember___repr__(self)
8476 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8477 RigidBodyMember_swigregister(RigidBodyMember)
8479 def RigidBodyMember_get_is_setup(*args):
8481 get_is_setup(_ParticleAdaptor p) -> bool
8482 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8484 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8486 def RigidBodyMember_get_internal_coordinate_keys():
8487 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8488 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8490 def RigidBodyMember_get_internal_rotation_keys():
8491 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8492 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8494 class RigidMember(RigidBodyMember):
8495 """Proxy of C++ IMP::core::RigidMember class."""
8497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8499 def __init__(self, *args):
8501 __init__(IMP::core::RigidMember self) -> RigidMember
8502 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8503 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8505 this = _IMP_core.new_RigidMember(*args)
8507 self.this.append(this)
8508 except __builtin__.Exception:
8511 def show(self, *args):
8513 show(RigidMember self, _ostream out)
8514 show(RigidMember self)
8516 return _IMP_core.RigidMember_show(self, *args)
8518 __swig_destroy__ = _IMP_core.delete_RigidMember
8519 __del__ =
lambda self:
None
8521 def get_is_setup(*args):
8523 get_is_setup(_ParticleAdaptor p) -> bool
8524 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8526 return _IMP_core.RigidMember_get_is_setup(*args)
8528 get_is_setup = staticmethod(get_is_setup)
8530 def add_attribute(self, *args):
8532 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8533 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8534 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8535 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8536 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8537 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8539 return _IMP_core.RigidMember_add_attribute(self, *args)
8542 def get_value(self, *args):
8544 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8545 get_value(RigidMember self, IntKey a0) -> IMP::Int
8546 get_value(RigidMember self, StringKey a0) -> IMP::String
8547 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8548 get_value(RigidMember self, ObjectKey a0) -> Object
8550 return _IMP_core.RigidMember_get_value(self, *args)
8553 def set_value(self, *args):
8555 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8556 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8557 set_value(RigidMember self, StringKey a0, IMP::String a1)
8558 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8559 set_value(RigidMember self, ObjectKey a0, Object a1)
8561 return _IMP_core.RigidMember_set_value(self, *args)
8564 def remove_attribute(self, *args):
8566 remove_attribute(RigidMember self, FloatKey a0)
8567 remove_attribute(RigidMember self, IntKey a0)
8568 remove_attribute(RigidMember self, StringKey a0)
8569 remove_attribute(RigidMember self, ParticleIndexKey a0)
8570 remove_attribute(RigidMember self, ObjectKey a0)
8572 return _IMP_core.RigidMember_remove_attribute(self, *args)
8575 def has_attribute(self, *args):
8577 has_attribute(RigidMember self, FloatKey a0) -> bool
8578 has_attribute(RigidMember self, IntKey a0) -> bool
8579 has_attribute(RigidMember self, StringKey a0) -> bool
8580 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8581 has_attribute(RigidMember self, ObjectKey a0) -> bool
8583 return _IMP_core.RigidMember_has_attribute(self, *args)
8586 def get_derivative(self, a0):
8587 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8588 return _IMP_core.RigidMember_get_derivative(self, a0)
8592 """get_name(RigidMember self) -> std::string"""
8593 return _IMP_core.RigidMember_get_name(self)
8596 def clear_caches(self):
8597 """clear_caches(RigidMember self)"""
8598 return _IMP_core.RigidMember_clear_caches(self)
8601 def set_name(self, a0):
8602 """set_name(RigidMember self, std::string a0)"""
8603 return _IMP_core.RigidMember_set_name(self, a0)
8607 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8608 return _IMP_core.RigidMember_set_check_level(self, a0)
8611 def add_to_derivative(self, a0, a1, a2):
8612 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8613 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8616 def set_is_optimized(self, a0, a1):
8617 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8618 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8621 def get_is_optimized(self, a0):
8622 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8623 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8627 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8628 return _IMP_core.RigidMember_get_check_level(self)
8631 def __eq__(self, *args):
8633 __eq__(RigidMember self, RigidMember o) -> bool
8634 __eq__(RigidMember self, Particle d) -> bool
8636 return _IMP_core.RigidMember___eq__(self, *args)
8639 def __ne__(self, *args):
8641 __ne__(RigidMember self, RigidMember o) -> bool
8642 __ne__(RigidMember self, Particle d) -> bool
8644 return _IMP_core.RigidMember___ne__(self, *args)
8647 def __le__(self, *args):
8649 __le__(RigidMember self, RigidMember o) -> bool
8650 __le__(RigidMember self, Particle d) -> bool
8652 return _IMP_core.RigidMember___le__(self, *args)
8655 def __lt__(self, *args):
8657 __lt__(RigidMember self, RigidMember o) -> bool
8658 __lt__(RigidMember self, Particle d) -> bool
8660 return _IMP_core.RigidMember___lt__(self, *args)
8663 def __ge__(self, *args):
8665 __ge__(RigidMember self, RigidMember o) -> bool
8666 __ge__(RigidMember self, Particle d) -> bool
8668 return _IMP_core.RigidMember___ge__(self, *args)
8671 def __gt__(self, *args):
8673 __gt__(RigidMember self, RigidMember o) -> bool
8674 __gt__(RigidMember self, Particle d) -> bool
8676 return _IMP_core.RigidMember___gt__(self, *args)
8680 """__hash__(RigidMember self) -> std::size_t"""
8681 return _IMP_core.RigidMember___hash__(self)
8685 """__str__(RigidMember self) -> std::string"""
8686 return _IMP_core.RigidMember___str__(self)
8690 """__repr__(RigidMember self) -> std::string"""
8691 return _IMP_core.RigidMember___repr__(self)
8693 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8694 RigidMember_swigregister(RigidMember)
8696 def RigidMember_get_is_setup(*args):
8698 get_is_setup(_ParticleAdaptor p) -> bool
8699 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8701 return _IMP_core.RigidMember_get_is_setup(*args)
8703 class NonRigidMember(RigidBodyMember):
8704 """Proxy of C++ IMP::core::NonRigidMember class."""
8706 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8708 def __init__(self, *args):
8710 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8711 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8712 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8714 this = _IMP_core.new_NonRigidMember(*args)
8716 self.this.append(this)
8717 except __builtin__.Exception:
8720 def show(self, *args):
8722 show(NonRigidMember self, _ostream out)
8723 show(NonRigidMember self)
8725 return _IMP_core.NonRigidMember_show(self, *args)
8727 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8728 __del__ =
lambda self:
None
8730 def get_is_setup(*args):
8732 get_is_setup(_ParticleAdaptor p) -> bool
8733 get_is_setup(Model m, ParticleIndex p) -> bool
8735 return _IMP_core.NonRigidMember_get_is_setup(*args)
8737 get_is_setup = staticmethod(get_is_setup)
8739 def add_to_internal_derivatives(self, deriv_parent, da):
8740 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8741 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8744 def add_to_internal_rotational_derivatives(self, *args):
8746 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8747 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8749 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8752 def get_internal_derivatives(self):
8753 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8754 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8757 def get_internal_rotational_derivatives(self):
8758 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8759 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8762 def add_attribute(self, *args):
8764 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8765 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8766 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8767 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8768 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8769 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8771 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8774 def get_value(self, *args):
8776 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8777 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8778 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8779 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8780 get_value(NonRigidMember self, ObjectKey a0) -> Object
8782 return _IMP_core.NonRigidMember_get_value(self, *args)
8785 def set_value(self, *args):
8787 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8788 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8789 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8790 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8791 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8793 return _IMP_core.NonRigidMember_set_value(self, *args)
8796 def remove_attribute(self, *args):
8798 remove_attribute(NonRigidMember self, FloatKey a0)
8799 remove_attribute(NonRigidMember self, IntKey a0)
8800 remove_attribute(NonRigidMember self, StringKey a0)
8801 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8802 remove_attribute(NonRigidMember self, ObjectKey a0)
8804 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8807 def has_attribute(self, *args):
8809 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8810 has_attribute(NonRigidMember self, IntKey a0) -> bool
8811 has_attribute(NonRigidMember self, StringKey a0) -> bool
8812 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8813 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8815 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8818 def get_derivative(self, a0):
8819 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8820 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8824 """get_name(NonRigidMember self) -> std::string"""
8825 return _IMP_core.NonRigidMember_get_name(self)
8828 def clear_caches(self):
8829 """clear_caches(NonRigidMember self)"""
8830 return _IMP_core.NonRigidMember_clear_caches(self)
8833 def set_name(self, a0):
8834 """set_name(NonRigidMember self, std::string a0)"""
8835 return _IMP_core.NonRigidMember_set_name(self, a0)
8839 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8840 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8843 def add_to_derivative(self, a0, a1, a2):
8844 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8845 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8848 def set_is_optimized(self, a0, a1):
8849 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8850 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8853 def get_is_optimized(self, a0):
8854 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8855 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8859 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8860 return _IMP_core.NonRigidMember_get_check_level(self)
8863 def __eq__(self, *args):
8865 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8866 __eq__(NonRigidMember self, Particle d) -> bool
8868 return _IMP_core.NonRigidMember___eq__(self, *args)
8871 def __ne__(self, *args):
8873 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8874 __ne__(NonRigidMember self, Particle d) -> bool
8876 return _IMP_core.NonRigidMember___ne__(self, *args)
8879 def __le__(self, *args):
8881 __le__(NonRigidMember self, NonRigidMember o) -> bool
8882 __le__(NonRigidMember self, Particle d) -> bool
8884 return _IMP_core.NonRigidMember___le__(self, *args)
8887 def __lt__(self, *args):
8889 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8890 __lt__(NonRigidMember self, Particle d) -> bool
8892 return _IMP_core.NonRigidMember___lt__(self, *args)
8895 def __ge__(self, *args):
8897 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8898 __ge__(NonRigidMember self, Particle d) -> bool
8900 return _IMP_core.NonRigidMember___ge__(self, *args)
8903 def __gt__(self, *args):
8905 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8906 __gt__(NonRigidMember self, Particle d) -> bool
8908 return _IMP_core.NonRigidMember___gt__(self, *args)
8912 """__hash__(NonRigidMember self) -> std::size_t"""
8913 return _IMP_core.NonRigidMember___hash__(self)
8917 """__str__(NonRigidMember self) -> std::string"""
8918 return _IMP_core.NonRigidMember___str__(self)
8922 """__repr__(NonRigidMember self) -> std::string"""
8923 return _IMP_core.NonRigidMember___repr__(self)
8925 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
8926 NonRigidMember_swigregister(NonRigidMember)
8928 def NonRigidMember_get_is_setup(*args):
8930 get_is_setup(_ParticleAdaptor p) -> bool
8931 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
8933 return _IMP_core.NonRigidMember_get_is_setup(*args)
8936 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
8938 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8940 def __init__(self, *args):
8942 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
8943 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
8945 this = _IMP_core.new_RigidMembersRefiner(*args)
8947 self.this.append(this)
8948 except __builtin__.Exception:
8951 def do_get_inputs(self, m, pis):
8952 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8953 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8956 def get_version_info(self):
8957 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8958 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8962 """__str__(RigidMembersRefiner self) -> std::string"""
8963 return _IMP_core.RigidMembersRefiner___str__(self)
8967 """__repr__(RigidMembersRefiner self) -> std::string"""
8968 return _IMP_core.RigidMembersRefiner___repr__(self)
8973 return _object_cast_to_RigidMembersRefiner(o)
8975 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
8976 RigidMembersRefiner_swigregister(RigidMembersRefiner)
8979 def get_rigid_members_refiner():
8980 """get_rigid_members_refiner() -> RigidMembersRefiner"""
8981 return _IMP_core.get_rigid_members_refiner()
8985 transform(XYZ a, Transformation3D tr)
8986 transform(RigidBody a, Transformation3D tr)
8988 return _IMP_core.transform(*args)
8992 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
8993 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
8995 return _IMP_core.get_initial_reference_frame(*args)
8999 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9000 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9002 return _IMP_core.create_rigid_bodies(m, n, no_members)
9006 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9007 show_rigid_body_hierarchy(RigidBody rb)
9009 return _IMP_core.show_rigid_body_hierarchy(*args)
9012 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9013 return _IMP_core.get_root_rigid_body(m)
9015 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
9017 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9019 def __init__(self, rb, constituents):
9020 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9021 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9023 self.this.append(this)
9024 except __builtin__.Exception:
9027 def get_version_info(self):
9028 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9029 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9033 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9034 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9038 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9039 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9044 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9046 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9047 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9050 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
9052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9054 def __init__(self, *args):
9056 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9057 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9059 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9061 self.this.append(this)
9062 except __builtin__.Exception:
9065 def get_version_info(self):
9066 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9067 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9071 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9072 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9076 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9077 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9082 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9084 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9085 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9088 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
9090 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9092 def __init__(self, sc):
9093 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9094 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9096 self.this.append(this)
9097 except __builtin__.Exception:
9100 def get_version_info(self):
9101 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9102 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9106 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9107 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9111 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9112 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9117 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9119 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9120 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9123 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
9125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9127 def __init__(self, *args):
9129 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9130 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9132 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9134 self.this.append(this)
9135 except __builtin__.Exception:
9138 def get_version_info(self):
9139 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9140 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9144 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9145 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9149 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9150 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9155 return _object_cast_to_RigidBodyFrameGeometry(o)
9157 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9158 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9161 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
9163 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9165 def __init__(self, sc):
9166 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9167 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9169 self.this.append(this)
9170 except __builtin__.Exception:
9173 def get_version_info(self):
9174 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9175 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9179 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9180 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9184 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9185 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9190 return _object_cast_to_RigidBodyFramesGeometry(o)
9192 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9193 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9196 """Proxy of C++ IMP::core::RigidBodyTorque class."""
9198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9200 def __init__(self, p):
9201 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9202 this = _IMP_core.new_RigidBodyTorque(p)
9204 self.this.append(this)
9205 except __builtin__.Exception:
9209 """__str__(RigidBodyTorque self) -> std::string"""
9210 return _IMP_core.RigidBodyTorque___str__(self)
9214 """__repr__(RigidBodyTorque self) -> std::string"""
9215 return _IMP_core.RigidBodyTorque___repr__(self)
9220 return _object_cast_to_RigidBodyTorque(o)
9222 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9223 __del__ =
lambda self:
None
9224 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9225 RigidBodyTorque_swigregister(RigidBodyTorque)
9227 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9228 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
9230 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9233 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9234 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9236 self.this.append(this)
9237 except __builtin__.Exception:
9240 def get_close_pairs(self, *args):
9242 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9243 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9244 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9245 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9247 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9250 def do_get_inputs(self, m, pis):
9251 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9252 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9255 def get_version_info(self):
9256 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9257 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9261 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9262 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9266 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9267 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9272 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9274 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9275 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9278 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
9280 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9282 def __init__(self, *args):
9284 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9285 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9286 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9287 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9288 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9290 this = _IMP_core.new_RestraintsScoringFunction(*args)
9292 self.this.append(this)
9293 except __builtin__.Exception:
9296 def do_add_score_and_derivatives(self, sa, ss):
9297 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9298 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9301 def do_get_inputs(self):
9302 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9303 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9306 def get_version_info(self):
9307 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9308 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9312 """__str__(RestraintsScoringFunction self) -> std::string"""
9313 return _IMP_core.RestraintsScoringFunction___str__(self)
9317 """__repr__(RestraintsScoringFunction self) -> std::string"""
9318 return _IMP_core.RestraintsScoringFunction___repr__(self)
9323 return _object_cast_to_RestraintsScoringFunction(o)
9325 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9326 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9328 class RigidClosePairsFinder(ClosePairsFinder):
9329 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
9331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9333 def __init__(self, cpf=None):
9335 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9336 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9338 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9340 self.this.append(this)
9341 except __builtin__.Exception:
9344 def do_get_inputs(self, m, pis):
9345 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9346 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9349 def get_close_pairs(self, *args):
9351 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9352 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9353 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9354 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9355 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9357 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9360 def get_version_info(self):
9361 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9362 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9366 """__str__(RigidClosePairsFinder self) -> std::string"""
9367 return _IMP_core.RigidClosePairsFinder___str__(self)
9371 """__repr__(RigidClosePairsFinder self) -> std::string"""
9372 return _IMP_core.RigidClosePairsFinder___repr__(self)
9377 return _object_cast_to_RigidClosePairsFinder(o)
9379 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9380 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9383 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
9385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9387 def __init__(self, *args):
9389 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9390 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9392 this = _IMP_core.new_SphereDistancePairScore(*args)
9394 self.this.append(this)
9395 except __builtin__.Exception:
9398 def do_get_inputs(self, m, pis):
9399 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9400 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9403 def get_version_info(self):
9404 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9405 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9409 """__str__(SphereDistancePairScore self) -> std::string"""
9410 return _IMP_core.SphereDistancePairScore___str__(self)
9414 """__repr__(SphereDistancePairScore self) -> std::string"""
9415 return _IMP_core.SphereDistancePairScore___repr__(self)
9420 return _object_cast_to_SphereDistancePairScore(o)
9422 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9423 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9425 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9426 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
9428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9430 def __init__(self, *args):
9432 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9433 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9435 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9437 self.this.append(this)
9438 except __builtin__.Exception:
9441 def do_get_inputs(self, m, pis):
9442 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9443 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9446 def get_version_info(self):
9447 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9448 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9452 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9453 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9457 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9458 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9463 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9465 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9466 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9468 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9469 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
9471 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9473 def __init__(self, d0, k):
9474 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9475 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9477 self.this.append(this)
9478 except __builtin__.Exception:
9481 def get_rest_length(self):
9482 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9483 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9486 def get_stiffness(self):
9487 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9488 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9491 def do_get_inputs(self, m, pis):
9492 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9493 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9496 def get_version_info(self):
9497 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9498 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9502 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9503 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9507 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9508 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9513 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9515 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9516 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9519 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9521 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9523 def __init__(self, *args):
9525 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9526 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9528 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9530 self.this.append(this)
9531 except __builtin__.Exception:
9534 def do_get_inputs(self, m, pis):
9535 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9536 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9539 def get_version_info(self):
9540 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9541 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9545 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9546 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9550 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9551 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9556 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9558 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9559 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9562 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9564 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9566 def __init__(self, *args):
9568 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9569 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9571 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9573 self.this.append(this)
9574 except __builtin__.Exception:
9577 def do_get_inputs(self, m, pis):
9578 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9579 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9582 def get_version_info(self):
9583 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9584 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9588 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9589 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9593 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9594 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9599 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9601 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9602 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9605 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9609 def __init__(self, *args):
9611 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9612 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9614 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9616 self.this.append(this)
9617 except __builtin__.Exception:
9620 def do_get_inputs(self, m, pis):
9621 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9622 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9625 def get_version_info(self):
9626 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9627 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9631 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9632 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9636 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9637 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9642 return _object_cast_to_WeightedSphereDistancePairScore(o)
9644 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9645 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9648 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
9650 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9652 def __init__(self, *args):
9654 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9655 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9657 this = _IMP_core.new_SoftSpherePairScore(*args)
9659 self.this.append(this)
9660 except __builtin__.Exception:
9663 def do_get_inputs(self, m, pis):
9664 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9665 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9668 def get_version_info(self):
9669 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9670 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9674 """__str__(SoftSpherePairScore self) -> std::string"""
9675 return _IMP_core.SoftSpherePairScore___str__(self)
9679 """__repr__(SoftSpherePairScore self) -> std::string"""
9680 return _IMP_core.SoftSpherePairScore___repr__(self)
9685 return _object_cast_to_SoftSpherePairScore(o)
9687 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9688 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9691 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9695 def __init__(self, *args):
9697 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9698 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9700 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9702 self.this.append(this)
9703 except __builtin__.Exception:
9706 def do_get_inputs(self, m, pis):
9707 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9708 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9711 def get_version_info(self):
9712 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9713 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9717 """__str__(SurfaceDistancePairScore self) -> std::string"""
9718 return _IMP_core.SurfaceDistancePairScore___str__(self)
9722 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9723 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9728 return _object_cast_to_SurfaceDistancePairScore(o)
9730 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9731 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9734 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9736 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9738 def __init__(self, *args):
9740 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9741 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9743 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9745 self.this.append(this)
9746 except __builtin__.Exception:
9749 def do_get_inputs(self, m, pis):
9750 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9751 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9754 def get_version_info(self):
9755 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9756 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9760 """__str__(SurfaceHeightPairScore self) -> std::string"""
9761 return _IMP_core.SurfaceHeightPairScore___str__(self)
9765 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9766 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9771 return _object_cast_to_SurfaceHeightPairScore(o)
9773 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9774 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9777 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9779 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9781 def __init__(self, *args):
9783 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9784 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9786 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9788 self.this.append(this)
9789 except __builtin__.Exception:
9792 def do_get_inputs(self, m, pis):
9793 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9794 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9797 def get_version_info(self):
9798 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9799 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9803 """__str__(SurfaceDepthPairScore self) -> std::string"""
9804 return _IMP_core.SurfaceDepthPairScore___str__(self)
9808 """__repr__(SurfaceDepthPairScore self) -> std::string"""
9809 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9814 return _object_cast_to_SurfaceDepthPairScore(o)
9816 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
9817 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9820 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9824 def __init__(self, *args):
9826 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9827 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9829 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9831 self.this.append(this)
9832 except __builtin__.Exception:
9835 def do_get_inputs(self, m, pis):
9836 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9837 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9840 def get_version_info(self):
9841 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9842 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9846 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9847 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9851 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9852 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9857 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9859 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
9860 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9863 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9865 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9867 def __init__(self, *args):
9869 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
9870 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
9872 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
9874 self.this.append(this)
9875 except __builtin__.Exception:
9878 def do_get_inputs(self, m, pis):
9879 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9880 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9883 def get_version_info(self):
9884 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9885 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9889 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9890 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9894 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9895 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9900 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9902 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
9903 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9906 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9908 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9910 def __init__(self, *args):
9912 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
9913 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
9915 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
9917 self.this.append(this)
9918 except __builtin__.Exception:
9921 def do_get_inputs(self, m, pis):
9922 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9923 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9926 def get_version_info(self):
9927 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9928 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9932 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9933 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9937 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9938 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9943 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9945 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
9946 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9949 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9951 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9953 def __init__(self, *args):
9955 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
9956 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
9958 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
9960 self.this.append(this)
9961 except __builtin__.Exception:
9964 def do_get_inputs(self, m, pis):
9965 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9966 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
9969 def get_version_info(self):
9970 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
9971 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
9975 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
9976 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
9980 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
9981 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
9986 return _object_cast_to_SoftSuperSurfacePairScore(o)
9988 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
9989 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
9992 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
9994 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9996 def __init__(self, *args):
9998 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
9999 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10001 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10003 self.this.append(this)
10004 except __builtin__.Exception:
10007 def do_get_inputs(self, m, pis):
10008 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10009 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10012 def get_version_info(self):
10013 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10014 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10018 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10019 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10022 def __repr__(self):
10023 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10024 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10029 return _object_cast_to_SoftSubSurfacePairScore(o)
10031 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10032 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10035 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
10037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10039 def __init__(self, link_num, link_length):
10040 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10041 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10043 self.this.append(this)
10044 except __builtin__.Exception:
10047 def get_version_info(self):
10048 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10049 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10052 def get_link_number(self):
10053 """get_link_number(SurfaceTetheredChain self) -> int"""
10054 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10057 def get_link_length(self):
10058 """get_link_length(SurfaceTetheredChain self) -> double"""
10059 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10062 def set_link_number(self, N):
10063 """set_link_number(SurfaceTetheredChain self, int N)"""
10064 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10067 def set_link_length(self, b):
10068 """set_link_length(SurfaceTetheredChain self, double b)"""
10069 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10072 def get_distance_at_minimum(self):
10073 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10074 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10077 def get_average_distance(self):
10078 """get_average_distance(SurfaceTetheredChain self) -> double"""
10079 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10083 """__str__(SurfaceTetheredChain self) -> std::string"""
10084 return _IMP_core.SurfaceTetheredChain___str__(self)
10087 def __repr__(self):
10088 """__repr__(SurfaceTetheredChain self) -> std::string"""
10089 return _IMP_core.SurfaceTetheredChain___repr__(self)
10094 return _object_cast_to_SurfaceTetheredChain(o)
10096 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10097 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10100 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
10102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10104 def __init__(self, m, ss, rbs):
10105 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10106 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10108 self.this.append(this)
10109 except __builtin__.Exception:
10112 def do_get_inputs(self):
10113 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10114 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10117 def do_get_outputs(self):
10118 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10119 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10122 def get_version_info(self):
10123 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10124 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10128 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10129 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10132 def __repr__(self):
10133 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10134 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10139 return _object_cast_to_SurfaceSymmetryConstraint(o)
10141 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10142 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10145 """Proxy of C++ IMP::core::SteepestDescent class."""
10147 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10149 def __init__(self, *args):
10151 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10152 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10154 this = _IMP_core.new_SteepestDescent(*args)
10156 self.this.append(this)
10157 except __builtin__.Exception:
10160 def do_optimize(self, max_steps):
10161 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10162 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10165 def get_version_info(self):
10166 """get_version_info(SteepestDescent self) -> VersionInfo"""
10167 return _IMP_core.SteepestDescent_get_version_info(self)
10170 def set_threshold(self, t):
10171 """set_threshold(SteepestDescent self, IMP::Float t)"""
10172 return _IMP_core.SteepestDescent_set_threshold(self, t)
10175 def set_step_size(self, t):
10176 """set_step_size(SteepestDescent self, IMP::Float t)"""
10177 return _IMP_core.SteepestDescent_set_step_size(self, t)
10180 def set_maximum_step_size(self, t):
10181 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10182 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10186 """__str__(SteepestDescent self) -> std::string"""
10187 return _IMP_core.SteepestDescent___str__(self)
10190 def __repr__(self):
10191 """__repr__(SteepestDescent self) -> std::string"""
10192 return _IMP_core.SteepestDescent___repr__(self)
10197 return _object_cast_to_SteepestDescent(o)
10199 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10200 SteepestDescent_swigregister(SteepestDescent)
10203 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
10205 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10207 def __init__(self, f, transformation):
10208 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10209 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10211 self.this.append(this)
10212 except __builtin__.Exception:
10215 def set_transformation(self, rot):
10216 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10217 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10220 def do_get_inputs(self, m, pis):
10221 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10222 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10225 def get_version_info(self):
10226 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10227 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10231 """__str__(TransformedDistancePairScore self) -> std::string"""
10232 return _IMP_core.TransformedDistancePairScore___str__(self)
10235 def __repr__(self):
10236 """__repr__(TransformedDistancePairScore self) -> std::string"""
10237 return _IMP_core.TransformedDistancePairScore___repr__(self)
10242 return _object_cast_to_TransformedDistancePairScore(o)
10244 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10245 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10248 """Proxy of C++ IMP::core::TypedPairScore class."""
10250 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10252 def __init__(self, typekey, allow_invalid_types=True):
10254 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10255 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10257 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10259 self.this.append(this)
10260 except __builtin__.Exception:
10263 def set_particle_type(self, arg2):
10264 """set_particle_type(TypedPairScore self, Particle arg2)"""
10265 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10268 def set_pair_score(self, ps, atype, btype):
10269 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10270 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10273 def do_get_inputs(self, m, pis):
10274 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10275 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10278 def get_version_info(self):
10279 """get_version_info(TypedPairScore self) -> VersionInfo"""
10280 return _IMP_core.TypedPairScore_get_version_info(self)
10284 """__str__(TypedPairScore self) -> std::string"""
10285 return _IMP_core.TypedPairScore___str__(self)
10288 def __repr__(self):
10289 """__repr__(TypedPairScore self) -> std::string"""
10290 return _IMP_core.TypedPairScore___repr__(self)
10295 return _object_cast_to_TypedPairScore(o)
10297 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10298 TypedPairScore_swigregister(TypedPairScore)
10300 class RigidBodyDistancePairScore(KClosePairsPairScore):
10301 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
10303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10305 def __init__(self, ps, r):
10306 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10307 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10309 self.this.append(this)
10310 except __builtin__.Exception:
10314 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10315 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10318 def __repr__(self):
10319 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10320 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10325 return _object_cast_to_RigidBodyDistancePairScore(o)
10327 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10328 __del__ =
lambda self:
None
10329 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10330 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10333 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
10335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10337 def __init__(self, f):
10338 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10339 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10341 self.this.append(this)
10342 except __builtin__.Exception:
10345 def do_get_inputs(self, m, pis):
10346 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10347 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10350 def get_version_info(self):
10351 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10352 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10356 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10357 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10360 def __repr__(self):
10361 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10362 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10367 return _object_cast_to_RigidBodyAnglePairScore(o)
10369 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10370 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10373 """Proxy of C++ IMP::core::TableRefiner class."""
10375 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10377 def __init__(self):
10378 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10379 this = _IMP_core.new_TableRefiner()
10381 self.this.append(this)
10382 except __builtin__.Exception:
10386 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10387 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10390 def remove_particle(self, p):
10391 """remove_particle(TableRefiner self, Particle p)"""
10392 return _IMP_core.TableRefiner_remove_particle(self, p)
10395 def set_particle(self, p, ps):
10396 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10397 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10400 def do_get_inputs(self, m, pis):
10401 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10402 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10405 def get_version_info(self):
10406 """get_version_info(TableRefiner self) -> VersionInfo"""
10407 return _IMP_core.TableRefiner_get_version_info(self)
10411 """__str__(TableRefiner self) -> std::string"""
10412 return _IMP_core.TableRefiner___str__(self)
10415 def __repr__(self):
10416 """__repr__(TableRefiner self) -> std::string"""
10417 return _IMP_core.TableRefiner___repr__(self)
10422 return _object_cast_to_TableRefiner(o)
10424 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10425 TableRefiner_swigregister(TableRefiner)
10427 LOWER = _IMP_core.LOWER
10428 BOTH = _IMP_core.BOTH
10429 UPPER = _IMP_core.UPPER
10431 """Proxy of C++ IMP::core::MCCGSampler class."""
10433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10435 def __init__(self, *args):
10437 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10438 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10440 this = _IMP_core.new_MCCGSampler(*args)
10442 self.this.append(this)
10443 except __builtin__.Exception:
10446 def set_bounding_box(self, bb):
10447 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10448 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10451 def set_number_of_attempts(self, att):
10452 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10453 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10456 def set_number_of_monte_carlo_steps(self, cg):
10457 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10458 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10461 def set_number_of_conjugate_gradient_steps(self, cg):
10462 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10463 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10466 def set_max_monte_carlo_step_size(self, *args):
10468 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10469 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10471 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10474 def set_is_refining(self, tf):
10475 """set_is_refining(MCCGSampler self, bool tf)"""
10476 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10479 def set_local_optimizer(self, opt):
10480 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10481 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10484 def set_save_rejected_configurations(self, tf):
10485 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10486 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10489 def get_rejected_configurations(self):
10490 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10491 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10494 def remove_optimizer_state(self, d):
10495 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10496 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10499 def remove_optimizer_states(self, d):
10500 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10501 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10504 def set_optimizer_states(self, ps):
10505 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10506 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10509 def set_optimizer_states_order(self, objs):
10510 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10511 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10514 def add_optimizer_state(self, obj):
10515 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10516 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10519 def add_optimizer_states(self, objs):
10520 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10521 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10524 def clear_optimizer_states(self):
10525 """clear_optimizer_states(MCCGSampler self)"""
10526 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10529 def get_number_of_optimizer_states(self):
10530 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10531 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10534 def get_has_optimizer_states(self):
10535 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10536 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10539 def get_optimizer_state(self, i):
10540 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10541 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10544 def get_optimizer_states(self):
10545 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10546 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10549 def reserve_optimizer_states(self, sz):
10550 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10551 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10554 def do_sample(self):
10555 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10556 return _IMP_core.MCCGSampler_do_sample(self)
10559 def get_version_info(self):
10560 """get_version_info(MCCGSampler self) -> VersionInfo"""
10561 return _IMP_core.MCCGSampler_get_version_info(self)
10565 """__str__(MCCGSampler self) -> std::string"""
10566 return _IMP_core.MCCGSampler___str__(self)
10569 def __repr__(self):
10570 """__repr__(MCCGSampler self) -> std::string"""
10571 return _IMP_core.MCCGSampler___repr__(self)
10576 return _object_cast_to_MCCGSampler(o)
10578 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10579 MCCGSampler_swigregister(MCCGSampler)
10582 """Proxy of C++ IMP::core::MinimumRestraint class."""
10584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10586 def __init__(self, *args):
10588 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10589 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10590 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10592 this = _IMP_core.new_MinimumRestraint(*args)
10594 self.this.append(this)
10595 except __builtin__.Exception:
10598 def do_get_inputs(self):
10599 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10600 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10603 def get_version_info(self):
10604 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10605 return _IMP_core.MinimumRestraint_get_version_info(self)
10608 def remove_restraint(self, d):
10609 """remove_restraint(MinimumRestraint self, Restraint d)"""
10610 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10613 def remove_restraints(self, d):
10614 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10615 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10618 def set_restraints(self, ps):
10619 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10620 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10623 def set_restraints_order(self, objs):
10624 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10625 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10629 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10630 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10634 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10635 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10638 def clear_restraints(self):
10639 """clear_restraints(MinimumRestraint self)"""
10640 return _IMP_core.MinimumRestraint_clear_restraints(self)
10643 def get_number_of_restraints(self):
10644 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10645 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10648 def get_has_restraints(self):
10649 """get_has_restraints(MinimumRestraint self) -> bool"""
10650 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10653 def get_restraint(self, i):
10654 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10655 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10658 def get_restraints(self):
10659 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10660 return _IMP_core.MinimumRestraint_get_restraints(self)
10663 def reserve_restraints(self, sz):
10664 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10665 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10669 """__str__(MinimumRestraint self) -> std::string"""
10670 return _IMP_core.MinimumRestraint___str__(self)
10673 def __repr__(self):
10674 """__repr__(MinimumRestraint self) -> std::string"""
10675 return _IMP_core.MinimumRestraint___repr__(self)
10680 return _object_cast_to_MinimumRestraint(o)
10682 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10683 MinimumRestraint_swigregister(MinimumRestraint)
10685 class Gaussian(RigidBody):
10686 """Proxy of C++ IMP::core::Gaussian class."""
10688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10690 def __init__(self, *args):
10692 __init__(IMP::core::Gaussian self) -> Gaussian
10693 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10694 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10696 this = _IMP_core.new_Gaussian(*args)
10698 self.this.append(this)
10699 except __builtin__.Exception:
10702 def show(self, *args):
10704 show(Gaussian self, _ostream out)
10705 show(Gaussian self)
10707 return _IMP_core.Gaussian_show(self, *args)
10710 def setup_particle(*args):
10712 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10713 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10714 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10715 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10717 return _IMP_core.Gaussian_setup_particle(*args)
10719 setup_particle = staticmethod(setup_particle)
10721 def get_local_covariance_key():
10722 """get_local_covariance_key() -> ObjectKey"""
10723 return _IMP_core.Gaussian_get_local_covariance_key()
10725 get_local_covariance_key = staticmethod(get_local_covariance_key)
10727 def get_global_covariance_key():
10728 """get_global_covariance_key() -> ObjectKey"""
10729 return _IMP_core.Gaussian_get_global_covariance_key()
10731 get_global_covariance_key = staticmethod(get_global_covariance_key)
10733 def get_is_setup(*args):
10735 get_is_setup(_ParticleAdaptor p) -> bool
10736 get_is_setup(Model m, ParticleIndex pi) -> bool
10738 return _IMP_core.Gaussian_get_is_setup(*args)
10740 get_is_setup = staticmethod(get_is_setup)
10742 def get_local_covariance(self):
10743 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10744 return _IMP_core.Gaussian_get_local_covariance(self)
10747 def get_variances(self):
10748 """get_variances(Gaussian self) -> Vector3D"""
10749 return _IMP_core.Gaussian_get_variances(self)
10752 def get_global_covariance(self):
10753 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10754 return _IMP_core.Gaussian_get_global_covariance(self)
10757 def get_gaussian(self):
10758 """get_gaussian(Gaussian self) -> Gaussian3D"""
10759 return _IMP_core.Gaussian_get_gaussian(self)
10762 def set_gaussian(self, g):
10763 """set_gaussian(Gaussian self, Gaussian3D g)"""
10764 return _IMP_core.Gaussian_set_gaussian(self, g)
10767 def set_local_covariance(self, covar):
10768 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10769 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10772 def set_variances(self, v):
10773 """set_variances(Gaussian self, Vector3D v)"""
10774 return _IMP_core.Gaussian_set_variances(self, v)
10777 def set_global_covariance(self, covar):
10778 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10779 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10782 def update_global_covariance(self):
10783 """update_global_covariance(Gaussian self)"""
10784 return _IMP_core.Gaussian_update_global_covariance(self)
10787 def add_attribute(self, *args):
10789 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10790 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10791 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10792 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10793 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10794 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10796 return _IMP_core.Gaussian_add_attribute(self, *args)
10799 def get_value(self, *args):
10801 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10802 get_value(Gaussian self, IntKey a0) -> IMP::Int
10803 get_value(Gaussian self, StringKey a0) -> IMP::String
10804 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10805 get_value(Gaussian self, ObjectKey a0) -> Object
10807 return _IMP_core.Gaussian_get_value(self, *args)
10810 def set_value(self, *args):
10812 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10813 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10814 set_value(Gaussian self, StringKey a0, IMP::String a1)
10815 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10816 set_value(Gaussian self, ObjectKey a0, Object a1)
10818 return _IMP_core.Gaussian_set_value(self, *args)
10821 def remove_attribute(self, *args):
10823 remove_attribute(Gaussian self, FloatKey a0)
10824 remove_attribute(Gaussian self, IntKey a0)
10825 remove_attribute(Gaussian self, StringKey a0)
10826 remove_attribute(Gaussian self, ParticleIndexKey a0)
10827 remove_attribute(Gaussian self, ObjectKey a0)
10829 return _IMP_core.Gaussian_remove_attribute(self, *args)
10832 def has_attribute(self, *args):
10834 has_attribute(Gaussian self, FloatKey a0) -> bool
10835 has_attribute(Gaussian self, IntKey a0) -> bool
10836 has_attribute(Gaussian self, StringKey a0) -> bool
10837 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10838 has_attribute(Gaussian self, ObjectKey a0) -> bool
10840 return _IMP_core.Gaussian_has_attribute(self, *args)
10843 def get_derivative(self, a0):
10844 """get_derivative(Gaussian self, FloatKey a0) -> double"""
10845 return _IMP_core.Gaussian_get_derivative(self, a0)
10848 def get_name(self):
10849 """get_name(Gaussian self) -> std::string"""
10850 return _IMP_core.Gaussian_get_name(self)
10853 def clear_caches(self):
10854 """clear_caches(Gaussian self)"""
10855 return _IMP_core.Gaussian_clear_caches(self)
10858 def set_name(self, a0):
10859 """set_name(Gaussian self, std::string a0)"""
10860 return _IMP_core.Gaussian_set_name(self, a0)
10864 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10865 return _IMP_core.Gaussian_set_check_level(self, a0)
10868 def add_to_derivative(self, a0, a1, a2):
10869 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10870 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10873 def set_is_optimized(self, a0, a1):
10874 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10875 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10878 def get_is_optimized(self, a0):
10879 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10880 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10884 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
10885 return _IMP_core.Gaussian_get_check_level(self)
10888 def __eq__(self, *args):
10890 __eq__(Gaussian self, Gaussian o) -> bool
10891 __eq__(Gaussian self, Particle d) -> bool
10893 return _IMP_core.Gaussian___eq__(self, *args)
10896 def __ne__(self, *args):
10898 __ne__(Gaussian self, Gaussian o) -> bool
10899 __ne__(Gaussian self, Particle d) -> bool
10901 return _IMP_core.Gaussian___ne__(self, *args)
10904 def __le__(self, *args):
10906 __le__(Gaussian self, Gaussian o) -> bool
10907 __le__(Gaussian self, Particle d) -> bool
10909 return _IMP_core.Gaussian___le__(self, *args)
10912 def __lt__(self, *args):
10914 __lt__(Gaussian self, Gaussian o) -> bool
10915 __lt__(Gaussian self, Particle d) -> bool
10917 return _IMP_core.Gaussian___lt__(self, *args)
10920 def __ge__(self, *args):
10922 __ge__(Gaussian self, Gaussian o) -> bool
10923 __ge__(Gaussian self, Particle d) -> bool
10925 return _IMP_core.Gaussian___ge__(self, *args)
10928 def __gt__(self, *args):
10930 __gt__(Gaussian self, Gaussian o) -> bool
10931 __gt__(Gaussian self, Particle d) -> bool
10933 return _IMP_core.Gaussian___gt__(self, *args)
10936 def __hash__(self):
10937 """__hash__(Gaussian self) -> std::size_t"""
10938 return _IMP_core.Gaussian___hash__(self)
10942 """__str__(Gaussian self) -> std::string"""
10943 return _IMP_core.Gaussian___str__(self)
10946 def __repr__(self):
10947 """__repr__(Gaussian self) -> std::string"""
10948 return _IMP_core.Gaussian___repr__(self)
10950 __swig_destroy__ = _IMP_core.delete_Gaussian
10951 __del__ =
lambda self:
None
10952 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
10953 Gaussian_swigregister(Gaussian)
10955 def Gaussian_setup_particle(*args):
10957 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10958 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10959 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10960 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10962 return _IMP_core.Gaussian_setup_particle(*args)
10964 def Gaussian_get_local_covariance_key():
10965 """Gaussian_get_local_covariance_key() -> ObjectKey"""
10966 return _IMP_core.Gaussian_get_local_covariance_key()
10968 def Gaussian_get_global_covariance_key():
10969 """Gaussian_get_global_covariance_key() -> ObjectKey"""
10970 return _IMP_core.Gaussian_get_global_covariance_key()
10972 def Gaussian_get_is_setup(*args):
10974 get_is_setup(_ParticleAdaptor p) -> bool
10975 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
10977 return _IMP_core.Gaussian_get_is_setup(*args)
10980 """Proxy of C++ IMP::core::PairRestraint class."""
10982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10984 def __init__(self, *args):
10986 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
10987 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
10989 this = _IMP_core.new_PairRestraint(*args)
10991 self.this.append(this)
10992 except __builtin__.Exception:
10995 def get_version_info(self):
10996 """get_version_info(PairRestraint self) -> VersionInfo"""
10997 return _IMP_core.PairRestraint_get_version_info(self)
11001 """__str__(PairRestraint self) -> std::string"""
11002 return _IMP_core.PairRestraint___str__(self)
11005 def __repr__(self):
11006 """__repr__(PairRestraint self) -> std::string"""
11007 return _IMP_core.PairRestraint___repr__(self)
11012 return _object_cast_to_PairRestraint(o)
11014 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11015 PairRestraint_swigregister(PairRestraint)
11018 """Proxy of C++ IMP::core::SingletonRestraint class."""
11020 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11022 def __init__(self, *args):
11024 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11025 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11027 this = _IMP_core.new_SingletonRestraint(*args)
11029 self.this.append(this)
11030 except __builtin__.Exception:
11033 def get_version_info(self):
11034 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11035 return _IMP_core.SingletonRestraint_get_version_info(self)
11039 """__str__(SingletonRestraint self) -> std::string"""
11040 return _IMP_core.SingletonRestraint___str__(self)
11043 def __repr__(self):
11044 """__repr__(SingletonRestraint self) -> std::string"""
11045 return _IMP_core.SingletonRestraint___repr__(self)
11050 return _object_cast_to_SingletonRestraint(o)
11052 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11053 SingletonRestraint_swigregister(SingletonRestraint)
11056 """Proxy of C++ IMP::core::TripletRestraint class."""
11058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11060 def __init__(self, *args):
11062 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11063 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11065 this = _IMP_core.new_TripletRestraint(*args)
11067 self.this.append(this)
11068 except __builtin__.Exception:
11071 def get_version_info(self):
11072 """get_version_info(TripletRestraint self) -> VersionInfo"""
11073 return _IMP_core.TripletRestraint_get_version_info(self)
11077 """__str__(TripletRestraint self) -> std::string"""
11078 return _IMP_core.TripletRestraint___str__(self)
11081 def __repr__(self):
11082 """__repr__(TripletRestraint self) -> std::string"""
11083 return _IMP_core.TripletRestraint___repr__(self)
11088 return _object_cast_to_TripletRestraint(o)
11090 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11091 TripletRestraint_swigregister(TripletRestraint)
11094 """Proxy of C++ IMP::core::QuadRestraint class."""
11096 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11098 def __init__(self, *args):
11100 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11101 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11103 this = _IMP_core.new_QuadRestraint(*args)
11105 self.this.append(this)
11106 except __builtin__.Exception:
11109 def get_version_info(self):
11110 """get_version_info(QuadRestraint self) -> VersionInfo"""
11111 return _IMP_core.QuadRestraint_get_version_info(self)
11115 """__str__(QuadRestraint self) -> std::string"""
11116 return _IMP_core.QuadRestraint___str__(self)
11119 def __repr__(self):
11120 """__repr__(QuadRestraint self) -> std::string"""
11121 return _IMP_core.QuadRestraint___repr__(self)
11126 return _object_cast_to_QuadRestraint(o)
11128 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11129 QuadRestraint_swigregister(QuadRestraint)
11132 """Proxy of C++ IMP::core::SingletonConstraint class."""
11134 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11136 def __init__(self, *args):
11138 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11139 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11140 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11141 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11143 this = _IMP_core.new_SingletonConstraint(*args)
11145 self.this.append(this)
11146 except __builtin__.Exception:
11149 def get_version_info(self):
11150 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11151 return _IMP_core.SingletonConstraint_get_version_info(self)
11155 """__str__(SingletonConstraint self) -> std::string"""
11156 return _IMP_core.SingletonConstraint___str__(self)
11159 def __repr__(self):
11160 """__repr__(SingletonConstraint self) -> std::string"""
11161 return _IMP_core.SingletonConstraint___repr__(self)
11166 return _object_cast_to_SingletonConstraint(o)
11168 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11169 SingletonConstraint_swigregister(SingletonConstraint)
11172 """Proxy of C++ IMP::core::PairConstraint class."""
11174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11176 def __init__(self, *args):
11178 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11179 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11180 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11181 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11183 this = _IMP_core.new_PairConstraint(*args)
11185 self.this.append(this)
11186 except __builtin__.Exception:
11189 def get_version_info(self):
11190 """get_version_info(PairConstraint self) -> VersionInfo"""
11191 return _IMP_core.PairConstraint_get_version_info(self)
11195 """__str__(PairConstraint self) -> std::string"""
11196 return _IMP_core.PairConstraint___str__(self)
11199 def __repr__(self):
11200 """__repr__(PairConstraint self) -> std::string"""
11201 return _IMP_core.PairConstraint___repr__(self)
11206 return _object_cast_to_PairConstraint(o)
11208 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11209 PairConstraint_swigregister(PairConstraint)
11212 """Proxy of C++ IMP::core::TripletConstraint class."""
11214 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11216 def __init__(self, *args):
11218 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11219 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11220 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11221 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11223 this = _IMP_core.new_TripletConstraint(*args)
11225 self.this.append(this)
11226 except __builtin__.Exception:
11229 def get_version_info(self):
11230 """get_version_info(TripletConstraint self) -> VersionInfo"""
11231 return _IMP_core.TripletConstraint_get_version_info(self)
11235 """__str__(TripletConstraint self) -> std::string"""
11236 return _IMP_core.TripletConstraint___str__(self)
11239 def __repr__(self):
11240 """__repr__(TripletConstraint self) -> std::string"""
11241 return _IMP_core.TripletConstraint___repr__(self)
11246 return _object_cast_to_TripletConstraint(o)
11248 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11249 TripletConstraint_swigregister(TripletConstraint)
11252 """Proxy of C++ IMP::core::QuadConstraint class."""
11254 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11256 def __init__(self, *args):
11258 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11259 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11260 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11261 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11263 this = _IMP_core.new_QuadConstraint(*args)
11265 self.this.append(this)
11266 except __builtin__.Exception:
11269 def get_version_info(self):
11270 """get_version_info(QuadConstraint self) -> VersionInfo"""
11271 return _IMP_core.QuadConstraint_get_version_info(self)
11275 """__str__(QuadConstraint self) -> std::string"""
11276 return _IMP_core.QuadConstraint___str__(self)
11279 def __repr__(self):
11280 """__repr__(QuadConstraint self) -> std::string"""
11281 return _IMP_core.QuadConstraint___repr__(self)
11286 return _object_cast_to_QuadConstraint(o)
11288 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11289 QuadConstraint_swigregister(QuadConstraint)
11292 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
11294 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11296 def __init__(self, *args):
11298 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11299 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11301 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11303 self.this.append(this)
11304 except __builtin__.Exception:
11307 def do_get_inputs(self, arg2, arg3):
11308 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11309 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11312 def get_value(self, *args):
11314 get_value(ConstantSingletonPredicate self, Particle a) -> int
11315 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11317 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11320 def get_value_index(self, *args):
11322 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11323 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11325 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11328 def get_version_info(self):
11329 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11330 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11334 """__str__(ConstantSingletonPredicate self) -> std::string"""
11335 return _IMP_core.ConstantSingletonPredicate___str__(self)
11338 def __repr__(self):
11339 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11340 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11345 return _object_cast_to_ConstantSingletonPredicate(o)
11347 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11348 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11351 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
11353 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11355 def __init__(self, *args):
11357 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11358 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11360 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11362 self.this.append(this)
11363 except __builtin__.Exception:
11366 def do_get_inputs(self, m, pis):
11367 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11368 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11371 def get_value(self, *args):
11373 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11374 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11376 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11379 def get_value_index(self, *args):
11381 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11382 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11384 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11387 def get_version_info(self):
11388 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11389 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11393 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11394 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11397 def __repr__(self):
11398 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11399 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11404 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11406 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11407 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11410 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
11412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11414 def __init__(self, *args):
11416 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11417 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11419 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11421 self.this.append(this)
11422 except __builtin__.Exception:
11425 def do_get_inputs(self, m, pis):
11426 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11427 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11430 def get_value(self, *args):
11432 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11433 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11434 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11436 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11439 def get_value_index(self, *args):
11441 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11442 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11444 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11447 def get_version_info(self):
11448 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11449 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11453 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11454 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11457 def __repr__(self):
11458 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11459 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11464 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11466 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11467 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11470 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
11472 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11474 def __init__(self, *args):
11476 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11477 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11479 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11481 self.this.append(this)
11482 except __builtin__.Exception:
11485 def do_get_inputs(self, arg2, arg3):
11486 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11487 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11490 def get_value(self, *args):
11492 get_value(AllSameSingletonPredicate self, Particle a) -> int
11493 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11495 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11498 def get_value_index(self, *args):
11500 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11501 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11503 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11506 def get_version_info(self):
11507 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11508 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11512 """__str__(AllSameSingletonPredicate self) -> std::string"""
11513 return _IMP_core.AllSameSingletonPredicate___str__(self)
11516 def __repr__(self):
11517 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11518 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11523 return _object_cast_to_AllSameSingletonPredicate(o)
11525 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11526 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11529 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
11531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11533 def __init__(self, *args):
11535 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11536 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11538 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11540 self.this.append(this)
11541 except __builtin__.Exception:
11544 def do_get_inputs(self, arg2, arg3):
11545 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11546 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11549 def get_value(self, *args):
11551 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11552 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11554 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11557 def get_value_index(self, *args):
11559 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11560 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11562 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11565 def get_version_info(self):
11566 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11567 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11571 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11572 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11575 def __repr__(self):
11576 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11577 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11582 return _object_cast_to_CoinFlipSingletonPredicate(o)
11584 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11585 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11588 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
11590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11592 def __init__(self, *args):
11594 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11595 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11597 this = _IMP_core.new_ConstantPairPredicate(*args)
11599 self.this.append(this)
11600 except __builtin__.Exception:
11603 def do_get_inputs(self, arg2, arg3):
11604 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11605 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11608 def get_value(self, *args):
11610 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11611 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11613 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11616 def get_value_index(self, *args):
11618 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11619 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11621 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11624 def get_version_info(self):
11625 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11626 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11630 """__str__(ConstantPairPredicate self) -> std::string"""
11631 return _IMP_core.ConstantPairPredicate___str__(self)
11634 def __repr__(self):
11635 """__repr__(ConstantPairPredicate self) -> std::string"""
11636 return _IMP_core.ConstantPairPredicate___repr__(self)
11641 return _object_cast_to_ConstantPairPredicate(o)
11643 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11644 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11647 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11649 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11651 def __init__(self, *args):
11653 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11654 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11656 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11658 self.this.append(this)
11659 except __builtin__.Exception:
11662 def do_get_inputs(self, m, pis):
11663 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11664 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11667 def get_value(self, *args):
11669 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11670 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11672 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11675 def get_value_index(self, *args):
11677 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11678 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11680 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11683 def get_version_info(self):
11684 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11685 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11689 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11690 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11693 def __repr__(self):
11694 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11695 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11700 return _object_cast_to_UnorderedTypePairPredicate(o)
11702 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11703 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11706 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11710 def __init__(self, *args):
11712 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11713 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11715 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11717 self.this.append(this)
11718 except __builtin__.Exception:
11721 def do_get_inputs(self, m, pis):
11722 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11723 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11726 def get_value(self, *args):
11728 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11729 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11730 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11732 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11735 def get_value_index(self, *args):
11737 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11738 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11740 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11743 def get_version_info(self):
11744 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11745 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11749 """__str__(OrderedTypePairPredicate self) -> std::string"""
11750 return _IMP_core.OrderedTypePairPredicate___str__(self)
11753 def __repr__(self):
11754 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11755 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11760 return _object_cast_to_OrderedTypePairPredicate(o)
11762 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11763 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11766 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
11768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11770 def __init__(self, *args):
11772 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11773 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11775 this = _IMP_core.new_AllSamePairPredicate(*args)
11777 self.this.append(this)
11778 except __builtin__.Exception:
11781 def do_get_inputs(self, arg2, arg3):
11782 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11783 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11786 def get_value(self, *args):
11788 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11789 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11791 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11794 def get_value_index(self, *args):
11796 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11797 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11799 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11802 def get_version_info(self):
11803 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11804 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11808 """__str__(AllSamePairPredicate self) -> std::string"""
11809 return _IMP_core.AllSamePairPredicate___str__(self)
11812 def __repr__(self):
11813 """__repr__(AllSamePairPredicate self) -> std::string"""
11814 return _IMP_core.AllSamePairPredicate___repr__(self)
11819 return _object_cast_to_AllSamePairPredicate(o)
11821 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11822 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11825 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11829 def __init__(self, *args):
11831 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
11832 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
11834 this = _IMP_core.new_CoinFlipPairPredicate(*args)
11836 self.this.append(this)
11837 except __builtin__.Exception:
11840 def do_get_inputs(self, arg2, arg3):
11841 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11842 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11845 def get_value(self, *args):
11847 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11848 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11850 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11853 def get_value_index(self, *args):
11855 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11856 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11858 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11861 def get_version_info(self):
11862 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11863 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11867 """__str__(CoinFlipPairPredicate self) -> std::string"""
11868 return _IMP_core.CoinFlipPairPredicate___str__(self)
11871 def __repr__(self):
11872 """__repr__(CoinFlipPairPredicate self) -> std::string"""
11873 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11878 return _object_cast_to_CoinFlipPairPredicate(o)
11880 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
11881 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11884 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11888 def __init__(self, *args):
11890 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
11891 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
11893 this = _IMP_core.new_ConstantTripletPredicate(*args)
11895 self.this.append(this)
11896 except __builtin__.Exception:
11899 def do_get_inputs(self, arg2, arg3):
11900 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11901 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11904 def get_value(self, *args):
11906 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11907 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11909 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11912 def get_value_index(self, *args):
11914 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11915 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11917 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11920 def get_version_info(self):
11921 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11922 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11926 """__str__(ConstantTripletPredicate self) -> std::string"""
11927 return _IMP_core.ConstantTripletPredicate___str__(self)
11930 def __repr__(self):
11931 """__repr__(ConstantTripletPredicate self) -> std::string"""
11932 return _IMP_core.ConstantTripletPredicate___repr__(self)
11937 return _object_cast_to_ConstantTripletPredicate(o)
11939 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
11940 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11943 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11947 def __init__(self, *args):
11949 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
11950 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
11952 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
11954 self.this.append(this)
11955 except __builtin__.Exception:
11958 def do_get_inputs(self, m, pis):
11959 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11960 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11963 def get_value(self, *args):
11965 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11966 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11968 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
11971 def get_value_index(self, *args):
11973 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11974 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11976 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
11979 def get_version_info(self):
11980 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
11981 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
11985 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
11986 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
11989 def __repr__(self):
11990 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
11991 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
11996 return _object_cast_to_UnorderedTypeTripletPredicate(o)
11998 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
11999 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12002 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
12004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12006 def __init__(self, *args):
12008 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12009 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12011 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12013 self.this.append(this)
12014 except __builtin__.Exception:
12017 def do_get_inputs(self, m, pis):
12018 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12019 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12022 def get_value(self, *args):
12024 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12025 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12026 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12028 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12031 def get_value_index(self, *args):
12033 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12034 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12036 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12039 def get_version_info(self):
12040 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12041 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12045 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12046 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12049 def __repr__(self):
12050 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12051 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12056 return _object_cast_to_OrderedTypeTripletPredicate(o)
12058 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12059 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12062 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
12064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12066 def __init__(self, *args):
12068 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12069 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12071 this = _IMP_core.new_AllSameTripletPredicate(*args)
12073 self.this.append(this)
12074 except __builtin__.Exception:
12077 def do_get_inputs(self, arg2, arg3):
12078 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12079 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12082 def get_value(self, *args):
12084 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12085 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12087 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12090 def get_value_index(self, *args):
12092 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12093 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12095 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12098 def get_version_info(self):
12099 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12100 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12104 """__str__(AllSameTripletPredicate self) -> std::string"""
12105 return _IMP_core.AllSameTripletPredicate___str__(self)
12108 def __repr__(self):
12109 """__repr__(AllSameTripletPredicate self) -> std::string"""
12110 return _IMP_core.AllSameTripletPredicate___repr__(self)
12115 return _object_cast_to_AllSameTripletPredicate(o)
12117 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12118 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12121 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
12123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12125 def __init__(self, *args):
12127 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12128 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12130 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12132 self.this.append(this)
12133 except __builtin__.Exception:
12136 def do_get_inputs(self, arg2, arg3):
12137 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12138 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12141 def get_value(self, *args):
12143 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12144 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12146 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12149 def get_value_index(self, *args):
12151 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12152 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12154 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12157 def get_version_info(self):
12158 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12159 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12163 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12164 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12167 def __repr__(self):
12168 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12169 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12174 return _object_cast_to_CoinFlipTripletPredicate(o)
12176 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12177 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12180 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
12182 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12184 def __init__(self, *args):
12186 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12187 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12189 this = _IMP_core.new_ConstantQuadPredicate(*args)
12191 self.this.append(this)
12192 except __builtin__.Exception:
12195 def do_get_inputs(self, arg2, arg3):
12196 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12197 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12200 def get_value(self, *args):
12202 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12203 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12205 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12208 def get_value_index(self, *args):
12210 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12211 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12213 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12216 def get_version_info(self):
12217 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12218 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12222 """__str__(ConstantQuadPredicate self) -> std::string"""
12223 return _IMP_core.ConstantQuadPredicate___str__(self)
12226 def __repr__(self):
12227 """__repr__(ConstantQuadPredicate self) -> std::string"""
12228 return _IMP_core.ConstantQuadPredicate___repr__(self)
12233 return _object_cast_to_ConstantQuadPredicate(o)
12235 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12236 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12239 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
12241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12243 def __init__(self, *args):
12245 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12246 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12248 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12250 self.this.append(this)
12251 except __builtin__.Exception:
12254 def do_get_inputs(self, m, pis):
12255 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12256 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12259 def get_value(self, *args):
12261 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12262 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12264 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12267 def get_value_index(self, *args):
12269 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12270 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12272 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12275 def get_version_info(self):
12276 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12277 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12281 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12282 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12285 def __repr__(self):
12286 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12287 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12292 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12294 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12295 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12298 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
12300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12302 def __init__(self, *args):
12304 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12305 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12307 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12309 self.this.append(this)
12310 except __builtin__.Exception:
12313 def do_get_inputs(self, m, pis):
12314 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12315 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12318 def get_value(self, *args):
12320 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12321 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12322 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12324 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12327 def get_value_index(self, *args):
12329 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12330 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12332 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12335 def get_version_info(self):
12336 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12337 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12341 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12342 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12345 def __repr__(self):
12346 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12347 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12352 return _object_cast_to_OrderedTypeQuadPredicate(o)
12354 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12355 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12358 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
12360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12362 def __init__(self, *args):
12364 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12365 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12367 this = _IMP_core.new_AllSameQuadPredicate(*args)
12369 self.this.append(this)
12370 except __builtin__.Exception:
12373 def do_get_inputs(self, arg2, arg3):
12374 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12375 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12378 def get_value(self, *args):
12380 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12381 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12383 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12386 def get_value_index(self, *args):
12388 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12389 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12391 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12394 def get_version_info(self):
12395 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12396 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12400 """__str__(AllSameQuadPredicate self) -> std::string"""
12401 return _IMP_core.AllSameQuadPredicate___str__(self)
12404 def __repr__(self):
12405 """__repr__(AllSameQuadPredicate self) -> std::string"""
12406 return _IMP_core.AllSameQuadPredicate___repr__(self)
12411 return _object_cast_to_AllSameQuadPredicate(o)
12413 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12414 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12417 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
12419 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12421 def __init__(self, *args):
12423 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12424 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12426 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12428 self.this.append(this)
12429 except __builtin__.Exception:
12432 def do_get_inputs(self, arg2, arg3):
12433 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12434 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12437 def get_value(self, *args):
12439 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12440 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12442 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12445 def get_value_index(self, *args):
12447 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12448 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12450 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12453 def get_version_info(self):
12454 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12455 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12459 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12460 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12463 def __repr__(self):
12464 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12465 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12470 return _object_cast_to_CoinFlipQuadPredicate(o)
12472 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12473 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12476 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
12478 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12480 def __init__(self, *args):
12482 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12483 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12485 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12487 self.this.append(this)
12488 except __builtin__.Exception:
12491 def do_get_inputs(self, m, pi):
12492 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12493 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12496 def get_value(self, *args):
12498 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12499 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12501 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12504 def get_value_index(self, *args):
12506 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12507 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12509 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12512 def get_version_info(self):
12513 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12514 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12518 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12519 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12522 def __repr__(self):
12523 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12524 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12529 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12531 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12532 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12535 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12537 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12539 def __init__(self, *args):
12541 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12542 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12544 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12546 self.this.append(this)
12547 except __builtin__.Exception:
12550 def do_get_inputs(self, m, pi):
12551 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12552 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12555 def get_value(self, *args):
12557 get_value(AttributeSingletonPredicate self, Particle a) -> int
12558 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12560 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12563 def get_value_index(self, *args):
12565 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12566 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12568 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12571 def get_version_info(self):
12572 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12573 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12577 """__str__(AttributeSingletonPredicate self) -> std::string"""
12578 return _IMP_core.AttributeSingletonPredicate___str__(self)
12581 def __repr__(self):
12582 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12583 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12588 return _object_cast_to_AttributeSingletonPredicate(o)
12590 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12591 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12594 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12598 def __init__(self, *args):
12600 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12601 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12603 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12605 self.this.append(this)
12606 except __builtin__.Exception:
12609 def do_get_inputs(self, m, pi):
12610 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12611 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12614 def get_value(self, *args):
12616 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12617 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12619 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12622 def get_value_index(self, *args):
12624 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12625 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12627 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12630 def get_version_info(self):
12631 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12632 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12636 """__str__(IsCollisionPairPredicate self) -> std::string"""
12637 return _IMP_core.IsCollisionPairPredicate___str__(self)
12640 def __repr__(self):
12641 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12642 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12647 return _object_cast_to_IsCollisionPairPredicate(o)
12649 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12650 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12652 class AngleRestraint(TripletRestraint):
12653 """Proxy of C++ IMP::core::AngleRestraint class."""
12655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12657 def __init__(self, m, score_func, p1, p2, p3):
12658 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12659 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12661 self.this.append(this)
12662 except __builtin__.Exception:
12666 """__str__(AngleRestraint self) -> std::string"""
12667 return _IMP_core.AngleRestraint___str__(self)
12670 def __repr__(self):
12671 """__repr__(AngleRestraint self) -> std::string"""
12672 return _IMP_core.AngleRestraint___repr__(self)
12677 return _object_cast_to_AngleRestraint(o)
12679 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12680 AngleRestraint_swigregister(AngleRestraint)
12682 class RigidBodyMover(MonteCarloMover):
12683 """Proxy of C++ IMP::core::RigidBodyMover class."""
12685 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12687 def __init__(self, m, pi, max_translation, max_rotation):
12688 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12689 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12691 self.this.append(this)
12692 except __builtin__.Exception:
12695 def set_maximum_translation(self, mt):
12696 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12697 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12700 def set_maximum_rotation(self, mr):
12701 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12702 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12705 def get_maximum_translation(self):
12706 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12707 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12710 def get_maximum_rotation(self):
12711 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12712 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12715 def get_version_info(self):
12716 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12717 return _IMP_core.RigidBodyMover_get_version_info(self)
12721 """__str__(RigidBodyMover self) -> std::string"""
12722 return _IMP_core.RigidBodyMover___str__(self)
12725 def __repr__(self):
12726 """__repr__(RigidBodyMover self) -> std::string"""
12727 return _IMP_core.RigidBodyMover___repr__(self)
12732 return _object_cast_to_RigidBodyMover(o)
12734 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12735 RigidBodyMover_swigregister(RigidBodyMover)
12737 class RigidBodyTunneler(MonteCarloMover):
12738 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
12740 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12742 def __init__(self, m, pis, ref, k, move_probability=1.):
12744 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12745 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12747 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12749 self.this.append(this)
12750 except __builtin__.Exception:
12753 def add_entry_point(self, fl):
12754 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12755 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12758 def reset_stats(self):
12759 """reset_stats(RigidBodyTunneler self)"""
12760 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12763 def get_number_of_rejected_moves(self):
12764 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12765 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12768 def get_number_of_proposed_moves(self):
12769 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12770 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12773 def get_number_of_impossible_moves(self):
12774 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12775 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12778 def get_number_of_calls(self):
12779 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12780 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12783 def get_reduced_coordinates(*args):
12785 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12786 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12788 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12790 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12792 def set_reduced_coordinates(m, target, ref, coords):
12793 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12794 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12796 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12798 def get_version_info(self):
12799 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12800 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12804 """__str__(RigidBodyTunneler self) -> std::string"""
12805 return _IMP_core.RigidBodyTunneler___str__(self)
12808 def __repr__(self):
12809 """__repr__(RigidBodyTunneler self) -> std::string"""
12810 return _IMP_core.RigidBodyTunneler___repr__(self)
12815 return _object_cast_to_RigidBodyTunneler(o)
12817 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12818 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12820 def RigidBodyTunneler_get_reduced_coordinates(*args):
12822 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12823 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12825 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12827 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12828 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12829 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12832 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12836 def __init__(self, *args):
12838 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12839 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12840 __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
12841 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12843 this = _IMP_core.new_RigidBodyUmbrella(*args)
12845 self.this.append(this)
12846 except __builtin__.Exception:
12849 def set_x0(self, *args):
12851 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12852 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
12854 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12858 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12859 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12863 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12864 return _IMP_core.RigidBodyUmbrella_get_x(self)
12867 def set_alpha(self, alpha):
12868 """set_alpha(RigidBodyUmbrella self, double alpha)"""
12869 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12872 def set_k(self, k):
12873 """set_k(RigidBodyUmbrella self, double k)"""
12874 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12877 def get_version_info(self):
12878 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12879 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12883 """__str__(RigidBodyUmbrella self) -> std::string"""
12884 return _IMP_core.RigidBodyUmbrella___str__(self)
12887 def __repr__(self):
12888 """__repr__(RigidBodyUmbrella self) -> std::string"""
12889 return _IMP_core.RigidBodyUmbrella___repr__(self)
12894 return _object_cast_to_RigidBodyUmbrella(o)
12896 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
12897 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12900 """Proxy of C++ IMP::core::VolumeRestraint class."""
12902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12904 def __init__(self, f, sc, volume):
12905 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12906 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
12908 self.this.append(this)
12909 except __builtin__.Exception:
12912 def do_get_inputs(self):
12913 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12914 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12917 def get_version_info(self):
12918 """get_version_info(VolumeRestraint self) -> VersionInfo"""
12919 return _IMP_core.VolumeRestraint_get_version_info(self)
12923 """__str__(VolumeRestraint self) -> std::string"""
12924 return _IMP_core.VolumeRestraint___str__(self)
12927 def __repr__(self):
12928 """__repr__(VolumeRestraint self) -> std::string"""
12929 return _IMP_core.VolumeRestraint___repr__(self)
12934 return _object_cast_to_VolumeRestraint(o)
12936 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
12937 VolumeRestraint_swigregister(VolumeRestraint)
12941 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12942 return _IMP_core.get_centroid(ps)
12945 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12946 return _IMP_core.get_bounding_box(ps)
12948 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
12950 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12952 def __init__(self, ps):
12953 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12954 this = _IMP_core.new_MoveStatisticsScoreState(ps)
12956 self.this.append(this)
12957 except __builtin__.Exception:
12960 def show_statistics(self, *args):
12962 show_statistics(MoveStatisticsScoreState self, _ostream out)
12963 show_statistics(MoveStatisticsScoreState self)
12965 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
12969 """reset(MoveStatisticsScoreState self)"""
12970 return _IMP_core.MoveStatisticsScoreState_reset(self)
12973 def do_before_evaluate(self):
12974 """do_before_evaluate(MoveStatisticsScoreState self)"""
12975 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
12978 def do_after_evaluate(self, da):
12979 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
12980 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
12983 def do_get_inputs(self):
12984 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12985 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
12988 def do_get_outputs(self):
12989 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12990 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
12993 def get_version_info(self):
12994 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
12995 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
12999 """__str__(MoveStatisticsScoreState self) -> std::string"""
13000 return _IMP_core.MoveStatisticsScoreState___str__(self)
13003 def __repr__(self):
13004 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13005 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13010 return _object_cast_to_MoveStatisticsScoreState(o)
13012 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13013 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13015 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13017 """Proxy of C++ IMP::core::Typed class."""
13019 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13021 def get_type_key():
13022 """get_type_key() -> IntKey"""
13023 return _IMP_core.Typed_get_type_key()
13025 get_type_key = staticmethod(get_type_key)
13027 def __init__(self, *args):
13029 __init__(IMP::core::Typed self) -> Typed
13030 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13031 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13033 this = _IMP_core.new_Typed(*args)
13035 self.this.append(this)
13036 except __builtin__.Exception:
13039 def show(self, *args):
13041 show(Typed self, _ostream out)
13044 return _IMP_core.Typed_show(self, *args)
13047 def setup_particle(*args):
13049 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13050 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13052 return _IMP_core.Typed_setup_particle(*args)
13054 setup_particle = staticmethod(setup_particle)
13056 def get_is_setup(*args):
13058 get_is_setup(_ParticleAdaptor p) -> bool
13059 get_is_setup(Model m, ParticleIndex pi) -> bool
13061 return _IMP_core.Typed_get_is_setup(*args)
13063 get_is_setup = staticmethod(get_is_setup)
13065 def get_type(self):
13066 """get_type(Typed self) -> ParticleType"""
13067 return _IMP_core.Typed_get_type(self)
13070 def set_type(self, pt):
13071 """set_type(Typed self, ParticleType pt)"""
13072 return _IMP_core.Typed_set_type(self, pt)
13075 def add_attribute(self, *args):
13077 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13078 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13079 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13080 add_attribute(Typed self, StringKey a0, IMP::String a1)
13081 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13082 add_attribute(Typed self, ObjectKey a0, Object a1)
13084 return _IMP_core.Typed_add_attribute(self, *args)
13087 def get_value(self, *args):
13089 get_value(Typed self, FloatKey a0) -> IMP::Float
13090 get_value(Typed self, IntKey a0) -> IMP::Int
13091 get_value(Typed self, StringKey a0) -> IMP::String
13092 get_value(Typed self, ParticleIndexKey a0) -> Particle
13093 get_value(Typed self, ObjectKey a0) -> Object
13095 return _IMP_core.Typed_get_value(self, *args)
13098 def set_value(self, *args):
13100 set_value(Typed self, FloatKey a0, IMP::Float a1)
13101 set_value(Typed self, IntKey a0, IMP::Int a1)
13102 set_value(Typed self, StringKey a0, IMP::String a1)
13103 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13104 set_value(Typed self, ObjectKey a0, Object a1)
13106 return _IMP_core.Typed_set_value(self, *args)
13109 def remove_attribute(self, *args):
13111 remove_attribute(Typed self, FloatKey a0)
13112 remove_attribute(Typed self, IntKey a0)
13113 remove_attribute(Typed self, StringKey a0)
13114 remove_attribute(Typed self, ParticleIndexKey a0)
13115 remove_attribute(Typed self, ObjectKey a0)
13117 return _IMP_core.Typed_remove_attribute(self, *args)
13120 def has_attribute(self, *args):
13122 has_attribute(Typed self, FloatKey a0) -> bool
13123 has_attribute(Typed self, IntKey a0) -> bool
13124 has_attribute(Typed self, StringKey a0) -> bool
13125 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13126 has_attribute(Typed self, ObjectKey a0) -> bool
13128 return _IMP_core.Typed_has_attribute(self, *args)
13131 def get_derivative(self, a0):
13132 """get_derivative(Typed self, FloatKey a0) -> double"""
13133 return _IMP_core.Typed_get_derivative(self, a0)
13136 def get_name(self):
13137 """get_name(Typed self) -> std::string"""
13138 return _IMP_core.Typed_get_name(self)
13141 def clear_caches(self):
13142 """clear_caches(Typed self)"""
13143 return _IMP_core.Typed_clear_caches(self)
13146 def set_name(self, a0):
13147 """set_name(Typed self, std::string a0)"""
13148 return _IMP_core.Typed_set_name(self, a0)
13152 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13153 return _IMP_core.Typed_set_check_level(self, a0)
13156 def add_to_derivative(self, a0, a1, a2):
13157 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13158 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13161 def set_is_optimized(self, a0, a1):
13162 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13163 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13166 def get_is_optimized(self, a0):
13167 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13168 return _IMP_core.Typed_get_is_optimized(self, a0)
13172 """get_check_level(Typed self) -> IMP::CheckLevel"""
13173 return _IMP_core.Typed_get_check_level(self)
13176 def __eq__(self, *args):
13178 __eq__(Typed self, Typed o) -> bool
13179 __eq__(Typed self, Particle d) -> bool
13181 return _IMP_core.Typed___eq__(self, *args)
13184 def __ne__(self, *args):
13186 __ne__(Typed self, Typed o) -> bool
13187 __ne__(Typed self, Particle d) -> bool
13189 return _IMP_core.Typed___ne__(self, *args)
13192 def __le__(self, *args):
13194 __le__(Typed self, Typed o) -> bool
13195 __le__(Typed self, Particle d) -> bool
13197 return _IMP_core.Typed___le__(self, *args)
13200 def __lt__(self, *args):
13202 __lt__(Typed self, Typed o) -> bool
13203 __lt__(Typed self, Particle d) -> bool
13205 return _IMP_core.Typed___lt__(self, *args)
13208 def __ge__(self, *args):
13210 __ge__(Typed self, Typed o) -> bool
13211 __ge__(Typed self, Particle d) -> bool
13213 return _IMP_core.Typed___ge__(self, *args)
13216 def __gt__(self, *args):
13218 __gt__(Typed self, Typed o) -> bool
13219 __gt__(Typed self, Particle d) -> bool
13221 return _IMP_core.Typed___gt__(self, *args)
13224 def __hash__(self):
13225 """__hash__(Typed self) -> std::size_t"""
13226 return _IMP_core.Typed___hash__(self)
13230 """__str__(Typed self) -> std::string"""
13231 return _IMP_core.Typed___str__(self)
13234 def __repr__(self):
13235 """__repr__(Typed self) -> std::string"""
13236 return _IMP_core.Typed___repr__(self)
13238 __swig_destroy__ = _IMP_core.delete_Typed
13239 __del__ =
lambda self:
None
13240 Typed_swigregister = _IMP_core.Typed_swigregister
13241 Typed_swigregister(Typed)
13243 def Typed_get_type_key():
13244 """Typed_get_type_key() -> IntKey"""
13245 return _IMP_core.Typed_get_type_key()
13247 def Typed_setup_particle(*args):
13249 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13250 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13252 return _IMP_core.Typed_setup_particle(*args)
13254 def Typed_get_is_setup(*args):
13256 get_is_setup(_ParticleAdaptor p) -> bool
13257 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13259 return _IMP_core.Typed_get_is_setup(*args)
13262 def __lshift__(*args):
13264 __lshift__(_ostream out, XYZ n) -> _ostream
13265 __lshift__(_ostream out, XYZR n) -> _ostream
13266 __lshift__(_ostream out, Direction n) -> _ostream
13267 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13268 __lshift__(_ostream out, Surface n) -> _ostream
13269 __lshift__(_ostream out, Centroid n) -> _ostream
13270 __lshift__(_ostream out, Cover n) -> _ostream
13271 __lshift__(_ostream out, Reference n) -> _ostream
13272 __lshift__(_ostream out, RigidMember n) -> _ostream
13273 __lshift__(_ostream out, RigidBody n) -> _ostream
13274 __lshift__(_ostream out, Gaussian n) -> _ostream
13275 __lshift__(_ostream out, Typed n) -> _ostream
13277 return _IMP_core.__lshift__(*args)
13279 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
13281 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13283 def __init__(self, rs, out):
13284 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13285 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13287 self.this.append(this)
13288 except __builtin__.Exception:
13291 def get_version_info(self):
13292 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13293 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13297 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13298 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13301 def __repr__(self):
13302 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13303 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13308 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13310 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13311 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13315 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13316 return _IMP_core.assign_blame(rs, ps, attribute)
13320 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13321 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13322 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13324 return _IMP_core.create_blame_geometries(*args)
13326 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
13328 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13330 def __init__(self, m, q1, q2):
13331 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13332 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13334 self.this.append(this)
13335 except __builtin__.Exception:
13338 def add_term(self, term):
13339 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13340 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13343 def do_get_inputs(self):
13344 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13345 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13348 def get_version_info(self):
13349 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13350 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13354 """__str__(MultipleBinormalRestraint self) -> std::string"""
13355 return _IMP_core.MultipleBinormalRestraint___str__(self)
13358 def __repr__(self):
13359 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13360 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13365 return _object_cast_to_MultipleBinormalRestraint(o)
13367 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13368 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13370 class BinormalTerm(object):
13371 """Proxy of C++ IMP::core::BinormalTerm class."""
13373 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13375 def __init__(self):
13376 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13377 this = _IMP_core.new_BinormalTerm()
13379 self.this.append(this)
13380 except __builtin__.Exception:
13383 def set_correlation(self, correlation):
13384 """set_correlation(BinormalTerm self, double correlation)"""
13385 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13388 def set_weight(self, weight):
13389 """set_weight(BinormalTerm self, double weight)"""
13390 return _IMP_core.BinormalTerm_set_weight(self, weight)
13393 def set_means(self, means):
13394 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13395 return _IMP_core.BinormalTerm_set_means(self, means)
13398 def set_standard_deviations(self, stdevs):
13399 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13400 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13403 def show(self, *args):
13405 show(BinormalTerm self, _ostream out)
13406 show(BinormalTerm self)
13408 return _IMP_core.BinormalTerm_show(self, *args)
13412 """__str__(BinormalTerm self) -> std::string"""
13413 return _IMP_core.BinormalTerm___str__(self)
13416 def __repr__(self):
13417 """__repr__(BinormalTerm self) -> std::string"""
13418 return _IMP_core.BinormalTerm___repr__(self)
13420 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13421 __del__ =
lambda self:
None
13422 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13423 BinormalTerm_swigregister(BinormalTerm)
13426 """Proxy of C++ IMP::core::Provenance class."""
13428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13430 def get_previous(self):
13431 """get_previous(Provenance self) -> Provenance"""
13432 return _IMP_core.Provenance_get_previous(self)
13435 def set_previous(self, p):
13436 """set_previous(Provenance self, Provenance p)"""
13437 return _IMP_core.Provenance_set_previous(self, p)
13440 def __init__(self, *args):
13442 __init__(IMP::core::Provenance self) -> Provenance
13443 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13444 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13446 this = _IMP_core.new_Provenance(*args)
13448 self.this.append(this)
13449 except __builtin__.Exception:
13452 def get_is_setup(*args):
13454 get_is_setup(Model m, ParticleIndex pi) -> bool
13455 get_is_setup(_ParticleAdaptor p) -> bool
13457 return _IMP_core.Provenance_get_is_setup(*args)
13459 get_is_setup = staticmethod(get_is_setup)
13461 def show(self, *args):
13463 show(Provenance self, _ostream out)
13464 show(Provenance self)
13466 return _IMP_core.Provenance_show(self, *args)
13469 def setup_particle(*args):
13471 setup_particle(Model m, ParticleIndex pi) -> Provenance
13472 setup_particle(_ParticleAdaptor decorator) -> Provenance
13474 return _IMP_core.Provenance_setup_particle(*args)
13476 setup_particle = staticmethod(setup_particle)
13478 def add_attribute(self, *args):
13480 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13481 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13482 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13483 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13484 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13485 add_attribute(Provenance self, ObjectKey a0, Object a1)
13487 return _IMP_core.Provenance_add_attribute(self, *args)
13490 def get_value(self, *args):
13492 get_value(Provenance self, FloatKey a0) -> IMP::Float
13493 get_value(Provenance self, IntKey a0) -> IMP::Int
13494 get_value(Provenance self, StringKey a0) -> IMP::String
13495 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13496 get_value(Provenance self, ObjectKey a0) -> Object
13498 return _IMP_core.Provenance_get_value(self, *args)
13501 def set_value(self, *args):
13503 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13504 set_value(Provenance self, IntKey a0, IMP::Int a1)
13505 set_value(Provenance self, StringKey a0, IMP::String a1)
13506 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13507 set_value(Provenance self, ObjectKey a0, Object a1)
13509 return _IMP_core.Provenance_set_value(self, *args)
13512 def remove_attribute(self, *args):
13514 remove_attribute(Provenance self, FloatKey a0)
13515 remove_attribute(Provenance self, IntKey a0)
13516 remove_attribute(Provenance self, StringKey a0)
13517 remove_attribute(Provenance self, ParticleIndexKey a0)
13518 remove_attribute(Provenance self, ObjectKey a0)
13520 return _IMP_core.Provenance_remove_attribute(self, *args)
13523 def has_attribute(self, *args):
13525 has_attribute(Provenance self, FloatKey a0) -> bool
13526 has_attribute(Provenance self, IntKey a0) -> bool
13527 has_attribute(Provenance self, StringKey a0) -> bool
13528 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13529 has_attribute(Provenance self, ObjectKey a0) -> bool
13531 return _IMP_core.Provenance_has_attribute(self, *args)
13534 def get_derivative(self, a0):
13535 """get_derivative(Provenance self, FloatKey a0) -> double"""
13536 return _IMP_core.Provenance_get_derivative(self, a0)
13539 def get_name(self):
13540 """get_name(Provenance self) -> std::string"""
13541 return _IMP_core.Provenance_get_name(self)
13544 def clear_caches(self):
13545 """clear_caches(Provenance self)"""
13546 return _IMP_core.Provenance_clear_caches(self)
13549 def set_name(self, a0):
13550 """set_name(Provenance self, std::string a0)"""
13551 return _IMP_core.Provenance_set_name(self, a0)
13555 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13556 return _IMP_core.Provenance_set_check_level(self, a0)
13559 def add_to_derivative(self, a0, a1, a2):
13560 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13561 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13564 def set_is_optimized(self, a0, a1):
13565 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13566 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13569 def get_is_optimized(self, a0):
13570 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13571 return _IMP_core.Provenance_get_is_optimized(self, a0)
13575 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13576 return _IMP_core.Provenance_get_check_level(self)
13579 def __eq__(self, *args):
13581 __eq__(Provenance self, Provenance o) -> bool
13582 __eq__(Provenance self, Particle d) -> bool
13584 return _IMP_core.Provenance___eq__(self, *args)
13587 def __ne__(self, *args):
13589 __ne__(Provenance self, Provenance o) -> bool
13590 __ne__(Provenance self, Particle d) -> bool
13592 return _IMP_core.Provenance___ne__(self, *args)
13595 def __le__(self, *args):
13597 __le__(Provenance self, Provenance o) -> bool
13598 __le__(Provenance self, Particle d) -> bool
13600 return _IMP_core.Provenance___le__(self, *args)
13603 def __lt__(self, *args):
13605 __lt__(Provenance self, Provenance o) -> bool
13606 __lt__(Provenance self, Particle d) -> bool
13608 return _IMP_core.Provenance___lt__(self, *args)
13611 def __ge__(self, *args):
13613 __ge__(Provenance self, Provenance o) -> bool
13614 __ge__(Provenance self, Particle d) -> bool
13616 return _IMP_core.Provenance___ge__(self, *args)
13619 def __gt__(self, *args):
13621 __gt__(Provenance self, Provenance o) -> bool
13622 __gt__(Provenance self, Particle d) -> bool
13624 return _IMP_core.Provenance___gt__(self, *args)
13627 def __hash__(self):
13628 """__hash__(Provenance self) -> std::size_t"""
13629 return _IMP_core.Provenance___hash__(self)
13633 """__str__(Provenance self) -> std::string"""
13634 return _IMP_core.Provenance___str__(self)
13637 def __repr__(self):
13638 """__repr__(Provenance self) -> std::string"""
13639 return _IMP_core.Provenance___repr__(self)
13641 __swig_destroy__ = _IMP_core.delete_Provenance
13642 __del__ =
lambda self:
None
13643 Provenance_swigregister = _IMP_core.Provenance_swigregister
13644 Provenance_swigregister(Provenance)
13646 def Provenance_get_is_setup(*args):
13648 get_is_setup(Model m, ParticleIndex pi) -> bool
13649 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13651 return _IMP_core.Provenance_get_is_setup(*args)
13653 def Provenance_setup_particle(*args):
13655 setup_particle(Model m, ParticleIndex pi) -> Provenance
13656 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13658 return _IMP_core.Provenance_setup_particle(*args)
13660 class StructureProvenance(Provenance):
13661 """Proxy of C++ IMP::core::StructureProvenance class."""
13663 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13665 def set_filename(self, filename):
13666 """set_filename(StructureProvenance self, std::string filename)"""
13667 return _IMP_core.StructureProvenance_set_filename(self, filename)
13670 def get_filename(self):
13671 """get_filename(StructureProvenance self) -> std::string"""
13672 return _IMP_core.StructureProvenance_get_filename(self)
13675 def set_chain_id(self, chain_id):
13676 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13677 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13681 """get_chain_id(StructureProvenance self) -> std::string"""
13682 return _IMP_core.StructureProvenance_get_chain_id(self)
13685 def set_residue_offset(self, residue_offset):
13686 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13687 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13690 def get_residue_offset(self):
13691 """get_residue_offset(StructureProvenance self) -> int"""
13692 return _IMP_core.StructureProvenance_get_residue_offset(self)
13695 def __init__(self, *args):
13697 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13698 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13699 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13701 this = _IMP_core.new_StructureProvenance(*args)
13703 self.this.append(this)
13704 except __builtin__.Exception:
13707 def get_is_setup(*args):
13709 get_is_setup(Model m, ParticleIndex pi) -> bool
13710 get_is_setup(_ParticleAdaptor p) -> bool
13712 return _IMP_core.StructureProvenance_get_is_setup(*args)
13714 get_is_setup = staticmethod(get_is_setup)
13716 def show(self, *args):
13718 show(StructureProvenance self, _ostream out)
13719 show(StructureProvenance self)
13721 return _IMP_core.StructureProvenance_show(self, *args)
13724 def setup_particle(*args):
13726 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13727 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13728 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13729 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13730 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13731 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13733 return _IMP_core.StructureProvenance_setup_particle(*args)
13735 setup_particle = staticmethod(setup_particle)
13737 def add_attribute(self, *args):
13739 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13740 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13741 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13742 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13743 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13744 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13746 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13749 def get_value(self, *args):
13751 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13752 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13753 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13754 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13755 get_value(StructureProvenance self, ObjectKey a0) -> Object
13757 return _IMP_core.StructureProvenance_get_value(self, *args)
13760 def set_value(self, *args):
13762 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13763 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13764 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13765 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13766 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13768 return _IMP_core.StructureProvenance_set_value(self, *args)
13771 def remove_attribute(self, *args):
13773 remove_attribute(StructureProvenance self, FloatKey a0)
13774 remove_attribute(StructureProvenance self, IntKey a0)
13775 remove_attribute(StructureProvenance self, StringKey a0)
13776 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13777 remove_attribute(StructureProvenance self, ObjectKey a0)
13779 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13782 def has_attribute(self, *args):
13784 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13785 has_attribute(StructureProvenance self, IntKey a0) -> bool
13786 has_attribute(StructureProvenance self, StringKey a0) -> bool
13787 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13788 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13790 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13793 def get_derivative(self, a0):
13794 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13795 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13798 def get_name(self):
13799 """get_name(StructureProvenance self) -> std::string"""
13800 return _IMP_core.StructureProvenance_get_name(self)
13803 def clear_caches(self):
13804 """clear_caches(StructureProvenance self)"""
13805 return _IMP_core.StructureProvenance_clear_caches(self)
13808 def set_name(self, a0):
13809 """set_name(StructureProvenance self, std::string a0)"""
13810 return _IMP_core.StructureProvenance_set_name(self, a0)
13814 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
13815 return _IMP_core.StructureProvenance_set_check_level(self, a0)
13818 def add_to_derivative(self, a0, a1, a2):
13819 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13820 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
13823 def set_is_optimized(self, a0, a1):
13824 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
13825 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
13828 def get_is_optimized(self, a0):
13829 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
13830 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
13834 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
13835 return _IMP_core.StructureProvenance_get_check_level(self)
13838 def __eq__(self, *args):
13840 __eq__(StructureProvenance self, StructureProvenance o) -> bool
13841 __eq__(StructureProvenance self, Particle d) -> bool
13843 return _IMP_core.StructureProvenance___eq__(self, *args)
13846 def __ne__(self, *args):
13848 __ne__(StructureProvenance self, StructureProvenance o) -> bool
13849 __ne__(StructureProvenance self, Particle d) -> bool
13851 return _IMP_core.StructureProvenance___ne__(self, *args)
13854 def __le__(self, *args):
13856 __le__(StructureProvenance self, StructureProvenance o) -> bool
13857 __le__(StructureProvenance self, Particle d) -> bool
13859 return _IMP_core.StructureProvenance___le__(self, *args)
13862 def __lt__(self, *args):
13864 __lt__(StructureProvenance self, StructureProvenance o) -> bool
13865 __lt__(StructureProvenance self, Particle d) -> bool
13867 return _IMP_core.StructureProvenance___lt__(self, *args)
13870 def __ge__(self, *args):
13872 __ge__(StructureProvenance self, StructureProvenance o) -> bool
13873 __ge__(StructureProvenance self, Particle d) -> bool
13875 return _IMP_core.StructureProvenance___ge__(self, *args)
13878 def __gt__(self, *args):
13880 __gt__(StructureProvenance self, StructureProvenance o) -> bool
13881 __gt__(StructureProvenance self, Particle d) -> bool
13883 return _IMP_core.StructureProvenance___gt__(self, *args)
13886 def __hash__(self):
13887 """__hash__(StructureProvenance self) -> std::size_t"""
13888 return _IMP_core.StructureProvenance___hash__(self)
13892 """__str__(StructureProvenance self) -> std::string"""
13893 return _IMP_core.StructureProvenance___str__(self)
13896 def __repr__(self):
13897 """__repr__(StructureProvenance self) -> std::string"""
13898 return _IMP_core.StructureProvenance___repr__(self)
13900 __swig_destroy__ = _IMP_core.delete_StructureProvenance
13901 __del__ =
lambda self:
None
13902 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
13903 StructureProvenance_swigregister(StructureProvenance)
13905 def StructureProvenance_get_is_setup(*args):
13907 get_is_setup(Model m, ParticleIndex pi) -> bool
13908 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
13910 return _IMP_core.StructureProvenance_get_is_setup(*args)
13912 def StructureProvenance_setup_particle(*args):
13914 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13915 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13916 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13917 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13918 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13919 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13921 return _IMP_core.StructureProvenance_setup_particle(*args)
13923 class SampleProvenance(Provenance):
13924 """Proxy of C++ IMP::core::SampleProvenance class."""
13926 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13928 def set_method(self, method):
13929 """set_method(SampleProvenance self, std::string method)"""
13930 return _IMP_core.SampleProvenance_set_method(self, method)
13933 def get_method(self):
13934 """get_method(SampleProvenance self) -> std::string"""
13935 return _IMP_core.SampleProvenance_get_method(self)
13938 def set_number_of_frames(self, frames):
13939 """set_number_of_frames(SampleProvenance self, int frames)"""
13940 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
13944 """get_number_of_frames(SampleProvenance self) -> int"""
13945 return _IMP_core.SampleProvenance_get_number_of_frames(self)
13948 def set_number_of_iterations(self, iterations):
13949 """set_number_of_iterations(SampleProvenance self, int iterations)"""
13950 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
13953 def get_number_of_iterations(self):
13954 """get_number_of_iterations(SampleProvenance self) -> int"""
13955 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
13958 def set_number_of_replicas(self, replicas):
13959 """set_number_of_replicas(SampleProvenance self, int replicas)"""
13960 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
13963 def get_number_of_replicas(self):
13964 """get_number_of_replicas(SampleProvenance self) -> int"""
13965 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
13968 def __init__(self, *args):
13970 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
13971 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
13972 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
13974 this = _IMP_core.new_SampleProvenance(*args)
13976 self.this.append(this)
13977 except __builtin__.Exception:
13980 def get_is_setup(*args):
13982 get_is_setup(Model m, ParticleIndex pi) -> bool
13983 get_is_setup(_ParticleAdaptor p) -> bool
13985 return _IMP_core.SampleProvenance_get_is_setup(*args)
13987 get_is_setup = staticmethod(get_is_setup)
13989 def show(self, *args):
13991 show(SampleProvenance self, _ostream out)
13992 show(SampleProvenance self)
13994 return _IMP_core.SampleProvenance_show(self, *args)
13997 def setup_particle(*args):
13999 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14000 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14001 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14002 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14003 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14004 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14006 return _IMP_core.SampleProvenance_setup_particle(*args)
14008 setup_particle = staticmethod(setup_particle)
14010 def add_attribute(self, *args):
14012 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14013 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14014 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14015 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14016 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14017 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14019 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14022 def get_value(self, *args):
14024 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14025 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14026 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14027 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14028 get_value(SampleProvenance self, ObjectKey a0) -> Object
14030 return _IMP_core.SampleProvenance_get_value(self, *args)
14033 def set_value(self, *args):
14035 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14036 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14037 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14038 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14039 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14041 return _IMP_core.SampleProvenance_set_value(self, *args)
14044 def remove_attribute(self, *args):
14046 remove_attribute(SampleProvenance self, FloatKey a0)
14047 remove_attribute(SampleProvenance self, IntKey a0)
14048 remove_attribute(SampleProvenance self, StringKey a0)
14049 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14050 remove_attribute(SampleProvenance self, ObjectKey a0)
14052 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14055 def has_attribute(self, *args):
14057 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14058 has_attribute(SampleProvenance self, IntKey a0) -> bool
14059 has_attribute(SampleProvenance self, StringKey a0) -> bool
14060 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14061 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14063 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14066 def get_derivative(self, a0):
14067 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14068 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14071 def get_name(self):
14072 """get_name(SampleProvenance self) -> std::string"""
14073 return _IMP_core.SampleProvenance_get_name(self)
14076 def clear_caches(self):
14077 """clear_caches(SampleProvenance self)"""
14078 return _IMP_core.SampleProvenance_clear_caches(self)
14081 def set_name(self, a0):
14082 """set_name(SampleProvenance self, std::string a0)"""
14083 return _IMP_core.SampleProvenance_set_name(self, a0)
14087 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14088 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14091 def add_to_derivative(self, a0, a1, a2):
14092 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14093 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14096 def set_is_optimized(self, a0, a1):
14097 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14098 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14101 def get_is_optimized(self, a0):
14102 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14103 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14107 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14108 return _IMP_core.SampleProvenance_get_check_level(self)
14111 def __eq__(self, *args):
14113 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14114 __eq__(SampleProvenance self, Particle d) -> bool
14116 return _IMP_core.SampleProvenance___eq__(self, *args)
14119 def __ne__(self, *args):
14121 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14122 __ne__(SampleProvenance self, Particle d) -> bool
14124 return _IMP_core.SampleProvenance___ne__(self, *args)
14127 def __le__(self, *args):
14129 __le__(SampleProvenance self, SampleProvenance o) -> bool
14130 __le__(SampleProvenance self, Particle d) -> bool
14132 return _IMP_core.SampleProvenance___le__(self, *args)
14135 def __lt__(self, *args):
14137 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14138 __lt__(SampleProvenance self, Particle d) -> bool
14140 return _IMP_core.SampleProvenance___lt__(self, *args)
14143 def __ge__(self, *args):
14145 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14146 __ge__(SampleProvenance self, Particle d) -> bool
14148 return _IMP_core.SampleProvenance___ge__(self, *args)
14151 def __gt__(self, *args):
14153 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14154 __gt__(SampleProvenance self, Particle d) -> bool
14156 return _IMP_core.SampleProvenance___gt__(self, *args)
14159 def __hash__(self):
14160 """__hash__(SampleProvenance self) -> std::size_t"""
14161 return _IMP_core.SampleProvenance___hash__(self)
14165 """__str__(SampleProvenance self) -> std::string"""
14166 return _IMP_core.SampleProvenance___str__(self)
14169 def __repr__(self):
14170 """__repr__(SampleProvenance self) -> std::string"""
14171 return _IMP_core.SampleProvenance___repr__(self)
14173 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14174 __del__ =
lambda self:
None
14175 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14176 SampleProvenance_swigregister(SampleProvenance)
14178 def SampleProvenance_get_is_setup(*args):
14180 get_is_setup(Model m, ParticleIndex pi) -> bool
14181 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14183 return _IMP_core.SampleProvenance_get_is_setup(*args)
14185 def SampleProvenance_setup_particle(*args):
14187 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14188 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14189 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14190 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14191 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14192 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14194 return _IMP_core.SampleProvenance_setup_particle(*args)
14196 class CombineProvenance(Provenance):
14197 """Proxy of C++ IMP::core::CombineProvenance class."""
14199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14201 def set_number_of_frames(self, frames):
14202 """set_number_of_frames(CombineProvenance self, int frames)"""
14203 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14207 """get_number_of_frames(CombineProvenance self) -> int"""
14208 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14211 def set_number_of_runs(self, runs):
14212 """set_number_of_runs(CombineProvenance self, int runs)"""
14213 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14216 def get_number_of_runs(self):
14217 """get_number_of_runs(CombineProvenance self) -> int"""
14218 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14221 def __init__(self, *args):
14223 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14224 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14225 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14227 this = _IMP_core.new_CombineProvenance(*args)
14229 self.this.append(this)
14230 except __builtin__.Exception:
14233 def get_is_setup(*args):
14235 get_is_setup(Model m, ParticleIndex pi) -> bool
14236 get_is_setup(_ParticleAdaptor p) -> bool
14238 return _IMP_core.CombineProvenance_get_is_setup(*args)
14240 get_is_setup = staticmethod(get_is_setup)
14242 def show(self, *args):
14244 show(CombineProvenance self, _ostream out)
14245 show(CombineProvenance self)
14247 return _IMP_core.CombineProvenance_show(self, *args)
14250 def setup_particle(*args):
14252 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14253 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14254 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14255 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14257 return _IMP_core.CombineProvenance_setup_particle(*args)
14259 setup_particle = staticmethod(setup_particle)
14261 def add_attribute(self, *args):
14263 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14264 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14265 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14266 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14267 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14268 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14270 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14273 def get_value(self, *args):
14275 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14276 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14277 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14278 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14279 get_value(CombineProvenance self, ObjectKey a0) -> Object
14281 return _IMP_core.CombineProvenance_get_value(self, *args)
14284 def set_value(self, *args):
14286 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14287 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14288 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14289 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14290 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14292 return _IMP_core.CombineProvenance_set_value(self, *args)
14295 def remove_attribute(self, *args):
14297 remove_attribute(CombineProvenance self, FloatKey a0)
14298 remove_attribute(CombineProvenance self, IntKey a0)
14299 remove_attribute(CombineProvenance self, StringKey a0)
14300 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14301 remove_attribute(CombineProvenance self, ObjectKey a0)
14303 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14306 def has_attribute(self, *args):
14308 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14309 has_attribute(CombineProvenance self, IntKey a0) -> bool
14310 has_attribute(CombineProvenance self, StringKey a0) -> bool
14311 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14312 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14314 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14317 def get_derivative(self, a0):
14318 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14319 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14322 def get_name(self):
14323 """get_name(CombineProvenance self) -> std::string"""
14324 return _IMP_core.CombineProvenance_get_name(self)
14327 def clear_caches(self):
14328 """clear_caches(CombineProvenance self)"""
14329 return _IMP_core.CombineProvenance_clear_caches(self)
14332 def set_name(self, a0):
14333 """set_name(CombineProvenance self, std::string a0)"""
14334 return _IMP_core.CombineProvenance_set_name(self, a0)
14338 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14339 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14342 def add_to_derivative(self, a0, a1, a2):
14343 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14344 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14347 def set_is_optimized(self, a0, a1):
14348 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14349 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14352 def get_is_optimized(self, a0):
14353 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14354 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14358 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14359 return _IMP_core.CombineProvenance_get_check_level(self)
14362 def __eq__(self, *args):
14364 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14365 __eq__(CombineProvenance self, Particle d) -> bool
14367 return _IMP_core.CombineProvenance___eq__(self, *args)
14370 def __ne__(self, *args):
14372 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14373 __ne__(CombineProvenance self, Particle d) -> bool
14375 return _IMP_core.CombineProvenance___ne__(self, *args)
14378 def __le__(self, *args):
14380 __le__(CombineProvenance self, CombineProvenance o) -> bool
14381 __le__(CombineProvenance self, Particle d) -> bool
14383 return _IMP_core.CombineProvenance___le__(self, *args)
14386 def __lt__(self, *args):
14388 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14389 __lt__(CombineProvenance self, Particle d) -> bool
14391 return _IMP_core.CombineProvenance___lt__(self, *args)
14394 def __ge__(self, *args):
14396 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14397 __ge__(CombineProvenance self, Particle d) -> bool
14399 return _IMP_core.CombineProvenance___ge__(self, *args)
14402 def __gt__(self, *args):
14404 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14405 __gt__(CombineProvenance self, Particle d) -> bool
14407 return _IMP_core.CombineProvenance___gt__(self, *args)
14410 def __hash__(self):
14411 """__hash__(CombineProvenance self) -> std::size_t"""
14412 return _IMP_core.CombineProvenance___hash__(self)
14416 """__str__(CombineProvenance self) -> std::string"""
14417 return _IMP_core.CombineProvenance___str__(self)
14420 def __repr__(self):
14421 """__repr__(CombineProvenance self) -> std::string"""
14422 return _IMP_core.CombineProvenance___repr__(self)
14424 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14425 __del__ =
lambda self:
None
14426 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14427 CombineProvenance_swigregister(CombineProvenance)
14429 def CombineProvenance_get_is_setup(*args):
14431 get_is_setup(Model m, ParticleIndex pi) -> bool
14432 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14434 return _IMP_core.CombineProvenance_get_is_setup(*args)
14436 def CombineProvenance_setup_particle(*args):
14438 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14439 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14440 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14441 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14443 return _IMP_core.CombineProvenance_setup_particle(*args)
14445 class FilterProvenance(Provenance):
14446 """Proxy of C++ IMP::core::FilterProvenance class."""
14448 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14450 def set_method(self, method):
14451 """set_method(FilterProvenance self, std::string method)"""
14452 return _IMP_core.FilterProvenance_set_method(self, method)
14455 def get_method(self):
14456 """get_method(FilterProvenance self) -> std::string"""
14457 return _IMP_core.FilterProvenance_get_method(self)
14460 def set_number_of_frames(self, frames):
14461 """set_number_of_frames(FilterProvenance self, int frames)"""
14462 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14466 """get_number_of_frames(FilterProvenance self) -> int"""
14467 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14470 def set_threshold(self, threshold):
14471 """set_threshold(FilterProvenance self, double threshold)"""
14472 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14475 def get_threshold(self):
14476 """get_threshold(FilterProvenance self) -> double"""
14477 return _IMP_core.FilterProvenance_get_threshold(self)
14480 def __init__(self, *args):
14482 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14483 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14484 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14486 this = _IMP_core.new_FilterProvenance(*args)
14488 self.this.append(this)
14489 except __builtin__.Exception:
14492 def get_is_setup(*args):
14494 get_is_setup(Model m, ParticleIndex pi) -> bool
14495 get_is_setup(_ParticleAdaptor p) -> bool
14497 return _IMP_core.FilterProvenance_get_is_setup(*args)
14499 get_is_setup = staticmethod(get_is_setup)
14501 def show(self, *args):
14503 show(FilterProvenance self, _ostream out)
14504 show(FilterProvenance self)
14506 return _IMP_core.FilterProvenance_show(self, *args)
14509 def setup_particle(*args):
14511 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14512 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14513 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14514 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14516 return _IMP_core.FilterProvenance_setup_particle(*args)
14518 setup_particle = staticmethod(setup_particle)
14520 def add_attribute(self, *args):
14522 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14523 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14524 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14525 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14526 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14527 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14529 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14532 def get_value(self, *args):
14534 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14535 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14536 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14537 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14538 get_value(FilterProvenance self, ObjectKey a0) -> Object
14540 return _IMP_core.FilterProvenance_get_value(self, *args)
14543 def set_value(self, *args):
14545 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14546 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14547 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14548 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14549 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14551 return _IMP_core.FilterProvenance_set_value(self, *args)
14554 def remove_attribute(self, *args):
14556 remove_attribute(FilterProvenance self, FloatKey a0)
14557 remove_attribute(FilterProvenance self, IntKey a0)
14558 remove_attribute(FilterProvenance self, StringKey a0)
14559 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14560 remove_attribute(FilterProvenance self, ObjectKey a0)
14562 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14565 def has_attribute(self, *args):
14567 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14568 has_attribute(FilterProvenance self, IntKey a0) -> bool
14569 has_attribute(FilterProvenance self, StringKey a0) -> bool
14570 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14571 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14573 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14576 def get_derivative(self, a0):
14577 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14578 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14581 def get_name(self):
14582 """get_name(FilterProvenance self) -> std::string"""
14583 return _IMP_core.FilterProvenance_get_name(self)
14586 def clear_caches(self):
14587 """clear_caches(FilterProvenance self)"""
14588 return _IMP_core.FilterProvenance_clear_caches(self)
14591 def set_name(self, a0):
14592 """set_name(FilterProvenance self, std::string a0)"""
14593 return _IMP_core.FilterProvenance_set_name(self, a0)
14597 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14598 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14601 def add_to_derivative(self, a0, a1, a2):
14602 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14603 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14606 def set_is_optimized(self, a0, a1):
14607 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14608 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14611 def get_is_optimized(self, a0):
14612 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14613 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14617 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14618 return _IMP_core.FilterProvenance_get_check_level(self)
14621 def __eq__(self, *args):
14623 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14624 __eq__(FilterProvenance self, Particle d) -> bool
14626 return _IMP_core.FilterProvenance___eq__(self, *args)
14629 def __ne__(self, *args):
14631 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14632 __ne__(FilterProvenance self, Particle d) -> bool
14634 return _IMP_core.FilterProvenance___ne__(self, *args)
14637 def __le__(self, *args):
14639 __le__(FilterProvenance self, FilterProvenance o) -> bool
14640 __le__(FilterProvenance self, Particle d) -> bool
14642 return _IMP_core.FilterProvenance___le__(self, *args)
14645 def __lt__(self, *args):
14647 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14648 __lt__(FilterProvenance self, Particle d) -> bool
14650 return _IMP_core.FilterProvenance___lt__(self, *args)
14653 def __ge__(self, *args):
14655 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14656 __ge__(FilterProvenance self, Particle d) -> bool
14658 return _IMP_core.FilterProvenance___ge__(self, *args)
14661 def __gt__(self, *args):
14663 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14664 __gt__(FilterProvenance self, Particle d) -> bool
14666 return _IMP_core.FilterProvenance___gt__(self, *args)
14669 def __hash__(self):
14670 """__hash__(FilterProvenance self) -> std::size_t"""
14671 return _IMP_core.FilterProvenance___hash__(self)
14675 """__str__(FilterProvenance self) -> std::string"""
14676 return _IMP_core.FilterProvenance___str__(self)
14679 def __repr__(self):
14680 """__repr__(FilterProvenance self) -> std::string"""
14681 return _IMP_core.FilterProvenance___repr__(self)
14683 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14684 __del__ =
lambda self:
None
14685 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14686 FilterProvenance_swigregister(FilterProvenance)
14688 def FilterProvenance_get_is_setup(*args):
14690 get_is_setup(Model m, ParticleIndex pi) -> bool
14691 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14693 return _IMP_core.FilterProvenance_get_is_setup(*args)
14695 def FilterProvenance_setup_particle(*args):
14697 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14698 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14699 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14700 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14702 return _IMP_core.FilterProvenance_setup_particle(*args)
14704 class ClusterProvenance(Provenance):
14705 """Proxy of C++ IMP::core::ClusterProvenance class."""
14707 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14709 def set_number_of_members(self, members):
14710 """set_number_of_members(ClusterProvenance self, int members)"""
14711 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14714 def get_number_of_members(self):
14715 """get_number_of_members(ClusterProvenance self) -> int"""
14716 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14719 def __init__(self, *args):
14721 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14722 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14723 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14725 this = _IMP_core.new_ClusterProvenance(*args)
14727 self.this.append(this)
14728 except __builtin__.Exception:
14731 def get_is_setup(*args):
14733 get_is_setup(Model m, ParticleIndex pi) -> bool
14734 get_is_setup(_ParticleAdaptor p) -> bool
14736 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14738 get_is_setup = staticmethod(get_is_setup)
14740 def show(self, *args):
14742 show(ClusterProvenance self, _ostream out)
14743 show(ClusterProvenance self)
14745 return _IMP_core.ClusterProvenance_show(self, *args)
14748 def setup_particle(*args):
14750 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14751 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14752 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14753 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14755 return _IMP_core.ClusterProvenance_setup_particle(*args)
14757 setup_particle = staticmethod(setup_particle)
14759 def add_attribute(self, *args):
14761 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
14762 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14763 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
14764 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
14765 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14766 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
14768 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
14771 def get_value(self, *args):
14773 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
14774 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
14775 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
14776 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
14777 get_value(ClusterProvenance self, ObjectKey a0) -> Object
14779 return _IMP_core.ClusterProvenance_get_value(self, *args)
14782 def set_value(self, *args):
14784 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14785 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
14786 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
14787 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14788 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
14790 return _IMP_core.ClusterProvenance_set_value(self, *args)
14793 def remove_attribute(self, *args):
14795 remove_attribute(ClusterProvenance self, FloatKey a0)
14796 remove_attribute(ClusterProvenance self, IntKey a0)
14797 remove_attribute(ClusterProvenance self, StringKey a0)
14798 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
14799 remove_attribute(ClusterProvenance self, ObjectKey a0)
14801 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
14804 def has_attribute(self, *args):
14806 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
14807 has_attribute(ClusterProvenance self, IntKey a0) -> bool
14808 has_attribute(ClusterProvenance self, StringKey a0) -> bool
14809 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
14810 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
14812 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
14815 def get_derivative(self, a0):
14816 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
14817 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
14820 def get_name(self):
14821 """get_name(ClusterProvenance self) -> std::string"""
14822 return _IMP_core.ClusterProvenance_get_name(self)
14825 def clear_caches(self):
14826 """clear_caches(ClusterProvenance self)"""
14827 return _IMP_core.ClusterProvenance_clear_caches(self)
14830 def set_name(self, a0):
14831 """set_name(ClusterProvenance self, std::string a0)"""
14832 return _IMP_core.ClusterProvenance_set_name(self, a0)
14836 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
14837 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
14840 def add_to_derivative(self, a0, a1, a2):
14841 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14842 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
14845 def set_is_optimized(self, a0, a1):
14846 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
14847 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
14850 def get_is_optimized(self, a0):
14851 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
14852 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
14856 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
14857 return _IMP_core.ClusterProvenance_get_check_level(self)
14860 def __eq__(self, *args):
14862 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
14863 __eq__(ClusterProvenance self, Particle d) -> bool
14865 return _IMP_core.ClusterProvenance___eq__(self, *args)
14868 def __ne__(self, *args):
14870 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
14871 __ne__(ClusterProvenance self, Particle d) -> bool
14873 return _IMP_core.ClusterProvenance___ne__(self, *args)
14876 def __le__(self, *args):
14878 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
14879 __le__(ClusterProvenance self, Particle d) -> bool
14881 return _IMP_core.ClusterProvenance___le__(self, *args)
14884 def __lt__(self, *args):
14886 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
14887 __lt__(ClusterProvenance self, Particle d) -> bool
14889 return _IMP_core.ClusterProvenance___lt__(self, *args)
14892 def __ge__(self, *args):
14894 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
14895 __ge__(ClusterProvenance self, Particle d) -> bool
14897 return _IMP_core.ClusterProvenance___ge__(self, *args)
14900 def __gt__(self, *args):
14902 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
14903 __gt__(ClusterProvenance self, Particle d) -> bool
14905 return _IMP_core.ClusterProvenance___gt__(self, *args)
14908 def __hash__(self):
14909 """__hash__(ClusterProvenance self) -> std::size_t"""
14910 return _IMP_core.ClusterProvenance___hash__(self)
14914 """__str__(ClusterProvenance self) -> std::string"""
14915 return _IMP_core.ClusterProvenance___str__(self)
14918 def __repr__(self):
14919 """__repr__(ClusterProvenance self) -> std::string"""
14920 return _IMP_core.ClusterProvenance___repr__(self)
14922 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
14923 __del__ =
lambda self:
None
14924 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
14925 ClusterProvenance_swigregister(ClusterProvenance)
14927 def ClusterProvenance_get_is_setup(*args):
14929 get_is_setup(Model m, ParticleIndex pi) -> bool
14930 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14932 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14934 def ClusterProvenance_setup_particle(*args):
14936 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14937 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14938 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14939 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14941 return _IMP_core.ClusterProvenance_setup_particle(*args)
14943 class ScriptProvenance(Provenance):
14944 """Proxy of C++ IMP::core::ScriptProvenance class."""
14946 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14948 def set_filename(self, filename):
14949 """set_filename(ScriptProvenance self, std::string filename)"""
14950 return _IMP_core.ScriptProvenance_set_filename(self, filename)
14953 def get_filename(self):
14954 """get_filename(ScriptProvenance self) -> std::string"""
14955 return _IMP_core.ScriptProvenance_get_filename(self)
14958 def __init__(self, *args):
14960 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
14961 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
14962 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
14964 this = _IMP_core.new_ScriptProvenance(*args)
14966 self.this.append(this)
14967 except __builtin__.Exception:
14970 def get_is_setup(*args):
14972 get_is_setup(Model m, ParticleIndex pi) -> bool
14973 get_is_setup(_ParticleAdaptor p) -> bool
14975 return _IMP_core.ScriptProvenance_get_is_setup(*args)
14977 get_is_setup = staticmethod(get_is_setup)
14979 def show(self, *args):
14981 show(ScriptProvenance self, _ostream out)
14982 show(ScriptProvenance self)
14984 return _IMP_core.ScriptProvenance_show(self, *args)
14987 def setup_particle(*args):
14989 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
14990 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
14991 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
14992 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
14994 return _IMP_core.ScriptProvenance_setup_particle(*args)
14996 setup_particle = staticmethod(setup_particle)
14998 def add_attribute(self, *args):
15000 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15001 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15002 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15003 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15004 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15005 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15007 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15010 def get_value(self, *args):
15012 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15013 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15014 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15015 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15016 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15018 return _IMP_core.ScriptProvenance_get_value(self, *args)
15021 def set_value(self, *args):
15023 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15024 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15025 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15026 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15027 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15029 return _IMP_core.ScriptProvenance_set_value(self, *args)
15032 def remove_attribute(self, *args):
15034 remove_attribute(ScriptProvenance self, FloatKey a0)
15035 remove_attribute(ScriptProvenance self, IntKey a0)
15036 remove_attribute(ScriptProvenance self, StringKey a0)
15037 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15038 remove_attribute(ScriptProvenance self, ObjectKey a0)
15040 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15043 def has_attribute(self, *args):
15045 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15046 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15047 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15048 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15049 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15051 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15054 def get_derivative(self, a0):
15055 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15056 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15059 def get_name(self):
15060 """get_name(ScriptProvenance self) -> std::string"""
15061 return _IMP_core.ScriptProvenance_get_name(self)
15064 def clear_caches(self):
15065 """clear_caches(ScriptProvenance self)"""
15066 return _IMP_core.ScriptProvenance_clear_caches(self)
15069 def set_name(self, a0):
15070 """set_name(ScriptProvenance self, std::string a0)"""
15071 return _IMP_core.ScriptProvenance_set_name(self, a0)
15075 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15076 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15079 def add_to_derivative(self, a0, a1, a2):
15080 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15081 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15084 def set_is_optimized(self, a0, a1):
15085 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15086 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15089 def get_is_optimized(self, a0):
15090 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15091 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15095 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15096 return _IMP_core.ScriptProvenance_get_check_level(self)
15099 def __eq__(self, *args):
15101 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15102 __eq__(ScriptProvenance self, Particle d) -> bool
15104 return _IMP_core.ScriptProvenance___eq__(self, *args)
15107 def __ne__(self, *args):
15109 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15110 __ne__(ScriptProvenance self, Particle d) -> bool
15112 return _IMP_core.ScriptProvenance___ne__(self, *args)
15115 def __le__(self, *args):
15117 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15118 __le__(ScriptProvenance self, Particle d) -> bool
15120 return _IMP_core.ScriptProvenance___le__(self, *args)
15123 def __lt__(self, *args):
15125 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15126 __lt__(ScriptProvenance self, Particle d) -> bool
15128 return _IMP_core.ScriptProvenance___lt__(self, *args)
15131 def __ge__(self, *args):
15133 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15134 __ge__(ScriptProvenance self, Particle d) -> bool
15136 return _IMP_core.ScriptProvenance___ge__(self, *args)
15139 def __gt__(self, *args):
15141 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15142 __gt__(ScriptProvenance self, Particle d) -> bool
15144 return _IMP_core.ScriptProvenance___gt__(self, *args)
15147 def __hash__(self):
15148 """__hash__(ScriptProvenance self) -> std::size_t"""
15149 return _IMP_core.ScriptProvenance___hash__(self)
15153 """__str__(ScriptProvenance self) -> std::string"""
15154 return _IMP_core.ScriptProvenance___str__(self)
15157 def __repr__(self):
15158 """__repr__(ScriptProvenance self) -> std::string"""
15159 return _IMP_core.ScriptProvenance___repr__(self)
15161 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15162 __del__ =
lambda self:
None
15163 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15164 ScriptProvenance_swigregister(ScriptProvenance)
15166 def ScriptProvenance_get_is_setup(*args):
15168 get_is_setup(Model m, ParticleIndex pi) -> bool
15169 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15171 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15173 def ScriptProvenance_setup_particle(*args):
15175 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15176 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15177 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15178 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15180 return _IMP_core.ScriptProvenance_setup_particle(*args)
15182 class SoftwareProvenance(Provenance):
15183 """Proxy of C++ IMP::core::SoftwareProvenance class."""
15185 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15187 def set_software_name(self, name):
15188 """set_software_name(SoftwareProvenance self, std::string name)"""
15189 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15192 def get_software_name(self):
15193 """get_software_name(SoftwareProvenance self) -> std::string"""
15194 return _IMP_core.SoftwareProvenance_get_software_name(self)
15197 def set_version(self, version):
15198 """set_version(SoftwareProvenance self, std::string version)"""
15199 return _IMP_core.SoftwareProvenance_set_version(self, version)
15202 def get_version(self):
15203 """get_version(SoftwareProvenance self) -> std::string"""
15204 return _IMP_core.SoftwareProvenance_get_version(self)
15207 def set_location(self, location):
15208 """set_location(SoftwareProvenance self, std::string location)"""
15209 return _IMP_core.SoftwareProvenance_set_location(self, location)
15212 def get_location(self):
15213 """get_location(SoftwareProvenance self) -> std::string"""
15214 return _IMP_core.SoftwareProvenance_get_location(self)
15217 def __init__(self, *args):
15219 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15220 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15221 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15223 this = _IMP_core.new_SoftwareProvenance(*args)
15225 self.this.append(this)
15226 except __builtin__.Exception:
15229 def get_is_setup(*args):
15231 get_is_setup(Model m, ParticleIndex pi) -> bool
15232 get_is_setup(_ParticleAdaptor p) -> bool
15234 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15236 get_is_setup = staticmethod(get_is_setup)
15238 def show(self, *args):
15240 show(SoftwareProvenance self, _ostream out)
15241 show(SoftwareProvenance self)
15243 return _IMP_core.SoftwareProvenance_show(self, *args)
15246 def setup_particle(*args):
15248 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15249 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15250 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15251 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15253 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15255 setup_particle = staticmethod(setup_particle)
15257 def add_attribute(self, *args):
15259 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15260 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15261 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15262 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15263 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15264 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15266 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15269 def get_value(self, *args):
15271 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15272 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15273 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15274 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15275 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15277 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15280 def set_value(self, *args):
15282 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15283 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15284 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15285 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15286 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15288 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15291 def remove_attribute(self, *args):
15293 remove_attribute(SoftwareProvenance self, FloatKey a0)
15294 remove_attribute(SoftwareProvenance self, IntKey a0)
15295 remove_attribute(SoftwareProvenance self, StringKey a0)
15296 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15297 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15299 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15302 def has_attribute(self, *args):
15304 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15305 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15306 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15307 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15308 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15310 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15313 def get_derivative(self, a0):
15314 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15315 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15318 def get_name(self):
15319 """get_name(SoftwareProvenance self) -> std::string"""
15320 return _IMP_core.SoftwareProvenance_get_name(self)
15323 def clear_caches(self):
15324 """clear_caches(SoftwareProvenance self)"""
15325 return _IMP_core.SoftwareProvenance_clear_caches(self)
15328 def set_name(self, a0):
15329 """set_name(SoftwareProvenance self, std::string a0)"""
15330 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15334 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15335 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15338 def add_to_derivative(self, a0, a1, a2):
15339 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15340 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15343 def set_is_optimized(self, a0, a1):
15344 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15345 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15348 def get_is_optimized(self, a0):
15349 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15350 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15354 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15355 return _IMP_core.SoftwareProvenance_get_check_level(self)
15358 def __eq__(self, *args):
15360 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15361 __eq__(SoftwareProvenance self, Particle d) -> bool
15363 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15366 def __ne__(self, *args):
15368 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15369 __ne__(SoftwareProvenance self, Particle d) -> bool
15371 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15374 def __le__(self, *args):
15376 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15377 __le__(SoftwareProvenance self, Particle d) -> bool
15379 return _IMP_core.SoftwareProvenance___le__(self, *args)
15382 def __lt__(self, *args):
15384 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15385 __lt__(SoftwareProvenance self, Particle d) -> bool
15387 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15390 def __ge__(self, *args):
15392 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15393 __ge__(SoftwareProvenance self, Particle d) -> bool
15395 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15398 def __gt__(self, *args):
15400 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15401 __gt__(SoftwareProvenance self, Particle d) -> bool
15403 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15406 def __hash__(self):
15407 """__hash__(SoftwareProvenance self) -> std::size_t"""
15408 return _IMP_core.SoftwareProvenance___hash__(self)
15412 """__str__(SoftwareProvenance self) -> std::string"""
15413 return _IMP_core.SoftwareProvenance___str__(self)
15416 def __repr__(self):
15417 """__repr__(SoftwareProvenance self) -> std::string"""
15418 return _IMP_core.SoftwareProvenance___repr__(self)
15420 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15421 __del__ =
lambda self:
None
15422 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15423 SoftwareProvenance_swigregister(SoftwareProvenance)
15425 def SoftwareProvenance_get_is_setup(*args):
15427 get_is_setup(Model m, ParticleIndex pi) -> bool
15428 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15430 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15432 def SoftwareProvenance_setup_particle(*args):
15434 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15435 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15436 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15437 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15439 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15442 """Proxy of C++ IMP::core::Provenanced class."""
15444 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15446 def get_provenance(self):
15447 """get_provenance(Provenanced self) -> Provenance"""
15448 return _IMP_core.Provenanced_get_provenance(self)
15451 def set_provenance(self, p):
15452 """set_provenance(Provenanced self, Provenance p)"""
15453 return _IMP_core.Provenanced_set_provenance(self, p)
15456 def __init__(self, *args):
15458 __init__(IMP::core::Provenanced self) -> Provenanced
15459 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15460 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15462 this = _IMP_core.new_Provenanced(*args)
15464 self.this.append(this)
15465 except __builtin__.Exception:
15468 def get_is_setup(*args):
15470 get_is_setup(Model m, ParticleIndex pi) -> bool
15471 get_is_setup(_ParticleAdaptor p) -> bool
15473 return _IMP_core.Provenanced_get_is_setup(*args)
15475 get_is_setup = staticmethod(get_is_setup)
15477 def show(self, *args):
15479 show(Provenanced self, _ostream out)
15480 show(Provenanced self)
15482 return _IMP_core.Provenanced_show(self, *args)
15485 def setup_particle(*args):
15487 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15488 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15490 return _IMP_core.Provenanced_setup_particle(*args)
15492 setup_particle = staticmethod(setup_particle)
15494 def add_attribute(self, *args):
15496 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15497 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15498 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15499 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15500 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15501 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15503 return _IMP_core.Provenanced_add_attribute(self, *args)
15506 def get_value(self, *args):
15508 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15509 get_value(Provenanced self, IntKey a0) -> IMP::Int
15510 get_value(Provenanced self, StringKey a0) -> IMP::String
15511 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15512 get_value(Provenanced self, ObjectKey a0) -> Object
15514 return _IMP_core.Provenanced_get_value(self, *args)
15517 def set_value(self, *args):
15519 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15520 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15521 set_value(Provenanced self, StringKey a0, IMP::String a1)
15522 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15523 set_value(Provenanced self, ObjectKey a0, Object a1)
15525 return _IMP_core.Provenanced_set_value(self, *args)
15528 def remove_attribute(self, *args):
15530 remove_attribute(Provenanced self, FloatKey a0)
15531 remove_attribute(Provenanced self, IntKey a0)
15532 remove_attribute(Provenanced self, StringKey a0)
15533 remove_attribute(Provenanced self, ParticleIndexKey a0)
15534 remove_attribute(Provenanced self, ObjectKey a0)
15536 return _IMP_core.Provenanced_remove_attribute(self, *args)
15539 def has_attribute(self, *args):
15541 has_attribute(Provenanced self, FloatKey a0) -> bool
15542 has_attribute(Provenanced self, IntKey a0) -> bool
15543 has_attribute(Provenanced self, StringKey a0) -> bool
15544 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15545 has_attribute(Provenanced self, ObjectKey a0) -> bool
15547 return _IMP_core.Provenanced_has_attribute(self, *args)
15550 def get_derivative(self, a0):
15551 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15552 return _IMP_core.Provenanced_get_derivative(self, a0)
15555 def get_name(self):
15556 """get_name(Provenanced self) -> std::string"""
15557 return _IMP_core.Provenanced_get_name(self)
15560 def clear_caches(self):
15561 """clear_caches(Provenanced self)"""
15562 return _IMP_core.Provenanced_clear_caches(self)
15565 def set_name(self, a0):
15566 """set_name(Provenanced self, std::string a0)"""
15567 return _IMP_core.Provenanced_set_name(self, a0)
15571 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15572 return _IMP_core.Provenanced_set_check_level(self, a0)
15575 def add_to_derivative(self, a0, a1, a2):
15576 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15577 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15580 def set_is_optimized(self, a0, a1):
15581 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15582 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15585 def get_is_optimized(self, a0):
15586 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15587 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15591 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15592 return _IMP_core.Provenanced_get_check_level(self)
15595 def __eq__(self, *args):
15597 __eq__(Provenanced self, Provenanced o) -> bool
15598 __eq__(Provenanced self, Particle d) -> bool
15600 return _IMP_core.Provenanced___eq__(self, *args)
15603 def __ne__(self, *args):
15605 __ne__(Provenanced self, Provenanced o) -> bool
15606 __ne__(Provenanced self, Particle d) -> bool
15608 return _IMP_core.Provenanced___ne__(self, *args)
15611 def __le__(self, *args):
15613 __le__(Provenanced self, Provenanced o) -> bool
15614 __le__(Provenanced self, Particle d) -> bool
15616 return _IMP_core.Provenanced___le__(self, *args)
15619 def __lt__(self, *args):
15621 __lt__(Provenanced self, Provenanced o) -> bool
15622 __lt__(Provenanced self, Particle d) -> bool
15624 return _IMP_core.Provenanced___lt__(self, *args)
15627 def __ge__(self, *args):
15629 __ge__(Provenanced self, Provenanced o) -> bool
15630 __ge__(Provenanced self, Particle d) -> bool
15632 return _IMP_core.Provenanced___ge__(self, *args)
15635 def __gt__(self, *args):
15637 __gt__(Provenanced self, Provenanced o) -> bool
15638 __gt__(Provenanced self, Particle d) -> bool
15640 return _IMP_core.Provenanced___gt__(self, *args)
15643 def __hash__(self):
15644 """__hash__(Provenanced self) -> std::size_t"""
15645 return _IMP_core.Provenanced___hash__(self)
15649 """__str__(Provenanced self) -> std::string"""
15650 return _IMP_core.Provenanced___str__(self)
15653 def __repr__(self):
15654 """__repr__(Provenanced self) -> std::string"""
15655 return _IMP_core.Provenanced___repr__(self)
15657 __swig_destroy__ = _IMP_core.delete_Provenanced
15658 __del__ =
lambda self:
None
15659 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15660 Provenanced_swigregister(Provenanced)
15662 def Provenanced_get_is_setup(*args):
15664 get_is_setup(Model m, ParticleIndex pi) -> bool
15665 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15667 return _IMP_core.Provenanced_get_is_setup(*args)
15669 def Provenanced_setup_particle(*args):
15671 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15672 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15674 return _IMP_core.Provenanced_setup_particle(*args)
15678 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15679 return _IMP_core.add_provenance(m, pi, p)
15682 """create_clone(Provenance p) -> Provenance"""
15683 return _IMP_core.create_clone(p)
15687 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15688 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15689 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15691 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15694 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15695 return _IMP_core.create_restraint(ps, pp)
15697 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
15699 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15701 def __init__(self, *args):
15703 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15704 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
15706 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
15708 self.this.append(this)
15709 except __builtin__.Exception:
15712 def get_version_info(self):
15713 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
15714 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
15718 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
15719 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
15722 def __repr__(self):
15723 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
15724 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
15729 return _object_cast_to_TruncatedHarmonic(o)
15731 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
15732 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
15735 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
15737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15739 def __init__(self, *args):
15741 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
15742 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
15744 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
15746 self.this.append(this)
15747 except __builtin__.Exception:
15750 def get_version_info(self):
15751 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
15752 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
15756 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
15757 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
15760 def __repr__(self):
15761 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
15762 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
15767 return _object_cast_to_TruncatedHarmonic(o)
15769 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
15770 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
15773 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
15775 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15777 def __init__(self, *args):
15779 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
15780 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
15782 this = _IMP_core.new_TruncatedHarmonicBound(*args)
15784 self.this.append(this)
15785 except __builtin__.Exception:
15788 def get_version_info(self):
15789 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
15790 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
15794 """__str__(TruncatedHarmonicBound self) -> std::string"""
15795 return _IMP_core.TruncatedHarmonicBound___str__(self)
15798 def __repr__(self):
15799 """__repr__(TruncatedHarmonicBound self) -> std::string"""
15800 return _IMP_core.TruncatedHarmonicBound___repr__(self)
15805 return _object_cast_to_TruncatedHarmonic(o)
15807 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
15808 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
15811 """Proxy of C++ IMP::Key<(34897493)> class."""
15813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15815 def __init__(self, *args):
15817 __init__(IMP::Key<(34897493)> self) -> ParticleType
15818 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
15819 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
15820 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
15822 this = _IMP_core.new_ParticleType(*args)
15824 self.this.append(this)
15825 except __builtin__.Exception:
15829 """add_key(std::string sc) -> unsigned int"""
15830 return _IMP_core.ParticleType_add_key(sc)
15832 add_key = staticmethod(add_key)
15834 def get_key_exists(sc):
15835 """get_key_exists(std::string sc) -> bool"""
15836 return _IMP_core.ParticleType_get_key_exists(sc)
15838 get_key_exists = staticmethod(get_key_exists)
15840 def get_string(self):
15841 """get_string(ParticleType self) -> std::string const"""
15842 return _IMP_core.ParticleType_get_string(self)
15845 def __cmp__(self, o):
15846 """__cmp__(ParticleType self, ParticleType o) -> int"""
15847 return _IMP_core.ParticleType___cmp__(self, o)
15850 def __eq__(self, o):
15851 """__eq__(ParticleType self, ParticleType o) -> bool"""
15852 return _IMP_core.ParticleType___eq__(self, o)
15855 def __ne__(self, o):
15856 """__ne__(ParticleType self, ParticleType o) -> bool"""
15857 return _IMP_core.ParticleType___ne__(self, o)
15860 def __lt__(self, o):
15861 """__lt__(ParticleType self, ParticleType o) -> bool"""
15862 return _IMP_core.ParticleType___lt__(self, o)
15865 def __gt__(self, o):
15866 """__gt__(ParticleType self, ParticleType o) -> bool"""
15867 return _IMP_core.ParticleType___gt__(self, o)
15870 def __ge__(self, o):
15871 """__ge__(ParticleType self, ParticleType o) -> bool"""
15872 return _IMP_core.ParticleType___ge__(self, o)
15875 def __le__(self, o):
15876 """__le__(ParticleType self, ParticleType o) -> bool"""
15877 return _IMP_core.ParticleType___le__(self, o)
15880 def __hash__(self):
15881 """__hash__(ParticleType self) -> std::size_t"""
15882 return _IMP_core.ParticleType___hash__(self)
15885 def show(self, *args):
15887 show(ParticleType self, _ostream out)
15888 show(ParticleType self)
15890 return _IMP_core.ParticleType_show(self, *args)
15893 def add_alias(old_key, new_name):
15894 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15895 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15897 add_alias = staticmethod(add_alias)
15899 def get_number_of_keys():
15900 """get_number_of_keys() -> unsigned int"""
15901 return _IMP_core.ParticleType_get_number_of_keys()
15903 get_number_of_keys = staticmethod(get_number_of_keys)
15906 """get_index(ParticleType self) -> unsigned int"""
15907 return _IMP_core.ParticleType_get_index(self)
15911 """show_all(_ostream out)"""
15912 return _IMP_core.ParticleType_show_all(out)
15914 show_all = staticmethod(show_all)
15916 def get_all_strings():
15917 """get_all_strings() -> IMP::Vector< std::string >"""
15918 return _IMP_core.ParticleType_get_all_strings()
15920 get_all_strings = staticmethod(get_all_strings)
15922 def get_number_unique():
15923 """get_number_unique() -> unsigned int"""
15924 return _IMP_core.ParticleType_get_number_unique()
15926 get_number_unique = staticmethod(get_number_unique)
15929 """__str__(ParticleType self) -> std::string"""
15930 return _IMP_core.ParticleType___str__(self)
15933 def __repr__(self):
15934 """__repr__(ParticleType self) -> std::string"""
15935 return _IMP_core.ParticleType___repr__(self)
15937 __swig_destroy__ = _IMP_core.delete_ParticleType
15938 __del__ =
lambda self:
None
15939 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
15940 ParticleType_swigregister(ParticleType)
15942 def ParticleType_add_key(sc):
15943 """ParticleType_add_key(std::string sc) -> unsigned int"""
15944 return _IMP_core.ParticleType_add_key(sc)
15946 def ParticleType_get_key_exists(sc):
15947 """ParticleType_get_key_exists(std::string sc) -> bool"""
15948 return _IMP_core.ParticleType_get_key_exists(sc)
15950 def ParticleType_add_alias(old_key, new_name):
15951 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15952 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15954 def ParticleType_get_number_of_keys():
15955 """ParticleType_get_number_of_keys() -> unsigned int"""
15956 return _IMP_core.ParticleType_get_number_of_keys()
15958 def ParticleType_show_all(out):
15959 """ParticleType_show_all(_ostream out)"""
15960 return _IMP_core.ParticleType_show_all(out)
15962 def ParticleType_get_all_strings():
15963 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
15964 return _IMP_core.ParticleType_get_all_strings()
15966 def ParticleType_get_number_unique():
15967 """ParticleType_get_number_unique() -> unsigned int"""
15968 return _IMP_core.ParticleType_get_number_unique()
15971 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
15973 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15974 __repr__ = _swig_repr
15976 def __init__(self, f, k):
15977 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
15978 this = _IMP_core.new_AttributeSingletonScore(f, k)
15980 self.this.append(this)
15981 except __builtin__.Exception:
15984 def do_get_inputs(self, m, pis):
15985 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15986 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
15989 def get_unary_function(self):
15990 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
15991 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
15994 def get_version_info(self):
15995 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
15996 return _IMP_core.AttributeSingletonScore_get_version_info(self)
15998 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
15999 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16003 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16004 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16006 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
16008 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16009 __repr__ = _swig_repr
16011 def __init__(self, f, bb):
16012 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16013 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16015 self.this.append(this)
16016 except __builtin__.Exception:
16019 def do_get_inputs(self, m, pis):
16020 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16021 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16024 def get_version_info(self):
16025 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16026 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16028 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16029 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16032 def create_bounding_box_3d_singleton_score(f, bb):
16033 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16034 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16036 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class."""
16038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16039 __repr__ = _swig_repr
16041 def __init__(self, f, sphere):
16042 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16043 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16045 self.this.append(this)
16046 except __builtin__.Exception:
16049 def do_get_inputs(self, m, pis):
16050 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16051 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16054 def get_version_info(self):
16055 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16056 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16058 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16059 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16062 def create_bounding_sphere_3d_singleton_score(f, sphere):
16063 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16064 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16066 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
16068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16069 __repr__ = _swig_repr
16071 def __init__(self, f, pt):
16072 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16073 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16075 self.this.append(this)
16076 except __builtin__.Exception:
16079 def do_get_inputs(self, m, pis):
16080 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16081 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16084 def get_version_info(self):
16085 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16086 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16088 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16089 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16092 def create_distance_to_singleton_score(f, pt):
16093 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16094 return _IMP_core.create_distance_to_singleton_score(f, pt)
16098 CombineProvenance, FilterProvenance,
16099 ClusterProvenance, ScriptProvenance,
16100 SoftwareProvenance]):
16101 """Yield all provenance decorators of the given types for the particle.
16102 By default, all provenance types are returned. Provenance is returned
16103 in order, most recent first. If the particle has no provenance
16104 information, an empty generator is returned."""
16105 if Provenanced.get_is_setup(p):
16109 if c.get_is_setup(prov):
16111 prov = prov.get_previous()
16114 """Tag the given particle with the current Python script.
16115 This is a noop if the particle is already so tagged."""
16116 main = sys.modules[
'__main__']
16118 if not hasattr(main,
'__file__'):
16122 if prov.get_filename() == f:
16126 provp.set_name(
'script')
16127 prov = ScriptProvenance.setup_particle(provp, f)
16131 """Tag the given particle with the software used to create it.
16132 This is a noop if the particle is already so tagged."""
16134 if prov.get_software_name() == name
and prov.get_version() == version \
16135 and prov.get_location() == location:
16139 provp.set_name(
'software')
16140 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16144 """Tag the given particle as being created by the current version of IMP."""
16147 location=
"https://integrativemodeling.org")
16150 def get_module_version():
16151 """get_module_version() -> std::string const"""
16152 return _IMP_core.get_module_version()
16155 """get_example_path(std::string fname) -> std::string"""
16156 return _IMP_core.get_example_path(fname)
16159 """get_data_path(std::string fname) -> std::string"""
16160 return _IMP_core.get_data_path(fname)
16162 from .
import _version_check
16163 _version_check.check_version(get_module_version())
16164 __version__ = get_module_version()
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
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)
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
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
A specialization for the lower bound.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
std::string get_module_version()
A restraint is a term in an IMP ScoringFunction.