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(
"BoxSweepClosePairsFinder")
434 def _object_cast_to_BoxSweepClosePairsFinder(o):
435 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
436 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
438 _object_types.append(
"NearestNeighborsClosePairsFinder")
441 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
442 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
443 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
445 _object_types.append(
"CentroidOfRefined")
448 def _object_cast_to_CentroidOfRefined(o):
449 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
450 return _IMP_core._object_cast_to_CentroidOfRefined(o)
452 _object_types.append(
"ChecksScoreState")
455 def _object_cast_to_ChecksScoreState(o):
456 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
457 return _IMP_core._object_cast_to_ChecksScoreState(o)
459 _object_types.append(
"ChildrenRefiner")
462 def _object_cast_to_ChildrenRefiner(o):
463 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
464 return _IMP_core._object_cast_to_ChildrenRefiner(o)
466 _object_types.append(
"ClosePairsFinder")
469 def _object_cast_to_ClosePairsFinder(o):
470 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
471 return _IMP_core._object_cast_to_ClosePairsFinder(o)
473 _object_types.append(
"ClosePairsPairScore")
476 def _object_cast_to_ClosePairsPairScore(o):
477 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
478 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
480 _object_types.append(
"ClosedCubicSpline")
483 def _object_cast_to_ClosedCubicSpline(o):
484 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
485 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
487 _object_types.append(
"ConjugateGradients")
490 def _object_cast_to_ConjugateGradients(o):
491 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
492 return _IMP_core._object_cast_to_ConjugateGradients(o)
494 _object_types.append(
"ConnectivityRestraint")
497 def _object_cast_to_ConnectivityRestraint(o):
498 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
499 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
501 _object_types.append(
"ConstantRestraint")
504 def _object_cast_to_ConstantRestraint(o):
505 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
506 return _IMP_core._object_cast_to_ConstantRestraint(o)
508 _object_types.append(
"Cosine")
511 def _object_cast_to_Cosine(o):
512 """_object_cast_to_Cosine(Object o) -> Cosine"""
513 return _IMP_core._object_cast_to_Cosine(o)
515 _object_types.append(
"CoverRefined")
518 def _object_cast_to_CoverRefined(o):
519 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
520 return _IMP_core._object_cast_to_CoverRefined(o)
522 _object_types.append(
"DerivativesFromRefined")
525 def _object_cast_to_DerivativesFromRefined(o):
526 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
527 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
529 _object_types.append(
"DerivativesToRefined")
532 def _object_cast_to_DerivativesToRefined(o):
533 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
534 return _IMP_core._object_cast_to_DerivativesToRefined(o)
536 _object_types.append(
"WeightedDerivativesToRefined")
539 def _object_cast_to_WeightedDerivativesToRefined(o):
540 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
541 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
543 _object_types.append(
"DiameterRestraint")
546 def _object_cast_to_DiameterRestraint(o):
547 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
548 return _IMP_core._object_cast_to_DiameterRestraint(o)
550 _object_types.append(
"DihedralRestraint")
553 def _object_cast_to_DihedralRestraint(o):
554 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
555 return _IMP_core._object_cast_to_DihedralRestraint(o)
557 _object_types.append(
"DistanceRestraint")
560 def _object_cast_to_DistanceRestraint(o):
561 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
562 return _IMP_core._object_cast_to_DistanceRestraint(o)
564 _object_types.append(
"DistanceToSingletonScore")
567 def _object_cast_to_DistanceToSingletonScore(o):
568 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
569 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
571 _object_types.append(
"ExcludedVolumeRestraint")
574 def _object_cast_to_ExcludedVolumeRestraint(o):
575 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
576 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
578 _object_types.append(
"FixedRefiner")
581 def _object_cast_to_FixedRefiner(o):
582 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
583 return _IMP_core._object_cast_to_FixedRefiner(o)
585 _object_types.append(
"GridClosePairsFinder")
588 def _object_cast_to_GridClosePairsFinder(o):
589 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
590 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
592 _object_types.append(
"Harmonic")
595 def _object_cast_to_Harmonic(o):
596 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
597 return _IMP_core._object_cast_to_Harmonic(o)
599 _object_types.append(
"HarmonicWell")
602 def _object_cast_to_HarmonicWell(o):
603 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
604 return _IMP_core._object_cast_to_HarmonicWell(o)
606 _object_types.append(
"HarmonicLowerBound")
609 def _object_cast_to_HarmonicLowerBound(o):
610 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
611 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
613 _object_types.append(
"HarmonicUpperBound")
616 def _object_cast_to_HarmonicUpperBound(o):
617 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
618 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
620 _object_types.append(
"HarmonicSphereDistancePairScore")
623 def _object_cast_to_HarmonicSphereDistancePairScore(o):
624 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
625 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
627 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
630 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
631 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
632 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
634 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
637 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
638 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
639 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
641 _object_types.append(
"HarmonicSurfaceDistancePairScore")
644 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
645 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
646 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
648 _object_types.append(
"HarmonicSurfaceHeightPairScore")
651 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
652 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
653 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
655 _object_types.append(
"HarmonicSurfaceDepthPairScore")
658 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
659 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
660 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
662 _object_types.append(
"WeightedSum")
665 def _object_cast_to_WeightedSum(o):
666 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
667 return _IMP_core._object_cast_to_WeightedSum(o)
669 _object_types.append(
"WeightedSumOfExponential")
672 def _object_cast_to_WeightedSumOfExponential(o):
673 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
674 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
676 _object_types.append(
"IncrementalScoringFunction")
679 def _object_cast_to_IncrementalScoringFunction(o):
680 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
681 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
683 _object_types.append(
"KClosePairsPairScore")
686 def _object_cast_to_KClosePairsPairScore(o):
687 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
688 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
690 _object_types.append(
"LeavesRefiner")
693 def _object_cast_to_LeavesRefiner(o):
694 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
695 return _IMP_core._object_cast_to_LeavesRefiner(o)
697 _object_types.append(
"Linear")
700 def _object_cast_to_Linear(o):
701 """_object_cast_to_Linear(Object o) -> Linear"""
702 return _IMP_core._object_cast_to_Linear(o)
704 _object_types.append(
"LogNormalMover")
707 def _object_cast_to_LogNormalMover(o):
708 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
709 return _IMP_core._object_cast_to_LogNormalMover(o)
711 _object_types.append(
"MCCGSampler")
714 def _object_cast_to_MCCGSampler(o):
715 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
716 return _IMP_core._object_cast_to_MCCGSampler(o)
718 _object_types.append(
"MonteCarlo")
721 def _object_cast_to_MonteCarlo(o):
722 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
723 return _IMP_core._object_cast_to_MonteCarlo(o)
725 _object_types.append(
"MonteCarloWithLocalOptimization")
728 def _object_cast_to_MonteCarloWithLocalOptimization(o):
729 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
730 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
732 _object_types.append(
"MonteCarloWithBasinHopping")
735 def _object_cast_to_MonteCarloWithBasinHopping(o):
736 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
737 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
739 _object_types.append(
"MSConnectivityRestraint")
742 def _object_cast_to_MSConnectivityRestraint(o):
743 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
744 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
746 _object_types.append(
"NeighborsTable")
749 def _object_cast_to_NeighborsTable(o):
750 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
751 return _IMP_core._object_cast_to_NeighborsTable(o)
753 _object_types.append(
"NormalMover")
756 def _object_cast_to_NormalMover(o):
757 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
758 return _IMP_core._object_cast_to_NormalMover(o)
760 _object_types.append(
"NormalizedSphereDistancePairScore")
763 def _object_cast_to_NormalizedSphereDistancePairScore(o):
764 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
765 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
767 _object_types.append(
"OpenCubicSpline")
770 def _object_cast_to_OpenCubicSpline(o):
771 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
772 return _IMP_core._object_cast_to_OpenCubicSpline(o)
774 _object_types.append(
"PairConstraint")
777 def _object_cast_to_PairConstraint(o):
778 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
779 return _IMP_core._object_cast_to_PairConstraint(o)
781 _object_types.append(
"PairRestraint")
784 def _object_cast_to_PairRestraint(o):
785 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
786 return _IMP_core._object_cast_to_PairRestraint(o)
788 _object_types.append(
"QuadConstraint")
791 def _object_cast_to_QuadConstraint(o):
792 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
793 return _IMP_core._object_cast_to_QuadConstraint(o)
795 _object_types.append(
"QuadRestraint")
798 def _object_cast_to_QuadRestraint(o):
799 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
800 return _IMP_core._object_cast_to_QuadRestraint(o)
802 _object_types.append(
"QuadraticClosePairsFinder")
805 def _object_cast_to_QuadraticClosePairsFinder(o):
806 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
807 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
809 _object_types.append(
"RefinedPairsPairScore")
812 def _object_cast_to_RefinedPairsPairScore(o):
813 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
814 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
816 _object_types.append(
"RestraintsScoringFunction")
819 def _object_cast_to_RestraintsScoringFunction(o):
820 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
821 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
823 _object_types.append(
"RigidBodyDistancePairScore")
826 def _object_cast_to_RigidBodyDistancePairScore(o):
827 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
828 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
830 _object_types.append(
"RigidBodyAnglePairScore")
833 def _object_cast_to_RigidBodyAnglePairScore(o):
834 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
835 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
837 _object_types.append(
"RigidBodyMover")
840 def _object_cast_to_RigidBodyMover(o):
841 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
842 return _IMP_core._object_cast_to_RigidBodyMover(o)
844 _object_types.append(
"RigidBodyTunneler")
847 def _object_cast_to_RigidBodyTunneler(o):
848 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
849 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
851 _object_types.append(
"RigidBodyUmbrella")
854 def _object_cast_to_RigidBodyUmbrella(o):
855 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
856 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
858 _object_types.append(
"RigidClosePairsFinder")
861 def _object_cast_to_RigidClosePairsFinder(o):
862 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
863 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
865 _object_types.append(
"RigidMembersRefiner")
868 def _object_cast_to_RigidMembersRefiner(o):
869 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
870 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
872 _object_types.append(
"SingletonConstraint")
875 def _object_cast_to_SingletonConstraint(o):
876 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
877 return _IMP_core._object_cast_to_SingletonConstraint(o)
879 _object_types.append(
"SingletonRestraint")
882 def _object_cast_to_SingletonRestraint(o):
883 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
884 return _IMP_core._object_cast_to_SingletonRestraint(o)
886 _object_types.append(
"SoftSpherePairScore")
889 def _object_cast_to_SoftSpherePairScore(o):
890 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
891 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
893 _object_types.append(
"SphereDistancePairScore")
896 def _object_cast_to_SphereDistancePairScore(o):
897 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
898 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
900 _object_types.append(
"SphereDistanceToSingletonScore")
903 def _object_cast_to_SphereDistanceToSingletonScore(o):
904 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
905 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
907 _object_types.append(
"SoftSubSurfacePairScore")
910 def _object_cast_to_SoftSubSurfacePairScore(o):
911 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
912 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
914 _object_types.append(
"SoftSuperSurfacePairScore")
917 def _object_cast_to_SoftSuperSurfacePairScore(o):
918 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
919 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
921 _object_types.append(
"SurfaceDistancePairScore")
924 def _object_cast_to_SurfaceDistancePairScore(o):
925 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
926 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
928 _object_types.append(
"SurfaceHeightPairScore")
931 def _object_cast_to_SurfaceHeightPairScore(o):
932 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
933 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
935 _object_types.append(
"SurfaceDepthPairScore")
938 def _object_cast_to_SurfaceDepthPairScore(o):
939 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
940 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
942 _object_types.append(
"SurfaceTetheredChain")
945 def _object_cast_to_SurfaceTetheredChain(o):
946 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
947 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
949 _object_types.append(
"SurfaceSymmetryConstraint")
952 def _object_cast_to_SurfaceSymmetryConstraint(o):
953 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
954 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
956 _object_types.append(
"SteepestDescent")
959 def _object_cast_to_SteepestDescent(o):
960 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
961 return _IMP_core._object_cast_to_SteepestDescent(o)
963 _object_types.append(
"TableRefiner")
966 def _object_cast_to_TableRefiner(o):
967 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
968 return _IMP_core._object_cast_to_TableRefiner(o)
970 _object_types.append(
"Transform")
973 def _object_cast_to_Transform(o):
974 """_object_cast_to_Transform(Object o) -> Transform"""
975 return _IMP_core._object_cast_to_Transform(o)
977 _object_types.append(
"TransformationAndReflectionSymmetry")
980 def _object_cast_to_TransformationAndReflectionSymmetry(o):
981 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
982 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
984 _object_types.append(
"TransformationSymmetry")
987 def _object_cast_to_TransformationSymmetry(o):
988 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
989 return _IMP_core._object_cast_to_TransformationSymmetry(o)
991 _object_types.append(
"TransformationSymmetryMover")
994 def _object_cast_to_TransformationSymmetryMover(o):
995 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
996 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
998 _object_types.append(
"TransformedDistancePairScore")
1001 def _object_cast_to_TransformedDistancePairScore(o):
1002 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1003 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1005 _object_types.append(
"TripletConstraint")
1008 def _object_cast_to_TripletConstraint(o):
1009 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1010 return _IMP_core._object_cast_to_TripletConstraint(o)
1012 _object_types.append(
"TripletRestraint")
1015 def _object_cast_to_TripletRestraint(o):
1016 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1017 return _IMP_core._object_cast_to_TripletRestraint(o)
1019 _object_types.append(
"TypedPairScore")
1022 def _object_cast_to_TypedPairScore(o):
1023 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1024 return _IMP_core._object_cast_to_TypedPairScore(o)
1026 _object_types.append(
"VolumeRestraint")
1029 def _object_cast_to_VolumeRestraint(o):
1030 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1031 return _IMP_core._object_cast_to_VolumeRestraint(o)
1033 _object_types.append(
"WeightedSphereDistancePairScore")
1036 def _object_cast_to_WeightedSphereDistancePairScore(o):
1037 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1038 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1040 _object_types.append(
"MoveStatisticsScoreState")
1043 def _object_cast_to_MoveStatisticsScoreState(o):
1044 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1045 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1047 _object_types.append(
"MinimumRestraint")
1050 def _object_cast_to_MinimumRestraint(o):
1051 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1052 return _IMP_core._object_cast_to_MinimumRestraint(o)
1054 _object_types.append(
"WriteRestraintScoresOptimizerState")
1057 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1058 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1059 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1061 _object_types.append(
"LateralSurfaceConstraint")
1064 def _object_cast_to_LateralSurfaceConstraint(o):
1065 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1066 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1068 _object_types.append(
"ConstantSingletonPredicate")
1071 def _object_cast_to_ConstantSingletonPredicate(o):
1072 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1073 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1075 _object_types.append(
"ConstantPairPredicate")
1078 def _object_cast_to_ConstantPairPredicate(o):
1079 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1080 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1082 _object_types.append(
"ConstantTripletPredicate")
1085 def _object_cast_to_ConstantTripletPredicate(o):
1086 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1087 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1089 _object_types.append(
"ConstantQuadPredicate")
1092 def _object_cast_to_ConstantQuadPredicate(o):
1093 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1094 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1096 _object_types.append(
"CoinFlipSingletonPredicate")
1099 def _object_cast_to_CoinFlipSingletonPredicate(o):
1100 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1101 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1103 _object_types.append(
"CoinFlipPairPredicate")
1106 def _object_cast_to_CoinFlipPairPredicate(o):
1107 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1108 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1110 _object_types.append(
"CoinFlipTripletPredicate")
1113 def _object_cast_to_CoinFlipTripletPredicate(o):
1114 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1115 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1117 _object_types.append(
"CoinFlipQuadPredicate")
1120 def _object_cast_to_CoinFlipQuadPredicate(o):
1121 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1122 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1124 _object_types.append(
"UnorderedTypeSingletonPredicate")
1127 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1128 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1129 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1131 _object_types.append(
"UnorderedTypePairPredicate")
1134 def _object_cast_to_UnorderedTypePairPredicate(o):
1135 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1136 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1138 _object_types.append(
"UnorderedTypeTripletPredicate")
1141 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1142 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1143 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1145 _object_types.append(
"UnorderedTypeQuadPredicate")
1148 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1149 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1150 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1152 _object_types.append(
"OrderedTypeSingletonPredicate")
1155 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1156 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1157 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1159 _object_types.append(
"OrderedTypePairPredicate")
1162 def _object_cast_to_OrderedTypePairPredicate(o):
1163 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1164 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1166 _object_types.append(
"OrderedTypeTripletPredicate")
1169 def _object_cast_to_OrderedTypeTripletPredicate(o):
1170 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1171 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1173 _object_types.append(
"OrderedTypeQuadPredicate")
1176 def _object_cast_to_OrderedTypeQuadPredicate(o):
1177 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1178 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1180 _object_types.append(
"AllSameSingletonPredicate")
1183 def _object_cast_to_AllSameSingletonPredicate(o):
1184 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1185 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1187 _object_types.append(
"AllSamePairPredicate")
1190 def _object_cast_to_AllSamePairPredicate(o):
1191 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1192 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1194 _object_types.append(
"AllSameTripletPredicate")
1197 def _object_cast_to_AllSameTripletPredicate(o):
1198 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1199 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1201 _object_types.append(
"AllSameQuadPredicate")
1204 def _object_cast_to_AllSameQuadPredicate(o):
1205 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1206 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1209 return [XYZ(x)
for x
in l]
1210 _plural_types.append(
"XYZs")
1213 _value_types.append(
"XYZ")
1217 return [XYZR(x)
for x
in l]
1218 _plural_types.append(
"XYZRs")
1221 _value_types.append(
"XYZR")
1224 def RigidBodies(l=[]):
1225 return [RigidBody(x)
for x
in l]
1226 _plural_types.append(
"RigidBodies")
1229 _value_types.append(
"RigidBody")
1232 def RigidBodyMembers(l=[]):
1233 return [RigidBodyMember(x)
for x
in l]
1234 _plural_types.append(
"RigidBodyMembers")
1237 _value_types.append(
"RigidBodyMember")
1240 def RigidMembers(l=[]):
1241 return [RigidMember(x)
for x
in l]
1242 _plural_types.append(
"RigidMembers")
1245 _value_types.append(
"RigidMember")
1248 def NonRigidMembers(l=[]):
1249 return [NonRigidMember(x)
for x
in l]
1250 _plural_types.append(
"NonRigidMembers")
1253 _value_types.append(
"NonRigidMember")
1256 def Centroids(l=[]):
1257 return [Centroid(x)
for x
in l]
1258 _plural_types.append(
"Centroids")
1261 _value_types.append(
"Centroid")
1265 return [Cover(x)
for x
in l]
1266 _plural_types.append(
"Covers")
1269 _value_types.append(
"Cover")
1272 def References(l=[]):
1273 return [Reference(x)
for x
in l]
1274 _plural_types.append(
"References")
1277 _value_types.append(
"Reference")
1281 _plural_types.append(
"ParticleTypes")
1282 _value_types.append(
"ParticleType")
1286 return [Typed(x)
for x
in l]
1287 _plural_types.append(
"Typeds")
1290 _value_types.append(
"Typed")
1293 def GenericHierarchies(l=[]):
1294 return [Hierarchy(x)
for x
in l]
1295 _plural_types.append(
"GenericHierarchies")
1298 _value_types.append(
"Hierarchy")
1301 def Gaussians(l=[]):
1302 return [Gaussian(x)
for x
in l]
1303 _plural_types.append(
"Gaussians")
1306 _value_types.append(
"Gaussian")
1309 def Directions(l=[]):
1310 return [Direction(x)
for x
in l]
1311 _plural_types.append(
"Directions")
1314 _value_types.append(
"Direction")
1317 def DirectionAngles(l=[]):
1318 return [DirectionAngle(x)
for x
in l]
1319 _plural_types.append(
"DirectionAngles")
1322 _value_types.append(
"DirectionAngle")
1326 return [Surface(x)
for x
in l]
1327 _plural_types.append(
"Surfaces")
1330 _value_types.append(
"Surface")
1333 def Provenances(l=[]):
1334 return [Provenance(x)
for x
in l]
1335 _plural_types.append(
"Provenances")
1338 _value_types.append(
"Provenance")
1341 def StructureProvenances(l=[]):
1342 return [StructureProvenance(x)
for x
in l]
1343 _plural_types.append(
"StructureProvenances")
1346 _value_types.append(
"StructureProvenance")
1349 def SampleProvenances(l=[]):
1350 return [SampleProvenance(x)
for x
in l]
1351 _plural_types.append(
"SampleProvenances")
1354 _value_types.append(
"SampleProvenance")
1357 def ClusterProvenances(l=[]):
1358 return [ClusterProvenance(x)
for x
in l]
1359 _plural_types.append(
"ClusterProvenances")
1362 _value_types.append(
"ClusterProvenance")
1365 def CombineProvenances(l=[]):
1366 return [CombineProvenance(x)
for x
in l]
1367 _plural_types.append(
"CombineProvenances")
1370 _value_types.append(
"CombineProvenance")
1373 def FilterProvenances(l=[]):
1374 return [FilterProvenance(x)
for x
in l]
1375 _plural_types.append(
"FilterProvenances")
1378 _value_types.append(
"FilterProvenance")
1381 def ScriptProvenances(l=[]):
1382 return [ScriptProvenance(x)
for x
in l]
1383 _plural_types.append(
"ScriptProvenances")
1386 _value_types.append(
"ScriptProvenance")
1389 def SoftwareProvenances(l=[]):
1390 return [SoftwareProvenance(x)
for x
in l]
1391 _plural_types.append(
"SoftwareProvenances")
1394 _value_types.append(
"SoftwareProvenance")
1397 def Provenanceds(l=[]):
1398 return [Provenanced(x)
for x
in l]
1399 _plural_types.append(
"Provenanceds")
1402 _value_types.append(
"Provenanced")
1405 HierarchyCounters=list
1406 _plural_types.append(
"HierarchyCounters")
1407 _value_types.append(
"HierarchyCounter")
1410 HierarchyTraitsList=list
1411 _plural_types.append(
"HierarchyTraitsList")
1412 _value_types.append(
"HierarchyTraits")
1415 _object_types.append(
"TruncatedHarmonicBound")
1418 def _object_cast_to_TruncatedHarmonicBound(o):
1419 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1420 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1422 _object_types.append(
"TruncatedHarmonicLowerBound")
1425 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1426 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1427 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1429 _object_types.append(
"TruncatedHarmonicUpperBound")
1432 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1433 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1434 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1436 _object_types.append(
"HarmonicDistancePairScore")
1439 def _object_cast_to_HarmonicDistancePairScore(o):
1440 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1441 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1443 _object_types.append(
"DistancePairScore")
1446 def _object_cast_to_DistancePairScore(o):
1447 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1448 return _IMP_core._object_cast_to_DistancePairScore(o)
1450 _object_types.append(
"XYZRGeometry")
1453 def _object_cast_to_XYZRGeometry(o):
1454 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1455 return _IMP_core._object_cast_to_XYZRGeometry(o)
1457 _object_types.append(
"XYZRsGeometry")
1460 def _object_cast_to_XYZRsGeometry(o):
1461 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1462 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1464 _object_types.append(
"XYZDerivativeGeometry")
1467 def _object_cast_to_XYZDerivativeGeometry(o):
1468 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1469 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1471 _object_types.append(
"XYZDerivativesGeometry")
1474 def _object_cast_to_XYZDerivativesGeometry(o):
1475 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1476 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1478 _object_types.append(
"RigidBodyDerivativeGeometry")
1481 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1482 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1483 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1485 _object_types.append(
"RigidBodyDerivativesGeometry")
1488 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1489 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1490 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1492 _object_types.append(
"RigidBodyHierarchyGeometry")
1495 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1496 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1497 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1499 _object_types.append(
"RigidBodyFrameGeometry")
1502 def _object_cast_to_RigidBodyFrameGeometry(o):
1503 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1504 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1506 _object_types.append(
"RigidBodyFramesGeometry")
1509 def _object_cast_to_RigidBodyFramesGeometry(o):
1510 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1511 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1513 _object_types.append(
"RigidBodyTorque")
1516 def _object_cast_to_RigidBodyTorque(o):
1517 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1518 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1520 _object_types.append(
"EdgePairGeometry")
1523 def _object_cast_to_EdgePairGeometry(o):
1524 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1525 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1527 _object_types.append(
"EdgePairsGeometry")
1530 def _object_cast_to_EdgePairsGeometry(o):
1531 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1532 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1534 _object_types.append(
"SurfaceGeometry")
1537 def _object_cast_to_SurfaceGeometry(o):
1538 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1539 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1541 _object_types.append(
"SurfaceGeometryConstraint")
1544 def _object_cast_to_SurfaceGeometryConstraint(o):
1545 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1546 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1548 _object_types.append(
"AttributeSingletonPredicate")
1551 def _object_cast_to_AttributeSingletonPredicate(o):
1552 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1553 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1555 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1558 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1559 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1560 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1562 _object_types.append(
"IsCollisionPairPredicate")
1565 def _object_cast_to_IsCollisionPairPredicate(o):
1566 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1567 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1569 BinormalTermList=list
1570 _plural_types.append(
"BinormalTermList")
1571 _value_types.append(
"BinormalTerm")
1574 _object_types.append(
"MultipleBinormalRestraint")
1577 def _object_cast_to_MultipleBinormalRestraint(o):
1578 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1579 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1580 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1581 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1585 def __init__(self, *args, **kwargs):
1586 raise AttributeError(
"No constructor defined - class is abstract")
1587 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1588 __del__ =
lambda self:
None
1590 def get_close_pairs(self, *args):
1592 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1593 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1594 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1595 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1597 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1600 def set_distance(self, d):
1601 """set_distance(ClosePairsFinder self, double d)"""
1602 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1606 """get_distance(ClosePairsFinder self) -> double"""
1607 return _IMP_core.ClosePairsFinder_get_distance(self)
1610 def remove_pair_filter(self, d):
1611 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1612 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1615 def remove_pair_filters(self, d):
1616 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1617 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1620 def set_pair_filters(self, ps):
1621 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1622 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1625 def set_pair_filters_order(self, objs):
1626 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1627 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1630 def add_pair_filter(self, obj):
1631 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1632 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1635 def add_pair_filters(self, objs):
1636 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1637 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1640 def clear_pair_filters(self):
1641 """clear_pair_filters(ClosePairsFinder self)"""
1642 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1645 def get_number_of_pair_filters(self):
1646 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1647 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1650 def get_has_pair_filters(self):
1651 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1652 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1655 def get_pair_filter(self, i):
1656 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1657 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1660 def get_pair_filters(self):
1661 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1662 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1665 def reserve_pair_filters(self, sz):
1666 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1667 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1671 """__str__(ClosePairsFinder self) -> std::string"""
1672 return _IMP_core.ClosePairsFinder___str__(self)
1676 """__repr__(ClosePairsFinder self) -> std::string"""
1677 return _IMP_core.ClosePairsFinder___repr__(self)
1682 return _object_cast_to_ClosePairsFinder(o)
1684 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1685 ClosePairsFinder_swigregister(ClosePairsFinder)
1687 class MonteCarloMoverResult(IMP._Value):
1688 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1692 def __init__(self, *args):
1694 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1695 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1696 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1698 this = _IMP_core.new_MonteCarloMoverResult(*args)
1700 self.this.append(this)
1701 except __builtin__.Exception:
1705 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1706 return _IMP_core.MonteCarloMoverResult___hash__(self)
1709 def show(self, *args):
1711 show(MonteCarloMoverResult self, _ostream out)
1712 show(MonteCarloMoverResult self)
1714 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1717 def __cmp__(self, o):
1718 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1719 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1722 def __eq__(self, o):
1723 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1724 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1727 def __ne__(self, o):
1728 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1729 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1732 def __lt__(self, o):
1733 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1734 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1737 def __gt__(self, o):
1738 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1739 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1742 def __ge__(self, o):
1743 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1744 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1747 def __le__(self, o):
1748 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1749 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1752 def get_moved_particles(self):
1753 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1754 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1757 def set_moved_particles(self, v):
1758 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1759 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1762 def get_proposal_ratio(self):
1763 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1764 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1767 def set_proposal_ratio(self, v):
1768 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1769 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1773 """__str__(MonteCarloMoverResult self) -> std::string"""
1774 return _IMP_core.MonteCarloMoverResult___str__(self)
1778 """__repr__(MonteCarloMoverResult self) -> std::string"""
1779 return _IMP_core.MonteCarloMoverResult___repr__(self)
1781 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1782 __del__ =
lambda self:
None
1783 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1784 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1787 """Proxy of C++ IMP::core::MonteCarloMover class."""
1789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1791 def __init__(self, m, name):
1792 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1793 if self.__class__ == MonteCarloMover:
1797 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1799 self.this.append(this)
1800 except __builtin__.Exception:
1803 if self.__class__ != MonteCarloMover:
1804 _director_objects.register(self)
1810 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1811 return _IMP_core.MonteCarloMover_propose(self)
1815 """reject(MonteCarloMover self)"""
1816 return _IMP_core.MonteCarloMover_reject(self)
1820 """accept(MonteCarloMover self)"""
1821 return _IMP_core.MonteCarloMover_accept(self)
1824 def get_number_of_proposed(self):
1825 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1826 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1829 def get_number_of_accepted(self):
1830 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1831 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1834 def reset_statistics(self):
1835 """reset_statistics(MonteCarloMover self)"""
1836 return _IMP_core.MonteCarloMover_reset_statistics(self)
1839 def do_propose(self):
1840 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1841 return _IMP_core.MonteCarloMover_do_propose(self)
1844 def do_reject(self):
1845 """do_reject(MonteCarloMover self)"""
1846 return _IMP_core.MonteCarloMover_do_reject(self)
1849 def do_accept(self):
1850 """do_accept(MonteCarloMover self)"""
1851 return _IMP_core.MonteCarloMover_do_accept(self)
1854 def do_get_outputs(self):
1855 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1856 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1860 """__str__(MonteCarloMover self) -> std::string"""
1861 return _IMP_core.MonteCarloMover___str__(self)
1865 """__repr__(MonteCarloMover self) -> std::string"""
1866 return _IMP_core.MonteCarloMover___repr__(self)
1871 return _object_cast_to_MonteCarloMover(o)
1874 def get_type_name(self):
1875 return self.__class__.__name__
1876 def do_show(self, out):
1878 def get_version_info(self):
1879 if"IMP::core" ==
"IMP":
1880 return VersionInfo(self.__module__,
1881 __import__(self.__module__).get_module_version())
1884 __import__(self.__module__).get_module_version())
1887 return _object_cast_to_MonteCarloMover(o)
1889 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1890 __del__ =
lambda self:
None
1891 def __disown__(self):
1893 _IMP_core.disown_MonteCarloMover(self)
1894 return weakref_proxy(self)
1896 def do_destroy(self):
1897 """do_destroy(MonteCarloMover self)"""
1898 return _IMP_core.MonteCarloMover_do_destroy(self)
1901 def handle_set_has_required_score_states(self, arg0):
1902 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1903 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1906 def do_get_inputs(self):
1907 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1908 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1911 def do_get_interactions(self):
1912 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1913 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1915 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1916 MonteCarloMover_swigregister(MonteCarloMover)
1919 """Proxy of C++ IMP::core::XYZ class."""
1921 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1923 def get_coordinate_key(i):
1924 """get_coordinate_key(unsigned int i) -> FloatKey"""
1925 return _IMP_core.XYZ_get_coordinate_key(i)
1927 get_coordinate_key = staticmethod(get_coordinate_key)
1929 def __init__(self, *args):
1931 __init__(IMP::core::XYZ self) -> XYZ
1932 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1933 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1935 this = _IMP_core.new_XYZ(*args)
1937 self.this.append(this)
1938 except __builtin__.Exception:
1941 def show(self, *args):
1943 show(XYZ self, _ostream out)
1946 return _IMP_core.XYZ_show(self, *args)
1949 def setup_particle(*args):
1951 setup_particle(Model m, ParticleIndex pi) -> XYZ
1952 setup_particle(_ParticleAdaptor decorator) -> XYZ
1953 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1954 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1956 return _IMP_core.XYZ_setup_particle(*args)
1958 setup_particle = staticmethod(setup_particle)
1961 """get_x(XYZ self) -> IMP::Float"""
1962 return _IMP_core.XYZ_get_x(self)
1966 """set_x(XYZ self, IMP::Float t)"""
1967 return _IMP_core.XYZ_set_x(self, t)
1971 """get_y(XYZ self) -> IMP::Float"""
1972 return _IMP_core.XYZ_get_y(self)
1976 """set_y(XYZ self, IMP::Float t)"""
1977 return _IMP_core.XYZ_set_y(self, t)
1981 """get_z(XYZ self) -> IMP::Float"""
1982 return _IMP_core.XYZ_get_z(self)
1986 """set_z(XYZ self, IMP::Float t)"""
1987 return _IMP_core.XYZ_set_z(self, t)
1990 def set_coordinate(self, i, v):
1991 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1992 return _IMP_core.XYZ_set_coordinate(self, i, v)
1995 def set_coordinates(self, v):
1996 """set_coordinates(XYZ self, Vector3D v)"""
1997 return _IMP_core.XYZ_set_coordinates(self, v)
2000 def get_coordinate(self, i):
2001 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2002 return _IMP_core.XYZ_get_coordinate(self, i)
2005 def add_to_derivatives(self, v, d):
2006 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2007 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2010 def get_coordinates_are_optimized(self):
2011 """get_coordinates_are_optimized(XYZ self) -> bool"""
2012 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2015 def set_coordinates_are_optimized(self, tf):
2016 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2017 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2020 def get_vector_to(self, b):
2021 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2022 return _IMP_core.XYZ_get_vector_to(self, b)
2025 def get_coordinates(self):
2026 """get_coordinates(XYZ self) -> Vector3D"""
2027 return _IMP_core.XYZ_get_coordinates(self)
2030 def get_derivatives(self):
2031 """get_derivatives(XYZ self) -> Vector3D"""
2032 return _IMP_core.XYZ_get_derivatives(self)
2035 def get_is_setup(*args):
2037 get_is_setup(_ParticleAdaptor p) -> bool
2038 get_is_setup(Model m, ParticleIndex pi) -> bool
2040 return _IMP_core.XYZ_get_is_setup(*args)
2042 get_is_setup = staticmethod(get_is_setup)
2045 """get_xyz_keys() -> IMP::FloatKeys const &"""
2046 return _IMP_core.XYZ_get_xyz_keys()
2048 get_xyz_keys = staticmethod(get_xyz_keys)
2050 def add_attribute(self, *args):
2052 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2053 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2054 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2055 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2056 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2057 add_attribute(XYZ self, ObjectKey a0, Object a1)
2059 return _IMP_core.XYZ_add_attribute(self, *args)
2062 def get_value(self, *args):
2064 get_value(XYZ self, FloatKey a0) -> IMP::Float
2065 get_value(XYZ self, IntKey a0) -> IMP::Int
2066 get_value(XYZ self, StringKey a0) -> IMP::String
2067 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2068 get_value(XYZ self, ObjectKey a0) -> Object
2070 return _IMP_core.XYZ_get_value(self, *args)
2073 def set_value(self, *args):
2075 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2076 set_value(XYZ self, IntKey a0, IMP::Int a1)
2077 set_value(XYZ self, StringKey a0, IMP::String a1)
2078 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2079 set_value(XYZ self, ObjectKey a0, Object a1)
2081 return _IMP_core.XYZ_set_value(self, *args)
2084 def remove_attribute(self, *args):
2086 remove_attribute(XYZ self, FloatKey a0)
2087 remove_attribute(XYZ self, IntKey a0)
2088 remove_attribute(XYZ self, StringKey a0)
2089 remove_attribute(XYZ self, ParticleIndexKey a0)
2090 remove_attribute(XYZ self, ObjectKey a0)
2092 return _IMP_core.XYZ_remove_attribute(self, *args)
2095 def has_attribute(self, *args):
2097 has_attribute(XYZ self, FloatKey a0) -> bool
2098 has_attribute(XYZ self, IntKey a0) -> bool
2099 has_attribute(XYZ self, StringKey a0) -> bool
2100 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2101 has_attribute(XYZ self, ObjectKey a0) -> bool
2103 return _IMP_core.XYZ_has_attribute(self, *args)
2106 def get_derivative(self, *args):
2108 get_derivative(XYZ self, int i) -> IMP::Float
2109 get_derivative(XYZ self, FloatKey a0) -> double
2111 return _IMP_core.XYZ_get_derivative(self, *args)
2115 """get_name(XYZ self) -> std::string"""
2116 return _IMP_core.XYZ_get_name(self)
2119 def clear_caches(self):
2120 """clear_caches(XYZ self)"""
2121 return _IMP_core.XYZ_clear_caches(self)
2124 def set_name(self, a0):
2125 """set_name(XYZ self, std::string a0)"""
2126 return _IMP_core.XYZ_set_name(self, a0)
2130 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2131 return _IMP_core.XYZ_set_check_level(self, a0)
2134 def add_to_derivative(self, *args):
2136 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2137 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2139 return _IMP_core.XYZ_add_to_derivative(self, *args)
2142 def set_is_optimized(self, a0, a1):
2143 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2144 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2147 def get_is_optimized(self, a0):
2148 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2149 return _IMP_core.XYZ_get_is_optimized(self, a0)
2153 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2154 return _IMP_core.XYZ_get_check_level(self)
2157 def __eq__(self, *args):
2159 __eq__(XYZ self, XYZ o) -> bool
2160 __eq__(XYZ self, Particle d) -> bool
2162 return _IMP_core.XYZ___eq__(self, *args)
2165 def __ne__(self, *args):
2167 __ne__(XYZ self, XYZ o) -> bool
2168 __ne__(XYZ self, Particle d) -> bool
2170 return _IMP_core.XYZ___ne__(self, *args)
2173 def __le__(self, *args):
2175 __le__(XYZ self, XYZ o) -> bool
2176 __le__(XYZ self, Particle d) -> bool
2178 return _IMP_core.XYZ___le__(self, *args)
2181 def __lt__(self, *args):
2183 __lt__(XYZ self, XYZ o) -> bool
2184 __lt__(XYZ self, Particle d) -> bool
2186 return _IMP_core.XYZ___lt__(self, *args)
2189 def __ge__(self, *args):
2191 __ge__(XYZ self, XYZ o) -> bool
2192 __ge__(XYZ self, Particle d) -> bool
2194 return _IMP_core.XYZ___ge__(self, *args)
2197 def __gt__(self, *args):
2199 __gt__(XYZ self, XYZ o) -> bool
2200 __gt__(XYZ self, Particle d) -> bool
2202 return _IMP_core.XYZ___gt__(self, *args)
2206 """__hash__(XYZ self) -> std::size_t"""
2207 return _IMP_core.XYZ___hash__(self)
2211 """__str__(XYZ self) -> std::string"""
2212 return _IMP_core.XYZ___str__(self)
2216 """__repr__(XYZ self) -> std::string"""
2217 return _IMP_core.XYZ___repr__(self)
2219 __swig_destroy__ = _IMP_core.delete_XYZ
2220 __del__ =
lambda self:
None
2221 XYZ_swigregister = _IMP_core.XYZ_swigregister
2222 XYZ_swigregister(XYZ)
2224 def XYZ_get_coordinate_key(i):
2225 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2226 return _IMP_core.XYZ_get_coordinate_key(i)
2228 def XYZ_setup_particle(*args):
2230 setup_particle(Model m, ParticleIndex pi) -> XYZ
2231 setup_particle(_ParticleAdaptor decorator) -> XYZ
2232 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2233 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2235 return _IMP_core.XYZ_setup_particle(*args)
2237 def XYZ_get_is_setup(*args):
2239 get_is_setup(_ParticleAdaptor p) -> bool
2240 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2242 return _IMP_core.XYZ_get_is_setup(*args)
2244 def XYZ_get_xyz_keys():
2245 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2246 return _IMP_core.XYZ_get_xyz_keys()
2250 """set_vector_geometry(XYZ d, Vector3D v)"""
2251 return _IMP_core.set_vector_geometry(d, v)
2254 """get_vector_geometry(XYZ d) -> Vector3D"""
2255 return _IMP_core.get_vector_geometry(d)
2258 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2259 return _IMP_core.get_dihedral(a, b, c, d)
2261 """Proxy of C++ IMP::core::XYZR class."""
2263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2265 def __init__(self, *args):
2267 __init__(IMP::core::XYZR self) -> XYZR
2268 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2269 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2271 this = _IMP_core.new_XYZR(*args)
2273 self.this.append(this)
2274 except __builtin__.Exception:
2277 def show(self, *args):
2279 show(XYZR self, _ostream out)
2282 return _IMP_core.XYZR_show(self, *args)
2285 def setup_particle(*args):
2287 setup_particle(Model m, ParticleIndex pi) -> XYZR
2288 setup_particle(_ParticleAdaptor decorator) -> XYZR
2289 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2290 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2291 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2292 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2294 return _IMP_core.XYZR_setup_particle(*args)
2296 setup_particle = staticmethod(setup_particle)
2298 def get_is_setup(*args):
2300 get_is_setup(_ParticleAdaptor p) -> bool
2301 get_is_setup(Model m, ParticleIndex pi) -> bool
2303 return _IMP_core.XYZR_get_is_setup(*args)
2305 get_is_setup = staticmethod(get_is_setup)
2307 def get_radius(self):
2308 """get_radius(XYZR self) -> double"""
2309 return _IMP_core.XYZR_get_radius(self)
2312 def set_radius(self, r):
2313 """set_radius(XYZR self, double r)"""
2314 return _IMP_core.XYZR_set_radius(self, r)
2317 def get_sphere(self):
2318 """get_sphere(XYZR self) -> Sphere3D"""
2319 return _IMP_core.XYZR_get_sphere(self)
2322 def set_sphere(self, s):
2323 """set_sphere(XYZR self, Sphere3D s)"""
2324 return _IMP_core.XYZR_set_sphere(self, s)
2327 def get_radius_key():
2328 """get_radius_key() -> FloatKey"""
2329 return _IMP_core.XYZR_get_radius_key()
2331 get_radius_key = staticmethod(get_radius_key)
2333 def add_to_radius_derivative(self, v, d):
2334 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2335 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2338 def add_attribute(self, *args):
2340 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2341 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2342 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2343 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2344 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2345 add_attribute(XYZR self, ObjectKey a0, Object a1)
2347 return _IMP_core.XYZR_add_attribute(self, *args)
2350 def get_value(self, *args):
2352 get_value(XYZR self, FloatKey a0) -> IMP::Float
2353 get_value(XYZR self, IntKey a0) -> IMP::Int
2354 get_value(XYZR self, StringKey a0) -> IMP::String
2355 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2356 get_value(XYZR self, ObjectKey a0) -> Object
2358 return _IMP_core.XYZR_get_value(self, *args)
2361 def set_value(self, *args):
2363 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2364 set_value(XYZR self, IntKey a0, IMP::Int a1)
2365 set_value(XYZR self, StringKey a0, IMP::String a1)
2366 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2367 set_value(XYZR self, ObjectKey a0, Object a1)
2369 return _IMP_core.XYZR_set_value(self, *args)
2372 def remove_attribute(self, *args):
2374 remove_attribute(XYZR self, FloatKey a0)
2375 remove_attribute(XYZR self, IntKey a0)
2376 remove_attribute(XYZR self, StringKey a0)
2377 remove_attribute(XYZR self, ParticleIndexKey a0)
2378 remove_attribute(XYZR self, ObjectKey a0)
2380 return _IMP_core.XYZR_remove_attribute(self, *args)
2383 def has_attribute(self, *args):
2385 has_attribute(XYZR self, FloatKey a0) -> bool
2386 has_attribute(XYZR self, IntKey a0) -> bool
2387 has_attribute(XYZR self, StringKey a0) -> bool
2388 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2389 has_attribute(XYZR self, ObjectKey a0) -> bool
2391 return _IMP_core.XYZR_has_attribute(self, *args)
2394 def get_derivative(self, a0):
2395 """get_derivative(XYZR self, FloatKey a0) -> double"""
2396 return _IMP_core.XYZR_get_derivative(self, a0)
2400 """get_name(XYZR self) -> std::string"""
2401 return _IMP_core.XYZR_get_name(self)
2404 def clear_caches(self):
2405 """clear_caches(XYZR self)"""
2406 return _IMP_core.XYZR_clear_caches(self)
2409 def set_name(self, a0):
2410 """set_name(XYZR self, std::string a0)"""
2411 return _IMP_core.XYZR_set_name(self, a0)
2415 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2416 return _IMP_core.XYZR_set_check_level(self, a0)
2419 def add_to_derivative(self, a0, a1, a2):
2420 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2421 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2424 def set_is_optimized(self, a0, a1):
2425 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2426 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2429 def get_is_optimized(self, a0):
2430 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2431 return _IMP_core.XYZR_get_is_optimized(self, a0)
2435 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2436 return _IMP_core.XYZR_get_check_level(self)
2439 def __eq__(self, *args):
2441 __eq__(XYZR self, XYZR o) -> bool
2442 __eq__(XYZR self, Particle d) -> bool
2444 return _IMP_core.XYZR___eq__(self, *args)
2447 def __ne__(self, *args):
2449 __ne__(XYZR self, XYZR o) -> bool
2450 __ne__(XYZR self, Particle d) -> bool
2452 return _IMP_core.XYZR___ne__(self, *args)
2455 def __le__(self, *args):
2457 __le__(XYZR self, XYZR o) -> bool
2458 __le__(XYZR self, Particle d) -> bool
2460 return _IMP_core.XYZR___le__(self, *args)
2463 def __lt__(self, *args):
2465 __lt__(XYZR self, XYZR o) -> bool
2466 __lt__(XYZR self, Particle d) -> bool
2468 return _IMP_core.XYZR___lt__(self, *args)
2471 def __ge__(self, *args):
2473 __ge__(XYZR self, XYZR o) -> bool
2474 __ge__(XYZR self, Particle d) -> bool
2476 return _IMP_core.XYZR___ge__(self, *args)
2479 def __gt__(self, *args):
2481 __gt__(XYZR self, XYZR o) -> bool
2482 __gt__(XYZR self, Particle d) -> bool
2484 return _IMP_core.XYZR___gt__(self, *args)
2488 """__hash__(XYZR self) -> std::size_t"""
2489 return _IMP_core.XYZR___hash__(self)
2493 """__str__(XYZR self) -> std::string"""
2494 return _IMP_core.XYZR___str__(self)
2498 """__repr__(XYZR self) -> std::string"""
2499 return _IMP_core.XYZR___repr__(self)
2501 __swig_destroy__ = _IMP_core.delete_XYZR
2502 __del__ =
lambda self:
None
2503 XYZR_swigregister = _IMP_core.XYZR_swigregister
2504 XYZR_swigregister(XYZR)
2506 def XYZR_setup_particle(*args):
2508 setup_particle(Model m, ParticleIndex pi) -> XYZR
2509 setup_particle(_ParticleAdaptor decorator) -> XYZR
2510 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2511 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2512 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2513 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2515 return _IMP_core.XYZR_setup_particle(*args)
2517 def XYZR_get_is_setup(*args):
2519 get_is_setup(_ParticleAdaptor p) -> bool
2520 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2522 return _IMP_core.XYZR_get_is_setup(*args)
2524 def XYZR_get_radius_key():
2525 """XYZR_get_radius_key() -> FloatKey"""
2526 return _IMP_core.XYZR_get_radius_key()
2531 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2532 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2534 return _IMP_core.set_enclosing_sphere(b, v, slack)
2537 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2538 return _IMP_core.set_enclosing_radius(b, v)
2541 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2542 return _IMP_core.get_enclosing_sphere(v)
2546 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2547 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2549 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2551 """Proxy of C++ IMP::core::XYZRGeometry class."""
2553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2555 def __init__(self, *args):
2557 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2558 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2560 this = _IMP_core.new_XYZRGeometry(*args)
2562 self.this.append(this)
2563 except __builtin__.Exception:
2566 def get_version_info(self):
2567 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2568 return _IMP_core.XYZRGeometry_get_version_info(self)
2572 """__str__(XYZRGeometry self) -> std::string"""
2573 return _IMP_core.XYZRGeometry___str__(self)
2577 """__repr__(XYZRGeometry self) -> std::string"""
2578 return _IMP_core.XYZRGeometry___repr__(self)
2583 return _object_cast_to_XYZRGeometry(o)
2585 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2586 XYZRGeometry_swigregister(XYZRGeometry)
2589 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2591 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2593 def __init__(self, sc):
2594 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2595 this = _IMP_core.new_XYZRsGeometry(sc)
2597 self.this.append(this)
2598 except __builtin__.Exception:
2601 def get_version_info(self):
2602 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2603 return _IMP_core.XYZRsGeometry_get_version_info(self)
2607 """__str__(XYZRsGeometry self) -> std::string"""
2608 return _IMP_core.XYZRsGeometry___str__(self)
2612 """__repr__(XYZRsGeometry self) -> std::string"""
2613 return _IMP_core.XYZRsGeometry___repr__(self)
2618 return _object_cast_to_XYZRsGeometry(o)
2620 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2621 XYZRsGeometry_swigregister(XYZRsGeometry)
2624 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2628 def __init__(self, *args):
2630 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2631 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2633 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2635 self.this.append(this)
2636 except __builtin__.Exception:
2639 def get_version_info(self):
2640 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2641 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2645 """__str__(XYZDerivativeGeometry self) -> std::string"""
2646 return _IMP_core.XYZDerivativeGeometry___str__(self)
2650 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2651 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2656 return _object_cast_to_XYZDerivativeGeometry(o)
2658 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2659 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2662 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2664 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2666 def __init__(self, sc):
2667 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2668 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2670 self.this.append(this)
2671 except __builtin__.Exception:
2674 def get_version_info(self):
2675 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2676 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2680 """__str__(XYZDerivativesGeometry self) -> std::string"""
2681 return _IMP_core.XYZDerivativesGeometry___str__(self)
2685 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2686 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2691 return _object_cast_to_XYZDerivativesGeometry(o)
2693 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2694 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2697 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2699 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2701 def __init__(self, pp):
2702 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2703 this = _IMP_core.new_EdgePairGeometry(pp)
2705 self.this.append(this)
2706 except __builtin__.Exception:
2709 def get_version_info(self):
2710 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2711 return _IMP_core.EdgePairGeometry_get_version_info(self)
2715 """__str__(EdgePairGeometry self) -> std::string"""
2716 return _IMP_core.EdgePairGeometry___str__(self)
2720 """__repr__(EdgePairGeometry self) -> std::string"""
2721 return _IMP_core.EdgePairGeometry___repr__(self)
2726 return _object_cast_to_EdgePairGeometry(o)
2728 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2729 EdgePairGeometry_swigregister(EdgePairGeometry)
2732 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2734 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2736 def __init__(self, sc):
2737 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2738 this = _IMP_core.new_EdgePairsGeometry(sc)
2740 self.this.append(this)
2741 except __builtin__.Exception:
2744 def get_version_info(self):
2745 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2746 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2750 """__str__(EdgePairsGeometry self) -> std::string"""
2751 return _IMP_core.EdgePairsGeometry___str__(self)
2755 """__repr__(EdgePairsGeometry self) -> std::string"""
2756 return _IMP_core.EdgePairsGeometry___repr__(self)
2761 return _object_cast_to_EdgePairsGeometry(o)
2763 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2764 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2767 """Proxy of C++ IMP::core::Direction class."""
2769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2771 def do_setup_particle(m, pi, v):
2772 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2773 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2775 do_setup_particle = staticmethod(do_setup_particle)
2777 def __init__(self, *args):
2779 __init__(IMP::core::Direction self) -> Direction
2780 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2781 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2783 this = _IMP_core.new_Direction(*args)
2785 self.this.append(this)
2786 except __builtin__.Exception:
2789 def show(self, *args):
2791 show(Direction self, _ostream out)
2792 show(Direction self)
2794 return _IMP_core.Direction_show(self, *args)
2797 def setup_particle(*args):
2799 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2800 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2802 return _IMP_core.Direction_setup_particle(*args)
2804 setup_particle = staticmethod(setup_particle)
2806 def get_is_setup(*args):
2808 get_is_setup(_ParticleAdaptor p) -> bool
2809 get_is_setup(Model m, ParticleIndex pi) -> bool
2811 return _IMP_core.Direction_get_is_setup(*args)
2813 get_is_setup = staticmethod(get_is_setup)
2815 def get_direction_key(i):
2816 """get_direction_key(unsigned int i) -> FloatKey"""
2817 return _IMP_core.Direction_get_direction_key(i)
2819 get_direction_key = staticmethod(get_direction_key)
2821 def get_direction_derivative(self, i):
2822 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2823 return _IMP_core.Direction_get_direction_derivative(self, i)
2826 def get_direction_derivatives(self):
2827 """get_direction_derivatives(Direction self) -> Vector3D"""
2828 return _IMP_core.Direction_get_direction_derivatives(self)
2831 def add_to_direction_derivative(self, i, v, d):
2832 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2833 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2836 def add_to_direction_derivatives(self, v, d):
2837 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2838 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2841 def get_direction_is_optimized(self):
2842 """get_direction_is_optimized(Direction self) -> bool"""
2843 return _IMP_core.Direction_get_direction_is_optimized(self)
2846 def set_direction_is_optimized(self, tf):
2847 """set_direction_is_optimized(Direction self, bool tf)"""
2848 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2851 def get_direction(self):
2852 """get_direction(Direction self) -> Vector3D"""
2853 return _IMP_core.Direction_get_direction(self)
2856 def set_direction(self, v):
2857 """set_direction(Direction self, Vector3D v)"""
2858 return _IMP_core.Direction_set_direction(self, v)
2862 """reflect(Direction self)"""
2863 return _IMP_core.Direction_reflect(self)
2866 def add_attribute(self, *args):
2868 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
2869 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
2870 add_attribute(Direction self, IntKey a0, IMP::Int a1)
2871 add_attribute(Direction self, StringKey a0, IMP::String a1)
2872 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
2873 add_attribute(Direction self, ObjectKey a0, Object a1)
2875 return _IMP_core.Direction_add_attribute(self, *args)
2878 def get_value(self, *args):
2880 get_value(Direction self, FloatKey a0) -> IMP::Float
2881 get_value(Direction self, IntKey a0) -> IMP::Int
2882 get_value(Direction self, StringKey a0) -> IMP::String
2883 get_value(Direction self, ParticleIndexKey a0) -> Particle
2884 get_value(Direction self, ObjectKey a0) -> Object
2886 return _IMP_core.Direction_get_value(self, *args)
2889 def set_value(self, *args):
2891 set_value(Direction self, FloatKey a0, IMP::Float a1)
2892 set_value(Direction self, IntKey a0, IMP::Int a1)
2893 set_value(Direction self, StringKey a0, IMP::String a1)
2894 set_value(Direction self, ParticleIndexKey a0, Particle a1)
2895 set_value(Direction self, ObjectKey a0, Object a1)
2897 return _IMP_core.Direction_set_value(self, *args)
2900 def remove_attribute(self, *args):
2902 remove_attribute(Direction self, FloatKey a0)
2903 remove_attribute(Direction self, IntKey a0)
2904 remove_attribute(Direction self, StringKey a0)
2905 remove_attribute(Direction self, ParticleIndexKey a0)
2906 remove_attribute(Direction self, ObjectKey a0)
2908 return _IMP_core.Direction_remove_attribute(self, *args)
2911 def has_attribute(self, *args):
2913 has_attribute(Direction self, FloatKey a0) -> bool
2914 has_attribute(Direction self, IntKey a0) -> bool
2915 has_attribute(Direction self, StringKey a0) -> bool
2916 has_attribute(Direction self, ParticleIndexKey a0) -> bool
2917 has_attribute(Direction self, ObjectKey a0) -> bool
2919 return _IMP_core.Direction_has_attribute(self, *args)
2922 def get_derivative(self, a0):
2923 """get_derivative(Direction self, FloatKey a0) -> double"""
2924 return _IMP_core.Direction_get_derivative(self, a0)
2928 """get_name(Direction self) -> std::string"""
2929 return _IMP_core.Direction_get_name(self)
2932 def clear_caches(self):
2933 """clear_caches(Direction self)"""
2934 return _IMP_core.Direction_clear_caches(self)
2937 def set_name(self, a0):
2938 """set_name(Direction self, std::string a0)"""
2939 return _IMP_core.Direction_set_name(self, a0)
2943 """set_check_level(Direction self, IMP::CheckLevel a0)"""
2944 return _IMP_core.Direction_set_check_level(self, a0)
2947 def add_to_derivative(self, a0, a1, a2):
2948 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2949 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
2952 def set_is_optimized(self, a0, a1):
2953 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
2954 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
2957 def get_is_optimized(self, a0):
2958 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
2959 return _IMP_core.Direction_get_is_optimized(self, a0)
2963 """get_check_level(Direction self) -> IMP::CheckLevel"""
2964 return _IMP_core.Direction_get_check_level(self)
2967 def __eq__(self, *args):
2969 __eq__(Direction self, Direction o) -> bool
2970 __eq__(Direction self, Particle d) -> bool
2972 return _IMP_core.Direction___eq__(self, *args)
2975 def __ne__(self, *args):
2977 __ne__(Direction self, Direction o) -> bool
2978 __ne__(Direction self, Particle d) -> bool
2980 return _IMP_core.Direction___ne__(self, *args)
2983 def __le__(self, *args):
2985 __le__(Direction self, Direction o) -> bool
2986 __le__(Direction self, Particle d) -> bool
2988 return _IMP_core.Direction___le__(self, *args)
2991 def __lt__(self, *args):
2993 __lt__(Direction self, Direction o) -> bool
2994 __lt__(Direction self, Particle d) -> bool
2996 return _IMP_core.Direction___lt__(self, *args)
2999 def __ge__(self, *args):
3001 __ge__(Direction self, Direction o) -> bool
3002 __ge__(Direction self, Particle d) -> bool
3004 return _IMP_core.Direction___ge__(self, *args)
3007 def __gt__(self, *args):
3009 __gt__(Direction self, Direction o) -> bool
3010 __gt__(Direction self, Particle d) -> bool
3012 return _IMP_core.Direction___gt__(self, *args)
3016 """__hash__(Direction self) -> std::size_t"""
3017 return _IMP_core.Direction___hash__(self)
3021 """__str__(Direction self) -> std::string"""
3022 return _IMP_core.Direction___str__(self)
3026 """__repr__(Direction self) -> std::string"""
3027 return _IMP_core.Direction___repr__(self)
3029 __swig_destroy__ = _IMP_core.delete_Direction
3030 __del__ =
lambda self:
None
3031 Direction_swigregister = _IMP_core.Direction_swigregister
3032 Direction_swigregister(Direction)
3034 def Direction_do_setup_particle(m, pi, v):
3035 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3036 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3038 def Direction_setup_particle(*args):
3040 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3041 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3043 return _IMP_core.Direction_setup_particle(*args)
3045 def Direction_get_is_setup(*args):
3047 get_is_setup(_ParticleAdaptor p) -> bool
3048 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3050 return _IMP_core.Direction_get_is_setup(*args)
3052 def Direction_get_direction_key(i):
3053 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3054 return _IMP_core.Direction_get_direction_key(i)
3058 """get_angle(Direction a, Direction b) -> double"""
3059 return _IMP_core.get_angle(a, b)
3061 """Proxy of C++ IMP::core::DirectionAngle class."""
3063 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3065 def __init__(self, *args):
3067 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3068 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3069 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3071 this = _IMP_core.new_DirectionAngle(*args)
3073 self.this.append(this)
3074 except __builtin__.Exception:
3077 def show(self, *args):
3079 show(DirectionAngle self, _ostream out)
3080 show(DirectionAngle self)
3082 return _IMP_core.DirectionAngle_show(self, *args)
3085 def setup_particle(*args):
3087 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3088 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3089 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3090 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3092 return _IMP_core.DirectionAngle_setup_particle(*args)
3094 setup_particle = staticmethod(setup_particle)
3096 def get_is_setup(*args):
3098 get_is_setup(_ParticleAdaptor p) -> bool
3099 get_is_setup(Model m, ParticleIndex pi) -> bool
3101 return _IMP_core.DirectionAngle_get_is_setup(*args)
3103 get_is_setup = staticmethod(get_is_setup)
3105 def get_angle_key():
3106 """get_angle_key() -> FloatKey"""
3107 return _IMP_core.DirectionAngle_get_angle_key()
3109 get_angle_key = staticmethod(get_angle_key)
3111 def get_particle_key(i):
3112 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3113 return _IMP_core.DirectionAngle_get_particle_key(i)
3115 get_particle_key = staticmethod(get_particle_key)
3117 def get_particle(self, *args):
3119 get_particle(DirectionAngle self, unsigned int i) -> Particle
3120 get_particle(DirectionAngle self) -> Particle
3122 return _IMP_core.DirectionAngle_get_particle(self, *args)
3125 def get_particle_index(self, *args):
3127 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3128 get_particle_index(DirectionAngle self) -> ParticleIndex
3130 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3134 """get_angle(DirectionAngle self) -> IMP::Float"""
3135 return _IMP_core.DirectionAngle_get_angle(self)
3138 def get_angle_derivative(self):
3139 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3140 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3143 def add_to_angle_derivative(self, v, d):
3144 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3145 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3148 def add_attribute(self, *args):
3150 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3151 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3152 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3153 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3154 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3155 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3157 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3160 def get_value(self, *args):
3162 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3163 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3164 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3165 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3166 get_value(DirectionAngle self, ObjectKey a0) -> Object
3168 return _IMP_core.DirectionAngle_get_value(self, *args)
3171 def set_value(self, *args):
3173 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3174 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3175 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3176 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3177 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3179 return _IMP_core.DirectionAngle_set_value(self, *args)
3182 def remove_attribute(self, *args):
3184 remove_attribute(DirectionAngle self, FloatKey a0)
3185 remove_attribute(DirectionAngle self, IntKey a0)
3186 remove_attribute(DirectionAngle self, StringKey a0)
3187 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3188 remove_attribute(DirectionAngle self, ObjectKey a0)
3190 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3193 def has_attribute(self, *args):
3195 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3196 has_attribute(DirectionAngle self, IntKey a0) -> bool
3197 has_attribute(DirectionAngle self, StringKey a0) -> bool
3198 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3199 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3201 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3204 def get_derivative(self, a0):
3205 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3206 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3210 """get_name(DirectionAngle self) -> std::string"""
3211 return _IMP_core.DirectionAngle_get_name(self)
3214 def clear_caches(self):
3215 """clear_caches(DirectionAngle self)"""
3216 return _IMP_core.DirectionAngle_clear_caches(self)
3219 def set_name(self, a0):
3220 """set_name(DirectionAngle self, std::string a0)"""
3221 return _IMP_core.DirectionAngle_set_name(self, a0)
3225 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3226 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3229 def add_to_derivative(self, a0, a1, a2):
3230 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3231 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3234 def set_is_optimized(self, a0, a1):
3235 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3236 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3239 def get_is_optimized(self, a0):
3240 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3241 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3245 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3246 return _IMP_core.DirectionAngle_get_check_level(self)
3249 def __eq__(self, *args):
3251 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3252 __eq__(DirectionAngle self, Particle d) -> bool
3254 return _IMP_core.DirectionAngle___eq__(self, *args)
3257 def __ne__(self, *args):
3259 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3260 __ne__(DirectionAngle self, Particle d) -> bool
3262 return _IMP_core.DirectionAngle___ne__(self, *args)
3265 def __le__(self, *args):
3267 __le__(DirectionAngle self, DirectionAngle o) -> bool
3268 __le__(DirectionAngle self, Particle d) -> bool
3270 return _IMP_core.DirectionAngle___le__(self, *args)
3273 def __lt__(self, *args):
3275 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3276 __lt__(DirectionAngle self, Particle d) -> bool
3278 return _IMP_core.DirectionAngle___lt__(self, *args)
3281 def __ge__(self, *args):
3283 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3284 __ge__(DirectionAngle self, Particle d) -> bool
3286 return _IMP_core.DirectionAngle___ge__(self, *args)
3289 def __gt__(self, *args):
3291 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3292 __gt__(DirectionAngle self, Particle d) -> bool
3294 return _IMP_core.DirectionAngle___gt__(self, *args)
3298 """__hash__(DirectionAngle self) -> std::size_t"""
3299 return _IMP_core.DirectionAngle___hash__(self)
3303 """__str__(DirectionAngle self) -> std::string"""
3304 return _IMP_core.DirectionAngle___str__(self)
3308 """__repr__(DirectionAngle self) -> std::string"""
3309 return _IMP_core.DirectionAngle___repr__(self)
3311 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3312 __del__ =
lambda self:
None
3313 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3314 DirectionAngle_swigregister(DirectionAngle)
3316 def DirectionAngle_setup_particle(*args):
3318 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3319 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3320 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3321 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3323 return _IMP_core.DirectionAngle_setup_particle(*args)
3325 def DirectionAngle_get_is_setup(*args):
3327 get_is_setup(_ParticleAdaptor p) -> bool
3328 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3330 return _IMP_core.DirectionAngle_get_is_setup(*args)
3332 def DirectionAngle_get_angle_key():
3333 """DirectionAngle_get_angle_key() -> FloatKey"""
3334 return _IMP_core.DirectionAngle_get_angle_key()
3336 def DirectionAngle_get_particle_key(i):
3337 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3338 return _IMP_core.DirectionAngle_get_particle_key(i)
3341 """Proxy of C++ IMP::core::Surface class."""
3343 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3345 def do_setup_particle(*args):
3347 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3348 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3349 do_setup_particle(Model m, ParticleIndex pi)
3350 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3352 return _IMP_core.Surface_do_setup_particle(*args)
3354 do_setup_particle = staticmethod(do_setup_particle)
3356 def __init__(self, *args):
3358 __init__(IMP::core::Surface self) -> Surface
3359 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3360 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3362 this = _IMP_core.new_Surface(*args)
3364 self.this.append(this)
3365 except __builtin__.Exception:
3368 def show(self, *args):
3370 show(Surface self, _ostream out)
3373 return _IMP_core.Surface_show(self, *args)
3376 def setup_particle(*args):
3378 setup_particle(Model m, ParticleIndex pi) -> Surface
3379 setup_particle(_ParticleAdaptor decorator) -> Surface
3380 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3381 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3382 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3383 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3384 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3385 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3387 return _IMP_core.Surface_setup_particle(*args)
3389 setup_particle = staticmethod(setup_particle)
3391 def get_normal_x(self):
3392 """get_normal_x(Surface self) -> IMP::Float"""
3393 return _IMP_core.Surface_get_normal_x(self)
3396 def set_normal_x(self, t):
3397 """set_normal_x(Surface self, IMP::Float t)"""
3398 return _IMP_core.Surface_set_normal_x(self, t)
3401 def get_normal_y(self):
3402 """get_normal_y(Surface self) -> IMP::Float"""
3403 return _IMP_core.Surface_get_normal_y(self)
3406 def set_normal_y(self, t):
3407 """set_normal_y(Surface self, IMP::Float t)"""
3408 return _IMP_core.Surface_set_normal_y(self, t)
3411 def get_normal_z(self):
3412 """get_normal_z(Surface self) -> IMP::Float"""
3413 return _IMP_core.Surface_get_normal_z(self)
3416 def set_normal_z(self, t):
3417 """set_normal_z(Surface self, IMP::Float t)"""
3418 return _IMP_core.Surface_set_normal_z(self, t)
3421 def get_is_setup(*args):
3423 get_is_setup(_ParticleAdaptor p) -> bool
3424 get_is_setup(Model m, ParticleIndex pi) -> bool
3426 return _IMP_core.Surface_get_is_setup(*args)
3428 get_is_setup = staticmethod(get_is_setup)
3430 def get_normal_key(i):
3431 """get_normal_key(unsigned int i) -> FloatKey"""
3432 return _IMP_core.Surface_get_normal_key(i)
3434 get_normal_key = staticmethod(get_normal_key)
3436 def get_normal_derivative(self, i):
3437 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3438 return _IMP_core.Surface_get_normal_derivative(self, i)
3441 def get_normal_derivatives(self):
3442 """get_normal_derivatives(Surface self) -> Vector3D"""
3443 return _IMP_core.Surface_get_normal_derivatives(self)
3446 def add_to_normal_derivative(self, i, v, d):
3447 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3448 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3451 def add_to_normal_derivatives(self, v, d):
3452 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3453 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3456 def get_normal_is_optimized(self):
3457 """get_normal_is_optimized(Surface self) -> bool"""
3458 return _IMP_core.Surface_get_normal_is_optimized(self)
3461 def set_normal_is_optimized(self, tf):
3462 """set_normal_is_optimized(Surface self, bool tf)"""
3463 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3466 def get_normal(self):
3467 """get_normal(Surface self) -> Vector3D"""
3468 return _IMP_core.Surface_get_normal(self)
3471 def set_normal(self, normal):
3472 """set_normal(Surface self, Vector3D normal)"""
3473 return _IMP_core.Surface_set_normal(self, normal)
3477 """reflect(Surface self)"""
3478 return _IMP_core.Surface_reflect(self)
3482 """get_height(Surface self, Vector3D v) -> double"""
3483 return _IMP_core.Surface_get_height(self, v)
3487 """get_depth(Surface self, Vector3D v) -> double"""
3488 return _IMP_core.Surface_get_depth(self, v)
3491 def get_distance_to(self, v):
3492 """get_distance_to(Surface self, Vector3D v) -> double"""
3493 return _IMP_core.Surface_get_distance_to(self, v)
3496 def get_distance_to_center(self, v):
3497 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3498 return _IMP_core.Surface_get_distance_to_center(self, v)
3501 def set_reference_frame(self, rf):
3502 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3503 return _IMP_core.Surface_set_reference_frame(self, rf)
3506 def get_reference_frame(self):
3507 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3508 return _IMP_core.Surface_get_reference_frame(self)
3511 def get_plane(self):
3512 """get_plane(Surface self) -> Plane3D"""
3513 return _IMP_core.Surface_get_plane(self)
3516 def add_attribute(self, *args):
3518 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3519 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3520 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3521 add_attribute(Surface self, StringKey a0, IMP::String a1)
3522 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3523 add_attribute(Surface self, ObjectKey a0, Object a1)
3525 return _IMP_core.Surface_add_attribute(self, *args)
3528 def get_value(self, *args):
3530 get_value(Surface self, FloatKey a0) -> IMP::Float
3531 get_value(Surface self, IntKey a0) -> IMP::Int
3532 get_value(Surface self, StringKey a0) -> IMP::String
3533 get_value(Surface self, ParticleIndexKey a0) -> Particle
3534 get_value(Surface self, ObjectKey a0) -> Object
3536 return _IMP_core.Surface_get_value(self, *args)
3539 def set_value(self, *args):
3541 set_value(Surface self, FloatKey a0, IMP::Float a1)
3542 set_value(Surface self, IntKey a0, IMP::Int a1)
3543 set_value(Surface self, StringKey a0, IMP::String a1)
3544 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3545 set_value(Surface self, ObjectKey a0, Object a1)
3547 return _IMP_core.Surface_set_value(self, *args)
3550 def remove_attribute(self, *args):
3552 remove_attribute(Surface self, FloatKey a0)
3553 remove_attribute(Surface self, IntKey a0)
3554 remove_attribute(Surface self, StringKey a0)
3555 remove_attribute(Surface self, ParticleIndexKey a0)
3556 remove_attribute(Surface self, ObjectKey a0)
3558 return _IMP_core.Surface_remove_attribute(self, *args)
3561 def has_attribute(self, *args):
3563 has_attribute(Surface self, FloatKey a0) -> bool
3564 has_attribute(Surface self, IntKey a0) -> bool
3565 has_attribute(Surface self, StringKey a0) -> bool
3566 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3567 has_attribute(Surface self, ObjectKey a0) -> bool
3569 return _IMP_core.Surface_has_attribute(self, *args)
3572 def get_derivative(self, a0):
3573 """get_derivative(Surface self, FloatKey a0) -> double"""
3574 return _IMP_core.Surface_get_derivative(self, a0)
3578 """get_name(Surface self) -> std::string"""
3579 return _IMP_core.Surface_get_name(self)
3582 def clear_caches(self):
3583 """clear_caches(Surface self)"""
3584 return _IMP_core.Surface_clear_caches(self)
3587 def set_name(self, a0):
3588 """set_name(Surface self, std::string a0)"""
3589 return _IMP_core.Surface_set_name(self, a0)
3593 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3594 return _IMP_core.Surface_set_check_level(self, a0)
3597 def add_to_derivative(self, a0, a1, a2):
3598 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3599 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3602 def set_is_optimized(self, a0, a1):
3603 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3604 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3607 def get_is_optimized(self, a0):
3608 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3609 return _IMP_core.Surface_get_is_optimized(self, a0)
3613 """get_check_level(Surface self) -> IMP::CheckLevel"""
3614 return _IMP_core.Surface_get_check_level(self)
3617 def __eq__(self, *args):
3619 __eq__(Surface self, Surface o) -> bool
3620 __eq__(Surface self, Particle d) -> bool
3622 return _IMP_core.Surface___eq__(self, *args)
3625 def __ne__(self, *args):
3627 __ne__(Surface self, Surface o) -> bool
3628 __ne__(Surface self, Particle d) -> bool
3630 return _IMP_core.Surface___ne__(self, *args)
3633 def __le__(self, *args):
3635 __le__(Surface self, Surface o) -> bool
3636 __le__(Surface self, Particle d) -> bool
3638 return _IMP_core.Surface___le__(self, *args)
3641 def __lt__(self, *args):
3643 __lt__(Surface self, Surface o) -> bool
3644 __lt__(Surface self, Particle d) -> bool
3646 return _IMP_core.Surface___lt__(self, *args)
3649 def __ge__(self, *args):
3651 __ge__(Surface self, Surface o) -> bool
3652 __ge__(Surface self, Particle d) -> bool
3654 return _IMP_core.Surface___ge__(self, *args)
3657 def __gt__(self, *args):
3659 __gt__(Surface self, Surface o) -> bool
3660 __gt__(Surface self, Particle d) -> bool
3662 return _IMP_core.Surface___gt__(self, *args)
3666 """__hash__(Surface self) -> std::size_t"""
3667 return _IMP_core.Surface___hash__(self)
3671 """__str__(Surface self) -> std::string"""
3672 return _IMP_core.Surface___str__(self)
3676 """__repr__(Surface self) -> std::string"""
3677 return _IMP_core.Surface___repr__(self)
3679 __swig_destroy__ = _IMP_core.delete_Surface
3680 __del__ =
lambda self:
None
3681 Surface_swigregister = _IMP_core.Surface_swigregister
3682 Surface_swigregister(Surface)
3684 def Surface_do_setup_particle(*args):
3686 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3687 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3688 do_setup_particle(Model m, ParticleIndex pi)
3689 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3691 return _IMP_core.Surface_do_setup_particle(*args)
3693 def Surface_setup_particle(*args):
3695 setup_particle(Model m, ParticleIndex pi) -> Surface
3696 setup_particle(_ParticleAdaptor decorator) -> Surface
3697 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3698 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3699 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3700 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3701 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3702 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3704 return _IMP_core.Surface_setup_particle(*args)
3706 def Surface_get_is_setup(*args):
3708 get_is_setup(_ParticleAdaptor p) -> bool
3709 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3711 return _IMP_core.Surface_get_is_setup(*args)
3713 def Surface_get_normal_key(i):
3714 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3715 return _IMP_core.Surface_get_normal_key(i)
3720 get_height(Surface s, XYZR d) -> double
3721 get_height(Surface s, XYZ d) -> double
3723 return _IMP_core.get_height(*args)
3727 get_depth(Surface s, XYZR d) -> double
3728 get_depth(Surface s, XYZ d) -> double
3730 return _IMP_core.get_depth(*args)
3734 get_distance(XYZ a, XYZ b) -> double
3735 get_distance(XYZR a, XYZR b) -> double
3736 get_distance(Surface s, XYZR d) -> double
3737 get_distance(Surface s, XYZ d) -> double
3739 return _IMP_core.get_distance(*args)
3741 """Proxy of C++ IMP::core::SurfaceGeometry class."""
3743 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3745 def __init__(self, *args):
3747 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3748 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3749 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3750 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3751 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3752 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3754 this = _IMP_core.new_SurfaceGeometry(*args)
3756 self.this.append(this)
3757 except __builtin__.Exception:
3760 def get_geometry(self):
3761 """get_geometry(SurfaceGeometry self) -> Surface"""
3762 return _IMP_core.SurfaceGeometry_get_geometry(self)
3765 def set_geometry(self, s):
3766 """set_geometry(SurfaceGeometry self, Surface s)"""
3767 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3770 def get_version_info(self):
3771 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3772 return _IMP_core.SurfaceGeometry_get_version_info(self)
3776 """__str__(SurfaceGeometry self) -> std::string"""
3777 return _IMP_core.SurfaceGeometry___str__(self)
3781 """__repr__(SurfaceGeometry self) -> std::string"""
3782 return _IMP_core.SurfaceGeometry___repr__(self)
3787 return _object_cast_to_SurfaceGeometry(o)
3789 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3790 SurfaceGeometry_swigregister(SurfaceGeometry)
3795 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3796 create_geometry(Surface s) -> SurfaceGeometry
3798 return _IMP_core.create_geometry(*args)
3800 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3804 def __init__(self, s, g):
3805 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3806 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3808 self.this.append(this)
3809 except __builtin__.Exception:
3812 def get_surface(self):
3813 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3814 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3817 def get_geometry(self):
3818 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3819 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3822 def do_get_inputs(self):
3823 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3824 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3827 def do_get_outputs(self):
3828 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3829 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3832 def get_version_info(self):
3833 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3834 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3838 """__str__(SurfaceGeometryConstraint self) -> std::string"""
3839 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3843 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
3844 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3849 return _object_cast_to_SurfaceGeometryConstraint(o)
3851 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
3852 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3857 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
3858 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
3860 return _IMP_core.get_constrained_surface_geometry(*args)
3862 """Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3866 def __init__(self, s, d):
3867 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3868 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
3870 self.this.append(this)
3871 except __builtin__.Exception:
3874 def do_get_inputs(self):
3875 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3876 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3879 def do_get_outputs(self):
3880 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3881 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3884 def get_version_info(self):
3885 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3886 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3890 """__str__(LateralSurfaceConstraint self) -> std::string"""
3891 return _IMP_core.LateralSurfaceConstraint___str__(self)
3895 """__repr__(LateralSurfaceConstraint self) -> std::string"""
3896 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3901 return _object_cast_to_LateralSurfaceConstraint(o)
3903 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
3904 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3907 """Proxy of C++ IMP::core::AngleTripletScore class."""
3909 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3911 def __init__(self, f):
3912 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
3913 this = _IMP_core.new_AngleTripletScore(f)
3915 self.this.append(this)
3916 except __builtin__.Exception:
3919 def do_get_inputs(self, m, pis):
3920 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3921 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3924 def get_version_info(self):
3925 """get_version_info(AngleTripletScore self) -> VersionInfo"""
3926 return _IMP_core.AngleTripletScore_get_version_info(self)
3930 """__str__(AngleTripletScore self) -> std::string"""
3931 return _IMP_core.AngleTripletScore___str__(self)
3935 """__repr__(AngleTripletScore self) -> std::string"""
3936 return _IMP_core.AngleTripletScore___repr__(self)
3941 return _object_cast_to_AngleTripletScore(o)
3943 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
3944 AngleTripletScore_swigregister(AngleTripletScore)
3946 class BallMover(MonteCarloMover):
3947 """Proxy of C++ IMP::core::BallMover class."""
3949 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3951 def __init__(self, *args):
3953 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
3954 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
3955 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3956 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
3958 this = _IMP_core.new_BallMover(*args)
3960 self.this.append(this)
3961 except __builtin__.Exception:
3964 def set_radius(self, radius):
3965 """set_radius(BallMover self, IMP::Float radius)"""
3966 return _IMP_core.BallMover_set_radius(self, radius)
3969 def get_radius(self):
3970 """get_radius(BallMover self) -> IMP::Float"""
3971 return _IMP_core.BallMover_get_radius(self)
3974 def get_version_info(self):
3975 """get_version_info(BallMover self) -> VersionInfo"""
3976 return _IMP_core.BallMover_get_version_info(self)
3980 """__str__(BallMover self) -> std::string"""
3981 return _IMP_core.BallMover___str__(self)
3985 """__repr__(BallMover self) -> std::string"""
3986 return _IMP_core.BallMover___repr__(self)
3991 return _object_cast_to_BallMover(o)
3993 BallMover_swigregister = _IMP_core.BallMover_swigregister
3994 BallMover_swigregister(BallMover)
3996 class SerialMover(MonteCarloMover):
3997 """Proxy of C++ IMP::core::SerialMover class."""
3999 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4001 def __init__(self, mvs):
4002 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4003 this = _IMP_core.new_SerialMover(mvs)
4005 self.this.append(this)
4006 except __builtin__.Exception:
4009 def get_movers(self):
4010 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4011 return _IMP_core.SerialMover_get_movers(self)
4014 def get_version_info(self):
4015 """get_version_info(SerialMover self) -> VersionInfo"""
4016 return _IMP_core.SerialMover_get_version_info(self)
4020 """__str__(SerialMover self) -> std::string"""
4021 return _IMP_core.SerialMover___str__(self)
4025 """__repr__(SerialMover self) -> std::string"""
4026 return _IMP_core.SerialMover___repr__(self)
4031 return _object_cast_to_SerialMover(o)
4033 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4034 SerialMover_swigregister(SerialMover)
4036 class SubsetMover(MonteCarloMover):
4037 """Proxy of C++ IMP::core::SubsetMover class."""
4039 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4041 def __init__(self, mvs, n):
4042 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4043 this = _IMP_core.new_SubsetMover(mvs, n)
4045 self.this.append(this)
4046 except __builtin__.Exception:
4049 def get_movers(self):
4050 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4051 return _IMP_core.SubsetMover_get_movers(self)
4054 def get_subset_size(self):
4055 """get_subset_size(SubsetMover self) -> unsigned int"""
4056 return _IMP_core.SubsetMover_get_subset_size(self)
4059 def get_version_info(self):
4060 """get_version_info(SubsetMover self) -> VersionInfo"""
4061 return _IMP_core.SubsetMover_get_version_info(self)
4065 """__str__(SubsetMover self) -> std::string"""
4066 return _IMP_core.SubsetMover___str__(self)
4070 """__repr__(SubsetMover self) -> std::string"""
4071 return _IMP_core.SubsetMover___repr__(self)
4076 return _object_cast_to_SubsetMover(o)
4078 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4079 SubsetMover_swigregister(SubsetMover)
4081 class DirectionMover(MonteCarloMover):
4082 """Proxy of C++ IMP::core::DirectionMover class."""
4084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4086 def __init__(self, *args):
4088 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4089 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4091 this = _IMP_core.new_DirectionMover(*args)
4093 self.this.append(this)
4094 except __builtin__.Exception:
4097 def set_maximum_rotation(self, mr):
4098 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4099 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4102 def set_reflect_probability(self, rp):
4103 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4104 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4107 def get_maximum_rotation(self):
4108 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4109 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4112 def get_reflect_probability(self):
4113 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4114 return _IMP_core.DirectionMover_get_reflect_probability(self)
4117 def get_direction(self):
4118 """get_direction(DirectionMover self) -> Direction"""
4119 return _IMP_core.DirectionMover_get_direction(self)
4122 def get_version_info(self):
4123 """get_version_info(DirectionMover self) -> VersionInfo"""
4124 return _IMP_core.DirectionMover_get_version_info(self)
4128 """__str__(DirectionMover self) -> std::string"""
4129 return _IMP_core.DirectionMover___str__(self)
4133 """__repr__(DirectionMover self) -> std::string"""
4134 return _IMP_core.DirectionMover___repr__(self)
4139 return _object_cast_to_DirectionMover(o)
4141 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4142 DirectionMover_swigregister(DirectionMover)
4144 class SurfaceMover(MonteCarloMover):
4145 """Proxy of C++ IMP::core::SurfaceMover class."""
4147 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4149 def __init__(self, *args):
4151 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4152 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4154 this = _IMP_core.new_SurfaceMover(*args)
4156 self.this.append(this)
4157 except __builtin__.Exception:
4160 def set_maximum_translation(self, mt):
4161 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4162 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4165 def set_maximum_rotation(self, mr):
4166 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4167 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4170 def set_reflect_probability(self, rp):
4171 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4172 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4175 def get_maximum_translation(self):
4176 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4177 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4180 def get_maximum_rotation(self):
4181 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4182 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4185 def get_reflect_probability(self):
4186 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4187 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4190 def get_surface(self):
4191 """get_surface(SurfaceMover self) -> Surface"""
4192 return _IMP_core.SurfaceMover_get_surface(self)
4195 def get_version_info(self):
4196 """get_version_info(SurfaceMover self) -> VersionInfo"""
4197 return _IMP_core.SurfaceMover_get_version_info(self)
4201 """__str__(SurfaceMover self) -> std::string"""
4202 return _IMP_core.SurfaceMover___str__(self)
4206 """__repr__(SurfaceMover self) -> std::string"""
4207 return _IMP_core.SurfaceMover___repr__(self)
4212 return _object_cast_to_SurfaceMover(o)
4214 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4215 SurfaceMover_swigregister(SurfaceMover)
4217 class BoxSweepClosePairsFinder(ClosePairsFinder):
4218 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
4220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4223 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4224 this = _IMP_core.new_BoxSweepClosePairsFinder()
4226 self.this.append(this)
4227 except __builtin__.Exception:
4230 def get_close_pairs(self, *args):
4232 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4233 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4234 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4235 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4237 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4240 def do_get_inputs(self, m, pis):
4241 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4242 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4245 def get_version_info(self):
4246 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4247 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4251 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4252 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4256 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4257 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4262 return _object_cast_to_BoxSweepClosePairsFinder(o)
4264 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4265 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4268 """Proxy of C++ IMP::core::CentroidOfRefined class."""
4270 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4272 def __init__(self, *args):
4274 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4275 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4276 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4278 this = _IMP_core.new_CentroidOfRefined(*args)
4280 self.this.append(this)
4281 except __builtin__.Exception:
4284 def do_get_inputs(self, m, pis):
4285 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4286 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4289 def do_get_outputs(self, m, pis):
4290 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4291 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4294 def get_version_info(self):
4295 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4296 return _IMP_core.CentroidOfRefined_get_version_info(self)
4300 """__str__(CentroidOfRefined self) -> std::string"""
4301 return _IMP_core.CentroidOfRefined___str__(self)
4305 """__repr__(CentroidOfRefined self) -> std::string"""
4306 return _IMP_core.CentroidOfRefined___repr__(self)
4311 return _object_cast_to_CentroidOfRefined(o)
4313 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4314 CentroidOfRefined_swigregister(CentroidOfRefined)
4316 class Centroid(XYZ):
4317 """Proxy of C++ IMP::core::Centroid class."""
4319 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4321 def get_constraint(self):
4322 """get_constraint(Centroid self) -> Constraint"""
4323 return _IMP_core.Centroid_get_constraint(self)
4326 def __init__(self, *args):
4328 __init__(IMP::core::Centroid self) -> Centroid
4329 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4330 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4332 this = _IMP_core.new_Centroid(*args)
4334 self.this.append(this)
4335 except __builtin__.Exception:
4338 def show(self, *args):
4340 show(Centroid self, _ostream out)
4343 return _IMP_core.Centroid_show(self, *args)
4346 def setup_particle(*args):
4348 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4349 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4350 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4351 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4353 return _IMP_core.Centroid_setup_particle(*args)
4355 setup_particle = staticmethod(setup_particle)
4357 def get_is_setup(*args):
4359 get_is_setup(_ParticleAdaptor p) -> bool
4360 get_is_setup(Model m, ParticleIndex pi) -> bool
4362 return _IMP_core.Centroid_get_is_setup(*args)
4364 get_is_setup = staticmethod(get_is_setup)
4366 def add_attribute(self, *args):
4368 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4369 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4370 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4371 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4372 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4373 add_attribute(Centroid self, ObjectKey a0, Object a1)
4375 return _IMP_core.Centroid_add_attribute(self, *args)
4378 def get_value(self, *args):
4380 get_value(Centroid self, FloatKey a0) -> IMP::Float
4381 get_value(Centroid self, IntKey a0) -> IMP::Int
4382 get_value(Centroid self, StringKey a0) -> IMP::String
4383 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4384 get_value(Centroid self, ObjectKey a0) -> Object
4386 return _IMP_core.Centroid_get_value(self, *args)
4389 def set_value(self, *args):
4391 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4392 set_value(Centroid self, IntKey a0, IMP::Int a1)
4393 set_value(Centroid self, StringKey a0, IMP::String a1)
4394 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4395 set_value(Centroid self, ObjectKey a0, Object a1)
4397 return _IMP_core.Centroid_set_value(self, *args)
4400 def remove_attribute(self, *args):
4402 remove_attribute(Centroid self, FloatKey a0)
4403 remove_attribute(Centroid self, IntKey a0)
4404 remove_attribute(Centroid self, StringKey a0)
4405 remove_attribute(Centroid self, ParticleIndexKey a0)
4406 remove_attribute(Centroid self, ObjectKey a0)
4408 return _IMP_core.Centroid_remove_attribute(self, *args)
4411 def has_attribute(self, *args):
4413 has_attribute(Centroid self, FloatKey a0) -> bool
4414 has_attribute(Centroid self, IntKey a0) -> bool
4415 has_attribute(Centroid self, StringKey a0) -> bool
4416 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4417 has_attribute(Centroid self, ObjectKey a0) -> bool
4419 return _IMP_core.Centroid_has_attribute(self, *args)
4422 def get_derivative(self, a0):
4423 """get_derivative(Centroid self, FloatKey a0) -> double"""
4424 return _IMP_core.Centroid_get_derivative(self, a0)
4428 """get_name(Centroid self) -> std::string"""
4429 return _IMP_core.Centroid_get_name(self)
4432 def clear_caches(self):
4433 """clear_caches(Centroid self)"""
4434 return _IMP_core.Centroid_clear_caches(self)
4437 def set_name(self, a0):
4438 """set_name(Centroid self, std::string a0)"""
4439 return _IMP_core.Centroid_set_name(self, a0)
4443 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4444 return _IMP_core.Centroid_set_check_level(self, a0)
4447 def add_to_derivative(self, a0, a1, a2):
4448 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4449 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4452 def set_is_optimized(self, a0, a1):
4453 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4454 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4457 def get_is_optimized(self, a0):
4458 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4459 return _IMP_core.Centroid_get_is_optimized(self, a0)
4463 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4464 return _IMP_core.Centroid_get_check_level(self)
4467 def __eq__(self, *args):
4469 __eq__(Centroid self, Centroid o) -> bool
4470 __eq__(Centroid self, Particle d) -> bool
4472 return _IMP_core.Centroid___eq__(self, *args)
4475 def __ne__(self, *args):
4477 __ne__(Centroid self, Centroid o) -> bool
4478 __ne__(Centroid self, Particle d) -> bool
4480 return _IMP_core.Centroid___ne__(self, *args)
4483 def __le__(self, *args):
4485 __le__(Centroid self, Centroid o) -> bool
4486 __le__(Centroid self, Particle d) -> bool
4488 return _IMP_core.Centroid___le__(self, *args)
4491 def __lt__(self, *args):
4493 __lt__(Centroid self, Centroid o) -> bool
4494 __lt__(Centroid self, Particle d) -> bool
4496 return _IMP_core.Centroid___lt__(self, *args)
4499 def __ge__(self, *args):
4501 __ge__(Centroid self, Centroid o) -> bool
4502 __ge__(Centroid self, Particle d) -> bool
4504 return _IMP_core.Centroid___ge__(self, *args)
4507 def __gt__(self, *args):
4509 __gt__(Centroid self, Centroid o) -> bool
4510 __gt__(Centroid self, Particle d) -> bool
4512 return _IMP_core.Centroid___gt__(self, *args)
4516 """__hash__(Centroid self) -> std::size_t"""
4517 return _IMP_core.Centroid___hash__(self)
4521 """__str__(Centroid self) -> std::string"""
4522 return _IMP_core.Centroid___str__(self)
4526 """__repr__(Centroid self) -> std::string"""
4527 return _IMP_core.Centroid___repr__(self)
4529 __swig_destroy__ = _IMP_core.delete_Centroid
4530 __del__ =
lambda self:
None
4531 Centroid_swigregister = _IMP_core.Centroid_swigregister
4532 Centroid_swigregister(Centroid)
4534 def Centroid_setup_particle(*args):
4536 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4537 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4538 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4539 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4541 return _IMP_core.Centroid_setup_particle(*args)
4543 def Centroid_get_is_setup(*args):
4545 get_is_setup(_ParticleAdaptor p) -> bool
4546 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4548 return _IMP_core.Centroid_get_is_setup(*args)
4551 """Proxy of C++ IMP::core::ChecksScoreState class."""
4553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4555 def __init__(self, m, probability):
4556 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4557 this = _IMP_core.new_ChecksScoreState(m, probability)
4559 self.this.append(this)
4560 except __builtin__.Exception:
4563 def get_number_of_checked(self):
4564 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4565 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4568 def do_before_evaluate(self):
4569 """do_before_evaluate(ChecksScoreState self)"""
4570 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4573 def do_after_evaluate(self, da):
4574 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4575 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4578 def do_get_outputs(self):
4579 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4580 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4583 def do_get_inputs(self):
4584 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4585 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4588 def get_version_info(self):
4589 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4590 return _IMP_core.ChecksScoreState_get_version_info(self)
4594 """__str__(ChecksScoreState self) -> std::string"""
4595 return _IMP_core.ChecksScoreState___str__(self)
4599 """__repr__(ChecksScoreState self) -> std::string"""
4600 return _IMP_core.ChecksScoreState___repr__(self)
4605 return _object_cast_to_ChecksScoreState(o)
4607 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4608 ChecksScoreState_swigregister(ChecksScoreState)
4611 """Proxy of C++ IMP::core::ChildrenRefiner class."""
4613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4615 def __init__(self, tr):
4616 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4617 this = _IMP_core.new_ChildrenRefiner(tr)
4619 self.this.append(this)
4620 except __builtin__.Exception:
4623 def do_get_inputs(self, m, pis):
4624 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4625 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4628 def get_version_info(self):
4629 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4630 return _IMP_core.ChildrenRefiner_get_version_info(self)
4634 """__str__(ChildrenRefiner self) -> std::string"""
4635 return _IMP_core.ChildrenRefiner___str__(self)
4639 """__repr__(ChildrenRefiner self) -> std::string"""
4640 return _IMP_core.ChildrenRefiner___repr__(self)
4645 return _object_cast_to_ChildrenRefiner(o)
4647 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4648 ChildrenRefiner_swigregister(ChildrenRefiner)
4651 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
4653 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4655 def __init__(self, values, minrange, spacing):
4656 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4657 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4659 self.this.append(this)
4660 except __builtin__.Exception:
4663 def get_version_info(self):
4664 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4665 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4668 def do_show(self, out):
4669 """do_show(ClosedCubicSpline self, _ostream out)"""
4670 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4674 """__str__(ClosedCubicSpline self) -> std::string"""
4675 return _IMP_core.ClosedCubicSpline___str__(self)
4679 """__repr__(ClosedCubicSpline self) -> std::string"""
4680 return _IMP_core.ClosedCubicSpline___repr__(self)
4685 return _object_cast_to_ClosedCubicSpline(o)
4687 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4688 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4691 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
4693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4695 def __init__(self, f, r, k=1):
4697 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4698 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4700 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4702 self.this.append(this)
4703 except __builtin__.Exception:
4706 def get_close_pairs(self, pp):
4707 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4708 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4711 def create_current_decomposition(self, m, vt):
4712 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4713 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4716 def do_get_inputs(self, m, pis):
4717 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4718 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4721 def get_version_info(self):
4722 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4723 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4727 """__str__(KClosePairsPairScore self) -> std::string"""
4728 return _IMP_core.KClosePairsPairScore___str__(self)
4732 """__repr__(KClosePairsPairScore self) -> std::string"""
4733 return _IMP_core.KClosePairsPairScore___repr__(self)
4738 return _object_cast_to_KClosePairsPairScore(o)
4740 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4741 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4744 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
4746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4748 def __init__(self, f, r, max_distance):
4749 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4750 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4752 self.this.append(this)
4753 except __builtin__.Exception:
4756 def get_close_pairs(self, pp):
4757 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4758 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4761 def create_current_decomposition(self, m, vt):
4762 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4763 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4766 def do_get_inputs(self, m, pis):
4767 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4768 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4771 def get_version_info(self):
4772 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4773 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4777 """__str__(ClosePairsPairScore self) -> std::string"""
4778 return _IMP_core.ClosePairsPairScore___str__(self)
4782 """__repr__(ClosePairsPairScore self) -> std::string"""
4783 return _IMP_core.ClosePairsPairScore___repr__(self)
4788 return _object_cast_to_ClosePairsPairScore(o)
4790 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4791 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4794 """Proxy of C++ IMP::core::ConjugateGradients class."""
4796 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4798 def __init__(self, *args):
4800 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4801 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4803 this = _IMP_core.new_ConjugateGradients(*args)
4805 self.this.append(this)
4806 except __builtin__.Exception:
4809 def set_gradient_threshold(self, t):
4810 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4811 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4814 def set_threshold(self, t):
4815 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4816 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4819 def set_max_change(self, t):
4820 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4821 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4824 def do_optimize(self, max_steps):
4825 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4826 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4829 def get_version_info(self):
4830 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4831 return _IMP_core.ConjugateGradients_get_version_info(self)
4835 """__str__(ConjugateGradients self) -> std::string"""
4836 return _IMP_core.ConjugateGradients___str__(self)
4840 """__repr__(ConjugateGradients self) -> std::string"""
4841 return _IMP_core.ConjugateGradients___repr__(self)
4846 return _object_cast_to_ConjugateGradients(o)
4848 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
4849 ConjugateGradients_swigregister(ConjugateGradients)
4852 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
4854 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4856 def __init__(self, ps, sc):
4857 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4858 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
4860 self.this.append(this)
4861 except __builtin__.Exception:
4864 def get_connected_index_pairs(self):
4865 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4866 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4869 def get_pair_score(self):
4870 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
4871 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4874 def do_create_current_decomposition(self):
4875 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4876 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4879 def do_get_inputs(self):
4880 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4881 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4884 def get_version_info(self):
4885 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4886 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4890 """__str__(ConnectivityRestraint self) -> std::string"""
4891 return _IMP_core.ConnectivityRestraint___str__(self)
4895 """__repr__(ConnectivityRestraint self) -> std::string"""
4896 return _IMP_core.ConnectivityRestraint___repr__(self)
4901 return _object_cast_to_ConnectivityRestraint(o)
4903 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
4904 ConnectivityRestraint_swigregister(ConnectivityRestraint)
4907 """Proxy of C++ IMP::core::ConstantRestraint class."""
4909 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4911 def __init__(self, m, v):
4912 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
4913 this = _IMP_core.new_ConstantRestraint(m, v)
4915 self.this.append(this)
4916 except __builtin__.Exception:
4919 def do_get_inputs(self):
4920 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4921 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4924 def get_version_info(self):
4925 """get_version_info(ConstantRestraint self) -> VersionInfo"""
4926 return _IMP_core.ConstantRestraint_get_version_info(self)
4930 """__str__(ConstantRestraint self) -> std::string"""
4931 return _IMP_core.ConstantRestraint___str__(self)
4935 """__repr__(ConstantRestraint self) -> std::string"""
4936 return _IMP_core.ConstantRestraint___repr__(self)
4941 return _object_cast_to_ConstantRestraint(o)
4943 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
4944 ConstantRestraint_swigregister(ConstantRestraint)
4947 """Proxy of C++ IMP::core::Cosine class."""
4949 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4951 def __init__(self, force_constant, periodicity, phase):
4952 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
4953 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
4955 self.this.append(this)
4956 except __builtin__.Exception:
4959 def get_version_info(self):
4960 """get_version_info(Cosine self) -> VersionInfo"""
4961 return _IMP_core.Cosine_get_version_info(self)
4964 def do_show(self, out):
4965 """do_show(Cosine self, _ostream out)"""
4966 return _IMP_core.Cosine_do_show(self, out)
4970 """__str__(Cosine self) -> std::string"""
4971 return _IMP_core.Cosine___str__(self)
4975 """__repr__(Cosine self) -> std::string"""
4976 return _IMP_core.Cosine___repr__(self)
4981 return _object_cast_to_Cosine(o)
4983 Cosine_swigregister = _IMP_core.Cosine_swigregister
4984 Cosine_swigregister(Cosine)
4987 """Proxy of C++ IMP::core::CoverRefined class."""
4989 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4991 def __init__(self, ref, slack=0):
4993 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
4994 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
4996 this = _IMP_core.new_CoverRefined(ref, slack)
4998 self.this.append(this)
4999 except __builtin__.Exception:
5002 def set_slack(self, slack):
5003 """set_slack(CoverRefined self, IMP::Float slack)"""
5004 return _IMP_core.CoverRefined_set_slack(self, slack)
5007 def do_get_inputs(self, m, pis):
5008 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5009 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5012 def do_get_outputs(self, m, pis):
5013 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5014 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5017 def get_version_info(self):
5018 """get_version_info(CoverRefined self) -> VersionInfo"""
5019 return _IMP_core.CoverRefined_get_version_info(self)
5023 """__str__(CoverRefined self) -> std::string"""
5024 return _IMP_core.CoverRefined___str__(self)
5028 """__repr__(CoverRefined self) -> std::string"""
5029 return _IMP_core.CoverRefined___repr__(self)
5034 return _object_cast_to_CoverRefined(o)
5036 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5037 CoverRefined_swigregister(CoverRefined)
5040 """Proxy of C++ IMP::core::Cover class."""
5042 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5044 def get_constraint(self):
5045 """get_constraint(Cover self) -> Constraint"""
5046 return _IMP_core.Cover_get_constraint(self)
5049 def __init__(self, *args):
5051 __init__(IMP::core::Cover self) -> Cover
5052 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5053 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5055 this = _IMP_core.new_Cover(*args)
5057 self.this.append(this)
5058 except __builtin__.Exception:
5061 def show(self, *args):
5063 show(Cover self, _ostream out)
5066 return _IMP_core.Cover_show(self, *args)
5069 def setup_particle(*args):
5071 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5072 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5073 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5074 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5076 return _IMP_core.Cover_setup_particle(*args)
5078 setup_particle = staticmethod(setup_particle)
5080 def get_is_setup(*args):
5082 get_is_setup(_ParticleAdaptor p) -> bool
5083 get_is_setup(Model m, ParticleIndex pi) -> bool
5085 return _IMP_core.Cover_get_is_setup(*args)
5087 get_is_setup = staticmethod(get_is_setup)
5089 def add_attribute(self, *args):
5091 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5092 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5093 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5094 add_attribute(Cover self, StringKey a0, IMP::String a1)
5095 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5096 add_attribute(Cover self, ObjectKey a0, Object a1)
5098 return _IMP_core.Cover_add_attribute(self, *args)
5101 def get_value(self, *args):
5103 get_value(Cover self, FloatKey a0) -> IMP::Float
5104 get_value(Cover self, IntKey a0) -> IMP::Int
5105 get_value(Cover self, StringKey a0) -> IMP::String
5106 get_value(Cover self, ParticleIndexKey a0) -> Particle
5107 get_value(Cover self, ObjectKey a0) -> Object
5109 return _IMP_core.Cover_get_value(self, *args)
5112 def set_value(self, *args):
5114 set_value(Cover self, FloatKey a0, IMP::Float a1)
5115 set_value(Cover self, IntKey a0, IMP::Int a1)
5116 set_value(Cover self, StringKey a0, IMP::String a1)
5117 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5118 set_value(Cover self, ObjectKey a0, Object a1)
5120 return _IMP_core.Cover_set_value(self, *args)
5123 def remove_attribute(self, *args):
5125 remove_attribute(Cover self, FloatKey a0)
5126 remove_attribute(Cover self, IntKey a0)
5127 remove_attribute(Cover self, StringKey a0)
5128 remove_attribute(Cover self, ParticleIndexKey a0)
5129 remove_attribute(Cover self, ObjectKey a0)
5131 return _IMP_core.Cover_remove_attribute(self, *args)
5134 def has_attribute(self, *args):
5136 has_attribute(Cover self, FloatKey a0) -> bool
5137 has_attribute(Cover self, IntKey a0) -> bool
5138 has_attribute(Cover self, StringKey a0) -> bool
5139 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5140 has_attribute(Cover self, ObjectKey a0) -> bool
5142 return _IMP_core.Cover_has_attribute(self, *args)
5145 def get_derivative(self, a0):
5146 """get_derivative(Cover self, FloatKey a0) -> double"""
5147 return _IMP_core.Cover_get_derivative(self, a0)
5151 """get_name(Cover self) -> std::string"""
5152 return _IMP_core.Cover_get_name(self)
5155 def clear_caches(self):
5156 """clear_caches(Cover self)"""
5157 return _IMP_core.Cover_clear_caches(self)
5160 def set_name(self, a0):
5161 """set_name(Cover self, std::string a0)"""
5162 return _IMP_core.Cover_set_name(self, a0)
5166 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5167 return _IMP_core.Cover_set_check_level(self, a0)
5170 def add_to_derivative(self, a0, a1, a2):
5171 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5172 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5175 def set_is_optimized(self, a0, a1):
5176 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5177 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5180 def get_is_optimized(self, a0):
5181 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5182 return _IMP_core.Cover_get_is_optimized(self, a0)
5186 """get_check_level(Cover self) -> IMP::CheckLevel"""
5187 return _IMP_core.Cover_get_check_level(self)
5190 def __eq__(self, *args):
5192 __eq__(Cover self, Cover o) -> bool
5193 __eq__(Cover self, Particle d) -> bool
5195 return _IMP_core.Cover___eq__(self, *args)
5198 def __ne__(self, *args):
5200 __ne__(Cover self, Cover o) -> bool
5201 __ne__(Cover self, Particle d) -> bool
5203 return _IMP_core.Cover___ne__(self, *args)
5206 def __le__(self, *args):
5208 __le__(Cover self, Cover o) -> bool
5209 __le__(Cover self, Particle d) -> bool
5211 return _IMP_core.Cover___le__(self, *args)
5214 def __lt__(self, *args):
5216 __lt__(Cover self, Cover o) -> bool
5217 __lt__(Cover self, Particle d) -> bool
5219 return _IMP_core.Cover___lt__(self, *args)
5222 def __ge__(self, *args):
5224 __ge__(Cover self, Cover o) -> bool
5225 __ge__(Cover self, Particle d) -> bool
5227 return _IMP_core.Cover___ge__(self, *args)
5230 def __gt__(self, *args):
5232 __gt__(Cover self, Cover o) -> bool
5233 __gt__(Cover self, Particle d) -> bool
5235 return _IMP_core.Cover___gt__(self, *args)
5239 """__hash__(Cover self) -> std::size_t"""
5240 return _IMP_core.Cover___hash__(self)
5244 """__str__(Cover self) -> std::string"""
5245 return _IMP_core.Cover___str__(self)
5249 """__repr__(Cover self) -> std::string"""
5250 return _IMP_core.Cover___repr__(self)
5252 __swig_destroy__ = _IMP_core.delete_Cover
5253 __del__ =
lambda self:
None
5254 Cover_swigregister = _IMP_core.Cover_swigregister
5255 Cover_swigregister(Cover)
5257 def Cover_setup_particle(*args):
5259 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5260 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5261 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5262 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5264 return _IMP_core.Cover_setup_particle(*args)
5266 def Cover_get_is_setup(*args):
5268 get_is_setup(_ParticleAdaptor p) -> bool
5269 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5271 return _IMP_core.Cover_get_is_setup(*args)
5274 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
5276 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5278 def __init__(self, *args):
5280 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5281 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5283 this = _IMP_core.new_DerivativesFromRefined(*args)
5285 self.this.append(this)
5286 except __builtin__.Exception:
5289 def do_get_inputs(self, m, pis):
5290 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5291 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5294 def do_get_outputs(self, m, pis):
5295 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5296 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5299 def get_version_info(self):
5300 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5301 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5305 """__str__(DerivativesFromRefined self) -> std::string"""
5306 return _IMP_core.DerivativesFromRefined___str__(self)
5310 """__repr__(DerivativesFromRefined self) -> std::string"""
5311 return _IMP_core.DerivativesFromRefined___repr__(self)
5316 return _object_cast_to_DerivativesFromRefined(o)
5318 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5319 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5322 """Proxy of C++ IMP::core::DerivativesToRefined class."""
5324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5326 def __init__(self, *args):
5328 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5329 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5331 this = _IMP_core.new_DerivativesToRefined(*args)
5333 self.this.append(this)
5334 except __builtin__.Exception:
5337 def do_get_inputs(self, m, pis):
5338 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5339 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5342 def do_get_outputs(self, m, pis):
5343 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5344 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5347 def get_version_info(self):
5348 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5349 return _IMP_core.DerivativesToRefined_get_version_info(self)
5353 """__str__(DerivativesToRefined self) -> std::string"""
5354 return _IMP_core.DerivativesToRefined___str__(self)
5358 """__repr__(DerivativesToRefined self) -> std::string"""
5359 return _IMP_core.DerivativesToRefined___repr__(self)
5364 return _object_cast_to_DerivativesToRefined(o)
5366 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5367 DerivativesToRefined_swigregister(DerivativesToRefined)
5370 """Proxy of C++ IMP::core::DiameterRestraint class."""
5372 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5374 def __init__(self, f, sc, diameter):
5375 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5376 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5378 self.this.append(this)
5379 except __builtin__.Exception:
5382 def do_get_inputs(self):
5383 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5384 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5387 def get_version_info(self):
5388 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5389 return _IMP_core.DiameterRestraint_get_version_info(self)
5392 def do_create_decomposition(self):
5393 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5394 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5397 def do_create_current_decomposition(self):
5398 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5399 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5403 """__str__(DiameterRestraint self) -> std::string"""
5404 return _IMP_core.DiameterRestraint___str__(self)
5408 """__repr__(DiameterRestraint self) -> std::string"""
5409 return _IMP_core.DiameterRestraint___repr__(self)
5414 return _object_cast_to_DiameterRestraint(o)
5416 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5417 DiameterRestraint_swigregister(DiameterRestraint)
5420 """Proxy of C++ IMP::core::Transform class."""
5422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5424 def __init__(self, t, ignore_non_xyz=False):
5426 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5427 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5429 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5431 self.this.append(this)
5432 except __builtin__.Exception:
5435 def do_get_inputs(self, m, pis):
5436 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5437 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5440 def do_get_outputs(self, m, pis):
5441 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5442 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5445 def get_version_info(self):
5446 """get_version_info(Transform self) -> VersionInfo"""
5447 return _IMP_core.Transform_get_version_info(self)
5451 """__str__(Transform self) -> std::string"""
5452 return _IMP_core.Transform___str__(self)
5456 """__repr__(Transform self) -> std::string"""
5457 return _IMP_core.Transform___repr__(self)
5462 return _object_cast_to_Transform(o)
5464 Transform_swigregister = _IMP_core.Transform_swigregister
5465 Transform_swigregister(Transform)
5468 """Proxy of C++ IMP::core::Reference class."""
5470 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5472 def __init__(self, *args):
5474 __init__(IMP::core::Reference self) -> Reference
5475 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5476 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5478 this = _IMP_core.new_Reference(*args)
5480 self.this.append(this)
5481 except __builtin__.Exception:
5484 def show(self, *args):
5486 show(Reference self, _ostream out)
5487 show(Reference self)
5489 return _IMP_core.Reference_show(self, *args)
5492 def setup_particle(*args):
5494 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5495 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5497 return _IMP_core.Reference_setup_particle(*args)
5499 setup_particle = staticmethod(setup_particle)
5501 def get_reference_particle(self):
5502 """get_reference_particle(Reference self) -> Particle"""
5503 return _IMP_core.Reference_get_reference_particle(self)
5506 def get_is_setup(*args):
5508 get_is_setup(_ParticleAdaptor p) -> bool
5509 get_is_setup(Model m, ParticleIndex pi) -> bool
5511 return _IMP_core.Reference_get_is_setup(*args)
5513 get_is_setup = staticmethod(get_is_setup)
5515 def get_reference_key():
5516 """get_reference_key() -> ParticleIndexKey"""
5517 return _IMP_core.Reference_get_reference_key()
5519 get_reference_key = staticmethod(get_reference_key)
5521 def add_attribute(self, *args):
5523 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5524 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5525 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5526 add_attribute(Reference self, StringKey a0, IMP::String a1)
5527 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5528 add_attribute(Reference self, ObjectKey a0, Object a1)
5530 return _IMP_core.Reference_add_attribute(self, *args)
5533 def get_value(self, *args):
5535 get_value(Reference self, FloatKey a0) -> IMP::Float
5536 get_value(Reference self, IntKey a0) -> IMP::Int
5537 get_value(Reference self, StringKey a0) -> IMP::String
5538 get_value(Reference self, ParticleIndexKey a0) -> Particle
5539 get_value(Reference self, ObjectKey a0) -> Object
5541 return _IMP_core.Reference_get_value(self, *args)
5544 def set_value(self, *args):
5546 set_value(Reference self, FloatKey a0, IMP::Float a1)
5547 set_value(Reference self, IntKey a0, IMP::Int a1)
5548 set_value(Reference self, StringKey a0, IMP::String a1)
5549 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5550 set_value(Reference self, ObjectKey a0, Object a1)
5552 return _IMP_core.Reference_set_value(self, *args)
5555 def remove_attribute(self, *args):
5557 remove_attribute(Reference self, FloatKey a0)
5558 remove_attribute(Reference self, IntKey a0)
5559 remove_attribute(Reference self, StringKey a0)
5560 remove_attribute(Reference self, ParticleIndexKey a0)
5561 remove_attribute(Reference self, ObjectKey a0)
5563 return _IMP_core.Reference_remove_attribute(self, *args)
5566 def has_attribute(self, *args):
5568 has_attribute(Reference self, FloatKey a0) -> bool
5569 has_attribute(Reference self, IntKey a0) -> bool
5570 has_attribute(Reference self, StringKey a0) -> bool
5571 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5572 has_attribute(Reference self, ObjectKey a0) -> bool
5574 return _IMP_core.Reference_has_attribute(self, *args)
5577 def get_derivative(self, a0):
5578 """get_derivative(Reference self, FloatKey a0) -> double"""
5579 return _IMP_core.Reference_get_derivative(self, a0)
5583 """get_name(Reference self) -> std::string"""
5584 return _IMP_core.Reference_get_name(self)
5587 def clear_caches(self):
5588 """clear_caches(Reference self)"""
5589 return _IMP_core.Reference_clear_caches(self)
5592 def set_name(self, a0):
5593 """set_name(Reference self, std::string a0)"""
5594 return _IMP_core.Reference_set_name(self, a0)
5598 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5599 return _IMP_core.Reference_set_check_level(self, a0)
5602 def add_to_derivative(self, a0, a1, a2):
5603 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5604 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5607 def set_is_optimized(self, a0, a1):
5608 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5609 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5612 def get_is_optimized(self, a0):
5613 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5614 return _IMP_core.Reference_get_is_optimized(self, a0)
5618 """get_check_level(Reference self) -> IMP::CheckLevel"""
5619 return _IMP_core.Reference_get_check_level(self)
5622 def __eq__(self, *args):
5624 __eq__(Reference self, Reference o) -> bool
5625 __eq__(Reference self, Particle d) -> bool
5627 return _IMP_core.Reference___eq__(self, *args)
5630 def __ne__(self, *args):
5632 __ne__(Reference self, Reference o) -> bool
5633 __ne__(Reference self, Particle d) -> bool
5635 return _IMP_core.Reference___ne__(self, *args)
5638 def __le__(self, *args):
5640 __le__(Reference self, Reference o) -> bool
5641 __le__(Reference self, Particle d) -> bool
5643 return _IMP_core.Reference___le__(self, *args)
5646 def __lt__(self, *args):
5648 __lt__(Reference self, Reference o) -> bool
5649 __lt__(Reference self, Particle d) -> bool
5651 return _IMP_core.Reference___lt__(self, *args)
5654 def __ge__(self, *args):
5656 __ge__(Reference self, Reference o) -> bool
5657 __ge__(Reference self, Particle d) -> bool
5659 return _IMP_core.Reference___ge__(self, *args)
5662 def __gt__(self, *args):
5664 __gt__(Reference self, Reference o) -> bool
5665 __gt__(Reference self, Particle d) -> bool
5667 return _IMP_core.Reference___gt__(self, *args)
5671 """__hash__(Reference self) -> std::size_t"""
5672 return _IMP_core.Reference___hash__(self)
5676 """__str__(Reference self) -> std::string"""
5677 return _IMP_core.Reference___str__(self)
5681 """__repr__(Reference self) -> std::string"""
5682 return _IMP_core.Reference___repr__(self)
5684 __swig_destroy__ = _IMP_core.delete_Reference
5685 __del__ =
lambda self:
None
5686 Reference_swigregister = _IMP_core.Reference_swigregister
5687 Reference_swigregister(Reference)
5689 def Reference_setup_particle(*args):
5691 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5692 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5694 return _IMP_core.Reference_setup_particle(*args)
5696 def Reference_get_is_setup(*args):
5698 get_is_setup(_ParticleAdaptor p) -> bool
5699 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5701 return _IMP_core.Reference_get_is_setup(*args)
5703 def Reference_get_reference_key():
5704 """Reference_get_reference_key() -> ParticleIndexKey"""
5705 return _IMP_core.Reference_get_reference_key()
5708 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
5710 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5712 def __init__(self, t, r):
5713 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5714 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5716 self.this.append(this)
5717 except __builtin__.Exception:
5720 def do_get_inputs(self, m, pis):
5721 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5722 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5725 def do_get_outputs(self, m, pis):
5726 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5727 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5730 def get_version_info(self):
5731 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5732 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5736 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5737 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5741 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5742 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5747 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5749 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5750 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5753 """Proxy of C++ IMP::core::TransformationSymmetry class."""
5755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5757 def __init__(self, *args):
5759 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5760 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5762 this = _IMP_core.new_TransformationSymmetry(*args)
5764 self.this.append(this)
5765 except __builtin__.Exception:
5768 def get_transformation(self):
5769 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5770 return _IMP_core.TransformationSymmetry_get_transformation(self)
5773 def set_transformation(self, t):
5774 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5775 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5778 def do_get_inputs(self, m, pis):
5779 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5780 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5783 def do_get_outputs(self, m, pis):
5784 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5785 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5788 def get_version_info(self):
5789 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5790 return _IMP_core.TransformationSymmetry_get_version_info(self)
5794 """__str__(TransformationSymmetry self) -> std::string"""
5795 return _IMP_core.TransformationSymmetry___str__(self)
5799 """__repr__(TransformationSymmetry self) -> std::string"""
5800 return _IMP_core.TransformationSymmetry___repr__(self)
5805 return _object_cast_to_TransformationSymmetry(o)
5807 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5808 TransformationSymmetry_swigregister(TransformationSymmetry)
5810 class TransformationSymmetryMover(MonteCarloMover):
5811 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5813 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5815 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5816 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5817 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5819 self.this.append(this)
5820 except __builtin__.Exception:
5823 def set_maximum_translation(self, mt):
5824 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5825 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5828 def set_maximum_rotation(self, mr):
5829 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5830 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5833 def get_maximum_translation(self):
5834 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5835 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5838 def get_maximum_rotation(self):
5839 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5840 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5843 def get_version_info(self):
5844 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5845 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5849 """__str__(TransformationSymmetryMover self) -> std::string"""
5850 return _IMP_core.TransformationSymmetryMover___str__(self)
5854 """__repr__(TransformationSymmetryMover self) -> std::string"""
5855 return _IMP_core.TransformationSymmetryMover___repr__(self)
5860 return _object_cast_to_TransformationSymmetryMover(o)
5862 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
5863 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5866 """Proxy of C++ IMP::core::DihedralRestraint class."""
5868 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5870 def __init__(self, m, score_func, p1, p2, p3, p4):
5871 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5872 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
5874 self.this.append(this)
5875 except __builtin__.Exception:
5878 def do_get_inputs(self):
5879 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5880 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5883 def get_version_info(self):
5884 """get_version_info(DihedralRestraint self) -> VersionInfo"""
5885 return _IMP_core.DihedralRestraint_get_version_info(self)
5889 """__str__(DihedralRestraint self) -> std::string"""
5890 return _IMP_core.DihedralRestraint___str__(self)
5894 """__repr__(DihedralRestraint self) -> std::string"""
5895 return _IMP_core.DihedralRestraint___repr__(self)
5900 return _object_cast_to_DihedralRestraint(o)
5902 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
5903 DihedralRestraint_swigregister(DihedralRestraint)
5906 """Proxy of C++ IMP::core::DistancePairScore class."""
5908 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5910 def __init__(self, *args):
5912 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
5913 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
5915 this = _IMP_core.new_DistancePairScore(*args)
5917 self.this.append(this)
5918 except __builtin__.Exception:
5921 def do_get_inputs(self, m, pis):
5922 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5923 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
5926 def get_version_info(self):
5927 """get_version_info(DistancePairScore self) -> VersionInfo"""
5928 return _IMP_core.DistancePairScore_get_version_info(self)
5932 """__str__(DistancePairScore self) -> std::string"""
5933 return _IMP_core.DistancePairScore___str__(self)
5937 """__repr__(DistancePairScore self) -> std::string"""
5938 return _IMP_core.DistancePairScore___repr__(self)
5943 return _object_cast_to_DistancePairScore(o)
5945 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
5946 DistancePairScore_swigregister(DistancePairScore)
5949 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
5951 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5953 def __init__(self, *args):
5955 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
5956 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
5958 this = _IMP_core.new_HarmonicDistancePairScore(*args)
5960 self.this.append(this)
5961 except __builtin__.Exception:
5964 def do_get_inputs(self, m, pis):
5965 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5966 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
5969 def get_version_info(self):
5970 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
5971 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
5975 """__str__(HarmonicDistancePairScore self) -> std::string"""
5976 return _IMP_core.HarmonicDistancePairScore___str__(self)
5980 """__repr__(HarmonicDistancePairScore self) -> std::string"""
5981 return _IMP_core.HarmonicDistancePairScore___repr__(self)
5986 return _object_cast_to_HarmonicDistancePairScore(o)
5988 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
5989 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
5992 """Proxy of C++ IMP::core::DistanceRestraint class."""
5994 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5996 def __init__(self, *args):
5998 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
5999 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6001 this = _IMP_core.new_DistanceRestraint(*args)
6003 self.this.append(this)
6004 except __builtin__.Exception:
6007 def get_version_info(self):
6008 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6009 return _IMP_core.DistanceRestraint_get_version_info(self)
6013 """__str__(DistanceRestraint self) -> std::string"""
6014 return _IMP_core.DistanceRestraint___str__(self)
6018 """__repr__(DistanceRestraint self) -> std::string"""
6019 return _IMP_core.DistanceRestraint___repr__(self)
6024 return _object_cast_to_DistanceRestraint(o)
6026 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6027 DistanceRestraint_swigregister(DistanceRestraint)
6030 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
6032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6034 def __init__(self, f, pt):
6035 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6036 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6038 self.this.append(this)
6039 except __builtin__.Exception:
6042 def do_get_inputs(self, m, pis):
6043 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6044 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6047 def get_version_info(self):
6048 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6049 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6053 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6054 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6058 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6059 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6064 return _object_cast_to_SphereDistanceToSingletonScore(o)
6066 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6067 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6070 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
6072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6074 def __init__(self, *args):
6076 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6077 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6078 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6079 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6081 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6083 self.this.append(this)
6084 except __builtin__.Exception:
6087 def do_get_inputs(self):
6088 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6089 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6092 def get_version_info(self):
6093 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6094 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6097 def do_create_decomposition(self):
6098 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6099 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6102 def do_create_current_decomposition(self):
6103 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6104 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6108 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6109 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6112 def remove_pair_filter(self, d):
6113 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6114 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6117 def remove_pair_filters(self, d):
6118 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6119 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6122 def set_pair_filters(self, ps):
6123 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6124 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6127 def set_pair_filters_order(self, objs):
6128 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6129 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6132 def add_pair_filter(self, obj):
6133 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6134 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6137 def add_pair_filters(self, objs):
6138 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6139 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6142 def clear_pair_filters(self):
6143 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6144 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6147 def get_number_of_pair_filters(self):
6148 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6149 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6152 def get_has_pair_filters(self):
6153 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6154 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6157 def get_pair_filter(self, i):
6158 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6159 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6162 def get_pair_filters(self):
6163 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6164 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6167 def reserve_pair_filters(self, sz):
6168 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6169 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6173 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6174 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6178 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6179 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6184 return _object_cast_to_ExcludedVolumeRestraint(o)
6186 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6187 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6190 """Proxy of C++ IMP::core::FixedRefiner class."""
6192 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6194 def __init__(self, *args):
6196 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6197 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6199 this = _IMP_core.new_FixedRefiner(*args)
6201 self.this.append(this)
6202 except __builtin__.Exception:
6205 def do_get_inputs(self, m, pis):
6206 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6207 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6210 def get_version_info(self):
6211 """get_version_info(FixedRefiner self) -> VersionInfo"""
6212 return _IMP_core.FixedRefiner_get_version_info(self)
6216 """__str__(FixedRefiner self) -> std::string"""
6217 return _IMP_core.FixedRefiner___str__(self)
6221 """__repr__(FixedRefiner self) -> std::string"""
6222 return _IMP_core.FixedRefiner___repr__(self)
6227 return _object_cast_to_FixedRefiner(o)
6229 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6230 FixedRefiner_swigregister(FixedRefiner)
6232 class GridClosePairsFinder(ClosePairsFinder):
6233 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
6235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6238 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6239 this = _IMP_core.new_GridClosePairsFinder()
6241 self.this.append(this)
6242 except __builtin__.Exception:
6245 def get_close_pairs(self, *args):
6247 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6248 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6249 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6250 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6252 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6255 def do_get_inputs(self, m, pis):
6256 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6257 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6260 def get_version_info(self):
6261 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6262 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6266 """__str__(GridClosePairsFinder self) -> std::string"""
6267 return _IMP_core.GridClosePairsFinder___str__(self)
6271 """__repr__(GridClosePairsFinder self) -> std::string"""
6272 return _IMP_core.GridClosePairsFinder___repr__(self)
6277 return _object_cast_to_GridClosePairsFinder(o)
6279 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6280 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6283 """Proxy of C++ IMP::core::Harmonic class."""
6285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6287 def __init__(self, mean, k):
6288 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6289 this = _IMP_core.new_Harmonic(mean, k)
6291 self.this.append(this)
6292 except __builtin__.Exception:
6295 def get_version_info(self):
6296 """get_version_info(Harmonic self) -> VersionInfo"""
6297 return _IMP_core.Harmonic_get_version_info(self)
6301 """get_mean(Harmonic self) -> IMP::Float"""
6302 return _IMP_core.Harmonic_get_mean(self)
6306 """get_k(Harmonic self) -> IMP::Float"""
6307 return _IMP_core.Harmonic_get_k(self)
6310 def set_mean(self, mean):
6311 """set_mean(Harmonic self, IMP::Float mean)"""
6312 return _IMP_core.Harmonic_set_mean(self, mean)
6316 """set_k(Harmonic self, IMP::Float k)"""
6317 return _IMP_core.Harmonic_set_k(self, k)
6320 def get_k_from_standard_deviation(sd, t=297.15):
6322 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6323 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6325 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6327 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6330 """__str__(Harmonic self) -> std::string"""
6331 return _IMP_core.Harmonic___str__(self)
6335 """__repr__(Harmonic self) -> std::string"""
6336 return _IMP_core.Harmonic___repr__(self)
6341 return _object_cast_to_Harmonic(o)
6343 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6344 Harmonic_swigregister(Harmonic)
6346 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6348 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6349 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6351 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6354 """Proxy of C++ IMP::core::HarmonicWell class."""
6356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6358 def __init__(self, well, k):
6359 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6360 this = _IMP_core.new_HarmonicWell(well, k)
6362 self.this.append(this)
6363 except __builtin__.Exception:
6366 def get_version_info(self):
6367 """get_version_info(HarmonicWell self) -> VersionInfo"""
6368 return _IMP_core.HarmonicWell_get_version_info(self)
6372 """__str__(HarmonicWell self) -> std::string"""
6373 return _IMP_core.HarmonicWell___str__(self)
6377 """__repr__(HarmonicWell self) -> std::string"""
6378 return _IMP_core.HarmonicWell___repr__(self)
6383 return _object_cast_to_HarmonicWell(o)
6385 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6386 HarmonicWell_swigregister(HarmonicWell)
6388 class HarmonicLowerBound(Harmonic):
6389 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
6391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6393 def __init__(self, mean, k):
6394 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6395 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6397 self.this.append(this)
6398 except __builtin__.Exception:
6402 """__str__(HarmonicLowerBound self) -> std::string"""
6403 return _IMP_core.HarmonicLowerBound___str__(self)
6407 """__repr__(HarmonicLowerBound self) -> std::string"""
6408 return _IMP_core.HarmonicLowerBound___repr__(self)
6413 return _object_cast_to_HarmonicLowerBound(o)
6415 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6416 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6418 class HarmonicUpperBound(Harmonic):
6419 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
6421 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6423 def __init__(self, mean, k):
6424 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6425 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6427 self.this.append(this)
6428 except __builtin__.Exception:
6432 """__str__(HarmonicUpperBound self) -> std::string"""
6433 return _IMP_core.HarmonicUpperBound___str__(self)
6437 """__repr__(HarmonicUpperBound self) -> std::string"""
6438 return _IMP_core.HarmonicUpperBound___repr__(self)
6443 return _object_cast_to_HarmonicUpperBound(o)
6445 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6446 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6449 """Proxy of C++ IMP::core::WeightedSum class."""
6451 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6453 def __init__(self, funcs, weights):
6454 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6455 this = _IMP_core.new_WeightedSum(funcs, weights)
6457 self.this.append(this)
6458 except __builtin__.Exception:
6461 def get_function_number(self):
6462 """get_function_number(WeightedSum self) -> unsigned int"""
6463 return _IMP_core.WeightedSum_get_function_number(self)
6466 def set_weights(self, weights):
6467 """set_weights(WeightedSum self, IMP::Floats weights)"""
6468 return _IMP_core.WeightedSum_set_weights(self, weights)
6471 def get_weights(self):
6472 """get_weights(WeightedSum self) -> IMP::Floats"""
6473 return _IMP_core.WeightedSum_get_weights(self)
6476 def get_weight(self, i):
6477 """get_weight(WeightedSum self, unsigned int i) -> double"""
6478 return _IMP_core.WeightedSum_get_weight(self, i)
6481 def get_function(self, i):
6482 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6483 return _IMP_core.WeightedSum_get_function(self, i)
6486 def get_version_info(self):
6487 """get_version_info(WeightedSum self) -> VersionInfo"""
6488 return _IMP_core.WeightedSum_get_version_info(self)
6492 """__str__(WeightedSum self) -> std::string"""
6493 return _IMP_core.WeightedSum___str__(self)
6497 """__repr__(WeightedSum self) -> std::string"""
6498 return _IMP_core.WeightedSum___repr__(self)
6503 return _object_cast_to_WeightedSum(o)
6505 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6506 WeightedSum_swigregister(WeightedSum)
6509 """Proxy of C++ IMP::core::WeightedSumOfExponential class."""
6511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6513 def __init__(self, funcs, weights, denom=1.0):
6515 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6516 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6518 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6520 self.this.append(this)
6521 except __builtin__.Exception:
6524 def get_function_number(self):
6525 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6526 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6529 def set_weights(self, weights):
6530 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6531 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6534 def get_weights(self):
6535 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6536 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6539 def get_weight(self, i):
6540 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6541 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6544 def get_function(self, i):
6545 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6546 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6549 def set_denominator(self, denom):
6550 """set_denominator(WeightedSumOfExponential self, double denom)"""
6551 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6554 def get_denominator(self):
6555 """get_denominator(WeightedSumOfExponential self) -> double"""
6556 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6559 def get_version_info(self):
6560 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6561 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6565 """__str__(WeightedSumOfExponential self) -> std::string"""
6566 return _IMP_core.WeightedSumOfExponential___str__(self)
6570 """__repr__(WeightedSumOfExponential self) -> std::string"""
6571 return _IMP_core.WeightedSumOfExponential___repr__(self)
6576 return _object_cast_to_WeightedSumOfExponential(o)
6578 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6579 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6582 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
6584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6586 def __init__(self, m, ps, eps=0.1):
6588 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6589 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6591 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6593 self.this.append(this)
6594 except __builtin__.Exception:
6597 def add_type(self, ps):
6598 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6599 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6602 def add_composite(self, *args):
6604 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6605 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6607 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6610 def get_connected_pairs(self):
6611 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6612 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6615 def get_pair_score(self):
6616 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6617 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6620 def do_create_current_decomposition(self):
6621 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6622 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6625 def do_get_inputs(self):
6626 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6627 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6630 def get_version_info(self):
6631 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6632 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6636 """__str__(MSConnectivityRestraint self) -> std::string"""
6637 return _IMP_core.MSConnectivityRestraint___str__(self)
6641 """__repr__(MSConnectivityRestraint self) -> std::string"""
6642 return _IMP_core.MSConnectivityRestraint___repr__(self)
6647 return _object_cast_to_MSConnectivityRestraint(o)
6649 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6650 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6652 class HierarchyTraits(object):
6653 """Proxy of C++ IMP::core::HierarchyTraits class."""
6655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6657 def __init__(self, *args):
6659 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6660 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6662 this = _IMP_core.new_HierarchyTraits(*args)
6664 self.this.append(this)
6665 except __builtin__.Exception:
6668 def get_children_key(self):
6669 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6670 return _IMP_core.HierarchyTraits_get_children_key(self)
6673 def get_parent_key(self):
6674 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6675 return _IMP_core.HierarchyTraits_get_parent_key(self)
6678 def __eq__(self, o):
6679 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6680 return _IMP_core.HierarchyTraits___eq__(self, o)
6683 def show(self, *args):
6685 show(HierarchyTraits self, _ostream out)
6686 show(HierarchyTraits self)
6688 return _IMP_core.HierarchyTraits_show(self, *args)
6692 """__str__(HierarchyTraits self) -> std::string"""
6693 return _IMP_core.HierarchyTraits___str__(self)
6697 """__repr__(HierarchyTraits self) -> std::string"""
6698 return _IMP_core.HierarchyTraits___repr__(self)
6700 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6701 __del__ =
lambda self:
None
6702 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6703 HierarchyTraits_swigregister(HierarchyTraits)
6706 """Proxy of C++ IMP::core::Hierarchy class."""
6708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6710 def get_decorator_traits(self):
6711 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6712 return _IMP_core.Hierarchy_get_decorator_traits(self)
6715 def get_default_decorator_traits():
6716 """get_default_decorator_traits() -> HierarchyTraits"""
6717 return _IMP_core.Hierarchy_get_default_decorator_traits()
6719 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6721 def __init__(self, *args):
6723 __init__(IMP::core::Hierarchy self) -> Hierarchy
6724 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6725 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6726 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6727 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6729 this = _IMP_core.new_Hierarchy(*args)
6731 self.this.append(this)
6732 except __builtin__.Exception:
6735 def show(self, *args):
6737 show(Hierarchy self, _ostream out)
6738 show(Hierarchy self)
6740 return _IMP_core.Hierarchy_show(self, *args)
6743 def setup_particle(*args):
6745 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6746 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6747 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6748 setup_particle(_ParticleAdaptor d) -> Hierarchy
6749 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6750 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6751 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6752 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6753 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6754 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6755 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6756 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6758 return _IMP_core.Hierarchy_setup_particle(*args)
6760 setup_particle = staticmethod(setup_particle)
6762 def get_is_setup(*args):
6764 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6765 get_is_setup(_ParticleAdaptor p) -> bool
6766 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6767 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6769 return _IMP_core.Hierarchy_get_is_setup(*args)
6771 get_is_setup = staticmethod(get_is_setup)
6773 def get_parent(self):
6774 """get_parent(Hierarchy self) -> Hierarchy"""
6775 return _IMP_core.Hierarchy_get_parent(self)
6778 def get_number_of_children(self):
6779 """get_number_of_children(Hierarchy self) -> unsigned int"""
6780 return _IMP_core.Hierarchy_get_number_of_children(self)
6783 def get_child(self, i):
6784 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6785 return _IMP_core.Hierarchy_get_child(self, i)
6788 def get_children_indexes(self):
6789 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6790 return _IMP_core.Hierarchy_get_children_indexes(self)
6793 def get_children(self):
6794 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6795 return _IMP_core.Hierarchy_get_children(self)
6798 def remove_child(self, *args):
6800 remove_child(Hierarchy self, unsigned int i)
6801 remove_child(Hierarchy self, Hierarchy h)
6803 return _IMP_core.Hierarchy_remove_child(self, *args)
6806 def clear_children(self):
6807 """clear_children(Hierarchy self)"""
6808 return _IMP_core.Hierarchy_clear_children(self)
6811 def add_child(self, h):
6812 """add_child(Hierarchy self, Hierarchy h)"""
6813 return _IMP_core.Hierarchy_add_child(self, h)
6816 def add_child_at(self, h, pos):
6817 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6818 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6821 def get_child_index(self, *args):
6823 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6824 get_child_index(Hierarchy self) -> int
6826 return _IMP_core.Hierarchy_get_child_index(self, *args)
6829 def get_default_traits():
6830 """get_default_traits() -> HierarchyTraits"""
6831 return _IMP_core.Hierarchy_get_default_traits()
6833 get_default_traits = staticmethod(get_default_traits)
6835 def get_traits(self):
6836 """get_traits(Hierarchy self) -> HierarchyTraits"""
6837 return _IMP_core.Hierarchy_get_traits(self)
6840 def add_attribute(self, *args):
6842 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6843 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6844 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6845 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6846 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6847 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6849 return _IMP_core.Hierarchy_add_attribute(self, *args)
6852 def get_value(self, *args):
6854 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6855 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6856 get_value(Hierarchy self, StringKey a0) -> IMP::String
6857 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6858 get_value(Hierarchy self, ObjectKey a0) -> Object
6860 return _IMP_core.Hierarchy_get_value(self, *args)
6863 def set_value(self, *args):
6865 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6866 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6867 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6868 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6869 set_value(Hierarchy self, ObjectKey a0, Object a1)
6871 return _IMP_core.Hierarchy_set_value(self, *args)
6874 def remove_attribute(self, *args):
6876 remove_attribute(Hierarchy self, FloatKey a0)
6877 remove_attribute(Hierarchy self, IntKey a0)
6878 remove_attribute(Hierarchy self, StringKey a0)
6879 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6880 remove_attribute(Hierarchy self, ObjectKey a0)
6882 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6885 def has_attribute(self, *args):
6887 has_attribute(Hierarchy self, FloatKey a0) -> bool
6888 has_attribute(Hierarchy self, IntKey a0) -> bool
6889 has_attribute(Hierarchy self, StringKey a0) -> bool
6890 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6891 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6893 return _IMP_core.Hierarchy_has_attribute(self, *args)
6896 def get_derivative(self, a0):
6897 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
6898 return _IMP_core.Hierarchy_get_derivative(self, a0)
6902 """get_name(Hierarchy self) -> std::string"""
6903 return _IMP_core.Hierarchy_get_name(self)
6906 def clear_caches(self):
6907 """clear_caches(Hierarchy self)"""
6908 return _IMP_core.Hierarchy_clear_caches(self)
6911 def set_name(self, a0):
6912 """set_name(Hierarchy self, std::string a0)"""
6913 return _IMP_core.Hierarchy_set_name(self, a0)
6917 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
6918 return _IMP_core.Hierarchy_set_check_level(self, a0)
6921 def add_to_derivative(self, a0, a1, a2):
6922 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6923 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
6926 def set_is_optimized(self, a0, a1):
6927 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
6928 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
6931 def get_is_optimized(self, a0):
6932 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
6933 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
6937 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
6938 return _IMP_core.Hierarchy_get_check_level(self)
6941 def __eq__(self, *args):
6943 __eq__(Hierarchy self, Hierarchy o) -> bool
6944 __eq__(Hierarchy self, Particle d) -> bool
6946 return _IMP_core.Hierarchy___eq__(self, *args)
6949 def __ne__(self, *args):
6951 __ne__(Hierarchy self, Hierarchy o) -> bool
6952 __ne__(Hierarchy self, Particle d) -> bool
6954 return _IMP_core.Hierarchy___ne__(self, *args)
6957 def __le__(self, *args):
6959 __le__(Hierarchy self, Hierarchy o) -> bool
6960 __le__(Hierarchy self, Particle d) -> bool
6962 return _IMP_core.Hierarchy___le__(self, *args)
6965 def __lt__(self, *args):
6967 __lt__(Hierarchy self, Hierarchy o) -> bool
6968 __lt__(Hierarchy self, Particle d) -> bool
6970 return _IMP_core.Hierarchy___lt__(self, *args)
6973 def __ge__(self, *args):
6975 __ge__(Hierarchy self, Hierarchy o) -> bool
6976 __ge__(Hierarchy self, Particle d) -> bool
6978 return _IMP_core.Hierarchy___ge__(self, *args)
6981 def __gt__(self, *args):
6983 __gt__(Hierarchy self, Hierarchy o) -> bool
6984 __gt__(Hierarchy self, Particle d) -> bool
6986 return _IMP_core.Hierarchy___gt__(self, *args)
6990 """__hash__(Hierarchy self) -> std::size_t"""
6991 return _IMP_core.Hierarchy___hash__(self)
6995 """__str__(Hierarchy self) -> std::string"""
6996 return _IMP_core.Hierarchy___str__(self)
7000 """__repr__(Hierarchy self) -> std::string"""
7001 return _IMP_core.Hierarchy___repr__(self)
7003 __swig_destroy__ = _IMP_core.delete_Hierarchy
7004 __del__ =
lambda self:
None
7005 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7006 Hierarchy_swigregister(Hierarchy)
7008 def Hierarchy_get_default_decorator_traits():
7009 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7010 return _IMP_core.Hierarchy_get_default_decorator_traits()
7012 def Hierarchy_setup_particle(*args):
7014 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7015 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7016 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7017 setup_particle(_ParticleAdaptor d) -> Hierarchy
7018 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7019 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7020 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7021 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7022 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7023 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7024 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7025 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7027 return _IMP_core.Hierarchy_setup_particle(*args)
7029 def Hierarchy_get_is_setup(*args):
7031 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7032 get_is_setup(_ParticleAdaptor p) -> bool
7033 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7034 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7036 return _IMP_core.Hierarchy_get_is_setup(*args)
7038 def Hierarchy_get_default_traits():
7039 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7040 return _IMP_core.Hierarchy_get_default_traits()
7042 class HierarchyVisitor(object):
7043 """Proxy of C++ IMP::core::HierarchyVisitor class."""
7045 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7046 __repr__ = _swig_repr
7049 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7050 if self.__class__ == HierarchyVisitor:
7054 this = _IMP_core.new_HierarchyVisitor(_self, )
7056 self.this.append(this)
7057 except __builtin__.Exception:
7060 if self.__class__ != HierarchyVisitor:
7061 _director_objects.register(self)
7066 def __call__(self, p):
7067 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7068 return _IMP_core.HierarchyVisitor___call__(self, p)
7070 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7071 __del__ =
lambda self:
None
7072 def __disown__(self):
7074 _IMP_core.disown_HierarchyVisitor(self)
7075 return weakref_proxy(self)
7076 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7077 HierarchyVisitor_swigregister(HierarchyVisitor)
7079 class ModifierVisitor(HierarchyVisitor):
7080 """Proxy of C++ IMP::core::ModifierVisitor class."""
7082 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7083 __repr__ = _swig_repr
7085 def __init__(self, sm):
7086 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7087 this = _IMP_core.new_ModifierVisitor(sm)
7089 self.this.append(this)
7090 except __builtin__.Exception:
7092 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7093 __del__ =
lambda self:
None
7094 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7095 ModifierVisitor_swigregister(ModifierVisitor)
7097 class HierarchyCounter(HierarchyVisitor):
7098 """Proxy of C++ IMP::core::HierarchyCounter class."""
7100 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7103 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7104 this = _IMP_core.new_HierarchyCounter()
7106 self.this.append(this)
7107 except __builtin__.Exception:
7110 def get_count(self):
7111 """get_count(HierarchyCounter self) -> unsigned int"""
7112 return _IMP_core.HierarchyCounter_get_count(self)
7115 def show(self, *args):
7117 show(HierarchyCounter self, _ostream out)
7118 show(HierarchyCounter self)
7120 return _IMP_core.HierarchyCounter_show(self, *args)
7124 """__str__(HierarchyCounter self) -> std::string"""
7125 return _IMP_core.HierarchyCounter___str__(self)
7129 """__repr__(HierarchyCounter self) -> std::string"""
7130 return _IMP_core.HierarchyCounter___repr__(self)
7132 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7133 __del__ =
lambda self:
None
7134 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7135 HierarchyCounter_swigregister(HierarchyCounter)
7139 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7140 return _IMP_core.get_leaves(mhd)
7143 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7144 return _IMP_core.get_internal(mhd)
7147 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7148 return _IMP_core.get_all_descendants(mhd)
7151 """get_root(Hierarchy h) -> Hierarchy"""
7152 return _IMP_core.get_root(h)
7155 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7156 return _IMP_core.visit_breadth_first(d, f)
7159 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7160 return _IMP_core.visit_depth_first(d, f)
7162 """Proxy of C++ IMP::core::LeavesRefiner class."""
7164 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7166 def __init__(self, tr):
7167 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7168 this = _IMP_core.new_LeavesRefiner(tr)
7170 self.this.append(this)
7171 except __builtin__.Exception:
7174 def do_get_inputs(self, m, pis):
7175 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7176 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7179 def get_version_info(self):
7180 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7181 return _IMP_core.LeavesRefiner_get_version_info(self)
7185 """__str__(LeavesRefiner self) -> std::string"""
7186 return _IMP_core.LeavesRefiner___str__(self)
7190 """__repr__(LeavesRefiner self) -> std::string"""
7191 return _IMP_core.LeavesRefiner___repr__(self)
7196 return _object_cast_to_LeavesRefiner(o)
7198 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7199 LeavesRefiner_swigregister(LeavesRefiner)
7202 """Proxy of C++ IMP::core::Linear class."""
7204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7206 def __init__(self, offset, slope):
7207 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7208 this = _IMP_core.new_Linear(offset, slope)
7210 self.this.append(this)
7211 except __builtin__.Exception:
7214 def set_slope(self, f):
7215 """set_slope(Linear self, double f)"""
7216 return _IMP_core.Linear_set_slope(self, f)
7219 def set_offset(self, f):
7220 """set_offset(Linear self, double f)"""
7221 return _IMP_core.Linear_set_offset(self, f)
7224 def get_version_info(self):
7225 """get_version_info(Linear self) -> VersionInfo"""
7226 return _IMP_core.Linear_get_version_info(self)
7230 """__str__(Linear self) -> std::string"""
7231 return _IMP_core.Linear___str__(self)
7235 """__repr__(Linear self) -> std::string"""
7236 return _IMP_core.Linear___repr__(self)
7241 return _object_cast_to_Linear(o)
7243 Linear_swigregister = _IMP_core.Linear_swigregister
7244 Linear_swigregister(Linear)
7246 class LogNormalMover(MonteCarloMover):
7247 """Proxy of C++ IMP::core::LogNormalMover class."""
7249 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7251 def __init__(self, *args):
7253 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7254 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7255 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7256 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7258 this = _IMP_core.new_LogNormalMover(*args)
7260 self.this.append(this)
7261 except __builtin__.Exception:
7264 def set_sigma(self, sigma):
7265 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7266 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7269 def get_sigma(self):
7270 """get_sigma(LogNormalMover self) -> IMP::Float"""
7271 return _IMP_core.LogNormalMover_get_sigma(self)
7274 def get_version_info(self):
7275 """get_version_info(LogNormalMover self) -> VersionInfo"""
7276 return _IMP_core.LogNormalMover_get_version_info(self)
7280 """__str__(LogNormalMover self) -> std::string"""
7281 return _IMP_core.LogNormalMover___str__(self)
7285 """__repr__(LogNormalMover self) -> std::string"""
7286 return _IMP_core.LogNormalMover___repr__(self)
7291 return _object_cast_to_LogNormalMover(o)
7293 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7294 LogNormalMover_swigregister(LogNormalMover)
7297 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
7299 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7301 def __init__(self, *args):
7303 __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
7304 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7305 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7306 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7308 this = _IMP_core.new_IncrementalScoringFunction(*args)
7310 self.this.append(this)
7311 except __builtin__.Exception:
7314 def reset_moved_particles(self):
7315 """reset_moved_particles(IncrementalScoringFunction self)"""
7316 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7319 def set_moved_particles(self, p):
7320 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7321 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7324 def add_close_pair_score(self, *args):
7326 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7327 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7329 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7332 def clear_close_pair_scores(self):
7333 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7334 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7337 def get_movable_indexes(self):
7338 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7339 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7342 def do_add_score_and_derivatives(self, sa, ss):
7343 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7344 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7347 def do_get_inputs(self):
7348 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7349 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7352 def handle_set_has_required_score_states(self, arg2):
7353 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7354 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7357 def get_version_info(self):
7358 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7359 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7363 """__str__(IncrementalScoringFunction self) -> std::string"""
7364 return _IMP_core.IncrementalScoringFunction___str__(self)
7368 """__repr__(IncrementalScoringFunction self) -> std::string"""
7369 return _IMP_core.IncrementalScoringFunction___repr__(self)
7374 return _object_cast_to_IncrementalScoringFunction(o)
7376 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7377 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7379 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7381 """Proxy of C++ IMP::core::MonteCarlo class."""
7383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7385 def __init__(self, m):
7386 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7387 this = _IMP_core.new_MonteCarlo(m)
7389 self.this.append(this)
7390 except __builtin__.Exception:
7393 def get_version_info(self):
7394 """get_version_info(MonteCarlo self) -> VersionInfo"""
7395 return _IMP_core.MonteCarlo_get_version_info(self)
7398 def set_return_best(self, tf):
7399 """set_return_best(MonteCarlo self, bool tf)"""
7400 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7403 def set_kt(self, t):
7404 """set_kt(MonteCarlo self, IMP::Float t)"""
7405 return _IMP_core.MonteCarlo_set_kt(self, t)
7409 """get_kt(MonteCarlo self) -> IMP::Float"""
7410 return _IMP_core.MonteCarlo_get_kt(self)
7413 def get_last_accepted_energy(self):
7414 """get_last_accepted_energy(MonteCarlo self) -> double"""
7415 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7418 def get_best_accepted_energy(self):
7419 """get_best_accepted_energy(MonteCarlo self) -> double"""
7420 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7423 def get_number_of_downward_steps(self):
7424 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7425 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7428 def get_number_of_upward_steps(self):
7429 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7430 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7433 def get_number_of_proposed_steps(self):
7434 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7435 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7438 def get_number_of_accepted_steps(self):
7439 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7440 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7443 def reset_statistics(self):
7444 """reset_statistics(MonteCarlo self)"""
7445 return _IMP_core.MonteCarlo_reset_statistics(self)
7448 def set_score_threshold(self, s):
7449 """set_score_threshold(MonteCarlo self, double s)"""
7450 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7453 def get_score_threshold(self):
7454 """get_score_threshold(MonteCarlo self) -> double"""
7455 return _IMP_core.MonteCarlo_get_score_threshold(self)
7458 def set_maximum_difference(self, d):
7459 """set_maximum_difference(MonteCarlo self, double d)"""
7460 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7463 def get_maximum_difference(self):
7464 """get_maximum_difference(MonteCarlo self) -> double"""
7465 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7468 def remove_mover(self, d):
7469 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7470 return _IMP_core.MonteCarlo_remove_mover(self, d)
7473 def remove_movers(self, d):
7474 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7475 return _IMP_core.MonteCarlo_remove_movers(self, d)
7478 def set_movers(self, ps):
7479 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7480 return _IMP_core.MonteCarlo_set_movers(self, ps)
7483 def set_movers_order(self, objs):
7484 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7485 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7488 def add_mover(self, obj):
7489 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7490 return _IMP_core.MonteCarlo_add_mover(self, obj)
7493 def add_movers(self, objs):
7494 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7495 return _IMP_core.MonteCarlo_add_movers(self, objs)
7498 def clear_movers(self):
7499 """clear_movers(MonteCarlo self)"""
7500 return _IMP_core.MonteCarlo_clear_movers(self)
7503 def get_number_of_movers(self):
7504 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7505 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7508 def get_has_movers(self):
7509 """get_has_movers(MonteCarlo self) -> bool"""
7510 return _IMP_core.MonteCarlo_get_has_movers(self)
7513 def get_mover(self, i):
7514 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7515 return _IMP_core.MonteCarlo_get_mover(self, i)
7518 def get_movers(self):
7519 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7520 return _IMP_core.MonteCarlo_get_movers(self)
7523 def reserve_movers(self, sz):
7524 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7525 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7528 def set_incremental_scoring_function(self, isf):
7529 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7530 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7533 def get_use_incremental_scoring_function(self):
7534 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7535 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7538 def get_incremental_scoring_function(self):
7539 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7540 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7544 """__str__(MonteCarlo self) -> std::string"""
7545 return _IMP_core.MonteCarlo___str__(self)
7549 """__repr__(MonteCarlo self) -> std::string"""
7550 return _IMP_core.MonteCarlo___repr__(self)
7555 return _object_cast_to_MonteCarlo(o)
7557 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7558 MonteCarlo_swigregister(MonteCarlo)
7560 class MonteCarloWithLocalOptimization(MonteCarlo):
7561 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
7563 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7565 def __init__(self, opt, steps):
7566 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7567 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7569 self.this.append(this)
7570 except __builtin__.Exception:
7573 def get_number_of_steps(self):
7574 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7575 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7578 def get_local_optimizer(self):
7579 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7580 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7584 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7585 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7589 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7590 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7595 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7597 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7598 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7600 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7601 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
7603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7605 def __init__(self, opt, ns):
7606 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7607 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7609 self.this.append(this)
7610 except __builtin__.Exception:
7614 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7615 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7619 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7620 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7625 return _object_cast_to_MonteCarloWithBasinHopping(o)
7627 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7628 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7631 """Proxy of C++ IMP::core::NeighborsTable class."""
7633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7635 def __init__(self, *args):
7637 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7638 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7640 this = _IMP_core.new_NeighborsTable(*args)
7642 self.this.append(this)
7643 except __builtin__.Exception:
7646 def get_neighbors(self, pi):
7647 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7648 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7651 def get_version_info(self):
7652 """get_version_info(NeighborsTable self) -> VersionInfo"""
7653 return _IMP_core.NeighborsTable_get_version_info(self)
7657 """__str__(NeighborsTable self) -> std::string"""
7658 return _IMP_core.NeighborsTable___str__(self)
7662 """__repr__(NeighborsTable self) -> std::string"""
7663 return _IMP_core.NeighborsTable___repr__(self)
7668 return _object_cast_to_NeighborsTable(o)
7670 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7671 NeighborsTable_swigregister(NeighborsTable)
7673 class NormalMover(MonteCarloMover):
7674 """Proxy of C++ IMP::core::NormalMover class."""
7676 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7678 def __init__(self, *args):
7680 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7681 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7682 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7683 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7685 this = _IMP_core.new_NormalMover(*args)
7687 self.this.append(this)
7688 except __builtin__.Exception:
7691 def set_sigma(self, sigma):
7692 """set_sigma(NormalMover self, IMP::Float sigma)"""
7693 return _IMP_core.NormalMover_set_sigma(self, sigma)
7696 def get_sigma(self):
7697 """get_sigma(NormalMover self) -> IMP::Float"""
7698 return _IMP_core.NormalMover_get_sigma(self)
7701 def get_version_info(self):
7702 """get_version_info(NormalMover self) -> VersionInfo"""
7703 return _IMP_core.NormalMover_get_version_info(self)
7707 """__str__(NormalMover self) -> std::string"""
7708 return _IMP_core.NormalMover___str__(self)
7712 """__repr__(NormalMover self) -> std::string"""
7713 return _IMP_core.NormalMover___repr__(self)
7718 return _object_cast_to_NormalMover(o)
7720 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7721 NormalMover_swigregister(NormalMover)
7723 class OpenCubicSpline(_OpenCubicSplineBase):
7724 """Proxy of C++ IMP::core::OpenCubicSpline class."""
7726 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7728 def __init__(self, values, minrange, spacing, extend=False):
7730 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7731 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7733 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7735 self.this.append(this)
7736 except __builtin__.Exception:
7740 """__str__(OpenCubicSpline self) -> std::string"""
7741 return _IMP_core.OpenCubicSpline___str__(self)
7745 """__repr__(OpenCubicSpline self) -> std::string"""
7746 return _IMP_core.OpenCubicSpline___repr__(self)
7751 return _object_cast_to_OpenCubicSpline(o)
7753 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7754 __del__ =
lambda self:
None
7755 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7756 OpenCubicSpline_swigregister(OpenCubicSpline)
7758 class QuadraticClosePairsFinder(ClosePairsFinder):
7759 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
7761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7764 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7765 this = _IMP_core.new_QuadraticClosePairsFinder()
7767 self.this.append(this)
7768 except __builtin__.Exception:
7771 def get_are_close_and_filtered(self, *args):
7773 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7774 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7776 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7779 def get_close_pairs(self, *args):
7781 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7782 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7783 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7784 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7786 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7789 def do_get_inputs(self, m, pis):
7790 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7791 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7794 def get_version_info(self):
7795 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7796 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7800 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7801 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7805 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7806 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7811 return _object_cast_to_QuadraticClosePairsFinder(o)
7813 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7814 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7817 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7819 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7821 def __init__(self, r, f):
7822 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7823 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7825 self.this.append(this)
7826 except __builtin__.Exception:
7829 def do_get_inputs(self, m, pis):
7830 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7831 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7834 def get_version_info(self):
7835 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7836 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7840 """__str__(RefinedPairsPairScore self) -> std::string"""
7841 return _IMP_core.RefinedPairsPairScore___str__(self)
7845 """__repr__(RefinedPairsPairScore self) -> std::string"""
7846 return _IMP_core.RefinedPairsPairScore___repr__(self)
7851 return _object_cast_to_RefinedPairsPairScore(o)
7853 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
7854 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7856 class RigidBody(XYZ):
7857 """Proxy of C++ IMP::core::RigidBody class."""
7859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7861 def get_rigid_members(self):
7862 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7863 return _IMP_core.RigidBody_get_rigid_members(self)
7866 def get_member_particle_indexes(self):
7867 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7868 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7871 def get_body_member_particle_indexes(self):
7872 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7873 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7876 def get_member_indexes(self):
7877 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7878 return _IMP_core.RigidBody_get_member_indexes(self)
7881 def __init__(self, *args):
7883 __init__(IMP::core::RigidBody self) -> RigidBody
7884 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7885 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7887 this = _IMP_core.new_RigidBody(*args)
7889 self.this.append(this)
7890 except __builtin__.Exception:
7893 def show(self, *args):
7895 show(RigidBody self, _ostream out)
7896 show(RigidBody self)
7898 return _IMP_core.RigidBody_show(self, *args)
7901 def setup_particle(*args):
7903 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7904 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7905 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7906 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7908 return _IMP_core.RigidBody_setup_particle(*args)
7910 setup_particle = staticmethod(setup_particle)
7912 def teardown_particle(rb):
7913 """teardown_particle(RigidBody rb)"""
7914 return _IMP_core.RigidBody_teardown_particle(rb)
7916 teardown_particle = staticmethod(teardown_particle)
7917 __swig_destroy__ = _IMP_core.delete_RigidBody
7918 __del__ =
lambda self:
None
7920 def get_is_setup(*args):
7922 get_is_setup(_ParticleAdaptor p) -> bool
7923 get_is_setup(Model m, ParticleIndex pi) -> bool
7925 return _IMP_core.RigidBody_get_is_setup(*args)
7927 get_is_setup = staticmethod(get_is_setup)
7929 def get_coordinates(self):
7930 """get_coordinates(RigidBody self) -> Vector3D"""
7931 return _IMP_core.RigidBody_get_coordinates(self)
7934 def get_rotation(self):
7935 """get_rotation(RigidBody self) -> Rotation3D"""
7936 return _IMP_core.RigidBody_get_rotation(self)
7939 def get_reference_frame(self):
7940 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7941 return _IMP_core.RigidBody_get_reference_frame(self)
7944 def set_reference_frame(self, tr):
7945 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7946 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7949 def set_reference_frame_lazy(self, tr):
7950 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7951 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7954 def set_reference_frame_from_members(self, members):
7955 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7956 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7959 def add_to_derivatives(self, *args):
7961 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7962 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7964 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
7967 def add_to_torque(self, torque_local, da):
7968 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
7969 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
7972 def get_torque(self):
7973 """get_torque(RigidBody self) -> Vector3D"""
7974 return _IMP_core.RigidBody_get_torque(self)
7977 def get_coordinates_are_optimized(self):
7978 """get_coordinates_are_optimized(RigidBody self) -> bool"""
7979 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
7982 def set_coordinates_are_optimized(self, tf):
7983 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
7984 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
7987 def normalize_rotation(self):
7988 """normalize_rotation(RigidBody self)"""
7989 return _IMP_core.RigidBody_normalize_rotation(self)
7992 def update_members(self):
7993 """update_members(RigidBody self)"""
7994 return _IMP_core.RigidBody_update_members(self)
7997 def get_rotational_derivatives(self):
7998 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
7999 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8002 def get_number_of_members(self):
8003 """get_number_of_members(RigidBody self) -> unsigned int"""
8004 return _IMP_core.RigidBody_get_number_of_members(self)
8007 def get_member(self, i):
8008 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
8009 return _IMP_core.RigidBody_get_member(self, i)
8012 def add_member(self, p):
8013 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8014 return _IMP_core.RigidBody_add_member(self, p)
8017 def add_non_rigid_member(self, p):
8018 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8019 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8022 def set_is_rigid_member(self, pi, tf):
8023 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8024 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8027 def add_attribute(self, *args):
8029 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8030 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8031 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8032 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8033 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8034 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8036 return _IMP_core.RigidBody_add_attribute(self, *args)
8039 def get_value(self, *args):
8041 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8042 get_value(RigidBody self, IntKey a0) -> IMP::Int
8043 get_value(RigidBody self, StringKey a0) -> IMP::String
8044 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8045 get_value(RigidBody self, ObjectKey a0) -> Object
8047 return _IMP_core.RigidBody_get_value(self, *args)
8050 def set_value(self, *args):
8052 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8053 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8054 set_value(RigidBody self, StringKey a0, IMP::String a1)
8055 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8056 set_value(RigidBody self, ObjectKey a0, Object a1)
8058 return _IMP_core.RigidBody_set_value(self, *args)
8061 def remove_attribute(self, *args):
8063 remove_attribute(RigidBody self, FloatKey a0)
8064 remove_attribute(RigidBody self, IntKey a0)
8065 remove_attribute(RigidBody self, StringKey a0)
8066 remove_attribute(RigidBody self, ParticleIndexKey a0)
8067 remove_attribute(RigidBody self, ObjectKey a0)
8069 return _IMP_core.RigidBody_remove_attribute(self, *args)
8072 def has_attribute(self, *args):
8074 has_attribute(RigidBody self, FloatKey a0) -> bool
8075 has_attribute(RigidBody self, IntKey a0) -> bool
8076 has_attribute(RigidBody self, StringKey a0) -> bool
8077 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8078 has_attribute(RigidBody self, ObjectKey a0) -> bool
8080 return _IMP_core.RigidBody_has_attribute(self, *args)
8083 def get_derivative(self, a0):
8084 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8085 return _IMP_core.RigidBody_get_derivative(self, a0)
8089 """get_name(RigidBody self) -> std::string"""
8090 return _IMP_core.RigidBody_get_name(self)
8093 def clear_caches(self):
8094 """clear_caches(RigidBody self)"""
8095 return _IMP_core.RigidBody_clear_caches(self)
8098 def set_name(self, a0):
8099 """set_name(RigidBody self, std::string a0)"""
8100 return _IMP_core.RigidBody_set_name(self, a0)
8104 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8105 return _IMP_core.RigidBody_set_check_level(self, a0)
8108 def add_to_derivative(self, a0, a1, a2):
8109 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8110 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8113 def set_is_optimized(self, a0, a1):
8114 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8115 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8118 def get_is_optimized(self, a0):
8119 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8120 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8124 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8125 return _IMP_core.RigidBody_get_check_level(self)
8128 def __eq__(self, *args):
8130 __eq__(RigidBody self, RigidBody o) -> bool
8131 __eq__(RigidBody self, Particle d) -> bool
8133 return _IMP_core.RigidBody___eq__(self, *args)
8136 def __ne__(self, *args):
8138 __ne__(RigidBody self, RigidBody o) -> bool
8139 __ne__(RigidBody self, Particle d) -> bool
8141 return _IMP_core.RigidBody___ne__(self, *args)
8144 def __le__(self, *args):
8146 __le__(RigidBody self, RigidBody o) -> bool
8147 __le__(RigidBody self, Particle d) -> bool
8149 return _IMP_core.RigidBody___le__(self, *args)
8152 def __lt__(self, *args):
8154 __lt__(RigidBody self, RigidBody o) -> bool
8155 __lt__(RigidBody self, Particle d) -> bool
8157 return _IMP_core.RigidBody___lt__(self, *args)
8160 def __ge__(self, *args):
8162 __ge__(RigidBody self, RigidBody o) -> bool
8163 __ge__(RigidBody self, Particle d) -> bool
8165 return _IMP_core.RigidBody___ge__(self, *args)
8168 def __gt__(self, *args):
8170 __gt__(RigidBody self, RigidBody o) -> bool
8171 __gt__(RigidBody self, Particle d) -> bool
8173 return _IMP_core.RigidBody___gt__(self, *args)
8177 """__hash__(RigidBody self) -> std::size_t"""
8178 return _IMP_core.RigidBody___hash__(self)
8182 """__str__(RigidBody self) -> std::string"""
8183 return _IMP_core.RigidBody___str__(self)
8187 """__repr__(RigidBody self) -> std::string"""
8188 return _IMP_core.RigidBody___repr__(self)
8190 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8191 RigidBody_swigregister(RigidBody)
8193 def RigidBody_setup_particle(*args):
8195 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8196 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8197 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8198 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8200 return _IMP_core.RigidBody_setup_particle(*args)
8202 def RigidBody_teardown_particle(rb):
8203 """RigidBody_teardown_particle(RigidBody rb)"""
8204 return _IMP_core.RigidBody_teardown_particle(rb)
8206 def RigidBody_get_is_setup(*args):
8208 get_is_setup(_ParticleAdaptor p) -> bool
8209 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8211 return _IMP_core.RigidBody_get_is_setup(*args)
8215 """add_rigid_body_cache_key(ObjectKey k)"""
8216 return _IMP_core.add_rigid_body_cache_key(k)
8217 class RigidBodyMember(XYZ):
8218 """Proxy of C++ IMP::core::RigidBodyMember class."""
8220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8222 def __init__(self, *args):
8224 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8225 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8226 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8228 this = _IMP_core.new_RigidBodyMember(*args)
8230 self.this.append(this)
8231 except __builtin__.Exception:
8234 def show(self, *args):
8236 show(RigidBodyMember self, _ostream out)
8237 show(RigidBodyMember self)
8239 return _IMP_core.RigidBodyMember_show(self, *args)
8242 def get_rigid_body(self):
8243 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8244 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8247 def get_internal_coordinates(self):
8248 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8249 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8252 def set_internal_coordinates(self, v):
8253 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8254 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8257 def set_internal_transformation(self, v):
8258 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8259 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8262 def get_internal_transformation(self):
8263 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8264 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8266 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8267 __del__ =
lambda self:
None
8269 def set_coordinates(self, *args):
8271 set_coordinates(RigidBodyMember self, Vector3D center)
8272 set_coordinates(RigidBodyMember self, Transformation3D tr)
8274 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8277 def get_is_setup(*args):
8279 get_is_setup(_ParticleAdaptor p) -> bool
8280 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8282 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8284 get_is_setup = staticmethod(get_is_setup)
8286 def get_internal_coordinate_keys():
8287 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8288 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8290 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8292 def add_attribute(self, *args):
8294 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8295 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8296 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8297 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8298 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8299 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8301 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8304 def get_value(self, *args):
8306 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8307 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8308 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8309 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8310 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8312 return _IMP_core.RigidBodyMember_get_value(self, *args)
8315 def set_value(self, *args):
8317 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8318 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8319 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8320 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8321 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8323 return _IMP_core.RigidBodyMember_set_value(self, *args)
8326 def remove_attribute(self, *args):
8328 remove_attribute(RigidBodyMember self, FloatKey a0)
8329 remove_attribute(RigidBodyMember self, IntKey a0)
8330 remove_attribute(RigidBodyMember self, StringKey a0)
8331 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8332 remove_attribute(RigidBodyMember self, ObjectKey a0)
8334 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8337 def has_attribute(self, *args):
8339 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8340 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8341 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8342 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8343 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8345 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8348 def get_derivative(self, a0):
8349 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8350 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8354 """get_name(RigidBodyMember self) -> std::string"""
8355 return _IMP_core.RigidBodyMember_get_name(self)
8358 def clear_caches(self):
8359 """clear_caches(RigidBodyMember self)"""
8360 return _IMP_core.RigidBodyMember_clear_caches(self)
8363 def set_name(self, a0):
8364 """set_name(RigidBodyMember self, std::string a0)"""
8365 return _IMP_core.RigidBodyMember_set_name(self, a0)
8369 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8370 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8373 def add_to_derivative(self, a0, a1, a2):
8374 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8375 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8378 def set_is_optimized(self, a0, a1):
8379 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8380 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8383 def get_is_optimized(self, a0):
8384 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8385 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8389 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8390 return _IMP_core.RigidBodyMember_get_check_level(self)
8393 def __eq__(self, *args):
8395 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8396 __eq__(RigidBodyMember self, Particle d) -> bool
8398 return _IMP_core.RigidBodyMember___eq__(self, *args)
8401 def __ne__(self, *args):
8403 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8404 __ne__(RigidBodyMember self, Particle d) -> bool
8406 return _IMP_core.RigidBodyMember___ne__(self, *args)
8409 def __le__(self, *args):
8411 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8412 __le__(RigidBodyMember self, Particle d) -> bool
8414 return _IMP_core.RigidBodyMember___le__(self, *args)
8417 def __lt__(self, *args):
8419 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8420 __lt__(RigidBodyMember self, Particle d) -> bool
8422 return _IMP_core.RigidBodyMember___lt__(self, *args)
8425 def __ge__(self, *args):
8427 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8428 __ge__(RigidBodyMember self, Particle d) -> bool
8430 return _IMP_core.RigidBodyMember___ge__(self, *args)
8433 def __gt__(self, *args):
8435 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8436 __gt__(RigidBodyMember self, Particle d) -> bool
8438 return _IMP_core.RigidBodyMember___gt__(self, *args)
8442 """__hash__(RigidBodyMember self) -> std::size_t"""
8443 return _IMP_core.RigidBodyMember___hash__(self)
8447 """__str__(RigidBodyMember self) -> std::string"""
8448 return _IMP_core.RigidBodyMember___str__(self)
8452 """__repr__(RigidBodyMember self) -> std::string"""
8453 return _IMP_core.RigidBodyMember___repr__(self)
8455 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8456 RigidBodyMember_swigregister(RigidBodyMember)
8458 def RigidBodyMember_get_is_setup(*args):
8460 get_is_setup(_ParticleAdaptor p) -> bool
8461 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8463 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8465 def RigidBodyMember_get_internal_coordinate_keys():
8466 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8467 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8469 class RigidMember(RigidBodyMember):
8470 """Proxy of C++ IMP::core::RigidMember class."""
8472 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8474 def __init__(self, *args):
8476 __init__(IMP::core::RigidMember self) -> RigidMember
8477 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8478 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8480 this = _IMP_core.new_RigidMember(*args)
8482 self.this.append(this)
8483 except __builtin__.Exception:
8486 def show(self, *args):
8488 show(RigidMember self, _ostream out)
8489 show(RigidMember self)
8491 return _IMP_core.RigidMember_show(self, *args)
8493 __swig_destroy__ = _IMP_core.delete_RigidMember
8494 __del__ =
lambda self:
None
8496 def get_is_setup(*args):
8498 get_is_setup(_ParticleAdaptor p) -> bool
8499 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8501 return _IMP_core.RigidMember_get_is_setup(*args)
8503 get_is_setup = staticmethod(get_is_setup)
8505 def add_attribute(self, *args):
8507 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8508 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8509 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8510 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8511 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8512 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8514 return _IMP_core.RigidMember_add_attribute(self, *args)
8517 def get_value(self, *args):
8519 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8520 get_value(RigidMember self, IntKey a0) -> IMP::Int
8521 get_value(RigidMember self, StringKey a0) -> IMP::String
8522 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8523 get_value(RigidMember self, ObjectKey a0) -> Object
8525 return _IMP_core.RigidMember_get_value(self, *args)
8528 def set_value(self, *args):
8530 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8531 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8532 set_value(RigidMember self, StringKey a0, IMP::String a1)
8533 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8534 set_value(RigidMember self, ObjectKey a0, Object a1)
8536 return _IMP_core.RigidMember_set_value(self, *args)
8539 def remove_attribute(self, *args):
8541 remove_attribute(RigidMember self, FloatKey a0)
8542 remove_attribute(RigidMember self, IntKey a0)
8543 remove_attribute(RigidMember self, StringKey a0)
8544 remove_attribute(RigidMember self, ParticleIndexKey a0)
8545 remove_attribute(RigidMember self, ObjectKey a0)
8547 return _IMP_core.RigidMember_remove_attribute(self, *args)
8550 def has_attribute(self, *args):
8552 has_attribute(RigidMember self, FloatKey a0) -> bool
8553 has_attribute(RigidMember self, IntKey a0) -> bool
8554 has_attribute(RigidMember self, StringKey a0) -> bool
8555 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8556 has_attribute(RigidMember self, ObjectKey a0) -> bool
8558 return _IMP_core.RigidMember_has_attribute(self, *args)
8561 def get_derivative(self, a0):
8562 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8563 return _IMP_core.RigidMember_get_derivative(self, a0)
8567 """get_name(RigidMember self) -> std::string"""
8568 return _IMP_core.RigidMember_get_name(self)
8571 def clear_caches(self):
8572 """clear_caches(RigidMember self)"""
8573 return _IMP_core.RigidMember_clear_caches(self)
8576 def set_name(self, a0):
8577 """set_name(RigidMember self, std::string a0)"""
8578 return _IMP_core.RigidMember_set_name(self, a0)
8582 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8583 return _IMP_core.RigidMember_set_check_level(self, a0)
8586 def add_to_derivative(self, a0, a1, a2):
8587 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8588 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8591 def set_is_optimized(self, a0, a1):
8592 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8593 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8596 def get_is_optimized(self, a0):
8597 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8598 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8602 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8603 return _IMP_core.RigidMember_get_check_level(self)
8606 def __eq__(self, *args):
8608 __eq__(RigidMember self, RigidMember o) -> bool
8609 __eq__(RigidMember self, Particle d) -> bool
8611 return _IMP_core.RigidMember___eq__(self, *args)
8614 def __ne__(self, *args):
8616 __ne__(RigidMember self, RigidMember o) -> bool
8617 __ne__(RigidMember self, Particle d) -> bool
8619 return _IMP_core.RigidMember___ne__(self, *args)
8622 def __le__(self, *args):
8624 __le__(RigidMember self, RigidMember o) -> bool
8625 __le__(RigidMember self, Particle d) -> bool
8627 return _IMP_core.RigidMember___le__(self, *args)
8630 def __lt__(self, *args):
8632 __lt__(RigidMember self, RigidMember o) -> bool
8633 __lt__(RigidMember self, Particle d) -> bool
8635 return _IMP_core.RigidMember___lt__(self, *args)
8638 def __ge__(self, *args):
8640 __ge__(RigidMember self, RigidMember o) -> bool
8641 __ge__(RigidMember self, Particle d) -> bool
8643 return _IMP_core.RigidMember___ge__(self, *args)
8646 def __gt__(self, *args):
8648 __gt__(RigidMember self, RigidMember o) -> bool
8649 __gt__(RigidMember self, Particle d) -> bool
8651 return _IMP_core.RigidMember___gt__(self, *args)
8655 """__hash__(RigidMember self) -> std::size_t"""
8656 return _IMP_core.RigidMember___hash__(self)
8660 """__str__(RigidMember self) -> std::string"""
8661 return _IMP_core.RigidMember___str__(self)
8665 """__repr__(RigidMember self) -> std::string"""
8666 return _IMP_core.RigidMember___repr__(self)
8668 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8669 RigidMember_swigregister(RigidMember)
8671 def RigidMember_get_is_setup(*args):
8673 get_is_setup(_ParticleAdaptor p) -> bool
8674 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8676 return _IMP_core.RigidMember_get_is_setup(*args)
8678 class NonRigidMember(RigidBodyMember):
8679 """Proxy of C++ IMP::core::NonRigidMember class."""
8681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8683 def __init__(self, *args):
8685 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8686 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8687 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8689 this = _IMP_core.new_NonRigidMember(*args)
8691 self.this.append(this)
8692 except __builtin__.Exception:
8695 def show(self, *args):
8697 show(NonRigidMember self, _ostream out)
8698 show(NonRigidMember self)
8700 return _IMP_core.NonRigidMember_show(self, *args)
8702 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8703 __del__ =
lambda self:
None
8705 def get_is_setup(*args):
8707 get_is_setup(_ParticleAdaptor p) -> bool
8708 get_is_setup(Model m, ParticleIndex p) -> bool
8710 return _IMP_core.NonRigidMember_get_is_setup(*args)
8712 get_is_setup = staticmethod(get_is_setup)
8714 def add_attribute(self, *args):
8716 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8717 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8718 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8719 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8720 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8721 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8723 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8726 def get_value(self, *args):
8728 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8729 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8730 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8731 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8732 get_value(NonRigidMember self, ObjectKey a0) -> Object
8734 return _IMP_core.NonRigidMember_get_value(self, *args)
8737 def set_value(self, *args):
8739 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8740 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8741 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8742 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8743 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8745 return _IMP_core.NonRigidMember_set_value(self, *args)
8748 def remove_attribute(self, *args):
8750 remove_attribute(NonRigidMember self, FloatKey a0)
8751 remove_attribute(NonRigidMember self, IntKey a0)
8752 remove_attribute(NonRigidMember self, StringKey a0)
8753 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8754 remove_attribute(NonRigidMember self, ObjectKey a0)
8756 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8759 def has_attribute(self, *args):
8761 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8762 has_attribute(NonRigidMember self, IntKey a0) -> bool
8763 has_attribute(NonRigidMember self, StringKey a0) -> bool
8764 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8765 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8767 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8770 def get_derivative(self, a0):
8771 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8772 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8776 """get_name(NonRigidMember self) -> std::string"""
8777 return _IMP_core.NonRigidMember_get_name(self)
8780 def clear_caches(self):
8781 """clear_caches(NonRigidMember self)"""
8782 return _IMP_core.NonRigidMember_clear_caches(self)
8785 def set_name(self, a0):
8786 """set_name(NonRigidMember self, std::string a0)"""
8787 return _IMP_core.NonRigidMember_set_name(self, a0)
8791 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8792 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8795 def add_to_derivative(self, a0, a1, a2):
8796 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8797 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8800 def set_is_optimized(self, a0, a1):
8801 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8802 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8805 def get_is_optimized(self, a0):
8806 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8807 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8811 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8812 return _IMP_core.NonRigidMember_get_check_level(self)
8815 def __eq__(self, *args):
8817 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8818 __eq__(NonRigidMember self, Particle d) -> bool
8820 return _IMP_core.NonRigidMember___eq__(self, *args)
8823 def __ne__(self, *args):
8825 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8826 __ne__(NonRigidMember self, Particle d) -> bool
8828 return _IMP_core.NonRigidMember___ne__(self, *args)
8831 def __le__(self, *args):
8833 __le__(NonRigidMember self, NonRigidMember o) -> bool
8834 __le__(NonRigidMember self, Particle d) -> bool
8836 return _IMP_core.NonRigidMember___le__(self, *args)
8839 def __lt__(self, *args):
8841 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8842 __lt__(NonRigidMember self, Particle d) -> bool
8844 return _IMP_core.NonRigidMember___lt__(self, *args)
8847 def __ge__(self, *args):
8849 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8850 __ge__(NonRigidMember self, Particle d) -> bool
8852 return _IMP_core.NonRigidMember___ge__(self, *args)
8855 def __gt__(self, *args):
8857 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8858 __gt__(NonRigidMember self, Particle d) -> bool
8860 return _IMP_core.NonRigidMember___gt__(self, *args)
8864 """__hash__(NonRigidMember self) -> std::size_t"""
8865 return _IMP_core.NonRigidMember___hash__(self)
8869 """__str__(NonRigidMember self) -> std::string"""
8870 return _IMP_core.NonRigidMember___str__(self)
8874 """__repr__(NonRigidMember self) -> std::string"""
8875 return _IMP_core.NonRigidMember___repr__(self)
8877 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
8878 NonRigidMember_swigregister(NonRigidMember)
8880 def NonRigidMember_get_is_setup(*args):
8882 get_is_setup(_ParticleAdaptor p) -> bool
8883 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
8885 return _IMP_core.NonRigidMember_get_is_setup(*args)
8888 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
8890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8892 def __init__(self, *args):
8894 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
8895 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
8897 this = _IMP_core.new_RigidMembersRefiner(*args)
8899 self.this.append(this)
8900 except __builtin__.Exception:
8903 def do_get_inputs(self, m, pis):
8904 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8905 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8908 def get_version_info(self):
8909 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8910 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8914 """__str__(RigidMembersRefiner self) -> std::string"""
8915 return _IMP_core.RigidMembersRefiner___str__(self)
8919 """__repr__(RigidMembersRefiner self) -> std::string"""
8920 return _IMP_core.RigidMembersRefiner___repr__(self)
8925 return _object_cast_to_RigidMembersRefiner(o)
8927 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
8928 RigidMembersRefiner_swigregister(RigidMembersRefiner)
8931 def get_rigid_members_refiner():
8932 """get_rigid_members_refiner() -> RigidMembersRefiner"""
8933 return _IMP_core.get_rigid_members_refiner()
8937 transform(XYZ a, Transformation3D tr)
8938 transform(RigidBody a, Transformation3D tr)
8940 return _IMP_core.transform(*args)
8944 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
8945 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
8947 return _IMP_core.get_initial_reference_frame(*args)
8951 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
8952 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
8954 return _IMP_core.create_rigid_bodies(m, n, no_members)
8958 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
8959 show_rigid_body_hierarchy(RigidBody rb)
8961 return _IMP_core.show_rigid_body_hierarchy(*args)
8964 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
8965 return _IMP_core.get_root_rigid_body(m)
8967 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
8969 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8971 def __init__(self, rb, constituents):
8972 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
8973 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
8975 self.this.append(this)
8976 except __builtin__.Exception:
8979 def get_version_info(self):
8980 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
8981 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
8985 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
8986 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
8990 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
8991 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
8996 return _object_cast_to_RigidBodyHierarchyGeometry(o)
8998 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
8999 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9002 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
9004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9006 def __init__(self, *args):
9008 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9009 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9011 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9013 self.this.append(this)
9014 except __builtin__.Exception:
9017 def get_version_info(self):
9018 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9019 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9023 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9024 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9028 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9029 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9034 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9036 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9037 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9040 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
9042 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9044 def __init__(self, sc):
9045 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9046 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9048 self.this.append(this)
9049 except __builtin__.Exception:
9052 def get_version_info(self):
9053 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9054 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9058 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9059 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9063 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9064 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9069 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9071 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9072 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9075 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
9077 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9079 def __init__(self, *args):
9081 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9082 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9084 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9086 self.this.append(this)
9087 except __builtin__.Exception:
9090 def get_version_info(self):
9091 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9092 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9096 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9097 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9101 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9102 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9107 return _object_cast_to_RigidBodyFrameGeometry(o)
9109 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9110 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9113 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
9115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9117 def __init__(self, sc):
9118 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9119 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9121 self.this.append(this)
9122 except __builtin__.Exception:
9125 def get_version_info(self):
9126 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9127 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9131 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9132 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9136 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9137 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9142 return _object_cast_to_RigidBodyFramesGeometry(o)
9144 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9145 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9148 """Proxy of C++ IMP::core::RigidBodyTorque class."""
9150 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9152 def __init__(self, p):
9153 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9154 this = _IMP_core.new_RigidBodyTorque(p)
9156 self.this.append(this)
9157 except __builtin__.Exception:
9161 """__str__(RigidBodyTorque self) -> std::string"""
9162 return _IMP_core.RigidBodyTorque___str__(self)
9166 """__repr__(RigidBodyTorque self) -> std::string"""
9167 return _IMP_core.RigidBodyTorque___repr__(self)
9172 return _object_cast_to_RigidBodyTorque(o)
9174 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9175 __del__ =
lambda self:
None
9176 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9177 RigidBodyTorque_swigregister(RigidBodyTorque)
9179 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9180 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
9182 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9185 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9186 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9188 self.this.append(this)
9189 except __builtin__.Exception:
9192 def get_close_pairs(self, *args):
9194 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9195 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9196 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9197 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9199 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9202 def do_get_inputs(self, m, pis):
9203 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9204 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9207 def get_version_info(self):
9208 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9209 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9213 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9214 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9218 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9219 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9224 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9226 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9227 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9230 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
9232 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9234 def __init__(self, *args):
9236 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9237 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9238 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9239 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9240 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9242 this = _IMP_core.new_RestraintsScoringFunction(*args)
9244 self.this.append(this)
9245 except __builtin__.Exception:
9248 def do_add_score_and_derivatives(self, sa, ss):
9249 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9250 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9253 def do_get_inputs(self):
9254 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9255 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9258 def get_version_info(self):
9259 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9260 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9264 """__str__(RestraintsScoringFunction self) -> std::string"""
9265 return _IMP_core.RestraintsScoringFunction___str__(self)
9269 """__repr__(RestraintsScoringFunction self) -> std::string"""
9270 return _IMP_core.RestraintsScoringFunction___repr__(self)
9275 return _object_cast_to_RestraintsScoringFunction(o)
9277 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9278 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9280 class RigidClosePairsFinder(ClosePairsFinder):
9281 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
9283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9285 def __init__(self, cpf=None):
9287 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9288 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9290 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9292 self.this.append(this)
9293 except __builtin__.Exception:
9296 def do_get_inputs(self, m, pis):
9297 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9298 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9301 def get_close_pairs(self, *args):
9303 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9304 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9305 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9306 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9307 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9309 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9312 def get_version_info(self):
9313 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9314 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9318 """__str__(RigidClosePairsFinder self) -> std::string"""
9319 return _IMP_core.RigidClosePairsFinder___str__(self)
9323 """__repr__(RigidClosePairsFinder self) -> std::string"""
9324 return _IMP_core.RigidClosePairsFinder___repr__(self)
9329 return _object_cast_to_RigidClosePairsFinder(o)
9331 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9332 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9335 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
9337 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9339 def __init__(self, *args):
9341 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9342 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9344 this = _IMP_core.new_SphereDistancePairScore(*args)
9346 self.this.append(this)
9347 except __builtin__.Exception:
9350 def do_get_inputs(self, m, pis):
9351 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9352 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9355 def get_version_info(self):
9356 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9357 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9361 """__str__(SphereDistancePairScore self) -> std::string"""
9362 return _IMP_core.SphereDistancePairScore___str__(self)
9366 """__repr__(SphereDistancePairScore self) -> std::string"""
9367 return _IMP_core.SphereDistancePairScore___repr__(self)
9372 return _object_cast_to_SphereDistancePairScore(o)
9374 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9375 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9377 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9378 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
9380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9382 def __init__(self, *args):
9384 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9385 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9387 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9389 self.this.append(this)
9390 except __builtin__.Exception:
9393 def do_get_inputs(self, m, pis):
9394 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9395 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9398 def get_version_info(self):
9399 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9400 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9404 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9405 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9409 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9410 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9415 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9417 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9418 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9420 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9421 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
9423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9425 def __init__(self, d0, k):
9426 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9427 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9429 self.this.append(this)
9430 except __builtin__.Exception:
9433 def get_rest_length(self):
9434 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9435 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9438 def get_stiffness(self):
9439 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9440 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9443 def do_get_inputs(self, m, pis):
9444 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9445 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9448 def get_version_info(self):
9449 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9450 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9454 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9455 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9459 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9460 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9465 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9467 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9468 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9471 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9473 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9475 def __init__(self, *args):
9477 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9478 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9480 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9482 self.this.append(this)
9483 except __builtin__.Exception:
9486 def do_get_inputs(self, m, pis):
9487 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9488 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9491 def get_version_info(self):
9492 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9493 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9497 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9498 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9502 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9503 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9508 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9510 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9511 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9514 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9518 def __init__(self, *args):
9520 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9521 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9523 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9525 self.this.append(this)
9526 except __builtin__.Exception:
9529 def do_get_inputs(self, m, pis):
9530 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9531 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9534 def get_version_info(self):
9535 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9536 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9540 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9541 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9545 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9546 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9551 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9553 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9554 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9557 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9561 def __init__(self, *args):
9563 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9564 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9566 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9568 self.this.append(this)
9569 except __builtin__.Exception:
9572 def do_get_inputs(self, m, pis):
9573 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9574 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9577 def get_version_info(self):
9578 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9579 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9583 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9584 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9588 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9589 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9594 return _object_cast_to_WeightedSphereDistancePairScore(o)
9596 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9597 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9600 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
9602 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9604 def __init__(self, *args):
9606 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9607 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9609 this = _IMP_core.new_SoftSpherePairScore(*args)
9611 self.this.append(this)
9612 except __builtin__.Exception:
9615 def do_get_inputs(self, m, pis):
9616 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9617 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9620 def get_version_info(self):
9621 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9622 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9626 """__str__(SoftSpherePairScore self) -> std::string"""
9627 return _IMP_core.SoftSpherePairScore___str__(self)
9631 """__repr__(SoftSpherePairScore self) -> std::string"""
9632 return _IMP_core.SoftSpherePairScore___repr__(self)
9637 return _object_cast_to_SoftSpherePairScore(o)
9639 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9640 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9643 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9647 def __init__(self, *args):
9649 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9650 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9652 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9654 self.this.append(this)
9655 except __builtin__.Exception:
9658 def do_get_inputs(self, m, pis):
9659 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9660 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9663 def get_version_info(self):
9664 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9665 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9669 """__str__(SurfaceDistancePairScore self) -> std::string"""
9670 return _IMP_core.SurfaceDistancePairScore___str__(self)
9674 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9675 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9680 return _object_cast_to_SurfaceDistancePairScore(o)
9682 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9683 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9686 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9690 def __init__(self, *args):
9692 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9693 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9695 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9697 self.this.append(this)
9698 except __builtin__.Exception:
9701 def do_get_inputs(self, m, pis):
9702 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9703 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9706 def get_version_info(self):
9707 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9708 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9712 """__str__(SurfaceHeightPairScore self) -> std::string"""
9713 return _IMP_core.SurfaceHeightPairScore___str__(self)
9717 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9718 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9723 return _object_cast_to_SurfaceHeightPairScore(o)
9725 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9726 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9729 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9733 def __init__(self, *args):
9735 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9736 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9738 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9740 self.this.append(this)
9741 except __builtin__.Exception:
9744 def do_get_inputs(self, m, pis):
9745 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9746 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9749 def get_version_info(self):
9750 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9751 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9755 """__str__(SurfaceDepthPairScore self) -> std::string"""
9756 return _IMP_core.SurfaceDepthPairScore___str__(self)
9760 """__repr__(SurfaceDepthPairScore self) -> std::string"""
9761 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9766 return _object_cast_to_SurfaceDepthPairScore(o)
9768 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
9769 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9772 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9774 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9776 def __init__(self, *args):
9778 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9779 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9781 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9783 self.this.append(this)
9784 except __builtin__.Exception:
9787 def do_get_inputs(self, m, pis):
9788 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9789 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9792 def get_version_info(self):
9793 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9794 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9798 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9799 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9803 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9804 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9809 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9811 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
9812 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9815 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9819 def __init__(self, *args):
9821 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
9822 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
9824 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
9826 self.this.append(this)
9827 except __builtin__.Exception:
9830 def do_get_inputs(self, m, pis):
9831 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9832 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9835 def get_version_info(self):
9836 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9837 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9841 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9842 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9846 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9847 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9852 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9854 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
9855 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9858 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9860 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9862 def __init__(self, *args):
9864 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
9865 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
9867 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
9869 self.this.append(this)
9870 except __builtin__.Exception:
9873 def do_get_inputs(self, m, pis):
9874 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9875 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9878 def get_version_info(self):
9879 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9880 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9884 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9885 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9889 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9890 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9895 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9897 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
9898 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9901 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9905 def __init__(self, *args):
9907 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
9908 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
9910 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
9912 self.this.append(this)
9913 except __builtin__.Exception:
9916 def do_get_inputs(self, m, pis):
9917 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9918 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
9921 def get_version_info(self):
9922 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
9923 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
9927 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
9928 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
9932 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
9933 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
9938 return _object_cast_to_SoftSuperSurfacePairScore(o)
9940 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
9941 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
9944 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
9946 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9948 def __init__(self, *args):
9950 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
9951 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
9953 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
9955 self.this.append(this)
9956 except __builtin__.Exception:
9959 def do_get_inputs(self, m, pis):
9960 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9961 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
9964 def get_version_info(self):
9965 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
9966 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
9970 """__str__(SoftSubSurfacePairScore self) -> std::string"""
9971 return _IMP_core.SoftSubSurfacePairScore___str__(self)
9975 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
9976 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
9981 return _object_cast_to_SoftSubSurfacePairScore(o)
9983 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
9984 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
9987 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
9989 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9991 def __init__(self, link_num, link_length):
9992 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
9993 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
9995 self.this.append(this)
9996 except __builtin__.Exception:
9999 def get_version_info(self):
10000 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10001 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10004 def get_link_number(self):
10005 """get_link_number(SurfaceTetheredChain self) -> int"""
10006 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10009 def get_link_length(self):
10010 """get_link_length(SurfaceTetheredChain self) -> double"""
10011 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10014 def set_link_number(self, N):
10015 """set_link_number(SurfaceTetheredChain self, int N)"""
10016 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10019 def set_link_length(self, b):
10020 """set_link_length(SurfaceTetheredChain self, double b)"""
10021 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10024 def get_distance_at_minimum(self):
10025 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10026 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10029 def get_average_distance(self):
10030 """get_average_distance(SurfaceTetheredChain self) -> double"""
10031 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10035 """__str__(SurfaceTetheredChain self) -> std::string"""
10036 return _IMP_core.SurfaceTetheredChain___str__(self)
10039 def __repr__(self):
10040 """__repr__(SurfaceTetheredChain self) -> std::string"""
10041 return _IMP_core.SurfaceTetheredChain___repr__(self)
10046 return _object_cast_to_SurfaceTetheredChain(o)
10048 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10049 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10052 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
10054 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10056 def __init__(self, m, ss, rbs):
10057 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10058 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10060 self.this.append(this)
10061 except __builtin__.Exception:
10064 def do_get_inputs(self):
10065 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10066 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10069 def do_get_outputs(self):
10070 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10071 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10074 def get_version_info(self):
10075 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10076 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10080 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10081 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10084 def __repr__(self):
10085 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10086 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10091 return _object_cast_to_SurfaceSymmetryConstraint(o)
10093 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10094 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10097 """Proxy of C++ IMP::core::SteepestDescent class."""
10099 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10101 def __init__(self, *args):
10103 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10104 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10106 this = _IMP_core.new_SteepestDescent(*args)
10108 self.this.append(this)
10109 except __builtin__.Exception:
10112 def do_optimize(self, max_steps):
10113 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10114 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10117 def get_version_info(self):
10118 """get_version_info(SteepestDescent self) -> VersionInfo"""
10119 return _IMP_core.SteepestDescent_get_version_info(self)
10122 def set_threshold(self, t):
10123 """set_threshold(SteepestDescent self, IMP::Float t)"""
10124 return _IMP_core.SteepestDescent_set_threshold(self, t)
10127 def set_step_size(self, t):
10128 """set_step_size(SteepestDescent self, IMP::Float t)"""
10129 return _IMP_core.SteepestDescent_set_step_size(self, t)
10132 def set_maximum_step_size(self, t):
10133 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10134 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10138 """__str__(SteepestDescent self) -> std::string"""
10139 return _IMP_core.SteepestDescent___str__(self)
10142 def __repr__(self):
10143 """__repr__(SteepestDescent self) -> std::string"""
10144 return _IMP_core.SteepestDescent___repr__(self)
10149 return _object_cast_to_SteepestDescent(o)
10151 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10152 SteepestDescent_swigregister(SteepestDescent)
10155 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
10157 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10159 def __init__(self, f, transformation):
10160 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10161 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10163 self.this.append(this)
10164 except __builtin__.Exception:
10167 def set_transformation(self, rot):
10168 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10169 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10172 def do_get_inputs(self, m, pis):
10173 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10174 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10177 def get_version_info(self):
10178 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10179 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10183 """__str__(TransformedDistancePairScore self) -> std::string"""
10184 return _IMP_core.TransformedDistancePairScore___str__(self)
10187 def __repr__(self):
10188 """__repr__(TransformedDistancePairScore self) -> std::string"""
10189 return _IMP_core.TransformedDistancePairScore___repr__(self)
10194 return _object_cast_to_TransformedDistancePairScore(o)
10196 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10197 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10200 """Proxy of C++ IMP::core::TypedPairScore class."""
10202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10204 def __init__(self, typekey, allow_invalid_types=True):
10206 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10207 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10209 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10211 self.this.append(this)
10212 except __builtin__.Exception:
10215 def set_particle_type(self, arg2):
10216 """set_particle_type(TypedPairScore self, Particle arg2)"""
10217 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10220 def set_pair_score(self, ps, atype, btype):
10221 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10222 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10225 def do_get_inputs(self, m, pis):
10226 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10227 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10230 def get_version_info(self):
10231 """get_version_info(TypedPairScore self) -> VersionInfo"""
10232 return _IMP_core.TypedPairScore_get_version_info(self)
10236 """__str__(TypedPairScore self) -> std::string"""
10237 return _IMP_core.TypedPairScore___str__(self)
10240 def __repr__(self):
10241 """__repr__(TypedPairScore self) -> std::string"""
10242 return _IMP_core.TypedPairScore___repr__(self)
10247 return _object_cast_to_TypedPairScore(o)
10249 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10250 TypedPairScore_swigregister(TypedPairScore)
10252 class RigidBodyDistancePairScore(KClosePairsPairScore):
10253 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
10255 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10257 def __init__(self, ps, r):
10258 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10259 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10261 self.this.append(this)
10262 except __builtin__.Exception:
10266 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10267 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10270 def __repr__(self):
10271 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10272 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10277 return _object_cast_to_RigidBodyDistancePairScore(o)
10279 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10280 __del__ =
lambda self:
None
10281 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10282 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10285 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
10287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10289 def __init__(self, f):
10290 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10291 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10293 self.this.append(this)
10294 except __builtin__.Exception:
10297 def do_get_inputs(self, m, pis):
10298 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10299 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10302 def get_version_info(self):
10303 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10304 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10308 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10309 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10312 def __repr__(self):
10313 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10314 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10319 return _object_cast_to_RigidBodyAnglePairScore(o)
10321 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10322 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10325 """Proxy of C++ IMP::core::TableRefiner class."""
10327 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10329 def __init__(self):
10330 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10331 this = _IMP_core.new_TableRefiner()
10333 self.this.append(this)
10334 except __builtin__.Exception:
10338 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10339 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10342 def remove_particle(self, p):
10343 """remove_particle(TableRefiner self, Particle p)"""
10344 return _IMP_core.TableRefiner_remove_particle(self, p)
10347 def set_particle(self, p, ps):
10348 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10349 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10352 def do_get_inputs(self, m, pis):
10353 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10354 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10357 def get_version_info(self):
10358 """get_version_info(TableRefiner self) -> VersionInfo"""
10359 return _IMP_core.TableRefiner_get_version_info(self)
10363 """__str__(TableRefiner self) -> std::string"""
10364 return _IMP_core.TableRefiner___str__(self)
10367 def __repr__(self):
10368 """__repr__(TableRefiner self) -> std::string"""
10369 return _IMP_core.TableRefiner___repr__(self)
10374 return _object_cast_to_TableRefiner(o)
10376 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10377 TableRefiner_swigregister(TableRefiner)
10379 LOWER = _IMP_core.LOWER
10380 BOTH = _IMP_core.BOTH
10381 UPPER = _IMP_core.UPPER
10383 """Proxy of C++ IMP::core::MCCGSampler class."""
10385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10387 def __init__(self, *args):
10389 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10390 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10392 this = _IMP_core.new_MCCGSampler(*args)
10394 self.this.append(this)
10395 except __builtin__.Exception:
10398 def set_bounding_box(self, bb):
10399 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10400 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10403 def set_number_of_attempts(self, att):
10404 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10405 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10408 def set_number_of_monte_carlo_steps(self, cg):
10409 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10410 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10413 def set_number_of_conjugate_gradient_steps(self, cg):
10414 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10415 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10418 def set_max_monte_carlo_step_size(self, *args):
10420 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10421 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10423 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10426 def set_is_refining(self, tf):
10427 """set_is_refining(MCCGSampler self, bool tf)"""
10428 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10431 def set_local_optimizer(self, opt):
10432 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10433 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10436 def set_save_rejected_configurations(self, tf):
10437 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10438 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10441 def get_rejected_configurations(self):
10442 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10443 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10446 def remove_optimizer_state(self, d):
10447 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10448 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10451 def remove_optimizer_states(self, d):
10452 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10453 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10456 def set_optimizer_states(self, ps):
10457 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10458 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10461 def set_optimizer_states_order(self, objs):
10462 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10463 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10466 def add_optimizer_state(self, obj):
10467 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10468 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10471 def add_optimizer_states(self, objs):
10472 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10473 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10476 def clear_optimizer_states(self):
10477 """clear_optimizer_states(MCCGSampler self)"""
10478 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10481 def get_number_of_optimizer_states(self):
10482 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10483 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10486 def get_has_optimizer_states(self):
10487 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10488 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10491 def get_optimizer_state(self, i):
10492 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10493 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10496 def get_optimizer_states(self):
10497 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10498 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10501 def reserve_optimizer_states(self, sz):
10502 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10503 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10506 def do_sample(self):
10507 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10508 return _IMP_core.MCCGSampler_do_sample(self)
10511 def get_version_info(self):
10512 """get_version_info(MCCGSampler self) -> VersionInfo"""
10513 return _IMP_core.MCCGSampler_get_version_info(self)
10517 """__str__(MCCGSampler self) -> std::string"""
10518 return _IMP_core.MCCGSampler___str__(self)
10521 def __repr__(self):
10522 """__repr__(MCCGSampler self) -> std::string"""
10523 return _IMP_core.MCCGSampler___repr__(self)
10528 return _object_cast_to_MCCGSampler(o)
10530 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10531 MCCGSampler_swigregister(MCCGSampler)
10534 """Proxy of C++ IMP::core::MinimumRestraint class."""
10536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10538 def __init__(self, *args):
10540 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10541 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10542 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10544 this = _IMP_core.new_MinimumRestraint(*args)
10546 self.this.append(this)
10547 except __builtin__.Exception:
10550 def do_get_inputs(self):
10551 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10552 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10555 def get_version_info(self):
10556 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10557 return _IMP_core.MinimumRestraint_get_version_info(self)
10560 def remove_restraint(self, d):
10561 """remove_restraint(MinimumRestraint self, Restraint d)"""
10562 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10565 def remove_restraints(self, d):
10566 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10567 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10570 def set_restraints(self, ps):
10571 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10572 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10575 def set_restraints_order(self, objs):
10576 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10577 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10581 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10582 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10586 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10587 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10590 def clear_restraints(self):
10591 """clear_restraints(MinimumRestraint self)"""
10592 return _IMP_core.MinimumRestraint_clear_restraints(self)
10595 def get_number_of_restraints(self):
10596 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10597 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10600 def get_has_restraints(self):
10601 """get_has_restraints(MinimumRestraint self) -> bool"""
10602 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10605 def get_restraint(self, i):
10606 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10607 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10610 def get_restraints(self):
10611 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10612 return _IMP_core.MinimumRestraint_get_restraints(self)
10615 def reserve_restraints(self, sz):
10616 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10617 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10621 """__str__(MinimumRestraint self) -> std::string"""
10622 return _IMP_core.MinimumRestraint___str__(self)
10625 def __repr__(self):
10626 """__repr__(MinimumRestraint self) -> std::string"""
10627 return _IMP_core.MinimumRestraint___repr__(self)
10632 return _object_cast_to_MinimumRestraint(o)
10634 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10635 MinimumRestraint_swigregister(MinimumRestraint)
10637 class Gaussian(RigidBody):
10638 """Proxy of C++ IMP::core::Gaussian class."""
10640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10642 def __init__(self, *args):
10644 __init__(IMP::core::Gaussian self) -> Gaussian
10645 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10646 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10648 this = _IMP_core.new_Gaussian(*args)
10650 self.this.append(this)
10651 except __builtin__.Exception:
10654 def show(self, *args):
10656 show(Gaussian self, _ostream out)
10657 show(Gaussian self)
10659 return _IMP_core.Gaussian_show(self, *args)
10662 def setup_particle(*args):
10664 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10665 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10666 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10667 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10669 return _IMP_core.Gaussian_setup_particle(*args)
10671 setup_particle = staticmethod(setup_particle)
10673 def get_local_covariance_key():
10674 """get_local_covariance_key() -> ObjectKey"""
10675 return _IMP_core.Gaussian_get_local_covariance_key()
10677 get_local_covariance_key = staticmethod(get_local_covariance_key)
10679 def get_global_covariance_key():
10680 """get_global_covariance_key() -> ObjectKey"""
10681 return _IMP_core.Gaussian_get_global_covariance_key()
10683 get_global_covariance_key = staticmethod(get_global_covariance_key)
10685 def get_is_setup(*args):
10687 get_is_setup(_ParticleAdaptor p) -> bool
10688 get_is_setup(Model m, ParticleIndex pi) -> bool
10690 return _IMP_core.Gaussian_get_is_setup(*args)
10692 get_is_setup = staticmethod(get_is_setup)
10694 def get_local_covariance(self):
10695 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10696 return _IMP_core.Gaussian_get_local_covariance(self)
10699 def get_variances(self):
10700 """get_variances(Gaussian self) -> Vector3D"""
10701 return _IMP_core.Gaussian_get_variances(self)
10704 def get_global_covariance(self):
10705 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10706 return _IMP_core.Gaussian_get_global_covariance(self)
10709 def get_gaussian(self):
10710 """get_gaussian(Gaussian self) -> Gaussian3D"""
10711 return _IMP_core.Gaussian_get_gaussian(self)
10714 def set_gaussian(self, g):
10715 """set_gaussian(Gaussian self, Gaussian3D g)"""
10716 return _IMP_core.Gaussian_set_gaussian(self, g)
10719 def set_local_covariance(self, covar):
10720 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10721 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10724 def set_variances(self, v):
10725 """set_variances(Gaussian self, Vector3D v)"""
10726 return _IMP_core.Gaussian_set_variances(self, v)
10729 def set_global_covariance(self, covar):
10730 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10731 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10734 def update_global_covariance(self):
10735 """update_global_covariance(Gaussian self)"""
10736 return _IMP_core.Gaussian_update_global_covariance(self)
10739 def add_attribute(self, *args):
10741 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10742 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10743 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10744 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10745 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10746 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10748 return _IMP_core.Gaussian_add_attribute(self, *args)
10751 def get_value(self, *args):
10753 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10754 get_value(Gaussian self, IntKey a0) -> IMP::Int
10755 get_value(Gaussian self, StringKey a0) -> IMP::String
10756 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10757 get_value(Gaussian self, ObjectKey a0) -> Object
10759 return _IMP_core.Gaussian_get_value(self, *args)
10762 def set_value(self, *args):
10764 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10765 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10766 set_value(Gaussian self, StringKey a0, IMP::String a1)
10767 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10768 set_value(Gaussian self, ObjectKey a0, Object a1)
10770 return _IMP_core.Gaussian_set_value(self, *args)
10773 def remove_attribute(self, *args):
10775 remove_attribute(Gaussian self, FloatKey a0)
10776 remove_attribute(Gaussian self, IntKey a0)
10777 remove_attribute(Gaussian self, StringKey a0)
10778 remove_attribute(Gaussian self, ParticleIndexKey a0)
10779 remove_attribute(Gaussian self, ObjectKey a0)
10781 return _IMP_core.Gaussian_remove_attribute(self, *args)
10784 def has_attribute(self, *args):
10786 has_attribute(Gaussian self, FloatKey a0) -> bool
10787 has_attribute(Gaussian self, IntKey a0) -> bool
10788 has_attribute(Gaussian self, StringKey a0) -> bool
10789 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10790 has_attribute(Gaussian self, ObjectKey a0) -> bool
10792 return _IMP_core.Gaussian_has_attribute(self, *args)
10795 def get_derivative(self, a0):
10796 """get_derivative(Gaussian self, FloatKey a0) -> double"""
10797 return _IMP_core.Gaussian_get_derivative(self, a0)
10800 def get_name(self):
10801 """get_name(Gaussian self) -> std::string"""
10802 return _IMP_core.Gaussian_get_name(self)
10805 def clear_caches(self):
10806 """clear_caches(Gaussian self)"""
10807 return _IMP_core.Gaussian_clear_caches(self)
10810 def set_name(self, a0):
10811 """set_name(Gaussian self, std::string a0)"""
10812 return _IMP_core.Gaussian_set_name(self, a0)
10816 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10817 return _IMP_core.Gaussian_set_check_level(self, a0)
10820 def add_to_derivative(self, a0, a1, a2):
10821 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10822 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10825 def set_is_optimized(self, a0, a1):
10826 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10827 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10830 def get_is_optimized(self, a0):
10831 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10832 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10836 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
10837 return _IMP_core.Gaussian_get_check_level(self)
10840 def __eq__(self, *args):
10842 __eq__(Gaussian self, Gaussian o) -> bool
10843 __eq__(Gaussian self, Particle d) -> bool
10845 return _IMP_core.Gaussian___eq__(self, *args)
10848 def __ne__(self, *args):
10850 __ne__(Gaussian self, Gaussian o) -> bool
10851 __ne__(Gaussian self, Particle d) -> bool
10853 return _IMP_core.Gaussian___ne__(self, *args)
10856 def __le__(self, *args):
10858 __le__(Gaussian self, Gaussian o) -> bool
10859 __le__(Gaussian self, Particle d) -> bool
10861 return _IMP_core.Gaussian___le__(self, *args)
10864 def __lt__(self, *args):
10866 __lt__(Gaussian self, Gaussian o) -> bool
10867 __lt__(Gaussian self, Particle d) -> bool
10869 return _IMP_core.Gaussian___lt__(self, *args)
10872 def __ge__(self, *args):
10874 __ge__(Gaussian self, Gaussian o) -> bool
10875 __ge__(Gaussian self, Particle d) -> bool
10877 return _IMP_core.Gaussian___ge__(self, *args)
10880 def __gt__(self, *args):
10882 __gt__(Gaussian self, Gaussian o) -> bool
10883 __gt__(Gaussian self, Particle d) -> bool
10885 return _IMP_core.Gaussian___gt__(self, *args)
10888 def __hash__(self):
10889 """__hash__(Gaussian self) -> std::size_t"""
10890 return _IMP_core.Gaussian___hash__(self)
10894 """__str__(Gaussian self) -> std::string"""
10895 return _IMP_core.Gaussian___str__(self)
10898 def __repr__(self):
10899 """__repr__(Gaussian self) -> std::string"""
10900 return _IMP_core.Gaussian___repr__(self)
10902 __swig_destroy__ = _IMP_core.delete_Gaussian
10903 __del__ =
lambda self:
None
10904 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
10905 Gaussian_swigregister(Gaussian)
10907 def Gaussian_setup_particle(*args):
10909 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10910 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10911 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10912 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10914 return _IMP_core.Gaussian_setup_particle(*args)
10916 def Gaussian_get_local_covariance_key():
10917 """Gaussian_get_local_covariance_key() -> ObjectKey"""
10918 return _IMP_core.Gaussian_get_local_covariance_key()
10920 def Gaussian_get_global_covariance_key():
10921 """Gaussian_get_global_covariance_key() -> ObjectKey"""
10922 return _IMP_core.Gaussian_get_global_covariance_key()
10924 def Gaussian_get_is_setup(*args):
10926 get_is_setup(_ParticleAdaptor p) -> bool
10927 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
10929 return _IMP_core.Gaussian_get_is_setup(*args)
10932 """Proxy of C++ IMP::core::PairRestraint class."""
10934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10936 def __init__(self, *args):
10938 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
10939 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
10941 this = _IMP_core.new_PairRestraint(*args)
10943 self.this.append(this)
10944 except __builtin__.Exception:
10947 def get_version_info(self):
10948 """get_version_info(PairRestraint self) -> VersionInfo"""
10949 return _IMP_core.PairRestraint_get_version_info(self)
10953 """__str__(PairRestraint self) -> std::string"""
10954 return _IMP_core.PairRestraint___str__(self)
10957 def __repr__(self):
10958 """__repr__(PairRestraint self) -> std::string"""
10959 return _IMP_core.PairRestraint___repr__(self)
10964 return _object_cast_to_PairRestraint(o)
10966 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
10967 PairRestraint_swigregister(PairRestraint)
10970 """Proxy of C++ IMP::core::SingletonRestraint class."""
10972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10974 def __init__(self, *args):
10976 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
10977 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
10979 this = _IMP_core.new_SingletonRestraint(*args)
10981 self.this.append(this)
10982 except __builtin__.Exception:
10985 def get_version_info(self):
10986 """get_version_info(SingletonRestraint self) -> VersionInfo"""
10987 return _IMP_core.SingletonRestraint_get_version_info(self)
10991 """__str__(SingletonRestraint self) -> std::string"""
10992 return _IMP_core.SingletonRestraint___str__(self)
10995 def __repr__(self):
10996 """__repr__(SingletonRestraint self) -> std::string"""
10997 return _IMP_core.SingletonRestraint___repr__(self)
11002 return _object_cast_to_SingletonRestraint(o)
11004 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11005 SingletonRestraint_swigregister(SingletonRestraint)
11008 """Proxy of C++ IMP::core::TripletRestraint class."""
11010 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11012 def __init__(self, *args):
11014 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11015 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11017 this = _IMP_core.new_TripletRestraint(*args)
11019 self.this.append(this)
11020 except __builtin__.Exception:
11023 def get_version_info(self):
11024 """get_version_info(TripletRestraint self) -> VersionInfo"""
11025 return _IMP_core.TripletRestraint_get_version_info(self)
11029 """__str__(TripletRestraint self) -> std::string"""
11030 return _IMP_core.TripletRestraint___str__(self)
11033 def __repr__(self):
11034 """__repr__(TripletRestraint self) -> std::string"""
11035 return _IMP_core.TripletRestraint___repr__(self)
11040 return _object_cast_to_TripletRestraint(o)
11042 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11043 TripletRestraint_swigregister(TripletRestraint)
11046 """Proxy of C++ IMP::core::QuadRestraint class."""
11048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11050 def __init__(self, *args):
11052 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11053 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11055 this = _IMP_core.new_QuadRestraint(*args)
11057 self.this.append(this)
11058 except __builtin__.Exception:
11061 def get_version_info(self):
11062 """get_version_info(QuadRestraint self) -> VersionInfo"""
11063 return _IMP_core.QuadRestraint_get_version_info(self)
11067 """__str__(QuadRestraint self) -> std::string"""
11068 return _IMP_core.QuadRestraint___str__(self)
11071 def __repr__(self):
11072 """__repr__(QuadRestraint self) -> std::string"""
11073 return _IMP_core.QuadRestraint___repr__(self)
11078 return _object_cast_to_QuadRestraint(o)
11080 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11081 QuadRestraint_swigregister(QuadRestraint)
11084 """Proxy of C++ IMP::core::SingletonConstraint class."""
11086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11088 def __init__(self, *args):
11090 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11091 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11092 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11093 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11095 this = _IMP_core.new_SingletonConstraint(*args)
11097 self.this.append(this)
11098 except __builtin__.Exception:
11101 def get_version_info(self):
11102 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11103 return _IMP_core.SingletonConstraint_get_version_info(self)
11107 """__str__(SingletonConstraint self) -> std::string"""
11108 return _IMP_core.SingletonConstraint___str__(self)
11111 def __repr__(self):
11112 """__repr__(SingletonConstraint self) -> std::string"""
11113 return _IMP_core.SingletonConstraint___repr__(self)
11118 return _object_cast_to_SingletonConstraint(o)
11120 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11121 SingletonConstraint_swigregister(SingletonConstraint)
11124 """Proxy of C++ IMP::core::PairConstraint class."""
11126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11128 def __init__(self, *args):
11130 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11131 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11132 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11133 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11135 this = _IMP_core.new_PairConstraint(*args)
11137 self.this.append(this)
11138 except __builtin__.Exception:
11141 def get_version_info(self):
11142 """get_version_info(PairConstraint self) -> VersionInfo"""
11143 return _IMP_core.PairConstraint_get_version_info(self)
11147 """__str__(PairConstraint self) -> std::string"""
11148 return _IMP_core.PairConstraint___str__(self)
11151 def __repr__(self):
11152 """__repr__(PairConstraint self) -> std::string"""
11153 return _IMP_core.PairConstraint___repr__(self)
11158 return _object_cast_to_PairConstraint(o)
11160 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11161 PairConstraint_swigregister(PairConstraint)
11164 """Proxy of C++ IMP::core::TripletConstraint class."""
11166 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11168 def __init__(self, *args):
11170 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11171 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11172 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11173 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11175 this = _IMP_core.new_TripletConstraint(*args)
11177 self.this.append(this)
11178 except __builtin__.Exception:
11181 def get_version_info(self):
11182 """get_version_info(TripletConstraint self) -> VersionInfo"""
11183 return _IMP_core.TripletConstraint_get_version_info(self)
11187 """__str__(TripletConstraint self) -> std::string"""
11188 return _IMP_core.TripletConstraint___str__(self)
11191 def __repr__(self):
11192 """__repr__(TripletConstraint self) -> std::string"""
11193 return _IMP_core.TripletConstraint___repr__(self)
11198 return _object_cast_to_TripletConstraint(o)
11200 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11201 TripletConstraint_swigregister(TripletConstraint)
11204 """Proxy of C++ IMP::core::QuadConstraint class."""
11206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11208 def __init__(self, *args):
11210 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11211 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11212 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11213 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11215 this = _IMP_core.new_QuadConstraint(*args)
11217 self.this.append(this)
11218 except __builtin__.Exception:
11221 def get_version_info(self):
11222 """get_version_info(QuadConstraint self) -> VersionInfo"""
11223 return _IMP_core.QuadConstraint_get_version_info(self)
11227 """__str__(QuadConstraint self) -> std::string"""
11228 return _IMP_core.QuadConstraint___str__(self)
11231 def __repr__(self):
11232 """__repr__(QuadConstraint self) -> std::string"""
11233 return _IMP_core.QuadConstraint___repr__(self)
11238 return _object_cast_to_QuadConstraint(o)
11240 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11241 QuadConstraint_swigregister(QuadConstraint)
11244 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
11246 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11248 def __init__(self, *args):
11250 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11251 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11253 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11255 self.this.append(this)
11256 except __builtin__.Exception:
11259 def do_get_inputs(self, arg2, arg3):
11260 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11261 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11264 def get_value(self, *args):
11266 get_value(ConstantSingletonPredicate self, Particle a) -> int
11267 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11269 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11272 def get_value_index(self, *args):
11274 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11275 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11277 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11280 def get_version_info(self):
11281 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11282 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11286 """__str__(ConstantSingletonPredicate self) -> std::string"""
11287 return _IMP_core.ConstantSingletonPredicate___str__(self)
11290 def __repr__(self):
11291 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11292 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11297 return _object_cast_to_ConstantSingletonPredicate(o)
11299 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11300 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11303 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
11305 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11307 def __init__(self, *args):
11309 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11310 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11312 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11314 self.this.append(this)
11315 except __builtin__.Exception:
11318 def do_get_inputs(self, m, pis):
11319 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11320 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11323 def get_value(self, *args):
11325 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11326 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11328 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11331 def get_value_index(self, *args):
11333 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11334 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11336 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11339 def get_version_info(self):
11340 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11341 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11345 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11346 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11349 def __repr__(self):
11350 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11351 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11356 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11358 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11359 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11362 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
11364 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11366 def __init__(self, *args):
11368 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11369 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11371 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11373 self.this.append(this)
11374 except __builtin__.Exception:
11377 def do_get_inputs(self, m, pis):
11378 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11379 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11382 def get_value(self, *args):
11384 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11385 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11386 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11388 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11391 def get_value_index(self, *args):
11393 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11394 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11396 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11399 def get_version_info(self):
11400 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11401 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11405 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11406 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11409 def __repr__(self):
11410 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11411 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11416 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11418 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11419 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11422 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
11424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11426 def __init__(self, *args):
11428 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11429 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11431 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11433 self.this.append(this)
11434 except __builtin__.Exception:
11437 def do_get_inputs(self, arg2, arg3):
11438 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11439 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11442 def get_value(self, *args):
11444 get_value(AllSameSingletonPredicate self, Particle a) -> int
11445 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11447 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11450 def get_value_index(self, *args):
11452 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11453 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11455 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11458 def get_version_info(self):
11459 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11460 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11464 """__str__(AllSameSingletonPredicate self) -> std::string"""
11465 return _IMP_core.AllSameSingletonPredicate___str__(self)
11468 def __repr__(self):
11469 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11470 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11475 return _object_cast_to_AllSameSingletonPredicate(o)
11477 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11478 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11481 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
11483 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11485 def __init__(self, *args):
11487 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11488 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11490 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11492 self.this.append(this)
11493 except __builtin__.Exception:
11496 def do_get_inputs(self, arg2, arg3):
11497 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11498 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11501 def get_value(self, *args):
11503 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11504 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11506 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11509 def get_value_index(self, *args):
11511 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11512 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11514 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11517 def get_version_info(self):
11518 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11519 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11523 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11524 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11527 def __repr__(self):
11528 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11529 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11534 return _object_cast_to_CoinFlipSingletonPredicate(o)
11536 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11537 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11540 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
11542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11544 def __init__(self, *args):
11546 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11547 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11549 this = _IMP_core.new_ConstantPairPredicate(*args)
11551 self.this.append(this)
11552 except __builtin__.Exception:
11555 def do_get_inputs(self, arg2, arg3):
11556 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11557 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11560 def get_value(self, *args):
11562 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11563 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11565 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11568 def get_value_index(self, *args):
11570 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11571 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11573 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11576 def get_version_info(self):
11577 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11578 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11582 """__str__(ConstantPairPredicate self) -> std::string"""
11583 return _IMP_core.ConstantPairPredicate___str__(self)
11586 def __repr__(self):
11587 """__repr__(ConstantPairPredicate self) -> std::string"""
11588 return _IMP_core.ConstantPairPredicate___repr__(self)
11593 return _object_cast_to_ConstantPairPredicate(o)
11595 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11596 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11599 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11601 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11603 def __init__(self, *args):
11605 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11606 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11608 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11610 self.this.append(this)
11611 except __builtin__.Exception:
11614 def do_get_inputs(self, m, pis):
11615 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11616 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11619 def get_value(self, *args):
11621 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11622 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11624 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11627 def get_value_index(self, *args):
11629 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11630 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11632 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11635 def get_version_info(self):
11636 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11637 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11641 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11642 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11645 def __repr__(self):
11646 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11647 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11652 return _object_cast_to_UnorderedTypePairPredicate(o)
11654 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11655 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11658 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11660 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11662 def __init__(self, *args):
11664 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11665 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11667 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11669 self.this.append(this)
11670 except __builtin__.Exception:
11673 def do_get_inputs(self, m, pis):
11674 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11675 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11678 def get_value(self, *args):
11680 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11681 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11682 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11684 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11687 def get_value_index(self, *args):
11689 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11690 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11692 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11695 def get_version_info(self):
11696 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11697 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11701 """__str__(OrderedTypePairPredicate self) -> std::string"""
11702 return _IMP_core.OrderedTypePairPredicate___str__(self)
11705 def __repr__(self):
11706 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11707 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11712 return _object_cast_to_OrderedTypePairPredicate(o)
11714 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11715 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11718 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
11720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11722 def __init__(self, *args):
11724 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11725 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11727 this = _IMP_core.new_AllSamePairPredicate(*args)
11729 self.this.append(this)
11730 except __builtin__.Exception:
11733 def do_get_inputs(self, arg2, arg3):
11734 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11735 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11738 def get_value(self, *args):
11740 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11741 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11743 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11746 def get_value_index(self, *args):
11748 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11749 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11751 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11754 def get_version_info(self):
11755 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11756 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11760 """__str__(AllSamePairPredicate self) -> std::string"""
11761 return _IMP_core.AllSamePairPredicate___str__(self)
11764 def __repr__(self):
11765 """__repr__(AllSamePairPredicate self) -> std::string"""
11766 return _IMP_core.AllSamePairPredicate___repr__(self)
11771 return _object_cast_to_AllSamePairPredicate(o)
11773 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11774 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11777 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11779 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11781 def __init__(self, *args):
11783 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
11784 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
11786 this = _IMP_core.new_CoinFlipPairPredicate(*args)
11788 self.this.append(this)
11789 except __builtin__.Exception:
11792 def do_get_inputs(self, arg2, arg3):
11793 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11794 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11797 def get_value(self, *args):
11799 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11800 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11802 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11805 def get_value_index(self, *args):
11807 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11808 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11810 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11813 def get_version_info(self):
11814 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11815 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11819 """__str__(CoinFlipPairPredicate self) -> std::string"""
11820 return _IMP_core.CoinFlipPairPredicate___str__(self)
11823 def __repr__(self):
11824 """__repr__(CoinFlipPairPredicate self) -> std::string"""
11825 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11830 return _object_cast_to_CoinFlipPairPredicate(o)
11832 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
11833 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11836 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11838 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11840 def __init__(self, *args):
11842 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
11843 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
11845 this = _IMP_core.new_ConstantTripletPredicate(*args)
11847 self.this.append(this)
11848 except __builtin__.Exception:
11851 def do_get_inputs(self, arg2, arg3):
11852 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11853 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11856 def get_value(self, *args):
11858 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11859 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11861 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11864 def get_value_index(self, *args):
11866 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11867 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11869 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11872 def get_version_info(self):
11873 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11874 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11878 """__str__(ConstantTripletPredicate self) -> std::string"""
11879 return _IMP_core.ConstantTripletPredicate___str__(self)
11882 def __repr__(self):
11883 """__repr__(ConstantTripletPredicate self) -> std::string"""
11884 return _IMP_core.ConstantTripletPredicate___repr__(self)
11889 return _object_cast_to_ConstantTripletPredicate(o)
11891 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
11892 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11895 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11897 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11899 def __init__(self, *args):
11901 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
11902 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
11904 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
11906 self.this.append(this)
11907 except __builtin__.Exception:
11910 def do_get_inputs(self, m, pis):
11911 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11912 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11915 def get_value(self, *args):
11917 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11918 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11920 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
11923 def get_value_index(self, *args):
11925 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11926 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11928 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
11931 def get_version_info(self):
11932 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
11933 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
11937 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
11938 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
11941 def __repr__(self):
11942 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
11943 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
11948 return _object_cast_to_UnorderedTypeTripletPredicate(o)
11950 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
11951 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
11954 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
11956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11958 def __init__(self, *args):
11960 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
11961 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
11963 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
11965 self.this.append(this)
11966 except __builtin__.Exception:
11969 def do_get_inputs(self, m, pis):
11970 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11971 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11974 def get_value(self, *args):
11976 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
11977 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11978 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11980 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
11983 def get_value_index(self, *args):
11985 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11986 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11988 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
11991 def get_version_info(self):
11992 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
11993 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
11997 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
11998 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12001 def __repr__(self):
12002 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12003 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12008 return _object_cast_to_OrderedTypeTripletPredicate(o)
12010 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12011 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12014 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
12016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12018 def __init__(self, *args):
12020 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12021 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12023 this = _IMP_core.new_AllSameTripletPredicate(*args)
12025 self.this.append(this)
12026 except __builtin__.Exception:
12029 def do_get_inputs(self, arg2, arg3):
12030 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12031 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12034 def get_value(self, *args):
12036 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12037 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12039 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12042 def get_value_index(self, *args):
12044 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12045 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12047 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12050 def get_version_info(self):
12051 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12052 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12056 """__str__(AllSameTripletPredicate self) -> std::string"""
12057 return _IMP_core.AllSameTripletPredicate___str__(self)
12060 def __repr__(self):
12061 """__repr__(AllSameTripletPredicate self) -> std::string"""
12062 return _IMP_core.AllSameTripletPredicate___repr__(self)
12067 return _object_cast_to_AllSameTripletPredicate(o)
12069 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12070 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12073 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
12075 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12077 def __init__(self, *args):
12079 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12080 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12082 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12084 self.this.append(this)
12085 except __builtin__.Exception:
12088 def do_get_inputs(self, arg2, arg3):
12089 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12090 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12093 def get_value(self, *args):
12095 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12096 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12098 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12101 def get_value_index(self, *args):
12103 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12104 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12106 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12109 def get_version_info(self):
12110 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12111 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12115 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12116 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12119 def __repr__(self):
12120 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12121 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12126 return _object_cast_to_CoinFlipTripletPredicate(o)
12128 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12129 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12132 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
12134 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12136 def __init__(self, *args):
12138 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12139 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12141 this = _IMP_core.new_ConstantQuadPredicate(*args)
12143 self.this.append(this)
12144 except __builtin__.Exception:
12147 def do_get_inputs(self, arg2, arg3):
12148 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12149 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12152 def get_value(self, *args):
12154 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12155 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12157 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12160 def get_value_index(self, *args):
12162 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12163 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12165 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12168 def get_version_info(self):
12169 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12170 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12174 """__str__(ConstantQuadPredicate self) -> std::string"""
12175 return _IMP_core.ConstantQuadPredicate___str__(self)
12178 def __repr__(self):
12179 """__repr__(ConstantQuadPredicate self) -> std::string"""
12180 return _IMP_core.ConstantQuadPredicate___repr__(self)
12185 return _object_cast_to_ConstantQuadPredicate(o)
12187 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12188 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12191 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
12193 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12195 def __init__(self, *args):
12197 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12198 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12200 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12202 self.this.append(this)
12203 except __builtin__.Exception:
12206 def do_get_inputs(self, m, pis):
12207 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12208 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12211 def get_value(self, *args):
12213 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12214 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12216 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12219 def get_value_index(self, *args):
12221 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12222 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12224 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12227 def get_version_info(self):
12228 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12229 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12233 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12234 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12237 def __repr__(self):
12238 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12239 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12244 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12246 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12247 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12250 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
12252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12254 def __init__(self, *args):
12256 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12257 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12259 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12261 self.this.append(this)
12262 except __builtin__.Exception:
12265 def do_get_inputs(self, m, pis):
12266 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12267 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12270 def get_value(self, *args):
12272 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12273 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12274 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12276 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12279 def get_value_index(self, *args):
12281 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12282 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12284 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12287 def get_version_info(self):
12288 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12289 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12293 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12294 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12297 def __repr__(self):
12298 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12299 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12304 return _object_cast_to_OrderedTypeQuadPredicate(o)
12306 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12307 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12310 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
12312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12314 def __init__(self, *args):
12316 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12317 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12319 this = _IMP_core.new_AllSameQuadPredicate(*args)
12321 self.this.append(this)
12322 except __builtin__.Exception:
12325 def do_get_inputs(self, arg2, arg3):
12326 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12327 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12330 def get_value(self, *args):
12332 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12333 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12335 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12338 def get_value_index(self, *args):
12340 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12341 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12343 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12346 def get_version_info(self):
12347 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12348 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12352 """__str__(AllSameQuadPredicate self) -> std::string"""
12353 return _IMP_core.AllSameQuadPredicate___str__(self)
12356 def __repr__(self):
12357 """__repr__(AllSameQuadPredicate self) -> std::string"""
12358 return _IMP_core.AllSameQuadPredicate___repr__(self)
12363 return _object_cast_to_AllSameQuadPredicate(o)
12365 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12366 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12369 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
12371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12373 def __init__(self, *args):
12375 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12376 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12378 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12380 self.this.append(this)
12381 except __builtin__.Exception:
12384 def do_get_inputs(self, arg2, arg3):
12385 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12386 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12389 def get_value(self, *args):
12391 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12392 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12394 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12397 def get_value_index(self, *args):
12399 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12400 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12402 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12405 def get_version_info(self):
12406 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12407 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12411 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12412 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12415 def __repr__(self):
12416 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12417 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12422 return _object_cast_to_CoinFlipQuadPredicate(o)
12424 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12425 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12428 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
12430 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12432 def __init__(self, *args):
12434 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12435 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12437 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12439 self.this.append(this)
12440 except __builtin__.Exception:
12443 def do_get_inputs(self, m, pi):
12444 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12445 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12448 def get_value(self, *args):
12450 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12451 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12453 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12456 def get_value_index(self, *args):
12458 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12459 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12461 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12464 def get_version_info(self):
12465 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12466 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12470 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12471 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12474 def __repr__(self):
12475 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12476 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12481 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12483 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12484 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12487 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12491 def __init__(self, *args):
12493 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12494 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12496 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12498 self.this.append(this)
12499 except __builtin__.Exception:
12502 def do_get_inputs(self, m, pi):
12503 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12504 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12507 def get_value(self, *args):
12509 get_value(AttributeSingletonPredicate self, Particle a) -> int
12510 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12512 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12515 def get_value_index(self, *args):
12517 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12518 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12520 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12523 def get_version_info(self):
12524 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12525 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12529 """__str__(AttributeSingletonPredicate self) -> std::string"""
12530 return _IMP_core.AttributeSingletonPredicate___str__(self)
12533 def __repr__(self):
12534 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12535 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12540 return _object_cast_to_AttributeSingletonPredicate(o)
12542 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12543 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12546 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12550 def __init__(self, *args):
12552 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12553 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12555 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12557 self.this.append(this)
12558 except __builtin__.Exception:
12561 def do_get_inputs(self, m, pi):
12562 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12563 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12566 def get_value(self, *args):
12568 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12569 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12571 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12574 def get_value_index(self, *args):
12576 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12577 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12579 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12582 def get_version_info(self):
12583 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12584 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12588 """__str__(IsCollisionPairPredicate self) -> std::string"""
12589 return _IMP_core.IsCollisionPairPredicate___str__(self)
12592 def __repr__(self):
12593 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12594 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12599 return _object_cast_to_IsCollisionPairPredicate(o)
12601 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12602 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12604 class AngleRestraint(TripletRestraint):
12605 """Proxy of C++ IMP::core::AngleRestraint class."""
12607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12609 def __init__(self, m, score_func, p1, p2, p3):
12610 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12611 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12613 self.this.append(this)
12614 except __builtin__.Exception:
12618 """__str__(AngleRestraint self) -> std::string"""
12619 return _IMP_core.AngleRestraint___str__(self)
12622 def __repr__(self):
12623 """__repr__(AngleRestraint self) -> std::string"""
12624 return _IMP_core.AngleRestraint___repr__(self)
12629 return _object_cast_to_AngleRestraint(o)
12631 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12632 AngleRestraint_swigregister(AngleRestraint)
12634 class RigidBodyMover(MonteCarloMover):
12635 """Proxy of C++ IMP::core::RigidBodyMover class."""
12637 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12639 def __init__(self, m, pi, max_translation, max_rotation):
12640 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12641 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12643 self.this.append(this)
12644 except __builtin__.Exception:
12647 def set_maximum_translation(self, mt):
12648 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12649 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12652 def set_maximum_rotation(self, mr):
12653 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12654 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12657 def get_maximum_translation(self):
12658 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12659 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12662 def get_maximum_rotation(self):
12663 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12664 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12667 def get_version_info(self):
12668 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12669 return _IMP_core.RigidBodyMover_get_version_info(self)
12673 """__str__(RigidBodyMover self) -> std::string"""
12674 return _IMP_core.RigidBodyMover___str__(self)
12677 def __repr__(self):
12678 """__repr__(RigidBodyMover self) -> std::string"""
12679 return _IMP_core.RigidBodyMover___repr__(self)
12684 return _object_cast_to_RigidBodyMover(o)
12686 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12687 RigidBodyMover_swigregister(RigidBodyMover)
12689 class RigidBodyTunneler(MonteCarloMover):
12690 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
12692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12694 def __init__(self, m, pis, ref, k, move_probability=1.):
12696 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12697 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12699 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12701 self.this.append(this)
12702 except __builtin__.Exception:
12705 def add_entry_point(self, fl):
12706 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12707 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12710 def reset_stats(self):
12711 """reset_stats(RigidBodyTunneler self)"""
12712 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12715 def get_number_of_rejected_moves(self):
12716 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12717 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12720 def get_number_of_proposed_moves(self):
12721 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12722 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12725 def get_number_of_impossible_moves(self):
12726 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12727 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12730 def get_number_of_calls(self):
12731 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12732 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12735 def get_reduced_coordinates(*args):
12737 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12738 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12740 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12742 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12744 def set_reduced_coordinates(m, target, ref, coords):
12745 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12746 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12748 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12750 def get_version_info(self):
12751 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12752 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12756 """__str__(RigidBodyTunneler self) -> std::string"""
12757 return _IMP_core.RigidBodyTunneler___str__(self)
12760 def __repr__(self):
12761 """__repr__(RigidBodyTunneler self) -> std::string"""
12762 return _IMP_core.RigidBodyTunneler___repr__(self)
12767 return _object_cast_to_RigidBodyTunneler(o)
12769 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12770 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12772 def RigidBodyTunneler_get_reduced_coordinates(*args):
12774 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12775 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12777 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12779 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12780 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12781 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12784 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12786 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12788 def __init__(self, *args):
12790 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12791 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12792 __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
12793 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12795 this = _IMP_core.new_RigidBodyUmbrella(*args)
12797 self.this.append(this)
12798 except __builtin__.Exception:
12801 def set_x0(self, *args):
12803 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12804 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
12806 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12810 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12811 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12815 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12816 return _IMP_core.RigidBodyUmbrella_get_x(self)
12819 def set_alpha(self, alpha):
12820 """set_alpha(RigidBodyUmbrella self, double alpha)"""
12821 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12824 def set_k(self, k):
12825 """set_k(RigidBodyUmbrella self, double k)"""
12826 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12829 def get_version_info(self):
12830 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12831 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12835 """__str__(RigidBodyUmbrella self) -> std::string"""
12836 return _IMP_core.RigidBodyUmbrella___str__(self)
12839 def __repr__(self):
12840 """__repr__(RigidBodyUmbrella self) -> std::string"""
12841 return _IMP_core.RigidBodyUmbrella___repr__(self)
12846 return _object_cast_to_RigidBodyUmbrella(o)
12848 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
12849 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12852 """Proxy of C++ IMP::core::VolumeRestraint class."""
12854 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12856 def __init__(self, f, sc, volume):
12857 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12858 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
12860 self.this.append(this)
12861 except __builtin__.Exception:
12864 def do_get_inputs(self):
12865 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12866 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12869 def get_version_info(self):
12870 """get_version_info(VolumeRestraint self) -> VersionInfo"""
12871 return _IMP_core.VolumeRestraint_get_version_info(self)
12875 """__str__(VolumeRestraint self) -> std::string"""
12876 return _IMP_core.VolumeRestraint___str__(self)
12879 def __repr__(self):
12880 """__repr__(VolumeRestraint self) -> std::string"""
12881 return _IMP_core.VolumeRestraint___repr__(self)
12886 return _object_cast_to_VolumeRestraint(o)
12888 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
12889 VolumeRestraint_swigregister(VolumeRestraint)
12893 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12894 return _IMP_core.get_centroid(ps)
12897 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12898 return _IMP_core.get_bounding_box(ps)
12900 """Proxy of C++ IMP::core::MoveStatisticsScoreState 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, ps):
12905 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12906 this = _IMP_core.new_MoveStatisticsScoreState(ps)
12908 self.this.append(this)
12909 except __builtin__.Exception:
12912 def show_statistics(self, *args):
12914 show_statistics(MoveStatisticsScoreState self, _ostream out)
12915 show_statistics(MoveStatisticsScoreState self)
12917 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
12921 """reset(MoveStatisticsScoreState self)"""
12922 return _IMP_core.MoveStatisticsScoreState_reset(self)
12925 def do_before_evaluate(self):
12926 """do_before_evaluate(MoveStatisticsScoreState self)"""
12927 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
12930 def do_after_evaluate(self, da):
12931 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
12932 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
12935 def do_get_inputs(self):
12936 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12937 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
12940 def do_get_outputs(self):
12941 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12942 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
12945 def get_version_info(self):
12946 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
12947 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
12951 """__str__(MoveStatisticsScoreState self) -> std::string"""
12952 return _IMP_core.MoveStatisticsScoreState___str__(self)
12955 def __repr__(self):
12956 """__repr__(MoveStatisticsScoreState self) -> std::string"""
12957 return _IMP_core.MoveStatisticsScoreState___repr__(self)
12962 return _object_cast_to_MoveStatisticsScoreState(o)
12964 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
12965 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
12967 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
12969 """Proxy of C++ IMP::core::Typed class."""
12971 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12973 def get_type_key():
12974 """get_type_key() -> IntKey"""
12975 return _IMP_core.Typed_get_type_key()
12977 get_type_key = staticmethod(get_type_key)
12979 def __init__(self, *args):
12981 __init__(IMP::core::Typed self) -> Typed
12982 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
12983 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
12985 this = _IMP_core.new_Typed(*args)
12987 self.this.append(this)
12988 except __builtin__.Exception:
12991 def show(self, *args):
12993 show(Typed self, _ostream out)
12996 return _IMP_core.Typed_show(self, *args)
12999 def setup_particle(*args):
13001 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13002 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13004 return _IMP_core.Typed_setup_particle(*args)
13006 setup_particle = staticmethod(setup_particle)
13008 def get_is_setup(*args):
13010 get_is_setup(_ParticleAdaptor p) -> bool
13011 get_is_setup(Model m, ParticleIndex pi) -> bool
13013 return _IMP_core.Typed_get_is_setup(*args)
13015 get_is_setup = staticmethod(get_is_setup)
13017 def get_type(self):
13018 """get_type(Typed self) -> ParticleType"""
13019 return _IMP_core.Typed_get_type(self)
13022 def set_type(self, pt):
13023 """set_type(Typed self, ParticleType pt)"""
13024 return _IMP_core.Typed_set_type(self, pt)
13027 def add_attribute(self, *args):
13029 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13030 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13031 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13032 add_attribute(Typed self, StringKey a0, IMP::String a1)
13033 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13034 add_attribute(Typed self, ObjectKey a0, Object a1)
13036 return _IMP_core.Typed_add_attribute(self, *args)
13039 def get_value(self, *args):
13041 get_value(Typed self, FloatKey a0) -> IMP::Float
13042 get_value(Typed self, IntKey a0) -> IMP::Int
13043 get_value(Typed self, StringKey a0) -> IMP::String
13044 get_value(Typed self, ParticleIndexKey a0) -> Particle
13045 get_value(Typed self, ObjectKey a0) -> Object
13047 return _IMP_core.Typed_get_value(self, *args)
13050 def set_value(self, *args):
13052 set_value(Typed self, FloatKey a0, IMP::Float a1)
13053 set_value(Typed self, IntKey a0, IMP::Int a1)
13054 set_value(Typed self, StringKey a0, IMP::String a1)
13055 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13056 set_value(Typed self, ObjectKey a0, Object a1)
13058 return _IMP_core.Typed_set_value(self, *args)
13061 def remove_attribute(self, *args):
13063 remove_attribute(Typed self, FloatKey a0)
13064 remove_attribute(Typed self, IntKey a0)
13065 remove_attribute(Typed self, StringKey a0)
13066 remove_attribute(Typed self, ParticleIndexKey a0)
13067 remove_attribute(Typed self, ObjectKey a0)
13069 return _IMP_core.Typed_remove_attribute(self, *args)
13072 def has_attribute(self, *args):
13074 has_attribute(Typed self, FloatKey a0) -> bool
13075 has_attribute(Typed self, IntKey a0) -> bool
13076 has_attribute(Typed self, StringKey a0) -> bool
13077 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13078 has_attribute(Typed self, ObjectKey a0) -> bool
13080 return _IMP_core.Typed_has_attribute(self, *args)
13083 def get_derivative(self, a0):
13084 """get_derivative(Typed self, FloatKey a0) -> double"""
13085 return _IMP_core.Typed_get_derivative(self, a0)
13088 def get_name(self):
13089 """get_name(Typed self) -> std::string"""
13090 return _IMP_core.Typed_get_name(self)
13093 def clear_caches(self):
13094 """clear_caches(Typed self)"""
13095 return _IMP_core.Typed_clear_caches(self)
13098 def set_name(self, a0):
13099 """set_name(Typed self, std::string a0)"""
13100 return _IMP_core.Typed_set_name(self, a0)
13104 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13105 return _IMP_core.Typed_set_check_level(self, a0)
13108 def add_to_derivative(self, a0, a1, a2):
13109 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13110 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13113 def set_is_optimized(self, a0, a1):
13114 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13115 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13118 def get_is_optimized(self, a0):
13119 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13120 return _IMP_core.Typed_get_is_optimized(self, a0)
13124 """get_check_level(Typed self) -> IMP::CheckLevel"""
13125 return _IMP_core.Typed_get_check_level(self)
13128 def __eq__(self, *args):
13130 __eq__(Typed self, Typed o) -> bool
13131 __eq__(Typed self, Particle d) -> bool
13133 return _IMP_core.Typed___eq__(self, *args)
13136 def __ne__(self, *args):
13138 __ne__(Typed self, Typed o) -> bool
13139 __ne__(Typed self, Particle d) -> bool
13141 return _IMP_core.Typed___ne__(self, *args)
13144 def __le__(self, *args):
13146 __le__(Typed self, Typed o) -> bool
13147 __le__(Typed self, Particle d) -> bool
13149 return _IMP_core.Typed___le__(self, *args)
13152 def __lt__(self, *args):
13154 __lt__(Typed self, Typed o) -> bool
13155 __lt__(Typed self, Particle d) -> bool
13157 return _IMP_core.Typed___lt__(self, *args)
13160 def __ge__(self, *args):
13162 __ge__(Typed self, Typed o) -> bool
13163 __ge__(Typed self, Particle d) -> bool
13165 return _IMP_core.Typed___ge__(self, *args)
13168 def __gt__(self, *args):
13170 __gt__(Typed self, Typed o) -> bool
13171 __gt__(Typed self, Particle d) -> bool
13173 return _IMP_core.Typed___gt__(self, *args)
13176 def __hash__(self):
13177 """__hash__(Typed self) -> std::size_t"""
13178 return _IMP_core.Typed___hash__(self)
13182 """__str__(Typed self) -> std::string"""
13183 return _IMP_core.Typed___str__(self)
13186 def __repr__(self):
13187 """__repr__(Typed self) -> std::string"""
13188 return _IMP_core.Typed___repr__(self)
13190 __swig_destroy__ = _IMP_core.delete_Typed
13191 __del__ =
lambda self:
None
13192 Typed_swigregister = _IMP_core.Typed_swigregister
13193 Typed_swigregister(Typed)
13195 def Typed_get_type_key():
13196 """Typed_get_type_key() -> IntKey"""
13197 return _IMP_core.Typed_get_type_key()
13199 def Typed_setup_particle(*args):
13201 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13202 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13204 return _IMP_core.Typed_setup_particle(*args)
13206 def Typed_get_is_setup(*args):
13208 get_is_setup(_ParticleAdaptor p) -> bool
13209 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13211 return _IMP_core.Typed_get_is_setup(*args)
13214 def __lshift__(*args):
13216 __lshift__(_ostream out, XYZ n) -> _ostream
13217 __lshift__(_ostream out, XYZR n) -> _ostream
13218 __lshift__(_ostream out, Direction n) -> _ostream
13219 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13220 __lshift__(_ostream out, Surface n) -> _ostream
13221 __lshift__(_ostream out, Centroid n) -> _ostream
13222 __lshift__(_ostream out, Cover n) -> _ostream
13223 __lshift__(_ostream out, Reference n) -> _ostream
13224 __lshift__(_ostream out, RigidMember n) -> _ostream
13225 __lshift__(_ostream out, RigidBody n) -> _ostream
13226 __lshift__(_ostream out, Gaussian n) -> _ostream
13227 __lshift__(_ostream out, Typed n) -> _ostream
13229 return _IMP_core.__lshift__(*args)
13231 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
13233 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13235 def __init__(self, rs, out):
13236 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13237 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13239 self.this.append(this)
13240 except __builtin__.Exception:
13243 def get_version_info(self):
13244 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13245 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13249 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13250 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13253 def __repr__(self):
13254 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13255 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13260 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13262 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13263 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13267 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13268 return _IMP_core.assign_blame(rs, ps, attribute)
13272 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13273 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13274 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13276 return _IMP_core.create_blame_geometries(*args)
13278 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
13280 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13282 def __init__(self, m, q1, q2):
13283 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13284 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13286 self.this.append(this)
13287 except __builtin__.Exception:
13290 def add_term(self, term):
13291 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13292 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13295 def do_get_inputs(self):
13296 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13297 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13300 def get_version_info(self):
13301 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13302 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13306 """__str__(MultipleBinormalRestraint self) -> std::string"""
13307 return _IMP_core.MultipleBinormalRestraint___str__(self)
13310 def __repr__(self):
13311 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13312 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13317 return _object_cast_to_MultipleBinormalRestraint(o)
13319 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13320 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13322 class BinormalTerm(object):
13323 """Proxy of C++ IMP::core::BinormalTerm class."""
13325 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13327 def __init__(self):
13328 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13329 this = _IMP_core.new_BinormalTerm()
13331 self.this.append(this)
13332 except __builtin__.Exception:
13335 def set_correlation(self, correlation):
13336 """set_correlation(BinormalTerm self, double correlation)"""
13337 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13340 def set_weight(self, weight):
13341 """set_weight(BinormalTerm self, double weight)"""
13342 return _IMP_core.BinormalTerm_set_weight(self, weight)
13345 def set_means(self, means):
13346 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13347 return _IMP_core.BinormalTerm_set_means(self, means)
13350 def set_standard_deviations(self, stdevs):
13351 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13352 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13355 def show(self, *args):
13357 show(BinormalTerm self, _ostream out)
13358 show(BinormalTerm self)
13360 return _IMP_core.BinormalTerm_show(self, *args)
13364 """__str__(BinormalTerm self) -> std::string"""
13365 return _IMP_core.BinormalTerm___str__(self)
13368 def __repr__(self):
13369 """__repr__(BinormalTerm self) -> std::string"""
13370 return _IMP_core.BinormalTerm___repr__(self)
13372 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13373 __del__ =
lambda self:
None
13374 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13375 BinormalTerm_swigregister(BinormalTerm)
13378 """Proxy of C++ IMP::core::Provenance class."""
13380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13382 def get_previous(self):
13383 """get_previous(Provenance self) -> Provenance"""
13384 return _IMP_core.Provenance_get_previous(self)
13387 def set_previous(self, p):
13388 """set_previous(Provenance self, Provenance p)"""
13389 return _IMP_core.Provenance_set_previous(self, p)
13392 def __init__(self, *args):
13394 __init__(IMP::core::Provenance self) -> Provenance
13395 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13396 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13398 this = _IMP_core.new_Provenance(*args)
13400 self.this.append(this)
13401 except __builtin__.Exception:
13404 def get_is_setup(*args):
13406 get_is_setup(Model m, ParticleIndex pi) -> bool
13407 get_is_setup(_ParticleAdaptor p) -> bool
13409 return _IMP_core.Provenance_get_is_setup(*args)
13411 get_is_setup = staticmethod(get_is_setup)
13413 def show(self, *args):
13415 show(Provenance self, _ostream out)
13416 show(Provenance self)
13418 return _IMP_core.Provenance_show(self, *args)
13421 def setup_particle(*args):
13423 setup_particle(Model m, ParticleIndex pi) -> Provenance
13424 setup_particle(_ParticleAdaptor decorator) -> Provenance
13426 return _IMP_core.Provenance_setup_particle(*args)
13428 setup_particle = staticmethod(setup_particle)
13430 def add_attribute(self, *args):
13432 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13433 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13434 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13435 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13436 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13437 add_attribute(Provenance self, ObjectKey a0, Object a1)
13439 return _IMP_core.Provenance_add_attribute(self, *args)
13442 def get_value(self, *args):
13444 get_value(Provenance self, FloatKey a0) -> IMP::Float
13445 get_value(Provenance self, IntKey a0) -> IMP::Int
13446 get_value(Provenance self, StringKey a0) -> IMP::String
13447 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13448 get_value(Provenance self, ObjectKey a0) -> Object
13450 return _IMP_core.Provenance_get_value(self, *args)
13453 def set_value(self, *args):
13455 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13456 set_value(Provenance self, IntKey a0, IMP::Int a1)
13457 set_value(Provenance self, StringKey a0, IMP::String a1)
13458 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13459 set_value(Provenance self, ObjectKey a0, Object a1)
13461 return _IMP_core.Provenance_set_value(self, *args)
13464 def remove_attribute(self, *args):
13466 remove_attribute(Provenance self, FloatKey a0)
13467 remove_attribute(Provenance self, IntKey a0)
13468 remove_attribute(Provenance self, StringKey a0)
13469 remove_attribute(Provenance self, ParticleIndexKey a0)
13470 remove_attribute(Provenance self, ObjectKey a0)
13472 return _IMP_core.Provenance_remove_attribute(self, *args)
13475 def has_attribute(self, *args):
13477 has_attribute(Provenance self, FloatKey a0) -> bool
13478 has_attribute(Provenance self, IntKey a0) -> bool
13479 has_attribute(Provenance self, StringKey a0) -> bool
13480 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13481 has_attribute(Provenance self, ObjectKey a0) -> bool
13483 return _IMP_core.Provenance_has_attribute(self, *args)
13486 def get_derivative(self, a0):
13487 """get_derivative(Provenance self, FloatKey a0) -> double"""
13488 return _IMP_core.Provenance_get_derivative(self, a0)
13491 def get_name(self):
13492 """get_name(Provenance self) -> std::string"""
13493 return _IMP_core.Provenance_get_name(self)
13496 def clear_caches(self):
13497 """clear_caches(Provenance self)"""
13498 return _IMP_core.Provenance_clear_caches(self)
13501 def set_name(self, a0):
13502 """set_name(Provenance self, std::string a0)"""
13503 return _IMP_core.Provenance_set_name(self, a0)
13507 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13508 return _IMP_core.Provenance_set_check_level(self, a0)
13511 def add_to_derivative(self, a0, a1, a2):
13512 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13513 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13516 def set_is_optimized(self, a0, a1):
13517 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13518 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13521 def get_is_optimized(self, a0):
13522 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13523 return _IMP_core.Provenance_get_is_optimized(self, a0)
13527 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13528 return _IMP_core.Provenance_get_check_level(self)
13531 def __eq__(self, *args):
13533 __eq__(Provenance self, Provenance o) -> bool
13534 __eq__(Provenance self, Particle d) -> bool
13536 return _IMP_core.Provenance___eq__(self, *args)
13539 def __ne__(self, *args):
13541 __ne__(Provenance self, Provenance o) -> bool
13542 __ne__(Provenance self, Particle d) -> bool
13544 return _IMP_core.Provenance___ne__(self, *args)
13547 def __le__(self, *args):
13549 __le__(Provenance self, Provenance o) -> bool
13550 __le__(Provenance self, Particle d) -> bool
13552 return _IMP_core.Provenance___le__(self, *args)
13555 def __lt__(self, *args):
13557 __lt__(Provenance self, Provenance o) -> bool
13558 __lt__(Provenance self, Particle d) -> bool
13560 return _IMP_core.Provenance___lt__(self, *args)
13563 def __ge__(self, *args):
13565 __ge__(Provenance self, Provenance o) -> bool
13566 __ge__(Provenance self, Particle d) -> bool
13568 return _IMP_core.Provenance___ge__(self, *args)
13571 def __gt__(self, *args):
13573 __gt__(Provenance self, Provenance o) -> bool
13574 __gt__(Provenance self, Particle d) -> bool
13576 return _IMP_core.Provenance___gt__(self, *args)
13579 def __hash__(self):
13580 """__hash__(Provenance self) -> std::size_t"""
13581 return _IMP_core.Provenance___hash__(self)
13585 """__str__(Provenance self) -> std::string"""
13586 return _IMP_core.Provenance___str__(self)
13589 def __repr__(self):
13590 """__repr__(Provenance self) -> std::string"""
13591 return _IMP_core.Provenance___repr__(self)
13593 __swig_destroy__ = _IMP_core.delete_Provenance
13594 __del__ =
lambda self:
None
13595 Provenance_swigregister = _IMP_core.Provenance_swigregister
13596 Provenance_swigregister(Provenance)
13598 def Provenance_get_is_setup(*args):
13600 get_is_setup(Model m, ParticleIndex pi) -> bool
13601 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13603 return _IMP_core.Provenance_get_is_setup(*args)
13605 def Provenance_setup_particle(*args):
13607 setup_particle(Model m, ParticleIndex pi) -> Provenance
13608 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13610 return _IMP_core.Provenance_setup_particle(*args)
13612 class StructureProvenance(Provenance):
13613 """Proxy of C++ IMP::core::StructureProvenance class."""
13615 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13617 def set_filename(self, filename):
13618 """set_filename(StructureProvenance self, std::string filename)"""
13619 return _IMP_core.StructureProvenance_set_filename(self, filename)
13622 def get_filename(self):
13623 """get_filename(StructureProvenance self) -> std::string"""
13624 return _IMP_core.StructureProvenance_get_filename(self)
13627 def set_chain_id(self, chain_id):
13628 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13629 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13633 """get_chain_id(StructureProvenance self) -> std::string"""
13634 return _IMP_core.StructureProvenance_get_chain_id(self)
13637 def set_residue_offset(self, residue_offset):
13638 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13639 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13642 def get_residue_offset(self):
13643 """get_residue_offset(StructureProvenance self) -> int"""
13644 return _IMP_core.StructureProvenance_get_residue_offset(self)
13647 def __init__(self, *args):
13649 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13650 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13651 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13653 this = _IMP_core.new_StructureProvenance(*args)
13655 self.this.append(this)
13656 except __builtin__.Exception:
13659 def get_is_setup(*args):
13661 get_is_setup(Model m, ParticleIndex pi) -> bool
13662 get_is_setup(_ParticleAdaptor p) -> bool
13664 return _IMP_core.StructureProvenance_get_is_setup(*args)
13666 get_is_setup = staticmethod(get_is_setup)
13668 def show(self, *args):
13670 show(StructureProvenance self, _ostream out)
13671 show(StructureProvenance self)
13673 return _IMP_core.StructureProvenance_show(self, *args)
13676 def setup_particle(*args):
13678 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13679 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13680 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13681 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13682 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13683 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13685 return _IMP_core.StructureProvenance_setup_particle(*args)
13687 setup_particle = staticmethod(setup_particle)
13689 def add_attribute(self, *args):
13691 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13692 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13693 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13694 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13695 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13696 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13698 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13701 def get_value(self, *args):
13703 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13704 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13705 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13706 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13707 get_value(StructureProvenance self, ObjectKey a0) -> Object
13709 return _IMP_core.StructureProvenance_get_value(self, *args)
13712 def set_value(self, *args):
13714 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13715 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13716 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13717 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13718 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13720 return _IMP_core.StructureProvenance_set_value(self, *args)
13723 def remove_attribute(self, *args):
13725 remove_attribute(StructureProvenance self, FloatKey a0)
13726 remove_attribute(StructureProvenance self, IntKey a0)
13727 remove_attribute(StructureProvenance self, StringKey a0)
13728 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13729 remove_attribute(StructureProvenance self, ObjectKey a0)
13731 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13734 def has_attribute(self, *args):
13736 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13737 has_attribute(StructureProvenance self, IntKey a0) -> bool
13738 has_attribute(StructureProvenance self, StringKey a0) -> bool
13739 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13740 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13742 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13745 def get_derivative(self, a0):
13746 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13747 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13750 def get_name(self):
13751 """get_name(StructureProvenance self) -> std::string"""
13752 return _IMP_core.StructureProvenance_get_name(self)
13755 def clear_caches(self):
13756 """clear_caches(StructureProvenance self)"""
13757 return _IMP_core.StructureProvenance_clear_caches(self)
13760 def set_name(self, a0):
13761 """set_name(StructureProvenance self, std::string a0)"""
13762 return _IMP_core.StructureProvenance_set_name(self, a0)
13766 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
13767 return _IMP_core.StructureProvenance_set_check_level(self, a0)
13770 def add_to_derivative(self, a0, a1, a2):
13771 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13772 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
13775 def set_is_optimized(self, a0, a1):
13776 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
13777 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
13780 def get_is_optimized(self, a0):
13781 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
13782 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
13786 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
13787 return _IMP_core.StructureProvenance_get_check_level(self)
13790 def __eq__(self, *args):
13792 __eq__(StructureProvenance self, StructureProvenance o) -> bool
13793 __eq__(StructureProvenance self, Particle d) -> bool
13795 return _IMP_core.StructureProvenance___eq__(self, *args)
13798 def __ne__(self, *args):
13800 __ne__(StructureProvenance self, StructureProvenance o) -> bool
13801 __ne__(StructureProvenance self, Particle d) -> bool
13803 return _IMP_core.StructureProvenance___ne__(self, *args)
13806 def __le__(self, *args):
13808 __le__(StructureProvenance self, StructureProvenance o) -> bool
13809 __le__(StructureProvenance self, Particle d) -> bool
13811 return _IMP_core.StructureProvenance___le__(self, *args)
13814 def __lt__(self, *args):
13816 __lt__(StructureProvenance self, StructureProvenance o) -> bool
13817 __lt__(StructureProvenance self, Particle d) -> bool
13819 return _IMP_core.StructureProvenance___lt__(self, *args)
13822 def __ge__(self, *args):
13824 __ge__(StructureProvenance self, StructureProvenance o) -> bool
13825 __ge__(StructureProvenance self, Particle d) -> bool
13827 return _IMP_core.StructureProvenance___ge__(self, *args)
13830 def __gt__(self, *args):
13832 __gt__(StructureProvenance self, StructureProvenance o) -> bool
13833 __gt__(StructureProvenance self, Particle d) -> bool
13835 return _IMP_core.StructureProvenance___gt__(self, *args)
13838 def __hash__(self):
13839 """__hash__(StructureProvenance self) -> std::size_t"""
13840 return _IMP_core.StructureProvenance___hash__(self)
13844 """__str__(StructureProvenance self) -> std::string"""
13845 return _IMP_core.StructureProvenance___str__(self)
13848 def __repr__(self):
13849 """__repr__(StructureProvenance self) -> std::string"""
13850 return _IMP_core.StructureProvenance___repr__(self)
13852 __swig_destroy__ = _IMP_core.delete_StructureProvenance
13853 __del__ =
lambda self:
None
13854 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
13855 StructureProvenance_swigregister(StructureProvenance)
13857 def StructureProvenance_get_is_setup(*args):
13859 get_is_setup(Model m, ParticleIndex pi) -> bool
13860 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
13862 return _IMP_core.StructureProvenance_get_is_setup(*args)
13864 def StructureProvenance_setup_particle(*args):
13866 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13867 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13868 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13869 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13870 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13871 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13873 return _IMP_core.StructureProvenance_setup_particle(*args)
13875 class SampleProvenance(Provenance):
13876 """Proxy of C++ IMP::core::SampleProvenance class."""
13878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13880 def set_method(self, method):
13881 """set_method(SampleProvenance self, std::string method)"""
13882 return _IMP_core.SampleProvenance_set_method(self, method)
13885 def get_method(self):
13886 """get_method(SampleProvenance self) -> std::string"""
13887 return _IMP_core.SampleProvenance_get_method(self)
13890 def set_number_of_frames(self, frames):
13891 """set_number_of_frames(SampleProvenance self, int frames)"""
13892 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
13896 """get_number_of_frames(SampleProvenance self) -> int"""
13897 return _IMP_core.SampleProvenance_get_number_of_frames(self)
13900 def set_number_of_iterations(self, iterations):
13901 """set_number_of_iterations(SampleProvenance self, int iterations)"""
13902 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
13905 def get_number_of_iterations(self):
13906 """get_number_of_iterations(SampleProvenance self) -> int"""
13907 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
13910 def set_number_of_replicas(self, replicas):
13911 """set_number_of_replicas(SampleProvenance self, int replicas)"""
13912 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
13915 def get_number_of_replicas(self):
13916 """get_number_of_replicas(SampleProvenance self) -> int"""
13917 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
13920 def __init__(self, *args):
13922 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
13923 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
13924 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
13926 this = _IMP_core.new_SampleProvenance(*args)
13928 self.this.append(this)
13929 except __builtin__.Exception:
13932 def get_is_setup(*args):
13934 get_is_setup(Model m, ParticleIndex pi) -> bool
13935 get_is_setup(_ParticleAdaptor p) -> bool
13937 return _IMP_core.SampleProvenance_get_is_setup(*args)
13939 get_is_setup = staticmethod(get_is_setup)
13941 def show(self, *args):
13943 show(SampleProvenance self, _ostream out)
13944 show(SampleProvenance self)
13946 return _IMP_core.SampleProvenance_show(self, *args)
13949 def setup_particle(*args):
13951 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
13952 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
13953 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
13954 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
13955 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
13956 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
13958 return _IMP_core.SampleProvenance_setup_particle(*args)
13960 setup_particle = staticmethod(setup_particle)
13962 def add_attribute(self, *args):
13964 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
13965 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
13966 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
13967 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
13968 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
13969 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
13971 return _IMP_core.SampleProvenance_add_attribute(self, *args)
13974 def get_value(self, *args):
13976 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
13977 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
13978 get_value(SampleProvenance self, StringKey a0) -> IMP::String
13979 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
13980 get_value(SampleProvenance self, ObjectKey a0) -> Object
13982 return _IMP_core.SampleProvenance_get_value(self, *args)
13985 def set_value(self, *args):
13987 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
13988 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
13989 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
13990 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
13991 set_value(SampleProvenance self, ObjectKey a0, Object a1)
13993 return _IMP_core.SampleProvenance_set_value(self, *args)
13996 def remove_attribute(self, *args):
13998 remove_attribute(SampleProvenance self, FloatKey a0)
13999 remove_attribute(SampleProvenance self, IntKey a0)
14000 remove_attribute(SampleProvenance self, StringKey a0)
14001 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14002 remove_attribute(SampleProvenance self, ObjectKey a0)
14004 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14007 def has_attribute(self, *args):
14009 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14010 has_attribute(SampleProvenance self, IntKey a0) -> bool
14011 has_attribute(SampleProvenance self, StringKey a0) -> bool
14012 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14013 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14015 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14018 def get_derivative(self, a0):
14019 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14020 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14023 def get_name(self):
14024 """get_name(SampleProvenance self) -> std::string"""
14025 return _IMP_core.SampleProvenance_get_name(self)
14028 def clear_caches(self):
14029 """clear_caches(SampleProvenance self)"""
14030 return _IMP_core.SampleProvenance_clear_caches(self)
14033 def set_name(self, a0):
14034 """set_name(SampleProvenance self, std::string a0)"""
14035 return _IMP_core.SampleProvenance_set_name(self, a0)
14039 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14040 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14043 def add_to_derivative(self, a0, a1, a2):
14044 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14045 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14048 def set_is_optimized(self, a0, a1):
14049 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14050 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14053 def get_is_optimized(self, a0):
14054 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14055 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14059 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14060 return _IMP_core.SampleProvenance_get_check_level(self)
14063 def __eq__(self, *args):
14065 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14066 __eq__(SampleProvenance self, Particle d) -> bool
14068 return _IMP_core.SampleProvenance___eq__(self, *args)
14071 def __ne__(self, *args):
14073 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14074 __ne__(SampleProvenance self, Particle d) -> bool
14076 return _IMP_core.SampleProvenance___ne__(self, *args)
14079 def __le__(self, *args):
14081 __le__(SampleProvenance self, SampleProvenance o) -> bool
14082 __le__(SampleProvenance self, Particle d) -> bool
14084 return _IMP_core.SampleProvenance___le__(self, *args)
14087 def __lt__(self, *args):
14089 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14090 __lt__(SampleProvenance self, Particle d) -> bool
14092 return _IMP_core.SampleProvenance___lt__(self, *args)
14095 def __ge__(self, *args):
14097 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14098 __ge__(SampleProvenance self, Particle d) -> bool
14100 return _IMP_core.SampleProvenance___ge__(self, *args)
14103 def __gt__(self, *args):
14105 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14106 __gt__(SampleProvenance self, Particle d) -> bool
14108 return _IMP_core.SampleProvenance___gt__(self, *args)
14111 def __hash__(self):
14112 """__hash__(SampleProvenance self) -> std::size_t"""
14113 return _IMP_core.SampleProvenance___hash__(self)
14117 """__str__(SampleProvenance self) -> std::string"""
14118 return _IMP_core.SampleProvenance___str__(self)
14121 def __repr__(self):
14122 """__repr__(SampleProvenance self) -> std::string"""
14123 return _IMP_core.SampleProvenance___repr__(self)
14125 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14126 __del__ =
lambda self:
None
14127 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14128 SampleProvenance_swigregister(SampleProvenance)
14130 def SampleProvenance_get_is_setup(*args):
14132 get_is_setup(Model m, ParticleIndex pi) -> bool
14133 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14135 return _IMP_core.SampleProvenance_get_is_setup(*args)
14137 def SampleProvenance_setup_particle(*args):
14139 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14140 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14141 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14142 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14143 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14144 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14146 return _IMP_core.SampleProvenance_setup_particle(*args)
14148 class CombineProvenance(Provenance):
14149 """Proxy of C++ IMP::core::CombineProvenance class."""
14151 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14153 def set_number_of_frames(self, frames):
14154 """set_number_of_frames(CombineProvenance self, int frames)"""
14155 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14159 """get_number_of_frames(CombineProvenance self) -> int"""
14160 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14163 def set_number_of_runs(self, runs):
14164 """set_number_of_runs(CombineProvenance self, int runs)"""
14165 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14168 def get_number_of_runs(self):
14169 """get_number_of_runs(CombineProvenance self) -> int"""
14170 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14173 def __init__(self, *args):
14175 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14176 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14177 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14179 this = _IMP_core.new_CombineProvenance(*args)
14181 self.this.append(this)
14182 except __builtin__.Exception:
14185 def get_is_setup(*args):
14187 get_is_setup(Model m, ParticleIndex pi) -> bool
14188 get_is_setup(_ParticleAdaptor p) -> bool
14190 return _IMP_core.CombineProvenance_get_is_setup(*args)
14192 get_is_setup = staticmethod(get_is_setup)
14194 def show(self, *args):
14196 show(CombineProvenance self, _ostream out)
14197 show(CombineProvenance self)
14199 return _IMP_core.CombineProvenance_show(self, *args)
14202 def setup_particle(*args):
14204 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14205 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14206 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14207 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14209 return _IMP_core.CombineProvenance_setup_particle(*args)
14211 setup_particle = staticmethod(setup_particle)
14213 def add_attribute(self, *args):
14215 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14216 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14217 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14218 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14219 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14220 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14222 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14225 def get_value(self, *args):
14227 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14228 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14229 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14230 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14231 get_value(CombineProvenance self, ObjectKey a0) -> Object
14233 return _IMP_core.CombineProvenance_get_value(self, *args)
14236 def set_value(self, *args):
14238 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14239 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14240 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14241 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14242 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14244 return _IMP_core.CombineProvenance_set_value(self, *args)
14247 def remove_attribute(self, *args):
14249 remove_attribute(CombineProvenance self, FloatKey a0)
14250 remove_attribute(CombineProvenance self, IntKey a0)
14251 remove_attribute(CombineProvenance self, StringKey a0)
14252 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14253 remove_attribute(CombineProvenance self, ObjectKey a0)
14255 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14258 def has_attribute(self, *args):
14260 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14261 has_attribute(CombineProvenance self, IntKey a0) -> bool
14262 has_attribute(CombineProvenance self, StringKey a0) -> bool
14263 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14264 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14266 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14269 def get_derivative(self, a0):
14270 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14271 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14274 def get_name(self):
14275 """get_name(CombineProvenance self) -> std::string"""
14276 return _IMP_core.CombineProvenance_get_name(self)
14279 def clear_caches(self):
14280 """clear_caches(CombineProvenance self)"""
14281 return _IMP_core.CombineProvenance_clear_caches(self)
14284 def set_name(self, a0):
14285 """set_name(CombineProvenance self, std::string a0)"""
14286 return _IMP_core.CombineProvenance_set_name(self, a0)
14290 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14291 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14294 def add_to_derivative(self, a0, a1, a2):
14295 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14296 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14299 def set_is_optimized(self, a0, a1):
14300 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14301 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14304 def get_is_optimized(self, a0):
14305 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14306 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14310 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14311 return _IMP_core.CombineProvenance_get_check_level(self)
14314 def __eq__(self, *args):
14316 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14317 __eq__(CombineProvenance self, Particle d) -> bool
14319 return _IMP_core.CombineProvenance___eq__(self, *args)
14322 def __ne__(self, *args):
14324 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14325 __ne__(CombineProvenance self, Particle d) -> bool
14327 return _IMP_core.CombineProvenance___ne__(self, *args)
14330 def __le__(self, *args):
14332 __le__(CombineProvenance self, CombineProvenance o) -> bool
14333 __le__(CombineProvenance self, Particle d) -> bool
14335 return _IMP_core.CombineProvenance___le__(self, *args)
14338 def __lt__(self, *args):
14340 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14341 __lt__(CombineProvenance self, Particle d) -> bool
14343 return _IMP_core.CombineProvenance___lt__(self, *args)
14346 def __ge__(self, *args):
14348 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14349 __ge__(CombineProvenance self, Particle d) -> bool
14351 return _IMP_core.CombineProvenance___ge__(self, *args)
14354 def __gt__(self, *args):
14356 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14357 __gt__(CombineProvenance self, Particle d) -> bool
14359 return _IMP_core.CombineProvenance___gt__(self, *args)
14362 def __hash__(self):
14363 """__hash__(CombineProvenance self) -> std::size_t"""
14364 return _IMP_core.CombineProvenance___hash__(self)
14368 """__str__(CombineProvenance self) -> std::string"""
14369 return _IMP_core.CombineProvenance___str__(self)
14372 def __repr__(self):
14373 """__repr__(CombineProvenance self) -> std::string"""
14374 return _IMP_core.CombineProvenance___repr__(self)
14376 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14377 __del__ =
lambda self:
None
14378 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14379 CombineProvenance_swigregister(CombineProvenance)
14381 def CombineProvenance_get_is_setup(*args):
14383 get_is_setup(Model m, ParticleIndex pi) -> bool
14384 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14386 return _IMP_core.CombineProvenance_get_is_setup(*args)
14388 def CombineProvenance_setup_particle(*args):
14390 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14391 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14392 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14393 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14395 return _IMP_core.CombineProvenance_setup_particle(*args)
14397 class FilterProvenance(Provenance):
14398 """Proxy of C++ IMP::core::FilterProvenance class."""
14400 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14402 def set_method(self, method):
14403 """set_method(FilterProvenance self, std::string method)"""
14404 return _IMP_core.FilterProvenance_set_method(self, method)
14407 def get_method(self):
14408 """get_method(FilterProvenance self) -> std::string"""
14409 return _IMP_core.FilterProvenance_get_method(self)
14412 def set_number_of_frames(self, frames):
14413 """set_number_of_frames(FilterProvenance self, int frames)"""
14414 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14418 """get_number_of_frames(FilterProvenance self) -> int"""
14419 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14422 def set_threshold(self, threshold):
14423 """set_threshold(FilterProvenance self, double threshold)"""
14424 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14427 def get_threshold(self):
14428 """get_threshold(FilterProvenance self) -> double"""
14429 return _IMP_core.FilterProvenance_get_threshold(self)
14432 def __init__(self, *args):
14434 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14435 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14436 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14438 this = _IMP_core.new_FilterProvenance(*args)
14440 self.this.append(this)
14441 except __builtin__.Exception:
14444 def get_is_setup(*args):
14446 get_is_setup(Model m, ParticleIndex pi) -> bool
14447 get_is_setup(_ParticleAdaptor p) -> bool
14449 return _IMP_core.FilterProvenance_get_is_setup(*args)
14451 get_is_setup = staticmethod(get_is_setup)
14453 def show(self, *args):
14455 show(FilterProvenance self, _ostream out)
14456 show(FilterProvenance self)
14458 return _IMP_core.FilterProvenance_show(self, *args)
14461 def setup_particle(*args):
14463 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14464 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14465 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14466 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14468 return _IMP_core.FilterProvenance_setup_particle(*args)
14470 setup_particle = staticmethod(setup_particle)
14472 def add_attribute(self, *args):
14474 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14475 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14476 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14477 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14478 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14479 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14481 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14484 def get_value(self, *args):
14486 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14487 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14488 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14489 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14490 get_value(FilterProvenance self, ObjectKey a0) -> Object
14492 return _IMP_core.FilterProvenance_get_value(self, *args)
14495 def set_value(self, *args):
14497 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14498 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14499 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14500 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14501 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14503 return _IMP_core.FilterProvenance_set_value(self, *args)
14506 def remove_attribute(self, *args):
14508 remove_attribute(FilterProvenance self, FloatKey a0)
14509 remove_attribute(FilterProvenance self, IntKey a0)
14510 remove_attribute(FilterProvenance self, StringKey a0)
14511 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14512 remove_attribute(FilterProvenance self, ObjectKey a0)
14514 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14517 def has_attribute(self, *args):
14519 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14520 has_attribute(FilterProvenance self, IntKey a0) -> bool
14521 has_attribute(FilterProvenance self, StringKey a0) -> bool
14522 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14523 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14525 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14528 def get_derivative(self, a0):
14529 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14530 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14533 def get_name(self):
14534 """get_name(FilterProvenance self) -> std::string"""
14535 return _IMP_core.FilterProvenance_get_name(self)
14538 def clear_caches(self):
14539 """clear_caches(FilterProvenance self)"""
14540 return _IMP_core.FilterProvenance_clear_caches(self)
14543 def set_name(self, a0):
14544 """set_name(FilterProvenance self, std::string a0)"""
14545 return _IMP_core.FilterProvenance_set_name(self, a0)
14549 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14550 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14553 def add_to_derivative(self, a0, a1, a2):
14554 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14555 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14558 def set_is_optimized(self, a0, a1):
14559 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14560 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14563 def get_is_optimized(self, a0):
14564 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14565 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14569 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14570 return _IMP_core.FilterProvenance_get_check_level(self)
14573 def __eq__(self, *args):
14575 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14576 __eq__(FilterProvenance self, Particle d) -> bool
14578 return _IMP_core.FilterProvenance___eq__(self, *args)
14581 def __ne__(self, *args):
14583 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14584 __ne__(FilterProvenance self, Particle d) -> bool
14586 return _IMP_core.FilterProvenance___ne__(self, *args)
14589 def __le__(self, *args):
14591 __le__(FilterProvenance self, FilterProvenance o) -> bool
14592 __le__(FilterProvenance self, Particle d) -> bool
14594 return _IMP_core.FilterProvenance___le__(self, *args)
14597 def __lt__(self, *args):
14599 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14600 __lt__(FilterProvenance self, Particle d) -> bool
14602 return _IMP_core.FilterProvenance___lt__(self, *args)
14605 def __ge__(self, *args):
14607 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14608 __ge__(FilterProvenance self, Particle d) -> bool
14610 return _IMP_core.FilterProvenance___ge__(self, *args)
14613 def __gt__(self, *args):
14615 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14616 __gt__(FilterProvenance self, Particle d) -> bool
14618 return _IMP_core.FilterProvenance___gt__(self, *args)
14621 def __hash__(self):
14622 """__hash__(FilterProvenance self) -> std::size_t"""
14623 return _IMP_core.FilterProvenance___hash__(self)
14627 """__str__(FilterProvenance self) -> std::string"""
14628 return _IMP_core.FilterProvenance___str__(self)
14631 def __repr__(self):
14632 """__repr__(FilterProvenance self) -> std::string"""
14633 return _IMP_core.FilterProvenance___repr__(self)
14635 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14636 __del__ =
lambda self:
None
14637 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14638 FilterProvenance_swigregister(FilterProvenance)
14640 def FilterProvenance_get_is_setup(*args):
14642 get_is_setup(Model m, ParticleIndex pi) -> bool
14643 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14645 return _IMP_core.FilterProvenance_get_is_setup(*args)
14647 def FilterProvenance_setup_particle(*args):
14649 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14650 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14651 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14652 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14654 return _IMP_core.FilterProvenance_setup_particle(*args)
14656 class ClusterProvenance(Provenance):
14657 """Proxy of C++ IMP::core::ClusterProvenance class."""
14659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14661 def set_number_of_members(self, members):
14662 """set_number_of_members(ClusterProvenance self, int members)"""
14663 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14666 def get_number_of_members(self):
14667 """get_number_of_members(ClusterProvenance self) -> int"""
14668 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14671 def __init__(self, *args):
14673 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14674 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14675 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14677 this = _IMP_core.new_ClusterProvenance(*args)
14679 self.this.append(this)
14680 except __builtin__.Exception:
14683 def get_is_setup(*args):
14685 get_is_setup(Model m, ParticleIndex pi) -> bool
14686 get_is_setup(_ParticleAdaptor p) -> bool
14688 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14690 get_is_setup = staticmethod(get_is_setup)
14692 def show(self, *args):
14694 show(ClusterProvenance self, _ostream out)
14695 show(ClusterProvenance self)
14697 return _IMP_core.ClusterProvenance_show(self, *args)
14700 def setup_particle(*args):
14702 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14703 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14704 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14705 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14707 return _IMP_core.ClusterProvenance_setup_particle(*args)
14709 setup_particle = staticmethod(setup_particle)
14711 def add_attribute(self, *args):
14713 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
14714 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14715 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
14716 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
14717 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14718 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
14720 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
14723 def get_value(self, *args):
14725 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
14726 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
14727 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
14728 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
14729 get_value(ClusterProvenance self, ObjectKey a0) -> Object
14731 return _IMP_core.ClusterProvenance_get_value(self, *args)
14734 def set_value(self, *args):
14736 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14737 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
14738 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
14739 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14740 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
14742 return _IMP_core.ClusterProvenance_set_value(self, *args)
14745 def remove_attribute(self, *args):
14747 remove_attribute(ClusterProvenance self, FloatKey a0)
14748 remove_attribute(ClusterProvenance self, IntKey a0)
14749 remove_attribute(ClusterProvenance self, StringKey a0)
14750 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
14751 remove_attribute(ClusterProvenance self, ObjectKey a0)
14753 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
14756 def has_attribute(self, *args):
14758 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
14759 has_attribute(ClusterProvenance self, IntKey a0) -> bool
14760 has_attribute(ClusterProvenance self, StringKey a0) -> bool
14761 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
14762 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
14764 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
14767 def get_derivative(self, a0):
14768 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
14769 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
14772 def get_name(self):
14773 """get_name(ClusterProvenance self) -> std::string"""
14774 return _IMP_core.ClusterProvenance_get_name(self)
14777 def clear_caches(self):
14778 """clear_caches(ClusterProvenance self)"""
14779 return _IMP_core.ClusterProvenance_clear_caches(self)
14782 def set_name(self, a0):
14783 """set_name(ClusterProvenance self, std::string a0)"""
14784 return _IMP_core.ClusterProvenance_set_name(self, a0)
14788 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
14789 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
14792 def add_to_derivative(self, a0, a1, a2):
14793 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14794 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
14797 def set_is_optimized(self, a0, a1):
14798 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
14799 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
14802 def get_is_optimized(self, a0):
14803 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
14804 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
14808 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
14809 return _IMP_core.ClusterProvenance_get_check_level(self)
14812 def __eq__(self, *args):
14814 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
14815 __eq__(ClusterProvenance self, Particle d) -> bool
14817 return _IMP_core.ClusterProvenance___eq__(self, *args)
14820 def __ne__(self, *args):
14822 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
14823 __ne__(ClusterProvenance self, Particle d) -> bool
14825 return _IMP_core.ClusterProvenance___ne__(self, *args)
14828 def __le__(self, *args):
14830 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
14831 __le__(ClusterProvenance self, Particle d) -> bool
14833 return _IMP_core.ClusterProvenance___le__(self, *args)
14836 def __lt__(self, *args):
14838 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
14839 __lt__(ClusterProvenance self, Particle d) -> bool
14841 return _IMP_core.ClusterProvenance___lt__(self, *args)
14844 def __ge__(self, *args):
14846 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
14847 __ge__(ClusterProvenance self, Particle d) -> bool
14849 return _IMP_core.ClusterProvenance___ge__(self, *args)
14852 def __gt__(self, *args):
14854 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
14855 __gt__(ClusterProvenance self, Particle d) -> bool
14857 return _IMP_core.ClusterProvenance___gt__(self, *args)
14860 def __hash__(self):
14861 """__hash__(ClusterProvenance self) -> std::size_t"""
14862 return _IMP_core.ClusterProvenance___hash__(self)
14866 """__str__(ClusterProvenance self) -> std::string"""
14867 return _IMP_core.ClusterProvenance___str__(self)
14870 def __repr__(self):
14871 """__repr__(ClusterProvenance self) -> std::string"""
14872 return _IMP_core.ClusterProvenance___repr__(self)
14874 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
14875 __del__ =
lambda self:
None
14876 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
14877 ClusterProvenance_swigregister(ClusterProvenance)
14879 def ClusterProvenance_get_is_setup(*args):
14881 get_is_setup(Model m, ParticleIndex pi) -> bool
14882 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14884 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14886 def ClusterProvenance_setup_particle(*args):
14888 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14889 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14890 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14891 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14893 return _IMP_core.ClusterProvenance_setup_particle(*args)
14895 class ScriptProvenance(Provenance):
14896 """Proxy of C++ IMP::core::ScriptProvenance class."""
14898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14900 def set_filename(self, filename):
14901 """set_filename(ScriptProvenance self, std::string filename)"""
14902 return _IMP_core.ScriptProvenance_set_filename(self, filename)
14905 def get_filename(self):
14906 """get_filename(ScriptProvenance self) -> std::string"""
14907 return _IMP_core.ScriptProvenance_get_filename(self)
14910 def __init__(self, *args):
14912 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
14913 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
14914 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
14916 this = _IMP_core.new_ScriptProvenance(*args)
14918 self.this.append(this)
14919 except __builtin__.Exception:
14922 def get_is_setup(*args):
14924 get_is_setup(Model m, ParticleIndex pi) -> bool
14925 get_is_setup(_ParticleAdaptor p) -> bool
14927 return _IMP_core.ScriptProvenance_get_is_setup(*args)
14929 get_is_setup = staticmethod(get_is_setup)
14931 def show(self, *args):
14933 show(ScriptProvenance self, _ostream out)
14934 show(ScriptProvenance self)
14936 return _IMP_core.ScriptProvenance_show(self, *args)
14939 def setup_particle(*args):
14941 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
14942 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
14943 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
14944 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
14946 return _IMP_core.ScriptProvenance_setup_particle(*args)
14948 setup_particle = staticmethod(setup_particle)
14950 def add_attribute(self, *args):
14952 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
14953 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
14954 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
14955 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
14956 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
14957 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
14959 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
14962 def get_value(self, *args):
14964 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
14965 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
14966 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
14967 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
14968 get_value(ScriptProvenance self, ObjectKey a0) -> Object
14970 return _IMP_core.ScriptProvenance_get_value(self, *args)
14973 def set_value(self, *args):
14975 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
14976 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
14977 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
14978 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
14979 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
14981 return _IMP_core.ScriptProvenance_set_value(self, *args)
14984 def remove_attribute(self, *args):
14986 remove_attribute(ScriptProvenance self, FloatKey a0)
14987 remove_attribute(ScriptProvenance self, IntKey a0)
14988 remove_attribute(ScriptProvenance self, StringKey a0)
14989 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
14990 remove_attribute(ScriptProvenance self, ObjectKey a0)
14992 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
14995 def has_attribute(self, *args):
14997 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
14998 has_attribute(ScriptProvenance self, IntKey a0) -> bool
14999 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15000 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15001 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15003 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15006 def get_derivative(self, a0):
15007 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15008 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15011 def get_name(self):
15012 """get_name(ScriptProvenance self) -> std::string"""
15013 return _IMP_core.ScriptProvenance_get_name(self)
15016 def clear_caches(self):
15017 """clear_caches(ScriptProvenance self)"""
15018 return _IMP_core.ScriptProvenance_clear_caches(self)
15021 def set_name(self, a0):
15022 """set_name(ScriptProvenance self, std::string a0)"""
15023 return _IMP_core.ScriptProvenance_set_name(self, a0)
15027 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15028 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15031 def add_to_derivative(self, a0, a1, a2):
15032 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15033 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15036 def set_is_optimized(self, a0, a1):
15037 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15038 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15041 def get_is_optimized(self, a0):
15042 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15043 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15047 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15048 return _IMP_core.ScriptProvenance_get_check_level(self)
15051 def __eq__(self, *args):
15053 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15054 __eq__(ScriptProvenance self, Particle d) -> bool
15056 return _IMP_core.ScriptProvenance___eq__(self, *args)
15059 def __ne__(self, *args):
15061 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15062 __ne__(ScriptProvenance self, Particle d) -> bool
15064 return _IMP_core.ScriptProvenance___ne__(self, *args)
15067 def __le__(self, *args):
15069 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15070 __le__(ScriptProvenance self, Particle d) -> bool
15072 return _IMP_core.ScriptProvenance___le__(self, *args)
15075 def __lt__(self, *args):
15077 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15078 __lt__(ScriptProvenance self, Particle d) -> bool
15080 return _IMP_core.ScriptProvenance___lt__(self, *args)
15083 def __ge__(self, *args):
15085 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15086 __ge__(ScriptProvenance self, Particle d) -> bool
15088 return _IMP_core.ScriptProvenance___ge__(self, *args)
15091 def __gt__(self, *args):
15093 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15094 __gt__(ScriptProvenance self, Particle d) -> bool
15096 return _IMP_core.ScriptProvenance___gt__(self, *args)
15099 def __hash__(self):
15100 """__hash__(ScriptProvenance self) -> std::size_t"""
15101 return _IMP_core.ScriptProvenance___hash__(self)
15105 """__str__(ScriptProvenance self) -> std::string"""
15106 return _IMP_core.ScriptProvenance___str__(self)
15109 def __repr__(self):
15110 """__repr__(ScriptProvenance self) -> std::string"""
15111 return _IMP_core.ScriptProvenance___repr__(self)
15113 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15114 __del__ =
lambda self:
None
15115 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15116 ScriptProvenance_swigregister(ScriptProvenance)
15118 def ScriptProvenance_get_is_setup(*args):
15120 get_is_setup(Model m, ParticleIndex pi) -> bool
15121 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15123 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15125 def ScriptProvenance_setup_particle(*args):
15127 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15128 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15129 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15130 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15132 return _IMP_core.ScriptProvenance_setup_particle(*args)
15134 class SoftwareProvenance(Provenance):
15135 """Proxy of C++ IMP::core::SoftwareProvenance class."""
15137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15139 def set_software_name(self, name):
15140 """set_software_name(SoftwareProvenance self, std::string name)"""
15141 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15144 def get_software_name(self):
15145 """get_software_name(SoftwareProvenance self) -> std::string"""
15146 return _IMP_core.SoftwareProvenance_get_software_name(self)
15149 def set_version(self, version):
15150 """set_version(SoftwareProvenance self, std::string version)"""
15151 return _IMP_core.SoftwareProvenance_set_version(self, version)
15154 def get_version(self):
15155 """get_version(SoftwareProvenance self) -> std::string"""
15156 return _IMP_core.SoftwareProvenance_get_version(self)
15159 def set_location(self, location):
15160 """set_location(SoftwareProvenance self, std::string location)"""
15161 return _IMP_core.SoftwareProvenance_set_location(self, location)
15164 def get_location(self):
15165 """get_location(SoftwareProvenance self) -> std::string"""
15166 return _IMP_core.SoftwareProvenance_get_location(self)
15169 def __init__(self, *args):
15171 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15172 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15173 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15175 this = _IMP_core.new_SoftwareProvenance(*args)
15177 self.this.append(this)
15178 except __builtin__.Exception:
15181 def get_is_setup(*args):
15183 get_is_setup(Model m, ParticleIndex pi) -> bool
15184 get_is_setup(_ParticleAdaptor p) -> bool
15186 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15188 get_is_setup = staticmethod(get_is_setup)
15190 def show(self, *args):
15192 show(SoftwareProvenance self, _ostream out)
15193 show(SoftwareProvenance self)
15195 return _IMP_core.SoftwareProvenance_show(self, *args)
15198 def setup_particle(*args):
15200 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15201 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15202 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15203 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15205 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15207 setup_particle = staticmethod(setup_particle)
15209 def add_attribute(self, *args):
15211 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15212 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15213 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15214 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15215 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15216 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15218 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15221 def get_value(self, *args):
15223 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15224 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15225 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15226 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15227 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15229 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15232 def set_value(self, *args):
15234 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15235 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15236 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15237 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15238 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15240 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15243 def remove_attribute(self, *args):
15245 remove_attribute(SoftwareProvenance self, FloatKey a0)
15246 remove_attribute(SoftwareProvenance self, IntKey a0)
15247 remove_attribute(SoftwareProvenance self, StringKey a0)
15248 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15249 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15251 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15254 def has_attribute(self, *args):
15256 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15257 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15258 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15259 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15260 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15262 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15265 def get_derivative(self, a0):
15266 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15267 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15270 def get_name(self):
15271 """get_name(SoftwareProvenance self) -> std::string"""
15272 return _IMP_core.SoftwareProvenance_get_name(self)
15275 def clear_caches(self):
15276 """clear_caches(SoftwareProvenance self)"""
15277 return _IMP_core.SoftwareProvenance_clear_caches(self)
15280 def set_name(self, a0):
15281 """set_name(SoftwareProvenance self, std::string a0)"""
15282 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15286 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15287 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15290 def add_to_derivative(self, a0, a1, a2):
15291 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15292 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15295 def set_is_optimized(self, a0, a1):
15296 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15297 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15300 def get_is_optimized(self, a0):
15301 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15302 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15306 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15307 return _IMP_core.SoftwareProvenance_get_check_level(self)
15310 def __eq__(self, *args):
15312 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15313 __eq__(SoftwareProvenance self, Particle d) -> bool
15315 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15318 def __ne__(self, *args):
15320 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15321 __ne__(SoftwareProvenance self, Particle d) -> bool
15323 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15326 def __le__(self, *args):
15328 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15329 __le__(SoftwareProvenance self, Particle d) -> bool
15331 return _IMP_core.SoftwareProvenance___le__(self, *args)
15334 def __lt__(self, *args):
15336 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15337 __lt__(SoftwareProvenance self, Particle d) -> bool
15339 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15342 def __ge__(self, *args):
15344 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15345 __ge__(SoftwareProvenance self, Particle d) -> bool
15347 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15350 def __gt__(self, *args):
15352 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15353 __gt__(SoftwareProvenance self, Particle d) -> bool
15355 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15358 def __hash__(self):
15359 """__hash__(SoftwareProvenance self) -> std::size_t"""
15360 return _IMP_core.SoftwareProvenance___hash__(self)
15364 """__str__(SoftwareProvenance self) -> std::string"""
15365 return _IMP_core.SoftwareProvenance___str__(self)
15368 def __repr__(self):
15369 """__repr__(SoftwareProvenance self) -> std::string"""
15370 return _IMP_core.SoftwareProvenance___repr__(self)
15372 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15373 __del__ =
lambda self:
None
15374 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15375 SoftwareProvenance_swigregister(SoftwareProvenance)
15377 def SoftwareProvenance_get_is_setup(*args):
15379 get_is_setup(Model m, ParticleIndex pi) -> bool
15380 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15382 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15384 def SoftwareProvenance_setup_particle(*args):
15386 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15387 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15388 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15389 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15391 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15394 """Proxy of C++ IMP::core::Provenanced class."""
15396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15398 def get_provenance(self):
15399 """get_provenance(Provenanced self) -> Provenance"""
15400 return _IMP_core.Provenanced_get_provenance(self)
15403 def set_provenance(self, p):
15404 """set_provenance(Provenanced self, Provenance p)"""
15405 return _IMP_core.Provenanced_set_provenance(self, p)
15408 def __init__(self, *args):
15410 __init__(IMP::core::Provenanced self) -> Provenanced
15411 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15412 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15414 this = _IMP_core.new_Provenanced(*args)
15416 self.this.append(this)
15417 except __builtin__.Exception:
15420 def get_is_setup(*args):
15422 get_is_setup(Model m, ParticleIndex pi) -> bool
15423 get_is_setup(_ParticleAdaptor p) -> bool
15425 return _IMP_core.Provenanced_get_is_setup(*args)
15427 get_is_setup = staticmethod(get_is_setup)
15429 def show(self, *args):
15431 show(Provenanced self, _ostream out)
15432 show(Provenanced self)
15434 return _IMP_core.Provenanced_show(self, *args)
15437 def setup_particle(*args):
15439 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15440 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15442 return _IMP_core.Provenanced_setup_particle(*args)
15444 setup_particle = staticmethod(setup_particle)
15446 def add_attribute(self, *args):
15448 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15449 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15450 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15451 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15452 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15453 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15455 return _IMP_core.Provenanced_add_attribute(self, *args)
15458 def get_value(self, *args):
15460 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15461 get_value(Provenanced self, IntKey a0) -> IMP::Int
15462 get_value(Provenanced self, StringKey a0) -> IMP::String
15463 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15464 get_value(Provenanced self, ObjectKey a0) -> Object
15466 return _IMP_core.Provenanced_get_value(self, *args)
15469 def set_value(self, *args):
15471 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15472 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15473 set_value(Provenanced self, StringKey a0, IMP::String a1)
15474 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15475 set_value(Provenanced self, ObjectKey a0, Object a1)
15477 return _IMP_core.Provenanced_set_value(self, *args)
15480 def remove_attribute(self, *args):
15482 remove_attribute(Provenanced self, FloatKey a0)
15483 remove_attribute(Provenanced self, IntKey a0)
15484 remove_attribute(Provenanced self, StringKey a0)
15485 remove_attribute(Provenanced self, ParticleIndexKey a0)
15486 remove_attribute(Provenanced self, ObjectKey a0)
15488 return _IMP_core.Provenanced_remove_attribute(self, *args)
15491 def has_attribute(self, *args):
15493 has_attribute(Provenanced self, FloatKey a0) -> bool
15494 has_attribute(Provenanced self, IntKey a0) -> bool
15495 has_attribute(Provenanced self, StringKey a0) -> bool
15496 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15497 has_attribute(Provenanced self, ObjectKey a0) -> bool
15499 return _IMP_core.Provenanced_has_attribute(self, *args)
15502 def get_derivative(self, a0):
15503 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15504 return _IMP_core.Provenanced_get_derivative(self, a0)
15507 def get_name(self):
15508 """get_name(Provenanced self) -> std::string"""
15509 return _IMP_core.Provenanced_get_name(self)
15512 def clear_caches(self):
15513 """clear_caches(Provenanced self)"""
15514 return _IMP_core.Provenanced_clear_caches(self)
15517 def set_name(self, a0):
15518 """set_name(Provenanced self, std::string a0)"""
15519 return _IMP_core.Provenanced_set_name(self, a0)
15523 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15524 return _IMP_core.Provenanced_set_check_level(self, a0)
15527 def add_to_derivative(self, a0, a1, a2):
15528 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15529 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15532 def set_is_optimized(self, a0, a1):
15533 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15534 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15537 def get_is_optimized(self, a0):
15538 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15539 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15543 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15544 return _IMP_core.Provenanced_get_check_level(self)
15547 def __eq__(self, *args):
15549 __eq__(Provenanced self, Provenanced o) -> bool
15550 __eq__(Provenanced self, Particle d) -> bool
15552 return _IMP_core.Provenanced___eq__(self, *args)
15555 def __ne__(self, *args):
15557 __ne__(Provenanced self, Provenanced o) -> bool
15558 __ne__(Provenanced self, Particle d) -> bool
15560 return _IMP_core.Provenanced___ne__(self, *args)
15563 def __le__(self, *args):
15565 __le__(Provenanced self, Provenanced o) -> bool
15566 __le__(Provenanced self, Particle d) -> bool
15568 return _IMP_core.Provenanced___le__(self, *args)
15571 def __lt__(self, *args):
15573 __lt__(Provenanced self, Provenanced o) -> bool
15574 __lt__(Provenanced self, Particle d) -> bool
15576 return _IMP_core.Provenanced___lt__(self, *args)
15579 def __ge__(self, *args):
15581 __ge__(Provenanced self, Provenanced o) -> bool
15582 __ge__(Provenanced self, Particle d) -> bool
15584 return _IMP_core.Provenanced___ge__(self, *args)
15587 def __gt__(self, *args):
15589 __gt__(Provenanced self, Provenanced o) -> bool
15590 __gt__(Provenanced self, Particle d) -> bool
15592 return _IMP_core.Provenanced___gt__(self, *args)
15595 def __hash__(self):
15596 """__hash__(Provenanced self) -> std::size_t"""
15597 return _IMP_core.Provenanced___hash__(self)
15601 """__str__(Provenanced self) -> std::string"""
15602 return _IMP_core.Provenanced___str__(self)
15605 def __repr__(self):
15606 """__repr__(Provenanced self) -> std::string"""
15607 return _IMP_core.Provenanced___repr__(self)
15609 __swig_destroy__ = _IMP_core.delete_Provenanced
15610 __del__ =
lambda self:
None
15611 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15612 Provenanced_swigregister(Provenanced)
15614 def Provenanced_get_is_setup(*args):
15616 get_is_setup(Model m, ParticleIndex pi) -> bool
15617 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15619 return _IMP_core.Provenanced_get_is_setup(*args)
15621 def Provenanced_setup_particle(*args):
15623 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15624 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15626 return _IMP_core.Provenanced_setup_particle(*args)
15630 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15631 return _IMP_core.add_provenance(m, pi, p)
15634 """create_clone(Provenance p) -> Provenance"""
15635 return _IMP_core.create_clone(p)
15639 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15640 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15641 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15643 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15646 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15647 return _IMP_core.create_restraint(ps, pp)
15649 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
15651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15653 def __init__(self, *args):
15655 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15656 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
15658 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
15660 self.this.append(this)
15661 except __builtin__.Exception:
15664 def get_version_info(self):
15665 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
15666 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
15670 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
15671 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
15674 def __repr__(self):
15675 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
15676 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
15681 return _object_cast_to_TruncatedHarmonic(o)
15683 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
15684 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
15687 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
15689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15691 def __init__(self, *args):
15693 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
15694 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
15696 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
15698 self.this.append(this)
15699 except __builtin__.Exception:
15702 def get_version_info(self):
15703 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
15704 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
15708 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
15709 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
15712 def __repr__(self):
15713 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
15714 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
15719 return _object_cast_to_TruncatedHarmonic(o)
15721 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
15722 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
15725 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
15727 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15729 def __init__(self, *args):
15731 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
15732 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
15734 this = _IMP_core.new_TruncatedHarmonicBound(*args)
15736 self.this.append(this)
15737 except __builtin__.Exception:
15740 def get_version_info(self):
15741 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
15742 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
15746 """__str__(TruncatedHarmonicBound self) -> std::string"""
15747 return _IMP_core.TruncatedHarmonicBound___str__(self)
15750 def __repr__(self):
15751 """__repr__(TruncatedHarmonicBound self) -> std::string"""
15752 return _IMP_core.TruncatedHarmonicBound___repr__(self)
15757 return _object_cast_to_TruncatedHarmonic(o)
15759 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
15760 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
15763 """Proxy of C++ IMP::Key<(34897493)> class."""
15765 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15767 def __init__(self, *args):
15769 __init__(IMP::Key<(34897493)> self) -> ParticleType
15770 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
15771 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
15772 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
15774 this = _IMP_core.new_ParticleType(*args)
15776 self.this.append(this)
15777 except __builtin__.Exception:
15781 """add_key(std::string sc) -> unsigned int"""
15782 return _IMP_core.ParticleType_add_key(sc)
15784 add_key = staticmethod(add_key)
15786 def get_key_exists(sc):
15787 """get_key_exists(std::string sc) -> bool"""
15788 return _IMP_core.ParticleType_get_key_exists(sc)
15790 get_key_exists = staticmethod(get_key_exists)
15792 def get_string(self):
15793 """get_string(ParticleType self) -> std::string const"""
15794 return _IMP_core.ParticleType_get_string(self)
15797 def __cmp__(self, o):
15798 """__cmp__(ParticleType self, ParticleType o) -> int"""
15799 return _IMP_core.ParticleType___cmp__(self, o)
15802 def __eq__(self, o):
15803 """__eq__(ParticleType self, ParticleType o) -> bool"""
15804 return _IMP_core.ParticleType___eq__(self, o)
15807 def __ne__(self, o):
15808 """__ne__(ParticleType self, ParticleType o) -> bool"""
15809 return _IMP_core.ParticleType___ne__(self, o)
15812 def __lt__(self, o):
15813 """__lt__(ParticleType self, ParticleType o) -> bool"""
15814 return _IMP_core.ParticleType___lt__(self, o)
15817 def __gt__(self, o):
15818 """__gt__(ParticleType self, ParticleType o) -> bool"""
15819 return _IMP_core.ParticleType___gt__(self, o)
15822 def __ge__(self, o):
15823 """__ge__(ParticleType self, ParticleType o) -> bool"""
15824 return _IMP_core.ParticleType___ge__(self, o)
15827 def __le__(self, o):
15828 """__le__(ParticleType self, ParticleType o) -> bool"""
15829 return _IMP_core.ParticleType___le__(self, o)
15832 def __hash__(self):
15833 """__hash__(ParticleType self) -> std::size_t"""
15834 return _IMP_core.ParticleType___hash__(self)
15837 def show(self, *args):
15839 show(ParticleType self, _ostream out)
15840 show(ParticleType self)
15842 return _IMP_core.ParticleType_show(self, *args)
15845 def add_alias(old_key, new_name):
15846 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15847 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15849 add_alias = staticmethod(add_alias)
15851 def get_number_of_keys():
15852 """get_number_of_keys() -> unsigned int"""
15853 return _IMP_core.ParticleType_get_number_of_keys()
15855 get_number_of_keys = staticmethod(get_number_of_keys)
15858 """get_index(ParticleType self) -> unsigned int"""
15859 return _IMP_core.ParticleType_get_index(self)
15863 """show_all(_ostream out)"""
15864 return _IMP_core.ParticleType_show_all(out)
15866 show_all = staticmethod(show_all)
15868 def get_all_strings():
15869 """get_all_strings() -> IMP::Vector< std::string >"""
15870 return _IMP_core.ParticleType_get_all_strings()
15872 get_all_strings = staticmethod(get_all_strings)
15874 def get_number_unique():
15875 """get_number_unique() -> unsigned int"""
15876 return _IMP_core.ParticleType_get_number_unique()
15878 get_number_unique = staticmethod(get_number_unique)
15881 """__str__(ParticleType self) -> std::string"""
15882 return _IMP_core.ParticleType___str__(self)
15885 def __repr__(self):
15886 """__repr__(ParticleType self) -> std::string"""
15887 return _IMP_core.ParticleType___repr__(self)
15889 __swig_destroy__ = _IMP_core.delete_ParticleType
15890 __del__ =
lambda self:
None
15891 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
15892 ParticleType_swigregister(ParticleType)
15894 def ParticleType_add_key(sc):
15895 """ParticleType_add_key(std::string sc) -> unsigned int"""
15896 return _IMP_core.ParticleType_add_key(sc)
15898 def ParticleType_get_key_exists(sc):
15899 """ParticleType_get_key_exists(std::string sc) -> bool"""
15900 return _IMP_core.ParticleType_get_key_exists(sc)
15902 def ParticleType_add_alias(old_key, new_name):
15903 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15904 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15906 def ParticleType_get_number_of_keys():
15907 """ParticleType_get_number_of_keys() -> unsigned int"""
15908 return _IMP_core.ParticleType_get_number_of_keys()
15910 def ParticleType_show_all(out):
15911 """ParticleType_show_all(_ostream out)"""
15912 return _IMP_core.ParticleType_show_all(out)
15914 def ParticleType_get_all_strings():
15915 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
15916 return _IMP_core.ParticleType_get_all_strings()
15918 def ParticleType_get_number_unique():
15919 """ParticleType_get_number_unique() -> unsigned int"""
15920 return _IMP_core.ParticleType_get_number_unique()
15923 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
15925 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15926 __repr__ = _swig_repr
15928 def __init__(self, f, k):
15929 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
15930 this = _IMP_core.new_AttributeSingletonScore(f, k)
15932 self.this.append(this)
15933 except __builtin__.Exception:
15936 def do_get_inputs(self, m, pis):
15937 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15938 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
15941 def get_unary_function(self):
15942 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
15943 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
15946 def get_version_info(self):
15947 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
15948 return _IMP_core.AttributeSingletonScore_get_version_info(self)
15950 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
15951 AttributeSingletonScore_swigregister(AttributeSingletonScore)
15955 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
15956 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
15958 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
15960 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15961 __repr__ = _swig_repr
15963 def __init__(self, f, bb):
15964 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
15965 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
15967 self.this.append(this)
15968 except __builtin__.Exception:
15971 def do_get_inputs(self, m, pis):
15972 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15973 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
15976 def get_version_info(self):
15977 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
15978 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
15980 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
15981 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
15984 def create_bounding_box_3d_singleton_score(f, bb):
15985 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
15986 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
15988 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
15990 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15991 __repr__ = _swig_repr
15993 def __init__(self, f, pt):
15994 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
15995 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
15997 self.this.append(this)
15998 except __builtin__.Exception:
16001 def do_get_inputs(self, m, pis):
16002 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16003 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16006 def get_version_info(self):
16007 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16008 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16010 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16011 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16014 def create_distance_to_singleton_score(f, pt):
16015 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16016 return _IMP_core.create_distance_to_singleton_score(f, pt)
16020 CombineProvenance, FilterProvenance,
16021 ClusterProvenance, ScriptProvenance,
16022 SoftwareProvenance]):
16023 """Yield all provenance decorators of the given types for the particle.
16024 By default, all provenance types are returned. Provenance is returned
16025 in order, most recent first. If the particle has no provenance
16026 information, an empty generator is returned."""
16027 if Provenanced.get_is_setup(p):
16031 if c.get_is_setup(prov):
16033 prov = prov.get_previous()
16036 """Tag the given particle with the current Python script.
16037 This is a noop if the particle is already so tagged."""
16038 main = sys.modules[
'__main__']
16040 if not hasattr(main,
'__file__'):
16044 if prov.get_filename() == f:
16048 provp.set_name(
'script')
16049 prov = ScriptProvenance.setup_particle(provp, f)
16053 """Tag the given particle with the software used to create it.
16054 This is a noop if the particle is already so tagged."""
16056 if prov.get_software_name() == name
and prov.get_version() == version \
16057 and prov.get_location() == location:
16061 provp.set_name(
'software')
16062 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16066 """Tag the given particle as being created by the current version of IMP."""
16069 location=
"https://integrativemodeling.org")
16072 def get_module_version():
16073 """get_module_version() -> std::string const"""
16074 return _IMP_core.get_module_version()
16077 """get_example_path(std::string fname) -> std::string"""
16078 return _IMP_core.get_example_path(fname)
16081 """get_data_path(std::string fname) -> std::string"""
16082 return _IMP_core.get_data_path(fname)
16084 from .
import _version_check
16085 _version_check.check_version(get_module_version())
16086 __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.