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_rotation_keys():
7880 """get_rotation_keys() -> IMP::FloatKeys"""
7881 return _IMP_core.RigidBody_get_rotation_keys()
7883 get_rotation_keys = staticmethod(get_rotation_keys)
7885 def get_member_particle_indexes(self):
7886 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7887 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7890 def get_body_member_particle_indexes(self):
7891 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7892 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7895 def get_member_indexes(self):
7896 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7897 return _IMP_core.RigidBody_get_member_indexes(self)
7900 def __init__(self, *args):
7902 __init__(IMP::core::RigidBody self) -> RigidBody
7903 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7904 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7906 this = _IMP_core.new_RigidBody(*args)
7908 self.this.append(this)
7909 except __builtin__.Exception:
7912 def show(self, *args):
7914 show(RigidBody self, _ostream out)
7915 show(RigidBody self)
7917 return _IMP_core.RigidBody_show(self, *args)
7920 def setup_particle(*args):
7922 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7923 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7924 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7925 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7927 return _IMP_core.RigidBody_setup_particle(*args)
7929 setup_particle = staticmethod(setup_particle)
7931 def teardown_particle(rb):
7932 """teardown_particle(RigidBody rb)"""
7933 return _IMP_core.RigidBody_teardown_particle(rb)
7935 teardown_particle = staticmethod(teardown_particle)
7936 __swig_destroy__ = _IMP_core.delete_RigidBody
7937 __del__ =
lambda self:
None
7939 def get_is_setup(*args):
7941 get_is_setup(_ParticleAdaptor p) -> bool
7942 get_is_setup(Model m, ParticleIndex pi) -> bool
7944 return _IMP_core.RigidBody_get_is_setup(*args)
7946 get_is_setup = staticmethod(get_is_setup)
7948 def get_coordinates(self):
7949 """get_coordinates(RigidBody self) -> Vector3D"""
7950 return _IMP_core.RigidBody_get_coordinates(self)
7953 def get_rotation(self):
7954 """get_rotation(RigidBody self) -> Rotation3D"""
7955 return _IMP_core.RigidBody_get_rotation(self)
7958 def get_reference_frame(self):
7959 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7960 return _IMP_core.RigidBody_get_reference_frame(self)
7963 def set_reference_frame(self, tr):
7964 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7965 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7968 def set_reference_frame_lazy(self, tr):
7969 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7970 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7973 def set_reference_frame_from_members(self, members):
7974 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7975 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7978 def pull_back_members_adjoints(self, da):
7979 """pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
7980 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
7983 def pull_back_member_adjoints(self, pi, da):
7984 """pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
7985 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
7988 def pull_back_body_member_adjoints(self, pi, da):
7989 """pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
7990 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
7993 def add_to_derivatives(self, *args):
7995 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7996 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7998 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
8001 def add_to_rotational_derivatives(self, *args):
8003 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8004 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
8006 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
8009 def add_to_torque(self, torque_local, da):
8010 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
8011 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
8014 def get_torque(self):
8015 """get_torque(RigidBody self) -> Vector3D"""
8016 return _IMP_core.RigidBody_get_torque(self)
8019 def get_coordinates_are_optimized(self):
8020 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8021 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8024 def set_coordinates_are_optimized(self, tf):
8025 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8026 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8029 def normalize_rotation(self):
8030 """normalize_rotation(RigidBody self)"""
8031 return _IMP_core.RigidBody_normalize_rotation(self)
8034 def update_members(self):
8035 """update_members(RigidBody self)"""
8036 return _IMP_core.RigidBody_update_members(self)
8039 def get_rotational_derivatives(self):
8040 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8041 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8044 def get_number_of_members(self):
8045 """get_number_of_members(RigidBody self) -> unsigned int"""
8046 return _IMP_core.RigidBody_get_number_of_members(self)
8049 def get_member(self, i):
8050 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8051 return _IMP_core.RigidBody_get_member(self, i)
8054 def add_member(self, p):
8055 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8056 return _IMP_core.RigidBody_add_member(self, p)
8059 def add_non_rigid_member(self, p):
8060 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8061 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8064 def set_is_rigid_member(self, pi, tf):
8065 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8066 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8069 def add_attribute(self, *args):
8071 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8072 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8073 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8074 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8075 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8076 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8078 return _IMP_core.RigidBody_add_attribute(self, *args)
8081 def get_value(self, *args):
8083 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8084 get_value(RigidBody self, IntKey a0) -> IMP::Int
8085 get_value(RigidBody self, StringKey a0) -> IMP::String
8086 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8087 get_value(RigidBody self, ObjectKey a0) -> Object
8089 return _IMP_core.RigidBody_get_value(self, *args)
8092 def set_value(self, *args):
8094 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8095 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8096 set_value(RigidBody self, StringKey a0, IMP::String a1)
8097 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8098 set_value(RigidBody self, ObjectKey a0, Object a1)
8100 return _IMP_core.RigidBody_set_value(self, *args)
8103 def remove_attribute(self, *args):
8105 remove_attribute(RigidBody self, FloatKey a0)
8106 remove_attribute(RigidBody self, IntKey a0)
8107 remove_attribute(RigidBody self, StringKey a0)
8108 remove_attribute(RigidBody self, ParticleIndexKey a0)
8109 remove_attribute(RigidBody self, ObjectKey a0)
8111 return _IMP_core.RigidBody_remove_attribute(self, *args)
8114 def has_attribute(self, *args):
8116 has_attribute(RigidBody self, FloatKey a0) -> bool
8117 has_attribute(RigidBody self, IntKey a0) -> bool
8118 has_attribute(RigidBody self, StringKey a0) -> bool
8119 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8120 has_attribute(RigidBody self, ObjectKey a0) -> bool
8122 return _IMP_core.RigidBody_has_attribute(self, *args)
8125 def get_derivative(self, a0):
8126 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8127 return _IMP_core.RigidBody_get_derivative(self, a0)
8131 """get_name(RigidBody self) -> std::string"""
8132 return _IMP_core.RigidBody_get_name(self)
8135 def clear_caches(self):
8136 """clear_caches(RigidBody self)"""
8137 return _IMP_core.RigidBody_clear_caches(self)
8140 def set_name(self, a0):
8141 """set_name(RigidBody self, std::string a0)"""
8142 return _IMP_core.RigidBody_set_name(self, a0)
8146 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8147 return _IMP_core.RigidBody_set_check_level(self, a0)
8150 def add_to_derivative(self, a0, a1, a2):
8151 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8152 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8155 def set_is_optimized(self, a0, a1):
8156 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8157 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8160 def get_is_optimized(self, a0):
8161 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8162 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8166 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8167 return _IMP_core.RigidBody_get_check_level(self)
8170 def __eq__(self, *args):
8172 __eq__(RigidBody self, RigidBody o) -> bool
8173 __eq__(RigidBody self, Particle d) -> bool
8175 return _IMP_core.RigidBody___eq__(self, *args)
8178 def __ne__(self, *args):
8180 __ne__(RigidBody self, RigidBody o) -> bool
8181 __ne__(RigidBody self, Particle d) -> bool
8183 return _IMP_core.RigidBody___ne__(self, *args)
8186 def __le__(self, *args):
8188 __le__(RigidBody self, RigidBody o) -> bool
8189 __le__(RigidBody self, Particle d) -> bool
8191 return _IMP_core.RigidBody___le__(self, *args)
8194 def __lt__(self, *args):
8196 __lt__(RigidBody self, RigidBody o) -> bool
8197 __lt__(RigidBody self, Particle d) -> bool
8199 return _IMP_core.RigidBody___lt__(self, *args)
8202 def __ge__(self, *args):
8204 __ge__(RigidBody self, RigidBody o) -> bool
8205 __ge__(RigidBody self, Particle d) -> bool
8207 return _IMP_core.RigidBody___ge__(self, *args)
8210 def __gt__(self, *args):
8212 __gt__(RigidBody self, RigidBody o) -> bool
8213 __gt__(RigidBody self, Particle d) -> bool
8215 return _IMP_core.RigidBody___gt__(self, *args)
8219 """__hash__(RigidBody self) -> std::size_t"""
8220 return _IMP_core.RigidBody___hash__(self)
8224 """__str__(RigidBody self) -> std::string"""
8225 return _IMP_core.RigidBody___str__(self)
8229 """__repr__(RigidBody self) -> std::string"""
8230 return _IMP_core.RigidBody___repr__(self)
8232 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8233 RigidBody_swigregister(RigidBody)
8235 def RigidBody_get_rotation_keys():
8236 """RigidBody_get_rotation_keys() -> IMP::FloatKeys"""
8237 return _IMP_core.RigidBody_get_rotation_keys()
8239 def RigidBody_setup_particle(*args):
8241 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8242 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8243 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8244 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8246 return _IMP_core.RigidBody_setup_particle(*args)
8248 def RigidBody_teardown_particle(rb):
8249 """RigidBody_teardown_particle(RigidBody rb)"""
8250 return _IMP_core.RigidBody_teardown_particle(rb)
8252 def RigidBody_get_is_setup(*args):
8254 get_is_setup(_ParticleAdaptor p) -> bool
8255 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8257 return _IMP_core.RigidBody_get_is_setup(*args)
8261 """add_rigid_body_cache_key(ObjectKey k)"""
8262 return _IMP_core.add_rigid_body_cache_key(k)
8263 class RigidBodyMember(XYZ):
8264 """Proxy of C++ IMP::core::RigidBodyMember class."""
8266 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8268 def __init__(self, *args):
8270 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8271 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8272 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8274 this = _IMP_core.new_RigidBodyMember(*args)
8276 self.this.append(this)
8277 except __builtin__.Exception:
8280 def show(self, *args):
8282 show(RigidBodyMember self, _ostream out)
8283 show(RigidBodyMember self)
8285 return _IMP_core.RigidBodyMember_show(self, *args)
8288 def get_rigid_body(self):
8289 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8290 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8293 def get_internal_coordinates(self):
8294 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8295 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8298 def set_internal_coordinates(self, v):
8299 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8300 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8303 def set_internal_transformation(self, v):
8304 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8305 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8308 def get_internal_transformation(self):
8309 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8310 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8312 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8313 __del__ =
lambda self:
None
8315 def set_coordinates(self, *args):
8317 set_coordinates(RigidBodyMember self, Vector3D center)
8318 set_coordinates(RigidBodyMember self, Transformation3D tr)
8320 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8323 def get_is_setup(*args):
8325 get_is_setup(_ParticleAdaptor p) -> bool
8326 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8328 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8330 get_is_setup = staticmethod(get_is_setup)
8332 def get_internal_coordinate_keys():
8333 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8334 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8336 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8338 def get_internal_rotation_keys():
8339 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8340 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8342 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8344 def add_attribute(self, *args):
8346 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8347 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8348 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8349 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8350 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8351 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8353 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8356 def get_value(self, *args):
8358 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8359 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8360 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8361 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8362 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8364 return _IMP_core.RigidBodyMember_get_value(self, *args)
8367 def set_value(self, *args):
8369 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8370 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8371 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8372 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8373 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8375 return _IMP_core.RigidBodyMember_set_value(self, *args)
8378 def remove_attribute(self, *args):
8380 remove_attribute(RigidBodyMember self, FloatKey a0)
8381 remove_attribute(RigidBodyMember self, IntKey a0)
8382 remove_attribute(RigidBodyMember self, StringKey a0)
8383 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8384 remove_attribute(RigidBodyMember self, ObjectKey a0)
8386 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8389 def has_attribute(self, *args):
8391 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8392 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8393 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8394 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8395 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8397 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8400 def get_derivative(self, a0):
8401 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8402 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8406 """get_name(RigidBodyMember self) -> std::string"""
8407 return _IMP_core.RigidBodyMember_get_name(self)
8410 def clear_caches(self):
8411 """clear_caches(RigidBodyMember self)"""
8412 return _IMP_core.RigidBodyMember_clear_caches(self)
8415 def set_name(self, a0):
8416 """set_name(RigidBodyMember self, std::string a0)"""
8417 return _IMP_core.RigidBodyMember_set_name(self, a0)
8421 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8422 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8425 def add_to_derivative(self, a0, a1, a2):
8426 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8427 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8430 def set_is_optimized(self, a0, a1):
8431 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8432 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8435 def get_is_optimized(self, a0):
8436 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8437 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8441 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8442 return _IMP_core.RigidBodyMember_get_check_level(self)
8445 def __eq__(self, *args):
8447 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8448 __eq__(RigidBodyMember self, Particle d) -> bool
8450 return _IMP_core.RigidBodyMember___eq__(self, *args)
8453 def __ne__(self, *args):
8455 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8456 __ne__(RigidBodyMember self, Particle d) -> bool
8458 return _IMP_core.RigidBodyMember___ne__(self, *args)
8461 def __le__(self, *args):
8463 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8464 __le__(RigidBodyMember self, Particle d) -> bool
8466 return _IMP_core.RigidBodyMember___le__(self, *args)
8469 def __lt__(self, *args):
8471 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8472 __lt__(RigidBodyMember self, Particle d) -> bool
8474 return _IMP_core.RigidBodyMember___lt__(self, *args)
8477 def __ge__(self, *args):
8479 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8480 __ge__(RigidBodyMember self, Particle d) -> bool
8482 return _IMP_core.RigidBodyMember___ge__(self, *args)
8485 def __gt__(self, *args):
8487 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8488 __gt__(RigidBodyMember self, Particle d) -> bool
8490 return _IMP_core.RigidBodyMember___gt__(self, *args)
8494 """__hash__(RigidBodyMember self) -> std::size_t"""
8495 return _IMP_core.RigidBodyMember___hash__(self)
8499 """__str__(RigidBodyMember self) -> std::string"""
8500 return _IMP_core.RigidBodyMember___str__(self)
8504 """__repr__(RigidBodyMember self) -> std::string"""
8505 return _IMP_core.RigidBodyMember___repr__(self)
8507 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8508 RigidBodyMember_swigregister(RigidBodyMember)
8510 def RigidBodyMember_get_is_setup(*args):
8512 get_is_setup(_ParticleAdaptor p) -> bool
8513 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8515 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8517 def RigidBodyMember_get_internal_coordinate_keys():
8518 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8519 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8521 def RigidBodyMember_get_internal_rotation_keys():
8522 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8523 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8525 class RigidMember(RigidBodyMember):
8526 """Proxy of C++ IMP::core::RigidMember class."""
8528 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8530 def __init__(self, *args):
8532 __init__(IMP::core::RigidMember self) -> RigidMember
8533 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8534 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8536 this = _IMP_core.new_RigidMember(*args)
8538 self.this.append(this)
8539 except __builtin__.Exception:
8542 def show(self, *args):
8544 show(RigidMember self, _ostream out)
8545 show(RigidMember self)
8547 return _IMP_core.RigidMember_show(self, *args)
8549 __swig_destroy__ = _IMP_core.delete_RigidMember
8550 __del__ =
lambda self:
None
8552 def get_is_setup(*args):
8554 get_is_setup(_ParticleAdaptor p) -> bool
8555 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8557 return _IMP_core.RigidMember_get_is_setup(*args)
8559 get_is_setup = staticmethod(get_is_setup)
8561 def add_attribute(self, *args):
8563 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8564 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8565 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8566 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8567 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8568 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8570 return _IMP_core.RigidMember_add_attribute(self, *args)
8573 def get_value(self, *args):
8575 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8576 get_value(RigidMember self, IntKey a0) -> IMP::Int
8577 get_value(RigidMember self, StringKey a0) -> IMP::String
8578 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8579 get_value(RigidMember self, ObjectKey a0) -> Object
8581 return _IMP_core.RigidMember_get_value(self, *args)
8584 def set_value(self, *args):
8586 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8587 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8588 set_value(RigidMember self, StringKey a0, IMP::String a1)
8589 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8590 set_value(RigidMember self, ObjectKey a0, Object a1)
8592 return _IMP_core.RigidMember_set_value(self, *args)
8595 def remove_attribute(self, *args):
8597 remove_attribute(RigidMember self, FloatKey a0)
8598 remove_attribute(RigidMember self, IntKey a0)
8599 remove_attribute(RigidMember self, StringKey a0)
8600 remove_attribute(RigidMember self, ParticleIndexKey a0)
8601 remove_attribute(RigidMember self, ObjectKey a0)
8603 return _IMP_core.RigidMember_remove_attribute(self, *args)
8606 def has_attribute(self, *args):
8608 has_attribute(RigidMember self, FloatKey a0) -> bool
8609 has_attribute(RigidMember self, IntKey a0) -> bool
8610 has_attribute(RigidMember self, StringKey a0) -> bool
8611 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8612 has_attribute(RigidMember self, ObjectKey a0) -> bool
8614 return _IMP_core.RigidMember_has_attribute(self, *args)
8617 def get_derivative(self, a0):
8618 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8619 return _IMP_core.RigidMember_get_derivative(self, a0)
8623 """get_name(RigidMember self) -> std::string"""
8624 return _IMP_core.RigidMember_get_name(self)
8627 def clear_caches(self):
8628 """clear_caches(RigidMember self)"""
8629 return _IMP_core.RigidMember_clear_caches(self)
8632 def set_name(self, a0):
8633 """set_name(RigidMember self, std::string a0)"""
8634 return _IMP_core.RigidMember_set_name(self, a0)
8638 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8639 return _IMP_core.RigidMember_set_check_level(self, a0)
8642 def add_to_derivative(self, a0, a1, a2):
8643 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8644 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8647 def set_is_optimized(self, a0, a1):
8648 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8649 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8652 def get_is_optimized(self, a0):
8653 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8654 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8658 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8659 return _IMP_core.RigidMember_get_check_level(self)
8662 def __eq__(self, *args):
8664 __eq__(RigidMember self, RigidMember o) -> bool
8665 __eq__(RigidMember self, Particle d) -> bool
8667 return _IMP_core.RigidMember___eq__(self, *args)
8670 def __ne__(self, *args):
8672 __ne__(RigidMember self, RigidMember o) -> bool
8673 __ne__(RigidMember self, Particle d) -> bool
8675 return _IMP_core.RigidMember___ne__(self, *args)
8678 def __le__(self, *args):
8680 __le__(RigidMember self, RigidMember o) -> bool
8681 __le__(RigidMember self, Particle d) -> bool
8683 return _IMP_core.RigidMember___le__(self, *args)
8686 def __lt__(self, *args):
8688 __lt__(RigidMember self, RigidMember o) -> bool
8689 __lt__(RigidMember self, Particle d) -> bool
8691 return _IMP_core.RigidMember___lt__(self, *args)
8694 def __ge__(self, *args):
8696 __ge__(RigidMember self, RigidMember o) -> bool
8697 __ge__(RigidMember self, Particle d) -> bool
8699 return _IMP_core.RigidMember___ge__(self, *args)
8702 def __gt__(self, *args):
8704 __gt__(RigidMember self, RigidMember o) -> bool
8705 __gt__(RigidMember self, Particle d) -> bool
8707 return _IMP_core.RigidMember___gt__(self, *args)
8711 """__hash__(RigidMember self) -> std::size_t"""
8712 return _IMP_core.RigidMember___hash__(self)
8716 """__str__(RigidMember self) -> std::string"""
8717 return _IMP_core.RigidMember___str__(self)
8721 """__repr__(RigidMember self) -> std::string"""
8722 return _IMP_core.RigidMember___repr__(self)
8724 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8725 RigidMember_swigregister(RigidMember)
8727 def RigidMember_get_is_setup(*args):
8729 get_is_setup(_ParticleAdaptor p) -> bool
8730 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8732 return _IMP_core.RigidMember_get_is_setup(*args)
8734 class NonRigidMember(RigidBodyMember):
8735 """Proxy of C++ IMP::core::NonRigidMember class."""
8737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8739 def __init__(self, *args):
8741 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8742 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8743 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8745 this = _IMP_core.new_NonRigidMember(*args)
8747 self.this.append(this)
8748 except __builtin__.Exception:
8751 def show(self, *args):
8753 show(NonRigidMember self, _ostream out)
8754 show(NonRigidMember self)
8756 return _IMP_core.NonRigidMember_show(self, *args)
8758 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8759 __del__ =
lambda self:
None
8761 def get_is_setup(*args):
8763 get_is_setup(_ParticleAdaptor p) -> bool
8764 get_is_setup(Model m, ParticleIndex p) -> bool
8766 return _IMP_core.NonRigidMember_get_is_setup(*args)
8768 get_is_setup = staticmethod(get_is_setup)
8770 def add_to_internal_derivatives(self, deriv_parent, da):
8771 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8772 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8775 def add_to_internal_rotational_derivatives(self, *args):
8777 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8778 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8780 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8783 def get_internal_derivatives(self):
8784 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8785 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8788 def get_internal_rotational_derivatives(self):
8789 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8790 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8793 def add_attribute(self, *args):
8795 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8796 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8797 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8798 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8799 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8800 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8802 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8805 def get_value(self, *args):
8807 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8808 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8809 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8810 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8811 get_value(NonRigidMember self, ObjectKey a0) -> Object
8813 return _IMP_core.NonRigidMember_get_value(self, *args)
8816 def set_value(self, *args):
8818 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8819 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8820 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8821 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8822 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8824 return _IMP_core.NonRigidMember_set_value(self, *args)
8827 def remove_attribute(self, *args):
8829 remove_attribute(NonRigidMember self, FloatKey a0)
8830 remove_attribute(NonRigidMember self, IntKey a0)
8831 remove_attribute(NonRigidMember self, StringKey a0)
8832 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8833 remove_attribute(NonRigidMember self, ObjectKey a0)
8835 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8838 def has_attribute(self, *args):
8840 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8841 has_attribute(NonRigidMember self, IntKey a0) -> bool
8842 has_attribute(NonRigidMember self, StringKey a0) -> bool
8843 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8844 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8846 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8849 def get_derivative(self, a0):
8850 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8851 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8855 """get_name(NonRigidMember self) -> std::string"""
8856 return _IMP_core.NonRigidMember_get_name(self)
8859 def clear_caches(self):
8860 """clear_caches(NonRigidMember self)"""
8861 return _IMP_core.NonRigidMember_clear_caches(self)
8864 def set_name(self, a0):
8865 """set_name(NonRigidMember self, std::string a0)"""
8866 return _IMP_core.NonRigidMember_set_name(self, a0)
8870 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8871 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8874 def add_to_derivative(self, a0, a1, a2):
8875 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8876 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8879 def set_is_optimized(self, a0, a1):
8880 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8881 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8884 def get_is_optimized(self, a0):
8885 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8886 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8890 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8891 return _IMP_core.NonRigidMember_get_check_level(self)
8894 def __eq__(self, *args):
8896 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8897 __eq__(NonRigidMember self, Particle d) -> bool
8899 return _IMP_core.NonRigidMember___eq__(self, *args)
8902 def __ne__(self, *args):
8904 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8905 __ne__(NonRigidMember self, Particle d) -> bool
8907 return _IMP_core.NonRigidMember___ne__(self, *args)
8910 def __le__(self, *args):
8912 __le__(NonRigidMember self, NonRigidMember o) -> bool
8913 __le__(NonRigidMember self, Particle d) -> bool
8915 return _IMP_core.NonRigidMember___le__(self, *args)
8918 def __lt__(self, *args):
8920 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8921 __lt__(NonRigidMember self, Particle d) -> bool
8923 return _IMP_core.NonRigidMember___lt__(self, *args)
8926 def __ge__(self, *args):
8928 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8929 __ge__(NonRigidMember self, Particle d) -> bool
8931 return _IMP_core.NonRigidMember___ge__(self, *args)
8934 def __gt__(self, *args):
8936 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8937 __gt__(NonRigidMember self, Particle d) -> bool
8939 return _IMP_core.NonRigidMember___gt__(self, *args)
8943 """__hash__(NonRigidMember self) -> std::size_t"""
8944 return _IMP_core.NonRigidMember___hash__(self)
8948 """__str__(NonRigidMember self) -> std::string"""
8949 return _IMP_core.NonRigidMember___str__(self)
8953 """__repr__(NonRigidMember self) -> std::string"""
8954 return _IMP_core.NonRigidMember___repr__(self)
8956 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
8957 NonRigidMember_swigregister(NonRigidMember)
8959 def NonRigidMember_get_is_setup(*args):
8961 get_is_setup(_ParticleAdaptor p) -> bool
8962 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
8964 return _IMP_core.NonRigidMember_get_is_setup(*args)
8967 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
8969 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8971 def __init__(self, *args):
8973 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
8974 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
8976 this = _IMP_core.new_RigidMembersRefiner(*args)
8978 self.this.append(this)
8979 except __builtin__.Exception:
8982 def do_get_inputs(self, m, pis):
8983 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8984 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8987 def get_version_info(self):
8988 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8989 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8993 """__str__(RigidMembersRefiner self) -> std::string"""
8994 return _IMP_core.RigidMembersRefiner___str__(self)
8998 """__repr__(RigidMembersRefiner self) -> std::string"""
8999 return _IMP_core.RigidMembersRefiner___repr__(self)
9004 return _object_cast_to_RigidMembersRefiner(o)
9006 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
9007 RigidMembersRefiner_swigregister(RigidMembersRefiner)
9010 def get_rigid_members_refiner():
9011 """get_rigid_members_refiner() -> RigidMembersRefiner"""
9012 return _IMP_core.get_rigid_members_refiner()
9016 transform(XYZ a, Transformation3D tr)
9017 transform(RigidBody a, Transformation3D tr)
9019 return _IMP_core.transform(*args)
9023 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
9024 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9026 return _IMP_core.get_initial_reference_frame(*args)
9030 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9031 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9033 return _IMP_core.create_rigid_bodies(m, n, no_members)
9037 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9038 show_rigid_body_hierarchy(RigidBody rb)
9040 return _IMP_core.show_rigid_body_hierarchy(*args)
9043 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9044 return _IMP_core.get_root_rigid_body(m)
9046 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
9048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9050 def __init__(self, rb, constituents):
9051 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9052 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9054 self.this.append(this)
9055 except __builtin__.Exception:
9058 def get_version_info(self):
9059 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9060 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9064 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9065 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9069 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9070 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9075 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9077 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9078 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9081 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
9083 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9085 def __init__(self, *args):
9087 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9088 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9090 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9092 self.this.append(this)
9093 except __builtin__.Exception:
9096 def get_version_info(self):
9097 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9098 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9102 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9103 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9107 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9108 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9113 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9115 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9116 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9119 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
9121 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9123 def __init__(self, sc):
9124 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9125 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9127 self.this.append(this)
9128 except __builtin__.Exception:
9131 def get_version_info(self):
9132 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9133 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9137 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9138 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9142 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9143 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9148 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9150 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9151 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9154 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
9156 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9158 def __init__(self, *args):
9160 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9161 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9163 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9165 self.this.append(this)
9166 except __builtin__.Exception:
9169 def get_version_info(self):
9170 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9171 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9175 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9176 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9180 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9181 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9186 return _object_cast_to_RigidBodyFrameGeometry(o)
9188 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9189 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9192 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
9194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9196 def __init__(self, sc):
9197 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9198 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9200 self.this.append(this)
9201 except __builtin__.Exception:
9204 def get_version_info(self):
9205 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9206 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9210 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9211 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9215 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9216 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9221 return _object_cast_to_RigidBodyFramesGeometry(o)
9223 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9224 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9227 """Proxy of C++ IMP::core::RigidBodyTorque class."""
9229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9231 def __init__(self, p):
9232 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9233 this = _IMP_core.new_RigidBodyTorque(p)
9235 self.this.append(this)
9236 except __builtin__.Exception:
9240 """__str__(RigidBodyTorque self) -> std::string"""
9241 return _IMP_core.RigidBodyTorque___str__(self)
9245 """__repr__(RigidBodyTorque self) -> std::string"""
9246 return _IMP_core.RigidBodyTorque___repr__(self)
9251 return _object_cast_to_RigidBodyTorque(o)
9253 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9254 __del__ =
lambda self:
None
9255 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9256 RigidBodyTorque_swigregister(RigidBodyTorque)
9258 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9259 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
9261 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9264 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9265 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9267 self.this.append(this)
9268 except __builtin__.Exception:
9271 def get_close_pairs(self, *args):
9273 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9274 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9275 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9276 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9278 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9281 def do_get_inputs(self, m, pis):
9282 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9283 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9286 def get_version_info(self):
9287 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9288 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9292 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9293 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9297 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9298 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9303 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9305 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9306 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9309 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
9311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9313 def __init__(self, *args):
9315 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9316 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9317 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9318 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9319 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9321 this = _IMP_core.new_RestraintsScoringFunction(*args)
9323 self.this.append(this)
9324 except __builtin__.Exception:
9327 def do_add_score_and_derivatives(self, sa, ss):
9328 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9329 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9332 def do_get_inputs(self):
9333 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9334 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9337 def get_version_info(self):
9338 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9339 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9343 """__str__(RestraintsScoringFunction self) -> std::string"""
9344 return _IMP_core.RestraintsScoringFunction___str__(self)
9348 """__repr__(RestraintsScoringFunction self) -> std::string"""
9349 return _IMP_core.RestraintsScoringFunction___repr__(self)
9354 return _object_cast_to_RestraintsScoringFunction(o)
9356 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9357 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9359 class RigidClosePairsFinder(ClosePairsFinder):
9360 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
9362 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9364 def __init__(self, cpf=None):
9366 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9367 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9369 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9371 self.this.append(this)
9372 except __builtin__.Exception:
9375 def do_get_inputs(self, m, pis):
9376 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9377 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9380 def get_close_pairs(self, *args):
9382 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9383 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9384 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9385 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9386 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9388 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9391 def get_version_info(self):
9392 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9393 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9397 """__str__(RigidClosePairsFinder self) -> std::string"""
9398 return _IMP_core.RigidClosePairsFinder___str__(self)
9402 """__repr__(RigidClosePairsFinder self) -> std::string"""
9403 return _IMP_core.RigidClosePairsFinder___repr__(self)
9408 return _object_cast_to_RigidClosePairsFinder(o)
9410 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9411 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9414 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
9416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9418 def __init__(self, *args):
9420 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9421 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9423 this = _IMP_core.new_SphereDistancePairScore(*args)
9425 self.this.append(this)
9426 except __builtin__.Exception:
9429 def do_get_inputs(self, m, pis):
9430 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9431 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9434 def get_version_info(self):
9435 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9436 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9440 """__str__(SphereDistancePairScore self) -> std::string"""
9441 return _IMP_core.SphereDistancePairScore___str__(self)
9445 """__repr__(SphereDistancePairScore self) -> std::string"""
9446 return _IMP_core.SphereDistancePairScore___repr__(self)
9451 return _object_cast_to_SphereDistancePairScore(o)
9453 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9454 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9456 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9457 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
9459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9461 def __init__(self, *args):
9463 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9464 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9466 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9468 self.this.append(this)
9469 except __builtin__.Exception:
9472 def do_get_inputs(self, m, pis):
9473 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9474 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9477 def get_version_info(self):
9478 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9479 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9483 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9484 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9488 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9489 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9494 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9496 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9497 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9499 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9500 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
9502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9504 def __init__(self, d0, k):
9505 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9506 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9508 self.this.append(this)
9509 except __builtin__.Exception:
9512 def get_rest_length(self):
9513 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9514 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9517 def get_stiffness(self):
9518 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9519 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9522 def do_get_inputs(self, m, pis):
9523 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9524 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9527 def get_version_info(self):
9528 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9529 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9533 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9534 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9538 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9539 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9544 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9546 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9547 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9550 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9554 def __init__(self, *args):
9556 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9557 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9559 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9561 self.this.append(this)
9562 except __builtin__.Exception:
9565 def do_get_inputs(self, m, pis):
9566 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9567 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9570 def get_version_info(self):
9571 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9572 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9576 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9577 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9581 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9582 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9587 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9589 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9590 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9593 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9595 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9597 def __init__(self, *args):
9599 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9600 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9602 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9604 self.this.append(this)
9605 except __builtin__.Exception:
9608 def do_get_inputs(self, m, pis):
9609 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9610 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9613 def get_version_info(self):
9614 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9615 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9619 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9620 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9624 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9625 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9630 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9632 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9633 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9636 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9640 def __init__(self, *args):
9642 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9643 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9645 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9647 self.this.append(this)
9648 except __builtin__.Exception:
9651 def do_get_inputs(self, m, pis):
9652 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9653 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9656 def get_version_info(self):
9657 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9658 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9662 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9663 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9667 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9668 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9673 return _object_cast_to_WeightedSphereDistancePairScore(o)
9675 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9676 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9679 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
9681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9683 def __init__(self, *args):
9685 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9686 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9688 this = _IMP_core.new_SoftSpherePairScore(*args)
9690 self.this.append(this)
9691 except __builtin__.Exception:
9694 def do_get_inputs(self, m, pis):
9695 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9696 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9699 def get_version_info(self):
9700 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9701 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9705 """__str__(SoftSpherePairScore self) -> std::string"""
9706 return _IMP_core.SoftSpherePairScore___str__(self)
9710 """__repr__(SoftSpherePairScore self) -> std::string"""
9711 return _IMP_core.SoftSpherePairScore___repr__(self)
9716 return _object_cast_to_SoftSpherePairScore(o)
9718 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9719 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9722 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9726 def __init__(self, *args):
9728 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9729 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9731 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9733 self.this.append(this)
9734 except __builtin__.Exception:
9737 def do_get_inputs(self, m, pis):
9738 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9739 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9742 def get_version_info(self):
9743 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9744 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9748 """__str__(SurfaceDistancePairScore self) -> std::string"""
9749 return _IMP_core.SurfaceDistancePairScore___str__(self)
9753 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9754 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9759 return _object_cast_to_SurfaceDistancePairScore(o)
9761 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9762 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9765 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9769 def __init__(self, *args):
9771 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9772 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9774 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9776 self.this.append(this)
9777 except __builtin__.Exception:
9780 def do_get_inputs(self, m, pis):
9781 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9782 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9785 def get_version_info(self):
9786 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9787 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9791 """__str__(SurfaceHeightPairScore self) -> std::string"""
9792 return _IMP_core.SurfaceHeightPairScore___str__(self)
9796 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9797 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9802 return _object_cast_to_SurfaceHeightPairScore(o)
9804 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9805 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9808 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9810 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9812 def __init__(self, *args):
9814 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9815 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9817 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9819 self.this.append(this)
9820 except __builtin__.Exception:
9823 def do_get_inputs(self, m, pis):
9824 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9825 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9828 def get_version_info(self):
9829 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9830 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9834 """__str__(SurfaceDepthPairScore self) -> std::string"""
9835 return _IMP_core.SurfaceDepthPairScore___str__(self)
9839 """__repr__(SurfaceDepthPairScore self) -> std::string"""
9840 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9845 return _object_cast_to_SurfaceDepthPairScore(o)
9847 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
9848 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9851 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9853 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9855 def __init__(self, *args):
9857 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9858 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9860 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9862 self.this.append(this)
9863 except __builtin__.Exception:
9866 def do_get_inputs(self, m, pis):
9867 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9868 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9871 def get_version_info(self):
9872 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9873 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9877 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9878 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9882 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9883 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9888 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9890 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
9891 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9894 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9896 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9898 def __init__(self, *args):
9900 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
9901 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
9903 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
9905 self.this.append(this)
9906 except __builtin__.Exception:
9909 def do_get_inputs(self, m, pis):
9910 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9911 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9914 def get_version_info(self):
9915 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9916 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9920 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9921 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9925 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9926 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9931 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9933 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
9934 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9937 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9939 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9941 def __init__(self, *args):
9943 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
9944 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
9946 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
9948 self.this.append(this)
9949 except __builtin__.Exception:
9952 def do_get_inputs(self, m, pis):
9953 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9954 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9957 def get_version_info(self):
9958 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9959 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9963 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9964 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9968 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9969 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9974 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9976 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
9977 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9980 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9984 def __init__(self, *args):
9986 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
9987 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
9989 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
9991 self.this.append(this)
9992 except __builtin__.Exception:
9995 def do_get_inputs(self, m, pis):
9996 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9997 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
10000 def get_version_info(self):
10001 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
10002 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
10006 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
10007 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
10010 def __repr__(self):
10011 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
10012 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
10017 return _object_cast_to_SoftSuperSurfacePairScore(o)
10019 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
10020 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
10023 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
10025 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10027 def __init__(self, *args):
10029 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10030 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10032 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10034 self.this.append(this)
10035 except __builtin__.Exception:
10038 def do_get_inputs(self, m, pis):
10039 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10040 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10043 def get_version_info(self):
10044 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10045 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10049 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10050 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10053 def __repr__(self):
10054 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10055 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10060 return _object_cast_to_SoftSubSurfacePairScore(o)
10062 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10063 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10066 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
10068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10070 def __init__(self, link_num, link_length):
10071 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10072 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10074 self.this.append(this)
10075 except __builtin__.Exception:
10078 def get_version_info(self):
10079 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10080 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10083 def get_link_number(self):
10084 """get_link_number(SurfaceTetheredChain self) -> int"""
10085 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10088 def get_link_length(self):
10089 """get_link_length(SurfaceTetheredChain self) -> double"""
10090 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10093 def set_link_number(self, N):
10094 """set_link_number(SurfaceTetheredChain self, int N)"""
10095 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10098 def set_link_length(self, b):
10099 """set_link_length(SurfaceTetheredChain self, double b)"""
10100 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10103 def get_distance_at_minimum(self):
10104 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10105 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10108 def get_average_distance(self):
10109 """get_average_distance(SurfaceTetheredChain self) -> double"""
10110 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10114 """__str__(SurfaceTetheredChain self) -> std::string"""
10115 return _IMP_core.SurfaceTetheredChain___str__(self)
10118 def __repr__(self):
10119 """__repr__(SurfaceTetheredChain self) -> std::string"""
10120 return _IMP_core.SurfaceTetheredChain___repr__(self)
10125 return _object_cast_to_SurfaceTetheredChain(o)
10127 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10128 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10131 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
10133 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10135 def __init__(self, m, ss, rbs):
10136 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10137 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10139 self.this.append(this)
10140 except __builtin__.Exception:
10143 def do_get_inputs(self):
10144 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10145 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10148 def do_get_outputs(self):
10149 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10150 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10153 def get_version_info(self):
10154 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10155 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10159 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10160 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10163 def __repr__(self):
10164 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10165 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10170 return _object_cast_to_SurfaceSymmetryConstraint(o)
10172 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10173 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10176 """Proxy of C++ IMP::core::SteepestDescent class."""
10178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10180 def __init__(self, *args):
10182 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10183 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10185 this = _IMP_core.new_SteepestDescent(*args)
10187 self.this.append(this)
10188 except __builtin__.Exception:
10191 def do_optimize(self, max_steps):
10192 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10193 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10196 def get_version_info(self):
10197 """get_version_info(SteepestDescent self) -> VersionInfo"""
10198 return _IMP_core.SteepestDescent_get_version_info(self)
10201 def set_threshold(self, t):
10202 """set_threshold(SteepestDescent self, IMP::Float t)"""
10203 return _IMP_core.SteepestDescent_set_threshold(self, t)
10206 def set_step_size(self, t):
10207 """set_step_size(SteepestDescent self, IMP::Float t)"""
10208 return _IMP_core.SteepestDescent_set_step_size(self, t)
10211 def set_maximum_step_size(self, t):
10212 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10213 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10217 """__str__(SteepestDescent self) -> std::string"""
10218 return _IMP_core.SteepestDescent___str__(self)
10221 def __repr__(self):
10222 """__repr__(SteepestDescent self) -> std::string"""
10223 return _IMP_core.SteepestDescent___repr__(self)
10228 return _object_cast_to_SteepestDescent(o)
10230 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10231 SteepestDescent_swigregister(SteepestDescent)
10234 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
10236 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10238 def __init__(self, f, transformation):
10239 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10240 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10242 self.this.append(this)
10243 except __builtin__.Exception:
10246 def set_transformation(self, rot):
10247 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10248 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10251 def do_get_inputs(self, m, pis):
10252 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10253 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10256 def get_version_info(self):
10257 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10258 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10262 """__str__(TransformedDistancePairScore self) -> std::string"""
10263 return _IMP_core.TransformedDistancePairScore___str__(self)
10266 def __repr__(self):
10267 """__repr__(TransformedDistancePairScore self) -> std::string"""
10268 return _IMP_core.TransformedDistancePairScore___repr__(self)
10273 return _object_cast_to_TransformedDistancePairScore(o)
10275 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10276 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10279 """Proxy of C++ IMP::core::TypedPairScore class."""
10281 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10283 def __init__(self, typekey, allow_invalid_types=True):
10285 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10286 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10288 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10290 self.this.append(this)
10291 except __builtin__.Exception:
10294 def set_particle_type(self, arg2):
10295 """set_particle_type(TypedPairScore self, Particle arg2)"""
10296 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10299 def set_pair_score(self, ps, atype, btype):
10300 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10301 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10304 def do_get_inputs(self, m, pis):
10305 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10306 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10309 def get_version_info(self):
10310 """get_version_info(TypedPairScore self) -> VersionInfo"""
10311 return _IMP_core.TypedPairScore_get_version_info(self)
10315 """__str__(TypedPairScore self) -> std::string"""
10316 return _IMP_core.TypedPairScore___str__(self)
10319 def __repr__(self):
10320 """__repr__(TypedPairScore self) -> std::string"""
10321 return _IMP_core.TypedPairScore___repr__(self)
10326 return _object_cast_to_TypedPairScore(o)
10328 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10329 TypedPairScore_swigregister(TypedPairScore)
10331 class RigidBodyDistancePairScore(KClosePairsPairScore):
10332 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
10334 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10336 def __init__(self, ps, r):
10337 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10338 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10340 self.this.append(this)
10341 except __builtin__.Exception:
10345 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10346 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10349 def __repr__(self):
10350 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10351 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10356 return _object_cast_to_RigidBodyDistancePairScore(o)
10358 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10359 __del__ =
lambda self:
None
10360 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10361 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10364 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
10366 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10368 def __init__(self, f):
10369 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10370 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10372 self.this.append(this)
10373 except __builtin__.Exception:
10376 def do_get_inputs(self, m, pis):
10377 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10378 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10381 def get_version_info(self):
10382 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10383 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10387 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10388 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10391 def __repr__(self):
10392 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10393 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10398 return _object_cast_to_RigidBodyAnglePairScore(o)
10400 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10401 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10404 """Proxy of C++ IMP::core::TableRefiner class."""
10406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10408 def __init__(self):
10409 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10410 this = _IMP_core.new_TableRefiner()
10412 self.this.append(this)
10413 except __builtin__.Exception:
10417 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10418 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10421 def remove_particle(self, p):
10422 """remove_particle(TableRefiner self, Particle p)"""
10423 return _IMP_core.TableRefiner_remove_particle(self, p)
10426 def set_particle(self, p, ps):
10427 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10428 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10431 def do_get_inputs(self, m, pis):
10432 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10433 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10436 def get_version_info(self):
10437 """get_version_info(TableRefiner self) -> VersionInfo"""
10438 return _IMP_core.TableRefiner_get_version_info(self)
10442 """__str__(TableRefiner self) -> std::string"""
10443 return _IMP_core.TableRefiner___str__(self)
10446 def __repr__(self):
10447 """__repr__(TableRefiner self) -> std::string"""
10448 return _IMP_core.TableRefiner___repr__(self)
10453 return _object_cast_to_TableRefiner(o)
10455 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10456 TableRefiner_swigregister(TableRefiner)
10458 LOWER = _IMP_core.LOWER
10459 BOTH = _IMP_core.BOTH
10460 UPPER = _IMP_core.UPPER
10462 """Proxy of C++ IMP::core::MCCGSampler class."""
10464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10466 def __init__(self, *args):
10468 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10469 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10471 this = _IMP_core.new_MCCGSampler(*args)
10473 self.this.append(this)
10474 except __builtin__.Exception:
10477 def set_bounding_box(self, bb):
10478 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10479 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10482 def set_number_of_attempts(self, att):
10483 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10484 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10487 def set_number_of_monte_carlo_steps(self, cg):
10488 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10489 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10492 def set_number_of_conjugate_gradient_steps(self, cg):
10493 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10494 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10497 def set_max_monte_carlo_step_size(self, *args):
10499 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10500 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10502 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10505 def set_is_refining(self, tf):
10506 """set_is_refining(MCCGSampler self, bool tf)"""
10507 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10510 def set_local_optimizer(self, opt):
10511 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10512 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10515 def set_save_rejected_configurations(self, tf):
10516 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10517 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10520 def get_rejected_configurations(self):
10521 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10522 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10525 def remove_optimizer_state(self, d):
10526 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10527 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10530 def remove_optimizer_states(self, d):
10531 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10532 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10535 def set_optimizer_states(self, ps):
10536 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10537 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10540 def set_optimizer_states_order(self, objs):
10541 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10542 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10545 def add_optimizer_state(self, obj):
10546 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10547 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10550 def add_optimizer_states(self, objs):
10551 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10552 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10555 def clear_optimizer_states(self):
10556 """clear_optimizer_states(MCCGSampler self)"""
10557 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10560 def get_number_of_optimizer_states(self):
10561 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10562 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10565 def get_has_optimizer_states(self):
10566 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10567 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10570 def get_optimizer_state(self, i):
10571 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10572 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10575 def get_optimizer_states(self):
10576 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10577 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10580 def reserve_optimizer_states(self, sz):
10581 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10582 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10585 def do_sample(self):
10586 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10587 return _IMP_core.MCCGSampler_do_sample(self)
10590 def get_version_info(self):
10591 """get_version_info(MCCGSampler self) -> VersionInfo"""
10592 return _IMP_core.MCCGSampler_get_version_info(self)
10596 """__str__(MCCGSampler self) -> std::string"""
10597 return _IMP_core.MCCGSampler___str__(self)
10600 def __repr__(self):
10601 """__repr__(MCCGSampler self) -> std::string"""
10602 return _IMP_core.MCCGSampler___repr__(self)
10607 return _object_cast_to_MCCGSampler(o)
10609 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10610 MCCGSampler_swigregister(MCCGSampler)
10613 """Proxy of C++ IMP::core::MinimumRestraint class."""
10615 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10617 def __init__(self, *args):
10619 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10620 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10621 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10623 this = _IMP_core.new_MinimumRestraint(*args)
10625 self.this.append(this)
10626 except __builtin__.Exception:
10629 def do_get_inputs(self):
10630 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10631 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10634 def get_version_info(self):
10635 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10636 return _IMP_core.MinimumRestraint_get_version_info(self)
10639 def remove_restraint(self, d):
10640 """remove_restraint(MinimumRestraint self, Restraint d)"""
10641 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10644 def remove_restraints(self, d):
10645 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10646 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10649 def set_restraints(self, ps):
10650 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10651 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10654 def set_restraints_order(self, objs):
10655 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10656 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10660 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10661 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10665 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10666 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10669 def clear_restraints(self):
10670 """clear_restraints(MinimumRestraint self)"""
10671 return _IMP_core.MinimumRestraint_clear_restraints(self)
10674 def get_number_of_restraints(self):
10675 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10676 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10679 def get_has_restraints(self):
10680 """get_has_restraints(MinimumRestraint self) -> bool"""
10681 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10684 def get_restraint(self, i):
10685 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10686 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10689 def get_restraints(self):
10690 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10691 return _IMP_core.MinimumRestraint_get_restraints(self)
10694 def reserve_restraints(self, sz):
10695 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10696 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10700 """__str__(MinimumRestraint self) -> std::string"""
10701 return _IMP_core.MinimumRestraint___str__(self)
10704 def __repr__(self):
10705 """__repr__(MinimumRestraint self) -> std::string"""
10706 return _IMP_core.MinimumRestraint___repr__(self)
10711 return _object_cast_to_MinimumRestraint(o)
10713 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10714 MinimumRestraint_swigregister(MinimumRestraint)
10716 class Gaussian(RigidBody):
10717 """Proxy of C++ IMP::core::Gaussian class."""
10719 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10721 def __init__(self, *args):
10723 __init__(IMP::core::Gaussian self) -> Gaussian
10724 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10725 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10727 this = _IMP_core.new_Gaussian(*args)
10729 self.this.append(this)
10730 except __builtin__.Exception:
10733 def show(self, *args):
10735 show(Gaussian self, _ostream out)
10736 show(Gaussian self)
10738 return _IMP_core.Gaussian_show(self, *args)
10741 def setup_particle(*args):
10743 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10744 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10745 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10746 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10748 return _IMP_core.Gaussian_setup_particle(*args)
10750 setup_particle = staticmethod(setup_particle)
10752 def get_local_covariance_key():
10753 """get_local_covariance_key() -> ObjectKey"""
10754 return _IMP_core.Gaussian_get_local_covariance_key()
10756 get_local_covariance_key = staticmethod(get_local_covariance_key)
10758 def get_global_covariance_key():
10759 """get_global_covariance_key() -> ObjectKey"""
10760 return _IMP_core.Gaussian_get_global_covariance_key()
10762 get_global_covariance_key = staticmethod(get_global_covariance_key)
10764 def get_is_setup(*args):
10766 get_is_setup(_ParticleAdaptor p) -> bool
10767 get_is_setup(Model m, ParticleIndex pi) -> bool
10769 return _IMP_core.Gaussian_get_is_setup(*args)
10771 get_is_setup = staticmethod(get_is_setup)
10773 def get_local_covariance(self):
10774 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10775 return _IMP_core.Gaussian_get_local_covariance(self)
10778 def get_variances(self):
10779 """get_variances(Gaussian self) -> Vector3D"""
10780 return _IMP_core.Gaussian_get_variances(self)
10783 def get_global_covariance(self):
10784 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10785 return _IMP_core.Gaussian_get_global_covariance(self)
10788 def get_gaussian(self):
10789 """get_gaussian(Gaussian self) -> Gaussian3D"""
10790 return _IMP_core.Gaussian_get_gaussian(self)
10793 def set_gaussian(self, g):
10794 """set_gaussian(Gaussian self, Gaussian3D g)"""
10795 return _IMP_core.Gaussian_set_gaussian(self, g)
10798 def set_local_covariance(self, covar):
10799 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10800 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10803 def set_variances(self, v):
10804 """set_variances(Gaussian self, Vector3D v)"""
10805 return _IMP_core.Gaussian_set_variances(self, v)
10808 def set_global_covariance(self, covar):
10809 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10810 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10813 def update_global_covariance(self):
10814 """update_global_covariance(Gaussian self)"""
10815 return _IMP_core.Gaussian_update_global_covariance(self)
10818 def add_attribute(self, *args):
10820 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10821 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10822 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10823 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10824 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10825 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10827 return _IMP_core.Gaussian_add_attribute(self, *args)
10830 def get_value(self, *args):
10832 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10833 get_value(Gaussian self, IntKey a0) -> IMP::Int
10834 get_value(Gaussian self, StringKey a0) -> IMP::String
10835 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10836 get_value(Gaussian self, ObjectKey a0) -> Object
10838 return _IMP_core.Gaussian_get_value(self, *args)
10841 def set_value(self, *args):
10843 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10844 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10845 set_value(Gaussian self, StringKey a0, IMP::String a1)
10846 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10847 set_value(Gaussian self, ObjectKey a0, Object a1)
10849 return _IMP_core.Gaussian_set_value(self, *args)
10852 def remove_attribute(self, *args):
10854 remove_attribute(Gaussian self, FloatKey a0)
10855 remove_attribute(Gaussian self, IntKey a0)
10856 remove_attribute(Gaussian self, StringKey a0)
10857 remove_attribute(Gaussian self, ParticleIndexKey a0)
10858 remove_attribute(Gaussian self, ObjectKey a0)
10860 return _IMP_core.Gaussian_remove_attribute(self, *args)
10863 def has_attribute(self, *args):
10865 has_attribute(Gaussian self, FloatKey a0) -> bool
10866 has_attribute(Gaussian self, IntKey a0) -> bool
10867 has_attribute(Gaussian self, StringKey a0) -> bool
10868 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10869 has_attribute(Gaussian self, ObjectKey a0) -> bool
10871 return _IMP_core.Gaussian_has_attribute(self, *args)
10874 def get_derivative(self, a0):
10875 """get_derivative(Gaussian self, FloatKey a0) -> double"""
10876 return _IMP_core.Gaussian_get_derivative(self, a0)
10879 def get_name(self):
10880 """get_name(Gaussian self) -> std::string"""
10881 return _IMP_core.Gaussian_get_name(self)
10884 def clear_caches(self):
10885 """clear_caches(Gaussian self)"""
10886 return _IMP_core.Gaussian_clear_caches(self)
10889 def set_name(self, a0):
10890 """set_name(Gaussian self, std::string a0)"""
10891 return _IMP_core.Gaussian_set_name(self, a0)
10895 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10896 return _IMP_core.Gaussian_set_check_level(self, a0)
10899 def add_to_derivative(self, a0, a1, a2):
10900 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10901 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10904 def set_is_optimized(self, a0, a1):
10905 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10906 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10909 def get_is_optimized(self, a0):
10910 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10911 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10915 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
10916 return _IMP_core.Gaussian_get_check_level(self)
10919 def __eq__(self, *args):
10921 __eq__(Gaussian self, Gaussian o) -> bool
10922 __eq__(Gaussian self, Particle d) -> bool
10924 return _IMP_core.Gaussian___eq__(self, *args)
10927 def __ne__(self, *args):
10929 __ne__(Gaussian self, Gaussian o) -> bool
10930 __ne__(Gaussian self, Particle d) -> bool
10932 return _IMP_core.Gaussian___ne__(self, *args)
10935 def __le__(self, *args):
10937 __le__(Gaussian self, Gaussian o) -> bool
10938 __le__(Gaussian self, Particle d) -> bool
10940 return _IMP_core.Gaussian___le__(self, *args)
10943 def __lt__(self, *args):
10945 __lt__(Gaussian self, Gaussian o) -> bool
10946 __lt__(Gaussian self, Particle d) -> bool
10948 return _IMP_core.Gaussian___lt__(self, *args)
10951 def __ge__(self, *args):
10953 __ge__(Gaussian self, Gaussian o) -> bool
10954 __ge__(Gaussian self, Particle d) -> bool
10956 return _IMP_core.Gaussian___ge__(self, *args)
10959 def __gt__(self, *args):
10961 __gt__(Gaussian self, Gaussian o) -> bool
10962 __gt__(Gaussian self, Particle d) -> bool
10964 return _IMP_core.Gaussian___gt__(self, *args)
10967 def __hash__(self):
10968 """__hash__(Gaussian self) -> std::size_t"""
10969 return _IMP_core.Gaussian___hash__(self)
10973 """__str__(Gaussian self) -> std::string"""
10974 return _IMP_core.Gaussian___str__(self)
10977 def __repr__(self):
10978 """__repr__(Gaussian self) -> std::string"""
10979 return _IMP_core.Gaussian___repr__(self)
10981 __swig_destroy__ = _IMP_core.delete_Gaussian
10982 __del__ =
lambda self:
None
10983 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
10984 Gaussian_swigregister(Gaussian)
10986 def Gaussian_setup_particle(*args):
10988 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10989 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10990 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10991 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10993 return _IMP_core.Gaussian_setup_particle(*args)
10995 def Gaussian_get_local_covariance_key():
10996 """Gaussian_get_local_covariance_key() -> ObjectKey"""
10997 return _IMP_core.Gaussian_get_local_covariance_key()
10999 def Gaussian_get_global_covariance_key():
11000 """Gaussian_get_global_covariance_key() -> ObjectKey"""
11001 return _IMP_core.Gaussian_get_global_covariance_key()
11003 def Gaussian_get_is_setup(*args):
11005 get_is_setup(_ParticleAdaptor p) -> bool
11006 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
11008 return _IMP_core.Gaussian_get_is_setup(*args)
11011 """Proxy of C++ IMP::core::PairRestraint class."""
11013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11015 def __init__(self, *args):
11017 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
11018 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
11020 this = _IMP_core.new_PairRestraint(*args)
11022 self.this.append(this)
11023 except __builtin__.Exception:
11026 def get_version_info(self):
11027 """get_version_info(PairRestraint self) -> VersionInfo"""
11028 return _IMP_core.PairRestraint_get_version_info(self)
11032 """__str__(PairRestraint self) -> std::string"""
11033 return _IMP_core.PairRestraint___str__(self)
11036 def __repr__(self):
11037 """__repr__(PairRestraint self) -> std::string"""
11038 return _IMP_core.PairRestraint___repr__(self)
11043 return _object_cast_to_PairRestraint(o)
11045 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11046 PairRestraint_swigregister(PairRestraint)
11049 """Proxy of C++ IMP::core::SingletonRestraint class."""
11051 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11053 def __init__(self, *args):
11055 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11056 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11058 this = _IMP_core.new_SingletonRestraint(*args)
11060 self.this.append(this)
11061 except __builtin__.Exception:
11064 def get_version_info(self):
11065 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11066 return _IMP_core.SingletonRestraint_get_version_info(self)
11070 """__str__(SingletonRestraint self) -> std::string"""
11071 return _IMP_core.SingletonRestraint___str__(self)
11074 def __repr__(self):
11075 """__repr__(SingletonRestraint self) -> std::string"""
11076 return _IMP_core.SingletonRestraint___repr__(self)
11081 return _object_cast_to_SingletonRestraint(o)
11083 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11084 SingletonRestraint_swigregister(SingletonRestraint)
11087 """Proxy of C++ IMP::core::TripletRestraint class."""
11089 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11091 def __init__(self, *args):
11093 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11094 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11096 this = _IMP_core.new_TripletRestraint(*args)
11098 self.this.append(this)
11099 except __builtin__.Exception:
11102 def get_version_info(self):
11103 """get_version_info(TripletRestraint self) -> VersionInfo"""
11104 return _IMP_core.TripletRestraint_get_version_info(self)
11108 """__str__(TripletRestraint self) -> std::string"""
11109 return _IMP_core.TripletRestraint___str__(self)
11112 def __repr__(self):
11113 """__repr__(TripletRestraint self) -> std::string"""
11114 return _IMP_core.TripletRestraint___repr__(self)
11119 return _object_cast_to_TripletRestraint(o)
11121 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11122 TripletRestraint_swigregister(TripletRestraint)
11125 """Proxy of C++ IMP::core::QuadRestraint class."""
11127 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11129 def __init__(self, *args):
11131 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11132 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11134 this = _IMP_core.new_QuadRestraint(*args)
11136 self.this.append(this)
11137 except __builtin__.Exception:
11140 def get_version_info(self):
11141 """get_version_info(QuadRestraint self) -> VersionInfo"""
11142 return _IMP_core.QuadRestraint_get_version_info(self)
11146 """__str__(QuadRestraint self) -> std::string"""
11147 return _IMP_core.QuadRestraint___str__(self)
11150 def __repr__(self):
11151 """__repr__(QuadRestraint self) -> std::string"""
11152 return _IMP_core.QuadRestraint___repr__(self)
11157 return _object_cast_to_QuadRestraint(o)
11159 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11160 QuadRestraint_swigregister(QuadRestraint)
11163 """Proxy of C++ IMP::core::SingletonConstraint class."""
11165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11167 def __init__(self, *args):
11169 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11170 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11171 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11172 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11174 this = _IMP_core.new_SingletonConstraint(*args)
11176 self.this.append(this)
11177 except __builtin__.Exception:
11180 def get_version_info(self):
11181 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11182 return _IMP_core.SingletonConstraint_get_version_info(self)
11186 """__str__(SingletonConstraint self) -> std::string"""
11187 return _IMP_core.SingletonConstraint___str__(self)
11190 def __repr__(self):
11191 """__repr__(SingletonConstraint self) -> std::string"""
11192 return _IMP_core.SingletonConstraint___repr__(self)
11197 return _object_cast_to_SingletonConstraint(o)
11199 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11200 SingletonConstraint_swigregister(SingletonConstraint)
11203 """Proxy of C++ IMP::core::PairConstraint class."""
11205 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11207 def __init__(self, *args):
11209 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11210 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11211 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11212 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11214 this = _IMP_core.new_PairConstraint(*args)
11216 self.this.append(this)
11217 except __builtin__.Exception:
11220 def get_version_info(self):
11221 """get_version_info(PairConstraint self) -> VersionInfo"""
11222 return _IMP_core.PairConstraint_get_version_info(self)
11226 """__str__(PairConstraint self) -> std::string"""
11227 return _IMP_core.PairConstraint___str__(self)
11230 def __repr__(self):
11231 """__repr__(PairConstraint self) -> std::string"""
11232 return _IMP_core.PairConstraint___repr__(self)
11237 return _object_cast_to_PairConstraint(o)
11239 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11240 PairConstraint_swigregister(PairConstraint)
11243 """Proxy of C++ IMP::core::TripletConstraint class."""
11245 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11247 def __init__(self, *args):
11249 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11250 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11251 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11252 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11254 this = _IMP_core.new_TripletConstraint(*args)
11256 self.this.append(this)
11257 except __builtin__.Exception:
11260 def get_version_info(self):
11261 """get_version_info(TripletConstraint self) -> VersionInfo"""
11262 return _IMP_core.TripletConstraint_get_version_info(self)
11266 """__str__(TripletConstraint self) -> std::string"""
11267 return _IMP_core.TripletConstraint___str__(self)
11270 def __repr__(self):
11271 """__repr__(TripletConstraint self) -> std::string"""
11272 return _IMP_core.TripletConstraint___repr__(self)
11277 return _object_cast_to_TripletConstraint(o)
11279 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11280 TripletConstraint_swigregister(TripletConstraint)
11283 """Proxy of C++ IMP::core::QuadConstraint class."""
11285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11287 def __init__(self, *args):
11289 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11290 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11291 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11292 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11294 this = _IMP_core.new_QuadConstraint(*args)
11296 self.this.append(this)
11297 except __builtin__.Exception:
11300 def get_version_info(self):
11301 """get_version_info(QuadConstraint self) -> VersionInfo"""
11302 return _IMP_core.QuadConstraint_get_version_info(self)
11306 """__str__(QuadConstraint self) -> std::string"""
11307 return _IMP_core.QuadConstraint___str__(self)
11310 def __repr__(self):
11311 """__repr__(QuadConstraint self) -> std::string"""
11312 return _IMP_core.QuadConstraint___repr__(self)
11317 return _object_cast_to_QuadConstraint(o)
11319 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11320 QuadConstraint_swigregister(QuadConstraint)
11323 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
11325 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11327 def __init__(self, *args):
11329 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11330 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11332 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11334 self.this.append(this)
11335 except __builtin__.Exception:
11338 def do_get_inputs(self, arg2, arg3):
11339 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11340 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11343 def get_value(self, *args):
11345 get_value(ConstantSingletonPredicate self, Particle a) -> int
11346 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11348 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11351 def get_value_index(self, *args):
11353 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11354 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11356 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11359 def get_version_info(self):
11360 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11361 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11365 """__str__(ConstantSingletonPredicate self) -> std::string"""
11366 return _IMP_core.ConstantSingletonPredicate___str__(self)
11369 def __repr__(self):
11370 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11371 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11376 return _object_cast_to_ConstantSingletonPredicate(o)
11378 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11379 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11382 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
11384 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11386 def __init__(self, *args):
11388 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11389 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11391 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11393 self.this.append(this)
11394 except __builtin__.Exception:
11397 def do_get_inputs(self, m, pis):
11398 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11399 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11402 def get_value(self, *args):
11404 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11405 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11407 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11410 def get_value_index(self, *args):
11412 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11413 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11415 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11418 def get_version_info(self):
11419 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11420 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11424 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11425 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11428 def __repr__(self):
11429 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11430 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11435 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11437 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11438 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11441 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
11443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11445 def __init__(self, *args):
11447 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11448 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11450 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11452 self.this.append(this)
11453 except __builtin__.Exception:
11456 def do_get_inputs(self, m, pis):
11457 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11458 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11461 def get_value(self, *args):
11463 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11464 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11465 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11467 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11470 def get_value_index(self, *args):
11472 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11473 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11475 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11478 def get_version_info(self):
11479 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11480 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11484 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11485 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11488 def __repr__(self):
11489 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11490 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11495 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11497 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11498 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11501 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
11503 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11505 def __init__(self, *args):
11507 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11508 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11510 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11512 self.this.append(this)
11513 except __builtin__.Exception:
11516 def do_get_inputs(self, arg2, arg3):
11517 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11518 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11521 def get_value(self, *args):
11523 get_value(AllSameSingletonPredicate self, Particle a) -> int
11524 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11526 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11529 def get_value_index(self, *args):
11531 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11532 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11534 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11537 def get_version_info(self):
11538 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11539 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11543 """__str__(AllSameSingletonPredicate self) -> std::string"""
11544 return _IMP_core.AllSameSingletonPredicate___str__(self)
11547 def __repr__(self):
11548 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11549 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11554 return _object_cast_to_AllSameSingletonPredicate(o)
11556 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11557 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11560 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
11562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11564 def __init__(self, *args):
11566 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11567 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11569 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11571 self.this.append(this)
11572 except __builtin__.Exception:
11575 def do_get_inputs(self, arg2, arg3):
11576 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11577 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11580 def get_value(self, *args):
11582 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11583 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11585 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11588 def get_value_index(self, *args):
11590 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11591 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11593 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11596 def get_version_info(self):
11597 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11598 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11602 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11603 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11606 def __repr__(self):
11607 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11608 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11613 return _object_cast_to_CoinFlipSingletonPredicate(o)
11615 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11616 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11619 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
11621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11623 def __init__(self, *args):
11625 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11626 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11628 this = _IMP_core.new_ConstantPairPredicate(*args)
11630 self.this.append(this)
11631 except __builtin__.Exception:
11634 def do_get_inputs(self, arg2, arg3):
11635 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11636 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11639 def get_value(self, *args):
11641 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11642 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11644 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11647 def get_value_index(self, *args):
11649 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11650 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11652 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11655 def get_version_info(self):
11656 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11657 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11661 """__str__(ConstantPairPredicate self) -> std::string"""
11662 return _IMP_core.ConstantPairPredicate___str__(self)
11665 def __repr__(self):
11666 """__repr__(ConstantPairPredicate self) -> std::string"""
11667 return _IMP_core.ConstantPairPredicate___repr__(self)
11672 return _object_cast_to_ConstantPairPredicate(o)
11674 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11675 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11678 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11680 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11682 def __init__(self, *args):
11684 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11685 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11687 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11689 self.this.append(this)
11690 except __builtin__.Exception:
11693 def do_get_inputs(self, m, pis):
11694 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11695 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11698 def get_value(self, *args):
11700 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11701 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11703 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11706 def get_value_index(self, *args):
11708 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11709 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11711 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11714 def get_version_info(self):
11715 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11716 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11720 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11721 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11724 def __repr__(self):
11725 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11726 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11731 return _object_cast_to_UnorderedTypePairPredicate(o)
11733 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11734 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11737 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11739 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11741 def __init__(self, *args):
11743 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11744 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11746 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11748 self.this.append(this)
11749 except __builtin__.Exception:
11752 def do_get_inputs(self, m, pis):
11753 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11754 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11757 def get_value(self, *args):
11759 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11760 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11761 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11763 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11766 def get_value_index(self, *args):
11768 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11769 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11771 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11774 def get_version_info(self):
11775 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11776 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11780 """__str__(OrderedTypePairPredicate self) -> std::string"""
11781 return _IMP_core.OrderedTypePairPredicate___str__(self)
11784 def __repr__(self):
11785 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11786 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11791 return _object_cast_to_OrderedTypePairPredicate(o)
11793 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11794 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11797 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
11799 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11801 def __init__(self, *args):
11803 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11804 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11806 this = _IMP_core.new_AllSamePairPredicate(*args)
11808 self.this.append(this)
11809 except __builtin__.Exception:
11812 def do_get_inputs(self, arg2, arg3):
11813 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11814 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11817 def get_value(self, *args):
11819 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11820 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11822 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11825 def get_value_index(self, *args):
11827 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11828 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11830 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11833 def get_version_info(self):
11834 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11835 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11839 """__str__(AllSamePairPredicate self) -> std::string"""
11840 return _IMP_core.AllSamePairPredicate___str__(self)
11843 def __repr__(self):
11844 """__repr__(AllSamePairPredicate self) -> std::string"""
11845 return _IMP_core.AllSamePairPredicate___repr__(self)
11850 return _object_cast_to_AllSamePairPredicate(o)
11852 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11853 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11856 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11860 def __init__(self, *args):
11862 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
11863 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
11865 this = _IMP_core.new_CoinFlipPairPredicate(*args)
11867 self.this.append(this)
11868 except __builtin__.Exception:
11871 def do_get_inputs(self, arg2, arg3):
11872 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11873 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11876 def get_value(self, *args):
11878 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11879 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11881 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11884 def get_value_index(self, *args):
11886 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11887 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11889 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11892 def get_version_info(self):
11893 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11894 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11898 """__str__(CoinFlipPairPredicate self) -> std::string"""
11899 return _IMP_core.CoinFlipPairPredicate___str__(self)
11902 def __repr__(self):
11903 """__repr__(CoinFlipPairPredicate self) -> std::string"""
11904 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11909 return _object_cast_to_CoinFlipPairPredicate(o)
11911 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
11912 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11915 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11919 def __init__(self, *args):
11921 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
11922 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
11924 this = _IMP_core.new_ConstantTripletPredicate(*args)
11926 self.this.append(this)
11927 except __builtin__.Exception:
11930 def do_get_inputs(self, arg2, arg3):
11931 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11932 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11935 def get_value(self, *args):
11937 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11938 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11940 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11943 def get_value_index(self, *args):
11945 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11946 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11948 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11951 def get_version_info(self):
11952 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11953 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11957 """__str__(ConstantTripletPredicate self) -> std::string"""
11958 return _IMP_core.ConstantTripletPredicate___str__(self)
11961 def __repr__(self):
11962 """__repr__(ConstantTripletPredicate self) -> std::string"""
11963 return _IMP_core.ConstantTripletPredicate___repr__(self)
11968 return _object_cast_to_ConstantTripletPredicate(o)
11970 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
11971 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11974 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11976 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11978 def __init__(self, *args):
11980 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
11981 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
11983 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
11985 self.this.append(this)
11986 except __builtin__.Exception:
11989 def do_get_inputs(self, m, pis):
11990 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11991 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11994 def get_value(self, *args):
11996 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11997 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11999 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
12002 def get_value_index(self, *args):
12004 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12005 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12007 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
12010 def get_version_info(self):
12011 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
12012 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
12016 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
12017 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
12020 def __repr__(self):
12021 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
12022 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12027 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12029 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12030 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12033 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
12035 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12037 def __init__(self, *args):
12039 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12040 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12042 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12044 self.this.append(this)
12045 except __builtin__.Exception:
12048 def do_get_inputs(self, m, pis):
12049 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12050 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12053 def get_value(self, *args):
12055 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12056 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12057 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12059 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12062 def get_value_index(self, *args):
12064 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12065 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12067 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12070 def get_version_info(self):
12071 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12072 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12076 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12077 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12080 def __repr__(self):
12081 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12082 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12087 return _object_cast_to_OrderedTypeTripletPredicate(o)
12089 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12090 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12093 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
12095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12097 def __init__(self, *args):
12099 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12100 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12102 this = _IMP_core.new_AllSameTripletPredicate(*args)
12104 self.this.append(this)
12105 except __builtin__.Exception:
12108 def do_get_inputs(self, arg2, arg3):
12109 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12110 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12113 def get_value(self, *args):
12115 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12116 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12118 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12121 def get_value_index(self, *args):
12123 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12124 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12126 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12129 def get_version_info(self):
12130 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12131 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12135 """__str__(AllSameTripletPredicate self) -> std::string"""
12136 return _IMP_core.AllSameTripletPredicate___str__(self)
12139 def __repr__(self):
12140 """__repr__(AllSameTripletPredicate self) -> std::string"""
12141 return _IMP_core.AllSameTripletPredicate___repr__(self)
12146 return _object_cast_to_AllSameTripletPredicate(o)
12148 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12149 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12152 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
12154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12156 def __init__(self, *args):
12158 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12159 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12161 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12163 self.this.append(this)
12164 except __builtin__.Exception:
12167 def do_get_inputs(self, arg2, arg3):
12168 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12169 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12172 def get_value(self, *args):
12174 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12175 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12177 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12180 def get_value_index(self, *args):
12182 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12183 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12185 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12188 def get_version_info(self):
12189 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12190 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12194 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12195 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12198 def __repr__(self):
12199 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12200 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12205 return _object_cast_to_CoinFlipTripletPredicate(o)
12207 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12208 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12211 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
12213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12215 def __init__(self, *args):
12217 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12218 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12220 this = _IMP_core.new_ConstantQuadPredicate(*args)
12222 self.this.append(this)
12223 except __builtin__.Exception:
12226 def do_get_inputs(self, arg2, arg3):
12227 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12228 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12231 def get_value(self, *args):
12233 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12234 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12236 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12239 def get_value_index(self, *args):
12241 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12242 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12244 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12247 def get_version_info(self):
12248 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12249 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12253 """__str__(ConstantQuadPredicate self) -> std::string"""
12254 return _IMP_core.ConstantQuadPredicate___str__(self)
12257 def __repr__(self):
12258 """__repr__(ConstantQuadPredicate self) -> std::string"""
12259 return _IMP_core.ConstantQuadPredicate___repr__(self)
12264 return _object_cast_to_ConstantQuadPredicate(o)
12266 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12267 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12270 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
12272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12274 def __init__(self, *args):
12276 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12277 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12279 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12281 self.this.append(this)
12282 except __builtin__.Exception:
12285 def do_get_inputs(self, m, pis):
12286 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12287 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12290 def get_value(self, *args):
12292 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12293 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12295 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12298 def get_value_index(self, *args):
12300 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12301 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12303 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12306 def get_version_info(self):
12307 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12308 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12312 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12313 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12316 def __repr__(self):
12317 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12318 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12323 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12325 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12326 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12329 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
12331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12333 def __init__(self, *args):
12335 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12336 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12338 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12340 self.this.append(this)
12341 except __builtin__.Exception:
12344 def do_get_inputs(self, m, pis):
12345 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12346 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12349 def get_value(self, *args):
12351 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12352 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12353 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12355 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12358 def get_value_index(self, *args):
12360 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12361 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12363 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12366 def get_version_info(self):
12367 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12368 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12372 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12373 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12376 def __repr__(self):
12377 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12378 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12383 return _object_cast_to_OrderedTypeQuadPredicate(o)
12385 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12386 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12389 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
12391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12393 def __init__(self, *args):
12395 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12396 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12398 this = _IMP_core.new_AllSameQuadPredicate(*args)
12400 self.this.append(this)
12401 except __builtin__.Exception:
12404 def do_get_inputs(self, arg2, arg3):
12405 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12406 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12409 def get_value(self, *args):
12411 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12412 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12414 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12417 def get_value_index(self, *args):
12419 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12420 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12422 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12425 def get_version_info(self):
12426 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12427 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12431 """__str__(AllSameQuadPredicate self) -> std::string"""
12432 return _IMP_core.AllSameQuadPredicate___str__(self)
12435 def __repr__(self):
12436 """__repr__(AllSameQuadPredicate self) -> std::string"""
12437 return _IMP_core.AllSameQuadPredicate___repr__(self)
12442 return _object_cast_to_AllSameQuadPredicate(o)
12444 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12445 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12448 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
12450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12452 def __init__(self, *args):
12454 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12455 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12457 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12459 self.this.append(this)
12460 except __builtin__.Exception:
12463 def do_get_inputs(self, arg2, arg3):
12464 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12465 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12468 def get_value(self, *args):
12470 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12471 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12473 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12476 def get_value_index(self, *args):
12478 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12479 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12481 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12484 def get_version_info(self):
12485 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12486 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12490 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12491 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12494 def __repr__(self):
12495 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12496 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12501 return _object_cast_to_CoinFlipQuadPredicate(o)
12503 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12504 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12507 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
12509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12511 def __init__(self, *args):
12513 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12514 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12516 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12518 self.this.append(this)
12519 except __builtin__.Exception:
12522 def do_get_inputs(self, m, pi):
12523 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12524 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12527 def get_value(self, *args):
12529 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12530 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12532 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12535 def get_value_index(self, *args):
12537 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12538 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12540 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12543 def get_version_info(self):
12544 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12545 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12549 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12550 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12553 def __repr__(self):
12554 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12555 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12560 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12562 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12563 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12566 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12568 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12570 def __init__(self, *args):
12572 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12573 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12575 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12577 self.this.append(this)
12578 except __builtin__.Exception:
12581 def do_get_inputs(self, m, pi):
12582 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12583 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12586 def get_value(self, *args):
12588 get_value(AttributeSingletonPredicate self, Particle a) -> int
12589 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12591 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12594 def get_value_index(self, *args):
12596 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12597 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12599 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12602 def get_version_info(self):
12603 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12604 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12608 """__str__(AttributeSingletonPredicate self) -> std::string"""
12609 return _IMP_core.AttributeSingletonPredicate___str__(self)
12612 def __repr__(self):
12613 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12614 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12619 return _object_cast_to_AttributeSingletonPredicate(o)
12621 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12622 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12625 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12627 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12629 def __init__(self, *args):
12631 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12632 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12634 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12636 self.this.append(this)
12637 except __builtin__.Exception:
12640 def do_get_inputs(self, m, pi):
12641 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12642 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12645 def get_value(self, *args):
12647 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12648 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12650 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12653 def get_value_index(self, *args):
12655 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12656 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12658 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12661 def get_version_info(self):
12662 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12663 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12667 """__str__(IsCollisionPairPredicate self) -> std::string"""
12668 return _IMP_core.IsCollisionPairPredicate___str__(self)
12671 def __repr__(self):
12672 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12673 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12678 return _object_cast_to_IsCollisionPairPredicate(o)
12680 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12681 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12683 class AngleRestraint(TripletRestraint):
12684 """Proxy of C++ IMP::core::AngleRestraint class."""
12686 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12688 def __init__(self, m, score_func, p1, p2, p3):
12689 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12690 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12692 self.this.append(this)
12693 except __builtin__.Exception:
12697 """__str__(AngleRestraint self) -> std::string"""
12698 return _IMP_core.AngleRestraint___str__(self)
12701 def __repr__(self):
12702 """__repr__(AngleRestraint self) -> std::string"""
12703 return _IMP_core.AngleRestraint___repr__(self)
12708 return _object_cast_to_AngleRestraint(o)
12710 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12711 AngleRestraint_swigregister(AngleRestraint)
12713 class RigidBodyMover(MonteCarloMover):
12714 """Proxy of C++ IMP::core::RigidBodyMover class."""
12716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12718 def __init__(self, m, pi, max_translation, max_rotation):
12719 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12720 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12722 self.this.append(this)
12723 except __builtin__.Exception:
12726 def set_maximum_translation(self, mt):
12727 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12728 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12731 def set_maximum_rotation(self, mr):
12732 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12733 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12736 def get_maximum_translation(self):
12737 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12738 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12741 def get_maximum_rotation(self):
12742 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12743 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12746 def get_version_info(self):
12747 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12748 return _IMP_core.RigidBodyMover_get_version_info(self)
12752 """__str__(RigidBodyMover self) -> std::string"""
12753 return _IMP_core.RigidBodyMover___str__(self)
12756 def __repr__(self):
12757 """__repr__(RigidBodyMover self) -> std::string"""
12758 return _IMP_core.RigidBodyMover___repr__(self)
12763 return _object_cast_to_RigidBodyMover(o)
12765 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12766 RigidBodyMover_swigregister(RigidBodyMover)
12768 class RigidBodyTunneler(MonteCarloMover):
12769 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
12771 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12773 def __init__(self, m, pis, ref, k, move_probability=1.):
12775 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12776 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12778 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12780 self.this.append(this)
12781 except __builtin__.Exception:
12784 def add_entry_point(self, fl):
12785 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12786 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12789 def reset_stats(self):
12790 """reset_stats(RigidBodyTunneler self)"""
12791 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12794 def get_number_of_rejected_moves(self):
12795 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12796 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12799 def get_number_of_proposed_moves(self):
12800 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12801 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12804 def get_number_of_impossible_moves(self):
12805 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12806 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12809 def get_number_of_calls(self):
12810 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12811 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12814 def get_reduced_coordinates(*args):
12816 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12817 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12819 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12821 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12823 def set_reduced_coordinates(m, target, ref, coords):
12824 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12825 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12827 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12829 def get_version_info(self):
12830 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12831 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12835 """__str__(RigidBodyTunneler self) -> std::string"""
12836 return _IMP_core.RigidBodyTunneler___str__(self)
12839 def __repr__(self):
12840 """__repr__(RigidBodyTunneler self) -> std::string"""
12841 return _IMP_core.RigidBodyTunneler___repr__(self)
12846 return _object_cast_to_RigidBodyTunneler(o)
12848 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12849 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12851 def RigidBodyTunneler_get_reduced_coordinates(*args):
12853 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12854 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12856 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12858 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12859 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12860 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12863 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12865 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12867 def __init__(self, *args):
12869 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12870 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12871 __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
12872 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12874 this = _IMP_core.new_RigidBodyUmbrella(*args)
12876 self.this.append(this)
12877 except __builtin__.Exception:
12880 def set_x0(self, *args):
12882 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12883 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
12885 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12889 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12890 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12894 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12895 return _IMP_core.RigidBodyUmbrella_get_x(self)
12898 def set_alpha(self, alpha):
12899 """set_alpha(RigidBodyUmbrella self, double alpha)"""
12900 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12903 def set_k(self, k):
12904 """set_k(RigidBodyUmbrella self, double k)"""
12905 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12908 def get_version_info(self):
12909 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12910 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12914 """__str__(RigidBodyUmbrella self) -> std::string"""
12915 return _IMP_core.RigidBodyUmbrella___str__(self)
12918 def __repr__(self):
12919 """__repr__(RigidBodyUmbrella self) -> std::string"""
12920 return _IMP_core.RigidBodyUmbrella___repr__(self)
12925 return _object_cast_to_RigidBodyUmbrella(o)
12927 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
12928 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12931 """Proxy of C++ IMP::core::VolumeRestraint class."""
12933 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12935 def __init__(self, f, sc, volume):
12936 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12937 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
12939 self.this.append(this)
12940 except __builtin__.Exception:
12943 def do_get_inputs(self):
12944 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12945 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12948 def get_version_info(self):
12949 """get_version_info(VolumeRestraint self) -> VersionInfo"""
12950 return _IMP_core.VolumeRestraint_get_version_info(self)
12954 """__str__(VolumeRestraint self) -> std::string"""
12955 return _IMP_core.VolumeRestraint___str__(self)
12958 def __repr__(self):
12959 """__repr__(VolumeRestraint self) -> std::string"""
12960 return _IMP_core.VolumeRestraint___repr__(self)
12965 return _object_cast_to_VolumeRestraint(o)
12967 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
12968 VolumeRestraint_swigregister(VolumeRestraint)
12972 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12973 return _IMP_core.get_centroid(ps)
12976 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12977 return _IMP_core.get_bounding_box(ps)
12979 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
12981 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12983 def __init__(self, ps):
12984 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12985 this = _IMP_core.new_MoveStatisticsScoreState(ps)
12987 self.this.append(this)
12988 except __builtin__.Exception:
12991 def show_statistics(self, *args):
12993 show_statistics(MoveStatisticsScoreState self, _ostream out)
12994 show_statistics(MoveStatisticsScoreState self)
12996 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
13000 """reset(MoveStatisticsScoreState self)"""
13001 return _IMP_core.MoveStatisticsScoreState_reset(self)
13004 def do_before_evaluate(self):
13005 """do_before_evaluate(MoveStatisticsScoreState self)"""
13006 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
13009 def do_after_evaluate(self, da):
13010 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
13011 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
13014 def do_get_inputs(self):
13015 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13016 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
13019 def do_get_outputs(self):
13020 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13021 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
13024 def get_version_info(self):
13025 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13026 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13030 """__str__(MoveStatisticsScoreState self) -> std::string"""
13031 return _IMP_core.MoveStatisticsScoreState___str__(self)
13034 def __repr__(self):
13035 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13036 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13041 return _object_cast_to_MoveStatisticsScoreState(o)
13043 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13044 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13046 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13048 """Proxy of C++ IMP::core::Typed class."""
13050 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13052 def get_type_key():
13053 """get_type_key() -> IntKey"""
13054 return _IMP_core.Typed_get_type_key()
13056 get_type_key = staticmethod(get_type_key)
13058 def __init__(self, *args):
13060 __init__(IMP::core::Typed self) -> Typed
13061 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13062 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13064 this = _IMP_core.new_Typed(*args)
13066 self.this.append(this)
13067 except __builtin__.Exception:
13070 def show(self, *args):
13072 show(Typed self, _ostream out)
13075 return _IMP_core.Typed_show(self, *args)
13078 def setup_particle(*args):
13080 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13081 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13083 return _IMP_core.Typed_setup_particle(*args)
13085 setup_particle = staticmethod(setup_particle)
13087 def get_is_setup(*args):
13089 get_is_setup(_ParticleAdaptor p) -> bool
13090 get_is_setup(Model m, ParticleIndex pi) -> bool
13092 return _IMP_core.Typed_get_is_setup(*args)
13094 get_is_setup = staticmethod(get_is_setup)
13096 def get_type(self):
13097 """get_type(Typed self) -> ParticleType"""
13098 return _IMP_core.Typed_get_type(self)
13101 def set_type(self, pt):
13102 """set_type(Typed self, ParticleType pt)"""
13103 return _IMP_core.Typed_set_type(self, pt)
13106 def add_attribute(self, *args):
13108 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13109 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13110 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13111 add_attribute(Typed self, StringKey a0, IMP::String a1)
13112 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13113 add_attribute(Typed self, ObjectKey a0, Object a1)
13115 return _IMP_core.Typed_add_attribute(self, *args)
13118 def get_value(self, *args):
13120 get_value(Typed self, FloatKey a0) -> IMP::Float
13121 get_value(Typed self, IntKey a0) -> IMP::Int
13122 get_value(Typed self, StringKey a0) -> IMP::String
13123 get_value(Typed self, ParticleIndexKey a0) -> Particle
13124 get_value(Typed self, ObjectKey a0) -> Object
13126 return _IMP_core.Typed_get_value(self, *args)
13129 def set_value(self, *args):
13131 set_value(Typed self, FloatKey a0, IMP::Float a1)
13132 set_value(Typed self, IntKey a0, IMP::Int a1)
13133 set_value(Typed self, StringKey a0, IMP::String a1)
13134 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13135 set_value(Typed self, ObjectKey a0, Object a1)
13137 return _IMP_core.Typed_set_value(self, *args)
13140 def remove_attribute(self, *args):
13142 remove_attribute(Typed self, FloatKey a0)
13143 remove_attribute(Typed self, IntKey a0)
13144 remove_attribute(Typed self, StringKey a0)
13145 remove_attribute(Typed self, ParticleIndexKey a0)
13146 remove_attribute(Typed self, ObjectKey a0)
13148 return _IMP_core.Typed_remove_attribute(self, *args)
13151 def has_attribute(self, *args):
13153 has_attribute(Typed self, FloatKey a0) -> bool
13154 has_attribute(Typed self, IntKey a0) -> bool
13155 has_attribute(Typed self, StringKey a0) -> bool
13156 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13157 has_attribute(Typed self, ObjectKey a0) -> bool
13159 return _IMP_core.Typed_has_attribute(self, *args)
13162 def get_derivative(self, a0):
13163 """get_derivative(Typed self, FloatKey a0) -> double"""
13164 return _IMP_core.Typed_get_derivative(self, a0)
13167 def get_name(self):
13168 """get_name(Typed self) -> std::string"""
13169 return _IMP_core.Typed_get_name(self)
13172 def clear_caches(self):
13173 """clear_caches(Typed self)"""
13174 return _IMP_core.Typed_clear_caches(self)
13177 def set_name(self, a0):
13178 """set_name(Typed self, std::string a0)"""
13179 return _IMP_core.Typed_set_name(self, a0)
13183 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13184 return _IMP_core.Typed_set_check_level(self, a0)
13187 def add_to_derivative(self, a0, a1, a2):
13188 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13189 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13192 def set_is_optimized(self, a0, a1):
13193 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13194 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13197 def get_is_optimized(self, a0):
13198 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13199 return _IMP_core.Typed_get_is_optimized(self, a0)
13203 """get_check_level(Typed self) -> IMP::CheckLevel"""
13204 return _IMP_core.Typed_get_check_level(self)
13207 def __eq__(self, *args):
13209 __eq__(Typed self, Typed o) -> bool
13210 __eq__(Typed self, Particle d) -> bool
13212 return _IMP_core.Typed___eq__(self, *args)
13215 def __ne__(self, *args):
13217 __ne__(Typed self, Typed o) -> bool
13218 __ne__(Typed self, Particle d) -> bool
13220 return _IMP_core.Typed___ne__(self, *args)
13223 def __le__(self, *args):
13225 __le__(Typed self, Typed o) -> bool
13226 __le__(Typed self, Particle d) -> bool
13228 return _IMP_core.Typed___le__(self, *args)
13231 def __lt__(self, *args):
13233 __lt__(Typed self, Typed o) -> bool
13234 __lt__(Typed self, Particle d) -> bool
13236 return _IMP_core.Typed___lt__(self, *args)
13239 def __ge__(self, *args):
13241 __ge__(Typed self, Typed o) -> bool
13242 __ge__(Typed self, Particle d) -> bool
13244 return _IMP_core.Typed___ge__(self, *args)
13247 def __gt__(self, *args):
13249 __gt__(Typed self, Typed o) -> bool
13250 __gt__(Typed self, Particle d) -> bool
13252 return _IMP_core.Typed___gt__(self, *args)
13255 def __hash__(self):
13256 """__hash__(Typed self) -> std::size_t"""
13257 return _IMP_core.Typed___hash__(self)
13261 """__str__(Typed self) -> std::string"""
13262 return _IMP_core.Typed___str__(self)
13265 def __repr__(self):
13266 """__repr__(Typed self) -> std::string"""
13267 return _IMP_core.Typed___repr__(self)
13269 __swig_destroy__ = _IMP_core.delete_Typed
13270 __del__ =
lambda self:
None
13271 Typed_swigregister = _IMP_core.Typed_swigregister
13272 Typed_swigregister(Typed)
13274 def Typed_get_type_key():
13275 """Typed_get_type_key() -> IntKey"""
13276 return _IMP_core.Typed_get_type_key()
13278 def Typed_setup_particle(*args):
13280 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13281 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13283 return _IMP_core.Typed_setup_particle(*args)
13285 def Typed_get_is_setup(*args):
13287 get_is_setup(_ParticleAdaptor p) -> bool
13288 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13290 return _IMP_core.Typed_get_is_setup(*args)
13293 def __lshift__(*args):
13295 __lshift__(_ostream out, XYZ n) -> _ostream
13296 __lshift__(_ostream out, XYZR n) -> _ostream
13297 __lshift__(_ostream out, Direction n) -> _ostream
13298 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13299 __lshift__(_ostream out, Surface n) -> _ostream
13300 __lshift__(_ostream out, Centroid n) -> _ostream
13301 __lshift__(_ostream out, Cover n) -> _ostream
13302 __lshift__(_ostream out, Reference n) -> _ostream
13303 __lshift__(_ostream out, RigidMember n) -> _ostream
13304 __lshift__(_ostream out, RigidBody n) -> _ostream
13305 __lshift__(_ostream out, Gaussian n) -> _ostream
13306 __lshift__(_ostream out, Typed n) -> _ostream
13308 return _IMP_core.__lshift__(*args)
13310 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
13312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13314 def __init__(self, rs, out):
13315 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13316 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13318 self.this.append(this)
13319 except __builtin__.Exception:
13322 def get_version_info(self):
13323 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13324 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13328 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13329 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13332 def __repr__(self):
13333 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13334 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13339 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13341 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13342 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13346 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13347 return _IMP_core.assign_blame(rs, ps, attribute)
13351 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13352 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13353 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13355 return _IMP_core.create_blame_geometries(*args)
13357 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
13359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13361 def __init__(self, m, q1, q2):
13362 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13363 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13365 self.this.append(this)
13366 except __builtin__.Exception:
13369 def add_term(self, term):
13370 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13371 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13374 def do_get_inputs(self):
13375 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13376 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13379 def get_version_info(self):
13380 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13381 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13385 """__str__(MultipleBinormalRestraint self) -> std::string"""
13386 return _IMP_core.MultipleBinormalRestraint___str__(self)
13389 def __repr__(self):
13390 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13391 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13396 return _object_cast_to_MultipleBinormalRestraint(o)
13398 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13399 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13401 class BinormalTerm(object):
13402 """Proxy of C++ IMP::core::BinormalTerm class."""
13404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13406 def __init__(self):
13407 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13408 this = _IMP_core.new_BinormalTerm()
13410 self.this.append(this)
13411 except __builtin__.Exception:
13414 def set_correlation(self, correlation):
13415 """set_correlation(BinormalTerm self, double correlation)"""
13416 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13419 def set_weight(self, weight):
13420 """set_weight(BinormalTerm self, double weight)"""
13421 return _IMP_core.BinormalTerm_set_weight(self, weight)
13424 def set_means(self, means):
13425 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13426 return _IMP_core.BinormalTerm_set_means(self, means)
13429 def set_standard_deviations(self, stdevs):
13430 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13431 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13434 def show(self, *args):
13436 show(BinormalTerm self, _ostream out)
13437 show(BinormalTerm self)
13439 return _IMP_core.BinormalTerm_show(self, *args)
13443 """__str__(BinormalTerm self) -> std::string"""
13444 return _IMP_core.BinormalTerm___str__(self)
13447 def __repr__(self):
13448 """__repr__(BinormalTerm self) -> std::string"""
13449 return _IMP_core.BinormalTerm___repr__(self)
13451 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13452 __del__ =
lambda self:
None
13453 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13454 BinormalTerm_swigregister(BinormalTerm)
13457 """Proxy of C++ IMP::core::Provenance class."""
13459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13461 def get_previous(self):
13462 """get_previous(Provenance self) -> Provenance"""
13463 return _IMP_core.Provenance_get_previous(self)
13466 def set_previous(self, p):
13467 """set_previous(Provenance self, Provenance p)"""
13468 return _IMP_core.Provenance_set_previous(self, p)
13471 def __init__(self, *args):
13473 __init__(IMP::core::Provenance self) -> Provenance
13474 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13475 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13477 this = _IMP_core.new_Provenance(*args)
13479 self.this.append(this)
13480 except __builtin__.Exception:
13483 def get_is_setup(*args):
13485 get_is_setup(Model m, ParticleIndex pi) -> bool
13486 get_is_setup(_ParticleAdaptor p) -> bool
13488 return _IMP_core.Provenance_get_is_setup(*args)
13490 get_is_setup = staticmethod(get_is_setup)
13492 def show(self, *args):
13494 show(Provenance self, _ostream out)
13495 show(Provenance self)
13497 return _IMP_core.Provenance_show(self, *args)
13500 def setup_particle(*args):
13502 setup_particle(Model m, ParticleIndex pi) -> Provenance
13503 setup_particle(_ParticleAdaptor decorator) -> Provenance
13505 return _IMP_core.Provenance_setup_particle(*args)
13507 setup_particle = staticmethod(setup_particle)
13509 def add_attribute(self, *args):
13511 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13512 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13513 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13514 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13515 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13516 add_attribute(Provenance self, ObjectKey a0, Object a1)
13518 return _IMP_core.Provenance_add_attribute(self, *args)
13521 def get_value(self, *args):
13523 get_value(Provenance self, FloatKey a0) -> IMP::Float
13524 get_value(Provenance self, IntKey a0) -> IMP::Int
13525 get_value(Provenance self, StringKey a0) -> IMP::String
13526 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13527 get_value(Provenance self, ObjectKey a0) -> Object
13529 return _IMP_core.Provenance_get_value(self, *args)
13532 def set_value(self, *args):
13534 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13535 set_value(Provenance self, IntKey a0, IMP::Int a1)
13536 set_value(Provenance self, StringKey a0, IMP::String a1)
13537 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13538 set_value(Provenance self, ObjectKey a0, Object a1)
13540 return _IMP_core.Provenance_set_value(self, *args)
13543 def remove_attribute(self, *args):
13545 remove_attribute(Provenance self, FloatKey a0)
13546 remove_attribute(Provenance self, IntKey a0)
13547 remove_attribute(Provenance self, StringKey a0)
13548 remove_attribute(Provenance self, ParticleIndexKey a0)
13549 remove_attribute(Provenance self, ObjectKey a0)
13551 return _IMP_core.Provenance_remove_attribute(self, *args)
13554 def has_attribute(self, *args):
13556 has_attribute(Provenance self, FloatKey a0) -> bool
13557 has_attribute(Provenance self, IntKey a0) -> bool
13558 has_attribute(Provenance self, StringKey a0) -> bool
13559 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13560 has_attribute(Provenance self, ObjectKey a0) -> bool
13562 return _IMP_core.Provenance_has_attribute(self, *args)
13565 def get_derivative(self, a0):
13566 """get_derivative(Provenance self, FloatKey a0) -> double"""
13567 return _IMP_core.Provenance_get_derivative(self, a0)
13570 def get_name(self):
13571 """get_name(Provenance self) -> std::string"""
13572 return _IMP_core.Provenance_get_name(self)
13575 def clear_caches(self):
13576 """clear_caches(Provenance self)"""
13577 return _IMP_core.Provenance_clear_caches(self)
13580 def set_name(self, a0):
13581 """set_name(Provenance self, std::string a0)"""
13582 return _IMP_core.Provenance_set_name(self, a0)
13586 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13587 return _IMP_core.Provenance_set_check_level(self, a0)
13590 def add_to_derivative(self, a0, a1, a2):
13591 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13592 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13595 def set_is_optimized(self, a0, a1):
13596 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13597 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13600 def get_is_optimized(self, a0):
13601 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13602 return _IMP_core.Provenance_get_is_optimized(self, a0)
13606 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13607 return _IMP_core.Provenance_get_check_level(self)
13610 def __eq__(self, *args):
13612 __eq__(Provenance self, Provenance o) -> bool
13613 __eq__(Provenance self, Particle d) -> bool
13615 return _IMP_core.Provenance___eq__(self, *args)
13618 def __ne__(self, *args):
13620 __ne__(Provenance self, Provenance o) -> bool
13621 __ne__(Provenance self, Particle d) -> bool
13623 return _IMP_core.Provenance___ne__(self, *args)
13626 def __le__(self, *args):
13628 __le__(Provenance self, Provenance o) -> bool
13629 __le__(Provenance self, Particle d) -> bool
13631 return _IMP_core.Provenance___le__(self, *args)
13634 def __lt__(self, *args):
13636 __lt__(Provenance self, Provenance o) -> bool
13637 __lt__(Provenance self, Particle d) -> bool
13639 return _IMP_core.Provenance___lt__(self, *args)
13642 def __ge__(self, *args):
13644 __ge__(Provenance self, Provenance o) -> bool
13645 __ge__(Provenance self, Particle d) -> bool
13647 return _IMP_core.Provenance___ge__(self, *args)
13650 def __gt__(self, *args):
13652 __gt__(Provenance self, Provenance o) -> bool
13653 __gt__(Provenance self, Particle d) -> bool
13655 return _IMP_core.Provenance___gt__(self, *args)
13658 def __hash__(self):
13659 """__hash__(Provenance self) -> std::size_t"""
13660 return _IMP_core.Provenance___hash__(self)
13664 """__str__(Provenance self) -> std::string"""
13665 return _IMP_core.Provenance___str__(self)
13668 def __repr__(self):
13669 """__repr__(Provenance self) -> std::string"""
13670 return _IMP_core.Provenance___repr__(self)
13672 __swig_destroy__ = _IMP_core.delete_Provenance
13673 __del__ =
lambda self:
None
13674 Provenance_swigregister = _IMP_core.Provenance_swigregister
13675 Provenance_swigregister(Provenance)
13677 def Provenance_get_is_setup(*args):
13679 get_is_setup(Model m, ParticleIndex pi) -> bool
13680 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13682 return _IMP_core.Provenance_get_is_setup(*args)
13684 def Provenance_setup_particle(*args):
13686 setup_particle(Model m, ParticleIndex pi) -> Provenance
13687 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13689 return _IMP_core.Provenance_setup_particle(*args)
13691 class StructureProvenance(Provenance):
13692 """Proxy of C++ IMP::core::StructureProvenance class."""
13694 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13696 def set_filename(self, filename):
13697 """set_filename(StructureProvenance self, std::string filename)"""
13698 return _IMP_core.StructureProvenance_set_filename(self, filename)
13701 def get_filename(self):
13702 """get_filename(StructureProvenance self) -> std::string"""
13703 return _IMP_core.StructureProvenance_get_filename(self)
13706 def set_chain_id(self, chain_id):
13707 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13708 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13712 """get_chain_id(StructureProvenance self) -> std::string"""
13713 return _IMP_core.StructureProvenance_get_chain_id(self)
13716 def set_residue_offset(self, residue_offset):
13717 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13718 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13721 def get_residue_offset(self):
13722 """get_residue_offset(StructureProvenance self) -> int"""
13723 return _IMP_core.StructureProvenance_get_residue_offset(self)
13726 def __init__(self, *args):
13728 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13729 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13730 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13732 this = _IMP_core.new_StructureProvenance(*args)
13734 self.this.append(this)
13735 except __builtin__.Exception:
13738 def get_is_setup(*args):
13740 get_is_setup(Model m, ParticleIndex pi) -> bool
13741 get_is_setup(_ParticleAdaptor p) -> bool
13743 return _IMP_core.StructureProvenance_get_is_setup(*args)
13745 get_is_setup = staticmethod(get_is_setup)
13747 def show(self, *args):
13749 show(StructureProvenance self, _ostream out)
13750 show(StructureProvenance self)
13752 return _IMP_core.StructureProvenance_show(self, *args)
13755 def setup_particle(*args):
13757 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13758 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13759 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13760 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13761 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13762 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13764 return _IMP_core.StructureProvenance_setup_particle(*args)
13766 setup_particle = staticmethod(setup_particle)
13768 def add_attribute(self, *args):
13770 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13771 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13772 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13773 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13774 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13775 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13777 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13780 def get_value(self, *args):
13782 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13783 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13784 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13785 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13786 get_value(StructureProvenance self, ObjectKey a0) -> Object
13788 return _IMP_core.StructureProvenance_get_value(self, *args)
13791 def set_value(self, *args):
13793 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13794 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13795 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13796 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13797 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13799 return _IMP_core.StructureProvenance_set_value(self, *args)
13802 def remove_attribute(self, *args):
13804 remove_attribute(StructureProvenance self, FloatKey a0)
13805 remove_attribute(StructureProvenance self, IntKey a0)
13806 remove_attribute(StructureProvenance self, StringKey a0)
13807 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13808 remove_attribute(StructureProvenance self, ObjectKey a0)
13810 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13813 def has_attribute(self, *args):
13815 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13816 has_attribute(StructureProvenance self, IntKey a0) -> bool
13817 has_attribute(StructureProvenance self, StringKey a0) -> bool
13818 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13819 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13821 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13824 def get_derivative(self, a0):
13825 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13826 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13829 def get_name(self):
13830 """get_name(StructureProvenance self) -> std::string"""
13831 return _IMP_core.StructureProvenance_get_name(self)
13834 def clear_caches(self):
13835 """clear_caches(StructureProvenance self)"""
13836 return _IMP_core.StructureProvenance_clear_caches(self)
13839 def set_name(self, a0):
13840 """set_name(StructureProvenance self, std::string a0)"""
13841 return _IMP_core.StructureProvenance_set_name(self, a0)
13845 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
13846 return _IMP_core.StructureProvenance_set_check_level(self, a0)
13849 def add_to_derivative(self, a0, a1, a2):
13850 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13851 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
13854 def set_is_optimized(self, a0, a1):
13855 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
13856 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
13859 def get_is_optimized(self, a0):
13860 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
13861 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
13865 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
13866 return _IMP_core.StructureProvenance_get_check_level(self)
13869 def __eq__(self, *args):
13871 __eq__(StructureProvenance self, StructureProvenance o) -> bool
13872 __eq__(StructureProvenance self, Particle d) -> bool
13874 return _IMP_core.StructureProvenance___eq__(self, *args)
13877 def __ne__(self, *args):
13879 __ne__(StructureProvenance self, StructureProvenance o) -> bool
13880 __ne__(StructureProvenance self, Particle d) -> bool
13882 return _IMP_core.StructureProvenance___ne__(self, *args)
13885 def __le__(self, *args):
13887 __le__(StructureProvenance self, StructureProvenance o) -> bool
13888 __le__(StructureProvenance self, Particle d) -> bool
13890 return _IMP_core.StructureProvenance___le__(self, *args)
13893 def __lt__(self, *args):
13895 __lt__(StructureProvenance self, StructureProvenance o) -> bool
13896 __lt__(StructureProvenance self, Particle d) -> bool
13898 return _IMP_core.StructureProvenance___lt__(self, *args)
13901 def __ge__(self, *args):
13903 __ge__(StructureProvenance self, StructureProvenance o) -> bool
13904 __ge__(StructureProvenance self, Particle d) -> bool
13906 return _IMP_core.StructureProvenance___ge__(self, *args)
13909 def __gt__(self, *args):
13911 __gt__(StructureProvenance self, StructureProvenance o) -> bool
13912 __gt__(StructureProvenance self, Particle d) -> bool
13914 return _IMP_core.StructureProvenance___gt__(self, *args)
13917 def __hash__(self):
13918 """__hash__(StructureProvenance self) -> std::size_t"""
13919 return _IMP_core.StructureProvenance___hash__(self)
13923 """__str__(StructureProvenance self) -> std::string"""
13924 return _IMP_core.StructureProvenance___str__(self)
13927 def __repr__(self):
13928 """__repr__(StructureProvenance self) -> std::string"""
13929 return _IMP_core.StructureProvenance___repr__(self)
13931 __swig_destroy__ = _IMP_core.delete_StructureProvenance
13932 __del__ =
lambda self:
None
13933 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
13934 StructureProvenance_swigregister(StructureProvenance)
13936 def StructureProvenance_get_is_setup(*args):
13938 get_is_setup(Model m, ParticleIndex pi) -> bool
13939 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
13941 return _IMP_core.StructureProvenance_get_is_setup(*args)
13943 def StructureProvenance_setup_particle(*args):
13945 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13946 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13947 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13948 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13949 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13950 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13952 return _IMP_core.StructureProvenance_setup_particle(*args)
13954 class SampleProvenance(Provenance):
13955 """Proxy of C++ IMP::core::SampleProvenance class."""
13957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13959 def set_method(self, method):
13960 """set_method(SampleProvenance self, std::string method)"""
13961 return _IMP_core.SampleProvenance_set_method(self, method)
13964 def get_method(self):
13965 """get_method(SampleProvenance self) -> std::string"""
13966 return _IMP_core.SampleProvenance_get_method(self)
13969 def set_number_of_frames(self, frames):
13970 """set_number_of_frames(SampleProvenance self, int frames)"""
13971 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
13975 """get_number_of_frames(SampleProvenance self) -> int"""
13976 return _IMP_core.SampleProvenance_get_number_of_frames(self)
13979 def set_number_of_iterations(self, iterations):
13980 """set_number_of_iterations(SampleProvenance self, int iterations)"""
13981 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
13984 def get_number_of_iterations(self):
13985 """get_number_of_iterations(SampleProvenance self) -> int"""
13986 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
13989 def set_number_of_replicas(self, replicas):
13990 """set_number_of_replicas(SampleProvenance self, int replicas)"""
13991 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
13994 def get_number_of_replicas(self):
13995 """get_number_of_replicas(SampleProvenance self) -> int"""
13996 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
13999 def __init__(self, *args):
14001 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
14002 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
14003 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
14005 this = _IMP_core.new_SampleProvenance(*args)
14007 self.this.append(this)
14008 except __builtin__.Exception:
14011 def get_is_setup(*args):
14013 get_is_setup(Model m, ParticleIndex pi) -> bool
14014 get_is_setup(_ParticleAdaptor p) -> bool
14016 return _IMP_core.SampleProvenance_get_is_setup(*args)
14018 get_is_setup = staticmethod(get_is_setup)
14020 def show(self, *args):
14022 show(SampleProvenance self, _ostream out)
14023 show(SampleProvenance self)
14025 return _IMP_core.SampleProvenance_show(self, *args)
14028 def setup_particle(*args):
14030 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14031 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14032 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14033 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14034 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14035 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14037 return _IMP_core.SampleProvenance_setup_particle(*args)
14039 setup_particle = staticmethod(setup_particle)
14041 def add_attribute(self, *args):
14043 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14044 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14045 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14046 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14047 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14048 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14050 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14053 def get_value(self, *args):
14055 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14056 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14057 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14058 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14059 get_value(SampleProvenance self, ObjectKey a0) -> Object
14061 return _IMP_core.SampleProvenance_get_value(self, *args)
14064 def set_value(self, *args):
14066 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14067 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14068 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14069 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14070 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14072 return _IMP_core.SampleProvenance_set_value(self, *args)
14075 def remove_attribute(self, *args):
14077 remove_attribute(SampleProvenance self, FloatKey a0)
14078 remove_attribute(SampleProvenance self, IntKey a0)
14079 remove_attribute(SampleProvenance self, StringKey a0)
14080 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14081 remove_attribute(SampleProvenance self, ObjectKey a0)
14083 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14086 def has_attribute(self, *args):
14088 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14089 has_attribute(SampleProvenance self, IntKey a0) -> bool
14090 has_attribute(SampleProvenance self, StringKey a0) -> bool
14091 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14092 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14094 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14097 def get_derivative(self, a0):
14098 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14099 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14102 def get_name(self):
14103 """get_name(SampleProvenance self) -> std::string"""
14104 return _IMP_core.SampleProvenance_get_name(self)
14107 def clear_caches(self):
14108 """clear_caches(SampleProvenance self)"""
14109 return _IMP_core.SampleProvenance_clear_caches(self)
14112 def set_name(self, a0):
14113 """set_name(SampleProvenance self, std::string a0)"""
14114 return _IMP_core.SampleProvenance_set_name(self, a0)
14118 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14119 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14122 def add_to_derivative(self, a0, a1, a2):
14123 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14124 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14127 def set_is_optimized(self, a0, a1):
14128 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14129 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14132 def get_is_optimized(self, a0):
14133 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14134 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14138 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14139 return _IMP_core.SampleProvenance_get_check_level(self)
14142 def __eq__(self, *args):
14144 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14145 __eq__(SampleProvenance self, Particle d) -> bool
14147 return _IMP_core.SampleProvenance___eq__(self, *args)
14150 def __ne__(self, *args):
14152 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14153 __ne__(SampleProvenance self, Particle d) -> bool
14155 return _IMP_core.SampleProvenance___ne__(self, *args)
14158 def __le__(self, *args):
14160 __le__(SampleProvenance self, SampleProvenance o) -> bool
14161 __le__(SampleProvenance self, Particle d) -> bool
14163 return _IMP_core.SampleProvenance___le__(self, *args)
14166 def __lt__(self, *args):
14168 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14169 __lt__(SampleProvenance self, Particle d) -> bool
14171 return _IMP_core.SampleProvenance___lt__(self, *args)
14174 def __ge__(self, *args):
14176 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14177 __ge__(SampleProvenance self, Particle d) -> bool
14179 return _IMP_core.SampleProvenance___ge__(self, *args)
14182 def __gt__(self, *args):
14184 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14185 __gt__(SampleProvenance self, Particle d) -> bool
14187 return _IMP_core.SampleProvenance___gt__(self, *args)
14190 def __hash__(self):
14191 """__hash__(SampleProvenance self) -> std::size_t"""
14192 return _IMP_core.SampleProvenance___hash__(self)
14196 """__str__(SampleProvenance self) -> std::string"""
14197 return _IMP_core.SampleProvenance___str__(self)
14200 def __repr__(self):
14201 """__repr__(SampleProvenance self) -> std::string"""
14202 return _IMP_core.SampleProvenance___repr__(self)
14204 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14205 __del__ =
lambda self:
None
14206 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14207 SampleProvenance_swigregister(SampleProvenance)
14209 def SampleProvenance_get_is_setup(*args):
14211 get_is_setup(Model m, ParticleIndex pi) -> bool
14212 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14214 return _IMP_core.SampleProvenance_get_is_setup(*args)
14216 def SampleProvenance_setup_particle(*args):
14218 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14219 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14220 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14221 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14222 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14223 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14225 return _IMP_core.SampleProvenance_setup_particle(*args)
14227 class CombineProvenance(Provenance):
14228 """Proxy of C++ IMP::core::CombineProvenance class."""
14230 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14232 def set_number_of_frames(self, frames):
14233 """set_number_of_frames(CombineProvenance self, int frames)"""
14234 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14238 """get_number_of_frames(CombineProvenance self) -> int"""
14239 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14242 def set_number_of_runs(self, runs):
14243 """set_number_of_runs(CombineProvenance self, int runs)"""
14244 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14247 def get_number_of_runs(self):
14248 """get_number_of_runs(CombineProvenance self) -> int"""
14249 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14252 def __init__(self, *args):
14254 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14255 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14256 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14258 this = _IMP_core.new_CombineProvenance(*args)
14260 self.this.append(this)
14261 except __builtin__.Exception:
14264 def get_is_setup(*args):
14266 get_is_setup(Model m, ParticleIndex pi) -> bool
14267 get_is_setup(_ParticleAdaptor p) -> bool
14269 return _IMP_core.CombineProvenance_get_is_setup(*args)
14271 get_is_setup = staticmethod(get_is_setup)
14273 def show(self, *args):
14275 show(CombineProvenance self, _ostream out)
14276 show(CombineProvenance self)
14278 return _IMP_core.CombineProvenance_show(self, *args)
14281 def setup_particle(*args):
14283 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14284 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14285 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14286 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14288 return _IMP_core.CombineProvenance_setup_particle(*args)
14290 setup_particle = staticmethod(setup_particle)
14292 def add_attribute(self, *args):
14294 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14295 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14296 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14297 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14298 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14299 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14301 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14304 def get_value(self, *args):
14306 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14307 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14308 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14309 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14310 get_value(CombineProvenance self, ObjectKey a0) -> Object
14312 return _IMP_core.CombineProvenance_get_value(self, *args)
14315 def set_value(self, *args):
14317 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14318 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14319 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14320 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14321 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14323 return _IMP_core.CombineProvenance_set_value(self, *args)
14326 def remove_attribute(self, *args):
14328 remove_attribute(CombineProvenance self, FloatKey a0)
14329 remove_attribute(CombineProvenance self, IntKey a0)
14330 remove_attribute(CombineProvenance self, StringKey a0)
14331 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14332 remove_attribute(CombineProvenance self, ObjectKey a0)
14334 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14337 def has_attribute(self, *args):
14339 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14340 has_attribute(CombineProvenance self, IntKey a0) -> bool
14341 has_attribute(CombineProvenance self, StringKey a0) -> bool
14342 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14343 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14345 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14348 def get_derivative(self, a0):
14349 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14350 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14353 def get_name(self):
14354 """get_name(CombineProvenance self) -> std::string"""
14355 return _IMP_core.CombineProvenance_get_name(self)
14358 def clear_caches(self):
14359 """clear_caches(CombineProvenance self)"""
14360 return _IMP_core.CombineProvenance_clear_caches(self)
14363 def set_name(self, a0):
14364 """set_name(CombineProvenance self, std::string a0)"""
14365 return _IMP_core.CombineProvenance_set_name(self, a0)
14369 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14370 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14373 def add_to_derivative(self, a0, a1, a2):
14374 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14375 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14378 def set_is_optimized(self, a0, a1):
14379 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14380 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14383 def get_is_optimized(self, a0):
14384 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14385 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14389 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14390 return _IMP_core.CombineProvenance_get_check_level(self)
14393 def __eq__(self, *args):
14395 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14396 __eq__(CombineProvenance self, Particle d) -> bool
14398 return _IMP_core.CombineProvenance___eq__(self, *args)
14401 def __ne__(self, *args):
14403 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14404 __ne__(CombineProvenance self, Particle d) -> bool
14406 return _IMP_core.CombineProvenance___ne__(self, *args)
14409 def __le__(self, *args):
14411 __le__(CombineProvenance self, CombineProvenance o) -> bool
14412 __le__(CombineProvenance self, Particle d) -> bool
14414 return _IMP_core.CombineProvenance___le__(self, *args)
14417 def __lt__(self, *args):
14419 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14420 __lt__(CombineProvenance self, Particle d) -> bool
14422 return _IMP_core.CombineProvenance___lt__(self, *args)
14425 def __ge__(self, *args):
14427 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14428 __ge__(CombineProvenance self, Particle d) -> bool
14430 return _IMP_core.CombineProvenance___ge__(self, *args)
14433 def __gt__(self, *args):
14435 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14436 __gt__(CombineProvenance self, Particle d) -> bool
14438 return _IMP_core.CombineProvenance___gt__(self, *args)
14441 def __hash__(self):
14442 """__hash__(CombineProvenance self) -> std::size_t"""
14443 return _IMP_core.CombineProvenance___hash__(self)
14447 """__str__(CombineProvenance self) -> std::string"""
14448 return _IMP_core.CombineProvenance___str__(self)
14451 def __repr__(self):
14452 """__repr__(CombineProvenance self) -> std::string"""
14453 return _IMP_core.CombineProvenance___repr__(self)
14455 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14456 __del__ =
lambda self:
None
14457 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14458 CombineProvenance_swigregister(CombineProvenance)
14460 def CombineProvenance_get_is_setup(*args):
14462 get_is_setup(Model m, ParticleIndex pi) -> bool
14463 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14465 return _IMP_core.CombineProvenance_get_is_setup(*args)
14467 def CombineProvenance_setup_particle(*args):
14469 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14470 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14471 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14472 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14474 return _IMP_core.CombineProvenance_setup_particle(*args)
14476 class FilterProvenance(Provenance):
14477 """Proxy of C++ IMP::core::FilterProvenance class."""
14479 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14481 def set_method(self, method):
14482 """set_method(FilterProvenance self, std::string method)"""
14483 return _IMP_core.FilterProvenance_set_method(self, method)
14486 def get_method(self):
14487 """get_method(FilterProvenance self) -> std::string"""
14488 return _IMP_core.FilterProvenance_get_method(self)
14491 def set_number_of_frames(self, frames):
14492 """set_number_of_frames(FilterProvenance self, int frames)"""
14493 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14497 """get_number_of_frames(FilterProvenance self) -> int"""
14498 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14501 def set_threshold(self, threshold):
14502 """set_threshold(FilterProvenance self, double threshold)"""
14503 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14506 def get_threshold(self):
14507 """get_threshold(FilterProvenance self) -> double"""
14508 return _IMP_core.FilterProvenance_get_threshold(self)
14511 def __init__(self, *args):
14513 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14514 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14515 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14517 this = _IMP_core.new_FilterProvenance(*args)
14519 self.this.append(this)
14520 except __builtin__.Exception:
14523 def get_is_setup(*args):
14525 get_is_setup(Model m, ParticleIndex pi) -> bool
14526 get_is_setup(_ParticleAdaptor p) -> bool
14528 return _IMP_core.FilterProvenance_get_is_setup(*args)
14530 get_is_setup = staticmethod(get_is_setup)
14532 def show(self, *args):
14534 show(FilterProvenance self, _ostream out)
14535 show(FilterProvenance self)
14537 return _IMP_core.FilterProvenance_show(self, *args)
14540 def setup_particle(*args):
14542 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14543 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14544 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14545 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14547 return _IMP_core.FilterProvenance_setup_particle(*args)
14549 setup_particle = staticmethod(setup_particle)
14551 def add_attribute(self, *args):
14553 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14554 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14555 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14556 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14557 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14558 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14560 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14563 def get_value(self, *args):
14565 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14566 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14567 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14568 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14569 get_value(FilterProvenance self, ObjectKey a0) -> Object
14571 return _IMP_core.FilterProvenance_get_value(self, *args)
14574 def set_value(self, *args):
14576 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14577 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14578 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14579 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14580 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14582 return _IMP_core.FilterProvenance_set_value(self, *args)
14585 def remove_attribute(self, *args):
14587 remove_attribute(FilterProvenance self, FloatKey a0)
14588 remove_attribute(FilterProvenance self, IntKey a0)
14589 remove_attribute(FilterProvenance self, StringKey a0)
14590 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14591 remove_attribute(FilterProvenance self, ObjectKey a0)
14593 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14596 def has_attribute(self, *args):
14598 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14599 has_attribute(FilterProvenance self, IntKey a0) -> bool
14600 has_attribute(FilterProvenance self, StringKey a0) -> bool
14601 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14602 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14604 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14607 def get_derivative(self, a0):
14608 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14609 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14612 def get_name(self):
14613 """get_name(FilterProvenance self) -> std::string"""
14614 return _IMP_core.FilterProvenance_get_name(self)
14617 def clear_caches(self):
14618 """clear_caches(FilterProvenance self)"""
14619 return _IMP_core.FilterProvenance_clear_caches(self)
14622 def set_name(self, a0):
14623 """set_name(FilterProvenance self, std::string a0)"""
14624 return _IMP_core.FilterProvenance_set_name(self, a0)
14628 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14629 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14632 def add_to_derivative(self, a0, a1, a2):
14633 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14634 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14637 def set_is_optimized(self, a0, a1):
14638 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14639 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14642 def get_is_optimized(self, a0):
14643 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14644 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14648 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14649 return _IMP_core.FilterProvenance_get_check_level(self)
14652 def __eq__(self, *args):
14654 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14655 __eq__(FilterProvenance self, Particle d) -> bool
14657 return _IMP_core.FilterProvenance___eq__(self, *args)
14660 def __ne__(self, *args):
14662 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14663 __ne__(FilterProvenance self, Particle d) -> bool
14665 return _IMP_core.FilterProvenance___ne__(self, *args)
14668 def __le__(self, *args):
14670 __le__(FilterProvenance self, FilterProvenance o) -> bool
14671 __le__(FilterProvenance self, Particle d) -> bool
14673 return _IMP_core.FilterProvenance___le__(self, *args)
14676 def __lt__(self, *args):
14678 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14679 __lt__(FilterProvenance self, Particle d) -> bool
14681 return _IMP_core.FilterProvenance___lt__(self, *args)
14684 def __ge__(self, *args):
14686 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14687 __ge__(FilterProvenance self, Particle d) -> bool
14689 return _IMP_core.FilterProvenance___ge__(self, *args)
14692 def __gt__(self, *args):
14694 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14695 __gt__(FilterProvenance self, Particle d) -> bool
14697 return _IMP_core.FilterProvenance___gt__(self, *args)
14700 def __hash__(self):
14701 """__hash__(FilterProvenance self) -> std::size_t"""
14702 return _IMP_core.FilterProvenance___hash__(self)
14706 """__str__(FilterProvenance self) -> std::string"""
14707 return _IMP_core.FilterProvenance___str__(self)
14710 def __repr__(self):
14711 """__repr__(FilterProvenance self) -> std::string"""
14712 return _IMP_core.FilterProvenance___repr__(self)
14714 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14715 __del__ =
lambda self:
None
14716 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14717 FilterProvenance_swigregister(FilterProvenance)
14719 def FilterProvenance_get_is_setup(*args):
14721 get_is_setup(Model m, ParticleIndex pi) -> bool
14722 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14724 return _IMP_core.FilterProvenance_get_is_setup(*args)
14726 def FilterProvenance_setup_particle(*args):
14728 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14729 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14730 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14731 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14733 return _IMP_core.FilterProvenance_setup_particle(*args)
14735 class ClusterProvenance(Provenance):
14736 """Proxy of C++ IMP::core::ClusterProvenance class."""
14738 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14740 def set_number_of_members(self, members):
14741 """set_number_of_members(ClusterProvenance self, int members)"""
14742 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14745 def get_number_of_members(self):
14746 """get_number_of_members(ClusterProvenance self) -> int"""
14747 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14750 def __init__(self, *args):
14752 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14753 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14754 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14756 this = _IMP_core.new_ClusterProvenance(*args)
14758 self.this.append(this)
14759 except __builtin__.Exception:
14762 def get_is_setup(*args):
14764 get_is_setup(Model m, ParticleIndex pi) -> bool
14765 get_is_setup(_ParticleAdaptor p) -> bool
14767 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14769 get_is_setup = staticmethod(get_is_setup)
14771 def show(self, *args):
14773 show(ClusterProvenance self, _ostream out)
14774 show(ClusterProvenance self)
14776 return _IMP_core.ClusterProvenance_show(self, *args)
14779 def setup_particle(*args):
14781 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14782 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14783 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14784 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14786 return _IMP_core.ClusterProvenance_setup_particle(*args)
14788 setup_particle = staticmethod(setup_particle)
14790 def add_attribute(self, *args):
14792 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
14793 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14794 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
14795 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
14796 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14797 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
14799 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
14802 def get_value(self, *args):
14804 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
14805 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
14806 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
14807 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
14808 get_value(ClusterProvenance self, ObjectKey a0) -> Object
14810 return _IMP_core.ClusterProvenance_get_value(self, *args)
14813 def set_value(self, *args):
14815 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14816 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
14817 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
14818 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14819 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
14821 return _IMP_core.ClusterProvenance_set_value(self, *args)
14824 def remove_attribute(self, *args):
14826 remove_attribute(ClusterProvenance self, FloatKey a0)
14827 remove_attribute(ClusterProvenance self, IntKey a0)
14828 remove_attribute(ClusterProvenance self, StringKey a0)
14829 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
14830 remove_attribute(ClusterProvenance self, ObjectKey a0)
14832 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
14835 def has_attribute(self, *args):
14837 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
14838 has_attribute(ClusterProvenance self, IntKey a0) -> bool
14839 has_attribute(ClusterProvenance self, StringKey a0) -> bool
14840 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
14841 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
14843 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
14846 def get_derivative(self, a0):
14847 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
14848 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
14851 def get_name(self):
14852 """get_name(ClusterProvenance self) -> std::string"""
14853 return _IMP_core.ClusterProvenance_get_name(self)
14856 def clear_caches(self):
14857 """clear_caches(ClusterProvenance self)"""
14858 return _IMP_core.ClusterProvenance_clear_caches(self)
14861 def set_name(self, a0):
14862 """set_name(ClusterProvenance self, std::string a0)"""
14863 return _IMP_core.ClusterProvenance_set_name(self, a0)
14867 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
14868 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
14871 def add_to_derivative(self, a0, a1, a2):
14872 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14873 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
14876 def set_is_optimized(self, a0, a1):
14877 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
14878 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
14881 def get_is_optimized(self, a0):
14882 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
14883 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
14887 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
14888 return _IMP_core.ClusterProvenance_get_check_level(self)
14891 def __eq__(self, *args):
14893 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
14894 __eq__(ClusterProvenance self, Particle d) -> bool
14896 return _IMP_core.ClusterProvenance___eq__(self, *args)
14899 def __ne__(self, *args):
14901 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
14902 __ne__(ClusterProvenance self, Particle d) -> bool
14904 return _IMP_core.ClusterProvenance___ne__(self, *args)
14907 def __le__(self, *args):
14909 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
14910 __le__(ClusterProvenance self, Particle d) -> bool
14912 return _IMP_core.ClusterProvenance___le__(self, *args)
14915 def __lt__(self, *args):
14917 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
14918 __lt__(ClusterProvenance self, Particle d) -> bool
14920 return _IMP_core.ClusterProvenance___lt__(self, *args)
14923 def __ge__(self, *args):
14925 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
14926 __ge__(ClusterProvenance self, Particle d) -> bool
14928 return _IMP_core.ClusterProvenance___ge__(self, *args)
14931 def __gt__(self, *args):
14933 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
14934 __gt__(ClusterProvenance self, Particle d) -> bool
14936 return _IMP_core.ClusterProvenance___gt__(self, *args)
14939 def __hash__(self):
14940 """__hash__(ClusterProvenance self) -> std::size_t"""
14941 return _IMP_core.ClusterProvenance___hash__(self)
14945 """__str__(ClusterProvenance self) -> std::string"""
14946 return _IMP_core.ClusterProvenance___str__(self)
14949 def __repr__(self):
14950 """__repr__(ClusterProvenance self) -> std::string"""
14951 return _IMP_core.ClusterProvenance___repr__(self)
14953 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
14954 __del__ =
lambda self:
None
14955 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
14956 ClusterProvenance_swigregister(ClusterProvenance)
14958 def ClusterProvenance_get_is_setup(*args):
14960 get_is_setup(Model m, ParticleIndex pi) -> bool
14961 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14963 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14965 def ClusterProvenance_setup_particle(*args):
14967 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14968 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14969 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14970 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14972 return _IMP_core.ClusterProvenance_setup_particle(*args)
14974 class ScriptProvenance(Provenance):
14975 """Proxy of C++ IMP::core::ScriptProvenance class."""
14977 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14979 def set_filename(self, filename):
14980 """set_filename(ScriptProvenance self, std::string filename)"""
14981 return _IMP_core.ScriptProvenance_set_filename(self, filename)
14984 def get_filename(self):
14985 """get_filename(ScriptProvenance self) -> std::string"""
14986 return _IMP_core.ScriptProvenance_get_filename(self)
14989 def __init__(self, *args):
14991 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
14992 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
14993 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
14995 this = _IMP_core.new_ScriptProvenance(*args)
14997 self.this.append(this)
14998 except __builtin__.Exception:
15001 def get_is_setup(*args):
15003 get_is_setup(Model m, ParticleIndex pi) -> bool
15004 get_is_setup(_ParticleAdaptor p) -> bool
15006 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15008 get_is_setup = staticmethod(get_is_setup)
15010 def show(self, *args):
15012 show(ScriptProvenance self, _ostream out)
15013 show(ScriptProvenance self)
15015 return _IMP_core.ScriptProvenance_show(self, *args)
15018 def setup_particle(*args):
15020 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15021 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15022 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15023 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15025 return _IMP_core.ScriptProvenance_setup_particle(*args)
15027 setup_particle = staticmethod(setup_particle)
15029 def add_attribute(self, *args):
15031 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15032 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15033 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15034 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15035 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15036 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15038 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15041 def get_value(self, *args):
15043 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15044 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15045 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15046 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15047 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15049 return _IMP_core.ScriptProvenance_get_value(self, *args)
15052 def set_value(self, *args):
15054 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15055 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15056 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15057 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15058 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15060 return _IMP_core.ScriptProvenance_set_value(self, *args)
15063 def remove_attribute(self, *args):
15065 remove_attribute(ScriptProvenance self, FloatKey a0)
15066 remove_attribute(ScriptProvenance self, IntKey a0)
15067 remove_attribute(ScriptProvenance self, StringKey a0)
15068 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15069 remove_attribute(ScriptProvenance self, ObjectKey a0)
15071 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15074 def has_attribute(self, *args):
15076 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15077 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15078 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15079 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15080 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15082 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15085 def get_derivative(self, a0):
15086 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15087 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15090 def get_name(self):
15091 """get_name(ScriptProvenance self) -> std::string"""
15092 return _IMP_core.ScriptProvenance_get_name(self)
15095 def clear_caches(self):
15096 """clear_caches(ScriptProvenance self)"""
15097 return _IMP_core.ScriptProvenance_clear_caches(self)
15100 def set_name(self, a0):
15101 """set_name(ScriptProvenance self, std::string a0)"""
15102 return _IMP_core.ScriptProvenance_set_name(self, a0)
15106 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15107 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15110 def add_to_derivative(self, a0, a1, a2):
15111 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15112 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15115 def set_is_optimized(self, a0, a1):
15116 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15117 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15120 def get_is_optimized(self, a0):
15121 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15122 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15126 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15127 return _IMP_core.ScriptProvenance_get_check_level(self)
15130 def __eq__(self, *args):
15132 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15133 __eq__(ScriptProvenance self, Particle d) -> bool
15135 return _IMP_core.ScriptProvenance___eq__(self, *args)
15138 def __ne__(self, *args):
15140 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15141 __ne__(ScriptProvenance self, Particle d) -> bool
15143 return _IMP_core.ScriptProvenance___ne__(self, *args)
15146 def __le__(self, *args):
15148 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15149 __le__(ScriptProvenance self, Particle d) -> bool
15151 return _IMP_core.ScriptProvenance___le__(self, *args)
15154 def __lt__(self, *args):
15156 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15157 __lt__(ScriptProvenance self, Particle d) -> bool
15159 return _IMP_core.ScriptProvenance___lt__(self, *args)
15162 def __ge__(self, *args):
15164 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15165 __ge__(ScriptProvenance self, Particle d) -> bool
15167 return _IMP_core.ScriptProvenance___ge__(self, *args)
15170 def __gt__(self, *args):
15172 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15173 __gt__(ScriptProvenance self, Particle d) -> bool
15175 return _IMP_core.ScriptProvenance___gt__(self, *args)
15178 def __hash__(self):
15179 """__hash__(ScriptProvenance self) -> std::size_t"""
15180 return _IMP_core.ScriptProvenance___hash__(self)
15184 """__str__(ScriptProvenance self) -> std::string"""
15185 return _IMP_core.ScriptProvenance___str__(self)
15188 def __repr__(self):
15189 """__repr__(ScriptProvenance self) -> std::string"""
15190 return _IMP_core.ScriptProvenance___repr__(self)
15192 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15193 __del__ =
lambda self:
None
15194 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15195 ScriptProvenance_swigregister(ScriptProvenance)
15197 def ScriptProvenance_get_is_setup(*args):
15199 get_is_setup(Model m, ParticleIndex pi) -> bool
15200 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15202 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15204 def ScriptProvenance_setup_particle(*args):
15206 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15207 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15208 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15209 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15211 return _IMP_core.ScriptProvenance_setup_particle(*args)
15213 class SoftwareProvenance(Provenance):
15214 """Proxy of C++ IMP::core::SoftwareProvenance class."""
15216 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15218 def set_software_name(self, name):
15219 """set_software_name(SoftwareProvenance self, std::string name)"""
15220 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15223 def get_software_name(self):
15224 """get_software_name(SoftwareProvenance self) -> std::string"""
15225 return _IMP_core.SoftwareProvenance_get_software_name(self)
15228 def set_version(self, version):
15229 """set_version(SoftwareProvenance self, std::string version)"""
15230 return _IMP_core.SoftwareProvenance_set_version(self, version)
15233 def get_version(self):
15234 """get_version(SoftwareProvenance self) -> std::string"""
15235 return _IMP_core.SoftwareProvenance_get_version(self)
15238 def set_location(self, location):
15239 """set_location(SoftwareProvenance self, std::string location)"""
15240 return _IMP_core.SoftwareProvenance_set_location(self, location)
15243 def get_location(self):
15244 """get_location(SoftwareProvenance self) -> std::string"""
15245 return _IMP_core.SoftwareProvenance_get_location(self)
15248 def __init__(self, *args):
15250 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15251 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15252 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15254 this = _IMP_core.new_SoftwareProvenance(*args)
15256 self.this.append(this)
15257 except __builtin__.Exception:
15260 def get_is_setup(*args):
15262 get_is_setup(Model m, ParticleIndex pi) -> bool
15263 get_is_setup(_ParticleAdaptor p) -> bool
15265 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15267 get_is_setup = staticmethod(get_is_setup)
15269 def show(self, *args):
15271 show(SoftwareProvenance self, _ostream out)
15272 show(SoftwareProvenance self)
15274 return _IMP_core.SoftwareProvenance_show(self, *args)
15277 def setup_particle(*args):
15279 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15280 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15281 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15282 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15284 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15286 setup_particle = staticmethod(setup_particle)
15288 def add_attribute(self, *args):
15290 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15291 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15292 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15293 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15294 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15295 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15297 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15300 def get_value(self, *args):
15302 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15303 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15304 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15305 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15306 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15308 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15311 def set_value(self, *args):
15313 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15314 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15315 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15316 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15317 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15319 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15322 def remove_attribute(self, *args):
15324 remove_attribute(SoftwareProvenance self, FloatKey a0)
15325 remove_attribute(SoftwareProvenance self, IntKey a0)
15326 remove_attribute(SoftwareProvenance self, StringKey a0)
15327 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15328 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15330 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15333 def has_attribute(self, *args):
15335 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15336 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15337 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15338 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15339 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15341 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15344 def get_derivative(self, a0):
15345 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15346 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15349 def get_name(self):
15350 """get_name(SoftwareProvenance self) -> std::string"""
15351 return _IMP_core.SoftwareProvenance_get_name(self)
15354 def clear_caches(self):
15355 """clear_caches(SoftwareProvenance self)"""
15356 return _IMP_core.SoftwareProvenance_clear_caches(self)
15359 def set_name(self, a0):
15360 """set_name(SoftwareProvenance self, std::string a0)"""
15361 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15365 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15366 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15369 def add_to_derivative(self, a0, a1, a2):
15370 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15371 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15374 def set_is_optimized(self, a0, a1):
15375 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15376 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15379 def get_is_optimized(self, a0):
15380 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15381 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15385 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15386 return _IMP_core.SoftwareProvenance_get_check_level(self)
15389 def __eq__(self, *args):
15391 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15392 __eq__(SoftwareProvenance self, Particle d) -> bool
15394 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15397 def __ne__(self, *args):
15399 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15400 __ne__(SoftwareProvenance self, Particle d) -> bool
15402 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15405 def __le__(self, *args):
15407 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15408 __le__(SoftwareProvenance self, Particle d) -> bool
15410 return _IMP_core.SoftwareProvenance___le__(self, *args)
15413 def __lt__(self, *args):
15415 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15416 __lt__(SoftwareProvenance self, Particle d) -> bool
15418 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15421 def __ge__(self, *args):
15423 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15424 __ge__(SoftwareProvenance self, Particle d) -> bool
15426 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15429 def __gt__(self, *args):
15431 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15432 __gt__(SoftwareProvenance self, Particle d) -> bool
15434 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15437 def __hash__(self):
15438 """__hash__(SoftwareProvenance self) -> std::size_t"""
15439 return _IMP_core.SoftwareProvenance___hash__(self)
15443 """__str__(SoftwareProvenance self) -> std::string"""
15444 return _IMP_core.SoftwareProvenance___str__(self)
15447 def __repr__(self):
15448 """__repr__(SoftwareProvenance self) -> std::string"""
15449 return _IMP_core.SoftwareProvenance___repr__(self)
15451 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15452 __del__ =
lambda self:
None
15453 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15454 SoftwareProvenance_swigregister(SoftwareProvenance)
15456 def SoftwareProvenance_get_is_setup(*args):
15458 get_is_setup(Model m, ParticleIndex pi) -> bool
15459 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15461 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15463 def SoftwareProvenance_setup_particle(*args):
15465 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15466 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15467 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15468 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15470 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15473 """Proxy of C++ IMP::core::Provenanced class."""
15475 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15477 def get_provenance(self):
15478 """get_provenance(Provenanced self) -> Provenance"""
15479 return _IMP_core.Provenanced_get_provenance(self)
15482 def set_provenance(self, p):
15483 """set_provenance(Provenanced self, Provenance p)"""
15484 return _IMP_core.Provenanced_set_provenance(self, p)
15487 def __init__(self, *args):
15489 __init__(IMP::core::Provenanced self) -> Provenanced
15490 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15491 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15493 this = _IMP_core.new_Provenanced(*args)
15495 self.this.append(this)
15496 except __builtin__.Exception:
15499 def get_is_setup(*args):
15501 get_is_setup(Model m, ParticleIndex pi) -> bool
15502 get_is_setup(_ParticleAdaptor p) -> bool
15504 return _IMP_core.Provenanced_get_is_setup(*args)
15506 get_is_setup = staticmethod(get_is_setup)
15508 def show(self, *args):
15510 show(Provenanced self, _ostream out)
15511 show(Provenanced self)
15513 return _IMP_core.Provenanced_show(self, *args)
15516 def setup_particle(*args):
15518 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15519 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15521 return _IMP_core.Provenanced_setup_particle(*args)
15523 setup_particle = staticmethod(setup_particle)
15525 def add_attribute(self, *args):
15527 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15528 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15529 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15530 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15531 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15532 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15534 return _IMP_core.Provenanced_add_attribute(self, *args)
15537 def get_value(self, *args):
15539 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15540 get_value(Provenanced self, IntKey a0) -> IMP::Int
15541 get_value(Provenanced self, StringKey a0) -> IMP::String
15542 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15543 get_value(Provenanced self, ObjectKey a0) -> Object
15545 return _IMP_core.Provenanced_get_value(self, *args)
15548 def set_value(self, *args):
15550 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15551 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15552 set_value(Provenanced self, StringKey a0, IMP::String a1)
15553 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15554 set_value(Provenanced self, ObjectKey a0, Object a1)
15556 return _IMP_core.Provenanced_set_value(self, *args)
15559 def remove_attribute(self, *args):
15561 remove_attribute(Provenanced self, FloatKey a0)
15562 remove_attribute(Provenanced self, IntKey a0)
15563 remove_attribute(Provenanced self, StringKey a0)
15564 remove_attribute(Provenanced self, ParticleIndexKey a0)
15565 remove_attribute(Provenanced self, ObjectKey a0)
15567 return _IMP_core.Provenanced_remove_attribute(self, *args)
15570 def has_attribute(self, *args):
15572 has_attribute(Provenanced self, FloatKey a0) -> bool
15573 has_attribute(Provenanced self, IntKey a0) -> bool
15574 has_attribute(Provenanced self, StringKey a0) -> bool
15575 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15576 has_attribute(Provenanced self, ObjectKey a0) -> bool
15578 return _IMP_core.Provenanced_has_attribute(self, *args)
15581 def get_derivative(self, a0):
15582 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15583 return _IMP_core.Provenanced_get_derivative(self, a0)
15586 def get_name(self):
15587 """get_name(Provenanced self) -> std::string"""
15588 return _IMP_core.Provenanced_get_name(self)
15591 def clear_caches(self):
15592 """clear_caches(Provenanced self)"""
15593 return _IMP_core.Provenanced_clear_caches(self)
15596 def set_name(self, a0):
15597 """set_name(Provenanced self, std::string a0)"""
15598 return _IMP_core.Provenanced_set_name(self, a0)
15602 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15603 return _IMP_core.Provenanced_set_check_level(self, a0)
15606 def add_to_derivative(self, a0, a1, a2):
15607 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15608 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15611 def set_is_optimized(self, a0, a1):
15612 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15613 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15616 def get_is_optimized(self, a0):
15617 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15618 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15622 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15623 return _IMP_core.Provenanced_get_check_level(self)
15626 def __eq__(self, *args):
15628 __eq__(Provenanced self, Provenanced o) -> bool
15629 __eq__(Provenanced self, Particle d) -> bool
15631 return _IMP_core.Provenanced___eq__(self, *args)
15634 def __ne__(self, *args):
15636 __ne__(Provenanced self, Provenanced o) -> bool
15637 __ne__(Provenanced self, Particle d) -> bool
15639 return _IMP_core.Provenanced___ne__(self, *args)
15642 def __le__(self, *args):
15644 __le__(Provenanced self, Provenanced o) -> bool
15645 __le__(Provenanced self, Particle d) -> bool
15647 return _IMP_core.Provenanced___le__(self, *args)
15650 def __lt__(self, *args):
15652 __lt__(Provenanced self, Provenanced o) -> bool
15653 __lt__(Provenanced self, Particle d) -> bool
15655 return _IMP_core.Provenanced___lt__(self, *args)
15658 def __ge__(self, *args):
15660 __ge__(Provenanced self, Provenanced o) -> bool
15661 __ge__(Provenanced self, Particle d) -> bool
15663 return _IMP_core.Provenanced___ge__(self, *args)
15666 def __gt__(self, *args):
15668 __gt__(Provenanced self, Provenanced o) -> bool
15669 __gt__(Provenanced self, Particle d) -> bool
15671 return _IMP_core.Provenanced___gt__(self, *args)
15674 def __hash__(self):
15675 """__hash__(Provenanced self) -> std::size_t"""
15676 return _IMP_core.Provenanced___hash__(self)
15680 """__str__(Provenanced self) -> std::string"""
15681 return _IMP_core.Provenanced___str__(self)
15684 def __repr__(self):
15685 """__repr__(Provenanced self) -> std::string"""
15686 return _IMP_core.Provenanced___repr__(self)
15688 __swig_destroy__ = _IMP_core.delete_Provenanced
15689 __del__ =
lambda self:
None
15690 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15691 Provenanced_swigregister(Provenanced)
15693 def Provenanced_get_is_setup(*args):
15695 get_is_setup(Model m, ParticleIndex pi) -> bool
15696 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15698 return _IMP_core.Provenanced_get_is_setup(*args)
15700 def Provenanced_setup_particle(*args):
15702 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15703 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15705 return _IMP_core.Provenanced_setup_particle(*args)
15709 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15710 return _IMP_core.add_provenance(m, pi, p)
15713 """create_clone(Provenance p) -> Provenance"""
15714 return _IMP_core.create_clone(p)
15718 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15719 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15720 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15722 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15725 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15726 return _IMP_core.create_restraint(ps, pp)
15728 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
15730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15732 def __init__(self, *args):
15734 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15735 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
15737 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
15739 self.this.append(this)
15740 except __builtin__.Exception:
15743 def get_version_info(self):
15744 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
15745 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
15749 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
15750 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
15753 def __repr__(self):
15754 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
15755 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
15760 return _object_cast_to_TruncatedHarmonic(o)
15762 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
15763 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
15766 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
15768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15770 def __init__(self, *args):
15772 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
15773 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
15775 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
15777 self.this.append(this)
15778 except __builtin__.Exception:
15781 def get_version_info(self):
15782 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
15783 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
15787 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
15788 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
15791 def __repr__(self):
15792 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
15793 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
15798 return _object_cast_to_TruncatedHarmonic(o)
15800 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
15801 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
15804 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
15806 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15808 def __init__(self, *args):
15810 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
15811 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
15813 this = _IMP_core.new_TruncatedHarmonicBound(*args)
15815 self.this.append(this)
15816 except __builtin__.Exception:
15819 def get_version_info(self):
15820 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
15821 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
15825 """__str__(TruncatedHarmonicBound self) -> std::string"""
15826 return _IMP_core.TruncatedHarmonicBound___str__(self)
15829 def __repr__(self):
15830 """__repr__(TruncatedHarmonicBound self) -> std::string"""
15831 return _IMP_core.TruncatedHarmonicBound___repr__(self)
15836 return _object_cast_to_TruncatedHarmonic(o)
15838 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
15839 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
15842 """Proxy of C++ IMP::Key<(34897493)> class."""
15844 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15846 def __init__(self, *args):
15848 __init__(IMP::Key<(34897493)> self) -> ParticleType
15849 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
15850 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
15851 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
15853 this = _IMP_core.new_ParticleType(*args)
15855 self.this.append(this)
15856 except __builtin__.Exception:
15860 """add_key(std::string sc) -> unsigned int"""
15861 return _IMP_core.ParticleType_add_key(sc)
15863 add_key = staticmethod(add_key)
15865 def get_key_exists(sc):
15866 """get_key_exists(std::string sc) -> bool"""
15867 return _IMP_core.ParticleType_get_key_exists(sc)
15869 get_key_exists = staticmethod(get_key_exists)
15871 def get_string(self):
15872 """get_string(ParticleType self) -> std::string const"""
15873 return _IMP_core.ParticleType_get_string(self)
15876 def __cmp__(self, o):
15877 """__cmp__(ParticleType self, ParticleType o) -> int"""
15878 return _IMP_core.ParticleType___cmp__(self, o)
15881 def __eq__(self, o):
15882 """__eq__(ParticleType self, ParticleType o) -> bool"""
15883 return _IMP_core.ParticleType___eq__(self, o)
15886 def __ne__(self, o):
15887 """__ne__(ParticleType self, ParticleType o) -> bool"""
15888 return _IMP_core.ParticleType___ne__(self, o)
15891 def __lt__(self, o):
15892 """__lt__(ParticleType self, ParticleType o) -> bool"""
15893 return _IMP_core.ParticleType___lt__(self, o)
15896 def __gt__(self, o):
15897 """__gt__(ParticleType self, ParticleType o) -> bool"""
15898 return _IMP_core.ParticleType___gt__(self, o)
15901 def __ge__(self, o):
15902 """__ge__(ParticleType self, ParticleType o) -> bool"""
15903 return _IMP_core.ParticleType___ge__(self, o)
15906 def __le__(self, o):
15907 """__le__(ParticleType self, ParticleType o) -> bool"""
15908 return _IMP_core.ParticleType___le__(self, o)
15911 def __hash__(self):
15912 """__hash__(ParticleType self) -> std::size_t"""
15913 return _IMP_core.ParticleType___hash__(self)
15916 def show(self, *args):
15918 show(ParticleType self, _ostream out)
15919 show(ParticleType self)
15921 return _IMP_core.ParticleType_show(self, *args)
15924 def add_alias(old_key, new_name):
15925 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15926 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15928 add_alias = staticmethod(add_alias)
15930 def get_number_of_keys():
15931 """get_number_of_keys() -> unsigned int"""
15932 return _IMP_core.ParticleType_get_number_of_keys()
15934 get_number_of_keys = staticmethod(get_number_of_keys)
15937 """get_index(ParticleType self) -> unsigned int"""
15938 return _IMP_core.ParticleType_get_index(self)
15942 """show_all(_ostream out)"""
15943 return _IMP_core.ParticleType_show_all(out)
15945 show_all = staticmethod(show_all)
15947 def get_all_strings():
15948 """get_all_strings() -> IMP::Vector< std::string >"""
15949 return _IMP_core.ParticleType_get_all_strings()
15951 get_all_strings = staticmethod(get_all_strings)
15953 def get_number_unique():
15954 """get_number_unique() -> unsigned int"""
15955 return _IMP_core.ParticleType_get_number_unique()
15957 get_number_unique = staticmethod(get_number_unique)
15960 """__str__(ParticleType self) -> std::string"""
15961 return _IMP_core.ParticleType___str__(self)
15964 def __repr__(self):
15965 """__repr__(ParticleType self) -> std::string"""
15966 return _IMP_core.ParticleType___repr__(self)
15968 __swig_destroy__ = _IMP_core.delete_ParticleType
15969 __del__ =
lambda self:
None
15970 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
15971 ParticleType_swigregister(ParticleType)
15973 def ParticleType_add_key(sc):
15974 """ParticleType_add_key(std::string sc) -> unsigned int"""
15975 return _IMP_core.ParticleType_add_key(sc)
15977 def ParticleType_get_key_exists(sc):
15978 """ParticleType_get_key_exists(std::string sc) -> bool"""
15979 return _IMP_core.ParticleType_get_key_exists(sc)
15981 def ParticleType_add_alias(old_key, new_name):
15982 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15983 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15985 def ParticleType_get_number_of_keys():
15986 """ParticleType_get_number_of_keys() -> unsigned int"""
15987 return _IMP_core.ParticleType_get_number_of_keys()
15989 def ParticleType_show_all(out):
15990 """ParticleType_show_all(_ostream out)"""
15991 return _IMP_core.ParticleType_show_all(out)
15993 def ParticleType_get_all_strings():
15994 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
15995 return _IMP_core.ParticleType_get_all_strings()
15997 def ParticleType_get_number_unique():
15998 """ParticleType_get_number_unique() -> unsigned int"""
15999 return _IMP_core.ParticleType_get_number_unique()
16002 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
16004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16005 __repr__ = _swig_repr
16007 def __init__(self, f, k):
16008 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
16009 this = _IMP_core.new_AttributeSingletonScore(f, k)
16011 self.this.append(this)
16012 except __builtin__.Exception:
16015 def do_get_inputs(self, m, pis):
16016 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16017 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
16020 def get_unary_function(self):
16021 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
16022 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16025 def get_version_info(self):
16026 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16027 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16029 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16030 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16034 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16035 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16037 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
16039 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16040 __repr__ = _swig_repr
16042 def __init__(self, f, bb):
16043 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16044 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16046 self.this.append(this)
16047 except __builtin__.Exception:
16050 def do_get_inputs(self, m, pis):
16051 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16052 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16055 def get_version_info(self):
16056 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16057 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16059 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16060 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16063 def create_bounding_box_3d_singleton_score(f, bb):
16064 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16065 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16067 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class."""
16069 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16070 __repr__ = _swig_repr
16072 def __init__(self, f, sphere):
16073 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16074 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16076 self.this.append(this)
16077 except __builtin__.Exception:
16080 def do_get_inputs(self, m, pis):
16081 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16082 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16085 def get_version_info(self):
16086 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16087 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16089 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16090 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16093 def create_bounding_sphere_3d_singleton_score(f, sphere):
16094 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16095 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16097 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
16099 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16100 __repr__ = _swig_repr
16102 def __init__(self, f, pt):
16103 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16104 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16106 self.this.append(this)
16107 except __builtin__.Exception:
16110 def do_get_inputs(self, m, pis):
16111 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16112 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16115 def get_version_info(self):
16116 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16117 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16119 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16120 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16123 def create_distance_to_singleton_score(f, pt):
16124 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16125 return _IMP_core.create_distance_to_singleton_score(f, pt)
16129 CombineProvenance, FilterProvenance,
16130 ClusterProvenance, ScriptProvenance,
16131 SoftwareProvenance]):
16132 """Yield all provenance decorators of the given types for the particle.
16133 By default, all provenance types are returned. Provenance is returned
16134 in order, most recent first. If the particle has no provenance
16135 information, an empty generator is returned."""
16136 if Provenanced.get_is_setup(p):
16140 if c.get_is_setup(prov):
16142 prov = prov.get_previous()
16145 """Tag the given particle with the current Python script.
16146 This is a noop if the particle is already so tagged."""
16147 main = sys.modules[
'__main__']
16149 if not hasattr(main,
'__file__'):
16153 if prov.get_filename() == f:
16157 provp.set_name(
'script')
16158 prov = ScriptProvenance.setup_particle(provp, f)
16162 """Tag the given particle with the software used to create it.
16163 This is a noop if the particle is already so tagged."""
16165 if prov.get_software_name() == name
and prov.get_version() == version \
16166 and prov.get_location() == location:
16170 provp.set_name(
'software')
16171 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16175 """Tag the given particle as being created by the current version of IMP."""
16178 location=
"https://integrativemodeling.org")
16181 def get_module_version():
16182 """get_module_version() -> std::string const"""
16183 return _IMP_core.get_module_version()
16186 """get_example_path(std::string fname) -> std::string"""
16187 return _IMP_core.get_example_path(fname)
16190 """get_data_path(std::string fname) -> std::string"""
16191 return _IMP_core.get_data_path(fname)
16193 from .
import _version_check
16194 _version_check.check_version(get_module_version())
16195 __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
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
def get_all_provenance
Yield all provenance decorators of the given types for the particle.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
void add_provenance(Model *m, ParticleIndex pi, Provenance p)
Add provenance to part of the model.
Tag part of the system to track how it was created.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Abstract single variable functor class for score functions.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
std::string get_module_version()
A restraint is a term in an IMP ScoringFunction.