10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_core')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_core')
25 _IMP_core = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
43 _IMP_core = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_CORE_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
126 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
131 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
132 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
134 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
139 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
140 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
142 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
151 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
152 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
156 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
157 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
161 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
162 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
166 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
167 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
171 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
172 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
177 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
182 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
187 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
192 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
197 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
202 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
208 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
214 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
215 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
223 IMP_DEBUG = _IMP_core.IMP_DEBUG
224 IMP_RELEASE = _IMP_core.IMP_RELEASE
225 IMP_SILENT = _IMP_core.IMP_SILENT
226 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
227 IMP_TERSE = _IMP_core.IMP_TERSE
228 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
229 IMP_MEMORY = _IMP_core.IMP_MEMORY
230 IMP_NONE = _IMP_core.IMP_NONE
231 IMP_USAGE = _IMP_core.IMP_USAGE
232 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_core.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_core._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_core._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_core.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_core.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_core.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
330 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
331 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
332 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
333 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
334 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
335 IMP_CORE_HAS_NUMPY = _IMP_core.IMP_CORE_HAS_NUMPY
336 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
338 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class."""
340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
341 __repr__ = _swig_repr
343 def __init__(self, *args):
345 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
346 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
348 this = _IMP_core.new__OpenCubicSplineBase(*args)
350 self.this.append(this)
351 except __builtin__.Exception:
354 def get_version_info(self):
355 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
356 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
358 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
359 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
362 _object_types.append(
"MonteCarloMover")
365 def _object_cast_to_MonteCarloMover(o):
366 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
367 return _IMP_core._object_cast_to_MonteCarloMover(o)
369 MonteCarloMoverResults=list
370 _plural_types.append(
"MonteCarloMoverResults")
371 _value_types.append(
"MonteCarloMoverResult")
374 _object_types.append(
"AngleRestraint")
377 def _object_cast_to_AngleRestraint(o):
378 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
379 return _IMP_core._object_cast_to_AngleRestraint(o)
381 _object_types.append(
"AngleTripletScore")
384 def _object_cast_to_AngleTripletScore(o):
385 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
386 return _IMP_core._object_cast_to_AngleTripletScore(o)
388 _object_types.append(
"AttributeSingletonScore")
391 def _object_cast_to_AttributeSingletonScore(o):
392 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
393 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
395 _object_types.append(
"BallMover")
398 def _object_cast_to_BallMover(o):
399 """_object_cast_to_BallMover(Object o) -> BallMover"""
400 return _IMP_core._object_cast_to_BallMover(o)
402 _object_types.append(
"SerialMover")
405 def _object_cast_to_SerialMover(o):
406 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
407 return _IMP_core._object_cast_to_SerialMover(o)
409 _object_types.append(
"SubsetMover")
412 def _object_cast_to_SubsetMover(o):
413 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
414 return _IMP_core._object_cast_to_SubsetMover(o)
416 _object_types.append(
"DirectionMover")
419 def _object_cast_to_DirectionMover(o):
420 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
421 return _IMP_core._object_cast_to_DirectionMover(o)
423 _object_types.append(
"SurfaceMover")
426 def _object_cast_to_SurfaceMover(o):
427 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
428 return _IMP_core._object_cast_to_SurfaceMover(o)
430 _object_types.append(
"BoundingBox3DSingletonScore")
433 def _object_cast_to_BoundingBox3DSingletonScore(o):
434 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
435 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
437 _object_types.append(
"BoundingSphere3DSingletonScore")
440 def _object_cast_to_BoundingSphere3DSingletonScore(o):
441 """_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
442 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
444 _object_types.append(
"BoxSweepClosePairsFinder")
447 def _object_cast_to_BoxSweepClosePairsFinder(o):
448 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
449 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
451 _object_types.append(
"NearestNeighborsClosePairsFinder")
454 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
455 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
456 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
458 _object_types.append(
"CentroidOfRefined")
461 def _object_cast_to_CentroidOfRefined(o):
462 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
463 return _IMP_core._object_cast_to_CentroidOfRefined(o)
465 _object_types.append(
"ChecksScoreState")
468 def _object_cast_to_ChecksScoreState(o):
469 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
470 return _IMP_core._object_cast_to_ChecksScoreState(o)
472 _object_types.append(
"ChildrenRefiner")
475 def _object_cast_to_ChildrenRefiner(o):
476 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
477 return _IMP_core._object_cast_to_ChildrenRefiner(o)
479 _object_types.append(
"ClosePairsFinder")
482 def _object_cast_to_ClosePairsFinder(o):
483 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
484 return _IMP_core._object_cast_to_ClosePairsFinder(o)
486 _object_types.append(
"ClosePairsPairScore")
489 def _object_cast_to_ClosePairsPairScore(o):
490 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
491 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
493 _object_types.append(
"ClosedCubicSpline")
496 def _object_cast_to_ClosedCubicSpline(o):
497 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
498 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
500 _object_types.append(
"ConjugateGradients")
503 def _object_cast_to_ConjugateGradients(o):
504 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
505 return _IMP_core._object_cast_to_ConjugateGradients(o)
507 _object_types.append(
"ConnectivityRestraint")
510 def _object_cast_to_ConnectivityRestraint(o):
511 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
512 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
514 _object_types.append(
"ConstantRestraint")
517 def _object_cast_to_ConstantRestraint(o):
518 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
519 return _IMP_core._object_cast_to_ConstantRestraint(o)
521 _object_types.append(
"Cosine")
524 def _object_cast_to_Cosine(o):
525 """_object_cast_to_Cosine(Object o) -> Cosine"""
526 return _IMP_core._object_cast_to_Cosine(o)
528 _object_types.append(
"CoverRefined")
531 def _object_cast_to_CoverRefined(o):
532 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
533 return _IMP_core._object_cast_to_CoverRefined(o)
535 _object_types.append(
"DerivativesFromRefined")
538 def _object_cast_to_DerivativesFromRefined(o):
539 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
540 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
542 _object_types.append(
"DerivativesToRefined")
545 def _object_cast_to_DerivativesToRefined(o):
546 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
547 return _IMP_core._object_cast_to_DerivativesToRefined(o)
549 _object_types.append(
"WeightedDerivativesToRefined")
552 def _object_cast_to_WeightedDerivativesToRefined(o):
553 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
554 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
556 _object_types.append(
"DiameterRestraint")
559 def _object_cast_to_DiameterRestraint(o):
560 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
561 return _IMP_core._object_cast_to_DiameterRestraint(o)
563 _object_types.append(
"DihedralRestraint")
566 def _object_cast_to_DihedralRestraint(o):
567 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
568 return _IMP_core._object_cast_to_DihedralRestraint(o)
570 _object_types.append(
"DistanceRestraint")
573 def _object_cast_to_DistanceRestraint(o):
574 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
575 return _IMP_core._object_cast_to_DistanceRestraint(o)
577 _object_types.append(
"DistanceToSingletonScore")
580 def _object_cast_to_DistanceToSingletonScore(o):
581 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
582 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
584 _object_types.append(
"ExcludedVolumeRestraint")
587 def _object_cast_to_ExcludedVolumeRestraint(o):
588 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
589 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
591 _object_types.append(
"FixedRefiner")
594 def _object_cast_to_FixedRefiner(o):
595 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
596 return _IMP_core._object_cast_to_FixedRefiner(o)
598 _object_types.append(
"GridClosePairsFinder")
601 def _object_cast_to_GridClosePairsFinder(o):
602 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
603 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
605 _object_types.append(
"Harmonic")
608 def _object_cast_to_Harmonic(o):
609 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
610 return _IMP_core._object_cast_to_Harmonic(o)
612 _object_types.append(
"HarmonicWell")
615 def _object_cast_to_HarmonicWell(o):
616 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
617 return _IMP_core._object_cast_to_HarmonicWell(o)
619 _object_types.append(
"HarmonicLowerBound")
622 def _object_cast_to_HarmonicLowerBound(o):
623 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
624 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
626 _object_types.append(
"HarmonicUpperBound")
629 def _object_cast_to_HarmonicUpperBound(o):
630 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
631 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
633 _object_types.append(
"HarmonicSphereDistancePairScore")
636 def _object_cast_to_HarmonicSphereDistancePairScore(o):
637 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
638 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
640 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
643 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
644 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
645 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
647 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
650 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
651 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
652 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
654 _object_types.append(
"HarmonicSurfaceDistancePairScore")
657 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
658 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
659 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
661 _object_types.append(
"HarmonicSurfaceHeightPairScore")
664 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
665 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
666 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
668 _object_types.append(
"HarmonicSurfaceDepthPairScore")
671 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
672 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
673 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
675 _object_types.append(
"WeightedSum")
678 def _object_cast_to_WeightedSum(o):
679 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
680 return _IMP_core._object_cast_to_WeightedSum(o)
682 _object_types.append(
"WeightedSumOfExponential")
685 def _object_cast_to_WeightedSumOfExponential(o):
686 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
687 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
689 _object_types.append(
"IncrementalScoringFunction")
692 def _object_cast_to_IncrementalScoringFunction(o):
693 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
694 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
696 _object_types.append(
"KClosePairsPairScore")
699 def _object_cast_to_KClosePairsPairScore(o):
700 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
701 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
703 _object_types.append(
"LeavesRefiner")
706 def _object_cast_to_LeavesRefiner(o):
707 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
708 return _IMP_core._object_cast_to_LeavesRefiner(o)
710 _object_types.append(
"Linear")
713 def _object_cast_to_Linear(o):
714 """_object_cast_to_Linear(Object o) -> Linear"""
715 return _IMP_core._object_cast_to_Linear(o)
717 _object_types.append(
"LogNormalMover")
720 def _object_cast_to_LogNormalMover(o):
721 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
722 return _IMP_core._object_cast_to_LogNormalMover(o)
724 _object_types.append(
"MCCGSampler")
727 def _object_cast_to_MCCGSampler(o):
728 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
729 return _IMP_core._object_cast_to_MCCGSampler(o)
731 _object_types.append(
"MonteCarlo")
734 def _object_cast_to_MonteCarlo(o):
735 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
736 return _IMP_core._object_cast_to_MonteCarlo(o)
738 _object_types.append(
"MonteCarloWithLocalOptimization")
741 def _object_cast_to_MonteCarloWithLocalOptimization(o):
742 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
743 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
745 _object_types.append(
"MonteCarloWithBasinHopping")
748 def _object_cast_to_MonteCarloWithBasinHopping(o):
749 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
750 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
752 _object_types.append(
"MSConnectivityRestraint")
755 def _object_cast_to_MSConnectivityRestraint(o):
756 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
757 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
759 _object_types.append(
"NeighborsTable")
762 def _object_cast_to_NeighborsTable(o):
763 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
764 return _IMP_core._object_cast_to_NeighborsTable(o)
766 _object_types.append(
"NormalMover")
769 def _object_cast_to_NormalMover(o):
770 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
771 return _IMP_core._object_cast_to_NormalMover(o)
773 _object_types.append(
"NormalizedSphereDistancePairScore")
776 def _object_cast_to_NormalizedSphereDistancePairScore(o):
777 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
778 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
780 _object_types.append(
"OpenCubicSpline")
783 def _object_cast_to_OpenCubicSpline(o):
784 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
785 return _IMP_core._object_cast_to_OpenCubicSpline(o)
787 _object_types.append(
"PairConstraint")
790 def _object_cast_to_PairConstraint(o):
791 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
792 return _IMP_core._object_cast_to_PairConstraint(o)
794 _object_types.append(
"PairRestraint")
797 def _object_cast_to_PairRestraint(o):
798 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
799 return _IMP_core._object_cast_to_PairRestraint(o)
801 _object_types.append(
"QuadConstraint")
804 def _object_cast_to_QuadConstraint(o):
805 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
806 return _IMP_core._object_cast_to_QuadConstraint(o)
808 _object_types.append(
"QuadRestraint")
811 def _object_cast_to_QuadRestraint(o):
812 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
813 return _IMP_core._object_cast_to_QuadRestraint(o)
815 _object_types.append(
"QuadraticClosePairsFinder")
818 def _object_cast_to_QuadraticClosePairsFinder(o):
819 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
820 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
822 _object_types.append(
"RefinedPairsPairScore")
825 def _object_cast_to_RefinedPairsPairScore(o):
826 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
827 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
829 _object_types.append(
"RestraintsScoringFunction")
832 def _object_cast_to_RestraintsScoringFunction(o):
833 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
834 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
836 _object_types.append(
"RigidBodyDistancePairScore")
839 def _object_cast_to_RigidBodyDistancePairScore(o):
840 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
841 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
843 _object_types.append(
"RigidBodyAnglePairScore")
846 def _object_cast_to_RigidBodyAnglePairScore(o):
847 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
848 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
850 _object_types.append(
"RigidBodyMover")
853 def _object_cast_to_RigidBodyMover(o):
854 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
855 return _IMP_core._object_cast_to_RigidBodyMover(o)
857 _object_types.append(
"RigidBodyTunneler")
860 def _object_cast_to_RigidBodyTunneler(o):
861 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
862 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
864 _object_types.append(
"RigidBodyUmbrella")
867 def _object_cast_to_RigidBodyUmbrella(o):
868 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
869 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
871 _object_types.append(
"RigidClosePairsFinder")
874 def _object_cast_to_RigidClosePairsFinder(o):
875 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
876 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
878 _object_types.append(
"RigidMembersRefiner")
881 def _object_cast_to_RigidMembersRefiner(o):
882 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
883 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
885 _object_types.append(
"SingletonConstraint")
888 def _object_cast_to_SingletonConstraint(o):
889 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
890 return _IMP_core._object_cast_to_SingletonConstraint(o)
892 _object_types.append(
"SingletonRestraint")
895 def _object_cast_to_SingletonRestraint(o):
896 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
897 return _IMP_core._object_cast_to_SingletonRestraint(o)
899 _object_types.append(
"SoftSpherePairScore")
902 def _object_cast_to_SoftSpherePairScore(o):
903 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
904 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
906 _object_types.append(
"SphereDistancePairScore")
909 def _object_cast_to_SphereDistancePairScore(o):
910 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
911 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
913 _object_types.append(
"SphereDistanceToSingletonScore")
916 def _object_cast_to_SphereDistanceToSingletonScore(o):
917 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
918 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
920 _object_types.append(
"SoftSubSurfacePairScore")
923 def _object_cast_to_SoftSubSurfacePairScore(o):
924 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
925 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
927 _object_types.append(
"SoftSuperSurfacePairScore")
930 def _object_cast_to_SoftSuperSurfacePairScore(o):
931 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
932 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
934 _object_types.append(
"SurfaceDistancePairScore")
937 def _object_cast_to_SurfaceDistancePairScore(o):
938 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
939 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
941 _object_types.append(
"SurfaceHeightPairScore")
944 def _object_cast_to_SurfaceHeightPairScore(o):
945 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
946 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
948 _object_types.append(
"SurfaceDepthPairScore")
951 def _object_cast_to_SurfaceDepthPairScore(o):
952 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
953 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
955 _object_types.append(
"SurfaceTetheredChain")
958 def _object_cast_to_SurfaceTetheredChain(o):
959 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
960 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
962 _object_types.append(
"SurfaceSymmetryConstraint")
965 def _object_cast_to_SurfaceSymmetryConstraint(o):
966 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
967 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
969 _object_types.append(
"SteepestDescent")
972 def _object_cast_to_SteepestDescent(o):
973 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
974 return _IMP_core._object_cast_to_SteepestDescent(o)
976 _object_types.append(
"TableRefiner")
979 def _object_cast_to_TableRefiner(o):
980 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
981 return _IMP_core._object_cast_to_TableRefiner(o)
983 _object_types.append(
"Transform")
986 def _object_cast_to_Transform(o):
987 """_object_cast_to_Transform(Object o) -> Transform"""
988 return _IMP_core._object_cast_to_Transform(o)
990 _object_types.append(
"TransformationAndReflectionSymmetry")
993 def _object_cast_to_TransformationAndReflectionSymmetry(o):
994 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
995 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
997 _object_types.append(
"TransformationSymmetry")
1000 def _object_cast_to_TransformationSymmetry(o):
1001 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
1002 return _IMP_core._object_cast_to_TransformationSymmetry(o)
1004 _object_types.append(
"TransformationSymmetryMover")
1007 def _object_cast_to_TransformationSymmetryMover(o):
1008 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1009 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1011 _object_types.append(
"TransformedDistancePairScore")
1014 def _object_cast_to_TransformedDistancePairScore(o):
1015 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1016 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1018 _object_types.append(
"TripletConstraint")
1021 def _object_cast_to_TripletConstraint(o):
1022 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1023 return _IMP_core._object_cast_to_TripletConstraint(o)
1025 _object_types.append(
"TripletRestraint")
1028 def _object_cast_to_TripletRestraint(o):
1029 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1030 return _IMP_core._object_cast_to_TripletRestraint(o)
1032 _object_types.append(
"TypedPairScore")
1035 def _object_cast_to_TypedPairScore(o):
1036 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1037 return _IMP_core._object_cast_to_TypedPairScore(o)
1039 _object_types.append(
"VolumeRestraint")
1042 def _object_cast_to_VolumeRestraint(o):
1043 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1044 return _IMP_core._object_cast_to_VolumeRestraint(o)
1046 _object_types.append(
"WeightedSphereDistancePairScore")
1049 def _object_cast_to_WeightedSphereDistancePairScore(o):
1050 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1051 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1053 _object_types.append(
"MoveStatisticsScoreState")
1056 def _object_cast_to_MoveStatisticsScoreState(o):
1057 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1058 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1060 _object_types.append(
"MinimumRestraint")
1063 def _object_cast_to_MinimumRestraint(o):
1064 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1065 return _IMP_core._object_cast_to_MinimumRestraint(o)
1067 _object_types.append(
"WriteRestraintScoresOptimizerState")
1070 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1071 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1072 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1074 _object_types.append(
"LateralSurfaceConstraint")
1077 def _object_cast_to_LateralSurfaceConstraint(o):
1078 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1079 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1081 _object_types.append(
"ConstantSingletonPredicate")
1084 def _object_cast_to_ConstantSingletonPredicate(o):
1085 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1086 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1088 _object_types.append(
"ConstantPairPredicate")
1091 def _object_cast_to_ConstantPairPredicate(o):
1092 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1093 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1095 _object_types.append(
"ConstantTripletPredicate")
1098 def _object_cast_to_ConstantTripletPredicate(o):
1099 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1100 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1102 _object_types.append(
"ConstantQuadPredicate")
1105 def _object_cast_to_ConstantQuadPredicate(o):
1106 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1107 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1109 _object_types.append(
"CoinFlipSingletonPredicate")
1112 def _object_cast_to_CoinFlipSingletonPredicate(o):
1113 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1114 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1116 _object_types.append(
"CoinFlipPairPredicate")
1119 def _object_cast_to_CoinFlipPairPredicate(o):
1120 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1121 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1123 _object_types.append(
"CoinFlipTripletPredicate")
1126 def _object_cast_to_CoinFlipTripletPredicate(o):
1127 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1128 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1130 _object_types.append(
"CoinFlipQuadPredicate")
1133 def _object_cast_to_CoinFlipQuadPredicate(o):
1134 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1135 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1137 _object_types.append(
"UnorderedTypeSingletonPredicate")
1140 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1141 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1142 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1144 _object_types.append(
"UnorderedTypePairPredicate")
1147 def _object_cast_to_UnorderedTypePairPredicate(o):
1148 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1149 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1151 _object_types.append(
"UnorderedTypeTripletPredicate")
1154 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1155 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1156 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1158 _object_types.append(
"UnorderedTypeQuadPredicate")
1161 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1162 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1163 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1165 _object_types.append(
"OrderedTypeSingletonPredicate")
1168 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1169 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1170 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1172 _object_types.append(
"OrderedTypePairPredicate")
1175 def _object_cast_to_OrderedTypePairPredicate(o):
1176 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1177 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1179 _object_types.append(
"OrderedTypeTripletPredicate")
1182 def _object_cast_to_OrderedTypeTripletPredicate(o):
1183 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1184 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1186 _object_types.append(
"OrderedTypeQuadPredicate")
1189 def _object_cast_to_OrderedTypeQuadPredicate(o):
1190 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1191 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1193 _object_types.append(
"AllSameSingletonPredicate")
1196 def _object_cast_to_AllSameSingletonPredicate(o):
1197 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1198 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1200 _object_types.append(
"AllSamePairPredicate")
1203 def _object_cast_to_AllSamePairPredicate(o):
1204 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1205 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1207 _object_types.append(
"AllSameTripletPredicate")
1210 def _object_cast_to_AllSameTripletPredicate(o):
1211 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1212 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1214 _object_types.append(
"AllSameQuadPredicate")
1217 def _object_cast_to_AllSameQuadPredicate(o):
1218 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1219 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1222 return [XYZ(x)
for x
in l]
1223 _plural_types.append(
"XYZs")
1226 _value_types.append(
"XYZ")
1230 return [XYZR(x)
for x
in l]
1231 _plural_types.append(
"XYZRs")
1234 _value_types.append(
"XYZR")
1237 def RigidBodies(l=[]):
1238 return [RigidBody(x)
for x
in l]
1239 _plural_types.append(
"RigidBodies")
1242 _value_types.append(
"RigidBody")
1245 def RigidBodyMembers(l=[]):
1246 return [RigidBodyMember(x)
for x
in l]
1247 _plural_types.append(
"RigidBodyMembers")
1250 _value_types.append(
"RigidBodyMember")
1253 def RigidMembers(l=[]):
1254 return [RigidMember(x)
for x
in l]
1255 _plural_types.append(
"RigidMembers")
1258 _value_types.append(
"RigidMember")
1261 def NonRigidMembers(l=[]):
1262 return [NonRigidMember(x)
for x
in l]
1263 _plural_types.append(
"NonRigidMembers")
1266 _value_types.append(
"NonRigidMember")
1269 def Centroids(l=[]):
1270 return [Centroid(x)
for x
in l]
1271 _plural_types.append(
"Centroids")
1274 _value_types.append(
"Centroid")
1278 return [Cover(x)
for x
in l]
1279 _plural_types.append(
"Covers")
1282 _value_types.append(
"Cover")
1285 def References(l=[]):
1286 return [Reference(x)
for x
in l]
1287 _plural_types.append(
"References")
1290 _value_types.append(
"Reference")
1294 _plural_types.append(
"ParticleTypes")
1295 _value_types.append(
"ParticleType")
1299 return [Typed(x)
for x
in l]
1300 _plural_types.append(
"Typeds")
1303 _value_types.append(
"Typed")
1306 def GenericHierarchies(l=[]):
1307 return [Hierarchy(x)
for x
in l]
1308 _plural_types.append(
"GenericHierarchies")
1311 _value_types.append(
"Hierarchy")
1314 def Gaussians(l=[]):
1315 return [Gaussian(x)
for x
in l]
1316 _plural_types.append(
"Gaussians")
1319 _value_types.append(
"Gaussian")
1322 def Directions(l=[]):
1323 return [Direction(x)
for x
in l]
1324 _plural_types.append(
"Directions")
1327 _value_types.append(
"Direction")
1330 def DirectionAngles(l=[]):
1331 return [DirectionAngle(x)
for x
in l]
1332 _plural_types.append(
"DirectionAngles")
1335 _value_types.append(
"DirectionAngle")
1339 return [Surface(x)
for x
in l]
1340 _plural_types.append(
"Surfaces")
1343 _value_types.append(
"Surface")
1346 def Provenances(l=[]):
1347 return [Provenance(x)
for x
in l]
1348 _plural_types.append(
"Provenances")
1351 _value_types.append(
"Provenance")
1354 def StructureProvenances(l=[]):
1355 return [StructureProvenance(x)
for x
in l]
1356 _plural_types.append(
"StructureProvenances")
1359 _value_types.append(
"StructureProvenance")
1362 def SampleProvenances(l=[]):
1363 return [SampleProvenance(x)
for x
in l]
1364 _plural_types.append(
"SampleProvenances")
1367 _value_types.append(
"SampleProvenance")
1370 def ClusterProvenances(l=[]):
1371 return [ClusterProvenance(x)
for x
in l]
1372 _plural_types.append(
"ClusterProvenances")
1375 _value_types.append(
"ClusterProvenance")
1378 def CombineProvenances(l=[]):
1379 return [CombineProvenance(x)
for x
in l]
1380 _plural_types.append(
"CombineProvenances")
1383 _value_types.append(
"CombineProvenance")
1386 def FilterProvenances(l=[]):
1387 return [FilterProvenance(x)
for x
in l]
1388 _plural_types.append(
"FilterProvenances")
1391 _value_types.append(
"FilterProvenance")
1394 def ScriptProvenances(l=[]):
1395 return [ScriptProvenance(x)
for x
in l]
1396 _plural_types.append(
"ScriptProvenances")
1399 _value_types.append(
"ScriptProvenance")
1402 def SoftwareProvenances(l=[]):
1403 return [SoftwareProvenance(x)
for x
in l]
1404 _plural_types.append(
"SoftwareProvenances")
1407 _value_types.append(
"SoftwareProvenance")
1410 def Provenanceds(l=[]):
1411 return [Provenanced(x)
for x
in l]
1412 _plural_types.append(
"Provenanceds")
1415 _value_types.append(
"Provenanced")
1418 HierarchyCounters=list
1419 _plural_types.append(
"HierarchyCounters")
1420 _value_types.append(
"HierarchyCounter")
1423 HierarchyTraitsList=list
1424 _plural_types.append(
"HierarchyTraitsList")
1425 _value_types.append(
"HierarchyTraits")
1428 _object_types.append(
"TruncatedHarmonicBound")
1431 def _object_cast_to_TruncatedHarmonicBound(o):
1432 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1433 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1435 _object_types.append(
"TruncatedHarmonicLowerBound")
1438 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1439 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1440 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1442 _object_types.append(
"TruncatedHarmonicUpperBound")
1445 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1446 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1447 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1449 _object_types.append(
"HarmonicDistancePairScore")
1452 def _object_cast_to_HarmonicDistancePairScore(o):
1453 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1454 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1456 _object_types.append(
"DistancePairScore")
1459 def _object_cast_to_DistancePairScore(o):
1460 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1461 return _IMP_core._object_cast_to_DistancePairScore(o)
1463 _object_types.append(
"XYZRGeometry")
1466 def _object_cast_to_XYZRGeometry(o):
1467 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1468 return _IMP_core._object_cast_to_XYZRGeometry(o)
1470 _object_types.append(
"XYZRsGeometry")
1473 def _object_cast_to_XYZRsGeometry(o):
1474 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1475 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1477 _object_types.append(
"XYZDerivativeGeometry")
1480 def _object_cast_to_XYZDerivativeGeometry(o):
1481 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1482 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1484 _object_types.append(
"XYZDerivativesGeometry")
1487 def _object_cast_to_XYZDerivativesGeometry(o):
1488 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1489 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1491 _object_types.append(
"RigidBodyDerivativeGeometry")
1494 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1495 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1496 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1498 _object_types.append(
"RigidBodyDerivativesGeometry")
1501 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1502 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1503 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1505 _object_types.append(
"RigidBodyHierarchyGeometry")
1508 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1509 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1510 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1512 _object_types.append(
"RigidBodyFrameGeometry")
1515 def _object_cast_to_RigidBodyFrameGeometry(o):
1516 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1517 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1519 _object_types.append(
"RigidBodyFramesGeometry")
1522 def _object_cast_to_RigidBodyFramesGeometry(o):
1523 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1524 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1526 _object_types.append(
"RigidBodyTorque")
1529 def _object_cast_to_RigidBodyTorque(o):
1530 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1531 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1533 _object_types.append(
"EdgePairGeometry")
1536 def _object_cast_to_EdgePairGeometry(o):
1537 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1538 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1540 _object_types.append(
"EdgePairsGeometry")
1543 def _object_cast_to_EdgePairsGeometry(o):
1544 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1545 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1547 _object_types.append(
"SurfaceGeometry")
1550 def _object_cast_to_SurfaceGeometry(o):
1551 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1552 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1554 _object_types.append(
"SurfaceGeometryConstraint")
1557 def _object_cast_to_SurfaceGeometryConstraint(o):
1558 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1559 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1561 _object_types.append(
"AttributeSingletonPredicate")
1564 def _object_cast_to_AttributeSingletonPredicate(o):
1565 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1566 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1568 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1571 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1572 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1573 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1575 _object_types.append(
"IsCollisionPairPredicate")
1578 def _object_cast_to_IsCollisionPairPredicate(o):
1579 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1580 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1582 BinormalTermList=list
1583 _plural_types.append(
"BinormalTermList")
1584 _value_types.append(
"BinormalTerm")
1587 _object_types.append(
"MultipleBinormalRestraint")
1590 def _object_cast_to_MultipleBinormalRestraint(o):
1591 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1592 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1593 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1594 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1598 def __init__(self, *args, **kwargs):
1599 raise AttributeError(
"No constructor defined - class is abstract")
1600 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1601 __del__ =
lambda self:
None
1603 def get_close_pairs(self, *args):
1605 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1606 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1607 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1608 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1610 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1613 def set_distance(self, d):
1614 """set_distance(ClosePairsFinder self, double d)"""
1615 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1619 """get_distance(ClosePairsFinder self) -> double"""
1620 return _IMP_core.ClosePairsFinder_get_distance(self)
1623 def remove_pair_filter(self, d):
1624 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1625 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1628 def remove_pair_filters(self, d):
1629 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1630 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1633 def set_pair_filters(self, ps):
1634 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1635 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1638 def set_pair_filters_order(self, objs):
1639 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1640 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1643 def add_pair_filter(self, obj):
1644 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1645 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1648 def add_pair_filters(self, objs):
1649 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1650 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1653 def clear_pair_filters(self):
1654 """clear_pair_filters(ClosePairsFinder self)"""
1655 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1658 def get_number_of_pair_filters(self):
1659 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1660 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1663 def get_has_pair_filters(self):
1664 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1665 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1668 def get_pair_filter(self, i):
1669 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1670 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1673 def get_pair_filters(self):
1674 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1675 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1678 def reserve_pair_filters(self, sz):
1679 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1680 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1684 """__str__(ClosePairsFinder self) -> std::string"""
1685 return _IMP_core.ClosePairsFinder___str__(self)
1689 """__repr__(ClosePairsFinder self) -> std::string"""
1690 return _IMP_core.ClosePairsFinder___repr__(self)
1695 return _object_cast_to_ClosePairsFinder(o)
1697 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1698 ClosePairsFinder_swigregister(ClosePairsFinder)
1700 class MonteCarloMoverResult(IMP._Value):
1701 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1705 def __init__(self, *args):
1707 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1708 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1709 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1711 this = _IMP_core.new_MonteCarloMoverResult(*args)
1713 self.this.append(this)
1714 except __builtin__.Exception:
1718 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1719 return _IMP_core.MonteCarloMoverResult___hash__(self)
1722 def show(self, *args):
1724 show(MonteCarloMoverResult self, _ostream out)
1725 show(MonteCarloMoverResult self)
1727 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1730 def __cmp__(self, o):
1731 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1732 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1735 def __eq__(self, o):
1736 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1737 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1740 def __ne__(self, o):
1741 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1742 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1745 def __lt__(self, o):
1746 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1747 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1750 def __gt__(self, o):
1751 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1752 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1755 def __ge__(self, o):
1756 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1757 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1760 def __le__(self, o):
1761 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1762 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1765 def get_moved_particles(self):
1766 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1767 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1770 def set_moved_particles(self, v):
1771 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1772 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1775 def get_proposal_ratio(self):
1776 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1777 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1780 def set_proposal_ratio(self, v):
1781 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1782 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1786 """__str__(MonteCarloMoverResult self) -> std::string"""
1787 return _IMP_core.MonteCarloMoverResult___str__(self)
1791 """__repr__(MonteCarloMoverResult self) -> std::string"""
1792 return _IMP_core.MonteCarloMoverResult___repr__(self)
1794 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1795 __del__ =
lambda self:
None
1796 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1797 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1800 """Proxy of C++ IMP::core::MonteCarloMover class."""
1802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1804 def __init__(self, m, name):
1805 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1806 if self.__class__ == MonteCarloMover:
1810 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1812 self.this.append(this)
1813 except __builtin__.Exception:
1816 if self.__class__ != MonteCarloMover:
1817 _director_objects.register(self)
1823 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1824 return _IMP_core.MonteCarloMover_propose(self)
1828 """reject(MonteCarloMover self)"""
1829 return _IMP_core.MonteCarloMover_reject(self)
1833 """accept(MonteCarloMover self)"""
1834 return _IMP_core.MonteCarloMover_accept(self)
1837 def get_number_of_proposed(self):
1838 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1839 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1842 def get_number_of_accepted(self):
1843 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1844 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1847 def reset_statistics(self):
1848 """reset_statistics(MonteCarloMover self)"""
1849 return _IMP_core.MonteCarloMover_reset_statistics(self)
1852 def do_propose(self):
1853 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1854 return _IMP_core.MonteCarloMover_do_propose(self)
1857 def do_reject(self):
1858 """do_reject(MonteCarloMover self)"""
1859 return _IMP_core.MonteCarloMover_do_reject(self)
1862 def do_accept(self):
1863 """do_accept(MonteCarloMover self)"""
1864 return _IMP_core.MonteCarloMover_do_accept(self)
1867 def do_get_outputs(self):
1868 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1869 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1873 """__str__(MonteCarloMover self) -> std::string"""
1874 return _IMP_core.MonteCarloMover___str__(self)
1878 """__repr__(MonteCarloMover self) -> std::string"""
1879 return _IMP_core.MonteCarloMover___repr__(self)
1884 return _object_cast_to_MonteCarloMover(o)
1887 def get_type_name(self):
1888 return self.__class__.__name__
1889 def do_show(self, out):
1891 def get_version_info(self):
1892 if"IMP::core" ==
"IMP":
1893 return VersionInfo(self.__module__,
1894 __import__(self.__module__).get_module_version())
1897 __import__(self.__module__).get_module_version())
1900 return _object_cast_to_MonteCarloMover(o)
1902 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1903 __del__ =
lambda self:
None
1904 def __disown__(self):
1906 _IMP_core.disown_MonteCarloMover(self)
1907 return weakref_proxy(self)
1909 def do_destroy(self):
1910 """do_destroy(MonteCarloMover self)"""
1911 return _IMP_core.MonteCarloMover_do_destroy(self)
1914 def handle_set_has_required_score_states(self, arg0):
1915 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1916 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1919 def do_get_inputs(self):
1920 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1921 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1924 def do_get_interactions(self):
1925 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1926 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1928 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1929 MonteCarloMover_swigregister(MonteCarloMover)
1932 """Proxy of C++ IMP::core::XYZ class."""
1934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1936 def get_coordinate_key(i):
1937 """get_coordinate_key(unsigned int i) -> FloatKey"""
1938 return _IMP_core.XYZ_get_coordinate_key(i)
1940 get_coordinate_key = staticmethod(get_coordinate_key)
1942 def __init__(self, *args):
1944 __init__(IMP::core::XYZ self) -> XYZ
1945 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1946 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1948 this = _IMP_core.new_XYZ(*args)
1950 self.this.append(this)
1951 except __builtin__.Exception:
1954 def show(self, *args):
1956 show(XYZ self, _ostream out)
1959 return _IMP_core.XYZ_show(self, *args)
1962 def setup_particle(*args):
1964 setup_particle(Model m, ParticleIndex pi) -> XYZ
1965 setup_particle(_ParticleAdaptor decorator) -> XYZ
1966 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1967 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1969 return _IMP_core.XYZ_setup_particle(*args)
1971 setup_particle = staticmethod(setup_particle)
1974 """get_x(XYZ self) -> IMP::Float"""
1975 return _IMP_core.XYZ_get_x(self)
1979 """set_x(XYZ self, IMP::Float t)"""
1980 return _IMP_core.XYZ_set_x(self, t)
1984 """get_y(XYZ self) -> IMP::Float"""
1985 return _IMP_core.XYZ_get_y(self)
1989 """set_y(XYZ self, IMP::Float t)"""
1990 return _IMP_core.XYZ_set_y(self, t)
1994 """get_z(XYZ self) -> IMP::Float"""
1995 return _IMP_core.XYZ_get_z(self)
1999 """set_z(XYZ self, IMP::Float t)"""
2000 return _IMP_core.XYZ_set_z(self, t)
2003 def set_coordinate(self, i, v):
2004 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
2005 return _IMP_core.XYZ_set_coordinate(self, i, v)
2008 def set_coordinates(self, v):
2009 """set_coordinates(XYZ self, Vector3D v)"""
2010 return _IMP_core.XYZ_set_coordinates(self, v)
2013 def get_coordinate(self, i):
2014 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2015 return _IMP_core.XYZ_get_coordinate(self, i)
2018 def add_to_derivatives(self, v, d):
2019 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2020 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2023 def get_coordinates_are_optimized(self):
2024 """get_coordinates_are_optimized(XYZ self) -> bool"""
2025 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2028 def set_coordinates_are_optimized(self, tf):
2029 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2030 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2033 def get_vector_to(self, b):
2034 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2035 return _IMP_core.XYZ_get_vector_to(self, b)
2038 def get_coordinates(self):
2039 """get_coordinates(XYZ self) -> Vector3D"""
2040 return _IMP_core.XYZ_get_coordinates(self)
2043 def get_derivatives(self):
2044 """get_derivatives(XYZ self) -> Vector3D"""
2045 return _IMP_core.XYZ_get_derivatives(self)
2048 def get_is_setup(*args):
2050 get_is_setup(_ParticleAdaptor p) -> bool
2051 get_is_setup(Model m, ParticleIndex pi) -> bool
2053 return _IMP_core.XYZ_get_is_setup(*args)
2055 get_is_setup = staticmethod(get_is_setup)
2058 """get_xyz_keys() -> IMP::FloatKeys const &"""
2059 return _IMP_core.XYZ_get_xyz_keys()
2061 get_xyz_keys = staticmethod(get_xyz_keys)
2063 def add_attribute(self, *args):
2065 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2066 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2067 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2068 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2069 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2070 add_attribute(XYZ self, ObjectKey a0, Object a1)
2072 return _IMP_core.XYZ_add_attribute(self, *args)
2075 def get_value(self, *args):
2077 get_value(XYZ self, FloatKey a0) -> IMP::Float
2078 get_value(XYZ self, IntKey a0) -> IMP::Int
2079 get_value(XYZ self, StringKey a0) -> IMP::String
2080 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2081 get_value(XYZ self, ObjectKey a0) -> Object
2083 return _IMP_core.XYZ_get_value(self, *args)
2086 def set_value(self, *args):
2088 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2089 set_value(XYZ self, IntKey a0, IMP::Int a1)
2090 set_value(XYZ self, StringKey a0, IMP::String a1)
2091 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2092 set_value(XYZ self, ObjectKey a0, Object a1)
2094 return _IMP_core.XYZ_set_value(self, *args)
2097 def remove_attribute(self, *args):
2099 remove_attribute(XYZ self, FloatKey a0)
2100 remove_attribute(XYZ self, IntKey a0)
2101 remove_attribute(XYZ self, StringKey a0)
2102 remove_attribute(XYZ self, ParticleIndexKey a0)
2103 remove_attribute(XYZ self, ObjectKey a0)
2105 return _IMP_core.XYZ_remove_attribute(self, *args)
2108 def has_attribute(self, *args):
2110 has_attribute(XYZ self, FloatKey a0) -> bool
2111 has_attribute(XYZ self, IntKey a0) -> bool
2112 has_attribute(XYZ self, StringKey a0) -> bool
2113 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2114 has_attribute(XYZ self, ObjectKey a0) -> bool
2116 return _IMP_core.XYZ_has_attribute(self, *args)
2119 def get_derivative(self, *args):
2121 get_derivative(XYZ self, int i) -> IMP::Float
2122 get_derivative(XYZ self, FloatKey a0) -> double
2124 return _IMP_core.XYZ_get_derivative(self, *args)
2128 """get_name(XYZ self) -> std::string"""
2129 return _IMP_core.XYZ_get_name(self)
2132 def clear_caches(self):
2133 """clear_caches(XYZ self)"""
2134 return _IMP_core.XYZ_clear_caches(self)
2137 def set_name(self, a0):
2138 """set_name(XYZ self, std::string a0)"""
2139 return _IMP_core.XYZ_set_name(self, a0)
2143 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2144 return _IMP_core.XYZ_set_check_level(self, a0)
2147 def add_to_derivative(self, *args):
2149 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2150 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2152 return _IMP_core.XYZ_add_to_derivative(self, *args)
2155 def set_is_optimized(self, a0, a1):
2156 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2157 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2160 def get_is_optimized(self, a0):
2161 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2162 return _IMP_core.XYZ_get_is_optimized(self, a0)
2166 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2167 return _IMP_core.XYZ_get_check_level(self)
2170 def __eq__(self, *args):
2172 __eq__(XYZ self, XYZ o) -> bool
2173 __eq__(XYZ self, Particle d) -> bool
2175 return _IMP_core.XYZ___eq__(self, *args)
2178 def __ne__(self, *args):
2180 __ne__(XYZ self, XYZ o) -> bool
2181 __ne__(XYZ self, Particle d) -> bool
2183 return _IMP_core.XYZ___ne__(self, *args)
2186 def __le__(self, *args):
2188 __le__(XYZ self, XYZ o) -> bool
2189 __le__(XYZ self, Particle d) -> bool
2191 return _IMP_core.XYZ___le__(self, *args)
2194 def __lt__(self, *args):
2196 __lt__(XYZ self, XYZ o) -> bool
2197 __lt__(XYZ self, Particle d) -> bool
2199 return _IMP_core.XYZ___lt__(self, *args)
2202 def __ge__(self, *args):
2204 __ge__(XYZ self, XYZ o) -> bool
2205 __ge__(XYZ self, Particle d) -> bool
2207 return _IMP_core.XYZ___ge__(self, *args)
2210 def __gt__(self, *args):
2212 __gt__(XYZ self, XYZ o) -> bool
2213 __gt__(XYZ self, Particle d) -> bool
2215 return _IMP_core.XYZ___gt__(self, *args)
2219 """__hash__(XYZ self) -> std::size_t"""
2220 return _IMP_core.XYZ___hash__(self)
2224 """__str__(XYZ self) -> std::string"""
2225 return _IMP_core.XYZ___str__(self)
2229 """__repr__(XYZ self) -> std::string"""
2230 return _IMP_core.XYZ___repr__(self)
2232 __swig_destroy__ = _IMP_core.delete_XYZ
2233 __del__ =
lambda self:
None
2234 XYZ_swigregister = _IMP_core.XYZ_swigregister
2235 XYZ_swigregister(XYZ)
2237 def XYZ_get_coordinate_key(i):
2238 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2239 return _IMP_core.XYZ_get_coordinate_key(i)
2241 def XYZ_setup_particle(*args):
2243 setup_particle(Model m, ParticleIndex pi) -> XYZ
2244 setup_particle(_ParticleAdaptor decorator) -> XYZ
2245 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2246 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2248 return _IMP_core.XYZ_setup_particle(*args)
2250 def XYZ_get_is_setup(*args):
2252 get_is_setup(_ParticleAdaptor p) -> bool
2253 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2255 return _IMP_core.XYZ_get_is_setup(*args)
2257 def XYZ_get_xyz_keys():
2258 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2259 return _IMP_core.XYZ_get_xyz_keys()
2263 """set_vector_geometry(XYZ d, Vector3D v)"""
2264 return _IMP_core.set_vector_geometry(d, v)
2267 """get_vector_geometry(XYZ d) -> Vector3D"""
2268 return _IMP_core.get_vector_geometry(d)
2271 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2272 return _IMP_core.get_dihedral(a, b, c, d)
2274 """Proxy of C++ IMP::core::XYZR class."""
2276 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2278 def __init__(self, *args):
2280 __init__(IMP::core::XYZR self) -> XYZR
2281 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2282 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2284 this = _IMP_core.new_XYZR(*args)
2286 self.this.append(this)
2287 except __builtin__.Exception:
2290 def show(self, *args):
2292 show(XYZR self, _ostream out)
2295 return _IMP_core.XYZR_show(self, *args)
2298 def setup_particle(*args):
2300 setup_particle(Model m, ParticleIndex pi) -> XYZR
2301 setup_particle(_ParticleAdaptor decorator) -> XYZR
2302 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2303 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2304 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2305 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2307 return _IMP_core.XYZR_setup_particle(*args)
2309 setup_particle = staticmethod(setup_particle)
2311 def get_is_setup(*args):
2313 get_is_setup(_ParticleAdaptor p) -> bool
2314 get_is_setup(Model m, ParticleIndex pi) -> bool
2316 return _IMP_core.XYZR_get_is_setup(*args)
2318 get_is_setup = staticmethod(get_is_setup)
2320 def get_radius(self):
2321 """get_radius(XYZR self) -> double"""
2322 return _IMP_core.XYZR_get_radius(self)
2325 def set_radius(self, r):
2326 """set_radius(XYZR self, double r)"""
2327 return _IMP_core.XYZR_set_radius(self, r)
2330 def get_sphere(self):
2331 """get_sphere(XYZR self) -> Sphere3D"""
2332 return _IMP_core.XYZR_get_sphere(self)
2335 def set_sphere(self, s):
2336 """set_sphere(XYZR self, Sphere3D s)"""
2337 return _IMP_core.XYZR_set_sphere(self, s)
2340 def get_radius_key():
2341 """get_radius_key() -> FloatKey"""
2342 return _IMP_core.XYZR_get_radius_key()
2344 get_radius_key = staticmethod(get_radius_key)
2346 def add_to_radius_derivative(self, v, d):
2347 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2348 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2351 def add_attribute(self, *args):
2353 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2354 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2355 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2356 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2357 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2358 add_attribute(XYZR self, ObjectKey a0, Object a1)
2360 return _IMP_core.XYZR_add_attribute(self, *args)
2363 def get_value(self, *args):
2365 get_value(XYZR self, FloatKey a0) -> IMP::Float
2366 get_value(XYZR self, IntKey a0) -> IMP::Int
2367 get_value(XYZR self, StringKey a0) -> IMP::String
2368 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2369 get_value(XYZR self, ObjectKey a0) -> Object
2371 return _IMP_core.XYZR_get_value(self, *args)
2374 def set_value(self, *args):
2376 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2377 set_value(XYZR self, IntKey a0, IMP::Int a1)
2378 set_value(XYZR self, StringKey a0, IMP::String a1)
2379 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2380 set_value(XYZR self, ObjectKey a0, Object a1)
2382 return _IMP_core.XYZR_set_value(self, *args)
2385 def remove_attribute(self, *args):
2387 remove_attribute(XYZR self, FloatKey a0)
2388 remove_attribute(XYZR self, IntKey a0)
2389 remove_attribute(XYZR self, StringKey a0)
2390 remove_attribute(XYZR self, ParticleIndexKey a0)
2391 remove_attribute(XYZR self, ObjectKey a0)
2393 return _IMP_core.XYZR_remove_attribute(self, *args)
2396 def has_attribute(self, *args):
2398 has_attribute(XYZR self, FloatKey a0) -> bool
2399 has_attribute(XYZR self, IntKey a0) -> bool
2400 has_attribute(XYZR self, StringKey a0) -> bool
2401 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2402 has_attribute(XYZR self, ObjectKey a0) -> bool
2404 return _IMP_core.XYZR_has_attribute(self, *args)
2407 def get_derivative(self, a0):
2408 """get_derivative(XYZR self, FloatKey a0) -> double"""
2409 return _IMP_core.XYZR_get_derivative(self, a0)
2413 """get_name(XYZR self) -> std::string"""
2414 return _IMP_core.XYZR_get_name(self)
2417 def clear_caches(self):
2418 """clear_caches(XYZR self)"""
2419 return _IMP_core.XYZR_clear_caches(self)
2422 def set_name(self, a0):
2423 """set_name(XYZR self, std::string a0)"""
2424 return _IMP_core.XYZR_set_name(self, a0)
2428 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2429 return _IMP_core.XYZR_set_check_level(self, a0)
2432 def add_to_derivative(self, a0, a1, a2):
2433 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2434 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2437 def set_is_optimized(self, a0, a1):
2438 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2439 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2442 def get_is_optimized(self, a0):
2443 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2444 return _IMP_core.XYZR_get_is_optimized(self, a0)
2448 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2449 return _IMP_core.XYZR_get_check_level(self)
2452 def __eq__(self, *args):
2454 __eq__(XYZR self, XYZR o) -> bool
2455 __eq__(XYZR self, Particle d) -> bool
2457 return _IMP_core.XYZR___eq__(self, *args)
2460 def __ne__(self, *args):
2462 __ne__(XYZR self, XYZR o) -> bool
2463 __ne__(XYZR self, Particle d) -> bool
2465 return _IMP_core.XYZR___ne__(self, *args)
2468 def __le__(self, *args):
2470 __le__(XYZR self, XYZR o) -> bool
2471 __le__(XYZR self, Particle d) -> bool
2473 return _IMP_core.XYZR___le__(self, *args)
2476 def __lt__(self, *args):
2478 __lt__(XYZR self, XYZR o) -> bool
2479 __lt__(XYZR self, Particle d) -> bool
2481 return _IMP_core.XYZR___lt__(self, *args)
2484 def __ge__(self, *args):
2486 __ge__(XYZR self, XYZR o) -> bool
2487 __ge__(XYZR self, Particle d) -> bool
2489 return _IMP_core.XYZR___ge__(self, *args)
2492 def __gt__(self, *args):
2494 __gt__(XYZR self, XYZR o) -> bool
2495 __gt__(XYZR self, Particle d) -> bool
2497 return _IMP_core.XYZR___gt__(self, *args)
2501 """__hash__(XYZR self) -> std::size_t"""
2502 return _IMP_core.XYZR___hash__(self)
2506 """__str__(XYZR self) -> std::string"""
2507 return _IMP_core.XYZR___str__(self)
2511 """__repr__(XYZR self) -> std::string"""
2512 return _IMP_core.XYZR___repr__(self)
2514 __swig_destroy__ = _IMP_core.delete_XYZR
2515 __del__ =
lambda self:
None
2516 XYZR_swigregister = _IMP_core.XYZR_swigregister
2517 XYZR_swigregister(XYZR)
2519 def XYZR_setup_particle(*args):
2521 setup_particle(Model m, ParticleIndex pi) -> XYZR
2522 setup_particle(_ParticleAdaptor decorator) -> XYZR
2523 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2524 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2525 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2526 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2528 return _IMP_core.XYZR_setup_particle(*args)
2530 def XYZR_get_is_setup(*args):
2532 get_is_setup(_ParticleAdaptor p) -> bool
2533 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2535 return _IMP_core.XYZR_get_is_setup(*args)
2537 def XYZR_get_radius_key():
2538 """XYZR_get_radius_key() -> FloatKey"""
2539 return _IMP_core.XYZR_get_radius_key()
2544 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2545 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2547 return _IMP_core.set_enclosing_sphere(b, v, slack)
2550 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2551 return _IMP_core.set_enclosing_radius(b, v)
2554 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2555 return _IMP_core.get_enclosing_sphere(v)
2559 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2560 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2562 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2564 """Proxy of C++ IMP::core::XYZRGeometry class."""
2566 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2568 def __init__(self, *args):
2570 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2571 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2573 this = _IMP_core.new_XYZRGeometry(*args)
2575 self.this.append(this)
2576 except __builtin__.Exception:
2579 def get_version_info(self):
2580 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2581 return _IMP_core.XYZRGeometry_get_version_info(self)
2585 """__str__(XYZRGeometry self) -> std::string"""
2586 return _IMP_core.XYZRGeometry___str__(self)
2590 """__repr__(XYZRGeometry self) -> std::string"""
2591 return _IMP_core.XYZRGeometry___repr__(self)
2596 return _object_cast_to_XYZRGeometry(o)
2598 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2599 XYZRGeometry_swigregister(XYZRGeometry)
2602 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2606 def __init__(self, sc):
2607 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2608 this = _IMP_core.new_XYZRsGeometry(sc)
2610 self.this.append(this)
2611 except __builtin__.Exception:
2614 def get_version_info(self):
2615 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2616 return _IMP_core.XYZRsGeometry_get_version_info(self)
2620 """__str__(XYZRsGeometry self) -> std::string"""
2621 return _IMP_core.XYZRsGeometry___str__(self)
2625 """__repr__(XYZRsGeometry self) -> std::string"""
2626 return _IMP_core.XYZRsGeometry___repr__(self)
2631 return _object_cast_to_XYZRsGeometry(o)
2633 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2634 XYZRsGeometry_swigregister(XYZRsGeometry)
2637 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2639 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2641 def __init__(self, *args):
2643 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2644 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2646 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2648 self.this.append(this)
2649 except __builtin__.Exception:
2652 def get_version_info(self):
2653 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2654 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2658 """__str__(XYZDerivativeGeometry self) -> std::string"""
2659 return _IMP_core.XYZDerivativeGeometry___str__(self)
2663 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2664 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2669 return _object_cast_to_XYZDerivativeGeometry(o)
2671 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2672 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2675 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2679 def __init__(self, sc):
2680 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2681 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2683 self.this.append(this)
2684 except __builtin__.Exception:
2687 def get_version_info(self):
2688 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2689 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2693 """__str__(XYZDerivativesGeometry self) -> std::string"""
2694 return _IMP_core.XYZDerivativesGeometry___str__(self)
2698 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2699 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2704 return _object_cast_to_XYZDerivativesGeometry(o)
2706 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2707 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2710 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2712 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2714 def __init__(self, pp):
2715 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2716 this = _IMP_core.new_EdgePairGeometry(pp)
2718 self.this.append(this)
2719 except __builtin__.Exception:
2722 def get_version_info(self):
2723 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2724 return _IMP_core.EdgePairGeometry_get_version_info(self)
2728 """__str__(EdgePairGeometry self) -> std::string"""
2729 return _IMP_core.EdgePairGeometry___str__(self)
2733 """__repr__(EdgePairGeometry self) -> std::string"""
2734 return _IMP_core.EdgePairGeometry___repr__(self)
2739 return _object_cast_to_EdgePairGeometry(o)
2741 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2742 EdgePairGeometry_swigregister(EdgePairGeometry)
2745 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2747 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2749 def __init__(self, sc):
2750 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2751 this = _IMP_core.new_EdgePairsGeometry(sc)
2753 self.this.append(this)
2754 except __builtin__.Exception:
2757 def get_version_info(self):
2758 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2759 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2763 """__str__(EdgePairsGeometry self) -> std::string"""
2764 return _IMP_core.EdgePairsGeometry___str__(self)
2768 """__repr__(EdgePairsGeometry self) -> std::string"""
2769 return _IMP_core.EdgePairsGeometry___repr__(self)
2774 return _object_cast_to_EdgePairsGeometry(o)
2776 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2777 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2780 """Proxy of C++ IMP::core::Direction class."""
2782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2784 def do_setup_particle(m, pi, v):
2785 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2786 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2788 do_setup_particle = staticmethod(do_setup_particle)
2790 def __init__(self, *args):
2792 __init__(IMP::core::Direction self) -> Direction
2793 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2794 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2796 this = _IMP_core.new_Direction(*args)
2798 self.this.append(this)
2799 except __builtin__.Exception:
2802 def show(self, *args):
2804 show(Direction self, _ostream out)
2805 show(Direction self)
2807 return _IMP_core.Direction_show(self, *args)
2810 def setup_particle(*args):
2812 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2813 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2815 return _IMP_core.Direction_setup_particle(*args)
2817 setup_particle = staticmethod(setup_particle)
2819 def get_is_setup(*args):
2821 get_is_setup(_ParticleAdaptor p) -> bool
2822 get_is_setup(Model m, ParticleIndex pi) -> bool
2824 return _IMP_core.Direction_get_is_setup(*args)
2826 get_is_setup = staticmethod(get_is_setup)
2828 def get_direction_key(i):
2829 """get_direction_key(unsigned int i) -> FloatKey"""
2830 return _IMP_core.Direction_get_direction_key(i)
2832 get_direction_key = staticmethod(get_direction_key)
2834 def get_direction_derivative(self, i):
2835 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2836 return _IMP_core.Direction_get_direction_derivative(self, i)
2839 def get_direction_derivatives(self):
2840 """get_direction_derivatives(Direction self) -> Vector3D"""
2841 return _IMP_core.Direction_get_direction_derivatives(self)
2844 def add_to_direction_derivative(self, i, v, d):
2845 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2846 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2849 def add_to_direction_derivatives(self, v, d):
2850 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2851 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2854 def get_direction_is_optimized(self):
2855 """get_direction_is_optimized(Direction self) -> bool"""
2856 return _IMP_core.Direction_get_direction_is_optimized(self)
2859 def set_direction_is_optimized(self, tf):
2860 """set_direction_is_optimized(Direction self, bool tf)"""
2861 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2864 def get_direction(self):
2865 """get_direction(Direction self) -> Vector3D"""
2866 return _IMP_core.Direction_get_direction(self)
2869 def set_direction(self, v):
2870 """set_direction(Direction self, Vector3D v)"""
2871 return _IMP_core.Direction_set_direction(self, v)
2875 """reflect(Direction self)"""
2876 return _IMP_core.Direction_reflect(self)
2879 def add_attribute(self, *args):
2881 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
2882 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
2883 add_attribute(Direction self, IntKey a0, IMP::Int a1)
2884 add_attribute(Direction self, StringKey a0, IMP::String a1)
2885 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
2886 add_attribute(Direction self, ObjectKey a0, Object a1)
2888 return _IMP_core.Direction_add_attribute(self, *args)
2891 def get_value(self, *args):
2893 get_value(Direction self, FloatKey a0) -> IMP::Float
2894 get_value(Direction self, IntKey a0) -> IMP::Int
2895 get_value(Direction self, StringKey a0) -> IMP::String
2896 get_value(Direction self, ParticleIndexKey a0) -> Particle
2897 get_value(Direction self, ObjectKey a0) -> Object
2899 return _IMP_core.Direction_get_value(self, *args)
2902 def set_value(self, *args):
2904 set_value(Direction self, FloatKey a0, IMP::Float a1)
2905 set_value(Direction self, IntKey a0, IMP::Int a1)
2906 set_value(Direction self, StringKey a0, IMP::String a1)
2907 set_value(Direction self, ParticleIndexKey a0, Particle a1)
2908 set_value(Direction self, ObjectKey a0, Object a1)
2910 return _IMP_core.Direction_set_value(self, *args)
2913 def remove_attribute(self, *args):
2915 remove_attribute(Direction self, FloatKey a0)
2916 remove_attribute(Direction self, IntKey a0)
2917 remove_attribute(Direction self, StringKey a0)
2918 remove_attribute(Direction self, ParticleIndexKey a0)
2919 remove_attribute(Direction self, ObjectKey a0)
2921 return _IMP_core.Direction_remove_attribute(self, *args)
2924 def has_attribute(self, *args):
2926 has_attribute(Direction self, FloatKey a0) -> bool
2927 has_attribute(Direction self, IntKey a0) -> bool
2928 has_attribute(Direction self, StringKey a0) -> bool
2929 has_attribute(Direction self, ParticleIndexKey a0) -> bool
2930 has_attribute(Direction self, ObjectKey a0) -> bool
2932 return _IMP_core.Direction_has_attribute(self, *args)
2935 def get_derivative(self, a0):
2936 """get_derivative(Direction self, FloatKey a0) -> double"""
2937 return _IMP_core.Direction_get_derivative(self, a0)
2941 """get_name(Direction self) -> std::string"""
2942 return _IMP_core.Direction_get_name(self)
2945 def clear_caches(self):
2946 """clear_caches(Direction self)"""
2947 return _IMP_core.Direction_clear_caches(self)
2950 def set_name(self, a0):
2951 """set_name(Direction self, std::string a0)"""
2952 return _IMP_core.Direction_set_name(self, a0)
2956 """set_check_level(Direction self, IMP::CheckLevel a0)"""
2957 return _IMP_core.Direction_set_check_level(self, a0)
2960 def add_to_derivative(self, a0, a1, a2):
2961 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2962 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
2965 def set_is_optimized(self, a0, a1):
2966 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
2967 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
2970 def get_is_optimized(self, a0):
2971 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
2972 return _IMP_core.Direction_get_is_optimized(self, a0)
2976 """get_check_level(Direction self) -> IMP::CheckLevel"""
2977 return _IMP_core.Direction_get_check_level(self)
2980 def __eq__(self, *args):
2982 __eq__(Direction self, Direction o) -> bool
2983 __eq__(Direction self, Particle d) -> bool
2985 return _IMP_core.Direction___eq__(self, *args)
2988 def __ne__(self, *args):
2990 __ne__(Direction self, Direction o) -> bool
2991 __ne__(Direction self, Particle d) -> bool
2993 return _IMP_core.Direction___ne__(self, *args)
2996 def __le__(self, *args):
2998 __le__(Direction self, Direction o) -> bool
2999 __le__(Direction self, Particle d) -> bool
3001 return _IMP_core.Direction___le__(self, *args)
3004 def __lt__(self, *args):
3006 __lt__(Direction self, Direction o) -> bool
3007 __lt__(Direction self, Particle d) -> bool
3009 return _IMP_core.Direction___lt__(self, *args)
3012 def __ge__(self, *args):
3014 __ge__(Direction self, Direction o) -> bool
3015 __ge__(Direction self, Particle d) -> bool
3017 return _IMP_core.Direction___ge__(self, *args)
3020 def __gt__(self, *args):
3022 __gt__(Direction self, Direction o) -> bool
3023 __gt__(Direction self, Particle d) -> bool
3025 return _IMP_core.Direction___gt__(self, *args)
3029 """__hash__(Direction self) -> std::size_t"""
3030 return _IMP_core.Direction___hash__(self)
3034 """__str__(Direction self) -> std::string"""
3035 return _IMP_core.Direction___str__(self)
3039 """__repr__(Direction self) -> std::string"""
3040 return _IMP_core.Direction___repr__(self)
3042 __swig_destroy__ = _IMP_core.delete_Direction
3043 __del__ =
lambda self:
None
3044 Direction_swigregister = _IMP_core.Direction_swigregister
3045 Direction_swigregister(Direction)
3047 def Direction_do_setup_particle(m, pi, v):
3048 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3049 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3051 def Direction_setup_particle(*args):
3053 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3054 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3056 return _IMP_core.Direction_setup_particle(*args)
3058 def Direction_get_is_setup(*args):
3060 get_is_setup(_ParticleAdaptor p) -> bool
3061 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3063 return _IMP_core.Direction_get_is_setup(*args)
3065 def Direction_get_direction_key(i):
3066 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3067 return _IMP_core.Direction_get_direction_key(i)
3071 """get_angle(Direction a, Direction b) -> double"""
3072 return _IMP_core.get_angle(a, b)
3074 """Proxy of C++ IMP::core::DirectionAngle class."""
3076 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3078 def __init__(self, *args):
3080 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3081 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3082 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3084 this = _IMP_core.new_DirectionAngle(*args)
3086 self.this.append(this)
3087 except __builtin__.Exception:
3090 def show(self, *args):
3092 show(DirectionAngle self, _ostream out)
3093 show(DirectionAngle self)
3095 return _IMP_core.DirectionAngle_show(self, *args)
3098 def setup_particle(*args):
3100 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3101 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3102 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3103 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3105 return _IMP_core.DirectionAngle_setup_particle(*args)
3107 setup_particle = staticmethod(setup_particle)
3109 def get_is_setup(*args):
3111 get_is_setup(_ParticleAdaptor p) -> bool
3112 get_is_setup(Model m, ParticleIndex pi) -> bool
3114 return _IMP_core.DirectionAngle_get_is_setup(*args)
3116 get_is_setup = staticmethod(get_is_setup)
3118 def get_angle_key():
3119 """get_angle_key() -> FloatKey"""
3120 return _IMP_core.DirectionAngle_get_angle_key()
3122 get_angle_key = staticmethod(get_angle_key)
3124 def get_particle_key(i):
3125 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3126 return _IMP_core.DirectionAngle_get_particle_key(i)
3128 get_particle_key = staticmethod(get_particle_key)
3130 def get_particle(self, *args):
3132 get_particle(DirectionAngle self, unsigned int i) -> Particle
3133 get_particle(DirectionAngle self) -> Particle
3135 return _IMP_core.DirectionAngle_get_particle(self, *args)
3138 def get_particle_index(self, *args):
3140 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3141 get_particle_index(DirectionAngle self) -> ParticleIndex
3143 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3147 """get_angle(DirectionAngle self) -> IMP::Float"""
3148 return _IMP_core.DirectionAngle_get_angle(self)
3151 def get_angle_derivative(self):
3152 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3153 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3156 def add_to_angle_derivative(self, v, d):
3157 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3158 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3161 def add_attribute(self, *args):
3163 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3164 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3165 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3166 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3167 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3168 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3170 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3173 def get_value(self, *args):
3175 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3176 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3177 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3178 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3179 get_value(DirectionAngle self, ObjectKey a0) -> Object
3181 return _IMP_core.DirectionAngle_get_value(self, *args)
3184 def set_value(self, *args):
3186 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3187 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3188 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3189 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3190 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3192 return _IMP_core.DirectionAngle_set_value(self, *args)
3195 def remove_attribute(self, *args):
3197 remove_attribute(DirectionAngle self, FloatKey a0)
3198 remove_attribute(DirectionAngle self, IntKey a0)
3199 remove_attribute(DirectionAngle self, StringKey a0)
3200 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3201 remove_attribute(DirectionAngle self, ObjectKey a0)
3203 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3206 def has_attribute(self, *args):
3208 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3209 has_attribute(DirectionAngle self, IntKey a0) -> bool
3210 has_attribute(DirectionAngle self, StringKey a0) -> bool
3211 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3212 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3214 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3217 def get_derivative(self, a0):
3218 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3219 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3223 """get_name(DirectionAngle self) -> std::string"""
3224 return _IMP_core.DirectionAngle_get_name(self)
3227 def clear_caches(self):
3228 """clear_caches(DirectionAngle self)"""
3229 return _IMP_core.DirectionAngle_clear_caches(self)
3232 def set_name(self, a0):
3233 """set_name(DirectionAngle self, std::string a0)"""
3234 return _IMP_core.DirectionAngle_set_name(self, a0)
3238 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3239 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3242 def add_to_derivative(self, a0, a1, a2):
3243 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3244 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3247 def set_is_optimized(self, a0, a1):
3248 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3249 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3252 def get_is_optimized(self, a0):
3253 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3254 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3258 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3259 return _IMP_core.DirectionAngle_get_check_level(self)
3262 def __eq__(self, *args):
3264 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3265 __eq__(DirectionAngle self, Particle d) -> bool
3267 return _IMP_core.DirectionAngle___eq__(self, *args)
3270 def __ne__(self, *args):
3272 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3273 __ne__(DirectionAngle self, Particle d) -> bool
3275 return _IMP_core.DirectionAngle___ne__(self, *args)
3278 def __le__(self, *args):
3280 __le__(DirectionAngle self, DirectionAngle o) -> bool
3281 __le__(DirectionAngle self, Particle d) -> bool
3283 return _IMP_core.DirectionAngle___le__(self, *args)
3286 def __lt__(self, *args):
3288 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3289 __lt__(DirectionAngle self, Particle d) -> bool
3291 return _IMP_core.DirectionAngle___lt__(self, *args)
3294 def __ge__(self, *args):
3296 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3297 __ge__(DirectionAngle self, Particle d) -> bool
3299 return _IMP_core.DirectionAngle___ge__(self, *args)
3302 def __gt__(self, *args):
3304 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3305 __gt__(DirectionAngle self, Particle d) -> bool
3307 return _IMP_core.DirectionAngle___gt__(self, *args)
3311 """__hash__(DirectionAngle self) -> std::size_t"""
3312 return _IMP_core.DirectionAngle___hash__(self)
3316 """__str__(DirectionAngle self) -> std::string"""
3317 return _IMP_core.DirectionAngle___str__(self)
3321 """__repr__(DirectionAngle self) -> std::string"""
3322 return _IMP_core.DirectionAngle___repr__(self)
3324 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3325 __del__ =
lambda self:
None
3326 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3327 DirectionAngle_swigregister(DirectionAngle)
3329 def DirectionAngle_setup_particle(*args):
3331 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3332 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3333 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3334 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3336 return _IMP_core.DirectionAngle_setup_particle(*args)
3338 def DirectionAngle_get_is_setup(*args):
3340 get_is_setup(_ParticleAdaptor p) -> bool
3341 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3343 return _IMP_core.DirectionAngle_get_is_setup(*args)
3345 def DirectionAngle_get_angle_key():
3346 """DirectionAngle_get_angle_key() -> FloatKey"""
3347 return _IMP_core.DirectionAngle_get_angle_key()
3349 def DirectionAngle_get_particle_key(i):
3350 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3351 return _IMP_core.DirectionAngle_get_particle_key(i)
3354 """Proxy of C++ IMP::core::Surface class."""
3356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3358 def do_setup_particle(*args):
3360 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3361 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3362 do_setup_particle(Model m, ParticleIndex pi)
3363 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3365 return _IMP_core.Surface_do_setup_particle(*args)
3367 do_setup_particle = staticmethod(do_setup_particle)
3369 def __init__(self, *args):
3371 __init__(IMP::core::Surface self) -> Surface
3372 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3373 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3375 this = _IMP_core.new_Surface(*args)
3377 self.this.append(this)
3378 except __builtin__.Exception:
3381 def show(self, *args):
3383 show(Surface self, _ostream out)
3386 return _IMP_core.Surface_show(self, *args)
3389 def setup_particle(*args):
3391 setup_particle(Model m, ParticleIndex pi) -> Surface
3392 setup_particle(_ParticleAdaptor decorator) -> Surface
3393 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3394 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3395 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3396 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3397 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3398 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3400 return _IMP_core.Surface_setup_particle(*args)
3402 setup_particle = staticmethod(setup_particle)
3404 def get_normal_x(self):
3405 """get_normal_x(Surface self) -> IMP::Float"""
3406 return _IMP_core.Surface_get_normal_x(self)
3409 def set_normal_x(self, t):
3410 """set_normal_x(Surface self, IMP::Float t)"""
3411 return _IMP_core.Surface_set_normal_x(self, t)
3414 def get_normal_y(self):
3415 """get_normal_y(Surface self) -> IMP::Float"""
3416 return _IMP_core.Surface_get_normal_y(self)
3419 def set_normal_y(self, t):
3420 """set_normal_y(Surface self, IMP::Float t)"""
3421 return _IMP_core.Surface_set_normal_y(self, t)
3424 def get_normal_z(self):
3425 """get_normal_z(Surface self) -> IMP::Float"""
3426 return _IMP_core.Surface_get_normal_z(self)
3429 def set_normal_z(self, t):
3430 """set_normal_z(Surface self, IMP::Float t)"""
3431 return _IMP_core.Surface_set_normal_z(self, t)
3434 def get_is_setup(*args):
3436 get_is_setup(_ParticleAdaptor p) -> bool
3437 get_is_setup(Model m, ParticleIndex pi) -> bool
3439 return _IMP_core.Surface_get_is_setup(*args)
3441 get_is_setup = staticmethod(get_is_setup)
3443 def get_normal_key(i):
3444 """get_normal_key(unsigned int i) -> FloatKey"""
3445 return _IMP_core.Surface_get_normal_key(i)
3447 get_normal_key = staticmethod(get_normal_key)
3449 def get_normal_derivative(self, i):
3450 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3451 return _IMP_core.Surface_get_normal_derivative(self, i)
3454 def get_normal_derivatives(self):
3455 """get_normal_derivatives(Surface self) -> Vector3D"""
3456 return _IMP_core.Surface_get_normal_derivatives(self)
3459 def add_to_normal_derivative(self, i, v, d):
3460 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3461 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3464 def add_to_normal_derivatives(self, v, d):
3465 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3466 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3469 def get_normal_is_optimized(self):
3470 """get_normal_is_optimized(Surface self) -> bool"""
3471 return _IMP_core.Surface_get_normal_is_optimized(self)
3474 def set_normal_is_optimized(self, tf):
3475 """set_normal_is_optimized(Surface self, bool tf)"""
3476 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3479 def get_normal(self):
3480 """get_normal(Surface self) -> Vector3D"""
3481 return _IMP_core.Surface_get_normal(self)
3484 def set_normal(self, normal):
3485 """set_normal(Surface self, Vector3D normal)"""
3486 return _IMP_core.Surface_set_normal(self, normal)
3490 """reflect(Surface self)"""
3491 return _IMP_core.Surface_reflect(self)
3495 """get_height(Surface self, Vector3D v) -> double"""
3496 return _IMP_core.Surface_get_height(self, v)
3500 """get_depth(Surface self, Vector3D v) -> double"""
3501 return _IMP_core.Surface_get_depth(self, v)
3504 def get_distance_to(self, v):
3505 """get_distance_to(Surface self, Vector3D v) -> double"""
3506 return _IMP_core.Surface_get_distance_to(self, v)
3509 def get_distance_to_center(self, v):
3510 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3511 return _IMP_core.Surface_get_distance_to_center(self, v)
3514 def set_reference_frame(self, rf):
3515 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3516 return _IMP_core.Surface_set_reference_frame(self, rf)
3519 def get_reference_frame(self):
3520 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3521 return _IMP_core.Surface_get_reference_frame(self)
3524 def get_plane(self):
3525 """get_plane(Surface self) -> Plane3D"""
3526 return _IMP_core.Surface_get_plane(self)
3529 def add_attribute(self, *args):
3531 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3532 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3533 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3534 add_attribute(Surface self, StringKey a0, IMP::String a1)
3535 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3536 add_attribute(Surface self, ObjectKey a0, Object a1)
3538 return _IMP_core.Surface_add_attribute(self, *args)
3541 def get_value(self, *args):
3543 get_value(Surface self, FloatKey a0) -> IMP::Float
3544 get_value(Surface self, IntKey a0) -> IMP::Int
3545 get_value(Surface self, StringKey a0) -> IMP::String
3546 get_value(Surface self, ParticleIndexKey a0) -> Particle
3547 get_value(Surface self, ObjectKey a0) -> Object
3549 return _IMP_core.Surface_get_value(self, *args)
3552 def set_value(self, *args):
3554 set_value(Surface self, FloatKey a0, IMP::Float a1)
3555 set_value(Surface self, IntKey a0, IMP::Int a1)
3556 set_value(Surface self, StringKey a0, IMP::String a1)
3557 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3558 set_value(Surface self, ObjectKey a0, Object a1)
3560 return _IMP_core.Surface_set_value(self, *args)
3563 def remove_attribute(self, *args):
3565 remove_attribute(Surface self, FloatKey a0)
3566 remove_attribute(Surface self, IntKey a0)
3567 remove_attribute(Surface self, StringKey a0)
3568 remove_attribute(Surface self, ParticleIndexKey a0)
3569 remove_attribute(Surface self, ObjectKey a0)
3571 return _IMP_core.Surface_remove_attribute(self, *args)
3574 def has_attribute(self, *args):
3576 has_attribute(Surface self, FloatKey a0) -> bool
3577 has_attribute(Surface self, IntKey a0) -> bool
3578 has_attribute(Surface self, StringKey a0) -> bool
3579 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3580 has_attribute(Surface self, ObjectKey a0) -> bool
3582 return _IMP_core.Surface_has_attribute(self, *args)
3585 def get_derivative(self, a0):
3586 """get_derivative(Surface self, FloatKey a0) -> double"""
3587 return _IMP_core.Surface_get_derivative(self, a0)
3591 """get_name(Surface self) -> std::string"""
3592 return _IMP_core.Surface_get_name(self)
3595 def clear_caches(self):
3596 """clear_caches(Surface self)"""
3597 return _IMP_core.Surface_clear_caches(self)
3600 def set_name(self, a0):
3601 """set_name(Surface self, std::string a0)"""
3602 return _IMP_core.Surface_set_name(self, a0)
3606 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3607 return _IMP_core.Surface_set_check_level(self, a0)
3610 def add_to_derivative(self, a0, a1, a2):
3611 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3612 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3615 def set_is_optimized(self, a0, a1):
3616 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3617 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3620 def get_is_optimized(self, a0):
3621 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3622 return _IMP_core.Surface_get_is_optimized(self, a0)
3626 """get_check_level(Surface self) -> IMP::CheckLevel"""
3627 return _IMP_core.Surface_get_check_level(self)
3630 def __eq__(self, *args):
3632 __eq__(Surface self, Surface o) -> bool
3633 __eq__(Surface self, Particle d) -> bool
3635 return _IMP_core.Surface___eq__(self, *args)
3638 def __ne__(self, *args):
3640 __ne__(Surface self, Surface o) -> bool
3641 __ne__(Surface self, Particle d) -> bool
3643 return _IMP_core.Surface___ne__(self, *args)
3646 def __le__(self, *args):
3648 __le__(Surface self, Surface o) -> bool
3649 __le__(Surface self, Particle d) -> bool
3651 return _IMP_core.Surface___le__(self, *args)
3654 def __lt__(self, *args):
3656 __lt__(Surface self, Surface o) -> bool
3657 __lt__(Surface self, Particle d) -> bool
3659 return _IMP_core.Surface___lt__(self, *args)
3662 def __ge__(self, *args):
3664 __ge__(Surface self, Surface o) -> bool
3665 __ge__(Surface self, Particle d) -> bool
3667 return _IMP_core.Surface___ge__(self, *args)
3670 def __gt__(self, *args):
3672 __gt__(Surface self, Surface o) -> bool
3673 __gt__(Surface self, Particle d) -> bool
3675 return _IMP_core.Surface___gt__(self, *args)
3679 """__hash__(Surface self) -> std::size_t"""
3680 return _IMP_core.Surface___hash__(self)
3684 """__str__(Surface self) -> std::string"""
3685 return _IMP_core.Surface___str__(self)
3689 """__repr__(Surface self) -> std::string"""
3690 return _IMP_core.Surface___repr__(self)
3692 __swig_destroy__ = _IMP_core.delete_Surface
3693 __del__ =
lambda self:
None
3694 Surface_swigregister = _IMP_core.Surface_swigregister
3695 Surface_swigregister(Surface)
3697 def Surface_do_setup_particle(*args):
3699 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3700 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3701 do_setup_particle(Model m, ParticleIndex pi)
3702 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3704 return _IMP_core.Surface_do_setup_particle(*args)
3706 def Surface_setup_particle(*args):
3708 setup_particle(Model m, ParticleIndex pi) -> Surface
3709 setup_particle(_ParticleAdaptor decorator) -> Surface
3710 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3711 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3712 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3713 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3714 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3715 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3717 return _IMP_core.Surface_setup_particle(*args)
3719 def Surface_get_is_setup(*args):
3721 get_is_setup(_ParticleAdaptor p) -> bool
3722 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3724 return _IMP_core.Surface_get_is_setup(*args)
3726 def Surface_get_normal_key(i):
3727 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3728 return _IMP_core.Surface_get_normal_key(i)
3733 get_height(Surface s, XYZR d) -> double
3734 get_height(Surface s, XYZ d) -> double
3736 return _IMP_core.get_height(*args)
3740 get_depth(Surface s, XYZR d) -> double
3741 get_depth(Surface s, XYZ d) -> double
3743 return _IMP_core.get_depth(*args)
3747 get_distance(XYZ a, XYZ b) -> double
3748 get_distance(XYZR a, XYZR b) -> double
3749 get_distance(Surface s, XYZR d) -> double
3750 get_distance(Surface s, XYZ d) -> double
3752 return _IMP_core.get_distance(*args)
3754 """Proxy of C++ IMP::core::SurfaceGeometry class."""
3756 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3758 def __init__(self, *args):
3760 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3761 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3762 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3763 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3764 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3765 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3767 this = _IMP_core.new_SurfaceGeometry(*args)
3769 self.this.append(this)
3770 except __builtin__.Exception:
3773 def get_geometry(self):
3774 """get_geometry(SurfaceGeometry self) -> Surface"""
3775 return _IMP_core.SurfaceGeometry_get_geometry(self)
3778 def set_geometry(self, s):
3779 """set_geometry(SurfaceGeometry self, Surface s)"""
3780 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3783 def get_version_info(self):
3784 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3785 return _IMP_core.SurfaceGeometry_get_version_info(self)
3789 """__str__(SurfaceGeometry self) -> std::string"""
3790 return _IMP_core.SurfaceGeometry___str__(self)
3794 """__repr__(SurfaceGeometry self) -> std::string"""
3795 return _IMP_core.SurfaceGeometry___repr__(self)
3800 return _object_cast_to_SurfaceGeometry(o)
3802 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3803 SurfaceGeometry_swigregister(SurfaceGeometry)
3808 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3809 create_geometry(Surface s) -> SurfaceGeometry
3811 return _IMP_core.create_geometry(*args)
3813 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3815 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3817 def __init__(self, s, g):
3818 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3819 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3821 self.this.append(this)
3822 except __builtin__.Exception:
3825 def get_surface(self):
3826 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3827 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3830 def get_geometry(self):
3831 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3832 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3835 def do_get_inputs(self):
3836 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3837 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3840 def do_get_outputs(self):
3841 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3842 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3845 def get_version_info(self):
3846 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3847 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3851 """__str__(SurfaceGeometryConstraint self) -> std::string"""
3852 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3856 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
3857 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3862 return _object_cast_to_SurfaceGeometryConstraint(o)
3864 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
3865 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3870 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
3871 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
3873 return _IMP_core.get_constrained_surface_geometry(*args)
3875 """Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3877 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3879 def __init__(self, s, d):
3880 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3881 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
3883 self.this.append(this)
3884 except __builtin__.Exception:
3887 def do_get_inputs(self):
3888 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3889 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3892 def do_get_outputs(self):
3893 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3894 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3897 def get_version_info(self):
3898 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3899 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3903 """__str__(LateralSurfaceConstraint self) -> std::string"""
3904 return _IMP_core.LateralSurfaceConstraint___str__(self)
3908 """__repr__(LateralSurfaceConstraint self) -> std::string"""
3909 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3914 return _object_cast_to_LateralSurfaceConstraint(o)
3916 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
3917 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3920 """Proxy of C++ IMP::core::AngleTripletScore class."""
3922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3924 def __init__(self, f):
3925 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
3926 this = _IMP_core.new_AngleTripletScore(f)
3928 self.this.append(this)
3929 except __builtin__.Exception:
3932 def do_get_inputs(self, m, pis):
3933 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3934 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3937 def get_version_info(self):
3938 """get_version_info(AngleTripletScore self) -> VersionInfo"""
3939 return _IMP_core.AngleTripletScore_get_version_info(self)
3943 """__str__(AngleTripletScore self) -> std::string"""
3944 return _IMP_core.AngleTripletScore___str__(self)
3948 """__repr__(AngleTripletScore self) -> std::string"""
3949 return _IMP_core.AngleTripletScore___repr__(self)
3954 return _object_cast_to_AngleTripletScore(o)
3956 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
3957 AngleTripletScore_swigregister(AngleTripletScore)
3959 class BallMover(MonteCarloMover):
3960 """Proxy of C++ IMP::core::BallMover class."""
3962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3964 def __init__(self, *args):
3966 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
3967 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
3968 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3969 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
3971 this = _IMP_core.new_BallMover(*args)
3973 self.this.append(this)
3974 except __builtin__.Exception:
3977 def set_radius(self, radius):
3978 """set_radius(BallMover self, IMP::Float radius)"""
3979 return _IMP_core.BallMover_set_radius(self, radius)
3982 def get_radius(self):
3983 """get_radius(BallMover self) -> IMP::Float"""
3984 return _IMP_core.BallMover_get_radius(self)
3987 def get_version_info(self):
3988 """get_version_info(BallMover self) -> VersionInfo"""
3989 return _IMP_core.BallMover_get_version_info(self)
3993 """__str__(BallMover self) -> std::string"""
3994 return _IMP_core.BallMover___str__(self)
3998 """__repr__(BallMover self) -> std::string"""
3999 return _IMP_core.BallMover___repr__(self)
4004 return _object_cast_to_BallMover(o)
4006 BallMover_swigregister = _IMP_core.BallMover_swigregister
4007 BallMover_swigregister(BallMover)
4009 class SerialMover(MonteCarloMover):
4010 """Proxy of C++ IMP::core::SerialMover class."""
4012 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4014 def __init__(self, mvs):
4015 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4016 this = _IMP_core.new_SerialMover(mvs)
4018 self.this.append(this)
4019 except __builtin__.Exception:
4022 def get_movers(self):
4023 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4024 return _IMP_core.SerialMover_get_movers(self)
4027 def get_version_info(self):
4028 """get_version_info(SerialMover self) -> VersionInfo"""
4029 return _IMP_core.SerialMover_get_version_info(self)
4033 """__str__(SerialMover self) -> std::string"""
4034 return _IMP_core.SerialMover___str__(self)
4038 """__repr__(SerialMover self) -> std::string"""
4039 return _IMP_core.SerialMover___repr__(self)
4044 return _object_cast_to_SerialMover(o)
4046 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4047 SerialMover_swigregister(SerialMover)
4049 class SubsetMover(MonteCarloMover):
4050 """Proxy of C++ IMP::core::SubsetMover class."""
4052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4054 def __init__(self, mvs, n):
4055 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4056 this = _IMP_core.new_SubsetMover(mvs, n)
4058 self.this.append(this)
4059 except __builtin__.Exception:
4062 def get_movers(self):
4063 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4064 return _IMP_core.SubsetMover_get_movers(self)
4067 def get_subset_size(self):
4068 """get_subset_size(SubsetMover self) -> unsigned int"""
4069 return _IMP_core.SubsetMover_get_subset_size(self)
4072 def get_version_info(self):
4073 """get_version_info(SubsetMover self) -> VersionInfo"""
4074 return _IMP_core.SubsetMover_get_version_info(self)
4078 """__str__(SubsetMover self) -> std::string"""
4079 return _IMP_core.SubsetMover___str__(self)
4083 """__repr__(SubsetMover self) -> std::string"""
4084 return _IMP_core.SubsetMover___repr__(self)
4089 return _object_cast_to_SubsetMover(o)
4091 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4092 SubsetMover_swigregister(SubsetMover)
4094 class DirectionMover(MonteCarloMover):
4095 """Proxy of C++ IMP::core::DirectionMover class."""
4097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4099 def __init__(self, *args):
4101 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4102 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4104 this = _IMP_core.new_DirectionMover(*args)
4106 self.this.append(this)
4107 except __builtin__.Exception:
4110 def set_maximum_rotation(self, mr):
4111 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4112 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4115 def set_reflect_probability(self, rp):
4116 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4117 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4120 def get_maximum_rotation(self):
4121 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4122 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4125 def get_reflect_probability(self):
4126 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4127 return _IMP_core.DirectionMover_get_reflect_probability(self)
4130 def get_direction(self):
4131 """get_direction(DirectionMover self) -> Direction"""
4132 return _IMP_core.DirectionMover_get_direction(self)
4135 def get_version_info(self):
4136 """get_version_info(DirectionMover self) -> VersionInfo"""
4137 return _IMP_core.DirectionMover_get_version_info(self)
4141 """__str__(DirectionMover self) -> std::string"""
4142 return _IMP_core.DirectionMover___str__(self)
4146 """__repr__(DirectionMover self) -> std::string"""
4147 return _IMP_core.DirectionMover___repr__(self)
4152 return _object_cast_to_DirectionMover(o)
4154 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4155 DirectionMover_swigregister(DirectionMover)
4157 class SurfaceMover(MonteCarloMover):
4158 """Proxy of C++ IMP::core::SurfaceMover class."""
4160 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4162 def __init__(self, *args):
4164 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4165 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4167 this = _IMP_core.new_SurfaceMover(*args)
4169 self.this.append(this)
4170 except __builtin__.Exception:
4173 def set_maximum_translation(self, mt):
4174 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4175 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4178 def set_maximum_rotation(self, mr):
4179 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4180 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4183 def set_reflect_probability(self, rp):
4184 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4185 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4188 def get_maximum_translation(self):
4189 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4190 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4193 def get_maximum_rotation(self):
4194 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4195 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4198 def get_reflect_probability(self):
4199 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4200 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4203 def get_surface(self):
4204 """get_surface(SurfaceMover self) -> Surface"""
4205 return _IMP_core.SurfaceMover_get_surface(self)
4208 def get_version_info(self):
4209 """get_version_info(SurfaceMover self) -> VersionInfo"""
4210 return _IMP_core.SurfaceMover_get_version_info(self)
4214 """__str__(SurfaceMover self) -> std::string"""
4215 return _IMP_core.SurfaceMover___str__(self)
4219 """__repr__(SurfaceMover self) -> std::string"""
4220 return _IMP_core.SurfaceMover___repr__(self)
4225 return _object_cast_to_SurfaceMover(o)
4227 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4228 SurfaceMover_swigregister(SurfaceMover)
4230 class BoxSweepClosePairsFinder(ClosePairsFinder):
4231 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
4233 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4236 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4237 this = _IMP_core.new_BoxSweepClosePairsFinder()
4239 self.this.append(this)
4240 except __builtin__.Exception:
4243 def get_close_pairs(self, *args):
4245 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4246 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4247 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4248 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4250 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4253 def do_get_inputs(self, m, pis):
4254 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4255 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4258 def get_version_info(self):
4259 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4260 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4264 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4265 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4269 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4270 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4275 return _object_cast_to_BoxSweepClosePairsFinder(o)
4277 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4278 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4281 """Proxy of C++ IMP::core::CentroidOfRefined class."""
4283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4285 def __init__(self, *args):
4287 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4288 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4289 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4291 this = _IMP_core.new_CentroidOfRefined(*args)
4293 self.this.append(this)
4294 except __builtin__.Exception:
4297 def do_get_inputs(self, m, pis):
4298 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4299 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4302 def do_get_outputs(self, m, pis):
4303 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4304 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4307 def get_version_info(self):
4308 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4309 return _IMP_core.CentroidOfRefined_get_version_info(self)
4313 """__str__(CentroidOfRefined self) -> std::string"""
4314 return _IMP_core.CentroidOfRefined___str__(self)
4318 """__repr__(CentroidOfRefined self) -> std::string"""
4319 return _IMP_core.CentroidOfRefined___repr__(self)
4324 return _object_cast_to_CentroidOfRefined(o)
4326 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4327 CentroidOfRefined_swigregister(CentroidOfRefined)
4329 class Centroid(XYZ):
4330 """Proxy of C++ IMP::core::Centroid class."""
4332 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4334 def get_constraint(self):
4335 """get_constraint(Centroid self) -> Constraint"""
4336 return _IMP_core.Centroid_get_constraint(self)
4339 def __init__(self, *args):
4341 __init__(IMP::core::Centroid self) -> Centroid
4342 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4343 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4345 this = _IMP_core.new_Centroid(*args)
4347 self.this.append(this)
4348 except __builtin__.Exception:
4351 def show(self, *args):
4353 show(Centroid self, _ostream out)
4356 return _IMP_core.Centroid_show(self, *args)
4359 def setup_particle(*args):
4361 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4362 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4363 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4364 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4366 return _IMP_core.Centroid_setup_particle(*args)
4368 setup_particle = staticmethod(setup_particle)
4370 def get_is_setup(*args):
4372 get_is_setup(_ParticleAdaptor p) -> bool
4373 get_is_setup(Model m, ParticleIndex pi) -> bool
4375 return _IMP_core.Centroid_get_is_setup(*args)
4377 get_is_setup = staticmethod(get_is_setup)
4379 def add_attribute(self, *args):
4381 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4382 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4383 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4384 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4385 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4386 add_attribute(Centroid self, ObjectKey a0, Object a1)
4388 return _IMP_core.Centroid_add_attribute(self, *args)
4391 def get_value(self, *args):
4393 get_value(Centroid self, FloatKey a0) -> IMP::Float
4394 get_value(Centroid self, IntKey a0) -> IMP::Int
4395 get_value(Centroid self, StringKey a0) -> IMP::String
4396 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4397 get_value(Centroid self, ObjectKey a0) -> Object
4399 return _IMP_core.Centroid_get_value(self, *args)
4402 def set_value(self, *args):
4404 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4405 set_value(Centroid self, IntKey a0, IMP::Int a1)
4406 set_value(Centroid self, StringKey a0, IMP::String a1)
4407 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4408 set_value(Centroid self, ObjectKey a0, Object a1)
4410 return _IMP_core.Centroid_set_value(self, *args)
4413 def remove_attribute(self, *args):
4415 remove_attribute(Centroid self, FloatKey a0)
4416 remove_attribute(Centroid self, IntKey a0)
4417 remove_attribute(Centroid self, StringKey a0)
4418 remove_attribute(Centroid self, ParticleIndexKey a0)
4419 remove_attribute(Centroid self, ObjectKey a0)
4421 return _IMP_core.Centroid_remove_attribute(self, *args)
4424 def has_attribute(self, *args):
4426 has_attribute(Centroid self, FloatKey a0) -> bool
4427 has_attribute(Centroid self, IntKey a0) -> bool
4428 has_attribute(Centroid self, StringKey a0) -> bool
4429 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4430 has_attribute(Centroid self, ObjectKey a0) -> bool
4432 return _IMP_core.Centroid_has_attribute(self, *args)
4435 def get_derivative(self, a0):
4436 """get_derivative(Centroid self, FloatKey a0) -> double"""
4437 return _IMP_core.Centroid_get_derivative(self, a0)
4441 """get_name(Centroid self) -> std::string"""
4442 return _IMP_core.Centroid_get_name(self)
4445 def clear_caches(self):
4446 """clear_caches(Centroid self)"""
4447 return _IMP_core.Centroid_clear_caches(self)
4450 def set_name(self, a0):
4451 """set_name(Centroid self, std::string a0)"""
4452 return _IMP_core.Centroid_set_name(self, a0)
4456 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4457 return _IMP_core.Centroid_set_check_level(self, a0)
4460 def add_to_derivative(self, a0, a1, a2):
4461 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4462 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4465 def set_is_optimized(self, a0, a1):
4466 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4467 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4470 def get_is_optimized(self, a0):
4471 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4472 return _IMP_core.Centroid_get_is_optimized(self, a0)
4476 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4477 return _IMP_core.Centroid_get_check_level(self)
4480 def __eq__(self, *args):
4482 __eq__(Centroid self, Centroid o) -> bool
4483 __eq__(Centroid self, Particle d) -> bool
4485 return _IMP_core.Centroid___eq__(self, *args)
4488 def __ne__(self, *args):
4490 __ne__(Centroid self, Centroid o) -> bool
4491 __ne__(Centroid self, Particle d) -> bool
4493 return _IMP_core.Centroid___ne__(self, *args)
4496 def __le__(self, *args):
4498 __le__(Centroid self, Centroid o) -> bool
4499 __le__(Centroid self, Particle d) -> bool
4501 return _IMP_core.Centroid___le__(self, *args)
4504 def __lt__(self, *args):
4506 __lt__(Centroid self, Centroid o) -> bool
4507 __lt__(Centroid self, Particle d) -> bool
4509 return _IMP_core.Centroid___lt__(self, *args)
4512 def __ge__(self, *args):
4514 __ge__(Centroid self, Centroid o) -> bool
4515 __ge__(Centroid self, Particle d) -> bool
4517 return _IMP_core.Centroid___ge__(self, *args)
4520 def __gt__(self, *args):
4522 __gt__(Centroid self, Centroid o) -> bool
4523 __gt__(Centroid self, Particle d) -> bool
4525 return _IMP_core.Centroid___gt__(self, *args)
4529 """__hash__(Centroid self) -> std::size_t"""
4530 return _IMP_core.Centroid___hash__(self)
4534 """__str__(Centroid self) -> std::string"""
4535 return _IMP_core.Centroid___str__(self)
4539 """__repr__(Centroid self) -> std::string"""
4540 return _IMP_core.Centroid___repr__(self)
4542 __swig_destroy__ = _IMP_core.delete_Centroid
4543 __del__ =
lambda self:
None
4544 Centroid_swigregister = _IMP_core.Centroid_swigregister
4545 Centroid_swigregister(Centroid)
4547 def Centroid_setup_particle(*args):
4549 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4550 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4551 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4552 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4554 return _IMP_core.Centroid_setup_particle(*args)
4556 def Centroid_get_is_setup(*args):
4558 get_is_setup(_ParticleAdaptor p) -> bool
4559 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4561 return _IMP_core.Centroid_get_is_setup(*args)
4564 """Proxy of C++ IMP::core::ChecksScoreState class."""
4566 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4568 def __init__(self, m, probability):
4569 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4570 this = _IMP_core.new_ChecksScoreState(m, probability)
4572 self.this.append(this)
4573 except __builtin__.Exception:
4576 def get_number_of_checked(self):
4577 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4578 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4581 def do_before_evaluate(self):
4582 """do_before_evaluate(ChecksScoreState self)"""
4583 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4586 def do_after_evaluate(self, da):
4587 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4588 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4591 def do_get_outputs(self):
4592 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4593 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4596 def do_get_inputs(self):
4597 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4598 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4601 def get_version_info(self):
4602 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4603 return _IMP_core.ChecksScoreState_get_version_info(self)
4607 """__str__(ChecksScoreState self) -> std::string"""
4608 return _IMP_core.ChecksScoreState___str__(self)
4612 """__repr__(ChecksScoreState self) -> std::string"""
4613 return _IMP_core.ChecksScoreState___repr__(self)
4618 return _object_cast_to_ChecksScoreState(o)
4620 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4621 ChecksScoreState_swigregister(ChecksScoreState)
4624 """Proxy of C++ IMP::core::ChildrenRefiner class."""
4626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4628 def __init__(self, tr):
4629 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4630 this = _IMP_core.new_ChildrenRefiner(tr)
4632 self.this.append(this)
4633 except __builtin__.Exception:
4636 def do_get_inputs(self, m, pis):
4637 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4638 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4641 def get_version_info(self):
4642 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4643 return _IMP_core.ChildrenRefiner_get_version_info(self)
4647 """__str__(ChildrenRefiner self) -> std::string"""
4648 return _IMP_core.ChildrenRefiner___str__(self)
4652 """__repr__(ChildrenRefiner self) -> std::string"""
4653 return _IMP_core.ChildrenRefiner___repr__(self)
4658 return _object_cast_to_ChildrenRefiner(o)
4660 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4661 ChildrenRefiner_swigregister(ChildrenRefiner)
4664 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
4666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4668 def __init__(self, values, minrange, spacing):
4669 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4670 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4672 self.this.append(this)
4673 except __builtin__.Exception:
4676 def get_version_info(self):
4677 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4678 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4681 def do_show(self, out):
4682 """do_show(ClosedCubicSpline self, _ostream out)"""
4683 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4687 """__str__(ClosedCubicSpline self) -> std::string"""
4688 return _IMP_core.ClosedCubicSpline___str__(self)
4692 """__repr__(ClosedCubicSpline self) -> std::string"""
4693 return _IMP_core.ClosedCubicSpline___repr__(self)
4698 return _object_cast_to_ClosedCubicSpline(o)
4700 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4701 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4704 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
4706 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4708 def __init__(self, f, r, k=1):
4710 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4711 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4713 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4715 self.this.append(this)
4716 except __builtin__.Exception:
4719 def get_close_pairs(self, pp):
4720 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4721 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4724 def create_current_decomposition(self, m, vt):
4725 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4726 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4729 def do_get_inputs(self, m, pis):
4730 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4731 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4734 def get_version_info(self):
4735 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4736 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4740 """__str__(KClosePairsPairScore self) -> std::string"""
4741 return _IMP_core.KClosePairsPairScore___str__(self)
4745 """__repr__(KClosePairsPairScore self) -> std::string"""
4746 return _IMP_core.KClosePairsPairScore___repr__(self)
4751 return _object_cast_to_KClosePairsPairScore(o)
4753 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4754 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4757 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
4759 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4761 def __init__(self, f, r, max_distance):
4762 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4763 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4765 self.this.append(this)
4766 except __builtin__.Exception:
4769 def get_close_pairs(self, pp):
4770 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4771 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4774 def create_current_decomposition(self, m, vt):
4775 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4776 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4779 def do_get_inputs(self, m, pis):
4780 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4781 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4784 def get_version_info(self):
4785 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4786 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4790 """__str__(ClosePairsPairScore self) -> std::string"""
4791 return _IMP_core.ClosePairsPairScore___str__(self)
4795 """__repr__(ClosePairsPairScore self) -> std::string"""
4796 return _IMP_core.ClosePairsPairScore___repr__(self)
4801 return _object_cast_to_ClosePairsPairScore(o)
4803 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4804 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4807 """Proxy of C++ IMP::core::ConjugateGradients class."""
4809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4811 def __init__(self, *args):
4813 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4814 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4816 this = _IMP_core.new_ConjugateGradients(*args)
4818 self.this.append(this)
4819 except __builtin__.Exception:
4822 def set_gradient_threshold(self, t):
4823 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4824 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4827 def set_threshold(self, t):
4828 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4829 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4832 def set_max_change(self, t):
4833 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4834 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4837 def do_optimize(self, max_steps):
4838 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4839 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4842 def get_version_info(self):
4843 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4844 return _IMP_core.ConjugateGradients_get_version_info(self)
4848 """__str__(ConjugateGradients self) -> std::string"""
4849 return _IMP_core.ConjugateGradients___str__(self)
4853 """__repr__(ConjugateGradients self) -> std::string"""
4854 return _IMP_core.ConjugateGradients___repr__(self)
4859 return _object_cast_to_ConjugateGradients(o)
4861 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
4862 ConjugateGradients_swigregister(ConjugateGradients)
4865 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
4867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4869 def __init__(self, ps, sc):
4870 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4871 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
4873 self.this.append(this)
4874 except __builtin__.Exception:
4877 def get_connected_index_pairs(self):
4878 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4879 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4882 def get_pair_score(self):
4883 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
4884 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4887 def do_create_current_decomposition(self):
4888 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4889 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4892 def do_get_inputs(self):
4893 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4894 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4897 def get_version_info(self):
4898 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4899 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4903 """__str__(ConnectivityRestraint self) -> std::string"""
4904 return _IMP_core.ConnectivityRestraint___str__(self)
4908 """__repr__(ConnectivityRestraint self) -> std::string"""
4909 return _IMP_core.ConnectivityRestraint___repr__(self)
4914 return _object_cast_to_ConnectivityRestraint(o)
4916 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
4917 ConnectivityRestraint_swigregister(ConnectivityRestraint)
4920 """Proxy of C++ IMP::core::ConstantRestraint class."""
4922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4924 def __init__(self, m, v):
4925 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
4926 this = _IMP_core.new_ConstantRestraint(m, v)
4928 self.this.append(this)
4929 except __builtin__.Exception:
4932 def do_get_inputs(self):
4933 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4934 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4937 def get_version_info(self):
4938 """get_version_info(ConstantRestraint self) -> VersionInfo"""
4939 return _IMP_core.ConstantRestraint_get_version_info(self)
4943 """__str__(ConstantRestraint self) -> std::string"""
4944 return _IMP_core.ConstantRestraint___str__(self)
4948 """__repr__(ConstantRestraint self) -> std::string"""
4949 return _IMP_core.ConstantRestraint___repr__(self)
4954 return _object_cast_to_ConstantRestraint(o)
4956 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
4957 ConstantRestraint_swigregister(ConstantRestraint)
4960 """Proxy of C++ IMP::core::Cosine class."""
4962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4964 def __init__(self, force_constant, periodicity, phase):
4965 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
4966 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
4968 self.this.append(this)
4969 except __builtin__.Exception:
4972 def get_version_info(self):
4973 """get_version_info(Cosine self) -> VersionInfo"""
4974 return _IMP_core.Cosine_get_version_info(self)
4977 def do_show(self, out):
4978 """do_show(Cosine self, _ostream out)"""
4979 return _IMP_core.Cosine_do_show(self, out)
4983 """__str__(Cosine self) -> std::string"""
4984 return _IMP_core.Cosine___str__(self)
4988 """__repr__(Cosine self) -> std::string"""
4989 return _IMP_core.Cosine___repr__(self)
4994 return _object_cast_to_Cosine(o)
4996 Cosine_swigregister = _IMP_core.Cosine_swigregister
4997 Cosine_swigregister(Cosine)
5000 """Proxy of C++ IMP::core::CoverRefined class."""
5002 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5004 def __init__(self, ref, slack=0):
5006 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
5007 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
5009 this = _IMP_core.new_CoverRefined(ref, slack)
5011 self.this.append(this)
5012 except __builtin__.Exception:
5015 def set_slack(self, slack):
5016 """set_slack(CoverRefined self, IMP::Float slack)"""
5017 return _IMP_core.CoverRefined_set_slack(self, slack)
5020 def do_get_inputs(self, m, pis):
5021 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5022 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5025 def do_get_outputs(self, m, pis):
5026 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5027 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5030 def get_version_info(self):
5031 """get_version_info(CoverRefined self) -> VersionInfo"""
5032 return _IMP_core.CoverRefined_get_version_info(self)
5036 """__str__(CoverRefined self) -> std::string"""
5037 return _IMP_core.CoverRefined___str__(self)
5041 """__repr__(CoverRefined self) -> std::string"""
5042 return _IMP_core.CoverRefined___repr__(self)
5047 return _object_cast_to_CoverRefined(o)
5049 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5050 CoverRefined_swigregister(CoverRefined)
5053 """Proxy of C++ IMP::core::Cover class."""
5055 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5057 def get_constraint(self):
5058 """get_constraint(Cover self) -> Constraint"""
5059 return _IMP_core.Cover_get_constraint(self)
5062 def __init__(self, *args):
5064 __init__(IMP::core::Cover self) -> Cover
5065 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5066 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5068 this = _IMP_core.new_Cover(*args)
5070 self.this.append(this)
5071 except __builtin__.Exception:
5074 def show(self, *args):
5076 show(Cover self, _ostream out)
5079 return _IMP_core.Cover_show(self, *args)
5082 def setup_particle(*args):
5084 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5085 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5086 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5087 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5089 return _IMP_core.Cover_setup_particle(*args)
5091 setup_particle = staticmethod(setup_particle)
5093 def get_is_setup(*args):
5095 get_is_setup(_ParticleAdaptor p) -> bool
5096 get_is_setup(Model m, ParticleIndex pi) -> bool
5098 return _IMP_core.Cover_get_is_setup(*args)
5100 get_is_setup = staticmethod(get_is_setup)
5102 def add_attribute(self, *args):
5104 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5105 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5106 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5107 add_attribute(Cover self, StringKey a0, IMP::String a1)
5108 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5109 add_attribute(Cover self, ObjectKey a0, Object a1)
5111 return _IMP_core.Cover_add_attribute(self, *args)
5114 def get_value(self, *args):
5116 get_value(Cover self, FloatKey a0) -> IMP::Float
5117 get_value(Cover self, IntKey a0) -> IMP::Int
5118 get_value(Cover self, StringKey a0) -> IMP::String
5119 get_value(Cover self, ParticleIndexKey a0) -> Particle
5120 get_value(Cover self, ObjectKey a0) -> Object
5122 return _IMP_core.Cover_get_value(self, *args)
5125 def set_value(self, *args):
5127 set_value(Cover self, FloatKey a0, IMP::Float a1)
5128 set_value(Cover self, IntKey a0, IMP::Int a1)
5129 set_value(Cover self, StringKey a0, IMP::String a1)
5130 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5131 set_value(Cover self, ObjectKey a0, Object a1)
5133 return _IMP_core.Cover_set_value(self, *args)
5136 def remove_attribute(self, *args):
5138 remove_attribute(Cover self, FloatKey a0)
5139 remove_attribute(Cover self, IntKey a0)
5140 remove_attribute(Cover self, StringKey a0)
5141 remove_attribute(Cover self, ParticleIndexKey a0)
5142 remove_attribute(Cover self, ObjectKey a0)
5144 return _IMP_core.Cover_remove_attribute(self, *args)
5147 def has_attribute(self, *args):
5149 has_attribute(Cover self, FloatKey a0) -> bool
5150 has_attribute(Cover self, IntKey a0) -> bool
5151 has_attribute(Cover self, StringKey a0) -> bool
5152 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5153 has_attribute(Cover self, ObjectKey a0) -> bool
5155 return _IMP_core.Cover_has_attribute(self, *args)
5158 def get_derivative(self, a0):
5159 """get_derivative(Cover self, FloatKey a0) -> double"""
5160 return _IMP_core.Cover_get_derivative(self, a0)
5164 """get_name(Cover self) -> std::string"""
5165 return _IMP_core.Cover_get_name(self)
5168 def clear_caches(self):
5169 """clear_caches(Cover self)"""
5170 return _IMP_core.Cover_clear_caches(self)
5173 def set_name(self, a0):
5174 """set_name(Cover self, std::string a0)"""
5175 return _IMP_core.Cover_set_name(self, a0)
5179 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5180 return _IMP_core.Cover_set_check_level(self, a0)
5183 def add_to_derivative(self, a0, a1, a2):
5184 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5185 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5188 def set_is_optimized(self, a0, a1):
5189 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5190 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5193 def get_is_optimized(self, a0):
5194 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5195 return _IMP_core.Cover_get_is_optimized(self, a0)
5199 """get_check_level(Cover self) -> IMP::CheckLevel"""
5200 return _IMP_core.Cover_get_check_level(self)
5203 def __eq__(self, *args):
5205 __eq__(Cover self, Cover o) -> bool
5206 __eq__(Cover self, Particle d) -> bool
5208 return _IMP_core.Cover___eq__(self, *args)
5211 def __ne__(self, *args):
5213 __ne__(Cover self, Cover o) -> bool
5214 __ne__(Cover self, Particle d) -> bool
5216 return _IMP_core.Cover___ne__(self, *args)
5219 def __le__(self, *args):
5221 __le__(Cover self, Cover o) -> bool
5222 __le__(Cover self, Particle d) -> bool
5224 return _IMP_core.Cover___le__(self, *args)
5227 def __lt__(self, *args):
5229 __lt__(Cover self, Cover o) -> bool
5230 __lt__(Cover self, Particle d) -> bool
5232 return _IMP_core.Cover___lt__(self, *args)
5235 def __ge__(self, *args):
5237 __ge__(Cover self, Cover o) -> bool
5238 __ge__(Cover self, Particle d) -> bool
5240 return _IMP_core.Cover___ge__(self, *args)
5243 def __gt__(self, *args):
5245 __gt__(Cover self, Cover o) -> bool
5246 __gt__(Cover self, Particle d) -> bool
5248 return _IMP_core.Cover___gt__(self, *args)
5252 """__hash__(Cover self) -> std::size_t"""
5253 return _IMP_core.Cover___hash__(self)
5257 """__str__(Cover self) -> std::string"""
5258 return _IMP_core.Cover___str__(self)
5262 """__repr__(Cover self) -> std::string"""
5263 return _IMP_core.Cover___repr__(self)
5265 __swig_destroy__ = _IMP_core.delete_Cover
5266 __del__ =
lambda self:
None
5267 Cover_swigregister = _IMP_core.Cover_swigregister
5268 Cover_swigregister(Cover)
5270 def Cover_setup_particle(*args):
5272 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5273 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5274 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5275 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5277 return _IMP_core.Cover_setup_particle(*args)
5279 def Cover_get_is_setup(*args):
5281 get_is_setup(_ParticleAdaptor p) -> bool
5282 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5284 return _IMP_core.Cover_get_is_setup(*args)
5287 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
5289 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5291 def __init__(self, *args):
5293 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5294 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5296 this = _IMP_core.new_DerivativesFromRefined(*args)
5298 self.this.append(this)
5299 except __builtin__.Exception:
5302 def do_get_inputs(self, m, pis):
5303 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5304 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5307 def do_get_outputs(self, m, pis):
5308 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5309 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5312 def get_version_info(self):
5313 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5314 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5318 """__str__(DerivativesFromRefined self) -> std::string"""
5319 return _IMP_core.DerivativesFromRefined___str__(self)
5323 """__repr__(DerivativesFromRefined self) -> std::string"""
5324 return _IMP_core.DerivativesFromRefined___repr__(self)
5329 return _object_cast_to_DerivativesFromRefined(o)
5331 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5332 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5335 """Proxy of C++ IMP::core::DerivativesToRefined class."""
5337 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5339 def __init__(self, *args):
5341 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5342 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5344 this = _IMP_core.new_DerivativesToRefined(*args)
5346 self.this.append(this)
5347 except __builtin__.Exception:
5350 def do_get_inputs(self, m, pis):
5351 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5352 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5355 def do_get_outputs(self, m, pis):
5356 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5357 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5360 def get_version_info(self):
5361 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5362 return _IMP_core.DerivativesToRefined_get_version_info(self)
5366 """__str__(DerivativesToRefined self) -> std::string"""
5367 return _IMP_core.DerivativesToRefined___str__(self)
5371 """__repr__(DerivativesToRefined self) -> std::string"""
5372 return _IMP_core.DerivativesToRefined___repr__(self)
5377 return _object_cast_to_DerivativesToRefined(o)
5379 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5380 DerivativesToRefined_swigregister(DerivativesToRefined)
5383 """Proxy of C++ IMP::core::DiameterRestraint class."""
5385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5387 def __init__(self, f, sc, diameter):
5388 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5389 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5391 self.this.append(this)
5392 except __builtin__.Exception:
5395 def do_get_inputs(self):
5396 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5397 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5400 def get_version_info(self):
5401 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5402 return _IMP_core.DiameterRestraint_get_version_info(self)
5405 def do_create_decomposition(self):
5406 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5407 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5410 def do_create_current_decomposition(self):
5411 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5412 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5416 """__str__(DiameterRestraint self) -> std::string"""
5417 return _IMP_core.DiameterRestraint___str__(self)
5421 """__repr__(DiameterRestraint self) -> std::string"""
5422 return _IMP_core.DiameterRestraint___repr__(self)
5427 return _object_cast_to_DiameterRestraint(o)
5429 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5430 DiameterRestraint_swigregister(DiameterRestraint)
5433 """Proxy of C++ IMP::core::Transform class."""
5435 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5437 def __init__(self, t, ignore_non_xyz=False):
5439 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5440 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5442 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5444 self.this.append(this)
5445 except __builtin__.Exception:
5448 def do_get_inputs(self, m, pis):
5449 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5450 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5453 def do_get_outputs(self, m, pis):
5454 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5455 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5458 def get_version_info(self):
5459 """get_version_info(Transform self) -> VersionInfo"""
5460 return _IMP_core.Transform_get_version_info(self)
5464 """__str__(Transform self) -> std::string"""
5465 return _IMP_core.Transform___str__(self)
5469 """__repr__(Transform self) -> std::string"""
5470 return _IMP_core.Transform___repr__(self)
5475 return _object_cast_to_Transform(o)
5477 Transform_swigregister = _IMP_core.Transform_swigregister
5478 Transform_swigregister(Transform)
5481 """Proxy of C++ IMP::core::Reference class."""
5483 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5485 def __init__(self, *args):
5487 __init__(IMP::core::Reference self) -> Reference
5488 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5489 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5491 this = _IMP_core.new_Reference(*args)
5493 self.this.append(this)
5494 except __builtin__.Exception:
5497 def show(self, *args):
5499 show(Reference self, _ostream out)
5500 show(Reference self)
5502 return _IMP_core.Reference_show(self, *args)
5505 def setup_particle(*args):
5507 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5508 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5510 return _IMP_core.Reference_setup_particle(*args)
5512 setup_particle = staticmethod(setup_particle)
5514 def get_reference_particle(self):
5515 """get_reference_particle(Reference self) -> Particle"""
5516 return _IMP_core.Reference_get_reference_particle(self)
5519 def get_is_setup(*args):
5521 get_is_setup(_ParticleAdaptor p) -> bool
5522 get_is_setup(Model m, ParticleIndex pi) -> bool
5524 return _IMP_core.Reference_get_is_setup(*args)
5526 get_is_setup = staticmethod(get_is_setup)
5528 def get_reference_key():
5529 """get_reference_key() -> ParticleIndexKey"""
5530 return _IMP_core.Reference_get_reference_key()
5532 get_reference_key = staticmethod(get_reference_key)
5534 def add_attribute(self, *args):
5536 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5537 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5538 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5539 add_attribute(Reference self, StringKey a0, IMP::String a1)
5540 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5541 add_attribute(Reference self, ObjectKey a0, Object a1)
5543 return _IMP_core.Reference_add_attribute(self, *args)
5546 def get_value(self, *args):
5548 get_value(Reference self, FloatKey a0) -> IMP::Float
5549 get_value(Reference self, IntKey a0) -> IMP::Int
5550 get_value(Reference self, StringKey a0) -> IMP::String
5551 get_value(Reference self, ParticleIndexKey a0) -> Particle
5552 get_value(Reference self, ObjectKey a0) -> Object
5554 return _IMP_core.Reference_get_value(self, *args)
5557 def set_value(self, *args):
5559 set_value(Reference self, FloatKey a0, IMP::Float a1)
5560 set_value(Reference self, IntKey a0, IMP::Int a1)
5561 set_value(Reference self, StringKey a0, IMP::String a1)
5562 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5563 set_value(Reference self, ObjectKey a0, Object a1)
5565 return _IMP_core.Reference_set_value(self, *args)
5568 def remove_attribute(self, *args):
5570 remove_attribute(Reference self, FloatKey a0)
5571 remove_attribute(Reference self, IntKey a0)
5572 remove_attribute(Reference self, StringKey a0)
5573 remove_attribute(Reference self, ParticleIndexKey a0)
5574 remove_attribute(Reference self, ObjectKey a0)
5576 return _IMP_core.Reference_remove_attribute(self, *args)
5579 def has_attribute(self, *args):
5581 has_attribute(Reference self, FloatKey a0) -> bool
5582 has_attribute(Reference self, IntKey a0) -> bool
5583 has_attribute(Reference self, StringKey a0) -> bool
5584 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5585 has_attribute(Reference self, ObjectKey a0) -> bool
5587 return _IMP_core.Reference_has_attribute(self, *args)
5590 def get_derivative(self, a0):
5591 """get_derivative(Reference self, FloatKey a0) -> double"""
5592 return _IMP_core.Reference_get_derivative(self, a0)
5596 """get_name(Reference self) -> std::string"""
5597 return _IMP_core.Reference_get_name(self)
5600 def clear_caches(self):
5601 """clear_caches(Reference self)"""
5602 return _IMP_core.Reference_clear_caches(self)
5605 def set_name(self, a0):
5606 """set_name(Reference self, std::string a0)"""
5607 return _IMP_core.Reference_set_name(self, a0)
5611 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5612 return _IMP_core.Reference_set_check_level(self, a0)
5615 def add_to_derivative(self, a0, a1, a2):
5616 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5617 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5620 def set_is_optimized(self, a0, a1):
5621 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5622 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5625 def get_is_optimized(self, a0):
5626 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5627 return _IMP_core.Reference_get_is_optimized(self, a0)
5631 """get_check_level(Reference self) -> IMP::CheckLevel"""
5632 return _IMP_core.Reference_get_check_level(self)
5635 def __eq__(self, *args):
5637 __eq__(Reference self, Reference o) -> bool
5638 __eq__(Reference self, Particle d) -> bool
5640 return _IMP_core.Reference___eq__(self, *args)
5643 def __ne__(self, *args):
5645 __ne__(Reference self, Reference o) -> bool
5646 __ne__(Reference self, Particle d) -> bool
5648 return _IMP_core.Reference___ne__(self, *args)
5651 def __le__(self, *args):
5653 __le__(Reference self, Reference o) -> bool
5654 __le__(Reference self, Particle d) -> bool
5656 return _IMP_core.Reference___le__(self, *args)
5659 def __lt__(self, *args):
5661 __lt__(Reference self, Reference o) -> bool
5662 __lt__(Reference self, Particle d) -> bool
5664 return _IMP_core.Reference___lt__(self, *args)
5667 def __ge__(self, *args):
5669 __ge__(Reference self, Reference o) -> bool
5670 __ge__(Reference self, Particle d) -> bool
5672 return _IMP_core.Reference___ge__(self, *args)
5675 def __gt__(self, *args):
5677 __gt__(Reference self, Reference o) -> bool
5678 __gt__(Reference self, Particle d) -> bool
5680 return _IMP_core.Reference___gt__(self, *args)
5684 """__hash__(Reference self) -> std::size_t"""
5685 return _IMP_core.Reference___hash__(self)
5689 """__str__(Reference self) -> std::string"""
5690 return _IMP_core.Reference___str__(self)
5694 """__repr__(Reference self) -> std::string"""
5695 return _IMP_core.Reference___repr__(self)
5697 __swig_destroy__ = _IMP_core.delete_Reference
5698 __del__ =
lambda self:
None
5699 Reference_swigregister = _IMP_core.Reference_swigregister
5700 Reference_swigregister(Reference)
5702 def Reference_setup_particle(*args):
5704 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5705 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5707 return _IMP_core.Reference_setup_particle(*args)
5709 def Reference_get_is_setup(*args):
5711 get_is_setup(_ParticleAdaptor p) -> bool
5712 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5714 return _IMP_core.Reference_get_is_setup(*args)
5716 def Reference_get_reference_key():
5717 """Reference_get_reference_key() -> ParticleIndexKey"""
5718 return _IMP_core.Reference_get_reference_key()
5721 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
5723 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5725 def __init__(self, t, r):
5726 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5727 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5729 self.this.append(this)
5730 except __builtin__.Exception:
5733 def do_get_inputs(self, m, pis):
5734 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5735 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5738 def do_get_outputs(self, m, pis):
5739 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5740 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5743 def get_version_info(self):
5744 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5745 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5749 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5750 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5754 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5755 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5760 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5762 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5763 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5766 """Proxy of C++ IMP::core::TransformationSymmetry class."""
5768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5770 def __init__(self, *args):
5772 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5773 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5775 this = _IMP_core.new_TransformationSymmetry(*args)
5777 self.this.append(this)
5778 except __builtin__.Exception:
5781 def get_transformation(self):
5782 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5783 return _IMP_core.TransformationSymmetry_get_transformation(self)
5786 def set_transformation(self, t):
5787 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5788 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5791 def do_get_inputs(self, m, pis):
5792 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5793 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5796 def do_get_outputs(self, m, pis):
5797 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5798 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5801 def get_version_info(self):
5802 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5803 return _IMP_core.TransformationSymmetry_get_version_info(self)
5807 """__str__(TransformationSymmetry self) -> std::string"""
5808 return _IMP_core.TransformationSymmetry___str__(self)
5812 """__repr__(TransformationSymmetry self) -> std::string"""
5813 return _IMP_core.TransformationSymmetry___repr__(self)
5818 return _object_cast_to_TransformationSymmetry(o)
5820 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5821 TransformationSymmetry_swigregister(TransformationSymmetry)
5823 class TransformationSymmetryMover(MonteCarloMover):
5824 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5828 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5829 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5830 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5832 self.this.append(this)
5833 except __builtin__.Exception:
5836 def set_maximum_translation(self, mt):
5837 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5838 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5841 def set_maximum_rotation(self, mr):
5842 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5843 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5846 def get_maximum_translation(self):
5847 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5848 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5851 def get_maximum_rotation(self):
5852 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5853 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5856 def get_version_info(self):
5857 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5858 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5862 """__str__(TransformationSymmetryMover self) -> std::string"""
5863 return _IMP_core.TransformationSymmetryMover___str__(self)
5867 """__repr__(TransformationSymmetryMover self) -> std::string"""
5868 return _IMP_core.TransformationSymmetryMover___repr__(self)
5873 return _object_cast_to_TransformationSymmetryMover(o)
5875 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
5876 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5879 """Proxy of C++ IMP::core::DihedralRestraint class."""
5881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5883 def __init__(self, m, score_func, p1, p2, p3, p4):
5884 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5885 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
5887 self.this.append(this)
5888 except __builtin__.Exception:
5891 def do_get_inputs(self):
5892 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5893 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5896 def get_version_info(self):
5897 """get_version_info(DihedralRestraint self) -> VersionInfo"""
5898 return _IMP_core.DihedralRestraint_get_version_info(self)
5902 """__str__(DihedralRestraint self) -> std::string"""
5903 return _IMP_core.DihedralRestraint___str__(self)
5907 """__repr__(DihedralRestraint self) -> std::string"""
5908 return _IMP_core.DihedralRestraint___repr__(self)
5913 return _object_cast_to_DihedralRestraint(o)
5915 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
5916 DihedralRestraint_swigregister(DihedralRestraint)
5919 """Proxy of C++ IMP::core::DistancePairScore class."""
5921 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5923 def __init__(self, *args):
5925 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
5926 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
5928 this = _IMP_core.new_DistancePairScore(*args)
5930 self.this.append(this)
5931 except __builtin__.Exception:
5934 def do_get_inputs(self, m, pis):
5935 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5936 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
5939 def get_version_info(self):
5940 """get_version_info(DistancePairScore self) -> VersionInfo"""
5941 return _IMP_core.DistancePairScore_get_version_info(self)
5945 """__str__(DistancePairScore self) -> std::string"""
5946 return _IMP_core.DistancePairScore___str__(self)
5950 """__repr__(DistancePairScore self) -> std::string"""
5951 return _IMP_core.DistancePairScore___repr__(self)
5956 return _object_cast_to_DistancePairScore(o)
5958 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
5959 DistancePairScore_swigregister(DistancePairScore)
5962 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
5964 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5966 def __init__(self, *args):
5968 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
5969 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
5971 this = _IMP_core.new_HarmonicDistancePairScore(*args)
5973 self.this.append(this)
5974 except __builtin__.Exception:
5977 def do_get_inputs(self, m, pis):
5978 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5979 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
5982 def get_version_info(self):
5983 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
5984 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
5988 """__str__(HarmonicDistancePairScore self) -> std::string"""
5989 return _IMP_core.HarmonicDistancePairScore___str__(self)
5993 """__repr__(HarmonicDistancePairScore self) -> std::string"""
5994 return _IMP_core.HarmonicDistancePairScore___repr__(self)
5999 return _object_cast_to_HarmonicDistancePairScore(o)
6001 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
6002 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
6005 """Proxy of C++ IMP::core::DistanceRestraint class."""
6007 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6009 def __init__(self, *args):
6011 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
6012 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6014 this = _IMP_core.new_DistanceRestraint(*args)
6016 self.this.append(this)
6017 except __builtin__.Exception:
6020 def get_version_info(self):
6021 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6022 return _IMP_core.DistanceRestraint_get_version_info(self)
6026 """__str__(DistanceRestraint self) -> std::string"""
6027 return _IMP_core.DistanceRestraint___str__(self)
6031 """__repr__(DistanceRestraint self) -> std::string"""
6032 return _IMP_core.DistanceRestraint___repr__(self)
6037 return _object_cast_to_DistanceRestraint(o)
6039 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6040 DistanceRestraint_swigregister(DistanceRestraint)
6043 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
6045 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6047 def __init__(self, f, pt):
6048 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6049 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6051 self.this.append(this)
6052 except __builtin__.Exception:
6055 def do_get_inputs(self, m, pis):
6056 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6057 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6060 def get_version_info(self):
6061 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6062 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6066 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6067 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6071 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6072 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6077 return _object_cast_to_SphereDistanceToSingletonScore(o)
6079 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6080 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6083 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
6085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6087 def __init__(self, *args):
6089 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6090 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6091 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6092 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6094 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6096 self.this.append(this)
6097 except __builtin__.Exception:
6100 def do_get_inputs(self):
6101 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6102 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6105 def get_version_info(self):
6106 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6107 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6110 def do_create_decomposition(self):
6111 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6112 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6115 def do_create_current_decomposition(self):
6116 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6117 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6121 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6122 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6125 def remove_pair_filter(self, d):
6126 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6127 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6130 def remove_pair_filters(self, d):
6131 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6132 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6135 def set_pair_filters(self, ps):
6136 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6137 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6140 def set_pair_filters_order(self, objs):
6141 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6142 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6145 def add_pair_filter(self, obj):
6146 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6147 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6150 def add_pair_filters(self, objs):
6151 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6152 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6155 def clear_pair_filters(self):
6156 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6157 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6160 def get_number_of_pair_filters(self):
6161 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6162 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6165 def get_has_pair_filters(self):
6166 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6167 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6170 def get_pair_filter(self, i):
6171 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6172 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6175 def get_pair_filters(self):
6176 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6177 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6180 def reserve_pair_filters(self, sz):
6181 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6182 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6186 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6187 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6191 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6192 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6197 return _object_cast_to_ExcludedVolumeRestraint(o)
6199 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6200 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6203 """Proxy of C++ IMP::core::FixedRefiner class."""
6205 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6207 def __init__(self, *args):
6209 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6210 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6212 this = _IMP_core.new_FixedRefiner(*args)
6214 self.this.append(this)
6215 except __builtin__.Exception:
6218 def do_get_inputs(self, m, pis):
6219 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6220 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6223 def get_version_info(self):
6224 """get_version_info(FixedRefiner self) -> VersionInfo"""
6225 return _IMP_core.FixedRefiner_get_version_info(self)
6229 """__str__(FixedRefiner self) -> std::string"""
6230 return _IMP_core.FixedRefiner___str__(self)
6234 """__repr__(FixedRefiner self) -> std::string"""
6235 return _IMP_core.FixedRefiner___repr__(self)
6240 return _object_cast_to_FixedRefiner(o)
6242 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6243 FixedRefiner_swigregister(FixedRefiner)
6245 class GridClosePairsFinder(ClosePairsFinder):
6246 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
6248 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6251 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6252 this = _IMP_core.new_GridClosePairsFinder()
6254 self.this.append(this)
6255 except __builtin__.Exception:
6258 def get_close_pairs(self, *args):
6260 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6261 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6262 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6263 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6265 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6268 def do_get_inputs(self, m, pis):
6269 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6270 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6273 def get_version_info(self):
6274 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6275 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6279 """__str__(GridClosePairsFinder self) -> std::string"""
6280 return _IMP_core.GridClosePairsFinder___str__(self)
6284 """__repr__(GridClosePairsFinder self) -> std::string"""
6285 return _IMP_core.GridClosePairsFinder___repr__(self)
6290 return _object_cast_to_GridClosePairsFinder(o)
6292 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6293 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6296 """Proxy of C++ IMP::core::Harmonic class."""
6298 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6300 def __init__(self, mean, k):
6301 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6302 this = _IMP_core.new_Harmonic(mean, k)
6304 self.this.append(this)
6305 except __builtin__.Exception:
6308 def get_version_info(self):
6309 """get_version_info(Harmonic self) -> VersionInfo"""
6310 return _IMP_core.Harmonic_get_version_info(self)
6314 """get_mean(Harmonic self) -> IMP::Float"""
6315 return _IMP_core.Harmonic_get_mean(self)
6319 """get_k(Harmonic self) -> IMP::Float"""
6320 return _IMP_core.Harmonic_get_k(self)
6323 def set_mean(self, mean):
6324 """set_mean(Harmonic self, IMP::Float mean)"""
6325 return _IMP_core.Harmonic_set_mean(self, mean)
6329 """set_k(Harmonic self, IMP::Float k)"""
6330 return _IMP_core.Harmonic_set_k(self, k)
6333 def get_k_from_standard_deviation(sd, t=297.15):
6335 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6336 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6338 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6340 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6343 """__str__(Harmonic self) -> std::string"""
6344 return _IMP_core.Harmonic___str__(self)
6348 """__repr__(Harmonic self) -> std::string"""
6349 return _IMP_core.Harmonic___repr__(self)
6354 return _object_cast_to_Harmonic(o)
6356 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6357 Harmonic_swigregister(Harmonic)
6359 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6361 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6362 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6364 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6367 """Proxy of C++ IMP::core::HarmonicWell class."""
6369 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6371 def __init__(self, well, k):
6372 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6373 this = _IMP_core.new_HarmonicWell(well, k)
6375 self.this.append(this)
6376 except __builtin__.Exception:
6379 def get_version_info(self):
6380 """get_version_info(HarmonicWell self) -> VersionInfo"""
6381 return _IMP_core.HarmonicWell_get_version_info(self)
6385 """__str__(HarmonicWell self) -> std::string"""
6386 return _IMP_core.HarmonicWell___str__(self)
6390 """__repr__(HarmonicWell self) -> std::string"""
6391 return _IMP_core.HarmonicWell___repr__(self)
6396 return _object_cast_to_HarmonicWell(o)
6398 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6399 HarmonicWell_swigregister(HarmonicWell)
6401 class HarmonicLowerBound(Harmonic):
6402 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
6404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6406 def __init__(self, mean, k):
6407 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6408 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6410 self.this.append(this)
6411 except __builtin__.Exception:
6415 """__str__(HarmonicLowerBound self) -> std::string"""
6416 return _IMP_core.HarmonicLowerBound___str__(self)
6420 """__repr__(HarmonicLowerBound self) -> std::string"""
6421 return _IMP_core.HarmonicLowerBound___repr__(self)
6426 return _object_cast_to_HarmonicLowerBound(o)
6428 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6429 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6431 class HarmonicUpperBound(Harmonic):
6432 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
6434 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6436 def __init__(self, mean, k):
6437 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6438 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6440 self.this.append(this)
6441 except __builtin__.Exception:
6445 """__str__(HarmonicUpperBound self) -> std::string"""
6446 return _IMP_core.HarmonicUpperBound___str__(self)
6450 """__repr__(HarmonicUpperBound self) -> std::string"""
6451 return _IMP_core.HarmonicUpperBound___repr__(self)
6456 return _object_cast_to_HarmonicUpperBound(o)
6458 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6459 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6462 """Proxy of C++ IMP::core::WeightedSum class."""
6464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6466 def __init__(self, funcs, weights):
6467 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6468 this = _IMP_core.new_WeightedSum(funcs, weights)
6470 self.this.append(this)
6471 except __builtin__.Exception:
6474 def get_function_number(self):
6475 """get_function_number(WeightedSum self) -> unsigned int"""
6476 return _IMP_core.WeightedSum_get_function_number(self)
6479 def set_weights(self, weights):
6480 """set_weights(WeightedSum self, IMP::Floats weights)"""
6481 return _IMP_core.WeightedSum_set_weights(self, weights)
6484 def get_weights(self):
6485 """get_weights(WeightedSum self) -> IMP::Floats"""
6486 return _IMP_core.WeightedSum_get_weights(self)
6489 def get_weight(self, i):
6490 """get_weight(WeightedSum self, unsigned int i) -> double"""
6491 return _IMP_core.WeightedSum_get_weight(self, i)
6494 def get_function(self, i):
6495 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6496 return _IMP_core.WeightedSum_get_function(self, i)
6499 def get_version_info(self):
6500 """get_version_info(WeightedSum self) -> VersionInfo"""
6501 return _IMP_core.WeightedSum_get_version_info(self)
6505 """__str__(WeightedSum self) -> std::string"""
6506 return _IMP_core.WeightedSum___str__(self)
6510 """__repr__(WeightedSum self) -> std::string"""
6511 return _IMP_core.WeightedSum___repr__(self)
6516 return _object_cast_to_WeightedSum(o)
6518 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6519 WeightedSum_swigregister(WeightedSum)
6522 """Proxy of C++ IMP::core::WeightedSumOfExponential class."""
6524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6526 def __init__(self, funcs, weights, denom=1.0):
6528 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6529 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6531 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6533 self.this.append(this)
6534 except __builtin__.Exception:
6537 def get_function_number(self):
6538 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6539 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6542 def set_weights(self, weights):
6543 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6544 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6547 def get_weights(self):
6548 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6549 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6552 def get_weight(self, i):
6553 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6554 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6557 def get_function(self, i):
6558 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6559 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6562 def set_denominator(self, denom):
6563 """set_denominator(WeightedSumOfExponential self, double denom)"""
6564 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6567 def get_denominator(self):
6568 """get_denominator(WeightedSumOfExponential self) -> double"""
6569 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6572 def get_version_info(self):
6573 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6574 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6578 """__str__(WeightedSumOfExponential self) -> std::string"""
6579 return _IMP_core.WeightedSumOfExponential___str__(self)
6583 """__repr__(WeightedSumOfExponential self) -> std::string"""
6584 return _IMP_core.WeightedSumOfExponential___repr__(self)
6589 return _object_cast_to_WeightedSumOfExponential(o)
6591 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6592 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6595 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
6597 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6599 def __init__(self, m, ps, eps=0.1):
6601 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6602 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6604 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6606 self.this.append(this)
6607 except __builtin__.Exception:
6610 def add_type(self, ps):
6611 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6612 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6615 def add_composite(self, *args):
6617 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6618 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6620 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6623 def get_connected_pairs(self):
6624 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6625 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6628 def get_pair_score(self):
6629 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6630 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6633 def do_create_current_decomposition(self):
6634 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6635 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6638 def do_get_inputs(self):
6639 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6640 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6643 def get_version_info(self):
6644 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6645 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6649 """__str__(MSConnectivityRestraint self) -> std::string"""
6650 return _IMP_core.MSConnectivityRestraint___str__(self)
6654 """__repr__(MSConnectivityRestraint self) -> std::string"""
6655 return _IMP_core.MSConnectivityRestraint___repr__(self)
6660 return _object_cast_to_MSConnectivityRestraint(o)
6662 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6663 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6665 class HierarchyTraits(object):
6666 """Proxy of C++ IMP::core::HierarchyTraits class."""
6668 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6670 def __init__(self, *args):
6672 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6673 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6675 this = _IMP_core.new_HierarchyTraits(*args)
6677 self.this.append(this)
6678 except __builtin__.Exception:
6681 def get_children_key(self):
6682 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6683 return _IMP_core.HierarchyTraits_get_children_key(self)
6686 def get_parent_key(self):
6687 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6688 return _IMP_core.HierarchyTraits_get_parent_key(self)
6691 def __eq__(self, o):
6692 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6693 return _IMP_core.HierarchyTraits___eq__(self, o)
6696 def show(self, *args):
6698 show(HierarchyTraits self, _ostream out)
6699 show(HierarchyTraits self)
6701 return _IMP_core.HierarchyTraits_show(self, *args)
6705 """__str__(HierarchyTraits self) -> std::string"""
6706 return _IMP_core.HierarchyTraits___str__(self)
6710 """__repr__(HierarchyTraits self) -> std::string"""
6711 return _IMP_core.HierarchyTraits___repr__(self)
6713 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6714 __del__ =
lambda self:
None
6715 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6716 HierarchyTraits_swigregister(HierarchyTraits)
6719 """Proxy of C++ IMP::core::Hierarchy class."""
6721 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6723 def get_decorator_traits(self):
6724 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6725 return _IMP_core.Hierarchy_get_decorator_traits(self)
6728 def get_default_decorator_traits():
6729 """get_default_decorator_traits() -> HierarchyTraits"""
6730 return _IMP_core.Hierarchy_get_default_decorator_traits()
6732 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6734 def __init__(self, *args):
6736 __init__(IMP::core::Hierarchy self) -> Hierarchy
6737 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6738 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6739 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6740 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6742 this = _IMP_core.new_Hierarchy(*args)
6744 self.this.append(this)
6745 except __builtin__.Exception:
6748 def show(self, *args):
6750 show(Hierarchy self, _ostream out)
6751 show(Hierarchy self)
6753 return _IMP_core.Hierarchy_show(self, *args)
6756 def setup_particle(*args):
6758 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6759 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6760 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6761 setup_particle(_ParticleAdaptor d) -> Hierarchy
6762 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6763 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6764 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6765 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6766 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6767 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6768 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6769 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6771 return _IMP_core.Hierarchy_setup_particle(*args)
6773 setup_particle = staticmethod(setup_particle)
6775 def get_is_setup(*args):
6777 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6778 get_is_setup(_ParticleAdaptor p) -> bool
6779 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6780 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6782 return _IMP_core.Hierarchy_get_is_setup(*args)
6784 get_is_setup = staticmethod(get_is_setup)
6786 def get_parent(self):
6787 """get_parent(Hierarchy self) -> Hierarchy"""
6788 return _IMP_core.Hierarchy_get_parent(self)
6791 def get_number_of_children(self):
6792 """get_number_of_children(Hierarchy self) -> unsigned int"""
6793 return _IMP_core.Hierarchy_get_number_of_children(self)
6796 def get_child(self, i):
6797 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6798 return _IMP_core.Hierarchy_get_child(self, i)
6801 def get_children_indexes(self):
6802 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6803 return _IMP_core.Hierarchy_get_children_indexes(self)
6806 def get_children(self):
6807 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6808 return _IMP_core.Hierarchy_get_children(self)
6811 def remove_child(self, *args):
6813 remove_child(Hierarchy self, unsigned int i)
6814 remove_child(Hierarchy self, Hierarchy h)
6816 return _IMP_core.Hierarchy_remove_child(self, *args)
6819 def clear_children(self):
6820 """clear_children(Hierarchy self)"""
6821 return _IMP_core.Hierarchy_clear_children(self)
6824 def add_child(self, h):
6825 """add_child(Hierarchy self, Hierarchy h)"""
6826 return _IMP_core.Hierarchy_add_child(self, h)
6829 def add_child_at(self, h, pos):
6830 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6831 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6834 def get_child_index(self, *args):
6836 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6837 get_child_index(Hierarchy self) -> int
6839 return _IMP_core.Hierarchy_get_child_index(self, *args)
6842 def get_default_traits():
6843 """get_default_traits() -> HierarchyTraits"""
6844 return _IMP_core.Hierarchy_get_default_traits()
6846 get_default_traits = staticmethod(get_default_traits)
6848 def get_traits(self):
6849 """get_traits(Hierarchy self) -> HierarchyTraits"""
6850 return _IMP_core.Hierarchy_get_traits(self)
6853 def add_attribute(self, *args):
6855 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6856 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6857 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6858 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6859 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6860 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6862 return _IMP_core.Hierarchy_add_attribute(self, *args)
6865 def get_value(self, *args):
6867 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6868 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6869 get_value(Hierarchy self, StringKey a0) -> IMP::String
6870 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6871 get_value(Hierarchy self, ObjectKey a0) -> Object
6873 return _IMP_core.Hierarchy_get_value(self, *args)
6876 def set_value(self, *args):
6878 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6879 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6880 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6881 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6882 set_value(Hierarchy self, ObjectKey a0, Object a1)
6884 return _IMP_core.Hierarchy_set_value(self, *args)
6887 def remove_attribute(self, *args):
6889 remove_attribute(Hierarchy self, FloatKey a0)
6890 remove_attribute(Hierarchy self, IntKey a0)
6891 remove_attribute(Hierarchy self, StringKey a0)
6892 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6893 remove_attribute(Hierarchy self, ObjectKey a0)
6895 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6898 def has_attribute(self, *args):
6900 has_attribute(Hierarchy self, FloatKey a0) -> bool
6901 has_attribute(Hierarchy self, IntKey a0) -> bool
6902 has_attribute(Hierarchy self, StringKey a0) -> bool
6903 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6904 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6906 return _IMP_core.Hierarchy_has_attribute(self, *args)
6909 def get_derivative(self, a0):
6910 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
6911 return _IMP_core.Hierarchy_get_derivative(self, a0)
6915 """get_name(Hierarchy self) -> std::string"""
6916 return _IMP_core.Hierarchy_get_name(self)
6919 def clear_caches(self):
6920 """clear_caches(Hierarchy self)"""
6921 return _IMP_core.Hierarchy_clear_caches(self)
6924 def set_name(self, a0):
6925 """set_name(Hierarchy self, std::string a0)"""
6926 return _IMP_core.Hierarchy_set_name(self, a0)
6930 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
6931 return _IMP_core.Hierarchy_set_check_level(self, a0)
6934 def add_to_derivative(self, a0, a1, a2):
6935 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6936 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
6939 def set_is_optimized(self, a0, a1):
6940 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
6941 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
6944 def get_is_optimized(self, a0):
6945 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
6946 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
6950 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
6951 return _IMP_core.Hierarchy_get_check_level(self)
6954 def __eq__(self, *args):
6956 __eq__(Hierarchy self, Hierarchy o) -> bool
6957 __eq__(Hierarchy self, Particle d) -> bool
6959 return _IMP_core.Hierarchy___eq__(self, *args)
6962 def __ne__(self, *args):
6964 __ne__(Hierarchy self, Hierarchy o) -> bool
6965 __ne__(Hierarchy self, Particle d) -> bool
6967 return _IMP_core.Hierarchy___ne__(self, *args)
6970 def __le__(self, *args):
6972 __le__(Hierarchy self, Hierarchy o) -> bool
6973 __le__(Hierarchy self, Particle d) -> bool
6975 return _IMP_core.Hierarchy___le__(self, *args)
6978 def __lt__(self, *args):
6980 __lt__(Hierarchy self, Hierarchy o) -> bool
6981 __lt__(Hierarchy self, Particle d) -> bool
6983 return _IMP_core.Hierarchy___lt__(self, *args)
6986 def __ge__(self, *args):
6988 __ge__(Hierarchy self, Hierarchy o) -> bool
6989 __ge__(Hierarchy self, Particle d) -> bool
6991 return _IMP_core.Hierarchy___ge__(self, *args)
6994 def __gt__(self, *args):
6996 __gt__(Hierarchy self, Hierarchy o) -> bool
6997 __gt__(Hierarchy self, Particle d) -> bool
6999 return _IMP_core.Hierarchy___gt__(self, *args)
7003 """__hash__(Hierarchy self) -> std::size_t"""
7004 return _IMP_core.Hierarchy___hash__(self)
7008 """__str__(Hierarchy self) -> std::string"""
7009 return _IMP_core.Hierarchy___str__(self)
7013 """__repr__(Hierarchy self) -> std::string"""
7014 return _IMP_core.Hierarchy___repr__(self)
7016 __swig_destroy__ = _IMP_core.delete_Hierarchy
7017 __del__ =
lambda self:
None
7018 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7019 Hierarchy_swigregister(Hierarchy)
7021 def Hierarchy_get_default_decorator_traits():
7022 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7023 return _IMP_core.Hierarchy_get_default_decorator_traits()
7025 def Hierarchy_setup_particle(*args):
7027 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7028 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7029 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7030 setup_particle(_ParticleAdaptor d) -> Hierarchy
7031 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7032 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7033 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7034 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7035 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7036 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7037 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7038 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7040 return _IMP_core.Hierarchy_setup_particle(*args)
7042 def Hierarchy_get_is_setup(*args):
7044 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7045 get_is_setup(_ParticleAdaptor p) -> bool
7046 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7047 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7049 return _IMP_core.Hierarchy_get_is_setup(*args)
7051 def Hierarchy_get_default_traits():
7052 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7053 return _IMP_core.Hierarchy_get_default_traits()
7055 class HierarchyVisitor(object):
7056 """Proxy of C++ IMP::core::HierarchyVisitor class."""
7058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7059 __repr__ = _swig_repr
7062 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7063 if self.__class__ == HierarchyVisitor:
7067 this = _IMP_core.new_HierarchyVisitor(_self, )
7069 self.this.append(this)
7070 except __builtin__.Exception:
7073 if self.__class__ != HierarchyVisitor:
7074 _director_objects.register(self)
7079 def __call__(self, p):
7080 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7081 return _IMP_core.HierarchyVisitor___call__(self, p)
7083 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7084 __del__ =
lambda self:
None
7085 def __disown__(self):
7087 _IMP_core.disown_HierarchyVisitor(self)
7088 return weakref_proxy(self)
7089 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7090 HierarchyVisitor_swigregister(HierarchyVisitor)
7092 class ModifierVisitor(HierarchyVisitor):
7093 """Proxy of C++ IMP::core::ModifierVisitor class."""
7095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7096 __repr__ = _swig_repr
7098 def __init__(self, sm):
7099 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7100 this = _IMP_core.new_ModifierVisitor(sm)
7102 self.this.append(this)
7103 except __builtin__.Exception:
7105 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7106 __del__ =
lambda self:
None
7107 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7108 ModifierVisitor_swigregister(ModifierVisitor)
7110 class HierarchyCounter(HierarchyVisitor):
7111 """Proxy of C++ IMP::core::HierarchyCounter class."""
7113 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7116 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7117 this = _IMP_core.new_HierarchyCounter()
7119 self.this.append(this)
7120 except __builtin__.Exception:
7123 def get_count(self):
7124 """get_count(HierarchyCounter self) -> unsigned int"""
7125 return _IMP_core.HierarchyCounter_get_count(self)
7128 def show(self, *args):
7130 show(HierarchyCounter self, _ostream out)
7131 show(HierarchyCounter self)
7133 return _IMP_core.HierarchyCounter_show(self, *args)
7137 """__str__(HierarchyCounter self) -> std::string"""
7138 return _IMP_core.HierarchyCounter___str__(self)
7142 """__repr__(HierarchyCounter self) -> std::string"""
7143 return _IMP_core.HierarchyCounter___repr__(self)
7145 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7146 __del__ =
lambda self:
None
7147 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7148 HierarchyCounter_swigregister(HierarchyCounter)
7152 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7153 return _IMP_core.get_leaves(mhd)
7156 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7157 return _IMP_core.get_internal(mhd)
7160 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7161 return _IMP_core.get_all_descendants(mhd)
7164 """get_root(Hierarchy h) -> Hierarchy"""
7165 return _IMP_core.get_root(h)
7168 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7169 return _IMP_core.visit_breadth_first(d, f)
7172 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7173 return _IMP_core.visit_depth_first(d, f)
7175 """Proxy of C++ IMP::core::LeavesRefiner class."""
7177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7179 def __init__(self, tr):
7180 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7181 this = _IMP_core.new_LeavesRefiner(tr)
7183 self.this.append(this)
7184 except __builtin__.Exception:
7187 def do_get_inputs(self, m, pis):
7188 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7189 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7192 def get_version_info(self):
7193 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7194 return _IMP_core.LeavesRefiner_get_version_info(self)
7198 """__str__(LeavesRefiner self) -> std::string"""
7199 return _IMP_core.LeavesRefiner___str__(self)
7203 """__repr__(LeavesRefiner self) -> std::string"""
7204 return _IMP_core.LeavesRefiner___repr__(self)
7209 return _object_cast_to_LeavesRefiner(o)
7211 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7212 LeavesRefiner_swigregister(LeavesRefiner)
7215 """Proxy of C++ IMP::core::Linear class."""
7217 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7219 def __init__(self, offset, slope):
7220 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7221 this = _IMP_core.new_Linear(offset, slope)
7223 self.this.append(this)
7224 except __builtin__.Exception:
7227 def set_slope(self, f):
7228 """set_slope(Linear self, double f)"""
7229 return _IMP_core.Linear_set_slope(self, f)
7232 def set_offset(self, f):
7233 """set_offset(Linear self, double f)"""
7234 return _IMP_core.Linear_set_offset(self, f)
7237 def get_version_info(self):
7238 """get_version_info(Linear self) -> VersionInfo"""
7239 return _IMP_core.Linear_get_version_info(self)
7243 """__str__(Linear self) -> std::string"""
7244 return _IMP_core.Linear___str__(self)
7248 """__repr__(Linear self) -> std::string"""
7249 return _IMP_core.Linear___repr__(self)
7254 return _object_cast_to_Linear(o)
7256 Linear_swigregister = _IMP_core.Linear_swigregister
7257 Linear_swigregister(Linear)
7259 class LogNormalMover(MonteCarloMover):
7260 """Proxy of C++ IMP::core::LogNormalMover class."""
7262 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7264 def __init__(self, *args):
7266 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7267 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7268 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7269 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7271 this = _IMP_core.new_LogNormalMover(*args)
7273 self.this.append(this)
7274 except __builtin__.Exception:
7277 def set_sigma(self, sigma):
7278 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7279 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7282 def get_sigma(self):
7283 """get_sigma(LogNormalMover self) -> IMP::Float"""
7284 return _IMP_core.LogNormalMover_get_sigma(self)
7287 def get_version_info(self):
7288 """get_version_info(LogNormalMover self) -> VersionInfo"""
7289 return _IMP_core.LogNormalMover_get_version_info(self)
7293 """__str__(LogNormalMover self) -> std::string"""
7294 return _IMP_core.LogNormalMover___str__(self)
7298 """__repr__(LogNormalMover self) -> std::string"""
7299 return _IMP_core.LogNormalMover___repr__(self)
7304 return _object_cast_to_LogNormalMover(o)
7306 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7307 LogNormalMover_swigregister(LogNormalMover)
7310 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
7312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7314 def __init__(self, *args):
7316 __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
7317 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7318 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7319 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7321 this = _IMP_core.new_IncrementalScoringFunction(*args)
7323 self.this.append(this)
7324 except __builtin__.Exception:
7327 def reset_moved_particles(self):
7328 """reset_moved_particles(IncrementalScoringFunction self)"""
7329 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7332 def set_moved_particles(self, p):
7333 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7334 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7337 def add_close_pair_score(self, *args):
7339 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7340 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7342 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7345 def clear_close_pair_scores(self):
7346 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7347 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7350 def get_movable_indexes(self):
7351 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7352 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7355 def do_add_score_and_derivatives(self, sa, ss):
7356 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7357 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7360 def do_get_inputs(self):
7361 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7362 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7365 def handle_set_has_required_score_states(self, arg2):
7366 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7367 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7370 def get_version_info(self):
7371 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7372 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7376 """__str__(IncrementalScoringFunction self) -> std::string"""
7377 return _IMP_core.IncrementalScoringFunction___str__(self)
7381 """__repr__(IncrementalScoringFunction self) -> std::string"""
7382 return _IMP_core.IncrementalScoringFunction___repr__(self)
7387 return _object_cast_to_IncrementalScoringFunction(o)
7389 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7390 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7392 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7394 """Proxy of C++ IMP::core::MonteCarlo class."""
7396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7398 def __init__(self, m):
7399 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7400 this = _IMP_core.new_MonteCarlo(m)
7402 self.this.append(this)
7403 except __builtin__.Exception:
7406 def get_version_info(self):
7407 """get_version_info(MonteCarlo self) -> VersionInfo"""
7408 return _IMP_core.MonteCarlo_get_version_info(self)
7411 def set_return_best(self, tf):
7412 """set_return_best(MonteCarlo self, bool tf)"""
7413 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7416 def set_kt(self, t):
7417 """set_kt(MonteCarlo self, IMP::Float t)"""
7418 return _IMP_core.MonteCarlo_set_kt(self, t)
7422 """get_kt(MonteCarlo self) -> IMP::Float"""
7423 return _IMP_core.MonteCarlo_get_kt(self)
7426 def get_last_accepted_energy(self):
7427 """get_last_accepted_energy(MonteCarlo self) -> double"""
7428 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7431 def get_best_accepted_energy(self):
7432 """get_best_accepted_energy(MonteCarlo self) -> double"""
7433 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7436 def get_number_of_downward_steps(self):
7437 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7438 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7441 def get_number_of_upward_steps(self):
7442 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7443 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7446 def get_number_of_proposed_steps(self):
7447 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7448 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7451 def get_number_of_accepted_steps(self):
7452 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7453 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7456 def reset_statistics(self):
7457 """reset_statistics(MonteCarlo self)"""
7458 return _IMP_core.MonteCarlo_reset_statistics(self)
7461 def set_score_threshold(self, s):
7462 """set_score_threshold(MonteCarlo self, double s)"""
7463 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7466 def get_score_threshold(self):
7467 """get_score_threshold(MonteCarlo self) -> double"""
7468 return _IMP_core.MonteCarlo_get_score_threshold(self)
7471 def set_maximum_difference(self, d):
7472 """set_maximum_difference(MonteCarlo self, double d)"""
7473 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7476 def get_maximum_difference(self):
7477 """get_maximum_difference(MonteCarlo self) -> double"""
7478 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7481 def remove_mover(self, d):
7482 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7483 return _IMP_core.MonteCarlo_remove_mover(self, d)
7486 def remove_movers(self, d):
7487 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7488 return _IMP_core.MonteCarlo_remove_movers(self, d)
7491 def set_movers(self, ps):
7492 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7493 return _IMP_core.MonteCarlo_set_movers(self, ps)
7496 def set_movers_order(self, objs):
7497 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7498 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7501 def add_mover(self, obj):
7502 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7503 return _IMP_core.MonteCarlo_add_mover(self, obj)
7506 def add_movers(self, objs):
7507 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7508 return _IMP_core.MonteCarlo_add_movers(self, objs)
7511 def clear_movers(self):
7512 """clear_movers(MonteCarlo self)"""
7513 return _IMP_core.MonteCarlo_clear_movers(self)
7516 def get_number_of_movers(self):
7517 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7518 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7521 def get_has_movers(self):
7522 """get_has_movers(MonteCarlo self) -> bool"""
7523 return _IMP_core.MonteCarlo_get_has_movers(self)
7526 def get_mover(self, i):
7527 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7528 return _IMP_core.MonteCarlo_get_mover(self, i)
7531 def get_movers(self):
7532 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7533 return _IMP_core.MonteCarlo_get_movers(self)
7536 def reserve_movers(self, sz):
7537 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7538 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7541 def set_incremental_scoring_function(self, isf):
7542 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7543 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7546 def get_use_incremental_scoring_function(self):
7547 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7548 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7551 def get_incremental_scoring_function(self):
7552 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7553 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7557 """__str__(MonteCarlo self) -> std::string"""
7558 return _IMP_core.MonteCarlo___str__(self)
7562 """__repr__(MonteCarlo self) -> std::string"""
7563 return _IMP_core.MonteCarlo___repr__(self)
7568 return _object_cast_to_MonteCarlo(o)
7570 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7571 MonteCarlo_swigregister(MonteCarlo)
7573 class MonteCarloWithLocalOptimization(MonteCarlo):
7574 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
7576 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7578 def __init__(self, opt, steps):
7579 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7580 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7582 self.this.append(this)
7583 except __builtin__.Exception:
7586 def get_number_of_steps(self):
7587 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7588 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7591 def get_local_optimizer(self):
7592 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7593 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7597 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7598 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7602 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7603 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7608 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7610 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7611 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7613 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7614 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
7616 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7618 def __init__(self, opt, ns):
7619 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7620 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7622 self.this.append(this)
7623 except __builtin__.Exception:
7627 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7628 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7632 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7633 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7638 return _object_cast_to_MonteCarloWithBasinHopping(o)
7640 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7641 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7644 """Proxy of C++ IMP::core::NeighborsTable class."""
7646 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7648 def __init__(self, *args):
7650 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7651 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7653 this = _IMP_core.new_NeighborsTable(*args)
7655 self.this.append(this)
7656 except __builtin__.Exception:
7659 def get_neighbors(self, pi):
7660 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7661 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7664 def get_version_info(self):
7665 """get_version_info(NeighborsTable self) -> VersionInfo"""
7666 return _IMP_core.NeighborsTable_get_version_info(self)
7670 """__str__(NeighborsTable self) -> std::string"""
7671 return _IMP_core.NeighborsTable___str__(self)
7675 """__repr__(NeighborsTable self) -> std::string"""
7676 return _IMP_core.NeighborsTable___repr__(self)
7681 return _object_cast_to_NeighborsTable(o)
7683 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7684 NeighborsTable_swigregister(NeighborsTable)
7686 class NormalMover(MonteCarloMover):
7687 """Proxy of C++ IMP::core::NormalMover class."""
7689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7691 def __init__(self, *args):
7693 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7694 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7695 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7696 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7698 this = _IMP_core.new_NormalMover(*args)
7700 self.this.append(this)
7701 except __builtin__.Exception:
7704 def set_sigma(self, sigma):
7705 """set_sigma(NormalMover self, IMP::Float sigma)"""
7706 return _IMP_core.NormalMover_set_sigma(self, sigma)
7709 def get_sigma(self):
7710 """get_sigma(NormalMover self) -> IMP::Float"""
7711 return _IMP_core.NormalMover_get_sigma(self)
7714 def get_version_info(self):
7715 """get_version_info(NormalMover self) -> VersionInfo"""
7716 return _IMP_core.NormalMover_get_version_info(self)
7720 """__str__(NormalMover self) -> std::string"""
7721 return _IMP_core.NormalMover___str__(self)
7725 """__repr__(NormalMover self) -> std::string"""
7726 return _IMP_core.NormalMover___repr__(self)
7731 return _object_cast_to_NormalMover(o)
7733 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7734 NormalMover_swigregister(NormalMover)
7736 class OpenCubicSpline(_OpenCubicSplineBase):
7737 """Proxy of C++ IMP::core::OpenCubicSpline class."""
7739 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7741 def __init__(self, values, minrange, spacing, extend=False):
7743 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7744 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7746 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7748 self.this.append(this)
7749 except __builtin__.Exception:
7753 """__str__(OpenCubicSpline self) -> std::string"""
7754 return _IMP_core.OpenCubicSpline___str__(self)
7758 """__repr__(OpenCubicSpline self) -> std::string"""
7759 return _IMP_core.OpenCubicSpline___repr__(self)
7764 return _object_cast_to_OpenCubicSpline(o)
7766 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7767 __del__ =
lambda self:
None
7768 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7769 OpenCubicSpline_swigregister(OpenCubicSpline)
7771 class QuadraticClosePairsFinder(ClosePairsFinder):
7772 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
7774 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7777 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7778 this = _IMP_core.new_QuadraticClosePairsFinder()
7780 self.this.append(this)
7781 except __builtin__.Exception:
7784 def get_are_close_and_filtered(self, *args):
7786 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7787 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7789 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7792 def get_close_pairs(self, *args):
7794 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7795 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7796 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7797 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7799 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7802 def do_get_inputs(self, m, pis):
7803 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7804 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7807 def get_version_info(self):
7808 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7809 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7813 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7814 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7818 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7819 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7824 return _object_cast_to_QuadraticClosePairsFinder(o)
7826 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7827 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7830 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7832 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7834 def __init__(self, r, f):
7835 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7836 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7838 self.this.append(this)
7839 except __builtin__.Exception:
7842 def do_get_inputs(self, m, pis):
7843 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7844 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7847 def get_version_info(self):
7848 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7849 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7853 """__str__(RefinedPairsPairScore self) -> std::string"""
7854 return _IMP_core.RefinedPairsPairScore___str__(self)
7858 """__repr__(RefinedPairsPairScore self) -> std::string"""
7859 return _IMP_core.RefinedPairsPairScore___repr__(self)
7864 return _object_cast_to_RefinedPairsPairScore(o)
7866 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
7867 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7869 class RigidBody(XYZ):
7870 """Proxy of C++ IMP::core::RigidBody class."""
7872 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7874 def get_rigid_members(self):
7875 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7876 return _IMP_core.RigidBody_get_rigid_members(self)
7879 def get_member_particle_indexes(self):
7880 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7881 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7884 def get_body_member_particle_indexes(self):
7885 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7886 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7889 def get_member_indexes(self):
7890 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7891 return _IMP_core.RigidBody_get_member_indexes(self)
7894 def __init__(self, *args):
7896 __init__(IMP::core::RigidBody self) -> RigidBody
7897 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7898 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7900 this = _IMP_core.new_RigidBody(*args)
7902 self.this.append(this)
7903 except __builtin__.Exception:
7906 def show(self, *args):
7908 show(RigidBody self, _ostream out)
7909 show(RigidBody self)
7911 return _IMP_core.RigidBody_show(self, *args)
7914 def setup_particle(*args):
7916 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7917 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7918 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7919 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7921 return _IMP_core.RigidBody_setup_particle(*args)
7923 setup_particle = staticmethod(setup_particle)
7925 def teardown_particle(rb):
7926 """teardown_particle(RigidBody rb)"""
7927 return _IMP_core.RigidBody_teardown_particle(rb)
7929 teardown_particle = staticmethod(teardown_particle)
7930 __swig_destroy__ = _IMP_core.delete_RigidBody
7931 __del__ =
lambda self:
None
7933 def get_is_setup(*args):
7935 get_is_setup(_ParticleAdaptor p) -> bool
7936 get_is_setup(Model m, ParticleIndex pi) -> bool
7938 return _IMP_core.RigidBody_get_is_setup(*args)
7940 get_is_setup = staticmethod(get_is_setup)
7942 def get_coordinates(self):
7943 """get_coordinates(RigidBody self) -> Vector3D"""
7944 return _IMP_core.RigidBody_get_coordinates(self)
7947 def get_rotation(self):
7948 """get_rotation(RigidBody self) -> Rotation3D"""
7949 return _IMP_core.RigidBody_get_rotation(self)
7952 def get_reference_frame(self):
7953 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7954 return _IMP_core.RigidBody_get_reference_frame(self)
7957 def set_reference_frame(self, tr):
7958 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7959 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7962 def set_reference_frame_lazy(self, tr):
7963 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7964 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7967 def set_reference_frame_from_members(self, members):
7968 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7969 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7972 def add_to_derivatives(self, *args):
7974 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7975 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7977 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
7980 def add_to_rotational_derivatives(self, *args):
7982 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7983 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
7985 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
7988 def add_to_torque(self, torque_local, da):
7989 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
7990 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
7993 def get_torque(self):
7994 """get_torque(RigidBody self) -> Vector3D"""
7995 return _IMP_core.RigidBody_get_torque(self)
7998 def get_coordinates_are_optimized(self):
7999 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8000 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8003 def set_coordinates_are_optimized(self, tf):
8004 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8005 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8008 def normalize_rotation(self):
8009 """normalize_rotation(RigidBody self)"""
8010 return _IMP_core.RigidBody_normalize_rotation(self)
8013 def update_members(self):
8014 """update_members(RigidBody self)"""
8015 return _IMP_core.RigidBody_update_members(self)
8018 def get_rotational_derivatives(self):
8019 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8020 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8023 def get_number_of_members(self):
8024 """get_number_of_members(RigidBody self) -> unsigned int"""
8025 return _IMP_core.RigidBody_get_number_of_members(self)
8028 def get_member(self, i):
8029 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8030 return _IMP_core.RigidBody_get_member(self, i)
8033 def add_member(self, p):
8034 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8035 return _IMP_core.RigidBody_add_member(self, p)
8038 def add_non_rigid_member(self, p):
8039 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8040 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8043 def set_is_rigid_member(self, pi, tf):
8044 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8045 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8048 def add_attribute(self, *args):
8050 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8051 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8052 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8053 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8054 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8055 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8057 return _IMP_core.RigidBody_add_attribute(self, *args)
8060 def get_value(self, *args):
8062 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8063 get_value(RigidBody self, IntKey a0) -> IMP::Int
8064 get_value(RigidBody self, StringKey a0) -> IMP::String
8065 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8066 get_value(RigidBody self, ObjectKey a0) -> Object
8068 return _IMP_core.RigidBody_get_value(self, *args)
8071 def set_value(self, *args):
8073 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8074 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8075 set_value(RigidBody self, StringKey a0, IMP::String a1)
8076 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8077 set_value(RigidBody self, ObjectKey a0, Object a1)
8079 return _IMP_core.RigidBody_set_value(self, *args)
8082 def remove_attribute(self, *args):
8084 remove_attribute(RigidBody self, FloatKey a0)
8085 remove_attribute(RigidBody self, IntKey a0)
8086 remove_attribute(RigidBody self, StringKey a0)
8087 remove_attribute(RigidBody self, ParticleIndexKey a0)
8088 remove_attribute(RigidBody self, ObjectKey a0)
8090 return _IMP_core.RigidBody_remove_attribute(self, *args)
8093 def has_attribute(self, *args):
8095 has_attribute(RigidBody self, FloatKey a0) -> bool
8096 has_attribute(RigidBody self, IntKey a0) -> bool
8097 has_attribute(RigidBody self, StringKey a0) -> bool
8098 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8099 has_attribute(RigidBody self, ObjectKey a0) -> bool
8101 return _IMP_core.RigidBody_has_attribute(self, *args)
8104 def get_derivative(self, a0):
8105 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8106 return _IMP_core.RigidBody_get_derivative(self, a0)
8110 """get_name(RigidBody self) -> std::string"""
8111 return _IMP_core.RigidBody_get_name(self)
8114 def clear_caches(self):
8115 """clear_caches(RigidBody self)"""
8116 return _IMP_core.RigidBody_clear_caches(self)
8119 def set_name(self, a0):
8120 """set_name(RigidBody self, std::string a0)"""
8121 return _IMP_core.RigidBody_set_name(self, a0)
8125 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8126 return _IMP_core.RigidBody_set_check_level(self, a0)
8129 def add_to_derivative(self, a0, a1, a2):
8130 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8131 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8134 def set_is_optimized(self, a0, a1):
8135 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8136 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8139 def get_is_optimized(self, a0):
8140 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8141 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8145 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8146 return _IMP_core.RigidBody_get_check_level(self)
8149 def __eq__(self, *args):
8151 __eq__(RigidBody self, RigidBody o) -> bool
8152 __eq__(RigidBody self, Particle d) -> bool
8154 return _IMP_core.RigidBody___eq__(self, *args)
8157 def __ne__(self, *args):
8159 __ne__(RigidBody self, RigidBody o) -> bool
8160 __ne__(RigidBody self, Particle d) -> bool
8162 return _IMP_core.RigidBody___ne__(self, *args)
8165 def __le__(self, *args):
8167 __le__(RigidBody self, RigidBody o) -> bool
8168 __le__(RigidBody self, Particle d) -> bool
8170 return _IMP_core.RigidBody___le__(self, *args)
8173 def __lt__(self, *args):
8175 __lt__(RigidBody self, RigidBody o) -> bool
8176 __lt__(RigidBody self, Particle d) -> bool
8178 return _IMP_core.RigidBody___lt__(self, *args)
8181 def __ge__(self, *args):
8183 __ge__(RigidBody self, RigidBody o) -> bool
8184 __ge__(RigidBody self, Particle d) -> bool
8186 return _IMP_core.RigidBody___ge__(self, *args)
8189 def __gt__(self, *args):
8191 __gt__(RigidBody self, RigidBody o) -> bool
8192 __gt__(RigidBody self, Particle d) -> bool
8194 return _IMP_core.RigidBody___gt__(self, *args)
8198 """__hash__(RigidBody self) -> std::size_t"""
8199 return _IMP_core.RigidBody___hash__(self)
8203 """__str__(RigidBody self) -> std::string"""
8204 return _IMP_core.RigidBody___str__(self)
8208 """__repr__(RigidBody self) -> std::string"""
8209 return _IMP_core.RigidBody___repr__(self)
8211 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8212 RigidBody_swigregister(RigidBody)
8214 def RigidBody_setup_particle(*args):
8216 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8217 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8218 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8219 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8221 return _IMP_core.RigidBody_setup_particle(*args)
8223 def RigidBody_teardown_particle(rb):
8224 """RigidBody_teardown_particle(RigidBody rb)"""
8225 return _IMP_core.RigidBody_teardown_particle(rb)
8227 def RigidBody_get_is_setup(*args):
8229 get_is_setup(_ParticleAdaptor p) -> bool
8230 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8232 return _IMP_core.RigidBody_get_is_setup(*args)
8236 """add_rigid_body_cache_key(ObjectKey k)"""
8237 return _IMP_core.add_rigid_body_cache_key(k)
8238 class RigidBodyMember(XYZ):
8239 """Proxy of C++ IMP::core::RigidBodyMember class."""
8241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8243 def __init__(self, *args):
8245 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8246 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8247 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8249 this = _IMP_core.new_RigidBodyMember(*args)
8251 self.this.append(this)
8252 except __builtin__.Exception:
8255 def show(self, *args):
8257 show(RigidBodyMember self, _ostream out)
8258 show(RigidBodyMember self)
8260 return _IMP_core.RigidBodyMember_show(self, *args)
8263 def get_rigid_body(self):
8264 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8265 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8268 def get_internal_coordinates(self):
8269 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8270 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8273 def set_internal_coordinates(self, v):
8274 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8275 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8278 def set_internal_transformation(self, v):
8279 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8280 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8283 def get_internal_transformation(self):
8284 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8285 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8287 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8288 __del__ =
lambda self:
None
8290 def set_coordinates(self, *args):
8292 set_coordinates(RigidBodyMember self, Vector3D center)
8293 set_coordinates(RigidBodyMember self, Transformation3D tr)
8295 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8298 def get_is_setup(*args):
8300 get_is_setup(_ParticleAdaptor p) -> bool
8301 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8303 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8305 get_is_setup = staticmethod(get_is_setup)
8307 def get_internal_coordinate_keys():
8308 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8309 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8311 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8313 def get_internal_rotation_keys():
8314 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8315 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8317 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8319 def add_attribute(self, *args):
8321 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8322 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8323 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8324 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8325 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8326 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8328 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8331 def get_value(self, *args):
8333 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8334 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8335 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8336 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8337 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8339 return _IMP_core.RigidBodyMember_get_value(self, *args)
8342 def set_value(self, *args):
8344 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8345 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8346 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8347 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8348 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8350 return _IMP_core.RigidBodyMember_set_value(self, *args)
8353 def remove_attribute(self, *args):
8355 remove_attribute(RigidBodyMember self, FloatKey a0)
8356 remove_attribute(RigidBodyMember self, IntKey a0)
8357 remove_attribute(RigidBodyMember self, StringKey a0)
8358 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8359 remove_attribute(RigidBodyMember self, ObjectKey a0)
8361 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8364 def has_attribute(self, *args):
8366 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8367 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8368 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8369 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8370 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8372 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8375 def get_derivative(self, a0):
8376 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8377 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8381 """get_name(RigidBodyMember self) -> std::string"""
8382 return _IMP_core.RigidBodyMember_get_name(self)
8385 def clear_caches(self):
8386 """clear_caches(RigidBodyMember self)"""
8387 return _IMP_core.RigidBodyMember_clear_caches(self)
8390 def set_name(self, a0):
8391 """set_name(RigidBodyMember self, std::string a0)"""
8392 return _IMP_core.RigidBodyMember_set_name(self, a0)
8396 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8397 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8400 def add_to_derivative(self, a0, a1, a2):
8401 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8402 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8405 def set_is_optimized(self, a0, a1):
8406 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8407 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8410 def get_is_optimized(self, a0):
8411 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8412 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8416 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8417 return _IMP_core.RigidBodyMember_get_check_level(self)
8420 def __eq__(self, *args):
8422 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8423 __eq__(RigidBodyMember self, Particle d) -> bool
8425 return _IMP_core.RigidBodyMember___eq__(self, *args)
8428 def __ne__(self, *args):
8430 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8431 __ne__(RigidBodyMember self, Particle d) -> bool
8433 return _IMP_core.RigidBodyMember___ne__(self, *args)
8436 def __le__(self, *args):
8438 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8439 __le__(RigidBodyMember self, Particle d) -> bool
8441 return _IMP_core.RigidBodyMember___le__(self, *args)
8444 def __lt__(self, *args):
8446 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8447 __lt__(RigidBodyMember self, Particle d) -> bool
8449 return _IMP_core.RigidBodyMember___lt__(self, *args)
8452 def __ge__(self, *args):
8454 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8455 __ge__(RigidBodyMember self, Particle d) -> bool
8457 return _IMP_core.RigidBodyMember___ge__(self, *args)
8460 def __gt__(self, *args):
8462 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8463 __gt__(RigidBodyMember self, Particle d) -> bool
8465 return _IMP_core.RigidBodyMember___gt__(self, *args)
8469 """__hash__(RigidBodyMember self) -> std::size_t"""
8470 return _IMP_core.RigidBodyMember___hash__(self)
8474 """__str__(RigidBodyMember self) -> std::string"""
8475 return _IMP_core.RigidBodyMember___str__(self)
8479 """__repr__(RigidBodyMember self) -> std::string"""
8480 return _IMP_core.RigidBodyMember___repr__(self)
8482 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8483 RigidBodyMember_swigregister(RigidBodyMember)
8485 def RigidBodyMember_get_is_setup(*args):
8487 get_is_setup(_ParticleAdaptor p) -> bool
8488 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8490 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8492 def RigidBodyMember_get_internal_coordinate_keys():
8493 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8494 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8496 def RigidBodyMember_get_internal_rotation_keys():
8497 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8498 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8500 class RigidMember(RigidBodyMember):
8501 """Proxy of C++ IMP::core::RigidMember class."""
8503 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8505 def __init__(self, *args):
8507 __init__(IMP::core::RigidMember self) -> RigidMember
8508 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8509 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8511 this = _IMP_core.new_RigidMember(*args)
8513 self.this.append(this)
8514 except __builtin__.Exception:
8517 def show(self, *args):
8519 show(RigidMember self, _ostream out)
8520 show(RigidMember self)
8522 return _IMP_core.RigidMember_show(self, *args)
8524 __swig_destroy__ = _IMP_core.delete_RigidMember
8525 __del__ =
lambda self:
None
8527 def get_is_setup(*args):
8529 get_is_setup(_ParticleAdaptor p) -> bool
8530 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8532 return _IMP_core.RigidMember_get_is_setup(*args)
8534 get_is_setup = staticmethod(get_is_setup)
8536 def add_attribute(self, *args):
8538 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8539 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8540 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8541 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8542 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8543 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8545 return _IMP_core.RigidMember_add_attribute(self, *args)
8548 def get_value(self, *args):
8550 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8551 get_value(RigidMember self, IntKey a0) -> IMP::Int
8552 get_value(RigidMember self, StringKey a0) -> IMP::String
8553 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8554 get_value(RigidMember self, ObjectKey a0) -> Object
8556 return _IMP_core.RigidMember_get_value(self, *args)
8559 def set_value(self, *args):
8561 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8562 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8563 set_value(RigidMember self, StringKey a0, IMP::String a1)
8564 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8565 set_value(RigidMember self, ObjectKey a0, Object a1)
8567 return _IMP_core.RigidMember_set_value(self, *args)
8570 def remove_attribute(self, *args):
8572 remove_attribute(RigidMember self, FloatKey a0)
8573 remove_attribute(RigidMember self, IntKey a0)
8574 remove_attribute(RigidMember self, StringKey a0)
8575 remove_attribute(RigidMember self, ParticleIndexKey a0)
8576 remove_attribute(RigidMember self, ObjectKey a0)
8578 return _IMP_core.RigidMember_remove_attribute(self, *args)
8581 def has_attribute(self, *args):
8583 has_attribute(RigidMember self, FloatKey a0) -> bool
8584 has_attribute(RigidMember self, IntKey a0) -> bool
8585 has_attribute(RigidMember self, StringKey a0) -> bool
8586 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8587 has_attribute(RigidMember self, ObjectKey a0) -> bool
8589 return _IMP_core.RigidMember_has_attribute(self, *args)
8592 def get_derivative(self, a0):
8593 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8594 return _IMP_core.RigidMember_get_derivative(self, a0)
8598 """get_name(RigidMember self) -> std::string"""
8599 return _IMP_core.RigidMember_get_name(self)
8602 def clear_caches(self):
8603 """clear_caches(RigidMember self)"""
8604 return _IMP_core.RigidMember_clear_caches(self)
8607 def set_name(self, a0):
8608 """set_name(RigidMember self, std::string a0)"""
8609 return _IMP_core.RigidMember_set_name(self, a0)
8613 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8614 return _IMP_core.RigidMember_set_check_level(self, a0)
8617 def add_to_derivative(self, a0, a1, a2):
8618 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8619 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8622 def set_is_optimized(self, a0, a1):
8623 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8624 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8627 def get_is_optimized(self, a0):
8628 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8629 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8633 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8634 return _IMP_core.RigidMember_get_check_level(self)
8637 def __eq__(self, *args):
8639 __eq__(RigidMember self, RigidMember o) -> bool
8640 __eq__(RigidMember self, Particle d) -> bool
8642 return _IMP_core.RigidMember___eq__(self, *args)
8645 def __ne__(self, *args):
8647 __ne__(RigidMember self, RigidMember o) -> bool
8648 __ne__(RigidMember self, Particle d) -> bool
8650 return _IMP_core.RigidMember___ne__(self, *args)
8653 def __le__(self, *args):
8655 __le__(RigidMember self, RigidMember o) -> bool
8656 __le__(RigidMember self, Particle d) -> bool
8658 return _IMP_core.RigidMember___le__(self, *args)
8661 def __lt__(self, *args):
8663 __lt__(RigidMember self, RigidMember o) -> bool
8664 __lt__(RigidMember self, Particle d) -> bool
8666 return _IMP_core.RigidMember___lt__(self, *args)
8669 def __ge__(self, *args):
8671 __ge__(RigidMember self, RigidMember o) -> bool
8672 __ge__(RigidMember self, Particle d) -> bool
8674 return _IMP_core.RigidMember___ge__(self, *args)
8677 def __gt__(self, *args):
8679 __gt__(RigidMember self, RigidMember o) -> bool
8680 __gt__(RigidMember self, Particle d) -> bool
8682 return _IMP_core.RigidMember___gt__(self, *args)
8686 """__hash__(RigidMember self) -> std::size_t"""
8687 return _IMP_core.RigidMember___hash__(self)
8691 """__str__(RigidMember self) -> std::string"""
8692 return _IMP_core.RigidMember___str__(self)
8696 """__repr__(RigidMember self) -> std::string"""
8697 return _IMP_core.RigidMember___repr__(self)
8699 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8700 RigidMember_swigregister(RigidMember)
8702 def RigidMember_get_is_setup(*args):
8704 get_is_setup(_ParticleAdaptor p) -> bool
8705 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8707 return _IMP_core.RigidMember_get_is_setup(*args)
8709 class NonRigidMember(RigidBodyMember):
8710 """Proxy of C++ IMP::core::NonRigidMember class."""
8712 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8714 def __init__(self, *args):
8716 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8717 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8718 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8720 this = _IMP_core.new_NonRigidMember(*args)
8722 self.this.append(this)
8723 except __builtin__.Exception:
8726 def show(self, *args):
8728 show(NonRigidMember self, _ostream out)
8729 show(NonRigidMember self)
8731 return _IMP_core.NonRigidMember_show(self, *args)
8733 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8734 __del__ =
lambda self:
None
8736 def get_is_setup(*args):
8738 get_is_setup(_ParticleAdaptor p) -> bool
8739 get_is_setup(Model m, ParticleIndex p) -> bool
8741 return _IMP_core.NonRigidMember_get_is_setup(*args)
8743 get_is_setup = staticmethod(get_is_setup)
8745 def add_to_internal_derivatives(self, deriv_parent, da):
8746 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8747 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8750 def add_to_internal_rotational_derivatives(self, *args):
8752 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8753 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8755 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8758 def get_internal_derivatives(self):
8759 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8760 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8763 def get_internal_rotational_derivatives(self):
8764 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8765 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8768 def add_attribute(self, *args):
8770 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8771 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8772 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8773 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8774 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8775 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8777 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8780 def get_value(self, *args):
8782 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8783 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8784 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8785 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8786 get_value(NonRigidMember self, ObjectKey a0) -> Object
8788 return _IMP_core.NonRigidMember_get_value(self, *args)
8791 def set_value(self, *args):
8793 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8794 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8795 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8796 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8797 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8799 return _IMP_core.NonRigidMember_set_value(self, *args)
8802 def remove_attribute(self, *args):
8804 remove_attribute(NonRigidMember self, FloatKey a0)
8805 remove_attribute(NonRigidMember self, IntKey a0)
8806 remove_attribute(NonRigidMember self, StringKey a0)
8807 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8808 remove_attribute(NonRigidMember self, ObjectKey a0)
8810 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8813 def has_attribute(self, *args):
8815 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8816 has_attribute(NonRigidMember self, IntKey a0) -> bool
8817 has_attribute(NonRigidMember self, StringKey a0) -> bool
8818 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8819 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8821 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8824 def get_derivative(self, a0):
8825 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8826 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8830 """get_name(NonRigidMember self) -> std::string"""
8831 return _IMP_core.NonRigidMember_get_name(self)
8834 def clear_caches(self):
8835 """clear_caches(NonRigidMember self)"""
8836 return _IMP_core.NonRigidMember_clear_caches(self)
8839 def set_name(self, a0):
8840 """set_name(NonRigidMember self, std::string a0)"""
8841 return _IMP_core.NonRigidMember_set_name(self, a0)
8845 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8846 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8849 def add_to_derivative(self, a0, a1, a2):
8850 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8851 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8854 def set_is_optimized(self, a0, a1):
8855 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8856 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8859 def get_is_optimized(self, a0):
8860 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8861 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8865 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8866 return _IMP_core.NonRigidMember_get_check_level(self)
8869 def __eq__(self, *args):
8871 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8872 __eq__(NonRigidMember self, Particle d) -> bool
8874 return _IMP_core.NonRigidMember___eq__(self, *args)
8877 def __ne__(self, *args):
8879 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8880 __ne__(NonRigidMember self, Particle d) -> bool
8882 return _IMP_core.NonRigidMember___ne__(self, *args)
8885 def __le__(self, *args):
8887 __le__(NonRigidMember self, NonRigidMember o) -> bool
8888 __le__(NonRigidMember self, Particle d) -> bool
8890 return _IMP_core.NonRigidMember___le__(self, *args)
8893 def __lt__(self, *args):
8895 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8896 __lt__(NonRigidMember self, Particle d) -> bool
8898 return _IMP_core.NonRigidMember___lt__(self, *args)
8901 def __ge__(self, *args):
8903 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8904 __ge__(NonRigidMember self, Particle d) -> bool
8906 return _IMP_core.NonRigidMember___ge__(self, *args)
8909 def __gt__(self, *args):
8911 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8912 __gt__(NonRigidMember self, Particle d) -> bool
8914 return _IMP_core.NonRigidMember___gt__(self, *args)
8918 """__hash__(NonRigidMember self) -> std::size_t"""
8919 return _IMP_core.NonRigidMember___hash__(self)
8923 """__str__(NonRigidMember self) -> std::string"""
8924 return _IMP_core.NonRigidMember___str__(self)
8928 """__repr__(NonRigidMember self) -> std::string"""
8929 return _IMP_core.NonRigidMember___repr__(self)
8931 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
8932 NonRigidMember_swigregister(NonRigidMember)
8934 def NonRigidMember_get_is_setup(*args):
8936 get_is_setup(_ParticleAdaptor p) -> bool
8937 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
8939 return _IMP_core.NonRigidMember_get_is_setup(*args)
8942 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
8944 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8946 def __init__(self, *args):
8948 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
8949 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
8951 this = _IMP_core.new_RigidMembersRefiner(*args)
8953 self.this.append(this)
8954 except __builtin__.Exception:
8957 def do_get_inputs(self, m, pis):
8958 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8959 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8962 def get_version_info(self):
8963 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8964 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8968 """__str__(RigidMembersRefiner self) -> std::string"""
8969 return _IMP_core.RigidMembersRefiner___str__(self)
8973 """__repr__(RigidMembersRefiner self) -> std::string"""
8974 return _IMP_core.RigidMembersRefiner___repr__(self)
8979 return _object_cast_to_RigidMembersRefiner(o)
8981 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
8982 RigidMembersRefiner_swigregister(RigidMembersRefiner)
8985 def get_rigid_members_refiner():
8986 """get_rigid_members_refiner() -> RigidMembersRefiner"""
8987 return _IMP_core.get_rigid_members_refiner()
8991 transform(XYZ a, Transformation3D tr)
8992 transform(RigidBody a, Transformation3D tr)
8994 return _IMP_core.transform(*args)
8998 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
8999 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9001 return _IMP_core.get_initial_reference_frame(*args)
9005 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9006 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9008 return _IMP_core.create_rigid_bodies(m, n, no_members)
9012 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9013 show_rigid_body_hierarchy(RigidBody rb)
9015 return _IMP_core.show_rigid_body_hierarchy(*args)
9018 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9019 return _IMP_core.get_root_rigid_body(m)
9021 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
9023 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9025 def __init__(self, rb, constituents):
9026 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9027 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9029 self.this.append(this)
9030 except __builtin__.Exception:
9033 def get_version_info(self):
9034 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9035 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9039 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9040 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9044 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9045 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9050 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9052 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9053 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9056 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
9058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9060 def __init__(self, *args):
9062 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9063 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9065 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9067 self.this.append(this)
9068 except __builtin__.Exception:
9071 def get_version_info(self):
9072 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9073 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9077 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9078 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9082 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9083 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9088 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9090 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9091 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9094 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
9096 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9098 def __init__(self, sc):
9099 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9100 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9102 self.this.append(this)
9103 except __builtin__.Exception:
9106 def get_version_info(self):
9107 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9108 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9112 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9113 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9117 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9118 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9123 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9125 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9126 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9129 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
9131 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9133 def __init__(self, *args):
9135 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9136 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9138 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9140 self.this.append(this)
9141 except __builtin__.Exception:
9144 def get_version_info(self):
9145 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9146 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9150 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9151 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9155 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9156 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9161 return _object_cast_to_RigidBodyFrameGeometry(o)
9163 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9164 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9167 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
9169 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9171 def __init__(self, sc):
9172 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9173 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9175 self.this.append(this)
9176 except __builtin__.Exception:
9179 def get_version_info(self):
9180 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9181 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9185 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9186 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9190 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9191 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9196 return _object_cast_to_RigidBodyFramesGeometry(o)
9198 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9199 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9202 """Proxy of C++ IMP::core::RigidBodyTorque class."""
9204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9206 def __init__(self, p):
9207 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9208 this = _IMP_core.new_RigidBodyTorque(p)
9210 self.this.append(this)
9211 except __builtin__.Exception:
9215 """__str__(RigidBodyTorque self) -> std::string"""
9216 return _IMP_core.RigidBodyTorque___str__(self)
9220 """__repr__(RigidBodyTorque self) -> std::string"""
9221 return _IMP_core.RigidBodyTorque___repr__(self)
9226 return _object_cast_to_RigidBodyTorque(o)
9228 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9229 __del__ =
lambda self:
None
9230 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9231 RigidBodyTorque_swigregister(RigidBodyTorque)
9233 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9234 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
9236 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9239 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9240 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9242 self.this.append(this)
9243 except __builtin__.Exception:
9246 def get_close_pairs(self, *args):
9248 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9249 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9250 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9251 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9253 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9256 def do_get_inputs(self, m, pis):
9257 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9258 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9261 def get_version_info(self):
9262 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9263 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9267 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9268 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9272 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9273 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9278 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9280 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9281 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9284 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
9286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9288 def __init__(self, *args):
9290 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9291 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9292 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9293 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9294 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9296 this = _IMP_core.new_RestraintsScoringFunction(*args)
9298 self.this.append(this)
9299 except __builtin__.Exception:
9302 def do_add_score_and_derivatives(self, sa, ss):
9303 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9304 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9307 def do_get_inputs(self):
9308 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9309 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9312 def get_version_info(self):
9313 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9314 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9318 """__str__(RestraintsScoringFunction self) -> std::string"""
9319 return _IMP_core.RestraintsScoringFunction___str__(self)
9323 """__repr__(RestraintsScoringFunction self) -> std::string"""
9324 return _IMP_core.RestraintsScoringFunction___repr__(self)
9329 return _object_cast_to_RestraintsScoringFunction(o)
9331 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9332 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9334 class RigidClosePairsFinder(ClosePairsFinder):
9335 """Proxy of C++ IMP::core::RigidClosePairsFinder 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, cpf=None):
9341 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9342 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9344 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9346 self.this.append(this)
9347 except __builtin__.Exception:
9350 def do_get_inputs(self, m, pis):
9351 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9352 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9355 def get_close_pairs(self, *args):
9357 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9358 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9359 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9360 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9361 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9363 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9366 def get_version_info(self):
9367 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9368 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9372 """__str__(RigidClosePairsFinder self) -> std::string"""
9373 return _IMP_core.RigidClosePairsFinder___str__(self)
9377 """__repr__(RigidClosePairsFinder self) -> std::string"""
9378 return _IMP_core.RigidClosePairsFinder___repr__(self)
9383 return _object_cast_to_RigidClosePairsFinder(o)
9385 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9386 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9389 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
9391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9393 def __init__(self, *args):
9395 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9396 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9398 this = _IMP_core.new_SphereDistancePairScore(*args)
9400 self.this.append(this)
9401 except __builtin__.Exception:
9404 def do_get_inputs(self, m, pis):
9405 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9406 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9409 def get_version_info(self):
9410 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9411 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9415 """__str__(SphereDistancePairScore self) -> std::string"""
9416 return _IMP_core.SphereDistancePairScore___str__(self)
9420 """__repr__(SphereDistancePairScore self) -> std::string"""
9421 return _IMP_core.SphereDistancePairScore___repr__(self)
9426 return _object_cast_to_SphereDistancePairScore(o)
9428 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9429 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9431 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9432 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
9434 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9436 def __init__(self, *args):
9438 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9439 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9441 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9443 self.this.append(this)
9444 except __builtin__.Exception:
9447 def do_get_inputs(self, m, pis):
9448 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9449 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9452 def get_version_info(self):
9453 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9454 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9458 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9459 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9463 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9464 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9469 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9471 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9472 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9474 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9475 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
9477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9479 def __init__(self, d0, k):
9480 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9481 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9483 self.this.append(this)
9484 except __builtin__.Exception:
9487 def get_rest_length(self):
9488 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9489 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9492 def get_stiffness(self):
9493 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9494 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9497 def do_get_inputs(self, m, pis):
9498 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9499 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9502 def get_version_info(self):
9503 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9504 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9508 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9509 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9513 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9514 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9519 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9521 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9522 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9525 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9527 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9529 def __init__(self, *args):
9531 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9532 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9534 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9536 self.this.append(this)
9537 except __builtin__.Exception:
9540 def do_get_inputs(self, m, pis):
9541 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9542 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9545 def get_version_info(self):
9546 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9547 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9551 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9552 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9556 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9557 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9562 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9564 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9565 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9568 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9570 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9572 def __init__(self, *args):
9574 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9575 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9577 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9579 self.this.append(this)
9580 except __builtin__.Exception:
9583 def do_get_inputs(self, m, pis):
9584 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9585 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9588 def get_version_info(self):
9589 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9590 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9594 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9595 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9599 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9600 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9605 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9607 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9608 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9611 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9615 def __init__(self, *args):
9617 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9618 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9620 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9622 self.this.append(this)
9623 except __builtin__.Exception:
9626 def do_get_inputs(self, m, pis):
9627 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9628 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9631 def get_version_info(self):
9632 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9633 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9637 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9638 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9642 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9643 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9648 return _object_cast_to_WeightedSphereDistancePairScore(o)
9650 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9651 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9654 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
9656 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9658 def __init__(self, *args):
9660 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9661 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9663 this = _IMP_core.new_SoftSpherePairScore(*args)
9665 self.this.append(this)
9666 except __builtin__.Exception:
9669 def do_get_inputs(self, m, pis):
9670 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9671 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9674 def get_version_info(self):
9675 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9676 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9680 """__str__(SoftSpherePairScore self) -> std::string"""
9681 return _IMP_core.SoftSpherePairScore___str__(self)
9685 """__repr__(SoftSpherePairScore self) -> std::string"""
9686 return _IMP_core.SoftSpherePairScore___repr__(self)
9691 return _object_cast_to_SoftSpherePairScore(o)
9693 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9694 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9697 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9699 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9701 def __init__(self, *args):
9703 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9704 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9706 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9708 self.this.append(this)
9709 except __builtin__.Exception:
9712 def do_get_inputs(self, m, pis):
9713 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9714 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9717 def get_version_info(self):
9718 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9719 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9723 """__str__(SurfaceDistancePairScore self) -> std::string"""
9724 return _IMP_core.SurfaceDistancePairScore___str__(self)
9728 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9729 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9734 return _object_cast_to_SurfaceDistancePairScore(o)
9736 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9737 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9740 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9742 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9744 def __init__(self, *args):
9746 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9747 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9749 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9751 self.this.append(this)
9752 except __builtin__.Exception:
9755 def do_get_inputs(self, m, pis):
9756 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9757 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9760 def get_version_info(self):
9761 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9762 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9766 """__str__(SurfaceHeightPairScore self) -> std::string"""
9767 return _IMP_core.SurfaceHeightPairScore___str__(self)
9771 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9772 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9777 return _object_cast_to_SurfaceHeightPairScore(o)
9779 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9780 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9783 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9785 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9787 def __init__(self, *args):
9789 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9790 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9792 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9794 self.this.append(this)
9795 except __builtin__.Exception:
9798 def do_get_inputs(self, m, pis):
9799 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9800 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9803 def get_version_info(self):
9804 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9805 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9809 """__str__(SurfaceDepthPairScore self) -> std::string"""
9810 return _IMP_core.SurfaceDepthPairScore___str__(self)
9814 """__repr__(SurfaceDepthPairScore self) -> std::string"""
9815 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9820 return _object_cast_to_SurfaceDepthPairScore(o)
9822 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
9823 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9826 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9830 def __init__(self, *args):
9832 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9833 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9835 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9837 self.this.append(this)
9838 except __builtin__.Exception:
9841 def do_get_inputs(self, m, pis):
9842 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9843 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9846 def get_version_info(self):
9847 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9848 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9852 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9853 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9857 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9858 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9863 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9865 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
9866 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9869 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9871 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9873 def __init__(self, *args):
9875 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
9876 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
9878 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
9880 self.this.append(this)
9881 except __builtin__.Exception:
9884 def do_get_inputs(self, m, pis):
9885 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9886 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9889 def get_version_info(self):
9890 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9891 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9895 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9896 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9900 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9901 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9906 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9908 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
9909 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9912 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9914 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9916 def __init__(self, *args):
9918 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
9919 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
9921 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
9923 self.this.append(this)
9924 except __builtin__.Exception:
9927 def do_get_inputs(self, m, pis):
9928 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9929 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9932 def get_version_info(self):
9933 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9934 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9938 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9939 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9943 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9944 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9949 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9951 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
9952 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9955 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9959 def __init__(self, *args):
9961 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
9962 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
9964 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
9966 self.this.append(this)
9967 except __builtin__.Exception:
9970 def do_get_inputs(self, m, pis):
9971 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9972 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
9975 def get_version_info(self):
9976 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
9977 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
9981 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
9982 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
9986 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
9987 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
9992 return _object_cast_to_SoftSuperSurfacePairScore(o)
9994 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
9995 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
9998 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
10000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10002 def __init__(self, *args):
10004 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10005 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10007 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10009 self.this.append(this)
10010 except __builtin__.Exception:
10013 def do_get_inputs(self, m, pis):
10014 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10015 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10018 def get_version_info(self):
10019 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10020 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10024 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10025 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10028 def __repr__(self):
10029 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10030 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10035 return _object_cast_to_SoftSubSurfacePairScore(o)
10037 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10038 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10041 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
10043 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10045 def __init__(self, link_num, link_length):
10046 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10047 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10049 self.this.append(this)
10050 except __builtin__.Exception:
10053 def get_version_info(self):
10054 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10055 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10058 def get_link_number(self):
10059 """get_link_number(SurfaceTetheredChain self) -> int"""
10060 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10063 def get_link_length(self):
10064 """get_link_length(SurfaceTetheredChain self) -> double"""
10065 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10068 def set_link_number(self, N):
10069 """set_link_number(SurfaceTetheredChain self, int N)"""
10070 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10073 def set_link_length(self, b):
10074 """set_link_length(SurfaceTetheredChain self, double b)"""
10075 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10078 def get_distance_at_minimum(self):
10079 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10080 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10083 def get_average_distance(self):
10084 """get_average_distance(SurfaceTetheredChain self) -> double"""
10085 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10089 """__str__(SurfaceTetheredChain self) -> std::string"""
10090 return _IMP_core.SurfaceTetheredChain___str__(self)
10093 def __repr__(self):
10094 """__repr__(SurfaceTetheredChain self) -> std::string"""
10095 return _IMP_core.SurfaceTetheredChain___repr__(self)
10100 return _object_cast_to_SurfaceTetheredChain(o)
10102 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10103 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10106 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
10108 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10110 def __init__(self, m, ss, rbs):
10111 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10112 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10114 self.this.append(this)
10115 except __builtin__.Exception:
10118 def do_get_inputs(self):
10119 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10120 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10123 def do_get_outputs(self):
10124 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10125 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10128 def get_version_info(self):
10129 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10130 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10134 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10135 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10138 def __repr__(self):
10139 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10140 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10145 return _object_cast_to_SurfaceSymmetryConstraint(o)
10147 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10148 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10151 """Proxy of C++ IMP::core::SteepestDescent class."""
10153 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10155 def __init__(self, *args):
10157 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10158 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10160 this = _IMP_core.new_SteepestDescent(*args)
10162 self.this.append(this)
10163 except __builtin__.Exception:
10166 def do_optimize(self, max_steps):
10167 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10168 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10171 def get_version_info(self):
10172 """get_version_info(SteepestDescent self) -> VersionInfo"""
10173 return _IMP_core.SteepestDescent_get_version_info(self)
10176 def set_threshold(self, t):
10177 """set_threshold(SteepestDescent self, IMP::Float t)"""
10178 return _IMP_core.SteepestDescent_set_threshold(self, t)
10181 def set_step_size(self, t):
10182 """set_step_size(SteepestDescent self, IMP::Float t)"""
10183 return _IMP_core.SteepestDescent_set_step_size(self, t)
10186 def set_maximum_step_size(self, t):
10187 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10188 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10192 """__str__(SteepestDescent self) -> std::string"""
10193 return _IMP_core.SteepestDescent___str__(self)
10196 def __repr__(self):
10197 """__repr__(SteepestDescent self) -> std::string"""
10198 return _IMP_core.SteepestDescent___repr__(self)
10203 return _object_cast_to_SteepestDescent(o)
10205 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10206 SteepestDescent_swigregister(SteepestDescent)
10209 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
10211 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10213 def __init__(self, f, transformation):
10214 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10215 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10217 self.this.append(this)
10218 except __builtin__.Exception:
10221 def set_transformation(self, rot):
10222 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10223 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10226 def do_get_inputs(self, m, pis):
10227 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10228 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10231 def get_version_info(self):
10232 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10233 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10237 """__str__(TransformedDistancePairScore self) -> std::string"""
10238 return _IMP_core.TransformedDistancePairScore___str__(self)
10241 def __repr__(self):
10242 """__repr__(TransformedDistancePairScore self) -> std::string"""
10243 return _IMP_core.TransformedDistancePairScore___repr__(self)
10248 return _object_cast_to_TransformedDistancePairScore(o)
10250 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10251 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10254 """Proxy of C++ IMP::core::TypedPairScore class."""
10256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10258 def __init__(self, typekey, allow_invalid_types=True):
10260 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10261 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10263 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10265 self.this.append(this)
10266 except __builtin__.Exception:
10269 def set_particle_type(self, arg2):
10270 """set_particle_type(TypedPairScore self, Particle arg2)"""
10271 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10274 def set_pair_score(self, ps, atype, btype):
10275 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10276 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10279 def do_get_inputs(self, m, pis):
10280 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10281 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10284 def get_version_info(self):
10285 """get_version_info(TypedPairScore self) -> VersionInfo"""
10286 return _IMP_core.TypedPairScore_get_version_info(self)
10290 """__str__(TypedPairScore self) -> std::string"""
10291 return _IMP_core.TypedPairScore___str__(self)
10294 def __repr__(self):
10295 """__repr__(TypedPairScore self) -> std::string"""
10296 return _IMP_core.TypedPairScore___repr__(self)
10301 return _object_cast_to_TypedPairScore(o)
10303 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10304 TypedPairScore_swigregister(TypedPairScore)
10306 class RigidBodyDistancePairScore(KClosePairsPairScore):
10307 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
10309 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10311 def __init__(self, ps, r):
10312 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10313 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10315 self.this.append(this)
10316 except __builtin__.Exception:
10320 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10321 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10324 def __repr__(self):
10325 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10326 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10331 return _object_cast_to_RigidBodyDistancePairScore(o)
10333 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10334 __del__ =
lambda self:
None
10335 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10336 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10339 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
10341 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10343 def __init__(self, f):
10344 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10345 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10347 self.this.append(this)
10348 except __builtin__.Exception:
10351 def do_get_inputs(self, m, pis):
10352 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10353 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10356 def get_version_info(self):
10357 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10358 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10362 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10363 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10366 def __repr__(self):
10367 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10368 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10373 return _object_cast_to_RigidBodyAnglePairScore(o)
10375 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10376 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10379 """Proxy of C++ IMP::core::TableRefiner class."""
10381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10383 def __init__(self):
10384 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10385 this = _IMP_core.new_TableRefiner()
10387 self.this.append(this)
10388 except __builtin__.Exception:
10392 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10393 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10396 def remove_particle(self, p):
10397 """remove_particle(TableRefiner self, Particle p)"""
10398 return _IMP_core.TableRefiner_remove_particle(self, p)
10401 def set_particle(self, p, ps):
10402 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10403 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10406 def do_get_inputs(self, m, pis):
10407 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10408 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10411 def get_version_info(self):
10412 """get_version_info(TableRefiner self) -> VersionInfo"""
10413 return _IMP_core.TableRefiner_get_version_info(self)
10417 """__str__(TableRefiner self) -> std::string"""
10418 return _IMP_core.TableRefiner___str__(self)
10421 def __repr__(self):
10422 """__repr__(TableRefiner self) -> std::string"""
10423 return _IMP_core.TableRefiner___repr__(self)
10428 return _object_cast_to_TableRefiner(o)
10430 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10431 TableRefiner_swigregister(TableRefiner)
10433 LOWER = _IMP_core.LOWER
10434 BOTH = _IMP_core.BOTH
10435 UPPER = _IMP_core.UPPER
10437 """Proxy of C++ IMP::core::MCCGSampler class."""
10439 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10441 def __init__(self, *args):
10443 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10444 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10446 this = _IMP_core.new_MCCGSampler(*args)
10448 self.this.append(this)
10449 except __builtin__.Exception:
10452 def set_bounding_box(self, bb):
10453 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10454 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10457 def set_number_of_attempts(self, att):
10458 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10459 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10462 def set_number_of_monte_carlo_steps(self, cg):
10463 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10464 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10467 def set_number_of_conjugate_gradient_steps(self, cg):
10468 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10469 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10472 def set_max_monte_carlo_step_size(self, *args):
10474 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10475 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10477 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10480 def set_is_refining(self, tf):
10481 """set_is_refining(MCCGSampler self, bool tf)"""
10482 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10485 def set_local_optimizer(self, opt):
10486 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10487 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10490 def set_save_rejected_configurations(self, tf):
10491 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10492 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10495 def get_rejected_configurations(self):
10496 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10497 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10500 def remove_optimizer_state(self, d):
10501 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10502 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10505 def remove_optimizer_states(self, d):
10506 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10507 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10510 def set_optimizer_states(self, ps):
10511 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10512 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10515 def set_optimizer_states_order(self, objs):
10516 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10517 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10520 def add_optimizer_state(self, obj):
10521 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10522 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10525 def add_optimizer_states(self, objs):
10526 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10527 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10530 def clear_optimizer_states(self):
10531 """clear_optimizer_states(MCCGSampler self)"""
10532 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10535 def get_number_of_optimizer_states(self):
10536 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10537 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10540 def get_has_optimizer_states(self):
10541 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10542 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10545 def get_optimizer_state(self, i):
10546 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10547 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10550 def get_optimizer_states(self):
10551 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10552 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10555 def reserve_optimizer_states(self, sz):
10556 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10557 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10560 def do_sample(self):
10561 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10562 return _IMP_core.MCCGSampler_do_sample(self)
10565 def get_version_info(self):
10566 """get_version_info(MCCGSampler self) -> VersionInfo"""
10567 return _IMP_core.MCCGSampler_get_version_info(self)
10571 """__str__(MCCGSampler self) -> std::string"""
10572 return _IMP_core.MCCGSampler___str__(self)
10575 def __repr__(self):
10576 """__repr__(MCCGSampler self) -> std::string"""
10577 return _IMP_core.MCCGSampler___repr__(self)
10582 return _object_cast_to_MCCGSampler(o)
10584 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10585 MCCGSampler_swigregister(MCCGSampler)
10588 """Proxy of C++ IMP::core::MinimumRestraint class."""
10590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10592 def __init__(self, *args):
10594 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10595 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10596 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10598 this = _IMP_core.new_MinimumRestraint(*args)
10600 self.this.append(this)
10601 except __builtin__.Exception:
10604 def do_get_inputs(self):
10605 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10606 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10609 def get_version_info(self):
10610 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10611 return _IMP_core.MinimumRestraint_get_version_info(self)
10614 def remove_restraint(self, d):
10615 """remove_restraint(MinimumRestraint self, Restraint d)"""
10616 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10619 def remove_restraints(self, d):
10620 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10621 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10624 def set_restraints(self, ps):
10625 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10626 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10629 def set_restraints_order(self, objs):
10630 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10631 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10635 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10636 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10640 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10641 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10644 def clear_restraints(self):
10645 """clear_restraints(MinimumRestraint self)"""
10646 return _IMP_core.MinimumRestraint_clear_restraints(self)
10649 def get_number_of_restraints(self):
10650 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10651 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10654 def get_has_restraints(self):
10655 """get_has_restraints(MinimumRestraint self) -> bool"""
10656 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10659 def get_restraint(self, i):
10660 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10661 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10664 def get_restraints(self):
10665 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10666 return _IMP_core.MinimumRestraint_get_restraints(self)
10669 def reserve_restraints(self, sz):
10670 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10671 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10675 """__str__(MinimumRestraint self) -> std::string"""
10676 return _IMP_core.MinimumRestraint___str__(self)
10679 def __repr__(self):
10680 """__repr__(MinimumRestraint self) -> std::string"""
10681 return _IMP_core.MinimumRestraint___repr__(self)
10686 return _object_cast_to_MinimumRestraint(o)
10688 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10689 MinimumRestraint_swigregister(MinimumRestraint)
10691 class Gaussian(RigidBody):
10692 """Proxy of C++ IMP::core::Gaussian class."""
10694 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10696 def __init__(self, *args):
10698 __init__(IMP::core::Gaussian self) -> Gaussian
10699 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10700 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10702 this = _IMP_core.new_Gaussian(*args)
10704 self.this.append(this)
10705 except __builtin__.Exception:
10708 def show(self, *args):
10710 show(Gaussian self, _ostream out)
10711 show(Gaussian self)
10713 return _IMP_core.Gaussian_show(self, *args)
10716 def setup_particle(*args):
10718 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10719 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10720 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10721 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10723 return _IMP_core.Gaussian_setup_particle(*args)
10725 setup_particle = staticmethod(setup_particle)
10727 def get_local_covariance_key():
10728 """get_local_covariance_key() -> ObjectKey"""
10729 return _IMP_core.Gaussian_get_local_covariance_key()
10731 get_local_covariance_key = staticmethod(get_local_covariance_key)
10733 def get_global_covariance_key():
10734 """get_global_covariance_key() -> ObjectKey"""
10735 return _IMP_core.Gaussian_get_global_covariance_key()
10737 get_global_covariance_key = staticmethod(get_global_covariance_key)
10739 def get_is_setup(*args):
10741 get_is_setup(_ParticleAdaptor p) -> bool
10742 get_is_setup(Model m, ParticleIndex pi) -> bool
10744 return _IMP_core.Gaussian_get_is_setup(*args)
10746 get_is_setup = staticmethod(get_is_setup)
10748 def get_local_covariance(self):
10749 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10750 return _IMP_core.Gaussian_get_local_covariance(self)
10753 def get_variances(self):
10754 """get_variances(Gaussian self) -> Vector3D"""
10755 return _IMP_core.Gaussian_get_variances(self)
10758 def get_global_covariance(self):
10759 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10760 return _IMP_core.Gaussian_get_global_covariance(self)
10763 def get_gaussian(self):
10764 """get_gaussian(Gaussian self) -> Gaussian3D"""
10765 return _IMP_core.Gaussian_get_gaussian(self)
10768 def set_gaussian(self, g):
10769 """set_gaussian(Gaussian self, Gaussian3D g)"""
10770 return _IMP_core.Gaussian_set_gaussian(self, g)
10773 def set_local_covariance(self, covar):
10774 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10775 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10778 def set_variances(self, v):
10779 """set_variances(Gaussian self, Vector3D v)"""
10780 return _IMP_core.Gaussian_set_variances(self, v)
10783 def set_global_covariance(self, covar):
10784 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10785 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10788 def update_global_covariance(self):
10789 """update_global_covariance(Gaussian self)"""
10790 return _IMP_core.Gaussian_update_global_covariance(self)
10793 def add_attribute(self, *args):
10795 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10796 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10797 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10798 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10799 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10800 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10802 return _IMP_core.Gaussian_add_attribute(self, *args)
10805 def get_value(self, *args):
10807 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10808 get_value(Gaussian self, IntKey a0) -> IMP::Int
10809 get_value(Gaussian self, StringKey a0) -> IMP::String
10810 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10811 get_value(Gaussian self, ObjectKey a0) -> Object
10813 return _IMP_core.Gaussian_get_value(self, *args)
10816 def set_value(self, *args):
10818 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10819 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10820 set_value(Gaussian self, StringKey a0, IMP::String a1)
10821 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10822 set_value(Gaussian self, ObjectKey a0, Object a1)
10824 return _IMP_core.Gaussian_set_value(self, *args)
10827 def remove_attribute(self, *args):
10829 remove_attribute(Gaussian self, FloatKey a0)
10830 remove_attribute(Gaussian self, IntKey a0)
10831 remove_attribute(Gaussian self, StringKey a0)
10832 remove_attribute(Gaussian self, ParticleIndexKey a0)
10833 remove_attribute(Gaussian self, ObjectKey a0)
10835 return _IMP_core.Gaussian_remove_attribute(self, *args)
10838 def has_attribute(self, *args):
10840 has_attribute(Gaussian self, FloatKey a0) -> bool
10841 has_attribute(Gaussian self, IntKey a0) -> bool
10842 has_attribute(Gaussian self, StringKey a0) -> bool
10843 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10844 has_attribute(Gaussian self, ObjectKey a0) -> bool
10846 return _IMP_core.Gaussian_has_attribute(self, *args)
10849 def get_derivative(self, a0):
10850 """get_derivative(Gaussian self, FloatKey a0) -> double"""
10851 return _IMP_core.Gaussian_get_derivative(self, a0)
10854 def get_name(self):
10855 """get_name(Gaussian self) -> std::string"""
10856 return _IMP_core.Gaussian_get_name(self)
10859 def clear_caches(self):
10860 """clear_caches(Gaussian self)"""
10861 return _IMP_core.Gaussian_clear_caches(self)
10864 def set_name(self, a0):
10865 """set_name(Gaussian self, std::string a0)"""
10866 return _IMP_core.Gaussian_set_name(self, a0)
10870 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10871 return _IMP_core.Gaussian_set_check_level(self, a0)
10874 def add_to_derivative(self, a0, a1, a2):
10875 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10876 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10879 def set_is_optimized(self, a0, a1):
10880 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10881 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10884 def get_is_optimized(self, a0):
10885 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10886 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10890 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
10891 return _IMP_core.Gaussian_get_check_level(self)
10894 def __eq__(self, *args):
10896 __eq__(Gaussian self, Gaussian o) -> bool
10897 __eq__(Gaussian self, Particle d) -> bool
10899 return _IMP_core.Gaussian___eq__(self, *args)
10902 def __ne__(self, *args):
10904 __ne__(Gaussian self, Gaussian o) -> bool
10905 __ne__(Gaussian self, Particle d) -> bool
10907 return _IMP_core.Gaussian___ne__(self, *args)
10910 def __le__(self, *args):
10912 __le__(Gaussian self, Gaussian o) -> bool
10913 __le__(Gaussian self, Particle d) -> bool
10915 return _IMP_core.Gaussian___le__(self, *args)
10918 def __lt__(self, *args):
10920 __lt__(Gaussian self, Gaussian o) -> bool
10921 __lt__(Gaussian self, Particle d) -> bool
10923 return _IMP_core.Gaussian___lt__(self, *args)
10926 def __ge__(self, *args):
10928 __ge__(Gaussian self, Gaussian o) -> bool
10929 __ge__(Gaussian self, Particle d) -> bool
10931 return _IMP_core.Gaussian___ge__(self, *args)
10934 def __gt__(self, *args):
10936 __gt__(Gaussian self, Gaussian o) -> bool
10937 __gt__(Gaussian self, Particle d) -> bool
10939 return _IMP_core.Gaussian___gt__(self, *args)
10942 def __hash__(self):
10943 """__hash__(Gaussian self) -> std::size_t"""
10944 return _IMP_core.Gaussian___hash__(self)
10948 """__str__(Gaussian self) -> std::string"""
10949 return _IMP_core.Gaussian___str__(self)
10952 def __repr__(self):
10953 """__repr__(Gaussian self) -> std::string"""
10954 return _IMP_core.Gaussian___repr__(self)
10956 __swig_destroy__ = _IMP_core.delete_Gaussian
10957 __del__ =
lambda self:
None
10958 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
10959 Gaussian_swigregister(Gaussian)
10961 def Gaussian_setup_particle(*args):
10963 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10964 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10965 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10966 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10968 return _IMP_core.Gaussian_setup_particle(*args)
10970 def Gaussian_get_local_covariance_key():
10971 """Gaussian_get_local_covariance_key() -> ObjectKey"""
10972 return _IMP_core.Gaussian_get_local_covariance_key()
10974 def Gaussian_get_global_covariance_key():
10975 """Gaussian_get_global_covariance_key() -> ObjectKey"""
10976 return _IMP_core.Gaussian_get_global_covariance_key()
10978 def Gaussian_get_is_setup(*args):
10980 get_is_setup(_ParticleAdaptor p) -> bool
10981 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
10983 return _IMP_core.Gaussian_get_is_setup(*args)
10986 """Proxy of C++ IMP::core::PairRestraint class."""
10988 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10990 def __init__(self, *args):
10992 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
10993 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
10995 this = _IMP_core.new_PairRestraint(*args)
10997 self.this.append(this)
10998 except __builtin__.Exception:
11001 def get_version_info(self):
11002 """get_version_info(PairRestraint self) -> VersionInfo"""
11003 return _IMP_core.PairRestraint_get_version_info(self)
11007 """__str__(PairRestraint self) -> std::string"""
11008 return _IMP_core.PairRestraint___str__(self)
11011 def __repr__(self):
11012 """__repr__(PairRestraint self) -> std::string"""
11013 return _IMP_core.PairRestraint___repr__(self)
11018 return _object_cast_to_PairRestraint(o)
11020 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11021 PairRestraint_swigregister(PairRestraint)
11024 """Proxy of C++ IMP::core::SingletonRestraint class."""
11026 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11028 def __init__(self, *args):
11030 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11031 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11033 this = _IMP_core.new_SingletonRestraint(*args)
11035 self.this.append(this)
11036 except __builtin__.Exception:
11039 def get_version_info(self):
11040 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11041 return _IMP_core.SingletonRestraint_get_version_info(self)
11045 """__str__(SingletonRestraint self) -> std::string"""
11046 return _IMP_core.SingletonRestraint___str__(self)
11049 def __repr__(self):
11050 """__repr__(SingletonRestraint self) -> std::string"""
11051 return _IMP_core.SingletonRestraint___repr__(self)
11056 return _object_cast_to_SingletonRestraint(o)
11058 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11059 SingletonRestraint_swigregister(SingletonRestraint)
11062 """Proxy of C++ IMP::core::TripletRestraint class."""
11064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11066 def __init__(self, *args):
11068 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11069 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11071 this = _IMP_core.new_TripletRestraint(*args)
11073 self.this.append(this)
11074 except __builtin__.Exception:
11077 def get_version_info(self):
11078 """get_version_info(TripletRestraint self) -> VersionInfo"""
11079 return _IMP_core.TripletRestraint_get_version_info(self)
11083 """__str__(TripletRestraint self) -> std::string"""
11084 return _IMP_core.TripletRestraint___str__(self)
11087 def __repr__(self):
11088 """__repr__(TripletRestraint self) -> std::string"""
11089 return _IMP_core.TripletRestraint___repr__(self)
11094 return _object_cast_to_TripletRestraint(o)
11096 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11097 TripletRestraint_swigregister(TripletRestraint)
11100 """Proxy of C++ IMP::core::QuadRestraint class."""
11102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11104 def __init__(self, *args):
11106 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11107 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11109 this = _IMP_core.new_QuadRestraint(*args)
11111 self.this.append(this)
11112 except __builtin__.Exception:
11115 def get_version_info(self):
11116 """get_version_info(QuadRestraint self) -> VersionInfo"""
11117 return _IMP_core.QuadRestraint_get_version_info(self)
11121 """__str__(QuadRestraint self) -> std::string"""
11122 return _IMP_core.QuadRestraint___str__(self)
11125 def __repr__(self):
11126 """__repr__(QuadRestraint self) -> std::string"""
11127 return _IMP_core.QuadRestraint___repr__(self)
11132 return _object_cast_to_QuadRestraint(o)
11134 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11135 QuadRestraint_swigregister(QuadRestraint)
11138 """Proxy of C++ IMP::core::SingletonConstraint class."""
11140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11142 def __init__(self, *args):
11144 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11145 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11146 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11147 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11149 this = _IMP_core.new_SingletonConstraint(*args)
11151 self.this.append(this)
11152 except __builtin__.Exception:
11155 def get_version_info(self):
11156 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11157 return _IMP_core.SingletonConstraint_get_version_info(self)
11161 """__str__(SingletonConstraint self) -> std::string"""
11162 return _IMP_core.SingletonConstraint___str__(self)
11165 def __repr__(self):
11166 """__repr__(SingletonConstraint self) -> std::string"""
11167 return _IMP_core.SingletonConstraint___repr__(self)
11172 return _object_cast_to_SingletonConstraint(o)
11174 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11175 SingletonConstraint_swigregister(SingletonConstraint)
11178 """Proxy of C++ IMP::core::PairConstraint class."""
11180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11182 def __init__(self, *args):
11184 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11185 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11186 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11187 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11189 this = _IMP_core.new_PairConstraint(*args)
11191 self.this.append(this)
11192 except __builtin__.Exception:
11195 def get_version_info(self):
11196 """get_version_info(PairConstraint self) -> VersionInfo"""
11197 return _IMP_core.PairConstraint_get_version_info(self)
11201 """__str__(PairConstraint self) -> std::string"""
11202 return _IMP_core.PairConstraint___str__(self)
11205 def __repr__(self):
11206 """__repr__(PairConstraint self) -> std::string"""
11207 return _IMP_core.PairConstraint___repr__(self)
11212 return _object_cast_to_PairConstraint(o)
11214 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11215 PairConstraint_swigregister(PairConstraint)
11218 """Proxy of C++ IMP::core::TripletConstraint class."""
11220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11222 def __init__(self, *args):
11224 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11225 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11226 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11227 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11229 this = _IMP_core.new_TripletConstraint(*args)
11231 self.this.append(this)
11232 except __builtin__.Exception:
11235 def get_version_info(self):
11236 """get_version_info(TripletConstraint self) -> VersionInfo"""
11237 return _IMP_core.TripletConstraint_get_version_info(self)
11241 """__str__(TripletConstraint self) -> std::string"""
11242 return _IMP_core.TripletConstraint___str__(self)
11245 def __repr__(self):
11246 """__repr__(TripletConstraint self) -> std::string"""
11247 return _IMP_core.TripletConstraint___repr__(self)
11252 return _object_cast_to_TripletConstraint(o)
11254 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11255 TripletConstraint_swigregister(TripletConstraint)
11258 """Proxy of C++ IMP::core::QuadConstraint class."""
11260 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11262 def __init__(self, *args):
11264 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11265 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11266 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11267 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11269 this = _IMP_core.new_QuadConstraint(*args)
11271 self.this.append(this)
11272 except __builtin__.Exception:
11275 def get_version_info(self):
11276 """get_version_info(QuadConstraint self) -> VersionInfo"""
11277 return _IMP_core.QuadConstraint_get_version_info(self)
11281 """__str__(QuadConstraint self) -> std::string"""
11282 return _IMP_core.QuadConstraint___str__(self)
11285 def __repr__(self):
11286 """__repr__(QuadConstraint self) -> std::string"""
11287 return _IMP_core.QuadConstraint___repr__(self)
11292 return _object_cast_to_QuadConstraint(o)
11294 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11295 QuadConstraint_swigregister(QuadConstraint)
11298 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
11300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11302 def __init__(self, *args):
11304 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11305 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11307 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11309 self.this.append(this)
11310 except __builtin__.Exception:
11313 def do_get_inputs(self, arg2, arg3):
11314 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11315 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11318 def get_value(self, *args):
11320 get_value(ConstantSingletonPredicate self, Particle a) -> int
11321 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11323 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11326 def get_value_index(self, *args):
11328 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11329 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11331 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11334 def get_version_info(self):
11335 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11336 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11340 """__str__(ConstantSingletonPredicate self) -> std::string"""
11341 return _IMP_core.ConstantSingletonPredicate___str__(self)
11344 def __repr__(self):
11345 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11346 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11351 return _object_cast_to_ConstantSingletonPredicate(o)
11353 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11354 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11357 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
11359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11361 def __init__(self, *args):
11363 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11364 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11366 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11368 self.this.append(this)
11369 except __builtin__.Exception:
11372 def do_get_inputs(self, m, pis):
11373 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11374 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11377 def get_value(self, *args):
11379 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11380 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11382 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11385 def get_value_index(self, *args):
11387 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11388 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11390 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11393 def get_version_info(self):
11394 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11395 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11399 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11400 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11403 def __repr__(self):
11404 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11405 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11410 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11412 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11413 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11416 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
11418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11420 def __init__(self, *args):
11422 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11423 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11425 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11427 self.this.append(this)
11428 except __builtin__.Exception:
11431 def do_get_inputs(self, m, pis):
11432 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11433 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11436 def get_value(self, *args):
11438 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11439 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11440 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11442 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11445 def get_value_index(self, *args):
11447 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11448 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11450 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11453 def get_version_info(self):
11454 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11455 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11459 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11460 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11463 def __repr__(self):
11464 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11465 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11470 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11472 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11473 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11476 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
11478 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11480 def __init__(self, *args):
11482 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11483 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11485 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11487 self.this.append(this)
11488 except __builtin__.Exception:
11491 def do_get_inputs(self, arg2, arg3):
11492 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11493 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11496 def get_value(self, *args):
11498 get_value(AllSameSingletonPredicate self, Particle a) -> int
11499 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11501 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11504 def get_value_index(self, *args):
11506 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11507 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11509 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11512 def get_version_info(self):
11513 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11514 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11518 """__str__(AllSameSingletonPredicate self) -> std::string"""
11519 return _IMP_core.AllSameSingletonPredicate___str__(self)
11522 def __repr__(self):
11523 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11524 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11529 return _object_cast_to_AllSameSingletonPredicate(o)
11531 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11532 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11535 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
11537 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11539 def __init__(self, *args):
11541 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11542 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11544 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11546 self.this.append(this)
11547 except __builtin__.Exception:
11550 def do_get_inputs(self, arg2, arg3):
11551 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11552 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11555 def get_value(self, *args):
11557 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11558 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11560 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11563 def get_value_index(self, *args):
11565 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11566 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11568 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11571 def get_version_info(self):
11572 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11573 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11577 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11578 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11581 def __repr__(self):
11582 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11583 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11588 return _object_cast_to_CoinFlipSingletonPredicate(o)
11590 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11591 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11594 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
11596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11598 def __init__(self, *args):
11600 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11601 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11603 this = _IMP_core.new_ConstantPairPredicate(*args)
11605 self.this.append(this)
11606 except __builtin__.Exception:
11609 def do_get_inputs(self, arg2, arg3):
11610 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11611 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11614 def get_value(self, *args):
11616 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11617 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11619 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11622 def get_value_index(self, *args):
11624 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11625 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11627 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11630 def get_version_info(self):
11631 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11632 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11636 """__str__(ConstantPairPredicate self) -> std::string"""
11637 return _IMP_core.ConstantPairPredicate___str__(self)
11640 def __repr__(self):
11641 """__repr__(ConstantPairPredicate self) -> std::string"""
11642 return _IMP_core.ConstantPairPredicate___repr__(self)
11647 return _object_cast_to_ConstantPairPredicate(o)
11649 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11650 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11653 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11657 def __init__(self, *args):
11659 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11660 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11662 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11664 self.this.append(this)
11665 except __builtin__.Exception:
11668 def do_get_inputs(self, m, pis):
11669 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11670 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11673 def get_value(self, *args):
11675 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11676 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11678 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11681 def get_value_index(self, *args):
11683 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11684 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11686 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11689 def get_version_info(self):
11690 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11691 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11695 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11696 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11699 def __repr__(self):
11700 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11701 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11706 return _object_cast_to_UnorderedTypePairPredicate(o)
11708 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11709 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11712 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11714 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11716 def __init__(self, *args):
11718 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11719 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11721 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11723 self.this.append(this)
11724 except __builtin__.Exception:
11727 def do_get_inputs(self, m, pis):
11728 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11729 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11732 def get_value(self, *args):
11734 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11735 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11736 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11738 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11741 def get_value_index(self, *args):
11743 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11744 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11746 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11749 def get_version_info(self):
11750 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11751 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11755 """__str__(OrderedTypePairPredicate self) -> std::string"""
11756 return _IMP_core.OrderedTypePairPredicate___str__(self)
11759 def __repr__(self):
11760 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11761 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11766 return _object_cast_to_OrderedTypePairPredicate(o)
11768 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11769 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11772 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
11774 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11776 def __init__(self, *args):
11778 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11779 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11781 this = _IMP_core.new_AllSamePairPredicate(*args)
11783 self.this.append(this)
11784 except __builtin__.Exception:
11787 def do_get_inputs(self, arg2, arg3):
11788 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11789 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11792 def get_value(self, *args):
11794 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11795 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11797 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11800 def get_value_index(self, *args):
11802 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11803 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11805 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11808 def get_version_info(self):
11809 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11810 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11814 """__str__(AllSamePairPredicate self) -> std::string"""
11815 return _IMP_core.AllSamePairPredicate___str__(self)
11818 def __repr__(self):
11819 """__repr__(AllSamePairPredicate self) -> std::string"""
11820 return _IMP_core.AllSamePairPredicate___repr__(self)
11825 return _object_cast_to_AllSamePairPredicate(o)
11827 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11828 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11831 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11833 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11835 def __init__(self, *args):
11837 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
11838 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
11840 this = _IMP_core.new_CoinFlipPairPredicate(*args)
11842 self.this.append(this)
11843 except __builtin__.Exception:
11846 def do_get_inputs(self, arg2, arg3):
11847 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11848 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11851 def get_value(self, *args):
11853 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11854 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11856 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11859 def get_value_index(self, *args):
11861 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11862 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11864 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11867 def get_version_info(self):
11868 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11869 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11873 """__str__(CoinFlipPairPredicate self) -> std::string"""
11874 return _IMP_core.CoinFlipPairPredicate___str__(self)
11877 def __repr__(self):
11878 """__repr__(CoinFlipPairPredicate self) -> std::string"""
11879 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11884 return _object_cast_to_CoinFlipPairPredicate(o)
11886 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
11887 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11890 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11892 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11894 def __init__(self, *args):
11896 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
11897 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
11899 this = _IMP_core.new_ConstantTripletPredicate(*args)
11901 self.this.append(this)
11902 except __builtin__.Exception:
11905 def do_get_inputs(self, arg2, arg3):
11906 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11907 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11910 def get_value(self, *args):
11912 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11913 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11915 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11918 def get_value_index(self, *args):
11920 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11921 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11923 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11926 def get_version_info(self):
11927 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11928 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11932 """__str__(ConstantTripletPredicate self) -> std::string"""
11933 return _IMP_core.ConstantTripletPredicate___str__(self)
11936 def __repr__(self):
11937 """__repr__(ConstantTripletPredicate self) -> std::string"""
11938 return _IMP_core.ConstantTripletPredicate___repr__(self)
11943 return _object_cast_to_ConstantTripletPredicate(o)
11945 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
11946 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11949 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11951 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11953 def __init__(self, *args):
11955 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
11956 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
11958 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
11960 self.this.append(this)
11961 except __builtin__.Exception:
11964 def do_get_inputs(self, m, pis):
11965 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11966 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11969 def get_value(self, *args):
11971 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11972 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11974 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
11977 def get_value_index(self, *args):
11979 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11980 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11982 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
11985 def get_version_info(self):
11986 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
11987 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
11991 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
11992 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
11995 def __repr__(self):
11996 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
11997 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12002 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12004 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12005 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12008 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
12010 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12012 def __init__(self, *args):
12014 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12015 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12017 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12019 self.this.append(this)
12020 except __builtin__.Exception:
12023 def do_get_inputs(self, m, pis):
12024 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12025 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12028 def get_value(self, *args):
12030 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12031 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12032 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12034 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12037 def get_value_index(self, *args):
12039 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12040 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12042 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12045 def get_version_info(self):
12046 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12047 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12051 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12052 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12055 def __repr__(self):
12056 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12057 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12062 return _object_cast_to_OrderedTypeTripletPredicate(o)
12064 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12065 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12068 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
12070 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12072 def __init__(self, *args):
12074 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12075 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12077 this = _IMP_core.new_AllSameTripletPredicate(*args)
12079 self.this.append(this)
12080 except __builtin__.Exception:
12083 def do_get_inputs(self, arg2, arg3):
12084 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12085 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12088 def get_value(self, *args):
12090 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12091 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12093 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12096 def get_value_index(self, *args):
12098 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12099 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12101 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12104 def get_version_info(self):
12105 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12106 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12110 """__str__(AllSameTripletPredicate self) -> std::string"""
12111 return _IMP_core.AllSameTripletPredicate___str__(self)
12114 def __repr__(self):
12115 """__repr__(AllSameTripletPredicate self) -> std::string"""
12116 return _IMP_core.AllSameTripletPredicate___repr__(self)
12121 return _object_cast_to_AllSameTripletPredicate(o)
12123 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12124 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12127 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
12129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12131 def __init__(self, *args):
12133 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12134 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12136 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12138 self.this.append(this)
12139 except __builtin__.Exception:
12142 def do_get_inputs(self, arg2, arg3):
12143 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12144 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12147 def get_value(self, *args):
12149 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12150 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12152 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12155 def get_value_index(self, *args):
12157 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12158 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12160 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12163 def get_version_info(self):
12164 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12165 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12169 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12170 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12173 def __repr__(self):
12174 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12175 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12180 return _object_cast_to_CoinFlipTripletPredicate(o)
12182 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12183 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12186 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
12188 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12190 def __init__(self, *args):
12192 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12193 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12195 this = _IMP_core.new_ConstantQuadPredicate(*args)
12197 self.this.append(this)
12198 except __builtin__.Exception:
12201 def do_get_inputs(self, arg2, arg3):
12202 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12203 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12206 def get_value(self, *args):
12208 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12209 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12211 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12214 def get_value_index(self, *args):
12216 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12217 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12219 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12222 def get_version_info(self):
12223 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12224 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12228 """__str__(ConstantQuadPredicate self) -> std::string"""
12229 return _IMP_core.ConstantQuadPredicate___str__(self)
12232 def __repr__(self):
12233 """__repr__(ConstantQuadPredicate self) -> std::string"""
12234 return _IMP_core.ConstantQuadPredicate___repr__(self)
12239 return _object_cast_to_ConstantQuadPredicate(o)
12241 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12242 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12245 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
12247 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12249 def __init__(self, *args):
12251 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12252 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12254 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12256 self.this.append(this)
12257 except __builtin__.Exception:
12260 def do_get_inputs(self, m, pis):
12261 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12262 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12265 def get_value(self, *args):
12267 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12268 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12270 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12273 def get_value_index(self, *args):
12275 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12276 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12278 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12281 def get_version_info(self):
12282 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12283 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12287 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12288 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12291 def __repr__(self):
12292 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12293 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12298 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12300 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12301 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12304 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
12306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12308 def __init__(self, *args):
12310 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12311 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12313 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12315 self.this.append(this)
12316 except __builtin__.Exception:
12319 def do_get_inputs(self, m, pis):
12320 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12321 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12324 def get_value(self, *args):
12326 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12327 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12328 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12330 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12333 def get_value_index(self, *args):
12335 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12336 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12338 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12341 def get_version_info(self):
12342 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12343 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12347 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12348 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12351 def __repr__(self):
12352 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12353 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12358 return _object_cast_to_OrderedTypeQuadPredicate(o)
12360 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12361 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12364 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
12366 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12368 def __init__(self, *args):
12370 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12371 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12373 this = _IMP_core.new_AllSameQuadPredicate(*args)
12375 self.this.append(this)
12376 except __builtin__.Exception:
12379 def do_get_inputs(self, arg2, arg3):
12380 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12381 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12384 def get_value(self, *args):
12386 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12387 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12389 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12392 def get_value_index(self, *args):
12394 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12395 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12397 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12400 def get_version_info(self):
12401 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12402 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12406 """__str__(AllSameQuadPredicate self) -> std::string"""
12407 return _IMP_core.AllSameQuadPredicate___str__(self)
12410 def __repr__(self):
12411 """__repr__(AllSameQuadPredicate self) -> std::string"""
12412 return _IMP_core.AllSameQuadPredicate___repr__(self)
12417 return _object_cast_to_AllSameQuadPredicate(o)
12419 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12420 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12423 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
12425 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12427 def __init__(self, *args):
12429 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12430 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12432 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12434 self.this.append(this)
12435 except __builtin__.Exception:
12438 def do_get_inputs(self, arg2, arg3):
12439 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12440 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12443 def get_value(self, *args):
12445 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12446 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12448 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12451 def get_value_index(self, *args):
12453 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12454 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12456 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12459 def get_version_info(self):
12460 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12461 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12465 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12466 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12469 def __repr__(self):
12470 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12471 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12476 return _object_cast_to_CoinFlipQuadPredicate(o)
12478 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12479 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12482 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
12484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12486 def __init__(self, *args):
12488 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12489 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12491 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12493 self.this.append(this)
12494 except __builtin__.Exception:
12497 def do_get_inputs(self, m, pi):
12498 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12499 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12502 def get_value(self, *args):
12504 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12505 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12507 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12510 def get_value_index(self, *args):
12512 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12513 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12515 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12518 def get_version_info(self):
12519 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12520 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12524 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12525 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12528 def __repr__(self):
12529 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12530 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12535 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12537 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12538 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12541 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12545 def __init__(self, *args):
12547 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12548 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12550 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12552 self.this.append(this)
12553 except __builtin__.Exception:
12556 def do_get_inputs(self, m, pi):
12557 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12558 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12561 def get_value(self, *args):
12563 get_value(AttributeSingletonPredicate self, Particle a) -> int
12564 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12566 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12569 def get_value_index(self, *args):
12571 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12572 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12574 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12577 def get_version_info(self):
12578 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12579 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12583 """__str__(AttributeSingletonPredicate self) -> std::string"""
12584 return _IMP_core.AttributeSingletonPredicate___str__(self)
12587 def __repr__(self):
12588 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12589 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12594 return _object_cast_to_AttributeSingletonPredicate(o)
12596 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12597 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12600 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12602 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12604 def __init__(self, *args):
12606 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12607 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12609 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12611 self.this.append(this)
12612 except __builtin__.Exception:
12615 def do_get_inputs(self, m, pi):
12616 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12617 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12620 def get_value(self, *args):
12622 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12623 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12625 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12628 def get_value_index(self, *args):
12630 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12631 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12633 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12636 def get_version_info(self):
12637 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12638 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12642 """__str__(IsCollisionPairPredicate self) -> std::string"""
12643 return _IMP_core.IsCollisionPairPredicate___str__(self)
12646 def __repr__(self):
12647 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12648 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12653 return _object_cast_to_IsCollisionPairPredicate(o)
12655 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12656 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12658 class AngleRestraint(TripletRestraint):
12659 """Proxy of C++ IMP::core::AngleRestraint class."""
12661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12663 def __init__(self, m, score_func, p1, p2, p3):
12664 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12665 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12667 self.this.append(this)
12668 except __builtin__.Exception:
12672 """__str__(AngleRestraint self) -> std::string"""
12673 return _IMP_core.AngleRestraint___str__(self)
12676 def __repr__(self):
12677 """__repr__(AngleRestraint self) -> std::string"""
12678 return _IMP_core.AngleRestraint___repr__(self)
12683 return _object_cast_to_AngleRestraint(o)
12685 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12686 AngleRestraint_swigregister(AngleRestraint)
12688 class RigidBodyMover(MonteCarloMover):
12689 """Proxy of C++ IMP::core::RigidBodyMover class."""
12691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12693 def __init__(self, m, pi, max_translation, max_rotation):
12694 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12695 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12697 self.this.append(this)
12698 except __builtin__.Exception:
12701 def set_maximum_translation(self, mt):
12702 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12703 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12706 def set_maximum_rotation(self, mr):
12707 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12708 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12711 def get_maximum_translation(self):
12712 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12713 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12716 def get_maximum_rotation(self):
12717 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12718 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12721 def get_version_info(self):
12722 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12723 return _IMP_core.RigidBodyMover_get_version_info(self)
12727 """__str__(RigidBodyMover self) -> std::string"""
12728 return _IMP_core.RigidBodyMover___str__(self)
12731 def __repr__(self):
12732 """__repr__(RigidBodyMover self) -> std::string"""
12733 return _IMP_core.RigidBodyMover___repr__(self)
12738 return _object_cast_to_RigidBodyMover(o)
12740 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12741 RigidBodyMover_swigregister(RigidBodyMover)
12743 class RigidBodyTunneler(MonteCarloMover):
12744 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
12746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12748 def __init__(self, m, pis, ref, k, move_probability=1.):
12750 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12751 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12753 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12755 self.this.append(this)
12756 except __builtin__.Exception:
12759 def add_entry_point(self, fl):
12760 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12761 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12764 def reset_stats(self):
12765 """reset_stats(RigidBodyTunneler self)"""
12766 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12769 def get_number_of_rejected_moves(self):
12770 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12771 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12774 def get_number_of_proposed_moves(self):
12775 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12776 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12779 def get_number_of_impossible_moves(self):
12780 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12781 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12784 def get_number_of_calls(self):
12785 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12786 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12789 def get_reduced_coordinates(*args):
12791 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12792 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12794 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12796 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12798 def set_reduced_coordinates(m, target, ref, coords):
12799 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12800 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12802 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12804 def get_version_info(self):
12805 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12806 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12810 """__str__(RigidBodyTunneler self) -> std::string"""
12811 return _IMP_core.RigidBodyTunneler___str__(self)
12814 def __repr__(self):
12815 """__repr__(RigidBodyTunneler self) -> std::string"""
12816 return _IMP_core.RigidBodyTunneler___repr__(self)
12821 return _object_cast_to_RigidBodyTunneler(o)
12823 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12824 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12826 def RigidBodyTunneler_get_reduced_coordinates(*args):
12828 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12829 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12831 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12833 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12834 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12835 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12838 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12840 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12842 def __init__(self, *args):
12844 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12845 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12846 __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
12847 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12849 this = _IMP_core.new_RigidBodyUmbrella(*args)
12851 self.this.append(this)
12852 except __builtin__.Exception:
12855 def set_x0(self, *args):
12857 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12858 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
12860 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12864 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12865 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12869 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12870 return _IMP_core.RigidBodyUmbrella_get_x(self)
12873 def set_alpha(self, alpha):
12874 """set_alpha(RigidBodyUmbrella self, double alpha)"""
12875 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12878 def set_k(self, k):
12879 """set_k(RigidBodyUmbrella self, double k)"""
12880 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12883 def get_version_info(self):
12884 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12885 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12889 """__str__(RigidBodyUmbrella self) -> std::string"""
12890 return _IMP_core.RigidBodyUmbrella___str__(self)
12893 def __repr__(self):
12894 """__repr__(RigidBodyUmbrella self) -> std::string"""
12895 return _IMP_core.RigidBodyUmbrella___repr__(self)
12900 return _object_cast_to_RigidBodyUmbrella(o)
12902 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
12903 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12906 """Proxy of C++ IMP::core::VolumeRestraint class."""
12908 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12910 def __init__(self, f, sc, volume):
12911 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12912 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
12914 self.this.append(this)
12915 except __builtin__.Exception:
12918 def do_get_inputs(self):
12919 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12920 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12923 def get_version_info(self):
12924 """get_version_info(VolumeRestraint self) -> VersionInfo"""
12925 return _IMP_core.VolumeRestraint_get_version_info(self)
12929 """__str__(VolumeRestraint self) -> std::string"""
12930 return _IMP_core.VolumeRestraint___str__(self)
12933 def __repr__(self):
12934 """__repr__(VolumeRestraint self) -> std::string"""
12935 return _IMP_core.VolumeRestraint___repr__(self)
12940 return _object_cast_to_VolumeRestraint(o)
12942 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
12943 VolumeRestraint_swigregister(VolumeRestraint)
12947 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12948 return _IMP_core.get_centroid(ps)
12951 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12952 return _IMP_core.get_bounding_box(ps)
12954 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
12956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12958 def __init__(self, ps):
12959 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12960 this = _IMP_core.new_MoveStatisticsScoreState(ps)
12962 self.this.append(this)
12963 except __builtin__.Exception:
12966 def show_statistics(self, *args):
12968 show_statistics(MoveStatisticsScoreState self, _ostream out)
12969 show_statistics(MoveStatisticsScoreState self)
12971 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
12975 """reset(MoveStatisticsScoreState self)"""
12976 return _IMP_core.MoveStatisticsScoreState_reset(self)
12979 def do_before_evaluate(self):
12980 """do_before_evaluate(MoveStatisticsScoreState self)"""
12981 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
12984 def do_after_evaluate(self, da):
12985 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
12986 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
12989 def do_get_inputs(self):
12990 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12991 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
12994 def do_get_outputs(self):
12995 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12996 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
12999 def get_version_info(self):
13000 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13001 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13005 """__str__(MoveStatisticsScoreState self) -> std::string"""
13006 return _IMP_core.MoveStatisticsScoreState___str__(self)
13009 def __repr__(self):
13010 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13011 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13016 return _object_cast_to_MoveStatisticsScoreState(o)
13018 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13019 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13021 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13023 """Proxy of C++ IMP::core::Typed class."""
13025 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13027 def get_type_key():
13028 """get_type_key() -> IntKey"""
13029 return _IMP_core.Typed_get_type_key()
13031 get_type_key = staticmethod(get_type_key)
13033 def __init__(self, *args):
13035 __init__(IMP::core::Typed self) -> Typed
13036 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13037 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13039 this = _IMP_core.new_Typed(*args)
13041 self.this.append(this)
13042 except __builtin__.Exception:
13045 def show(self, *args):
13047 show(Typed self, _ostream out)
13050 return _IMP_core.Typed_show(self, *args)
13053 def setup_particle(*args):
13055 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13056 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13058 return _IMP_core.Typed_setup_particle(*args)
13060 setup_particle = staticmethod(setup_particle)
13062 def get_is_setup(*args):
13064 get_is_setup(_ParticleAdaptor p) -> bool
13065 get_is_setup(Model m, ParticleIndex pi) -> bool
13067 return _IMP_core.Typed_get_is_setup(*args)
13069 get_is_setup = staticmethod(get_is_setup)
13071 def get_type(self):
13072 """get_type(Typed self) -> ParticleType"""
13073 return _IMP_core.Typed_get_type(self)
13076 def set_type(self, pt):
13077 """set_type(Typed self, ParticleType pt)"""
13078 return _IMP_core.Typed_set_type(self, pt)
13081 def add_attribute(self, *args):
13083 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13084 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13085 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13086 add_attribute(Typed self, StringKey a0, IMP::String a1)
13087 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13088 add_attribute(Typed self, ObjectKey a0, Object a1)
13090 return _IMP_core.Typed_add_attribute(self, *args)
13093 def get_value(self, *args):
13095 get_value(Typed self, FloatKey a0) -> IMP::Float
13096 get_value(Typed self, IntKey a0) -> IMP::Int
13097 get_value(Typed self, StringKey a0) -> IMP::String
13098 get_value(Typed self, ParticleIndexKey a0) -> Particle
13099 get_value(Typed self, ObjectKey a0) -> Object
13101 return _IMP_core.Typed_get_value(self, *args)
13104 def set_value(self, *args):
13106 set_value(Typed self, FloatKey a0, IMP::Float a1)
13107 set_value(Typed self, IntKey a0, IMP::Int a1)
13108 set_value(Typed self, StringKey a0, IMP::String a1)
13109 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13110 set_value(Typed self, ObjectKey a0, Object a1)
13112 return _IMP_core.Typed_set_value(self, *args)
13115 def remove_attribute(self, *args):
13117 remove_attribute(Typed self, FloatKey a0)
13118 remove_attribute(Typed self, IntKey a0)
13119 remove_attribute(Typed self, StringKey a0)
13120 remove_attribute(Typed self, ParticleIndexKey a0)
13121 remove_attribute(Typed self, ObjectKey a0)
13123 return _IMP_core.Typed_remove_attribute(self, *args)
13126 def has_attribute(self, *args):
13128 has_attribute(Typed self, FloatKey a0) -> bool
13129 has_attribute(Typed self, IntKey a0) -> bool
13130 has_attribute(Typed self, StringKey a0) -> bool
13131 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13132 has_attribute(Typed self, ObjectKey a0) -> bool
13134 return _IMP_core.Typed_has_attribute(self, *args)
13137 def get_derivative(self, a0):
13138 """get_derivative(Typed self, FloatKey a0) -> double"""
13139 return _IMP_core.Typed_get_derivative(self, a0)
13142 def get_name(self):
13143 """get_name(Typed self) -> std::string"""
13144 return _IMP_core.Typed_get_name(self)
13147 def clear_caches(self):
13148 """clear_caches(Typed self)"""
13149 return _IMP_core.Typed_clear_caches(self)
13152 def set_name(self, a0):
13153 """set_name(Typed self, std::string a0)"""
13154 return _IMP_core.Typed_set_name(self, a0)
13158 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13159 return _IMP_core.Typed_set_check_level(self, a0)
13162 def add_to_derivative(self, a0, a1, a2):
13163 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13164 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13167 def set_is_optimized(self, a0, a1):
13168 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13169 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13172 def get_is_optimized(self, a0):
13173 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13174 return _IMP_core.Typed_get_is_optimized(self, a0)
13178 """get_check_level(Typed self) -> IMP::CheckLevel"""
13179 return _IMP_core.Typed_get_check_level(self)
13182 def __eq__(self, *args):
13184 __eq__(Typed self, Typed o) -> bool
13185 __eq__(Typed self, Particle d) -> bool
13187 return _IMP_core.Typed___eq__(self, *args)
13190 def __ne__(self, *args):
13192 __ne__(Typed self, Typed o) -> bool
13193 __ne__(Typed self, Particle d) -> bool
13195 return _IMP_core.Typed___ne__(self, *args)
13198 def __le__(self, *args):
13200 __le__(Typed self, Typed o) -> bool
13201 __le__(Typed self, Particle d) -> bool
13203 return _IMP_core.Typed___le__(self, *args)
13206 def __lt__(self, *args):
13208 __lt__(Typed self, Typed o) -> bool
13209 __lt__(Typed self, Particle d) -> bool
13211 return _IMP_core.Typed___lt__(self, *args)
13214 def __ge__(self, *args):
13216 __ge__(Typed self, Typed o) -> bool
13217 __ge__(Typed self, Particle d) -> bool
13219 return _IMP_core.Typed___ge__(self, *args)
13222 def __gt__(self, *args):
13224 __gt__(Typed self, Typed o) -> bool
13225 __gt__(Typed self, Particle d) -> bool
13227 return _IMP_core.Typed___gt__(self, *args)
13230 def __hash__(self):
13231 """__hash__(Typed self) -> std::size_t"""
13232 return _IMP_core.Typed___hash__(self)
13236 """__str__(Typed self) -> std::string"""
13237 return _IMP_core.Typed___str__(self)
13240 def __repr__(self):
13241 """__repr__(Typed self) -> std::string"""
13242 return _IMP_core.Typed___repr__(self)
13244 __swig_destroy__ = _IMP_core.delete_Typed
13245 __del__ =
lambda self:
None
13246 Typed_swigregister = _IMP_core.Typed_swigregister
13247 Typed_swigregister(Typed)
13249 def Typed_get_type_key():
13250 """Typed_get_type_key() -> IntKey"""
13251 return _IMP_core.Typed_get_type_key()
13253 def Typed_setup_particle(*args):
13255 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13256 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13258 return _IMP_core.Typed_setup_particle(*args)
13260 def Typed_get_is_setup(*args):
13262 get_is_setup(_ParticleAdaptor p) -> bool
13263 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13265 return _IMP_core.Typed_get_is_setup(*args)
13268 def __lshift__(*args):
13270 __lshift__(_ostream out, XYZ n) -> _ostream
13271 __lshift__(_ostream out, XYZR n) -> _ostream
13272 __lshift__(_ostream out, Direction n) -> _ostream
13273 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13274 __lshift__(_ostream out, Surface n) -> _ostream
13275 __lshift__(_ostream out, Centroid n) -> _ostream
13276 __lshift__(_ostream out, Cover n) -> _ostream
13277 __lshift__(_ostream out, Reference n) -> _ostream
13278 __lshift__(_ostream out, RigidMember n) -> _ostream
13279 __lshift__(_ostream out, RigidBody n) -> _ostream
13280 __lshift__(_ostream out, Gaussian n) -> _ostream
13281 __lshift__(_ostream out, Typed n) -> _ostream
13283 return _IMP_core.__lshift__(*args)
13285 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
13287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13289 def __init__(self, rs, out):
13290 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13291 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13293 self.this.append(this)
13294 except __builtin__.Exception:
13297 def get_version_info(self):
13298 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13299 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13303 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13304 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13307 def __repr__(self):
13308 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13309 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13314 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13316 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13317 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13321 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13322 return _IMP_core.assign_blame(rs, ps, attribute)
13326 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13327 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13328 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13330 return _IMP_core.create_blame_geometries(*args)
13332 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
13334 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13336 def __init__(self, m, q1, q2):
13337 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13338 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13340 self.this.append(this)
13341 except __builtin__.Exception:
13344 def add_term(self, term):
13345 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13346 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13349 def do_get_inputs(self):
13350 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13351 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13354 def get_version_info(self):
13355 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13356 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13360 """__str__(MultipleBinormalRestraint self) -> std::string"""
13361 return _IMP_core.MultipleBinormalRestraint___str__(self)
13364 def __repr__(self):
13365 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13366 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13371 return _object_cast_to_MultipleBinormalRestraint(o)
13373 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13374 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13376 class BinormalTerm(object):
13377 """Proxy of C++ IMP::core::BinormalTerm class."""
13379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13381 def __init__(self):
13382 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13383 this = _IMP_core.new_BinormalTerm()
13385 self.this.append(this)
13386 except __builtin__.Exception:
13389 def set_correlation(self, correlation):
13390 """set_correlation(BinormalTerm self, double correlation)"""
13391 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13394 def set_weight(self, weight):
13395 """set_weight(BinormalTerm self, double weight)"""
13396 return _IMP_core.BinormalTerm_set_weight(self, weight)
13399 def set_means(self, means):
13400 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13401 return _IMP_core.BinormalTerm_set_means(self, means)
13404 def set_standard_deviations(self, stdevs):
13405 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13406 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13409 def show(self, *args):
13411 show(BinormalTerm self, _ostream out)
13412 show(BinormalTerm self)
13414 return _IMP_core.BinormalTerm_show(self, *args)
13418 """__str__(BinormalTerm self) -> std::string"""
13419 return _IMP_core.BinormalTerm___str__(self)
13422 def __repr__(self):
13423 """__repr__(BinormalTerm self) -> std::string"""
13424 return _IMP_core.BinormalTerm___repr__(self)
13426 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13427 __del__ =
lambda self:
None
13428 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13429 BinormalTerm_swigregister(BinormalTerm)
13432 """Proxy of C++ IMP::core::Provenance class."""
13434 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13436 def get_previous(self):
13437 """get_previous(Provenance self) -> Provenance"""
13438 return _IMP_core.Provenance_get_previous(self)
13441 def set_previous(self, p):
13442 """set_previous(Provenance self, Provenance p)"""
13443 return _IMP_core.Provenance_set_previous(self, p)
13446 def __init__(self, *args):
13448 __init__(IMP::core::Provenance self) -> Provenance
13449 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13450 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13452 this = _IMP_core.new_Provenance(*args)
13454 self.this.append(this)
13455 except __builtin__.Exception:
13458 def get_is_setup(*args):
13460 get_is_setup(Model m, ParticleIndex pi) -> bool
13461 get_is_setup(_ParticleAdaptor p) -> bool
13463 return _IMP_core.Provenance_get_is_setup(*args)
13465 get_is_setup = staticmethod(get_is_setup)
13467 def show(self, *args):
13469 show(Provenance self, _ostream out)
13470 show(Provenance self)
13472 return _IMP_core.Provenance_show(self, *args)
13475 def setup_particle(*args):
13477 setup_particle(Model m, ParticleIndex pi) -> Provenance
13478 setup_particle(_ParticleAdaptor decorator) -> Provenance
13480 return _IMP_core.Provenance_setup_particle(*args)
13482 setup_particle = staticmethod(setup_particle)
13484 def add_attribute(self, *args):
13486 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13487 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13488 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13489 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13490 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13491 add_attribute(Provenance self, ObjectKey a0, Object a1)
13493 return _IMP_core.Provenance_add_attribute(self, *args)
13496 def get_value(self, *args):
13498 get_value(Provenance self, FloatKey a0) -> IMP::Float
13499 get_value(Provenance self, IntKey a0) -> IMP::Int
13500 get_value(Provenance self, StringKey a0) -> IMP::String
13501 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13502 get_value(Provenance self, ObjectKey a0) -> Object
13504 return _IMP_core.Provenance_get_value(self, *args)
13507 def set_value(self, *args):
13509 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13510 set_value(Provenance self, IntKey a0, IMP::Int a1)
13511 set_value(Provenance self, StringKey a0, IMP::String a1)
13512 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13513 set_value(Provenance self, ObjectKey a0, Object a1)
13515 return _IMP_core.Provenance_set_value(self, *args)
13518 def remove_attribute(self, *args):
13520 remove_attribute(Provenance self, FloatKey a0)
13521 remove_attribute(Provenance self, IntKey a0)
13522 remove_attribute(Provenance self, StringKey a0)
13523 remove_attribute(Provenance self, ParticleIndexKey a0)
13524 remove_attribute(Provenance self, ObjectKey a0)
13526 return _IMP_core.Provenance_remove_attribute(self, *args)
13529 def has_attribute(self, *args):
13531 has_attribute(Provenance self, FloatKey a0) -> bool
13532 has_attribute(Provenance self, IntKey a0) -> bool
13533 has_attribute(Provenance self, StringKey a0) -> bool
13534 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13535 has_attribute(Provenance self, ObjectKey a0) -> bool
13537 return _IMP_core.Provenance_has_attribute(self, *args)
13540 def get_derivative(self, a0):
13541 """get_derivative(Provenance self, FloatKey a0) -> double"""
13542 return _IMP_core.Provenance_get_derivative(self, a0)
13545 def get_name(self):
13546 """get_name(Provenance self) -> std::string"""
13547 return _IMP_core.Provenance_get_name(self)
13550 def clear_caches(self):
13551 """clear_caches(Provenance self)"""
13552 return _IMP_core.Provenance_clear_caches(self)
13555 def set_name(self, a0):
13556 """set_name(Provenance self, std::string a0)"""
13557 return _IMP_core.Provenance_set_name(self, a0)
13561 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13562 return _IMP_core.Provenance_set_check_level(self, a0)
13565 def add_to_derivative(self, a0, a1, a2):
13566 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13567 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13570 def set_is_optimized(self, a0, a1):
13571 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13572 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13575 def get_is_optimized(self, a0):
13576 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13577 return _IMP_core.Provenance_get_is_optimized(self, a0)
13581 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13582 return _IMP_core.Provenance_get_check_level(self)
13585 def __eq__(self, *args):
13587 __eq__(Provenance self, Provenance o) -> bool
13588 __eq__(Provenance self, Particle d) -> bool
13590 return _IMP_core.Provenance___eq__(self, *args)
13593 def __ne__(self, *args):
13595 __ne__(Provenance self, Provenance o) -> bool
13596 __ne__(Provenance self, Particle d) -> bool
13598 return _IMP_core.Provenance___ne__(self, *args)
13601 def __le__(self, *args):
13603 __le__(Provenance self, Provenance o) -> bool
13604 __le__(Provenance self, Particle d) -> bool
13606 return _IMP_core.Provenance___le__(self, *args)
13609 def __lt__(self, *args):
13611 __lt__(Provenance self, Provenance o) -> bool
13612 __lt__(Provenance self, Particle d) -> bool
13614 return _IMP_core.Provenance___lt__(self, *args)
13617 def __ge__(self, *args):
13619 __ge__(Provenance self, Provenance o) -> bool
13620 __ge__(Provenance self, Particle d) -> bool
13622 return _IMP_core.Provenance___ge__(self, *args)
13625 def __gt__(self, *args):
13627 __gt__(Provenance self, Provenance o) -> bool
13628 __gt__(Provenance self, Particle d) -> bool
13630 return _IMP_core.Provenance___gt__(self, *args)
13633 def __hash__(self):
13634 """__hash__(Provenance self) -> std::size_t"""
13635 return _IMP_core.Provenance___hash__(self)
13639 """__str__(Provenance self) -> std::string"""
13640 return _IMP_core.Provenance___str__(self)
13643 def __repr__(self):
13644 """__repr__(Provenance self) -> std::string"""
13645 return _IMP_core.Provenance___repr__(self)
13647 __swig_destroy__ = _IMP_core.delete_Provenance
13648 __del__ =
lambda self:
None
13649 Provenance_swigregister = _IMP_core.Provenance_swigregister
13650 Provenance_swigregister(Provenance)
13652 def Provenance_get_is_setup(*args):
13654 get_is_setup(Model m, ParticleIndex pi) -> bool
13655 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13657 return _IMP_core.Provenance_get_is_setup(*args)
13659 def Provenance_setup_particle(*args):
13661 setup_particle(Model m, ParticleIndex pi) -> Provenance
13662 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13664 return _IMP_core.Provenance_setup_particle(*args)
13666 class StructureProvenance(Provenance):
13667 """Proxy of C++ IMP::core::StructureProvenance class."""
13669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13671 def set_filename(self, filename):
13672 """set_filename(StructureProvenance self, std::string filename)"""
13673 return _IMP_core.StructureProvenance_set_filename(self, filename)
13676 def get_filename(self):
13677 """get_filename(StructureProvenance self) -> std::string"""
13678 return _IMP_core.StructureProvenance_get_filename(self)
13681 def set_chain_id(self, chain_id):
13682 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13683 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13687 """get_chain_id(StructureProvenance self) -> std::string"""
13688 return _IMP_core.StructureProvenance_get_chain_id(self)
13691 def set_residue_offset(self, residue_offset):
13692 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13693 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13696 def get_residue_offset(self):
13697 """get_residue_offset(StructureProvenance self) -> int"""
13698 return _IMP_core.StructureProvenance_get_residue_offset(self)
13701 def __init__(self, *args):
13703 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13704 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13705 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13707 this = _IMP_core.new_StructureProvenance(*args)
13709 self.this.append(this)
13710 except __builtin__.Exception:
13713 def get_is_setup(*args):
13715 get_is_setup(Model m, ParticleIndex pi) -> bool
13716 get_is_setup(_ParticleAdaptor p) -> bool
13718 return _IMP_core.StructureProvenance_get_is_setup(*args)
13720 get_is_setup = staticmethod(get_is_setup)
13722 def show(self, *args):
13724 show(StructureProvenance self, _ostream out)
13725 show(StructureProvenance self)
13727 return _IMP_core.StructureProvenance_show(self, *args)
13730 def setup_particle(*args):
13732 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13733 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13734 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13735 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13736 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13737 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13739 return _IMP_core.StructureProvenance_setup_particle(*args)
13741 setup_particle = staticmethod(setup_particle)
13743 def add_attribute(self, *args):
13745 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13746 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13747 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13748 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13749 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13750 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13752 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13755 def get_value(self, *args):
13757 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13758 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13759 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13760 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13761 get_value(StructureProvenance self, ObjectKey a0) -> Object
13763 return _IMP_core.StructureProvenance_get_value(self, *args)
13766 def set_value(self, *args):
13768 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13769 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13770 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13771 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13772 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13774 return _IMP_core.StructureProvenance_set_value(self, *args)
13777 def remove_attribute(self, *args):
13779 remove_attribute(StructureProvenance self, FloatKey a0)
13780 remove_attribute(StructureProvenance self, IntKey a0)
13781 remove_attribute(StructureProvenance self, StringKey a0)
13782 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13783 remove_attribute(StructureProvenance self, ObjectKey a0)
13785 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13788 def has_attribute(self, *args):
13790 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13791 has_attribute(StructureProvenance self, IntKey a0) -> bool
13792 has_attribute(StructureProvenance self, StringKey a0) -> bool
13793 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13794 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13796 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13799 def get_derivative(self, a0):
13800 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13801 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13804 def get_name(self):
13805 """get_name(StructureProvenance self) -> std::string"""
13806 return _IMP_core.StructureProvenance_get_name(self)
13809 def clear_caches(self):
13810 """clear_caches(StructureProvenance self)"""
13811 return _IMP_core.StructureProvenance_clear_caches(self)
13814 def set_name(self, a0):
13815 """set_name(StructureProvenance self, std::string a0)"""
13816 return _IMP_core.StructureProvenance_set_name(self, a0)
13820 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
13821 return _IMP_core.StructureProvenance_set_check_level(self, a0)
13824 def add_to_derivative(self, a0, a1, a2):
13825 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13826 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
13829 def set_is_optimized(self, a0, a1):
13830 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
13831 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
13834 def get_is_optimized(self, a0):
13835 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
13836 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
13840 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
13841 return _IMP_core.StructureProvenance_get_check_level(self)
13844 def __eq__(self, *args):
13846 __eq__(StructureProvenance self, StructureProvenance o) -> bool
13847 __eq__(StructureProvenance self, Particle d) -> bool
13849 return _IMP_core.StructureProvenance___eq__(self, *args)
13852 def __ne__(self, *args):
13854 __ne__(StructureProvenance self, StructureProvenance o) -> bool
13855 __ne__(StructureProvenance self, Particle d) -> bool
13857 return _IMP_core.StructureProvenance___ne__(self, *args)
13860 def __le__(self, *args):
13862 __le__(StructureProvenance self, StructureProvenance o) -> bool
13863 __le__(StructureProvenance self, Particle d) -> bool
13865 return _IMP_core.StructureProvenance___le__(self, *args)
13868 def __lt__(self, *args):
13870 __lt__(StructureProvenance self, StructureProvenance o) -> bool
13871 __lt__(StructureProvenance self, Particle d) -> bool
13873 return _IMP_core.StructureProvenance___lt__(self, *args)
13876 def __ge__(self, *args):
13878 __ge__(StructureProvenance self, StructureProvenance o) -> bool
13879 __ge__(StructureProvenance self, Particle d) -> bool
13881 return _IMP_core.StructureProvenance___ge__(self, *args)
13884 def __gt__(self, *args):
13886 __gt__(StructureProvenance self, StructureProvenance o) -> bool
13887 __gt__(StructureProvenance self, Particle d) -> bool
13889 return _IMP_core.StructureProvenance___gt__(self, *args)
13892 def __hash__(self):
13893 """__hash__(StructureProvenance self) -> std::size_t"""
13894 return _IMP_core.StructureProvenance___hash__(self)
13898 """__str__(StructureProvenance self) -> std::string"""
13899 return _IMP_core.StructureProvenance___str__(self)
13902 def __repr__(self):
13903 """__repr__(StructureProvenance self) -> std::string"""
13904 return _IMP_core.StructureProvenance___repr__(self)
13906 __swig_destroy__ = _IMP_core.delete_StructureProvenance
13907 __del__ =
lambda self:
None
13908 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
13909 StructureProvenance_swigregister(StructureProvenance)
13911 def StructureProvenance_get_is_setup(*args):
13913 get_is_setup(Model m, ParticleIndex pi) -> bool
13914 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
13916 return _IMP_core.StructureProvenance_get_is_setup(*args)
13918 def StructureProvenance_setup_particle(*args):
13920 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13921 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13922 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13923 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13924 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13925 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13927 return _IMP_core.StructureProvenance_setup_particle(*args)
13929 class SampleProvenance(Provenance):
13930 """Proxy of C++ IMP::core::SampleProvenance class."""
13932 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13934 def set_method(self, method):
13935 """set_method(SampleProvenance self, std::string method)"""
13936 return _IMP_core.SampleProvenance_set_method(self, method)
13939 def get_method(self):
13940 """get_method(SampleProvenance self) -> std::string"""
13941 return _IMP_core.SampleProvenance_get_method(self)
13944 def set_number_of_frames(self, frames):
13945 """set_number_of_frames(SampleProvenance self, int frames)"""
13946 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
13950 """get_number_of_frames(SampleProvenance self) -> int"""
13951 return _IMP_core.SampleProvenance_get_number_of_frames(self)
13954 def set_number_of_iterations(self, iterations):
13955 """set_number_of_iterations(SampleProvenance self, int iterations)"""
13956 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
13959 def get_number_of_iterations(self):
13960 """get_number_of_iterations(SampleProvenance self) -> int"""
13961 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
13964 def set_number_of_replicas(self, replicas):
13965 """set_number_of_replicas(SampleProvenance self, int replicas)"""
13966 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
13969 def get_number_of_replicas(self):
13970 """get_number_of_replicas(SampleProvenance self) -> int"""
13971 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
13974 def __init__(self, *args):
13976 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
13977 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
13978 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
13980 this = _IMP_core.new_SampleProvenance(*args)
13982 self.this.append(this)
13983 except __builtin__.Exception:
13986 def get_is_setup(*args):
13988 get_is_setup(Model m, ParticleIndex pi) -> bool
13989 get_is_setup(_ParticleAdaptor p) -> bool
13991 return _IMP_core.SampleProvenance_get_is_setup(*args)
13993 get_is_setup = staticmethod(get_is_setup)
13995 def show(self, *args):
13997 show(SampleProvenance self, _ostream out)
13998 show(SampleProvenance self)
14000 return _IMP_core.SampleProvenance_show(self, *args)
14003 def setup_particle(*args):
14005 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14006 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14007 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14008 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14009 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14010 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14012 return _IMP_core.SampleProvenance_setup_particle(*args)
14014 setup_particle = staticmethod(setup_particle)
14016 def add_attribute(self, *args):
14018 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14019 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14020 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14021 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14022 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14023 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14025 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14028 def get_value(self, *args):
14030 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14031 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14032 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14033 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14034 get_value(SampleProvenance self, ObjectKey a0) -> Object
14036 return _IMP_core.SampleProvenance_get_value(self, *args)
14039 def set_value(self, *args):
14041 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14042 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14043 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14044 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14045 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14047 return _IMP_core.SampleProvenance_set_value(self, *args)
14050 def remove_attribute(self, *args):
14052 remove_attribute(SampleProvenance self, FloatKey a0)
14053 remove_attribute(SampleProvenance self, IntKey a0)
14054 remove_attribute(SampleProvenance self, StringKey a0)
14055 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14056 remove_attribute(SampleProvenance self, ObjectKey a0)
14058 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14061 def has_attribute(self, *args):
14063 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14064 has_attribute(SampleProvenance self, IntKey a0) -> bool
14065 has_attribute(SampleProvenance self, StringKey a0) -> bool
14066 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14067 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14069 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14072 def get_derivative(self, a0):
14073 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14074 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14077 def get_name(self):
14078 """get_name(SampleProvenance self) -> std::string"""
14079 return _IMP_core.SampleProvenance_get_name(self)
14082 def clear_caches(self):
14083 """clear_caches(SampleProvenance self)"""
14084 return _IMP_core.SampleProvenance_clear_caches(self)
14087 def set_name(self, a0):
14088 """set_name(SampleProvenance self, std::string a0)"""
14089 return _IMP_core.SampleProvenance_set_name(self, a0)
14093 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14094 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14097 def add_to_derivative(self, a0, a1, a2):
14098 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14099 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14102 def set_is_optimized(self, a0, a1):
14103 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14104 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14107 def get_is_optimized(self, a0):
14108 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14109 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14113 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14114 return _IMP_core.SampleProvenance_get_check_level(self)
14117 def __eq__(self, *args):
14119 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14120 __eq__(SampleProvenance self, Particle d) -> bool
14122 return _IMP_core.SampleProvenance___eq__(self, *args)
14125 def __ne__(self, *args):
14127 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14128 __ne__(SampleProvenance self, Particle d) -> bool
14130 return _IMP_core.SampleProvenance___ne__(self, *args)
14133 def __le__(self, *args):
14135 __le__(SampleProvenance self, SampleProvenance o) -> bool
14136 __le__(SampleProvenance self, Particle d) -> bool
14138 return _IMP_core.SampleProvenance___le__(self, *args)
14141 def __lt__(self, *args):
14143 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14144 __lt__(SampleProvenance self, Particle d) -> bool
14146 return _IMP_core.SampleProvenance___lt__(self, *args)
14149 def __ge__(self, *args):
14151 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14152 __ge__(SampleProvenance self, Particle d) -> bool
14154 return _IMP_core.SampleProvenance___ge__(self, *args)
14157 def __gt__(self, *args):
14159 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14160 __gt__(SampleProvenance self, Particle d) -> bool
14162 return _IMP_core.SampleProvenance___gt__(self, *args)
14165 def __hash__(self):
14166 """__hash__(SampleProvenance self) -> std::size_t"""
14167 return _IMP_core.SampleProvenance___hash__(self)
14171 """__str__(SampleProvenance self) -> std::string"""
14172 return _IMP_core.SampleProvenance___str__(self)
14175 def __repr__(self):
14176 """__repr__(SampleProvenance self) -> std::string"""
14177 return _IMP_core.SampleProvenance___repr__(self)
14179 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14180 __del__ =
lambda self:
None
14181 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14182 SampleProvenance_swigregister(SampleProvenance)
14184 def SampleProvenance_get_is_setup(*args):
14186 get_is_setup(Model m, ParticleIndex pi) -> bool
14187 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14189 return _IMP_core.SampleProvenance_get_is_setup(*args)
14191 def SampleProvenance_setup_particle(*args):
14193 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14194 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14195 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14196 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14197 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14198 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14200 return _IMP_core.SampleProvenance_setup_particle(*args)
14202 class CombineProvenance(Provenance):
14203 """Proxy of C++ IMP::core::CombineProvenance class."""
14205 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14207 def set_number_of_frames(self, frames):
14208 """set_number_of_frames(CombineProvenance self, int frames)"""
14209 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14213 """get_number_of_frames(CombineProvenance self) -> int"""
14214 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14217 def set_number_of_runs(self, runs):
14218 """set_number_of_runs(CombineProvenance self, int runs)"""
14219 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14222 def get_number_of_runs(self):
14223 """get_number_of_runs(CombineProvenance self) -> int"""
14224 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14227 def __init__(self, *args):
14229 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14230 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14231 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14233 this = _IMP_core.new_CombineProvenance(*args)
14235 self.this.append(this)
14236 except __builtin__.Exception:
14239 def get_is_setup(*args):
14241 get_is_setup(Model m, ParticleIndex pi) -> bool
14242 get_is_setup(_ParticleAdaptor p) -> bool
14244 return _IMP_core.CombineProvenance_get_is_setup(*args)
14246 get_is_setup = staticmethod(get_is_setup)
14248 def show(self, *args):
14250 show(CombineProvenance self, _ostream out)
14251 show(CombineProvenance self)
14253 return _IMP_core.CombineProvenance_show(self, *args)
14256 def setup_particle(*args):
14258 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14259 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14260 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14261 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14263 return _IMP_core.CombineProvenance_setup_particle(*args)
14265 setup_particle = staticmethod(setup_particle)
14267 def add_attribute(self, *args):
14269 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14270 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14271 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14272 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14273 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14274 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14276 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14279 def get_value(self, *args):
14281 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14282 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14283 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14284 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14285 get_value(CombineProvenance self, ObjectKey a0) -> Object
14287 return _IMP_core.CombineProvenance_get_value(self, *args)
14290 def set_value(self, *args):
14292 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14293 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14294 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14295 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14296 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14298 return _IMP_core.CombineProvenance_set_value(self, *args)
14301 def remove_attribute(self, *args):
14303 remove_attribute(CombineProvenance self, FloatKey a0)
14304 remove_attribute(CombineProvenance self, IntKey a0)
14305 remove_attribute(CombineProvenance self, StringKey a0)
14306 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14307 remove_attribute(CombineProvenance self, ObjectKey a0)
14309 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14312 def has_attribute(self, *args):
14314 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14315 has_attribute(CombineProvenance self, IntKey a0) -> bool
14316 has_attribute(CombineProvenance self, StringKey a0) -> bool
14317 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14318 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14320 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14323 def get_derivative(self, a0):
14324 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14325 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14328 def get_name(self):
14329 """get_name(CombineProvenance self) -> std::string"""
14330 return _IMP_core.CombineProvenance_get_name(self)
14333 def clear_caches(self):
14334 """clear_caches(CombineProvenance self)"""
14335 return _IMP_core.CombineProvenance_clear_caches(self)
14338 def set_name(self, a0):
14339 """set_name(CombineProvenance self, std::string a0)"""
14340 return _IMP_core.CombineProvenance_set_name(self, a0)
14344 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14345 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14348 def add_to_derivative(self, a0, a1, a2):
14349 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14350 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14353 def set_is_optimized(self, a0, a1):
14354 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14355 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14358 def get_is_optimized(self, a0):
14359 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14360 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14364 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14365 return _IMP_core.CombineProvenance_get_check_level(self)
14368 def __eq__(self, *args):
14370 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14371 __eq__(CombineProvenance self, Particle d) -> bool
14373 return _IMP_core.CombineProvenance___eq__(self, *args)
14376 def __ne__(self, *args):
14378 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14379 __ne__(CombineProvenance self, Particle d) -> bool
14381 return _IMP_core.CombineProvenance___ne__(self, *args)
14384 def __le__(self, *args):
14386 __le__(CombineProvenance self, CombineProvenance o) -> bool
14387 __le__(CombineProvenance self, Particle d) -> bool
14389 return _IMP_core.CombineProvenance___le__(self, *args)
14392 def __lt__(self, *args):
14394 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14395 __lt__(CombineProvenance self, Particle d) -> bool
14397 return _IMP_core.CombineProvenance___lt__(self, *args)
14400 def __ge__(self, *args):
14402 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14403 __ge__(CombineProvenance self, Particle d) -> bool
14405 return _IMP_core.CombineProvenance___ge__(self, *args)
14408 def __gt__(self, *args):
14410 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14411 __gt__(CombineProvenance self, Particle d) -> bool
14413 return _IMP_core.CombineProvenance___gt__(self, *args)
14416 def __hash__(self):
14417 """__hash__(CombineProvenance self) -> std::size_t"""
14418 return _IMP_core.CombineProvenance___hash__(self)
14422 """__str__(CombineProvenance self) -> std::string"""
14423 return _IMP_core.CombineProvenance___str__(self)
14426 def __repr__(self):
14427 """__repr__(CombineProvenance self) -> std::string"""
14428 return _IMP_core.CombineProvenance___repr__(self)
14430 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14431 __del__ =
lambda self:
None
14432 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14433 CombineProvenance_swigregister(CombineProvenance)
14435 def CombineProvenance_get_is_setup(*args):
14437 get_is_setup(Model m, ParticleIndex pi) -> bool
14438 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14440 return _IMP_core.CombineProvenance_get_is_setup(*args)
14442 def CombineProvenance_setup_particle(*args):
14444 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14445 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14446 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14447 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14449 return _IMP_core.CombineProvenance_setup_particle(*args)
14451 class FilterProvenance(Provenance):
14452 """Proxy of C++ IMP::core::FilterProvenance class."""
14454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14456 def set_method(self, method):
14457 """set_method(FilterProvenance self, std::string method)"""
14458 return _IMP_core.FilterProvenance_set_method(self, method)
14461 def get_method(self):
14462 """get_method(FilterProvenance self) -> std::string"""
14463 return _IMP_core.FilterProvenance_get_method(self)
14466 def set_number_of_frames(self, frames):
14467 """set_number_of_frames(FilterProvenance self, int frames)"""
14468 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14472 """get_number_of_frames(FilterProvenance self) -> int"""
14473 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14476 def set_threshold(self, threshold):
14477 """set_threshold(FilterProvenance self, double threshold)"""
14478 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14481 def get_threshold(self):
14482 """get_threshold(FilterProvenance self) -> double"""
14483 return _IMP_core.FilterProvenance_get_threshold(self)
14486 def __init__(self, *args):
14488 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14489 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14490 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14492 this = _IMP_core.new_FilterProvenance(*args)
14494 self.this.append(this)
14495 except __builtin__.Exception:
14498 def get_is_setup(*args):
14500 get_is_setup(Model m, ParticleIndex pi) -> bool
14501 get_is_setup(_ParticleAdaptor p) -> bool
14503 return _IMP_core.FilterProvenance_get_is_setup(*args)
14505 get_is_setup = staticmethod(get_is_setup)
14507 def show(self, *args):
14509 show(FilterProvenance self, _ostream out)
14510 show(FilterProvenance self)
14512 return _IMP_core.FilterProvenance_show(self, *args)
14515 def setup_particle(*args):
14517 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14518 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14519 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14520 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14522 return _IMP_core.FilterProvenance_setup_particle(*args)
14524 setup_particle = staticmethod(setup_particle)
14526 def add_attribute(self, *args):
14528 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14529 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14530 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14531 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14532 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14533 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14535 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14538 def get_value(self, *args):
14540 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14541 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14542 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14543 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14544 get_value(FilterProvenance self, ObjectKey a0) -> Object
14546 return _IMP_core.FilterProvenance_get_value(self, *args)
14549 def set_value(self, *args):
14551 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14552 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14553 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14554 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14555 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14557 return _IMP_core.FilterProvenance_set_value(self, *args)
14560 def remove_attribute(self, *args):
14562 remove_attribute(FilterProvenance self, FloatKey a0)
14563 remove_attribute(FilterProvenance self, IntKey a0)
14564 remove_attribute(FilterProvenance self, StringKey a0)
14565 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14566 remove_attribute(FilterProvenance self, ObjectKey a0)
14568 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14571 def has_attribute(self, *args):
14573 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14574 has_attribute(FilterProvenance self, IntKey a0) -> bool
14575 has_attribute(FilterProvenance self, StringKey a0) -> bool
14576 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14577 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14579 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14582 def get_derivative(self, a0):
14583 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14584 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14587 def get_name(self):
14588 """get_name(FilterProvenance self) -> std::string"""
14589 return _IMP_core.FilterProvenance_get_name(self)
14592 def clear_caches(self):
14593 """clear_caches(FilterProvenance self)"""
14594 return _IMP_core.FilterProvenance_clear_caches(self)
14597 def set_name(self, a0):
14598 """set_name(FilterProvenance self, std::string a0)"""
14599 return _IMP_core.FilterProvenance_set_name(self, a0)
14603 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14604 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14607 def add_to_derivative(self, a0, a1, a2):
14608 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14609 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14612 def set_is_optimized(self, a0, a1):
14613 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14614 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14617 def get_is_optimized(self, a0):
14618 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14619 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14623 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14624 return _IMP_core.FilterProvenance_get_check_level(self)
14627 def __eq__(self, *args):
14629 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14630 __eq__(FilterProvenance self, Particle d) -> bool
14632 return _IMP_core.FilterProvenance___eq__(self, *args)
14635 def __ne__(self, *args):
14637 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14638 __ne__(FilterProvenance self, Particle d) -> bool
14640 return _IMP_core.FilterProvenance___ne__(self, *args)
14643 def __le__(self, *args):
14645 __le__(FilterProvenance self, FilterProvenance o) -> bool
14646 __le__(FilterProvenance self, Particle d) -> bool
14648 return _IMP_core.FilterProvenance___le__(self, *args)
14651 def __lt__(self, *args):
14653 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14654 __lt__(FilterProvenance self, Particle d) -> bool
14656 return _IMP_core.FilterProvenance___lt__(self, *args)
14659 def __ge__(self, *args):
14661 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14662 __ge__(FilterProvenance self, Particle d) -> bool
14664 return _IMP_core.FilterProvenance___ge__(self, *args)
14667 def __gt__(self, *args):
14669 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14670 __gt__(FilterProvenance self, Particle d) -> bool
14672 return _IMP_core.FilterProvenance___gt__(self, *args)
14675 def __hash__(self):
14676 """__hash__(FilterProvenance self) -> std::size_t"""
14677 return _IMP_core.FilterProvenance___hash__(self)
14681 """__str__(FilterProvenance self) -> std::string"""
14682 return _IMP_core.FilterProvenance___str__(self)
14685 def __repr__(self):
14686 """__repr__(FilterProvenance self) -> std::string"""
14687 return _IMP_core.FilterProvenance___repr__(self)
14689 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14690 __del__ =
lambda self:
None
14691 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14692 FilterProvenance_swigregister(FilterProvenance)
14694 def FilterProvenance_get_is_setup(*args):
14696 get_is_setup(Model m, ParticleIndex pi) -> bool
14697 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14699 return _IMP_core.FilterProvenance_get_is_setup(*args)
14701 def FilterProvenance_setup_particle(*args):
14703 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14704 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14705 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14706 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14708 return _IMP_core.FilterProvenance_setup_particle(*args)
14710 class ClusterProvenance(Provenance):
14711 """Proxy of C++ IMP::core::ClusterProvenance class."""
14713 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14715 def set_number_of_members(self, members):
14716 """set_number_of_members(ClusterProvenance self, int members)"""
14717 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14720 def get_number_of_members(self):
14721 """get_number_of_members(ClusterProvenance self) -> int"""
14722 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14725 def __init__(self, *args):
14727 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14728 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14729 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14731 this = _IMP_core.new_ClusterProvenance(*args)
14733 self.this.append(this)
14734 except __builtin__.Exception:
14737 def get_is_setup(*args):
14739 get_is_setup(Model m, ParticleIndex pi) -> bool
14740 get_is_setup(_ParticleAdaptor p) -> bool
14742 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14744 get_is_setup = staticmethod(get_is_setup)
14746 def show(self, *args):
14748 show(ClusterProvenance self, _ostream out)
14749 show(ClusterProvenance self)
14751 return _IMP_core.ClusterProvenance_show(self, *args)
14754 def setup_particle(*args):
14756 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14757 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14758 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14759 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14761 return _IMP_core.ClusterProvenance_setup_particle(*args)
14763 setup_particle = staticmethod(setup_particle)
14765 def add_attribute(self, *args):
14767 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
14768 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14769 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
14770 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
14771 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14772 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
14774 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
14777 def get_value(self, *args):
14779 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
14780 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
14781 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
14782 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
14783 get_value(ClusterProvenance self, ObjectKey a0) -> Object
14785 return _IMP_core.ClusterProvenance_get_value(self, *args)
14788 def set_value(self, *args):
14790 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14791 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
14792 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
14793 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14794 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
14796 return _IMP_core.ClusterProvenance_set_value(self, *args)
14799 def remove_attribute(self, *args):
14801 remove_attribute(ClusterProvenance self, FloatKey a0)
14802 remove_attribute(ClusterProvenance self, IntKey a0)
14803 remove_attribute(ClusterProvenance self, StringKey a0)
14804 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
14805 remove_attribute(ClusterProvenance self, ObjectKey a0)
14807 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
14810 def has_attribute(self, *args):
14812 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
14813 has_attribute(ClusterProvenance self, IntKey a0) -> bool
14814 has_attribute(ClusterProvenance self, StringKey a0) -> bool
14815 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
14816 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
14818 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
14821 def get_derivative(self, a0):
14822 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
14823 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
14826 def get_name(self):
14827 """get_name(ClusterProvenance self) -> std::string"""
14828 return _IMP_core.ClusterProvenance_get_name(self)
14831 def clear_caches(self):
14832 """clear_caches(ClusterProvenance self)"""
14833 return _IMP_core.ClusterProvenance_clear_caches(self)
14836 def set_name(self, a0):
14837 """set_name(ClusterProvenance self, std::string a0)"""
14838 return _IMP_core.ClusterProvenance_set_name(self, a0)
14842 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
14843 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
14846 def add_to_derivative(self, a0, a1, a2):
14847 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14848 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
14851 def set_is_optimized(self, a0, a1):
14852 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
14853 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
14856 def get_is_optimized(self, a0):
14857 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
14858 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
14862 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
14863 return _IMP_core.ClusterProvenance_get_check_level(self)
14866 def __eq__(self, *args):
14868 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
14869 __eq__(ClusterProvenance self, Particle d) -> bool
14871 return _IMP_core.ClusterProvenance___eq__(self, *args)
14874 def __ne__(self, *args):
14876 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
14877 __ne__(ClusterProvenance self, Particle d) -> bool
14879 return _IMP_core.ClusterProvenance___ne__(self, *args)
14882 def __le__(self, *args):
14884 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
14885 __le__(ClusterProvenance self, Particle d) -> bool
14887 return _IMP_core.ClusterProvenance___le__(self, *args)
14890 def __lt__(self, *args):
14892 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
14893 __lt__(ClusterProvenance self, Particle d) -> bool
14895 return _IMP_core.ClusterProvenance___lt__(self, *args)
14898 def __ge__(self, *args):
14900 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
14901 __ge__(ClusterProvenance self, Particle d) -> bool
14903 return _IMP_core.ClusterProvenance___ge__(self, *args)
14906 def __gt__(self, *args):
14908 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
14909 __gt__(ClusterProvenance self, Particle d) -> bool
14911 return _IMP_core.ClusterProvenance___gt__(self, *args)
14914 def __hash__(self):
14915 """__hash__(ClusterProvenance self) -> std::size_t"""
14916 return _IMP_core.ClusterProvenance___hash__(self)
14920 """__str__(ClusterProvenance self) -> std::string"""
14921 return _IMP_core.ClusterProvenance___str__(self)
14924 def __repr__(self):
14925 """__repr__(ClusterProvenance self) -> std::string"""
14926 return _IMP_core.ClusterProvenance___repr__(self)
14928 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
14929 __del__ =
lambda self:
None
14930 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
14931 ClusterProvenance_swigregister(ClusterProvenance)
14933 def ClusterProvenance_get_is_setup(*args):
14935 get_is_setup(Model m, ParticleIndex pi) -> bool
14936 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14938 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14940 def ClusterProvenance_setup_particle(*args):
14942 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14943 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14944 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14945 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14947 return _IMP_core.ClusterProvenance_setup_particle(*args)
14949 class ScriptProvenance(Provenance):
14950 """Proxy of C++ IMP::core::ScriptProvenance class."""
14952 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14954 def set_filename(self, filename):
14955 """set_filename(ScriptProvenance self, std::string filename)"""
14956 return _IMP_core.ScriptProvenance_set_filename(self, filename)
14959 def get_filename(self):
14960 """get_filename(ScriptProvenance self) -> std::string"""
14961 return _IMP_core.ScriptProvenance_get_filename(self)
14964 def __init__(self, *args):
14966 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
14967 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
14968 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
14970 this = _IMP_core.new_ScriptProvenance(*args)
14972 self.this.append(this)
14973 except __builtin__.Exception:
14976 def get_is_setup(*args):
14978 get_is_setup(Model m, ParticleIndex pi) -> bool
14979 get_is_setup(_ParticleAdaptor p) -> bool
14981 return _IMP_core.ScriptProvenance_get_is_setup(*args)
14983 get_is_setup = staticmethod(get_is_setup)
14985 def show(self, *args):
14987 show(ScriptProvenance self, _ostream out)
14988 show(ScriptProvenance self)
14990 return _IMP_core.ScriptProvenance_show(self, *args)
14993 def setup_particle(*args):
14995 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
14996 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
14997 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
14998 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15000 return _IMP_core.ScriptProvenance_setup_particle(*args)
15002 setup_particle = staticmethod(setup_particle)
15004 def add_attribute(self, *args):
15006 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15007 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15008 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15009 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15010 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15011 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15013 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15016 def get_value(self, *args):
15018 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15019 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15020 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15021 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15022 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15024 return _IMP_core.ScriptProvenance_get_value(self, *args)
15027 def set_value(self, *args):
15029 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15030 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15031 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15032 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15033 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15035 return _IMP_core.ScriptProvenance_set_value(self, *args)
15038 def remove_attribute(self, *args):
15040 remove_attribute(ScriptProvenance self, FloatKey a0)
15041 remove_attribute(ScriptProvenance self, IntKey a0)
15042 remove_attribute(ScriptProvenance self, StringKey a0)
15043 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15044 remove_attribute(ScriptProvenance self, ObjectKey a0)
15046 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15049 def has_attribute(self, *args):
15051 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15052 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15053 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15054 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15055 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15057 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15060 def get_derivative(self, a0):
15061 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15062 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15065 def get_name(self):
15066 """get_name(ScriptProvenance self) -> std::string"""
15067 return _IMP_core.ScriptProvenance_get_name(self)
15070 def clear_caches(self):
15071 """clear_caches(ScriptProvenance self)"""
15072 return _IMP_core.ScriptProvenance_clear_caches(self)
15075 def set_name(self, a0):
15076 """set_name(ScriptProvenance self, std::string a0)"""
15077 return _IMP_core.ScriptProvenance_set_name(self, a0)
15081 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15082 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15085 def add_to_derivative(self, a0, a1, a2):
15086 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15087 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15090 def set_is_optimized(self, a0, a1):
15091 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15092 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15095 def get_is_optimized(self, a0):
15096 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15097 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15101 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15102 return _IMP_core.ScriptProvenance_get_check_level(self)
15105 def __eq__(self, *args):
15107 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15108 __eq__(ScriptProvenance self, Particle d) -> bool
15110 return _IMP_core.ScriptProvenance___eq__(self, *args)
15113 def __ne__(self, *args):
15115 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15116 __ne__(ScriptProvenance self, Particle d) -> bool
15118 return _IMP_core.ScriptProvenance___ne__(self, *args)
15121 def __le__(self, *args):
15123 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15124 __le__(ScriptProvenance self, Particle d) -> bool
15126 return _IMP_core.ScriptProvenance___le__(self, *args)
15129 def __lt__(self, *args):
15131 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15132 __lt__(ScriptProvenance self, Particle d) -> bool
15134 return _IMP_core.ScriptProvenance___lt__(self, *args)
15137 def __ge__(self, *args):
15139 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15140 __ge__(ScriptProvenance self, Particle d) -> bool
15142 return _IMP_core.ScriptProvenance___ge__(self, *args)
15145 def __gt__(self, *args):
15147 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15148 __gt__(ScriptProvenance self, Particle d) -> bool
15150 return _IMP_core.ScriptProvenance___gt__(self, *args)
15153 def __hash__(self):
15154 """__hash__(ScriptProvenance self) -> std::size_t"""
15155 return _IMP_core.ScriptProvenance___hash__(self)
15159 """__str__(ScriptProvenance self) -> std::string"""
15160 return _IMP_core.ScriptProvenance___str__(self)
15163 def __repr__(self):
15164 """__repr__(ScriptProvenance self) -> std::string"""
15165 return _IMP_core.ScriptProvenance___repr__(self)
15167 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15168 __del__ =
lambda self:
None
15169 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15170 ScriptProvenance_swigregister(ScriptProvenance)
15172 def ScriptProvenance_get_is_setup(*args):
15174 get_is_setup(Model m, ParticleIndex pi) -> bool
15175 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15177 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15179 def ScriptProvenance_setup_particle(*args):
15181 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15182 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15183 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15184 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15186 return _IMP_core.ScriptProvenance_setup_particle(*args)
15188 class SoftwareProvenance(Provenance):
15189 """Proxy of C++ IMP::core::SoftwareProvenance class."""
15191 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15193 def set_software_name(self, name):
15194 """set_software_name(SoftwareProvenance self, std::string name)"""
15195 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15198 def get_software_name(self):
15199 """get_software_name(SoftwareProvenance self) -> std::string"""
15200 return _IMP_core.SoftwareProvenance_get_software_name(self)
15203 def set_version(self, version):
15204 """set_version(SoftwareProvenance self, std::string version)"""
15205 return _IMP_core.SoftwareProvenance_set_version(self, version)
15208 def get_version(self):
15209 """get_version(SoftwareProvenance self) -> std::string"""
15210 return _IMP_core.SoftwareProvenance_get_version(self)
15213 def set_location(self, location):
15214 """set_location(SoftwareProvenance self, std::string location)"""
15215 return _IMP_core.SoftwareProvenance_set_location(self, location)
15218 def get_location(self):
15219 """get_location(SoftwareProvenance self) -> std::string"""
15220 return _IMP_core.SoftwareProvenance_get_location(self)
15223 def __init__(self, *args):
15225 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15226 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15227 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15229 this = _IMP_core.new_SoftwareProvenance(*args)
15231 self.this.append(this)
15232 except __builtin__.Exception:
15235 def get_is_setup(*args):
15237 get_is_setup(Model m, ParticleIndex pi) -> bool
15238 get_is_setup(_ParticleAdaptor p) -> bool
15240 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15242 get_is_setup = staticmethod(get_is_setup)
15244 def show(self, *args):
15246 show(SoftwareProvenance self, _ostream out)
15247 show(SoftwareProvenance self)
15249 return _IMP_core.SoftwareProvenance_show(self, *args)
15252 def setup_particle(*args):
15254 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15255 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15256 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15257 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15259 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15261 setup_particle = staticmethod(setup_particle)
15263 def add_attribute(self, *args):
15265 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15266 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15267 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15268 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15269 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15270 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15272 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15275 def get_value(self, *args):
15277 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15278 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15279 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15280 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15281 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15283 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15286 def set_value(self, *args):
15288 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15289 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15290 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15291 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15292 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15294 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15297 def remove_attribute(self, *args):
15299 remove_attribute(SoftwareProvenance self, FloatKey a0)
15300 remove_attribute(SoftwareProvenance self, IntKey a0)
15301 remove_attribute(SoftwareProvenance self, StringKey a0)
15302 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15303 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15305 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15308 def has_attribute(self, *args):
15310 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15311 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15312 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15313 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15314 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15316 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15319 def get_derivative(self, a0):
15320 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15321 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15324 def get_name(self):
15325 """get_name(SoftwareProvenance self) -> std::string"""
15326 return _IMP_core.SoftwareProvenance_get_name(self)
15329 def clear_caches(self):
15330 """clear_caches(SoftwareProvenance self)"""
15331 return _IMP_core.SoftwareProvenance_clear_caches(self)
15334 def set_name(self, a0):
15335 """set_name(SoftwareProvenance self, std::string a0)"""
15336 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15340 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15341 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15344 def add_to_derivative(self, a0, a1, a2):
15345 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15346 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15349 def set_is_optimized(self, a0, a1):
15350 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15351 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15354 def get_is_optimized(self, a0):
15355 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15356 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15360 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15361 return _IMP_core.SoftwareProvenance_get_check_level(self)
15364 def __eq__(self, *args):
15366 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15367 __eq__(SoftwareProvenance self, Particle d) -> bool
15369 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15372 def __ne__(self, *args):
15374 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15375 __ne__(SoftwareProvenance self, Particle d) -> bool
15377 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15380 def __le__(self, *args):
15382 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15383 __le__(SoftwareProvenance self, Particle d) -> bool
15385 return _IMP_core.SoftwareProvenance___le__(self, *args)
15388 def __lt__(self, *args):
15390 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15391 __lt__(SoftwareProvenance self, Particle d) -> bool
15393 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15396 def __ge__(self, *args):
15398 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15399 __ge__(SoftwareProvenance self, Particle d) -> bool
15401 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15404 def __gt__(self, *args):
15406 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15407 __gt__(SoftwareProvenance self, Particle d) -> bool
15409 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15412 def __hash__(self):
15413 """__hash__(SoftwareProvenance self) -> std::size_t"""
15414 return _IMP_core.SoftwareProvenance___hash__(self)
15418 """__str__(SoftwareProvenance self) -> std::string"""
15419 return _IMP_core.SoftwareProvenance___str__(self)
15422 def __repr__(self):
15423 """__repr__(SoftwareProvenance self) -> std::string"""
15424 return _IMP_core.SoftwareProvenance___repr__(self)
15426 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15427 __del__ =
lambda self:
None
15428 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15429 SoftwareProvenance_swigregister(SoftwareProvenance)
15431 def SoftwareProvenance_get_is_setup(*args):
15433 get_is_setup(Model m, ParticleIndex pi) -> bool
15434 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15436 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15438 def SoftwareProvenance_setup_particle(*args):
15440 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15441 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15442 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15443 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15445 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15448 """Proxy of C++ IMP::core::Provenanced class."""
15450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15452 def get_provenance(self):
15453 """get_provenance(Provenanced self) -> Provenance"""
15454 return _IMP_core.Provenanced_get_provenance(self)
15457 def set_provenance(self, p):
15458 """set_provenance(Provenanced self, Provenance p)"""
15459 return _IMP_core.Provenanced_set_provenance(self, p)
15462 def __init__(self, *args):
15464 __init__(IMP::core::Provenanced self) -> Provenanced
15465 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15466 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15468 this = _IMP_core.new_Provenanced(*args)
15470 self.this.append(this)
15471 except __builtin__.Exception:
15474 def get_is_setup(*args):
15476 get_is_setup(Model m, ParticleIndex pi) -> bool
15477 get_is_setup(_ParticleAdaptor p) -> bool
15479 return _IMP_core.Provenanced_get_is_setup(*args)
15481 get_is_setup = staticmethod(get_is_setup)
15483 def show(self, *args):
15485 show(Provenanced self, _ostream out)
15486 show(Provenanced self)
15488 return _IMP_core.Provenanced_show(self, *args)
15491 def setup_particle(*args):
15493 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15494 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15496 return _IMP_core.Provenanced_setup_particle(*args)
15498 setup_particle = staticmethod(setup_particle)
15500 def add_attribute(self, *args):
15502 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15503 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15504 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15505 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15506 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15507 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15509 return _IMP_core.Provenanced_add_attribute(self, *args)
15512 def get_value(self, *args):
15514 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15515 get_value(Provenanced self, IntKey a0) -> IMP::Int
15516 get_value(Provenanced self, StringKey a0) -> IMP::String
15517 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15518 get_value(Provenanced self, ObjectKey a0) -> Object
15520 return _IMP_core.Provenanced_get_value(self, *args)
15523 def set_value(self, *args):
15525 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15526 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15527 set_value(Provenanced self, StringKey a0, IMP::String a1)
15528 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15529 set_value(Provenanced self, ObjectKey a0, Object a1)
15531 return _IMP_core.Provenanced_set_value(self, *args)
15534 def remove_attribute(self, *args):
15536 remove_attribute(Provenanced self, FloatKey a0)
15537 remove_attribute(Provenanced self, IntKey a0)
15538 remove_attribute(Provenanced self, StringKey a0)
15539 remove_attribute(Provenanced self, ParticleIndexKey a0)
15540 remove_attribute(Provenanced self, ObjectKey a0)
15542 return _IMP_core.Provenanced_remove_attribute(self, *args)
15545 def has_attribute(self, *args):
15547 has_attribute(Provenanced self, FloatKey a0) -> bool
15548 has_attribute(Provenanced self, IntKey a0) -> bool
15549 has_attribute(Provenanced self, StringKey a0) -> bool
15550 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15551 has_attribute(Provenanced self, ObjectKey a0) -> bool
15553 return _IMP_core.Provenanced_has_attribute(self, *args)
15556 def get_derivative(self, a0):
15557 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15558 return _IMP_core.Provenanced_get_derivative(self, a0)
15561 def get_name(self):
15562 """get_name(Provenanced self) -> std::string"""
15563 return _IMP_core.Provenanced_get_name(self)
15566 def clear_caches(self):
15567 """clear_caches(Provenanced self)"""
15568 return _IMP_core.Provenanced_clear_caches(self)
15571 def set_name(self, a0):
15572 """set_name(Provenanced self, std::string a0)"""
15573 return _IMP_core.Provenanced_set_name(self, a0)
15577 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15578 return _IMP_core.Provenanced_set_check_level(self, a0)
15581 def add_to_derivative(self, a0, a1, a2):
15582 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15583 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15586 def set_is_optimized(self, a0, a1):
15587 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15588 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15591 def get_is_optimized(self, a0):
15592 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15593 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15597 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15598 return _IMP_core.Provenanced_get_check_level(self)
15601 def __eq__(self, *args):
15603 __eq__(Provenanced self, Provenanced o) -> bool
15604 __eq__(Provenanced self, Particle d) -> bool
15606 return _IMP_core.Provenanced___eq__(self, *args)
15609 def __ne__(self, *args):
15611 __ne__(Provenanced self, Provenanced o) -> bool
15612 __ne__(Provenanced self, Particle d) -> bool
15614 return _IMP_core.Provenanced___ne__(self, *args)
15617 def __le__(self, *args):
15619 __le__(Provenanced self, Provenanced o) -> bool
15620 __le__(Provenanced self, Particle d) -> bool
15622 return _IMP_core.Provenanced___le__(self, *args)
15625 def __lt__(self, *args):
15627 __lt__(Provenanced self, Provenanced o) -> bool
15628 __lt__(Provenanced self, Particle d) -> bool
15630 return _IMP_core.Provenanced___lt__(self, *args)
15633 def __ge__(self, *args):
15635 __ge__(Provenanced self, Provenanced o) -> bool
15636 __ge__(Provenanced self, Particle d) -> bool
15638 return _IMP_core.Provenanced___ge__(self, *args)
15641 def __gt__(self, *args):
15643 __gt__(Provenanced self, Provenanced o) -> bool
15644 __gt__(Provenanced self, Particle d) -> bool
15646 return _IMP_core.Provenanced___gt__(self, *args)
15649 def __hash__(self):
15650 """__hash__(Provenanced self) -> std::size_t"""
15651 return _IMP_core.Provenanced___hash__(self)
15655 """__str__(Provenanced self) -> std::string"""
15656 return _IMP_core.Provenanced___str__(self)
15659 def __repr__(self):
15660 """__repr__(Provenanced self) -> std::string"""
15661 return _IMP_core.Provenanced___repr__(self)
15663 __swig_destroy__ = _IMP_core.delete_Provenanced
15664 __del__ =
lambda self:
None
15665 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15666 Provenanced_swigregister(Provenanced)
15668 def Provenanced_get_is_setup(*args):
15670 get_is_setup(Model m, ParticleIndex pi) -> bool
15671 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15673 return _IMP_core.Provenanced_get_is_setup(*args)
15675 def Provenanced_setup_particle(*args):
15677 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15678 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15680 return _IMP_core.Provenanced_setup_particle(*args)
15684 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15685 return _IMP_core.add_provenance(m, pi, p)
15688 """create_clone(Provenance p) -> Provenance"""
15689 return _IMP_core.create_clone(p)
15693 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15694 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15695 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15697 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15700 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15701 return _IMP_core.create_restraint(ps, pp)
15703 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
15705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15707 def __init__(self, *args):
15709 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15710 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
15712 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
15714 self.this.append(this)
15715 except __builtin__.Exception:
15718 def get_version_info(self):
15719 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
15720 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
15724 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
15725 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
15728 def __repr__(self):
15729 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
15730 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
15735 return _object_cast_to_TruncatedHarmonic(o)
15737 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
15738 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
15741 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
15743 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15745 def __init__(self, *args):
15747 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
15748 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
15750 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
15752 self.this.append(this)
15753 except __builtin__.Exception:
15756 def get_version_info(self):
15757 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
15758 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
15762 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
15763 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
15766 def __repr__(self):
15767 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
15768 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
15773 return _object_cast_to_TruncatedHarmonic(o)
15775 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
15776 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
15779 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
15781 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15783 def __init__(self, *args):
15785 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
15786 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
15788 this = _IMP_core.new_TruncatedHarmonicBound(*args)
15790 self.this.append(this)
15791 except __builtin__.Exception:
15794 def get_version_info(self):
15795 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
15796 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
15800 """__str__(TruncatedHarmonicBound self) -> std::string"""
15801 return _IMP_core.TruncatedHarmonicBound___str__(self)
15804 def __repr__(self):
15805 """__repr__(TruncatedHarmonicBound self) -> std::string"""
15806 return _IMP_core.TruncatedHarmonicBound___repr__(self)
15811 return _object_cast_to_TruncatedHarmonic(o)
15813 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
15814 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
15817 """Proxy of C++ IMP::Key<(34897493)> class."""
15819 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15821 def __init__(self, *args):
15823 __init__(IMP::Key<(34897493)> self) -> ParticleType
15824 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
15825 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
15826 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
15828 this = _IMP_core.new_ParticleType(*args)
15830 self.this.append(this)
15831 except __builtin__.Exception:
15835 """add_key(std::string sc) -> unsigned int"""
15836 return _IMP_core.ParticleType_add_key(sc)
15838 add_key = staticmethod(add_key)
15840 def get_key_exists(sc):
15841 """get_key_exists(std::string sc) -> bool"""
15842 return _IMP_core.ParticleType_get_key_exists(sc)
15844 get_key_exists = staticmethod(get_key_exists)
15846 def get_string(self):
15847 """get_string(ParticleType self) -> std::string const"""
15848 return _IMP_core.ParticleType_get_string(self)
15851 def __cmp__(self, o):
15852 """__cmp__(ParticleType self, ParticleType o) -> int"""
15853 return _IMP_core.ParticleType___cmp__(self, o)
15856 def __eq__(self, o):
15857 """__eq__(ParticleType self, ParticleType o) -> bool"""
15858 return _IMP_core.ParticleType___eq__(self, o)
15861 def __ne__(self, o):
15862 """__ne__(ParticleType self, ParticleType o) -> bool"""
15863 return _IMP_core.ParticleType___ne__(self, o)
15866 def __lt__(self, o):
15867 """__lt__(ParticleType self, ParticleType o) -> bool"""
15868 return _IMP_core.ParticleType___lt__(self, o)
15871 def __gt__(self, o):
15872 """__gt__(ParticleType self, ParticleType o) -> bool"""
15873 return _IMP_core.ParticleType___gt__(self, o)
15876 def __ge__(self, o):
15877 """__ge__(ParticleType self, ParticleType o) -> bool"""
15878 return _IMP_core.ParticleType___ge__(self, o)
15881 def __le__(self, o):
15882 """__le__(ParticleType self, ParticleType o) -> bool"""
15883 return _IMP_core.ParticleType___le__(self, o)
15886 def __hash__(self):
15887 """__hash__(ParticleType self) -> std::size_t"""
15888 return _IMP_core.ParticleType___hash__(self)
15891 def show(self, *args):
15893 show(ParticleType self, _ostream out)
15894 show(ParticleType self)
15896 return _IMP_core.ParticleType_show(self, *args)
15899 def add_alias(old_key, new_name):
15900 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15901 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15903 add_alias = staticmethod(add_alias)
15905 def get_number_of_keys():
15906 """get_number_of_keys() -> unsigned int"""
15907 return _IMP_core.ParticleType_get_number_of_keys()
15909 get_number_of_keys = staticmethod(get_number_of_keys)
15912 """get_index(ParticleType self) -> unsigned int"""
15913 return _IMP_core.ParticleType_get_index(self)
15917 """show_all(_ostream out)"""
15918 return _IMP_core.ParticleType_show_all(out)
15920 show_all = staticmethod(show_all)
15922 def get_all_strings():
15923 """get_all_strings() -> IMP::Vector< std::string >"""
15924 return _IMP_core.ParticleType_get_all_strings()
15926 get_all_strings = staticmethod(get_all_strings)
15928 def get_number_unique():
15929 """get_number_unique() -> unsigned int"""
15930 return _IMP_core.ParticleType_get_number_unique()
15932 get_number_unique = staticmethod(get_number_unique)
15935 """__str__(ParticleType self) -> std::string"""
15936 return _IMP_core.ParticleType___str__(self)
15939 def __repr__(self):
15940 """__repr__(ParticleType self) -> std::string"""
15941 return _IMP_core.ParticleType___repr__(self)
15943 __swig_destroy__ = _IMP_core.delete_ParticleType
15944 __del__ =
lambda self:
None
15945 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
15946 ParticleType_swigregister(ParticleType)
15948 def ParticleType_add_key(sc):
15949 """ParticleType_add_key(std::string sc) -> unsigned int"""
15950 return _IMP_core.ParticleType_add_key(sc)
15952 def ParticleType_get_key_exists(sc):
15953 """ParticleType_get_key_exists(std::string sc) -> bool"""
15954 return _IMP_core.ParticleType_get_key_exists(sc)
15956 def ParticleType_add_alias(old_key, new_name):
15957 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15958 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15960 def ParticleType_get_number_of_keys():
15961 """ParticleType_get_number_of_keys() -> unsigned int"""
15962 return _IMP_core.ParticleType_get_number_of_keys()
15964 def ParticleType_show_all(out):
15965 """ParticleType_show_all(_ostream out)"""
15966 return _IMP_core.ParticleType_show_all(out)
15968 def ParticleType_get_all_strings():
15969 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
15970 return _IMP_core.ParticleType_get_all_strings()
15972 def ParticleType_get_number_unique():
15973 """ParticleType_get_number_unique() -> unsigned int"""
15974 return _IMP_core.ParticleType_get_number_unique()
15977 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
15979 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15980 __repr__ = _swig_repr
15982 def __init__(self, f, k):
15983 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
15984 this = _IMP_core.new_AttributeSingletonScore(f, k)
15986 self.this.append(this)
15987 except __builtin__.Exception:
15990 def do_get_inputs(self, m, pis):
15991 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15992 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
15995 def get_unary_function(self):
15996 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
15997 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16000 def get_version_info(self):
16001 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16002 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16004 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16005 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16009 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16010 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16012 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
16014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16015 __repr__ = _swig_repr
16017 def __init__(self, f, bb):
16018 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16019 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16021 self.this.append(this)
16022 except __builtin__.Exception:
16025 def do_get_inputs(self, m, pis):
16026 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16027 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16030 def get_version_info(self):
16031 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16032 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16034 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16035 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16038 def create_bounding_box_3d_singleton_score(f, bb):
16039 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16040 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16042 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class."""
16044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16045 __repr__ = _swig_repr
16047 def __init__(self, f, sphere):
16048 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16049 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16051 self.this.append(this)
16052 except __builtin__.Exception:
16055 def do_get_inputs(self, m, pis):
16056 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16057 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16060 def get_version_info(self):
16061 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16062 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16064 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16065 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16068 def create_bounding_sphere_3d_singleton_score(f, sphere):
16069 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16070 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16072 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
16074 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16075 __repr__ = _swig_repr
16077 def __init__(self, f, pt):
16078 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16079 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16081 self.this.append(this)
16082 except __builtin__.Exception:
16085 def do_get_inputs(self, m, pis):
16086 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16087 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16090 def get_version_info(self):
16091 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16092 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16094 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16095 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16098 def create_distance_to_singleton_score(f, pt):
16099 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16100 return _IMP_core.create_distance_to_singleton_score(f, pt)
16104 CombineProvenance, FilterProvenance,
16105 ClusterProvenance, ScriptProvenance,
16106 SoftwareProvenance]):
16107 """Yield all provenance decorators of the given types for the particle.
16108 By default, all provenance types are returned. Provenance is returned
16109 in order, most recent first. If the particle has no provenance
16110 information, an empty generator is returned."""
16111 if Provenanced.get_is_setup(p):
16115 if c.get_is_setup(prov):
16117 prov = prov.get_previous()
16120 """Tag the given particle with the current Python script.
16121 This is a noop if the particle is already so tagged."""
16122 main = sys.modules[
'__main__']
16124 if not hasattr(main,
'__file__'):
16128 if prov.get_filename() == f:
16132 provp.set_name(
'script')
16133 prov = ScriptProvenance.setup_particle(provp, f)
16137 """Tag the given particle with the software used to create it.
16138 This is a noop if the particle is already so tagged."""
16140 if prov.get_software_name() == name
and prov.get_version() == version \
16141 and prov.get_location() == location:
16145 provp.set_name(
'software')
16146 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16150 """Tag the given particle as being created by the current version of IMP."""
16153 location=
"https://integrativemodeling.org")
16156 def get_module_version():
16157 """get_module_version() -> std::string const"""
16158 return _IMP_core.get_module_version()
16161 """get_example_path(std::string fname) -> std::string"""
16162 return _IMP_core.get_example_path(fname)
16165 """get_data_path(std::string fname) -> std::string"""
16166 return _IMP_core.get_data_path(fname)
16168 from .
import _version_check
16169 _version_check.check_version(get_module_version())
16170 __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.